@shotstack/shotstack-studio 2.15.0 → 2.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shotstack-studio.es.js +201 -201
- package/dist/shotstack-studio.umd.js +55 -55
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import "pixi.js/text-html";
|
|
|
11
11
|
import "pixi.js/sprite-tiling";
|
|
12
12
|
import "pixi.js/filters";
|
|
13
13
|
import "pixi.js/mesh";
|
|
14
|
-
const CA = "2.
|
|
14
|
+
const CA = "2.15.0", kA = {
|
|
15
15
|
version: CA
|
|
16
16
|
};
|
|
17
17
|
function O1(e, t, i) {
|
|
@@ -4187,10 +4187,10 @@ const Je = /* @__PURE__ */ X("ZodType", (e, t) => (Xe.init(e, t), Object.assign(
|
|
|
4187
4187
|
return i.add(this, r), this;
|
|
4188
4188
|
},
|
|
4189
4189
|
refine(i, r) {
|
|
4190
|
-
return this.check(
|
|
4190
|
+
return this.check(BP(i, r));
|
|
4191
4191
|
},
|
|
4192
4192
|
superRefine(i, r) {
|
|
4193
|
-
return this.check(
|
|
4193
|
+
return this.check(NP(i, r));
|
|
4194
4194
|
},
|
|
4195
4195
|
overwrite(i) {
|
|
4196
4196
|
return this.check(/* @__PURE__ */ Jo(i));
|
|
@@ -4199,7 +4199,7 @@ const Je = /* @__PURE__ */ X("ZodType", (e, t) => (Xe.init(e, t), Object.assign(
|
|
|
4199
4199
|
return p(this);
|
|
4200
4200
|
},
|
|
4201
4201
|
exactOptional() {
|
|
4202
|
-
return
|
|
4202
|
+
return wP(this);
|
|
4203
4203
|
},
|
|
4204
4204
|
nullable() {
|
|
4205
4205
|
return ub(this);
|
|
@@ -4208,7 +4208,7 @@ const Je = /* @__PURE__ */ X("ZodType", (e, t) => (Xe.init(e, t), Object.assign(
|
|
|
4208
4208
|
return p(ub(this));
|
|
4209
4209
|
},
|
|
4210
4210
|
nonoptional(i) {
|
|
4211
|
-
return
|
|
4211
|
+
return EP(this, i);
|
|
4212
4212
|
},
|
|
4213
4213
|
array() {
|
|
4214
4214
|
return Wt(this);
|
|
@@ -4217,25 +4217,25 @@ const Je = /* @__PURE__ */ X("ZodType", (e, t) => (Xe.init(e, t), Object.assign(
|
|
|
4217
4217
|
return E([this, i]);
|
|
4218
4218
|
},
|
|
4219
4219
|
and(i) {
|
|
4220
|
-
return
|
|
4220
|
+
return gP(this, i);
|
|
4221
4221
|
},
|
|
4222
4222
|
transform(i) {
|
|
4223
4223
|
return cb(this, k2(i));
|
|
4224
4224
|
},
|
|
4225
4225
|
default(i) {
|
|
4226
|
-
return
|
|
4226
|
+
return kP(this, i);
|
|
4227
4227
|
},
|
|
4228
4228
|
prefault(i) {
|
|
4229
|
-
return
|
|
4229
|
+
return SP(this, i);
|
|
4230
4230
|
},
|
|
4231
4231
|
catch(i) {
|
|
4232
|
-
return
|
|
4232
|
+
return TP(this, i);
|
|
4233
4233
|
},
|
|
4234
4234
|
pipe(i) {
|
|
4235
4235
|
return cb(this, i);
|
|
4236
4236
|
},
|
|
4237
4237
|
readonly() {
|
|
4238
|
-
return
|
|
4238
|
+
return PP(this);
|
|
4239
4239
|
},
|
|
4240
4240
|
describe(i) {
|
|
4241
4241
|
const r = this.clone();
|
|
@@ -4312,7 +4312,7 @@ const Je = /* @__PURE__ */ X("ZodType", (e, t) => (Xe.init(e, t), Object.assign(
|
|
|
4312
4312
|
}
|
|
4313
4313
|
});
|
|
4314
4314
|
}), Z8 = /* @__PURE__ */ X("ZodString", (e, t) => {
|
|
4315
|
-
wm.init(e, t), v2.init(e, t), e.email = (i) => e.check(/* @__PURE__ */ aD(j8, i)), e.url = (i) => e.check(/* @__PURE__ */ fD(W8, i)), e.jwt = (i) => e.check(/* @__PURE__ */ ED(
|
|
4315
|
+
wm.init(e, t), v2.init(e, t), e.email = (i) => e.check(/* @__PURE__ */ aD(j8, i)), e.url = (i) => e.check(/* @__PURE__ */ fD(W8, i)), e.jwt = (i) => e.check(/* @__PURE__ */ ED(aP, i)), e.emoji = (i) => e.check(/* @__PURE__ */ dD(H8, i)), e.guid = (i) => e.check(/* @__PURE__ */ eb(ab, i)), e.uuid = (i) => e.check(/* @__PURE__ */ oD(kc, i)), e.uuidv4 = (i) => e.check(/* @__PURE__ */ lD(kc, i)), e.uuidv6 = (i) => e.check(/* @__PURE__ */ uD(kc, i)), e.uuidv7 = (i) => e.check(/* @__PURE__ */ cD(kc, i)), e.nanoid = (i) => e.check(/* @__PURE__ */ hD(G8, i)), e.guid = (i) => e.check(/* @__PURE__ */ eb(ab, i)), e.cuid = (i) => e.check(/* @__PURE__ */ pD(q8, i)), e.cuid2 = (i) => e.check(/* @__PURE__ */ mD(Y8, i)), e.ulid = (i) => e.check(/* @__PURE__ */ gD(X8, i)), e.base64 = (i) => e.check(/* @__PURE__ */ kD(rP, i)), e.base64url = (i) => e.check(/* @__PURE__ */ _D(nP, i)), e.xid = (i) => e.check(/* @__PURE__ */ yD(K8, i)), e.ksuid = (i) => e.check(/* @__PURE__ */ bD(J8, i)), e.ipv4 = (i) => e.check(/* @__PURE__ */ vD(Q8, i)), e.ipv6 = (i) => e.check(/* @__PURE__ */ wD(tP, i)), e.cidrv4 = (i) => e.check(/* @__PURE__ */ xD(eP, i)), e.cidrv6 = (i) => e.check(/* @__PURE__ */ CD(iP, i)), e.e164 = (i) => e.check(/* @__PURE__ */ SD(sP, i)), e.datetime = (i) => e.check(k8(i)), e.date = (i) => e.check(S8(i)), e.time = (i) => e.check(A8(i)), e.duration = (i) => e.check(I8(i));
|
|
4316
4316
|
});
|
|
4317
4317
|
function y(e) {
|
|
4318
4318
|
return /* @__PURE__ */ sD(Z8, e);
|
|
@@ -4343,19 +4343,19 @@ const ii = /* @__PURE__ */ X("ZodStringFormat", (e, t) => {
|
|
|
4343
4343
|
vI.init(e, t), ii.init(e, t);
|
|
4344
4344
|
}), Q8 = /* @__PURE__ */ X("ZodIPv4", (e, t) => {
|
|
4345
4345
|
_I.init(e, t), ii.init(e, t);
|
|
4346
|
-
}),
|
|
4346
|
+
}), tP = /* @__PURE__ */ X("ZodIPv6", (e, t) => {
|
|
4347
4347
|
SI.init(e, t), ii.init(e, t);
|
|
4348
|
-
}),
|
|
4348
|
+
}), eP = /* @__PURE__ */ X("ZodCIDRv4", (e, t) => {
|
|
4349
4349
|
EI.init(e, t), ii.init(e, t);
|
|
4350
|
-
}),
|
|
4350
|
+
}), iP = /* @__PURE__ */ X("ZodCIDRv6", (e, t) => {
|
|
4351
4351
|
AI.init(e, t), ii.init(e, t);
|
|
4352
|
-
}),
|
|
4352
|
+
}), rP = /* @__PURE__ */ X("ZodBase64", (e, t) => {
|
|
4353
4353
|
TI.init(e, t), ii.init(e, t);
|
|
4354
|
-
}),
|
|
4354
|
+
}), nP = /* @__PURE__ */ X("ZodBase64URL", (e, t) => {
|
|
4355
4355
|
DI.init(e, t), ii.init(e, t);
|
|
4356
|
-
}),
|
|
4356
|
+
}), sP = /* @__PURE__ */ X("ZodE164", (e, t) => {
|
|
4357
4357
|
PI.init(e, t), ii.init(e, t);
|
|
4358
|
-
}),
|
|
4358
|
+
}), aP = /* @__PURE__ */ X("ZodJWT", (e, t) => {
|
|
4359
4359
|
BI.init(e, t), ii.init(e, t);
|
|
4360
4360
|
}), w2 = /* @__PURE__ */ X("ZodNumber", (e, t) => {
|
|
4361
4361
|
o2.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (r, n, s) => e8(e, r, n), Tu(e, "ZodNumber", {
|
|
@@ -4411,37 +4411,37 @@ const ii = /* @__PURE__ */ X("ZodStringFormat", (e, t) => {
|
|
|
4411
4411
|
function P(e) {
|
|
4412
4412
|
return /* @__PURE__ */ PD(w2, e);
|
|
4413
4413
|
}
|
|
4414
|
-
const
|
|
4414
|
+
const oP = /* @__PURE__ */ X("ZodNumberFormat", (e, t) => {
|
|
4415
4415
|
NI.init(e, t), w2.init(e, t);
|
|
4416
4416
|
});
|
|
4417
4417
|
function ob(e) {
|
|
4418
|
-
return /* @__PURE__ */ FD(
|
|
4418
|
+
return /* @__PURE__ */ FD(oP, e);
|
|
4419
4419
|
}
|
|
4420
|
-
const
|
|
4420
|
+
const lP = /* @__PURE__ */ X("ZodBoolean", (e, t) => {
|
|
4421
4421
|
MI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => i8(e, i, r);
|
|
4422
4422
|
});
|
|
4423
4423
|
function Ut(e) {
|
|
4424
|
-
return /* @__PURE__ */ BD(
|
|
4424
|
+
return /* @__PURE__ */ BD(lP, e);
|
|
4425
4425
|
}
|
|
4426
|
-
const
|
|
4426
|
+
const uP = /* @__PURE__ */ X("ZodNull", (e, t) => {
|
|
4427
4427
|
zI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => r8(e, i, r);
|
|
4428
4428
|
});
|
|
4429
4429
|
function Lr(e) {
|
|
4430
|
-
return /* @__PURE__ */ ND(
|
|
4430
|
+
return /* @__PURE__ */ ND(uP, e);
|
|
4431
4431
|
}
|
|
4432
|
-
const
|
|
4432
|
+
const cP = /* @__PURE__ */ X("ZodUnknown", (e, t) => {
|
|
4433
4433
|
OI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => s8();
|
|
4434
4434
|
});
|
|
4435
4435
|
function $i() {
|
|
4436
|
-
return /* @__PURE__ */ MD(
|
|
4436
|
+
return /* @__PURE__ */ MD(cP);
|
|
4437
4437
|
}
|
|
4438
|
-
const
|
|
4438
|
+
const fP = /* @__PURE__ */ X("ZodNever", (e, t) => {
|
|
4439
4439
|
RI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => n8(e, i, r);
|
|
4440
4440
|
});
|
|
4441
4441
|
function wt(e) {
|
|
4442
|
-
return /* @__PURE__ */ zD(
|
|
4442
|
+
return /* @__PURE__ */ zD(fP, e);
|
|
4443
4443
|
}
|
|
4444
|
-
const
|
|
4444
|
+
const dP = /* @__PURE__ */ X("ZodArray", (e, t) => {
|
|
4445
4445
|
VI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => c8(e, i, r, n), e.element = t.element, Tu(e, "ZodArray", {
|
|
4446
4446
|
min(i, r) {
|
|
4447
4447
|
return this.check(/* @__PURE__ */ pf(i, r));
|
|
@@ -4461,9 +4461,9 @@ const d7 = /* @__PURE__ */ X("ZodArray", (e, t) => {
|
|
|
4461
4461
|
});
|
|
4462
4462
|
});
|
|
4463
4463
|
function Wt(e, t) {
|
|
4464
|
-
return /* @__PURE__ */ qD(
|
|
4464
|
+
return /* @__PURE__ */ qD(dP, e, t);
|
|
4465
4465
|
}
|
|
4466
|
-
const
|
|
4466
|
+
const hP = /* @__PURE__ */ X("ZodObject", (e, t) => {
|
|
4467
4467
|
$I.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => f8(e, i, r, n), Be(e, "shape", () => t.shape), Tu(e, "ZodObject", {
|
|
4468
4468
|
keyof() {
|
|
4469
4469
|
return j(Object.keys(this._zod.def.shape));
|
|
@@ -4512,7 +4512,7 @@ function A(e, t) {
|
|
|
4512
4512
|
shape: e ?? {},
|
|
4513
4513
|
...Mt(t)
|
|
4514
4514
|
};
|
|
4515
|
-
return new
|
|
4515
|
+
return new hP(i);
|
|
4516
4516
|
}
|
|
4517
4517
|
const x2 = /* @__PURE__ */ X("ZodUnion", (e, t) => {
|
|
4518
4518
|
c2.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => d8(e, i, r, n), e.options = t.options;
|
|
@@ -4524,22 +4524,22 @@ function E(e, t) {
|
|
|
4524
4524
|
...Mt(t)
|
|
4525
4525
|
});
|
|
4526
4526
|
}
|
|
4527
|
-
const
|
|
4527
|
+
const pP = /* @__PURE__ */ X("ZodDiscriminatedUnion", (e, t) => {
|
|
4528
4528
|
x2.init(e, t), UI.init(e, t);
|
|
4529
4529
|
});
|
|
4530
4530
|
function sd(e, t, i) {
|
|
4531
|
-
return new
|
|
4531
|
+
return new pP({
|
|
4532
4532
|
type: "union",
|
|
4533
4533
|
options: t,
|
|
4534
4534
|
discriminator: e,
|
|
4535
4535
|
...Mt(i)
|
|
4536
4536
|
});
|
|
4537
4537
|
}
|
|
4538
|
-
const
|
|
4538
|
+
const mP = /* @__PURE__ */ X("ZodIntersection", (e, t) => {
|
|
4539
4539
|
ZI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => h8(e, i, r, n);
|
|
4540
4540
|
});
|
|
4541
|
-
function
|
|
4542
|
-
return new
|
|
4541
|
+
function gP(e, t) {
|
|
4542
|
+
return new mP({
|
|
4543
4543
|
type: "intersection",
|
|
4544
4544
|
left: e,
|
|
4545
4545
|
right: t
|
|
@@ -4600,7 +4600,7 @@ function j(e, t) {
|
|
|
4600
4600
|
...Mt(t)
|
|
4601
4601
|
});
|
|
4602
4602
|
}
|
|
4603
|
-
const
|
|
4603
|
+
const yP = /* @__PURE__ */ X("ZodLiteral", (e, t) => {
|
|
4604
4604
|
HI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => o8(e, i, r), e.values = new Set(t.values), Object.defineProperty(e, "value", {
|
|
4605
4605
|
get() {
|
|
4606
4606
|
if (t.values.length > 1)
|
|
@@ -4610,13 +4610,13 @@ const y7 = /* @__PURE__ */ X("ZodLiteral", (e, t) => {
|
|
|
4610
4610
|
});
|
|
4611
4611
|
});
|
|
4612
4612
|
function It(e, t) {
|
|
4613
|
-
return new
|
|
4613
|
+
return new yP({
|
|
4614
4614
|
type: "literal",
|
|
4615
4615
|
values: Array.isArray(e) ? e : [e],
|
|
4616
4616
|
...Mt(t)
|
|
4617
4617
|
});
|
|
4618
4618
|
}
|
|
4619
|
-
const
|
|
4619
|
+
const bP = /* @__PURE__ */ X("ZodTransform", (e, t) => {
|
|
4620
4620
|
GI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => u8(e, i), e._zod.parse = (i, r) => {
|
|
4621
4621
|
if (r.direction === "backward")
|
|
4622
4622
|
throw new H4(e.constructor.name);
|
|
@@ -4633,7 +4633,7 @@ const b7 = /* @__PURE__ */ X("ZodTransform", (e, t) => {
|
|
|
4633
4633
|
};
|
|
4634
4634
|
});
|
|
4635
4635
|
function k2(e) {
|
|
4636
|
-
return new
|
|
4636
|
+
return new bP({
|
|
4637
4637
|
type: "transform",
|
|
4638
4638
|
transform: e
|
|
4639
4639
|
});
|
|
@@ -4647,29 +4647,29 @@ function p(e) {
|
|
|
4647
4647
|
innerType: e
|
|
4648
4648
|
});
|
|
4649
4649
|
}
|
|
4650
|
-
const
|
|
4650
|
+
const vP = /* @__PURE__ */ X("ZodExactOptional", (e, t) => {
|
|
4651
4651
|
qI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => b2(e, i, r, n), e.unwrap = () => e._zod.def.innerType;
|
|
4652
4652
|
});
|
|
4653
|
-
function
|
|
4654
|
-
return new
|
|
4653
|
+
function wP(e) {
|
|
4654
|
+
return new vP({
|
|
4655
4655
|
type: "optional",
|
|
4656
4656
|
innerType: e
|
|
4657
4657
|
});
|
|
4658
4658
|
}
|
|
4659
|
-
const
|
|
4659
|
+
const xP = /* @__PURE__ */ X("ZodNullable", (e, t) => {
|
|
4660
4660
|
YI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => m8(e, i, r, n), e.unwrap = () => e._zod.def.innerType;
|
|
4661
4661
|
});
|
|
4662
4662
|
function ub(e) {
|
|
4663
|
-
return new
|
|
4663
|
+
return new xP({
|
|
4664
4664
|
type: "nullable",
|
|
4665
4665
|
innerType: e
|
|
4666
4666
|
});
|
|
4667
4667
|
}
|
|
4668
|
-
const
|
|
4668
|
+
const CP = /* @__PURE__ */ X("ZodDefault", (e, t) => {
|
|
4669
4669
|
XI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => y8(e, i, r, n), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
|
|
4670
4670
|
});
|
|
4671
|
-
function
|
|
4672
|
-
return new
|
|
4671
|
+
function kP(e, t) {
|
|
4672
|
+
return new CP({
|
|
4673
4673
|
type: "default",
|
|
4674
4674
|
innerType: e,
|
|
4675
4675
|
get defaultValue() {
|
|
@@ -4677,11 +4677,11 @@ function k7(e, t) {
|
|
|
4677
4677
|
}
|
|
4678
4678
|
});
|
|
4679
4679
|
}
|
|
4680
|
-
const
|
|
4680
|
+
const _P = /* @__PURE__ */ X("ZodPrefault", (e, t) => {
|
|
4681
4681
|
KI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => b8(e, i, r, n), e.unwrap = () => e._zod.def.innerType;
|
|
4682
4682
|
});
|
|
4683
|
-
function
|
|
4684
|
-
return new
|
|
4683
|
+
function SP(e, t) {
|
|
4684
|
+
return new _P({
|
|
4685
4685
|
type: "prefault",
|
|
4686
4686
|
innerType: e,
|
|
4687
4687
|
get defaultValue() {
|
|
@@ -4692,18 +4692,18 @@ function S7(e, t) {
|
|
|
4692
4692
|
const S2 = /* @__PURE__ */ X("ZodNonOptional", (e, t) => {
|
|
4693
4693
|
JI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => g8(e, i, r, n), e.unwrap = () => e._zod.def.innerType;
|
|
4694
4694
|
});
|
|
4695
|
-
function
|
|
4695
|
+
function EP(e, t) {
|
|
4696
4696
|
return new S2({
|
|
4697
4697
|
type: "nonoptional",
|
|
4698
4698
|
innerType: e,
|
|
4699
4699
|
...Mt(t)
|
|
4700
4700
|
});
|
|
4701
4701
|
}
|
|
4702
|
-
const
|
|
4702
|
+
const AP = /* @__PURE__ */ X("ZodCatch", (e, t) => {
|
|
4703
4703
|
QI.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => v8(e, i, r, n), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
|
|
4704
4704
|
});
|
|
4705
|
-
function
|
|
4706
|
-
return new
|
|
4705
|
+
function TP(e, t) {
|
|
4706
|
+
return new AP({
|
|
4707
4707
|
type: "catch",
|
|
4708
4708
|
innerType: e,
|
|
4709
4709
|
catchValue: typeof t == "function" ? t : () => t
|
|
@@ -4720,28 +4720,28 @@ function cb(e, t) {
|
|
|
4720
4720
|
// ...util.normalizeParams(params),
|
|
4721
4721
|
});
|
|
4722
4722
|
}
|
|
4723
|
-
const
|
|
4723
|
+
const IP = /* @__PURE__ */ X("ZodPreprocess", (e, t) => {
|
|
4724
4724
|
E2.init(e, t), tD.init(e, t);
|
|
4725
|
-
}),
|
|
4725
|
+
}), DP = /* @__PURE__ */ X("ZodReadonly", (e, t) => {
|
|
4726
4726
|
eD.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => x8(e, i, r, n), e.unwrap = () => e._zod.def.innerType;
|
|
4727
4727
|
});
|
|
4728
|
-
function
|
|
4729
|
-
return new
|
|
4728
|
+
function PP(e) {
|
|
4729
|
+
return new DP({
|
|
4730
4730
|
type: "readonly",
|
|
4731
4731
|
innerType: e
|
|
4732
4732
|
});
|
|
4733
4733
|
}
|
|
4734
|
-
const
|
|
4734
|
+
const FP = /* @__PURE__ */ X("ZodCustom", (e, t) => {
|
|
4735
4735
|
iD.init(e, t), Je.init(e, t), e._zod.processJSONSchema = (i, r, n) => l8(e, i);
|
|
4736
4736
|
});
|
|
4737
|
-
function
|
|
4738
|
-
return /* @__PURE__ */ YD(
|
|
4737
|
+
function BP(e, t = {}) {
|
|
4738
|
+
return /* @__PURE__ */ YD(FP, e, t);
|
|
4739
4739
|
}
|
|
4740
|
-
function
|
|
4740
|
+
function NP(e, t) {
|
|
4741
4741
|
return /* @__PURE__ */ XD(e, t);
|
|
4742
4742
|
}
|
|
4743
4743
|
function F(e, t) {
|
|
4744
|
-
return new
|
|
4744
|
+
return new IP({
|
|
4745
4745
|
type: "pipe",
|
|
4746
4746
|
in: k2(e),
|
|
4747
4747
|
out: t
|
|
@@ -4749,7 +4749,7 @@ function F(e, t) {
|
|
|
4749
4749
|
}
|
|
4750
4750
|
const Oa = {
|
|
4751
4751
|
custom: "custom"
|
|
4752
|
-
},
|
|
4752
|
+
}, MP = A({
|
|
4753
4753
|
color: p(y()),
|
|
4754
4754
|
opacity: p(E([F((e) => {
|
|
4755
4755
|
if (!(e === "" || e === null || e === void 0))
|
|
@@ -4763,7 +4763,7 @@ const Oa = {
|
|
|
4763
4763
|
if (!(e === "" || e === null || e === void 0))
|
|
4764
4764
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
4765
4765
|
}, P().int()), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
4766
|
-
}).strict(),
|
|
4766
|
+
}).strict(), zP = A({
|
|
4767
4767
|
family: p(y()),
|
|
4768
4768
|
color: p(y()),
|
|
4769
4769
|
opacity: p(E([F((e) => {
|
|
@@ -4783,7 +4783,7 @@ const Oa = {
|
|
|
4783
4783
|
if (!(e === "" || e === null || e === void 0))
|
|
4784
4784
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
4785
4785
|
}, P()), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
4786
|
-
}).strict(),
|
|
4786
|
+
}).strict(), OP = A({
|
|
4787
4787
|
top: p(E([F((e) => {
|
|
4788
4788
|
if (!(e === "" || e === null || e === void 0))
|
|
4789
4789
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -4796,12 +4796,12 @@ const Oa = {
|
|
|
4796
4796
|
if (!(e === "" || e === null || e === void 0))
|
|
4797
4797
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
4798
4798
|
}, P()), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
4799
|
-
}).strict(),
|
|
4799
|
+
}).strict(), RP = A({
|
|
4800
4800
|
type: j(["caption"]),
|
|
4801
4801
|
src: y().min(1).regex(/\S/),
|
|
4802
|
-
font: p(
|
|
4803
|
-
background: p(
|
|
4804
|
-
margin: p(
|
|
4802
|
+
font: p(zP),
|
|
4803
|
+
background: p(MP),
|
|
4804
|
+
margin: p(OP),
|
|
4805
4805
|
trim: p(E([F((e) => {
|
|
4806
4806
|
if (!(e === "" || e === null || e === void 0))
|
|
4807
4807
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -4810,7 +4810,7 @@ const Oa = {
|
|
|
4810
4810
|
if (!(e === "" || e === null || e === void 0))
|
|
4811
4811
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
4812
4812
|
}, P().gte(0).lte(10)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
4813
|
-
}).strict(),
|
|
4813
|
+
}).strict(), VP = A({
|
|
4814
4814
|
color: E([y().regex(/^#[0-9a-fA-F]{6}$/), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
4815
4815
|
threshold: p(E([F((e) => {
|
|
4816
4816
|
if (!(e === "" || e === null || e === void 0))
|
|
@@ -4837,7 +4837,7 @@ const Oa = {
|
|
|
4837
4837
|
if (!(e === "" || e === null || e === void 0))
|
|
4838
4838
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
4839
4839
|
}, P().gte(0).lte(1)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
4840
|
-
}).strict(),
|
|
4840
|
+
}).strict(), LP = A({
|
|
4841
4841
|
host: y(),
|
|
4842
4842
|
cpCode: y(),
|
|
4843
4843
|
path: p(E([
|
|
@@ -4848,10 +4848,10 @@ const Oa = {
|
|
|
4848
4848
|
y(),
|
|
4849
4849
|
Lr()
|
|
4850
4850
|
]))
|
|
4851
|
-
}).strict(), $
|
|
4851
|
+
}).strict(), $P = A({
|
|
4852
4852
|
provider: It("akamai-netstorage"),
|
|
4853
|
-
options: p(
|
|
4854
|
-
}).strict(),
|
|
4853
|
+
options: p(LP)
|
|
4854
|
+
}).strict(), UP = A({
|
|
4855
4855
|
accountName: y(),
|
|
4856
4856
|
container: y(),
|
|
4857
4857
|
prefix: p(E([
|
|
@@ -4862,41 +4862,41 @@ const Oa = {
|
|
|
4862
4862
|
y(),
|
|
4863
4863
|
Lr()
|
|
4864
4864
|
]))
|
|
4865
|
-
}).strict(),
|
|
4865
|
+
}).strict(), ZP = A({
|
|
4866
4866
|
provider: It("azure-blob-storage"),
|
|
4867
|
-
options: p(
|
|
4868
|
-
}).strict(),
|
|
4867
|
+
options: p(UP)
|
|
4868
|
+
}).strict(), jP = A({
|
|
4869
4869
|
bucket: y(),
|
|
4870
4870
|
prefix: p(y()),
|
|
4871
4871
|
filename: p(y())
|
|
4872
|
-
}).strict(),
|
|
4872
|
+
}).strict(), WP = A({
|
|
4873
4873
|
provider: It("google-cloud-storage"),
|
|
4874
|
-
options: p(
|
|
4875
|
-
}).strict(),
|
|
4874
|
+
options: p(jP)
|
|
4875
|
+
}).strict(), HP = A({
|
|
4876
4876
|
folderId: y(),
|
|
4877
4877
|
filename: p(y())
|
|
4878
|
-
}).strict(),
|
|
4878
|
+
}).strict(), GP = A({
|
|
4879
4879
|
provider: It("google-drive"),
|
|
4880
|
-
options:
|
|
4881
|
-
}).strict(),
|
|
4880
|
+
options: HP
|
|
4881
|
+
}).strict(), qP = A({
|
|
4882
4882
|
playbackPolicy: p(Wt(j(["public", "signed"]))),
|
|
4883
4883
|
passthrough: p(y().max(255))
|
|
4884
|
-
}).strict(),
|
|
4884
|
+
}).strict(), YP = A({
|
|
4885
4885
|
provider: It("mux"),
|
|
4886
|
-
options: p(
|
|
4887
|
-
}).strict(),
|
|
4886
|
+
options: p(qP)
|
|
4887
|
+
}).strict(), XP = A({
|
|
4888
4888
|
region: y(),
|
|
4889
4889
|
bucket: y(),
|
|
4890
4890
|
prefix: p(y()),
|
|
4891
4891
|
filename: p(y()),
|
|
4892
4892
|
acl: p(y())
|
|
4893
|
-
}).strict(),
|
|
4893
|
+
}).strict(), KP = A({
|
|
4894
4894
|
provider: It("s3"),
|
|
4895
|
-
options: p(
|
|
4896
|
-
}).strict(),
|
|
4895
|
+
options: p(XP)
|
|
4896
|
+
}).strict(), JP = A({
|
|
4897
4897
|
provider: It("shotstack"),
|
|
4898
4898
|
exclude: p(Ut())
|
|
4899
|
-
}).strict(),
|
|
4899
|
+
}).strict(), QP = A({
|
|
4900
4900
|
title: p(y().max(150)),
|
|
4901
4901
|
privacyLevel: p(j([
|
|
4902
4902
|
"public",
|
|
@@ -4906,10 +4906,10 @@ const Oa = {
|
|
|
4906
4906
|
disableDuet: p(Ut()).default(!1),
|
|
4907
4907
|
disableStitch: p(Ut()).default(!1),
|
|
4908
4908
|
disableComment: p(Ut()).default(!1)
|
|
4909
|
-
}).strict(),
|
|
4909
|
+
}).strict(), t7 = A({
|
|
4910
4910
|
provider: It("tiktok"),
|
|
4911
|
-
options: p(
|
|
4912
|
-
}).strict(),
|
|
4911
|
+
options: p(QP)
|
|
4912
|
+
}).strict(), e7 = A({
|
|
4913
4913
|
view: p(j([
|
|
4914
4914
|
"anybody",
|
|
4915
4915
|
"nobody",
|
|
@@ -4929,35 +4929,35 @@ const Oa = {
|
|
|
4929
4929
|
])),
|
|
4930
4930
|
download: p(Ut()),
|
|
4931
4931
|
add: p(Ut())
|
|
4932
|
-
}).strict(),
|
|
4932
|
+
}).strict(), i7 = A({
|
|
4933
4933
|
name: p(y()),
|
|
4934
4934
|
description: p(y()),
|
|
4935
|
-
privacy: p(
|
|
4935
|
+
privacy: p(e7),
|
|
4936
4936
|
folderUri: p(y())
|
|
4937
|
-
}).strict(),
|
|
4937
|
+
}).strict(), r7 = A({
|
|
4938
4938
|
provider: It("vimeo"),
|
|
4939
|
-
options: p(
|
|
4939
|
+
options: p(i7)
|
|
4940
4940
|
}).strict(), xm = sd("provider", [
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
$
|
|
4949
|
-
|
|
4950
|
-
]),
|
|
4941
|
+
JP,
|
|
4942
|
+
YP,
|
|
4943
|
+
KP,
|
|
4944
|
+
WP,
|
|
4945
|
+
GP,
|
|
4946
|
+
r7,
|
|
4947
|
+
t7,
|
|
4948
|
+
$P,
|
|
4949
|
+
ZP
|
|
4950
|
+
]), n7 = A({
|
|
4951
4951
|
horizontal: p(Ut()),
|
|
4952
4952
|
vertical: p(Ut())
|
|
4953
|
-
}).strict(),
|
|
4953
|
+
}).strict(), s7 = A({
|
|
4954
4954
|
src: y()
|
|
4955
4955
|
}).strict(), A2 = A({
|
|
4956
4956
|
type: j(["html5"]),
|
|
4957
4957
|
html: y(),
|
|
4958
4958
|
css: p(y()),
|
|
4959
4959
|
js: p(y())
|
|
4960
|
-
}).strict(),
|
|
4960
|
+
}).strict(), a7 = A2, o7 = A({
|
|
4961
4961
|
type: j(["html"]),
|
|
4962
4962
|
html: y(),
|
|
4963
4963
|
css: p(y()),
|
|
@@ -4981,11 +4981,11 @@ const Oa = {
|
|
|
4981
4981
|
"topLeft",
|
|
4982
4982
|
"center"
|
|
4983
4983
|
]))
|
|
4984
|
-
}).strict(),
|
|
4984
|
+
}).strict(), l7 = A({
|
|
4985
4985
|
type: j(["image"]),
|
|
4986
4986
|
src: y().min(1).regex(/\S/),
|
|
4987
4987
|
crop: p(ad)
|
|
4988
|
-
}).strict(),
|
|
4988
|
+
}).strict(), u7 = A({
|
|
4989
4989
|
type: j(["image-to-video"]),
|
|
4990
4990
|
src: y().min(1),
|
|
4991
4991
|
prompt: p(y()),
|
|
@@ -5003,7 +5003,7 @@ const Oa = {
|
|
|
5003
5003
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5004
5004
|
}, P().gte(0).lte(10)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
5005
5005
|
crop: p(ad)
|
|
5006
|
-
}).strict(),
|
|
5006
|
+
}).strict(), c7 = A({
|
|
5007
5007
|
preset: j([
|
|
5008
5008
|
"conference",
|
|
5009
5009
|
"interview",
|
|
@@ -5015,49 +5015,49 @@ const Oa = {
|
|
|
5015
5015
|
"studio",
|
|
5016
5016
|
"voice_over"
|
|
5017
5017
|
])
|
|
5018
|
-
}).strict(),
|
|
5018
|
+
}).strict(), f7 = A({
|
|
5019
5019
|
provider: y().default("dolby"),
|
|
5020
|
-
options:
|
|
5021
|
-
}).strict(),
|
|
5020
|
+
options: c7
|
|
5021
|
+
}).strict(), d7 = A({
|
|
5022
5022
|
enhancement: It("dolbyEnhancement_DolbyEnhancement")
|
|
5023
|
-
}).strict().and(
|
|
5024
|
-
audio: p(
|
|
5025
|
-
}).strict(),
|
|
5023
|
+
}).strict().and(f7), h7 = A({
|
|
5024
|
+
audio: p(d7)
|
|
5025
|
+
}).strict(), p7 = A({
|
|
5026
5026
|
status: y(),
|
|
5027
5027
|
title: y(),
|
|
5028
5028
|
detail: y()
|
|
5029
5029
|
}).strict();
|
|
5030
5030
|
A({
|
|
5031
|
-
errors: Wt(
|
|
5031
|
+
errors: Wt(p7)
|
|
5032
5032
|
}).strict();
|
|
5033
|
-
const
|
|
5033
|
+
const m7 = A({
|
|
5034
5034
|
type: y(),
|
|
5035
5035
|
id: y()
|
|
5036
5036
|
}).strict();
|
|
5037
5037
|
A({
|
|
5038
|
-
data:
|
|
5038
|
+
data: m7
|
|
5039
5039
|
}).strict();
|
|
5040
|
-
const
|
|
5040
|
+
const g7 = A({
|
|
5041
5041
|
id: y(),
|
|
5042
5042
|
url: y(),
|
|
5043
5043
|
expires: y()
|
|
5044
|
-
}).strict(),
|
|
5044
|
+
}).strict(), y7 = A({
|
|
5045
5045
|
type: y(),
|
|
5046
5046
|
id: y(),
|
|
5047
|
-
attributes:
|
|
5047
|
+
attributes: g7
|
|
5048
5048
|
}).strict();
|
|
5049
5049
|
A({
|
|
5050
|
-
data:
|
|
5050
|
+
data: y7
|
|
5051
5051
|
}).strict();
|
|
5052
|
-
const
|
|
5052
|
+
const b7 = A({
|
|
5053
5053
|
speed: p(E([F((e) => {
|
|
5054
5054
|
if (!(e === "" || e === null || e === void 0))
|
|
5055
5055
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5056
5056
|
}, P().gte(0).lte(10)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
5057
5057
|
preservePitch: p(Ut())
|
|
5058
|
-
}).strict(),
|
|
5058
|
+
}).strict(), v7 = A({
|
|
5059
5059
|
format: p(j(["srt", "vtt"]))
|
|
5060
|
-
}).strict(),
|
|
5060
|
+
}).strict(), w7 = A({
|
|
5061
5061
|
type: j(["luma"]),
|
|
5062
5062
|
src: y().min(1).regex(/\S/),
|
|
5063
5063
|
trim: p(E([F((e) => {
|
|
@@ -5067,12 +5067,12 @@ const bP = A({
|
|
|
5067
5067
|
}).strict(), T2 = A({
|
|
5068
5068
|
find: y(),
|
|
5069
5069
|
replace: $i()
|
|
5070
|
-
}).strict(),
|
|
5070
|
+
}).strict(), x7 = A({
|
|
5071
5071
|
capture: E([F((e) => {
|
|
5072
5072
|
if (!(e === "" || e === null || e === void 0))
|
|
5073
5073
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5074
5074
|
}, P()), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
|
|
5075
|
-
}).strict(),
|
|
5075
|
+
}).strict(), C7 = A({
|
|
5076
5076
|
start: p(E([F((e) => {
|
|
5077
5077
|
if (!(e === "" || e === null || e === void 0))
|
|
5078
5078
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -5081,7 +5081,7 @@ const bP = A({
|
|
|
5081
5081
|
if (!(e === "" || e === null || e === void 0))
|
|
5082
5082
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5083
5083
|
}, P().gte(0)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
5084
|
-
}).strict(),
|
|
5084
|
+
}).strict(), k7 = A({
|
|
5085
5085
|
id: y(),
|
|
5086
5086
|
owner: y(),
|
|
5087
5087
|
region: p(y()),
|
|
@@ -5099,7 +5099,7 @@ const bP = A({
|
|
|
5099
5099
|
updated: p(y())
|
|
5100
5100
|
}).strict(), I2 = A({
|
|
5101
5101
|
type: y(),
|
|
5102
|
-
attributes:
|
|
5102
|
+
attributes: k7
|
|
5103
5103
|
}).strict();
|
|
5104
5104
|
A({
|
|
5105
5105
|
data: Wt(I2)
|
|
@@ -5112,39 +5112,39 @@ A({
|
|
|
5112
5112
|
message: y(),
|
|
5113
5113
|
response: C2(y(), $i())
|
|
5114
5114
|
}).strict();
|
|
5115
|
-
const
|
|
5115
|
+
const _7 = A({
|
|
5116
5116
|
message: y(),
|
|
5117
5117
|
id: y()
|
|
5118
5118
|
}).strict();
|
|
5119
5119
|
A({
|
|
5120
5120
|
success: Ut(),
|
|
5121
5121
|
message: y(),
|
|
5122
|
-
response:
|
|
5122
|
+
response: _7
|
|
5123
5123
|
}).strict();
|
|
5124
|
-
const
|
|
5124
|
+
const S7 = A({
|
|
5125
5125
|
id: y(),
|
|
5126
5126
|
name: y(),
|
|
5127
5127
|
created: p(y()),
|
|
5128
5128
|
updated: p(y())
|
|
5129
|
-
}).strict(),
|
|
5129
|
+
}).strict(), E7 = A({
|
|
5130
5130
|
owner: y(),
|
|
5131
|
-
templates: Wt(
|
|
5131
|
+
templates: Wt(S7)
|
|
5132
5132
|
}).strict();
|
|
5133
5133
|
A({
|
|
5134
5134
|
success: Ut(),
|
|
5135
5135
|
message: y(),
|
|
5136
|
-
response:
|
|
5136
|
+
response: E7
|
|
5137
5137
|
}).strict();
|
|
5138
|
-
const
|
|
5138
|
+
const A7 = A({
|
|
5139
5139
|
message: y(),
|
|
5140
5140
|
id: y()
|
|
5141
5141
|
}).strict();
|
|
5142
5142
|
A({
|
|
5143
5143
|
success: Ut(),
|
|
5144
5144
|
message: y(),
|
|
5145
|
-
response:
|
|
5145
|
+
response: A7
|
|
5146
5146
|
}).strict();
|
|
5147
|
-
const
|
|
5147
|
+
const T7 = A({
|
|
5148
5148
|
family: p(y()),
|
|
5149
5149
|
weight: p($i()).default("400"),
|
|
5150
5150
|
color: p(E([y().regex(/^#[A-Fa-f0-9]{6}$/), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
@@ -5162,7 +5162,7 @@ const TP = A({
|
|
|
5162
5162
|
"underline",
|
|
5163
5163
|
"line-through"
|
|
5164
5164
|
]))
|
|
5165
|
-
}).strict(),
|
|
5165
|
+
}).strict(), I7 = A({
|
|
5166
5166
|
style: j([
|
|
5167
5167
|
"karaoke",
|
|
5168
5168
|
"highlight",
|
|
@@ -5179,7 +5179,7 @@ const TP = A({
|
|
|
5179
5179
|
"up",
|
|
5180
5180
|
"down"
|
|
5181
5181
|
]))
|
|
5182
|
-
}).strict(),
|
|
5182
|
+
}).strict(), D7 = A({
|
|
5183
5183
|
family: p(y()).default("Roboto"),
|
|
5184
5184
|
size: p(E([F((e) => {
|
|
5185
5185
|
if (!(e === "" || e === null || e === void 0))
|
|
@@ -5203,7 +5203,7 @@ const TP = A({
|
|
|
5203
5203
|
"middle",
|
|
5204
5204
|
"bottom"
|
|
5205
5205
|
]))
|
|
5206
|
-
}).strict(),
|
|
5206
|
+
}).strict(), P7 = Cm, D2 = A({
|
|
5207
5207
|
preset: j([
|
|
5208
5208
|
"fadeIn",
|
|
5209
5209
|
"slideIn",
|
|
@@ -5223,7 +5223,7 @@ const TP = A({
|
|
|
5223
5223
|
"up",
|
|
5224
5224
|
"down"
|
|
5225
5225
|
]))
|
|
5226
|
-
}).strict(),
|
|
5226
|
+
}).strict(), F7 = D2, km = A({
|
|
5227
5227
|
color: p(E([y().regex(/^#[A-Fa-f0-9]{6}$/), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
5228
5228
|
opacity: p(E([F((e) => {
|
|
5229
5229
|
if (!(e === "" || e === null || e === void 0))
|
|
@@ -5234,7 +5234,7 @@ const TP = A({
|
|
|
5234
5234
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5235
5235
|
}, P().gte(0)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0),
|
|
5236
5236
|
wrap: p(Ut()).default(!1)
|
|
5237
|
-
}).strict(),
|
|
5237
|
+
}).strict(), B7 = km, P2 = A({
|
|
5238
5238
|
width: p(E([F((e) => {
|
|
5239
5239
|
if (!(e === "" || e === null || e === void 0))
|
|
5240
5240
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -5261,7 +5261,7 @@ const TP = A({
|
|
|
5261
5261
|
}, P().gte(0).lte(1)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]),
|
|
5262
5262
|
color: E([y().regex(/^#[A-Fa-f0-9]{6}$/), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])
|
|
5263
5263
|
})).min(2)
|
|
5264
|
-
}).strict(),
|
|
5264
|
+
}).strict(), N7 = A({
|
|
5265
5265
|
letterSpacing: p(E([F((e) => {
|
|
5266
5266
|
if (!(e === "" || e === null || e === void 0))
|
|
5267
5267
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -5321,7 +5321,7 @@ const TP = A({
|
|
|
5321
5321
|
if (!(e === "" || e === null || e === void 0))
|
|
5322
5322
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5323
5323
|
}, P().gte(0).lte(1)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(0.5)
|
|
5324
|
-
}).strict(),
|
|
5324
|
+
}).strict(), M7 = od, Iu = A({
|
|
5325
5325
|
width: p(E([F((e) => {
|
|
5326
5326
|
if (!(e === "" || e === null || e === void 0))
|
|
5327
5327
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -5331,8 +5331,8 @@ const TP = A({
|
|
|
5331
5331
|
if (!(e === "" || e === null || e === void 0))
|
|
5332
5332
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5333
5333
|
}, P().gte(0).lte(1)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1)
|
|
5334
|
-
}).strict(),
|
|
5335
|
-
font: p(
|
|
5334
|
+
}).strict(), z7 = Iu, N2 = A({
|
|
5335
|
+
font: p(T7),
|
|
5336
5336
|
stroke: p(E([
|
|
5337
5337
|
Iu,
|
|
5338
5338
|
j(["none"])
|
|
@@ -5341,11 +5341,11 @@ const TP = A({
|
|
|
5341
5341
|
od,
|
|
5342
5342
|
j(["none"])
|
|
5343
5343
|
]))
|
|
5344
|
-
}).strict(),
|
|
5344
|
+
}).strict(), O7 = N2, R7 = A({
|
|
5345
5345
|
type: j(["rich-caption"]),
|
|
5346
5346
|
src: y().min(1),
|
|
5347
|
-
font: p(
|
|
5348
|
-
style: p(
|
|
5347
|
+
font: p(D7),
|
|
5348
|
+
style: p(N7),
|
|
5349
5349
|
stroke: p(Iu),
|
|
5350
5350
|
shadow: p(od),
|
|
5351
5351
|
background: p(km),
|
|
@@ -5359,7 +5359,7 @@ const TP = A({
|
|
|
5359
5359
|
])),
|
|
5360
5360
|
align: p(Cm),
|
|
5361
5361
|
active: p(N2),
|
|
5362
|
-
animation: p(
|
|
5362
|
+
animation: p(I7)
|
|
5363
5363
|
}).strict(), M2 = A({
|
|
5364
5364
|
family: p(y()).default("Open Sans"),
|
|
5365
5365
|
size: p(E([F((e) => {
|
|
@@ -5374,7 +5374,7 @@ const TP = A({
|
|
|
5374
5374
|
}, P().gte(0).lte(1)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])).default(1),
|
|
5375
5375
|
background: p(E([y().regex(/^#[A-Fa-f0-9]{6}$/), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
5376
5376
|
stroke: p(Iu)
|
|
5377
|
-
}).strict(),
|
|
5377
|
+
}).strict(), V7 = M2, z2 = A({
|
|
5378
5378
|
letterSpacing: p(E([F((e) => {
|
|
5379
5379
|
if (!(e === "" || e === null || e === void 0))
|
|
5380
5380
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -5399,7 +5399,7 @@ const TP = A({
|
|
|
5399
5399
|
"line-through"
|
|
5400
5400
|
])),
|
|
5401
5401
|
gradient: p(F2)
|
|
5402
|
-
}).strict(),
|
|
5402
|
+
}).strict(), L7 = z2, O2 = A({
|
|
5403
5403
|
type: j(["rich-text"]),
|
|
5404
5404
|
text: y().max(5e3),
|
|
5405
5405
|
font: p(M2),
|
|
@@ -5417,23 +5417,23 @@ const TP = A({
|
|
|
5417
5417
|
])),
|
|
5418
5418
|
align: p(Cm),
|
|
5419
5419
|
animation: p(D2)
|
|
5420
|
-
}).strict(), $
|
|
5420
|
+
}).strict(), $7 = O2, U7 = A({
|
|
5421
5421
|
id: p(y()),
|
|
5422
5422
|
owner: p(y()),
|
|
5423
5423
|
status: p(j(["queued", "failed"])),
|
|
5424
5424
|
created: p(y())
|
|
5425
|
-
}).strict(),
|
|
5425
|
+
}).strict(), Z7 = A({
|
|
5426
5426
|
type: p(y()),
|
|
5427
|
-
attributes: p(
|
|
5427
|
+
attributes: p(U7)
|
|
5428
5428
|
}).strict();
|
|
5429
5429
|
A({
|
|
5430
|
-
data:
|
|
5430
|
+
data: Z7
|
|
5431
5431
|
}).strict();
|
|
5432
|
-
const
|
|
5432
|
+
const j7 = A({
|
|
5433
5433
|
url: y(),
|
|
5434
5434
|
id: y(),
|
|
5435
5435
|
destinations: Wt(xm)
|
|
5436
|
-
}).strict(),
|
|
5436
|
+
}).strict(), W7 = A({
|
|
5437
5437
|
type: j(["shape"]),
|
|
5438
5438
|
shape: j([
|
|
5439
5439
|
"rectangle",
|
|
@@ -5549,19 +5549,19 @@ const jP = A({
|
|
|
5549
5549
|
It(59.94),
|
|
5550
5550
|
It(60)
|
|
5551
5551
|
])),
|
|
5552
|
-
speed: p(
|
|
5552
|
+
speed: p(b7),
|
|
5553
5553
|
keyframeInterval: p(E([F((e) => {
|
|
5554
5554
|
if (!(e === "" || e === null || e === void 0))
|
|
5555
5555
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5556
5556
|
}, P().int().gte(1).lte(300)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
5557
5557
|
fixOffset: p(Ut()),
|
|
5558
5558
|
fixRotation: p(Ut()),
|
|
5559
|
-
enhance: p(
|
|
5559
|
+
enhance: p(h7),
|
|
5560
5560
|
filename: p(y())
|
|
5561
|
-
}).strict(),
|
|
5561
|
+
}).strict(), H7 = A({
|
|
5562
5562
|
renditions: p(Wt(V2)),
|
|
5563
|
-
transcription: p(
|
|
5564
|
-
}).strict(),
|
|
5563
|
+
transcription: p(v7)
|
|
5564
|
+
}).strict(), G7 = A({
|
|
5565
5565
|
id: y(),
|
|
5566
5566
|
status: p(j([
|
|
5567
5567
|
"queued",
|
|
@@ -5593,9 +5593,9 @@ const jP = A({
|
|
|
5593
5593
|
if (!(e === "" || e === null || e === void 0))
|
|
5594
5594
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
5595
5595
|
}, P()), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)]))
|
|
5596
|
-
}).strict(),
|
|
5597
|
-
renditions: p(Wt(
|
|
5598
|
-
}).strict(),
|
|
5596
|
+
}).strict(), q7 = A({
|
|
5597
|
+
renditions: p(Wt(G7))
|
|
5598
|
+
}).strict(), Y7 = A({
|
|
5599
5599
|
id: y(),
|
|
5600
5600
|
owner: y(),
|
|
5601
5601
|
input: p(y()),
|
|
@@ -5608,7 +5608,7 @@ const jP = A({
|
|
|
5608
5608
|
"deleted",
|
|
5609
5609
|
"overwritten"
|
|
5610
5610
|
])),
|
|
5611
|
-
outputs: p(
|
|
5611
|
+
outputs: p(q7),
|
|
5612
5612
|
width: p(E([F((e) => {
|
|
5613
5613
|
if (!(e === "" || e === null || e === void 0))
|
|
5614
5614
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
@@ -5630,7 +5630,7 @@ const jP = A({
|
|
|
5630
5630
|
}).strict(), L2 = A({
|
|
5631
5631
|
type: y(),
|
|
5632
5632
|
id: y(),
|
|
5633
|
-
attributes:
|
|
5633
|
+
attributes: Y7
|
|
5634
5634
|
}).strict();
|
|
5635
5635
|
A({
|
|
5636
5636
|
data: Wt(L2)
|
|
@@ -5638,12 +5638,12 @@ A({
|
|
|
5638
5638
|
A({
|
|
5639
5639
|
data: L2
|
|
5640
5640
|
}).strict();
|
|
5641
|
-
const
|
|
5641
|
+
const X7 = A({
|
|
5642
5642
|
url: p(y()),
|
|
5643
|
-
outputs: p(
|
|
5643
|
+
outputs: p(H7),
|
|
5644
5644
|
destinations: p(xm),
|
|
5645
5645
|
callback: p(y())
|
|
5646
|
-
}).strict(),
|
|
5646
|
+
}).strict(), K7 = A({
|
|
5647
5647
|
src: y().min(1).regex(/\S/),
|
|
5648
5648
|
effect: p(j([
|
|
5649
5649
|
"fadeIn",
|
|
@@ -5657,7 +5657,7 @@ const XP = A({
|
|
|
5657
5657
|
}).strict(), $2 = A({
|
|
5658
5658
|
type: j(["svg"]),
|
|
5659
5659
|
src: y().min(1).max(5e5)
|
|
5660
|
-
}).strict(),
|
|
5660
|
+
}).strict(), J7 = $2, Q7 = A({
|
|
5661
5661
|
id: y(),
|
|
5662
5662
|
merge: p(Wt(T2))
|
|
5663
5663
|
}).strict(), t9 = A({
|
|
@@ -5816,8 +5816,8 @@ const XP = A({
|
|
|
5816
5816
|
])),
|
|
5817
5817
|
repeat: p(Ut()),
|
|
5818
5818
|
mute: p(Ut()),
|
|
5819
|
-
range: p(
|
|
5820
|
-
poster: p(
|
|
5819
|
+
range: p(C7),
|
|
5820
|
+
poster: p(x7),
|
|
5821
5821
|
thumbnail: p(o9),
|
|
5822
5822
|
destinations: p(Wt(xm))
|
|
5823
5823
|
}).strict(), u9 = A({
|
|
@@ -6125,7 +6125,7 @@ const XP = A({
|
|
|
6125
6125
|
}).strict(), m9 = A({
|
|
6126
6126
|
rotate: p(f9),
|
|
6127
6127
|
skew: p(d9),
|
|
6128
|
-
flip: p(
|
|
6128
|
+
flip: p(n7)
|
|
6129
6129
|
}).strict(), g9 = A({
|
|
6130
6130
|
type: j(["video"]),
|
|
6131
6131
|
src: y().min(1).regex(/\S/),
|
|
@@ -6152,23 +6152,23 @@ const XP = A({
|
|
|
6152
6152
|
return Array.isArray(e) ? e : typeof e == "string" ? /^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(e) ? e : Number(e) : e;
|
|
6153
6153
|
}, P().gte(0).lte(10)), y().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|
|
6154
6154
|
crop: p(ad),
|
|
6155
|
-
chromaKey: p(
|
|
6155
|
+
chromaKey: p(VP)
|
|
6156
6156
|
}).strict(), y9 = sd("type", [
|
|
6157
6157
|
g9,
|
|
6158
|
-
|
|
6158
|
+
l7,
|
|
6159
6159
|
s9,
|
|
6160
6160
|
O2,
|
|
6161
6161
|
c9,
|
|
6162
|
-
|
|
6163
|
-
R7,
|
|
6162
|
+
w7,
|
|
6164
6163
|
RP,
|
|
6165
|
-
|
|
6164
|
+
R7,
|
|
6165
|
+
o7,
|
|
6166
6166
|
A2,
|
|
6167
6167
|
p9,
|
|
6168
|
-
|
|
6168
|
+
W7,
|
|
6169
6169
|
$2,
|
|
6170
6170
|
a9,
|
|
6171
|
-
|
|
6171
|
+
u7,
|
|
6172
6172
|
h9
|
|
6173
6173
|
]), b9 = A({
|
|
6174
6174
|
asset: y9,
|
|
@@ -6269,9 +6269,9 @@ const XP = A({
|
|
|
6269
6269
|
}), w9 = A({
|
|
6270
6270
|
clips: Wt(v9).min(1)
|
|
6271
6271
|
}).strict(), x9 = A({
|
|
6272
|
-
soundtrack: p(
|
|
6272
|
+
soundtrack: p(K7),
|
|
6273
6273
|
background: p(y()),
|
|
6274
|
-
fonts: p(Wt(
|
|
6274
|
+
fonts: p(Wt(s7)),
|
|
6275
6275
|
tracks: Wt(w9).min(1),
|
|
6276
6276
|
cache: p(Ut())
|
|
6277
6277
|
}).strict(), ld = A({
|
|
@@ -6387,7 +6387,7 @@ A({
|
|
|
6387
6387
|
query: p(wt())
|
|
6388
6388
|
}).strict();
|
|
6389
6389
|
A({
|
|
6390
|
-
body:
|
|
6390
|
+
body: Q7,
|
|
6391
6391
|
path: p(wt()),
|
|
6392
6392
|
query: p(wt())
|
|
6393
6393
|
}).strict();
|
|
@@ -6420,7 +6420,7 @@ A({
|
|
|
6420
6420
|
query: p(wt())
|
|
6421
6421
|
}).strict();
|
|
6422
6422
|
A({
|
|
6423
|
-
body:
|
|
6423
|
+
body: j7,
|
|
6424
6424
|
path: p(wt()),
|
|
6425
6425
|
query: p(wt())
|
|
6426
6426
|
}).strict();
|
|
@@ -6430,7 +6430,7 @@ A({
|
|
|
6430
6430
|
query: p(wt())
|
|
6431
6431
|
}).strict();
|
|
6432
6432
|
A({
|
|
6433
|
-
body:
|
|
6433
|
+
body: X7,
|
|
6434
6434
|
path: p(wt()),
|
|
6435
6435
|
query: p(wt())
|
|
6436
6436
|
}).strict();
|
|
@@ -13115,7 +13115,7 @@ function yM(e) {
|
|
|
13115
13115
|
return lk(Hd, e);
|
|
13116
13116
|
}
|
|
13117
13117
|
Pi(AC());
|
|
13118
|
-
var gi = { DEFAULTS: { width: 800, height: 400, pixelRatio: 2, fontFamily: "Open Sans", fontSize: 48, color: "#ffffff", textAlign: "center" }, LIMITS: { minWidth: 1, maxWidth: 4096, minHeight: 1, maxHeight: 4096, minFontSize: 1, maxFontSize: 512, minDuration: 0.1, maxDuration: 120, maxTextLength: 1e4 }, ANIMATION_TYPES: ["typewriter", "fadeIn", "slideIn", "shift", "ascend", "movingLetters"] }, xr = /^#[A-Fa-f0-9]{6}$/, V6 = J.object({ src: J.string().url(), family: J.string(), weight: J.union([J.string(), J.number()]).optional(), style: J.string().optional(), originalFamily: J.string().optional() }), L6 = J.object({ width: J.number().min(0).default(0), color: J.string().regex(xr).default("#000000"), opacity: J.number().min(0).max(1).default(1), radius: J.number().min(0).default(0) }), $6 = J.union([J.number().min(0), J.object({ top: J.number().min(0).default(0), right: J.number().min(0).default(0), bottom: J.number().min(0).default(0), left: J.number().min(0).default(0) })]), bM =
|
|
13118
|
+
var gi = { DEFAULTS: { width: 800, height: 400, pixelRatio: 2, fontFamily: "Open Sans", fontSize: 48, color: "#ffffff", textAlign: "center" }, LIMITS: { minWidth: 1, maxWidth: 4096, minHeight: 1, maxHeight: 4096, minFontSize: 1, maxFontSize: 512, minDuration: 0.1, maxDuration: 120, maxTextLength: 1e4 }, ANIMATION_TYPES: ["typewriter", "fadeIn", "slideIn", "shift", "ascend", "movingLetters"] }, xr = /^#[A-Fa-f0-9]{6}$/, V6 = J.object({ src: J.string().url(), family: J.string(), weight: J.union([J.string(), J.number()]).optional(), style: J.string().optional(), originalFamily: J.string().optional() }), L6 = J.object({ width: J.number().min(0).default(0), color: J.string().regex(xr).default("#000000"), opacity: J.number().min(0).max(1).default(1), radius: J.number().min(0).default(0) }), $6 = J.union([J.number().min(0), J.object({ top: J.number().min(0).default(0), right: J.number().min(0).default(0), bottom: J.number().min(0).default(0), left: J.number().min(0).default(0) })]), bM = V7.extend({ family: J.string().default(gi.DEFAULTS.fontFamily), size: J.number().int().min(gi.LIMITS.minFontSize).max(gi.LIMITS.maxFontSize).default(gi.DEFAULTS.fontSize), weight: J.union([J.string(), J.number()]).default("400"), color: J.string().regex(xr).default(gi.DEFAULTS.color), opacity: J.number().min(0).max(1).default(1), background: J.string().regex(xr).optional() }), vM = J.object({ type: J.enum(["linear", "radial"]).default("linear"), angle: J.number().min(0).max(360).default(0), stops: J.array(J.object({ offset: J.number().min(0).max(1), color: J.string().regex(xr) })).min(2) }), U6 = L7.extend({ letterSpacing: J.number().default(0), lineHeight: J.number().min(0).max(10).default(1.2), textTransform: J.enum(["none", "uppercase", "lowercase", "capitalize"]).default("none"), textDecoration: J.enum(["none", "underline", "line-through"]).default("none"), gradient: vM.optional() }), wM = U6.omit({ wordSpacing: !0 }), Z6 = z7.extend({ width: J.number().min(0).default(0), color: J.string().regex(xr).default("#000000"), opacity: J.number().min(0).max(1).default(1) }), j6 = M7.extend({ offsetX: J.number().default(0), offsetY: J.number().default(0), blur: J.number().min(0).default(0), color: J.string().regex(xr).default("#000000"), opacity: J.number().min(0).max(1).default(0.5) }), W6 = B7.extend({ color: J.string().regex(xr).optional(), opacity: J.number().min(0).max(1).default(1), padding: J.number().int().min(0).max(200).optional() }), H6 = P7.extend({ horizontal: J.enum(["left", "center", "right"]).default(gi.DEFAULTS.textAlign), vertical: J.enum(["top", "middle", "bottom"]).default("middle") }), xM = F7.extend({ preset: J.enum(gi.ANIMATION_TYPES), speed: J.number().min(0.1).max(10).default(1), duration: J.number().min(gi.LIMITS.minDuration).max(gi.LIMITS.maxDuration).optional(), style: J.enum(["character", "word"]).optional(), direction: J.enum(["left", "right", "up", "down"]).optional() }).transform((e) => {
|
|
13119
13119
|
const t = ["typewriter", "shift", "fadeIn", "slideIn"], i = { ...e };
|
|
13120
13120
|
i.style && !t.includes(i.preset) && delete i.style;
|
|
13121
13121
|
const r = { ascend: ["up", "down"], shift: ["left", "right", "up", "down"], slideIn: ["left", "right", "up", "down"], movingLetters: ["left", "right", "up", "down"] };
|
|
@@ -13124,9 +13124,9 @@ var gi = { DEFAULTS: { width: 800, height: 400, pixelRatio: 2, fontFamily: "Open
|
|
|
13124
13124
|
(!n || !n.includes(i.direction)) && delete i.direction;
|
|
13125
13125
|
}
|
|
13126
13126
|
return i;
|
|
13127
|
-
}), CM = $
|
|
13128
|
-
|
|
13129
|
-
var kM = J.object({ text: J.string().min(1), start: J.number().min(0), end: J.number().min(0), confidence: J.number().min(0).max(1).optional() }), _M = J.object({ family: J.string().default("Roboto"), size: J.number().int().min(1).max(500).default(24), weight: J.union([J.string(), J.number()]).default("400"), color: J.string().regex(xr).default("#ffffff"), opacity: J.number().min(0).max(1).default(1), background: J.string().regex(xr).optional() }), SM =
|
|
13127
|
+
}), CM = $7.extend({ type: J.literal("rich-text"), text: J.string().max(gi.LIMITS.maxTextLength).default(""), width: J.number().int().min(gi.LIMITS.minWidth).max(gi.LIMITS.maxWidth).default(gi.DEFAULTS.width).optional(), height: J.number().int().min(gi.LIMITS.minHeight).max(gi.LIMITS.maxHeight).default(gi.DEFAULTS.height).optional(), font: bM.optional(), style: U6.optional(), stroke: Z6.optional(), shadow: j6.optional(), background: W6.optional(), border: L6.optional(), padding: $6.optional(), align: H6.optional(), animation: xM.optional(), customFonts: J.array(V6).optional() }).strict();
|
|
13128
|
+
J7.extend({ shape: J.any().optional(), fill: J.any().optional(), stroke: J.any().optional(), shadow: J.any().optional(), transform: J.any().optional(), opacity: J.number().min(0).max(1).optional(), width: J.number().int().min(1).max(4096).optional(), height: J.number().int().min(1).max(4096).optional() });
|
|
13129
|
+
var kM = J.object({ text: J.string().min(1), start: J.number().min(0), end: J.number().min(0), confidence: J.number().min(0).max(1).optional() }), _M = J.object({ family: J.string().default("Roboto"), size: J.number().int().min(1).max(500).default(24), weight: J.union([J.string(), J.number()]).default("400"), color: J.string().regex(xr).default("#ffffff"), opacity: J.number().min(0).max(1).default(1), background: J.string().regex(xr).optional() }), SM = O7.extend({ font: J.object({ family: J.string().optional(), size: J.number().min(1).max(500).optional(), weight: J.union([J.string(), J.number()]).optional(), color: J.string().regex(xr).optional(), background: J.string().regex(xr).optional(), opacity: J.number().min(0).max(1).optional(), textDecoration: J.enum(["none", "underline", "line-through"]).optional() }).optional(), stroke: J.union([J.object({ width: J.number().min(0).optional(), color: J.string().regex(xr).optional(), opacity: J.number().min(0).max(1).optional() }), J.literal("none")]).optional(), shadow: J.union([J.object({ offsetX: J.number().optional(), offsetY: J.number().optional(), blur: J.number().min(0).optional(), color: J.string().regex(xr).optional(), opacity: J.number().min(0).max(1).optional() }), J.literal("none")]).optional() }), EM = J.object({ style: J.enum(["karaoke", "highlight", "pop", "fade", "slide", "bounce", "typewriter", "none"]).default("highlight"), direction: J.enum(["left", "right", "up", "down"]).default("up") }), AM = [".m4a", ".mp3", ".wav", ".aac", ".ogg", ".flac", ".wma", ".mp4", ".mov", ".avi", ".mkv", ".webm", ".wmv", ".flv", ".3gp"];
|
|
13130
13130
|
function TM(e) {
|
|
13131
13131
|
try {
|
|
13132
13132
|
const t = new URL(e).pathname.toLowerCase();
|
|
@@ -13137,7 +13137,7 @@ function TM(e) {
|
|
|
13137
13137
|
}
|
|
13138
13138
|
var IM = J.object({ type: J.literal("rich-caption"), src: J.string().min(1).optional(), words: J.array(kM).max(1e5).optional(), font: _M.optional(), style: wM.optional(), stroke: Z6.optional(), shadow: j6.optional(), background: W6.optional(), border: L6.optional(), padding: $6.optional(), align: H6.optional(), active: SM.optional(), animation: EM.optional(), pauseThreshold: J.number().min(0).default(500).optional(), customFonts: J.array(V6).optional() }).superRefine((e, t) => {
|
|
13139
13139
|
!e.src && !e.words && t.addIssue({ code: J.ZodIssueCode.custom, message: "Either src or words must be provided", path: ["src"] }), e.src && TM(e.src) && t.addIssue({ code: J.ZodIssueCode.custom, message: 'Caption src must be an SRT or VTT subtitle file. To generate captions from a media asset, use an alias reference (e.g. "alias://my-clip") instead of a direct URL. See: https://shotstack.io/docs/guide/architecting-an-application/rich-captions/', path: ["src"] });
|
|
13140
|
-
}), Zh = IM, DM =
|
|
13140
|
+
}), Zh = IM, DM = a7;
|
|
13141
13141
|
function vr(e, t) {
|
|
13142
13142
|
return e === void 0 ? t : typeof e == "string" ? parseFloat(e) : e;
|
|
13143
13143
|
}
|
|
@@ -61680,7 +61680,7 @@ class uQ {
|
|
|
61680
61680
|
}
|
|
61681
61681
|
startPending(t, i) {
|
|
61682
61682
|
const r = this.stateManager.getClipAt(i.trackIndex, i.clipIndex);
|
|
61683
|
-
r && (this.
|
|
61683
|
+
r && (this.activePointerId = t.pointerId, this.state = sQ({ x: t.clientX, y: t.clientY }, i, r.config.start));
|
|
61684
61684
|
}
|
|
61685
61685
|
startResize(t, i, r) {
|
|
61686
61686
|
const n = this.stateManager.getClipAt(i.trackIndex, i.clipIndex);
|
|
@@ -61743,7 +61743,7 @@ class uQ {
|
|
|
61743
61743
|
}, o = s.getBoundingClientRect(), l = t.clientX - o.left, u = t.clientY - o.top;
|
|
61744
61744
|
s.style.position = "fixed", s.style.left = `${o.left}px`, s.style.top = `${o.top}px`, s.style.width = `${o.width}px`, s.style.height = `${o.height}px`, s.style.zIndex = "18", s.style.pointerEvents = "none";
|
|
61745
61745
|
const c = this.stateManager.getViewport().pixelsPerSecond, f = this.stateManager.getTracks()[r.trackIndex], d = n.config.asset?.type || "unknown", h = this.getHeights()[r.trackIndex] ?? Eo(f?.primaryAssetType ?? d), m = iQ(n.config.length, d, h, c);
|
|
61746
|
-
this.feedbackElements.container.appendChild(m), this.state = aQ(i, s, m, l, u, a, n.config.length, t.altKey);
|
|
61746
|
+
this.feedbackElements.container.appendChild(m), this.beginPointerInteraction(t), this.state = aQ(i, s, m, l, u, a, n.config.length, t.altKey);
|
|
61747
61747
|
const v = X0(this.feedbackElements.container, this.tracksContainer);
|
|
61748
61748
|
m.style.left = `${Ao(n.config.start, c)}px`, m.style.top = `${this.getTrackYPosition(r.trackIndex) + 4 + v}px`, this.buildSnapPointsForClip(r);
|
|
61749
61749
|
}
|