@nxtedition/types 23.0.30 → 23.0.32

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.
@@ -238,36 +238,55 @@ export const assertStringifyRenderDomainStatsRecord = (input, errorFactory) => {
238
238
  }; return stringify(assert(input, errorFactory)); };
239
239
  export const isRenderDomainQueryRecord = input => {
240
240
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && $io1(input.description));
241
- const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io7(input.profile));
242
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io4(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io6(input.transcribe));
241
+ const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io10(input.profile));
242
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
243
243
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
244
- const $io4 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io5(input.crop);
245
- const $io5 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
246
- const $io6 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
247
- const $io7 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io8(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io9(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io10(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem));
248
- const $io8 = input => "string" === typeof input.engine;
249
- const $io9 = input => "string" === typeof input.language;
250
- const $io10 = input => undefined === input.pan || "string" === typeof input.pan;
244
+ const $io4 = input => Object.keys(input).every(key => {
245
+ const value = input[key];
246
+ if (undefined === value)
247
+ return true;
248
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
249
+ });
250
+ const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
251
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
252
+ const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
253
+ const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
254
+ const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
255
+ const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
256
+ const $io11 = input => "string" === typeof input.engine;
257
+ const $io12 = input => "string" === typeof input.language;
258
+ const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
259
+ const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
251
260
  return "object" === typeof input && null !== input && $io0(input);
252
261
  };
253
262
  export const assertRenderDomainQueryRecord = (input, errorFactory) => {
254
263
  const __is = input => {
255
264
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && $io1(input.description));
256
- const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io7(input.profile));
257
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io4(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io6(input.transcribe));
265
+ const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io10(input.profile));
266
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
258
267
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
259
- const $io4 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io5(input.crop);
260
- const $io5 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
261
- const $io6 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
262
- const $io7 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io8(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io9(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io10(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem));
263
- const $io8 = input => "string" === typeof input.engine;
264
- const $io9 = input => "string" === typeof input.language;
265
- const $io10 = input => undefined === input.pan || "string" === typeof input.pan;
268
+ const $io4 = input => Object.keys(input).every(key => {
269
+ const value = input[key];
270
+ if (undefined === value)
271
+ return true;
272
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
273
+ });
274
+ const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
275
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
276
+ const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
277
+ const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
278
+ const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
279
+ const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
280
+ const $io11 = input => "string" === typeof input.engine;
281
+ const $io12 = input => "string" === typeof input.language;
282
+ const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
283
+ const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
266
284
  return "object" === typeof input && null !== input && $io0(input);
267
285
  };
268
286
  if (false === __is(input))
269
287
  ((input, _path, _exceptionable = true) => {
270
288
  const $guard = __typia.createAssert.guard;
289
+ const $join = __typia.createAssert.join;
271
290
  const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || $guard(_exceptionable, {
272
291
  path: _path + ".type",
273
292
  expected: "string",
@@ -301,7 +320,7 @@ export const assertRenderDomainQueryRecord = (input, errorFactory) => {
301
320
  path: _path + ".profile",
302
321
  expected: "RenderProfileObject",
303
322
  value: input.profile
304
- }, errorFactory)) && $ao7(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
323
+ }, errorFactory)) && $ao10(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
305
324
  path: _path + ".profile",
306
325
  expected: "RenderProfileObject",
307
326
  value: input.profile
@@ -330,13 +349,21 @@ export const assertRenderDomainQueryRecord = (input, errorFactory) => {
330
349
  path: _path + ".subtitle",
331
350
  expected: "(string | undefined)",
332
351
  value: input.subtitle
352
+ }, errorFactory)) && (undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || $guard(_exceptionable, {
353
+ path: _path + ".subtitleTracks",
354
+ expected: "(__type.o2 | undefined)",
355
+ value: input.subtitleTracks
356
+ }, errorFactory)) && $ao4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || $guard(_exceptionable, {
357
+ path: _path + ".subtitleTracks",
358
+ expected: "(__type.o2 | undefined)",
359
+ value: input.subtitleTracks
333
360
  }, errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || $guard(_exceptionable, {
334
361
  path: _path + ".video",
335
- expected: "(__type.o2 | undefined)",
362
+ expected: "(__type.o4 | undefined)",
336
363
  value: input.video
337
- }, errorFactory)) && $ao4(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
364
+ }, errorFactory)) && $ao7(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
338
365
  path: _path + ".video",
339
- expected: "(__type.o2 | undefined)",
366
+ expected: "(__type.o4 | undefined)",
340
367
  value: input.video
341
368
  }, errorFactory)) && (undefined === input.start || "number" === typeof input.start || $guard(_exceptionable, {
342
369
  path: _path + ".start",
@@ -348,11 +375,11 @@ export const assertRenderDomainQueryRecord = (input, errorFactory) => {
348
375
  value: input.end
349
376
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
350
377
  path: _path + ".transcribe",
351
- expected: "(__type.o4 | undefined)",
378
+ expected: "(__type.o6 | undefined)",
352
379
  value: input.transcribe
353
- }, errorFactory)) && $ao6(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
380
+ }, errorFactory)) && $ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
354
381
  path: _path + ".transcribe",
355
- expected: "(__type.o4 | undefined)",
382
+ expected: "(__type.o6 | undefined)",
356
383
  value: input.transcribe
357
384
  }, errorFactory));
358
385
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
@@ -364,16 +391,136 @@ export const assertRenderDomainQueryRecord = (input, errorFactory) => {
364
391
  expected: "(null | string | undefined)",
365
392
  value: input.file
366
393
  }, errorFactory));
367
- const $ao4 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
394
+ const $ao4 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
395
+ const value = input[key];
396
+ if (undefined === value)
397
+ return true;
398
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
399
+ path: _path + $join(key),
400
+ expected: "__type.o3",
401
+ value: value
402
+ }, errorFactory)) && $ao5(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
403
+ path: _path + $join(key),
404
+ expected: "__type.o3",
405
+ value: value
406
+ }, errorFactory);
407
+ });
408
+ const $ao5 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || $guard(_exceptionable, {
409
+ path: _path + ".style",
410
+ expected: "(null | string | undefined)",
411
+ value: input.style
412
+ }, errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || $guard(_exceptionable, {
413
+ path: _path + ".styleOverrides",
414
+ expected: "(Omit<SubtitleStyleDomainRecord, \"scaledBorderAndShadow\" | \"futureWordWrapping\"> | undefined)",
415
+ value: input.styleOverrides
416
+ }, errorFactory)) && $ao6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || $guard(_exceptionable, {
417
+ path: _path + ".styleOverrides",
418
+ expected: "(Omit<SubtitleStyleDomainRecord, \"scaledBorderAndShadow\" | \"futureWordWrapping\"> | undefined)",
419
+ value: input.styleOverrides
420
+ }, errorFactory));
421
+ const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
422
+ path: _path + ".name",
423
+ expected: "(string | undefined)",
424
+ value: input.name
425
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
426
+ path: _path + ".fontname",
427
+ expected: "(string | undefined)",
428
+ value: input.fontname
429
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
430
+ path: _path + ".fontsize",
431
+ expected: "(string | undefined)",
432
+ value: input.fontsize
433
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
434
+ path: _path + ".primaryColour",
435
+ expected: "(string | undefined)",
436
+ value: input.primaryColour
437
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
438
+ path: _path + ".secondaryColour",
439
+ expected: "(string | undefined)",
440
+ value: input.secondaryColour
441
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
442
+ path: _path + ".outlineColour",
443
+ expected: "(string | undefined)",
444
+ value: input.outlineColour
445
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
446
+ path: _path + ".backColour",
447
+ expected: "(string | undefined)",
448
+ value: input.backColour
449
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
450
+ path: _path + ".bold",
451
+ expected: "(string | undefined)",
452
+ value: input.bold
453
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
454
+ path: _path + ".italic",
455
+ expected: "(string | undefined)",
456
+ value: input.italic
457
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
458
+ path: _path + ".underline",
459
+ expected: "(string | undefined)",
460
+ value: input.underline
461
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
462
+ path: _path + ".strikeOut",
463
+ expected: "(string | undefined)",
464
+ value: input.strikeOut
465
+ }, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
466
+ path: _path + ".scaleX",
467
+ expected: "(string | undefined)",
468
+ value: input.scaleX
469
+ }, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
470
+ path: _path + ".scaleY",
471
+ expected: "(string | undefined)",
472
+ value: input.scaleY
473
+ }, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
474
+ path: _path + ".spacing",
475
+ expected: "(string | undefined)",
476
+ value: input.spacing
477
+ }, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
478
+ path: _path + ".angle",
479
+ expected: "(string | undefined)",
480
+ value: input.angle
481
+ }, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
482
+ path: _path + ".borderStyle",
483
+ expected: "(string | undefined)",
484
+ value: input.borderStyle
485
+ }, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
486
+ path: _path + ".outline",
487
+ expected: "(string | undefined)",
488
+ value: input.outline
489
+ }, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
490
+ path: _path + ".shadow",
491
+ expected: "(string | undefined)",
492
+ value: input.shadow
493
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
494
+ path: _path + ".alignment",
495
+ expected: "(string | undefined)",
496
+ value: input.alignment
497
+ }, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
498
+ path: _path + ".marginL",
499
+ expected: "(string | undefined)",
500
+ value: input.marginL
501
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
502
+ path: _path + ".marginR",
503
+ expected: "(string | undefined)",
504
+ value: input.marginR
505
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
506
+ path: _path + ".marginV",
507
+ expected: "(string | undefined)",
508
+ value: input.marginV
509
+ }, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
510
+ path: _path + ".encoding",
511
+ expected: "(string | undefined)",
512
+ value: input.encoding
513
+ }, errorFactory));
514
+ const $ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
368
515
  path: _path + ".crop",
369
- expected: "(__type.o3 | undefined)",
516
+ expected: "(__type.o5 | undefined)",
370
517
  value: input.crop
371
- }, errorFactory)) && $ao5(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
518
+ }, errorFactory)) && $ao8(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
372
519
  path: _path + ".crop",
373
- expected: "(__type.o3 | undefined)",
520
+ expected: "(__type.o5 | undefined)",
374
521
  value: input.crop
375
522
  }, errorFactory);
376
- const $ao5 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
523
+ const $ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
377
524
  path: _path + ".x",
378
525
  expected: "(number | undefined)",
379
526
  value: input.x
@@ -390,7 +537,7 @@ export const assertRenderDomainQueryRecord = (input, errorFactory) => {
390
537
  expected: "(number | undefined)",
391
538
  value: input.height
392
539
  }, errorFactory));
393
- const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
540
+ const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
394
541
  path: _path + ".language",
395
542
  expected: "(string | undefined)",
396
543
  value: input.language
@@ -407,33 +554,33 @@ export const assertRenderDomainQueryRecord = (input, errorFactory) => {
407
554
  expected: "(Array<number> | undefined)",
408
555
  value: input.pan
409
556
  }, errorFactory));
410
- const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
557
+ const $ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
411
558
  path: _path + ".format",
412
559
  expected: "string",
413
560
  value: input.format
414
561
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || $guard(_exceptionable, {
415
562
  path: _path + ".transcribe",
416
- expected: "(__type.o5 | undefined)",
563
+ expected: "(__type.o7 | undefined)",
417
564
  value: input.transcribe
418
- }, errorFactory)) && $ao8(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
565
+ }, errorFactory)) && $ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
419
566
  path: _path + ".transcribe",
420
- expected: "(__type.o5 | undefined)",
567
+ expected: "(__type.o7 | undefined)",
421
568
  value: input.transcribe
422
569
  }, errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || $guard(_exceptionable, {
423
570
  path: _path + ".translate",
424
- expected: "(__type.o6 | undefined)",
571
+ expected: "(__type.o8 | undefined)",
425
572
  value: input.translate
426
- }, errorFactory)) && $ao9(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
573
+ }, errorFactory)) && $ao12(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
427
574
  path: _path + ".translate",
428
- expected: "(__type.o6 | undefined)",
575
+ expected: "(__type.o8 | undefined)",
429
576
  value: input.translate
430
577
  }, errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || $guard(_exceptionable, {
431
578
  path: _path + ".audio",
432
- expected: "(__type.o7 | undefined)",
579
+ expected: "(__type.o9 | undefined)",
433
580
  value: input.audio
434
- }, errorFactory)) && $ao10(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
581
+ }, errorFactory)) && $ao13(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
435
582
  path: _path + ".audio",
436
- expected: "(__type.o7 | undefined)",
583
+ expected: "(__type.o9 | undefined)",
437
584
  value: input.audio
438
585
  }, errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || $guard(_exceptionable, {
439
586
  path: _path + ".pick",
@@ -447,22 +594,43 @@ export const assertRenderDomainQueryRecord = (input, errorFactory) => {
447
594
  path: _path + ".pick",
448
595
  expected: "(Array<string> | undefined)",
449
596
  value: input.pick
450
- }, errorFactory));
451
- const $ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
597
+ }, errorFactory)) && ((null !== input.subtitle || $guard(_exceptionable, {
598
+ path: _path + ".subtitle",
599
+ expected: "(SubtitleProfile | string | undefined)",
600
+ value: input.subtitle
601
+ }, errorFactory)) && (undefined === input.subtitle || "string" === typeof input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) || $guard(_exceptionable, {
602
+ path: _path + ".subtitle",
603
+ expected: "(SubtitleProfile | string | undefined)",
604
+ value: input.subtitle
605
+ }, errorFactory)) && $ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
606
+ path: _path + ".subtitle",
607
+ expected: "(SubtitleProfile | string | undefined)",
608
+ value: input.subtitle
609
+ }, errorFactory)));
610
+ const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
452
611
  path: _path + ".engine",
453
612
  expected: "string",
454
613
  value: input.engine
455
614
  }, errorFactory);
456
- const $ao9 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
615
+ const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
457
616
  path: _path + ".language",
458
617
  expected: "string",
459
618
  value: input.language
460
619
  }, errorFactory);
461
- const $ao10 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
620
+ const $ao13 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
462
621
  path: _path + ".pan",
463
622
  expected: "(string | undefined)",
464
623
  value: input.pan
465
624
  }, errorFactory);
625
+ const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
626
+ path: _path + ".lang",
627
+ expected: "(string | undefined)",
628
+ value: input.lang
629
+ }, errorFactory)) && (undefined === input.style || "string" === typeof input.style || $guard(_exceptionable, {
630
+ path: _path + ".style",
631
+ expected: "(string | undefined)",
632
+ value: input.style
633
+ }, errorFactory));
466
634
  return ("object" === typeof input && null !== input || $guard(true, {
467
635
  path: _path + "",
468
636
  expected: "RenderDomainQueryRecord",
@@ -489,7 +657,7 @@ export const randomRenderDomainQueryRecord = generator => {
489
657
  });
490
658
  const $ro1 = (_recursive = false, _depth = 0) => ({
491
659
  scene: $ro2(_recursive, _recursive ? 1 + _depth : _depth),
492
- profile: $ro7(_recursive, _recursive ? 1 + _depth : _depth)
660
+ profile: $ro10(_recursive, _recursive ? 1 + _depth : _depth)
493
661
  });
494
662
  const $ro2 = (_recursive = false, _depth = 0) => ({
495
663
  id: $pick([
@@ -512,10 +680,14 @@ export const randomRenderDomainQueryRecord = generator => {
512
680
  () => undefined,
513
681
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
514
682
  ])(),
515
- video: $pick([
683
+ subtitleTracks: $pick([
516
684
  () => undefined,
517
685
  () => $ro4(_recursive, _recursive ? 1 + _depth : _depth)
518
686
  ])(),
687
+ video: $pick([
688
+ () => undefined,
689
+ () => $ro7(_recursive, _recursive ? 1 + _depth : _depth)
690
+ ])(),
519
691
  start: $pick([
520
692
  () => undefined,
521
693
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
@@ -526,7 +698,7 @@ export const randomRenderDomainQueryRecord = generator => {
526
698
  ])(),
527
699
  transcribe: $pick([
528
700
  () => undefined,
529
- () => $ro6(_recursive, _recursive ? 1 + _depth : _depth)
701
+ () => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
530
702
  ])()
531
703
  });
532
704
  const $ro3 = (_recursive = false, _depth = 0) => ({
@@ -540,13 +712,123 @@ export const randomRenderDomainQueryRecord = generator => {
540
712
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
541
713
  ])()
542
714
  });
543
- const $ro4 = (_recursive = false, _depth = 0) => ({
715
+ const $ro4 = (_recursive = false, _depth = 0) => {
716
+ const output = {};
717
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $ro5(_recursive, _recursive ? 1 + _depth : _depth), (generator?.integer ?? $generator.integer)(0, 3));
718
+ return output;
719
+ };
720
+ const $ro5 = (_recursive = false, _depth = 0) => ({
721
+ style: $pick([
722
+ () => undefined,
723
+ () => null,
724
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
725
+ ])(),
726
+ styleOverrides: $pick([
727
+ () => undefined,
728
+ () => $ro6(_recursive, _recursive ? 1 + _depth : _depth)
729
+ ])()
730
+ });
731
+ const $ro6 = (_recursive = false, _depth = 0) => ({
732
+ name: $pick([
733
+ () => undefined,
734
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
735
+ ])(),
736
+ fontname: $pick([
737
+ () => undefined,
738
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
739
+ ])(),
740
+ fontsize: $pick([
741
+ () => undefined,
742
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
743
+ ])(),
744
+ primaryColour: $pick([
745
+ () => undefined,
746
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
747
+ ])(),
748
+ secondaryColour: $pick([
749
+ () => undefined,
750
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
751
+ ])(),
752
+ outlineColour: $pick([
753
+ () => undefined,
754
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
755
+ ])(),
756
+ backColour: $pick([
757
+ () => undefined,
758
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
759
+ ])(),
760
+ bold: $pick([
761
+ () => undefined,
762
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
763
+ ])(),
764
+ italic: $pick([
765
+ () => undefined,
766
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
767
+ ])(),
768
+ underline: $pick([
769
+ () => undefined,
770
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
771
+ ])(),
772
+ strikeOut: $pick([
773
+ () => undefined,
774
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
775
+ ])(),
776
+ scaleX: $pick([
777
+ () => undefined,
778
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
779
+ ])(),
780
+ scaleY: $pick([
781
+ () => undefined,
782
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
783
+ ])(),
784
+ spacing: $pick([
785
+ () => undefined,
786
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
787
+ ])(),
788
+ angle: $pick([
789
+ () => undefined,
790
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
791
+ ])(),
792
+ borderStyle: $pick([
793
+ () => undefined,
794
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
795
+ ])(),
796
+ outline: $pick([
797
+ () => undefined,
798
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
799
+ ])(),
800
+ shadow: $pick([
801
+ () => undefined,
802
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
803
+ ])(),
804
+ alignment: $pick([
805
+ () => undefined,
806
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
807
+ ])(),
808
+ marginL: $pick([
809
+ () => undefined,
810
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
811
+ ])(),
812
+ marginR: $pick([
813
+ () => undefined,
814
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
815
+ ])(),
816
+ marginV: $pick([
817
+ () => undefined,
818
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
819
+ ])(),
820
+ encoding: $pick([
821
+ () => undefined,
822
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
823
+ ])()
824
+ });
825
+ const $ro7 = (_recursive = false, _depth = 0) => ({
544
826
  crop: $pick([
545
827
  () => undefined,
546
- () => $ro5(_recursive, _recursive ? 1 + _depth : _depth)
828
+ () => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
547
829
  ])()
548
830
  });
549
- const $ro5 = (_recursive = false, _depth = 0) => ({
831
+ const $ro8 = (_recursive = false, _depth = 0) => ({
550
832
  x: $pick([
551
833
  () => undefined,
552
834
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
@@ -564,7 +846,7 @@ export const randomRenderDomainQueryRecord = generator => {
564
846
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
565
847
  ])()
566
848
  });
567
- const $ro6 = (_recursive = false, _depth = 0) => ({
849
+ const $ro9 = (_recursive = false, _depth = 0) => ({
568
850
  language: $pick([
569
851
  () => undefined,
570
852
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
@@ -574,19 +856,19 @@ export const randomRenderDomainQueryRecord = generator => {
574
856
  () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100))
575
857
  ])()
576
858
  });
577
- const $ro7 = (_recursive = false, _depth = 0) => ({
859
+ const $ro10 = (_recursive = false, _depth = 0) => ({
578
860
  format: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
579
861
  transcribe: $pick([
580
862
  () => undefined,
581
- () => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
863
+ () => $ro11(_recursive, _recursive ? 1 + _depth : _depth)
582
864
  ])(),
583
865
  translate: $pick([
584
866
  () => undefined,
585
- () => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
867
+ () => $ro12(_recursive, _recursive ? 1 + _depth : _depth)
586
868
  ])(),
587
869
  audio: $pick([
588
870
  () => undefined,
589
- () => $ro10(_recursive, _recursive ? 1 + _depth : _depth)
871
+ () => $ro13(_recursive, _recursive ? 1 + _depth : _depth)
590
872
  ])(),
591
873
  video: $pick([
592
874
  () => "any type used...",
@@ -595,40 +877,65 @@ export const randomRenderDomainQueryRecord = generator => {
595
877
  pick: $pick([
596
878
  () => undefined,
597
879
  () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
880
+ ])(),
881
+ subtitle: $pick([
882
+ () => undefined,
883
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
884
+ () => $ro14(_recursive, _recursive ? 1 + _depth : _depth)
598
885
  ])()
599
886
  });
600
- const $ro8 = (_recursive = false, _depth = 0) => ({
887
+ const $ro11 = (_recursive = false, _depth = 0) => ({
601
888
  engine: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
602
889
  });
603
- const $ro9 = (_recursive = false, _depth = 0) => ({
890
+ const $ro12 = (_recursive = false, _depth = 0) => ({
604
891
  language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
605
892
  });
606
- const $ro10 = (_recursive = false, _depth = 0) => ({
893
+ const $ro13 = (_recursive = false, _depth = 0) => ({
607
894
  pan: $pick([
608
895
  () => undefined,
609
896
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
610
897
  ])()
611
898
  });
899
+ const $ro14 = (_recursive = false, _depth = 0) => ({
900
+ lang: $pick([
901
+ () => undefined,
902
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
903
+ ])(),
904
+ style: $pick([
905
+ () => undefined,
906
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
907
+ ])()
908
+ });
612
909
  return $ro0();
613
910
  };
614
911
  export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
615
912
  const __is = input => {
616
913
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && $io1(input.description));
617
- const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io7(input.profile));
618
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io4(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io6(input.transcribe));
914
+ const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io10(input.profile));
915
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
619
916
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
620
- const $io4 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io5(input.crop);
621
- const $io5 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
622
- const $io6 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
623
- const $io7 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io8(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io9(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io10(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem));
624
- const $io8 = input => "string" === typeof input.engine;
625
- const $io9 = input => "string" === typeof input.language;
626
- const $io10 = input => undefined === input.pan || "string" === typeof input.pan;
917
+ const $io4 = input => Object.keys(input).every(key => {
918
+ const value = input[key];
919
+ if (undefined === value)
920
+ return true;
921
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
922
+ });
923
+ const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
924
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
925
+ const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
926
+ const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
927
+ const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
928
+ const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
929
+ const $io11 = input => "string" === typeof input.engine;
930
+ const $io12 = input => "string" === typeof input.language;
931
+ const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
932
+ const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
627
933
  return "object" === typeof input && null !== input && $io0(input);
628
934
  };
629
935
  if (false === __is(input))
630
936
  ((input, _path, _exceptionable = true) => {
631
937
  const $guard = __typia.createAssertGuard.guard;
938
+ const $join = __typia.createAssertGuard.join;
632
939
  const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || $guard(_exceptionable, {
633
940
  path: _path + ".type",
634
941
  expected: "string",
@@ -662,7 +969,7 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
662
969
  path: _path + ".profile",
663
970
  expected: "RenderProfileObject",
664
971
  value: input.profile
665
- }, errorFactory)) && $ao7(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
972
+ }, errorFactory)) && $ao10(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
666
973
  path: _path + ".profile",
667
974
  expected: "RenderProfileObject",
668
975
  value: input.profile
@@ -691,13 +998,21 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
691
998
  path: _path + ".subtitle",
692
999
  expected: "(string | undefined)",
693
1000
  value: input.subtitle
1001
+ }, errorFactory)) && (undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || $guard(_exceptionable, {
1002
+ path: _path + ".subtitleTracks",
1003
+ expected: "(__type.o2 | undefined)",
1004
+ value: input.subtitleTracks
1005
+ }, errorFactory)) && $ao4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || $guard(_exceptionable, {
1006
+ path: _path + ".subtitleTracks",
1007
+ expected: "(__type.o2 | undefined)",
1008
+ value: input.subtitleTracks
694
1009
  }, errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || $guard(_exceptionable, {
695
1010
  path: _path + ".video",
696
- expected: "(__type.o2 | undefined)",
1011
+ expected: "(__type.o4 | undefined)",
697
1012
  value: input.video
698
- }, errorFactory)) && $ao4(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
1013
+ }, errorFactory)) && $ao7(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
699
1014
  path: _path + ".video",
700
- expected: "(__type.o2 | undefined)",
1015
+ expected: "(__type.o4 | undefined)",
701
1016
  value: input.video
702
1017
  }, errorFactory)) && (undefined === input.start || "number" === typeof input.start || $guard(_exceptionable, {
703
1018
  path: _path + ".start",
@@ -709,11 +1024,11 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
709
1024
  value: input.end
710
1025
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
711
1026
  path: _path + ".transcribe",
712
- expected: "(__type.o4 | undefined)",
1027
+ expected: "(__type.o6 | undefined)",
713
1028
  value: input.transcribe
714
- }, errorFactory)) && $ao6(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1029
+ }, errorFactory)) && $ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
715
1030
  path: _path + ".transcribe",
716
- expected: "(__type.o4 | undefined)",
1031
+ expected: "(__type.o6 | undefined)",
717
1032
  value: input.transcribe
718
1033
  }, errorFactory));
719
1034
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
@@ -725,16 +1040,136 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
725
1040
  expected: "(null | string | undefined)",
726
1041
  value: input.file
727
1042
  }, errorFactory));
728
- const $ao4 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
1043
+ const $ao4 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1044
+ const value = input[key];
1045
+ if (undefined === value)
1046
+ return true;
1047
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
1048
+ path: _path + $join(key),
1049
+ expected: "__type.o3",
1050
+ value: value
1051
+ }, errorFactory)) && $ao5(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
1052
+ path: _path + $join(key),
1053
+ expected: "__type.o3",
1054
+ value: value
1055
+ }, errorFactory);
1056
+ });
1057
+ const $ao5 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || $guard(_exceptionable, {
1058
+ path: _path + ".style",
1059
+ expected: "(null | string | undefined)",
1060
+ value: input.style
1061
+ }, errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || $guard(_exceptionable, {
1062
+ path: _path + ".styleOverrides",
1063
+ expected: "(Omit<SubtitleStyleDomainRecord, \"scaledBorderAndShadow\" | \"futureWordWrapping\"> | undefined)",
1064
+ value: input.styleOverrides
1065
+ }, errorFactory)) && $ao6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || $guard(_exceptionable, {
1066
+ path: _path + ".styleOverrides",
1067
+ expected: "(Omit<SubtitleStyleDomainRecord, \"scaledBorderAndShadow\" | \"futureWordWrapping\"> | undefined)",
1068
+ value: input.styleOverrides
1069
+ }, errorFactory));
1070
+ const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
1071
+ path: _path + ".name",
1072
+ expected: "(string | undefined)",
1073
+ value: input.name
1074
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
1075
+ path: _path + ".fontname",
1076
+ expected: "(string | undefined)",
1077
+ value: input.fontname
1078
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
1079
+ path: _path + ".fontsize",
1080
+ expected: "(string | undefined)",
1081
+ value: input.fontsize
1082
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
1083
+ path: _path + ".primaryColour",
1084
+ expected: "(string | undefined)",
1085
+ value: input.primaryColour
1086
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
1087
+ path: _path + ".secondaryColour",
1088
+ expected: "(string | undefined)",
1089
+ value: input.secondaryColour
1090
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
1091
+ path: _path + ".outlineColour",
1092
+ expected: "(string | undefined)",
1093
+ value: input.outlineColour
1094
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
1095
+ path: _path + ".backColour",
1096
+ expected: "(string | undefined)",
1097
+ value: input.backColour
1098
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
1099
+ path: _path + ".bold",
1100
+ expected: "(string | undefined)",
1101
+ value: input.bold
1102
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
1103
+ path: _path + ".italic",
1104
+ expected: "(string | undefined)",
1105
+ value: input.italic
1106
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
1107
+ path: _path + ".underline",
1108
+ expected: "(string | undefined)",
1109
+ value: input.underline
1110
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
1111
+ path: _path + ".strikeOut",
1112
+ expected: "(string | undefined)",
1113
+ value: input.strikeOut
1114
+ }, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
1115
+ path: _path + ".scaleX",
1116
+ expected: "(string | undefined)",
1117
+ value: input.scaleX
1118
+ }, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
1119
+ path: _path + ".scaleY",
1120
+ expected: "(string | undefined)",
1121
+ value: input.scaleY
1122
+ }, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
1123
+ path: _path + ".spacing",
1124
+ expected: "(string | undefined)",
1125
+ value: input.spacing
1126
+ }, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
1127
+ path: _path + ".angle",
1128
+ expected: "(string | undefined)",
1129
+ value: input.angle
1130
+ }, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
1131
+ path: _path + ".borderStyle",
1132
+ expected: "(string | undefined)",
1133
+ value: input.borderStyle
1134
+ }, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
1135
+ path: _path + ".outline",
1136
+ expected: "(string | undefined)",
1137
+ value: input.outline
1138
+ }, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
1139
+ path: _path + ".shadow",
1140
+ expected: "(string | undefined)",
1141
+ value: input.shadow
1142
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
1143
+ path: _path + ".alignment",
1144
+ expected: "(string | undefined)",
1145
+ value: input.alignment
1146
+ }, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
1147
+ path: _path + ".marginL",
1148
+ expected: "(string | undefined)",
1149
+ value: input.marginL
1150
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
1151
+ path: _path + ".marginR",
1152
+ expected: "(string | undefined)",
1153
+ value: input.marginR
1154
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
1155
+ path: _path + ".marginV",
1156
+ expected: "(string | undefined)",
1157
+ value: input.marginV
1158
+ }, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
1159
+ path: _path + ".encoding",
1160
+ expected: "(string | undefined)",
1161
+ value: input.encoding
1162
+ }, errorFactory));
1163
+ const $ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
729
1164
  path: _path + ".crop",
730
- expected: "(__type.o3 | undefined)",
1165
+ expected: "(__type.o5 | undefined)",
731
1166
  value: input.crop
732
- }, errorFactory)) && $ao5(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
1167
+ }, errorFactory)) && $ao8(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
733
1168
  path: _path + ".crop",
734
- expected: "(__type.o3 | undefined)",
1169
+ expected: "(__type.o5 | undefined)",
735
1170
  value: input.crop
736
1171
  }, errorFactory);
737
- const $ao5 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
1172
+ const $ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
738
1173
  path: _path + ".x",
739
1174
  expected: "(number | undefined)",
740
1175
  value: input.x
@@ -751,7 +1186,7 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
751
1186
  expected: "(number | undefined)",
752
1187
  value: input.height
753
1188
  }, errorFactory));
754
- const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
1189
+ const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
755
1190
  path: _path + ".language",
756
1191
  expected: "(string | undefined)",
757
1192
  value: input.language
@@ -768,33 +1203,33 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
768
1203
  expected: "(Array<number> | undefined)",
769
1204
  value: input.pan
770
1205
  }, errorFactory));
771
- const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
1206
+ const $ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
772
1207
  path: _path + ".format",
773
1208
  expected: "string",
774
1209
  value: input.format
775
1210
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || $guard(_exceptionable, {
776
1211
  path: _path + ".transcribe",
777
- expected: "(__type.o5 | undefined)",
1212
+ expected: "(__type.o7 | undefined)",
778
1213
  value: input.transcribe
779
- }, errorFactory)) && $ao8(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1214
+ }, errorFactory)) && $ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
780
1215
  path: _path + ".transcribe",
781
- expected: "(__type.o5 | undefined)",
1216
+ expected: "(__type.o7 | undefined)",
782
1217
  value: input.transcribe
783
1218
  }, errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || $guard(_exceptionable, {
784
1219
  path: _path + ".translate",
785
- expected: "(__type.o6 | undefined)",
1220
+ expected: "(__type.o8 | undefined)",
786
1221
  value: input.translate
787
- }, errorFactory)) && $ao9(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
1222
+ }, errorFactory)) && $ao12(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
788
1223
  path: _path + ".translate",
789
- expected: "(__type.o6 | undefined)",
1224
+ expected: "(__type.o8 | undefined)",
790
1225
  value: input.translate
791
1226
  }, errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || $guard(_exceptionable, {
792
1227
  path: _path + ".audio",
793
- expected: "(__type.o7 | undefined)",
1228
+ expected: "(__type.o9 | undefined)",
794
1229
  value: input.audio
795
- }, errorFactory)) && $ao10(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
1230
+ }, errorFactory)) && $ao13(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
796
1231
  path: _path + ".audio",
797
- expected: "(__type.o7 | undefined)",
1232
+ expected: "(__type.o9 | undefined)",
798
1233
  value: input.audio
799
1234
  }, errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || $guard(_exceptionable, {
800
1235
  path: _path + ".pick",
@@ -808,22 +1243,43 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
808
1243
  path: _path + ".pick",
809
1244
  expected: "(Array<string> | undefined)",
810
1245
  value: input.pick
811
- }, errorFactory));
812
- const $ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
1246
+ }, errorFactory)) && ((null !== input.subtitle || $guard(_exceptionable, {
1247
+ path: _path + ".subtitle",
1248
+ expected: "(SubtitleProfile | string | undefined)",
1249
+ value: input.subtitle
1250
+ }, errorFactory)) && (undefined === input.subtitle || "string" === typeof input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) || $guard(_exceptionable, {
1251
+ path: _path + ".subtitle",
1252
+ expected: "(SubtitleProfile | string | undefined)",
1253
+ value: input.subtitle
1254
+ }, errorFactory)) && $ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
1255
+ path: _path + ".subtitle",
1256
+ expected: "(SubtitleProfile | string | undefined)",
1257
+ value: input.subtitle
1258
+ }, errorFactory)));
1259
+ const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
813
1260
  path: _path + ".engine",
814
1261
  expected: "string",
815
1262
  value: input.engine
816
1263
  }, errorFactory);
817
- const $ao9 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
1264
+ const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
818
1265
  path: _path + ".language",
819
1266
  expected: "string",
820
1267
  value: input.language
821
1268
  }, errorFactory);
822
- const $ao10 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
1269
+ const $ao13 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
823
1270
  path: _path + ".pan",
824
1271
  expected: "(string | undefined)",
825
1272
  value: input.pan
826
1273
  }, errorFactory);
1274
+ const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
1275
+ path: _path + ".lang",
1276
+ expected: "(string | undefined)",
1277
+ value: input.lang
1278
+ }, errorFactory)) && (undefined === input.style || "string" === typeof input.style || $guard(_exceptionable, {
1279
+ path: _path + ".style",
1280
+ expected: "(string | undefined)",
1281
+ value: input.style
1282
+ }, errorFactory));
827
1283
  return ("object" === typeof input && null !== input || $guard(true, {
828
1284
  path: _path + "",
829
1285
  expected: "RenderDomainQueryRecord",
@@ -836,47 +1292,81 @@ export const assertGuardRenderDomainQueryRecord = (input, errorFactory) => {
836
1292
  })(input, "$input", true);
837
1293
  };
838
1294
  export const stringifyRenderDomainQueryRecord = input => {
839
- const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io7(input.profile));
840
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io4(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io6(input.transcribe));
1295
+ const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io10(input.profile));
1296
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
841
1297
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
842
- const $io4 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io5(input.crop);
843
- const $io5 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
844
- const $io6 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
845
- const $io7 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io8(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io9(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io10(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem));
846
- const $io8 = input => "string" === typeof input.engine;
847
- const $io9 = input => "string" === typeof input.language;
848
- const $io10 = input => undefined === input.pan || "string" === typeof input.pan;
1298
+ const $io4 = input => Object.keys(input).every(key => {
1299
+ const value = input[key];
1300
+ if (undefined === value)
1301
+ return true;
1302
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
1303
+ });
1304
+ const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
1305
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
1306
+ const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
1307
+ const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
1308
+ const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
1309
+ const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
1310
+ const $io11 = input => "string" === typeof input.engine;
1311
+ const $io12 = input => "string" === typeof input.language;
1312
+ const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
1313
+ const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
849
1314
  const $string = __typia.json.createStringify.string;
850
1315
  const $tail = __typia.json.createStringify.tail;
1316
+ const $throws = __typia.json.createStringify.throws;
851
1317
  const $so0 = input => `{${undefined === input.parent ? "" : `"parent":${undefined !== input.parent ? $string(input.parent) : undefined},`}"type":${$string(input.type)},"title":${$string(input.title)},"description":${$so1(input.description)}}`;
852
- const $so1 = input => `{"scene":${$so2(input.scene)},"profile":${$so7(input.profile)}}`;
853
- const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so4(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so6(input.transcribe) : undefined}`}`)}}`;
1318
+ const $so1 = input => `{"scene":${$so2(input.scene)},"profile":${$so10(input.profile)}}`;
1319
+ const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? $so4(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so7(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so9(input.transcribe) : undefined}`}`)}}`;
854
1320
  const $so3 = input => `{${$tail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? $string(input.file) : "null" : undefined}`}`)}}`;
855
- const $so4 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so5(input.crop) : undefined}`}`)}}`;
856
- const $so5 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
857
- const $so6 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
858
- const $so7 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so10(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}"format":${$string(input.format)}}`;
859
- const $so10 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1321
+ const $so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1322
+ return ""; return `${JSON.stringify(key)}:${$so5(value)}`; }).filter(str => "" !== str).join(",")}}`;
1323
+ const $so5 = input => `{${$tail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? $string(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? $so6(input.styleOverrides) : undefined}`}`)}}`;
1324
+ const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined}`}`)}}`;
1325
+ const $so7 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so8(input.crop) : undefined}`}`)}}`;
1326
+ const $so8 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
1327
+ const $so9 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
1328
+ const $so10 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so13(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
1329
+ if ("string" === typeof input.subtitle)
1330
+ return $string(input.subtitle);
1331
+ if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
1332
+ return $so14(input.subtitle);
1333
+ $throws({
1334
+ expected: "(SubtitleProfile | string | undefined)",
1335
+ value: input.subtitle
1336
+ });
1337
+ })() : undefined},`}"format":${$string(input.format)}}`;
1338
+ const $so13 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1339
+ const $so14 = input => `{${$tail(`${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined}`}`)}}`;
860
1340
  return $so0(input);
861
1341
  };
862
1342
  export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
863
1343
  const __is = input => {
864
1344
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && $io1(input.description));
865
- const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io7(input.profile));
866
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io4(input.video)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io6(input.transcribe));
1345
+ const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io10(input.profile));
1346
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
867
1347
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
868
- const $io4 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io5(input.crop);
869
- const $io5 = input => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x)) && (undefined === input.y || "number" === typeof input.y && !Number.isNaN(input.y)) && (undefined === input.width || "number" === typeof input.width && !Number.isNaN(input.width)) && (undefined === input.height || "number" === typeof input.height && !Number.isNaN(input.height));
870
- const $io6 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem && !Number.isNaN(elem)));
871
- const $io7 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io8(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io9(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io10(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem));
872
- const $io8 = input => "string" === typeof input.engine;
873
- const $io9 = input => "string" === typeof input.language;
874
- const $io10 = input => undefined === input.pan || "string" === typeof input.pan;
1348
+ const $io4 = input => Object.keys(input).every(key => {
1349
+ const value = input[key];
1350
+ if (undefined === value)
1351
+ return true;
1352
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
1353
+ });
1354
+ const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
1355
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
1356
+ const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
1357
+ const $io8 = input => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x)) && (undefined === input.y || "number" === typeof input.y && !Number.isNaN(input.y)) && (undefined === input.width || "number" === typeof input.width && !Number.isNaN(input.width)) && (undefined === input.height || "number" === typeof input.height && !Number.isNaN(input.height));
1358
+ const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem && !Number.isNaN(elem)));
1359
+ const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
1360
+ const $io11 = input => "string" === typeof input.engine;
1361
+ const $io12 = input => "string" === typeof input.language;
1362
+ const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
1363
+ const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
875
1364
  return "object" === typeof input && null !== input && $io0(input);
876
1365
  };
877
1366
  if (false === __is(input))
878
1367
  ((input, _path, _exceptionable = true) => {
879
1368
  const $guard = __typia.json.createAssertStringify.guard;
1369
+ const $join = __typia.json.createAssertStringify.join;
880
1370
  const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || $guard(_exceptionable, {
881
1371
  path: _path + ".type",
882
1372
  expected: "string",
@@ -910,7 +1400,7 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
910
1400
  path: _path + ".profile",
911
1401
  expected: "RenderProfileObject",
912
1402
  value: input.profile
913
- }, errorFactory)) && $ao7(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
1403
+ }, errorFactory)) && $ao10(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
914
1404
  path: _path + ".profile",
915
1405
  expected: "RenderProfileObject",
916
1406
  value: input.profile
@@ -939,13 +1429,21 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
939
1429
  path: _path + ".subtitle",
940
1430
  expected: "(string | undefined)",
941
1431
  value: input.subtitle
1432
+ }, errorFactory)) && (undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || $guard(_exceptionable, {
1433
+ path: _path + ".subtitleTracks",
1434
+ expected: "(__type.o2 | undefined)",
1435
+ value: input.subtitleTracks
1436
+ }, errorFactory)) && $ao4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || $guard(_exceptionable, {
1437
+ path: _path + ".subtitleTracks",
1438
+ expected: "(__type.o2 | undefined)",
1439
+ value: input.subtitleTracks
942
1440
  }, errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || $guard(_exceptionable, {
943
1441
  path: _path + ".video",
944
- expected: "(__type.o2 | undefined)",
1442
+ expected: "(__type.o4 | undefined)",
945
1443
  value: input.video
946
- }, errorFactory)) && $ao4(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
1444
+ }, errorFactory)) && $ao7(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
947
1445
  path: _path + ".video",
948
- expected: "(__type.o2 | undefined)",
1446
+ expected: "(__type.o4 | undefined)",
949
1447
  value: input.video
950
1448
  }, errorFactory)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start) || $guard(_exceptionable, {
951
1449
  path: _path + ".start",
@@ -957,11 +1455,11 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
957
1455
  value: input.end
958
1456
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
959
1457
  path: _path + ".transcribe",
960
- expected: "(__type.o4 | undefined)",
1458
+ expected: "(__type.o6 | undefined)",
961
1459
  value: input.transcribe
962
- }, errorFactory)) && $ao6(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1460
+ }, errorFactory)) && $ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
963
1461
  path: _path + ".transcribe",
964
- expected: "(__type.o4 | undefined)",
1462
+ expected: "(__type.o6 | undefined)",
965
1463
  value: input.transcribe
966
1464
  }, errorFactory));
967
1465
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
@@ -973,16 +1471,136 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
973
1471
  expected: "(null | string | undefined)",
974
1472
  value: input.file
975
1473
  }, errorFactory));
976
- const $ao4 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
1474
+ const $ao4 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1475
+ const value = input[key];
1476
+ if (undefined === value)
1477
+ return true;
1478
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
1479
+ path: _path + $join(key),
1480
+ expected: "__type.o3",
1481
+ value: value
1482
+ }, errorFactory)) && $ao5(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
1483
+ path: _path + $join(key),
1484
+ expected: "__type.o3",
1485
+ value: value
1486
+ }, errorFactory);
1487
+ });
1488
+ const $ao5 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || $guard(_exceptionable, {
1489
+ path: _path + ".style",
1490
+ expected: "(null | string | undefined)",
1491
+ value: input.style
1492
+ }, errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || $guard(_exceptionable, {
1493
+ path: _path + ".styleOverrides",
1494
+ expected: "(Omit<SubtitleStyleDomainRecord, \"scaledBorderAndShadow\" | \"futureWordWrapping\"> | undefined)",
1495
+ value: input.styleOverrides
1496
+ }, errorFactory)) && $ao6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || $guard(_exceptionable, {
1497
+ path: _path + ".styleOverrides",
1498
+ expected: "(Omit<SubtitleStyleDomainRecord, \"scaledBorderAndShadow\" | \"futureWordWrapping\"> | undefined)",
1499
+ value: input.styleOverrides
1500
+ }, errorFactory));
1501
+ const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
1502
+ path: _path + ".name",
1503
+ expected: "(string | undefined)",
1504
+ value: input.name
1505
+ }, errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || $guard(_exceptionable, {
1506
+ path: _path + ".fontname",
1507
+ expected: "(string | undefined)",
1508
+ value: input.fontname
1509
+ }, errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || $guard(_exceptionable, {
1510
+ path: _path + ".fontsize",
1511
+ expected: "(string | undefined)",
1512
+ value: input.fontsize
1513
+ }, errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || $guard(_exceptionable, {
1514
+ path: _path + ".primaryColour",
1515
+ expected: "(string | undefined)",
1516
+ value: input.primaryColour
1517
+ }, errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || $guard(_exceptionable, {
1518
+ path: _path + ".secondaryColour",
1519
+ expected: "(string | undefined)",
1520
+ value: input.secondaryColour
1521
+ }, errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || $guard(_exceptionable, {
1522
+ path: _path + ".outlineColour",
1523
+ expected: "(string | undefined)",
1524
+ value: input.outlineColour
1525
+ }, errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || $guard(_exceptionable, {
1526
+ path: _path + ".backColour",
1527
+ expected: "(string | undefined)",
1528
+ value: input.backColour
1529
+ }, errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || $guard(_exceptionable, {
1530
+ path: _path + ".bold",
1531
+ expected: "(string | undefined)",
1532
+ value: input.bold
1533
+ }, errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || $guard(_exceptionable, {
1534
+ path: _path + ".italic",
1535
+ expected: "(string | undefined)",
1536
+ value: input.italic
1537
+ }, errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || $guard(_exceptionable, {
1538
+ path: _path + ".underline",
1539
+ expected: "(string | undefined)",
1540
+ value: input.underline
1541
+ }, errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || $guard(_exceptionable, {
1542
+ path: _path + ".strikeOut",
1543
+ expected: "(string | undefined)",
1544
+ value: input.strikeOut
1545
+ }, errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || $guard(_exceptionable, {
1546
+ path: _path + ".scaleX",
1547
+ expected: "(string | undefined)",
1548
+ value: input.scaleX
1549
+ }, errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || $guard(_exceptionable, {
1550
+ path: _path + ".scaleY",
1551
+ expected: "(string | undefined)",
1552
+ value: input.scaleY
1553
+ }, errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || $guard(_exceptionable, {
1554
+ path: _path + ".spacing",
1555
+ expected: "(string | undefined)",
1556
+ value: input.spacing
1557
+ }, errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || $guard(_exceptionable, {
1558
+ path: _path + ".angle",
1559
+ expected: "(string | undefined)",
1560
+ value: input.angle
1561
+ }, errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || $guard(_exceptionable, {
1562
+ path: _path + ".borderStyle",
1563
+ expected: "(string | undefined)",
1564
+ value: input.borderStyle
1565
+ }, errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || $guard(_exceptionable, {
1566
+ path: _path + ".outline",
1567
+ expected: "(string | undefined)",
1568
+ value: input.outline
1569
+ }, errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || $guard(_exceptionable, {
1570
+ path: _path + ".shadow",
1571
+ expected: "(string | undefined)",
1572
+ value: input.shadow
1573
+ }, errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || $guard(_exceptionable, {
1574
+ path: _path + ".alignment",
1575
+ expected: "(string | undefined)",
1576
+ value: input.alignment
1577
+ }, errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || $guard(_exceptionable, {
1578
+ path: _path + ".marginL",
1579
+ expected: "(string | undefined)",
1580
+ value: input.marginL
1581
+ }, errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || $guard(_exceptionable, {
1582
+ path: _path + ".marginR",
1583
+ expected: "(string | undefined)",
1584
+ value: input.marginR
1585
+ }, errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || $guard(_exceptionable, {
1586
+ path: _path + ".marginV",
1587
+ expected: "(string | undefined)",
1588
+ value: input.marginV
1589
+ }, errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || $guard(_exceptionable, {
1590
+ path: _path + ".encoding",
1591
+ expected: "(string | undefined)",
1592
+ value: input.encoding
1593
+ }, errorFactory));
1594
+ const $ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
977
1595
  path: _path + ".crop",
978
- expected: "(__type.o3 | undefined)",
1596
+ expected: "(__type.o5 | undefined)",
979
1597
  value: input.crop
980
- }, errorFactory)) && $ao5(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
1598
+ }, errorFactory)) && $ao8(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
981
1599
  path: _path + ".crop",
982
- expected: "(__type.o3 | undefined)",
1600
+ expected: "(__type.o5 | undefined)",
983
1601
  value: input.crop
984
1602
  }, errorFactory);
985
- const $ao5 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x) || $guard(_exceptionable, {
1603
+ const $ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x) || $guard(_exceptionable, {
986
1604
  path: _path + ".x",
987
1605
  expected: "(number | undefined)",
988
1606
  value: input.x
@@ -999,7 +1617,7 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
999
1617
  expected: "(number | undefined)",
1000
1618
  value: input.height
1001
1619
  }, errorFactory));
1002
- const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
1620
+ const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
1003
1621
  path: _path + ".language",
1004
1622
  expected: "(string | undefined)",
1005
1623
  value: input.language
@@ -1016,33 +1634,33 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
1016
1634
  expected: "(Array<number> | undefined)",
1017
1635
  value: input.pan
1018
1636
  }, errorFactory));
1019
- const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
1637
+ const $ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
1020
1638
  path: _path + ".format",
1021
1639
  expected: "string",
1022
1640
  value: input.format
1023
1641
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || $guard(_exceptionable, {
1024
1642
  path: _path + ".transcribe",
1025
- expected: "(__type.o5 | undefined)",
1643
+ expected: "(__type.o7 | undefined)",
1026
1644
  value: input.transcribe
1027
- }, errorFactory)) && $ao8(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1645
+ }, errorFactory)) && $ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1028
1646
  path: _path + ".transcribe",
1029
- expected: "(__type.o5 | undefined)",
1647
+ expected: "(__type.o7 | undefined)",
1030
1648
  value: input.transcribe
1031
1649
  }, errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || $guard(_exceptionable, {
1032
1650
  path: _path + ".translate",
1033
- expected: "(__type.o6 | undefined)",
1651
+ expected: "(__type.o8 | undefined)",
1034
1652
  value: input.translate
1035
- }, errorFactory)) && $ao9(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
1653
+ }, errorFactory)) && $ao12(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
1036
1654
  path: _path + ".translate",
1037
- expected: "(__type.o6 | undefined)",
1655
+ expected: "(__type.o8 | undefined)",
1038
1656
  value: input.translate
1039
1657
  }, errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || $guard(_exceptionable, {
1040
1658
  path: _path + ".audio",
1041
- expected: "(__type.o7 | undefined)",
1659
+ expected: "(__type.o9 | undefined)",
1042
1660
  value: input.audio
1043
- }, errorFactory)) && $ao10(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
1661
+ }, errorFactory)) && $ao13(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
1044
1662
  path: _path + ".audio",
1045
- expected: "(__type.o7 | undefined)",
1663
+ expected: "(__type.o9 | undefined)",
1046
1664
  value: input.audio
1047
1665
  }, errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || $guard(_exceptionable, {
1048
1666
  path: _path + ".pick",
@@ -1056,22 +1674,43 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
1056
1674
  path: _path + ".pick",
1057
1675
  expected: "(Array<string> | undefined)",
1058
1676
  value: input.pick
1059
- }, errorFactory));
1060
- const $ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
1677
+ }, errorFactory)) && ((null !== input.subtitle || $guard(_exceptionable, {
1678
+ path: _path + ".subtitle",
1679
+ expected: "(SubtitleProfile | string | undefined)",
1680
+ value: input.subtitle
1681
+ }, errorFactory)) && (undefined === input.subtitle || "string" === typeof input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) || $guard(_exceptionable, {
1682
+ path: _path + ".subtitle",
1683
+ expected: "(SubtitleProfile | string | undefined)",
1684
+ value: input.subtitle
1685
+ }, errorFactory)) && $ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
1686
+ path: _path + ".subtitle",
1687
+ expected: "(SubtitleProfile | string | undefined)",
1688
+ value: input.subtitle
1689
+ }, errorFactory)));
1690
+ const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
1061
1691
  path: _path + ".engine",
1062
1692
  expected: "string",
1063
1693
  value: input.engine
1064
1694
  }, errorFactory);
1065
- const $ao9 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
1695
+ const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
1066
1696
  path: _path + ".language",
1067
1697
  expected: "string",
1068
1698
  value: input.language
1069
1699
  }, errorFactory);
1070
- const $ao10 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
1700
+ const $ao13 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
1071
1701
  path: _path + ".pan",
1072
1702
  expected: "(string | undefined)",
1073
1703
  value: input.pan
1074
1704
  }, errorFactory);
1705
+ const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
1706
+ path: _path + ".lang",
1707
+ expected: "(string | undefined)",
1708
+ value: input.lang
1709
+ }, errorFactory)) && (undefined === input.style || "string" === typeof input.style || $guard(_exceptionable, {
1710
+ path: _path + ".style",
1711
+ expected: "(string | undefined)",
1712
+ value: input.style
1713
+ }, errorFactory));
1075
1714
  return ("object" === typeof input && null !== input || $guard(true, {
1076
1715
  path: _path + "",
1077
1716
  expected: "RenderDomainQueryRecord",
@@ -1084,27 +1723,51 @@ export const assertStringifyRenderDomainQueryRecord = (input, errorFactory) => {
1084
1723
  })(input, "$input", true);
1085
1724
  return input;
1086
1725
  }; const stringify = input => {
1087
- const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io7(input.profile));
1088
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io4(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io6(input.transcribe));
1726
+ const $io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && $io10(input.profile));
1727
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
1089
1728
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
1090
- const $io4 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io5(input.crop);
1091
- const $io5 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
1092
- const $io6 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
1093
- const $io7 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io8(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io9(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io10(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem));
1094
- const $io8 = input => "string" === typeof input.engine;
1095
- const $io9 = input => "string" === typeof input.language;
1096
- const $io10 = input => undefined === input.pan || "string" === typeof input.pan;
1729
+ const $io4 = input => Object.keys(input).every(key => {
1730
+ const value = input[key];
1731
+ if (undefined === value)
1732
+ return true;
1733
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
1734
+ });
1735
+ const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
1736
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
1737
+ const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
1738
+ const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
1739
+ const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
1740
+ const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
1741
+ const $io11 = input => "string" === typeof input.engine;
1742
+ const $io12 = input => "string" === typeof input.language;
1743
+ const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
1744
+ const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
1097
1745
  const $string = __typia.json.createAssertStringify.string;
1098
1746
  const $tail = __typia.json.createAssertStringify.tail;
1747
+ const $throws = __typia.json.createAssertStringify.throws;
1099
1748
  const $so0 = input => `{${undefined === input.parent ? "" : `"parent":${undefined !== input.parent ? $string(input.parent) : undefined},`}"type":${$string(input.type)},"title":${$string(input.title)},"description":${$so1(input.description)}}`;
1100
- const $so1 = input => `{"scene":${$so2(input.scene)},"profile":${$so7(input.profile)}}`;
1101
- const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so4(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so6(input.transcribe) : undefined}`}`)}}`;
1749
+ const $so1 = input => `{"scene":${$so2(input.scene)},"profile":${$so10(input.profile)}}`;
1750
+ const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? $so4(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so7(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so9(input.transcribe) : undefined}`}`)}}`;
1102
1751
  const $so3 = input => `{${$tail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? $string(input.file) : "null" : undefined}`}`)}}`;
1103
- const $so4 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so5(input.crop) : undefined}`}`)}}`;
1104
- const $so5 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
1105
- const $so6 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
1106
- const $so7 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so10(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}"format":${$string(input.format)}}`;
1107
- const $so10 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1752
+ const $so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1753
+ return ""; return `${JSON.stringify(key)}:${$so5(value)}`; }).filter(str => "" !== str).join(",")}}`;
1754
+ const $so5 = input => `{${$tail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? $string(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? $so6(input.styleOverrides) : undefined}`}`)}}`;
1755
+ const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined}`}`)}}`;
1756
+ const $so7 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so8(input.crop) : undefined}`}`)}}`;
1757
+ const $so8 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
1758
+ const $so9 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
1759
+ const $so10 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so13(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
1760
+ if ("string" === typeof input.subtitle)
1761
+ return $string(input.subtitle);
1762
+ if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
1763
+ return $so14(input.subtitle);
1764
+ $throws({
1765
+ expected: "(SubtitleProfile | string | undefined)",
1766
+ value: input.subtitle
1767
+ });
1768
+ })() : undefined},`}"format":${$string(input.format)}}`;
1769
+ const $so13 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1770
+ const $so14 = input => `{${$tail(`${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined}`}`)}}`;
1108
1771
  return $so0(input);
1109
1772
  }; return stringify(assert(input, errorFactory)); };
1110
1773
  export const isRenderDomainResultRecord = input => {