@salina-app/media-editor 0.1.12 → 0.1.13
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/index.js +280 -281
- package/dist/main.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as B from "react";
|
|
2
|
-
import Ye, { useState as kn, useCallback as ja, useEffect as
|
|
2
|
+
import Ye, { useState as kn, useCallback as ja, useEffect as On, forwardRef as Il, createElement as td, memo as Wu, useRef as Ti, createContext as Iv, useContext as za, useId as TX, Component as SX, useLayoutEffect as G8, useInsertionEffect as xX, useMemo as lr, Fragment as Y8, useImperativeHandle as wX } from "react";
|
|
3
3
|
import { jsx as z, Fragment as $s, jsxs as ht } from "react/jsx-runtime";
|
|
4
4
|
const CX = 1, EX = 1e6;
|
|
5
5
|
let wE = 0;
|
|
@@ -1853,7 +1853,7 @@ const nZ = (t) => {
|
|
|
1853
1853
|
S
|
|
1854
1854
|
]
|
|
1855
1855
|
);
|
|
1856
|
-
|
|
1856
|
+
On(() => (document.addEventListener("keydown", N), () => {
|
|
1857
1857
|
document.removeEventListener("keydown", N);
|
|
1858
1858
|
}), [N]);
|
|
1859
1859
|
}, s6 = "https://putulero-salina-api-staging.media-meter.in", Pu = "secret";
|
|
@@ -3973,17 +3973,29 @@ const Ou = /* @__PURE__ */ od(IJ), { GET: m3 } = MR(!1), NR = () => ({ getDirect
|
|
|
3973
3973
|
setThumbnails: h,
|
|
3974
3974
|
setVideoSrc: p
|
|
3975
3975
|
} = hv();
|
|
3976
|
-
|
|
3976
|
+
On(() => {
|
|
3977
3977
|
i && i.length ? c(i) : c([]);
|
|
3978
|
-
}, [i, c]),
|
|
3978
|
+
}, [i, c]), On(() => {
|
|
3979
3979
|
n && n.length ? a(n) : a([]);
|
|
3980
|
-
}, [n, a]),
|
|
3980
|
+
}, [n, a]), On(() => {
|
|
3981
3981
|
l(e || "");
|
|
3982
|
-
}, [e, l]),
|
|
3982
|
+
}, [e, l]), On(() => {
|
|
3983
3983
|
r && r.length ? h(r) : h([]);
|
|
3984
|
-
}, [r, h]),
|
|
3984
|
+
}, [r, h]), On(() => {
|
|
3985
3985
|
p(t || "");
|
|
3986
3986
|
}, [t, p]);
|
|
3987
|
+
}, _x = () => {
|
|
3988
|
+
const t = Ii((n) => n.playerRef);
|
|
3989
|
+
return {
|
|
3990
|
+
jumpTime: ({
|
|
3991
|
+
time: n,
|
|
3992
|
+
playVideo: r,
|
|
3993
|
+
pauseVideo: i
|
|
3994
|
+
}) => {
|
|
3995
|
+
t.player_ && (t.currentTime(n), r && t.play(), i && t.pause());
|
|
3996
|
+
}
|
|
3997
|
+
// handleMoveTime,
|
|
3998
|
+
};
|
|
3987
3999
|
}, LJ = {
|
|
3988
4000
|
isOpen: !1,
|
|
3989
4001
|
title: "",
|
|
@@ -3991,7 +4003,7 @@ const Ou = /* @__PURE__ */ od(IJ), { GET: m3 } = MR(!1), NR = () => ({ getDirect
|
|
|
3991
4003
|
variant: "default",
|
|
3992
4004
|
onConfirm: () => {
|
|
3993
4005
|
}
|
|
3994
|
-
},
|
|
4006
|
+
}, Tx = ma()((t) => ({
|
|
3995
4007
|
alertDialog: LJ,
|
|
3996
4008
|
setAlertDialog: (e) => t({ alertDialog: e })
|
|
3997
4009
|
})), BR = ma()((t) => ({
|
|
@@ -4006,10 +4018,10 @@ const Ou = /* @__PURE__ */ od(IJ), { GET: m3 } = MR(!1), NR = () => ({ getDirect
|
|
|
4006
4018
|
setMergingInfo: (e) => t({ mergingInfo: e }),
|
|
4007
4019
|
mergedSelectedInfo: null,
|
|
4008
4020
|
setMergedSelectedInfo: (e) => t({ mergedSelectedInfo: e })
|
|
4009
|
-
})),
|
|
4021
|
+
})), Sx = ma()((t) => ({
|
|
4010
4022
|
selectedHighlightOption: "option1",
|
|
4011
4023
|
setSelectedHighlightOption: (e) => t({ selectedHighlightOption: e })
|
|
4012
|
-
})), v3 = 7,
|
|
4024
|
+
})), v3 = 7, xx = ma()((t) => ({
|
|
4013
4025
|
showTimeline: !1,
|
|
4014
4026
|
setShowTimeline: (e) => t({ showTimeline: e }),
|
|
4015
4027
|
zoomSize: v3,
|
|
@@ -4024,7 +4036,7 @@ const Ou = /* @__PURE__ */ od(IJ), { GET: m3 } = MR(!1), NR = () => ({ getDirect
|
|
|
4024
4036
|
videoLink: "",
|
|
4025
4037
|
trimmed: !1,
|
|
4026
4038
|
fileType: "raw"
|
|
4027
|
-
},
|
|
4039
|
+
}, wx = ma()((t) => ({
|
|
4028
4040
|
videoMetadata: y3,
|
|
4029
4041
|
setVideoMetadata: (e) => t({ videoMetadata: e }),
|
|
4030
4042
|
resetVideoMetaData: () => t({ videoMetadata: y3 })
|
|
@@ -4494,7 +4506,7 @@ function VJ() {
|
|
|
4494
4506
|
}
|
|
4495
4507
|
lt > 0 ? bn = Math.floor(1e3 / lt) : bn = r;
|
|
4496
4508
|
}
|
|
4497
|
-
var
|
|
4509
|
+
var Pn = function() {
|
|
4498
4510
|
if (en !== null) {
|
|
4499
4511
|
var lt = t.unstable_now();
|
|
4500
4512
|
sn = lt;
|
|
@@ -4509,16 +4521,16 @@ function VJ() {
|
|
|
4509
4521
|
}, Tn;
|
|
4510
4522
|
if (typeof te == "function")
|
|
4511
4523
|
Tn = function() {
|
|
4512
|
-
te(
|
|
4524
|
+
te(Pn);
|
|
4513
4525
|
};
|
|
4514
4526
|
else if (typeof MessageChannel < "u") {
|
|
4515
4527
|
var cr = new MessageChannel(), qr = cr.port2;
|
|
4516
|
-
cr.port1.onmessage =
|
|
4528
|
+
cr.port1.onmessage = Pn, Tn = function() {
|
|
4517
4529
|
qr.postMessage(null);
|
|
4518
4530
|
};
|
|
4519
4531
|
} else
|
|
4520
4532
|
Tn = function() {
|
|
4521
|
-
oe(
|
|
4533
|
+
oe(Pn, 0);
|
|
4522
4534
|
};
|
|
4523
4535
|
function di(lt) {
|
|
4524
4536
|
en = lt, Ct || (Ct = !0, Tn());
|
|
@@ -4926,7 +4938,7 @@ function $J() {
|
|
|
4926
4938
|
d !== null && (d.selected = !0);
|
|
4927
4939
|
}
|
|
4928
4940
|
}
|
|
4929
|
-
function
|
|
4941
|
+
function Pn(u, d) {
|
|
4930
4942
|
if (d.dangerouslySetInnerHTML != null) throw Error(n(91));
|
|
4931
4943
|
return te({}, d, { value: void 0, defaultValue: void 0, children: "" + u._wrapperState.initialValue });
|
|
4932
4944
|
}
|
|
@@ -7694,7 +7706,7 @@ Error generating stack: ` + U.message + `
|
|
|
7694
7706
|
O = te({}, O, { value: void 0 }), x = te({}, x, { value: void 0 }), U = [];
|
|
7695
7707
|
break;
|
|
7696
7708
|
case "textarea":
|
|
7697
|
-
O =
|
|
7709
|
+
O = Pn(u, O), x = Pn(u, x), U = [];
|
|
7698
7710
|
break;
|
|
7699
7711
|
default:
|
|
7700
7712
|
typeof O.onClick != "function" && typeof x.onClick == "function" && (u.onclick = yc);
|
|
@@ -7873,7 +7885,7 @@ Error generating stack: ` + U.message + `
|
|
|
7873
7885
|
u._wrapperState = { wasMultiple: !!x.multiple }, O = te({}, x, { value: void 0 }), Bn("invalid", u);
|
|
7874
7886
|
break;
|
|
7875
7887
|
case "textarea":
|
|
7876
|
-
Tn(u, x), O =
|
|
7888
|
+
Tn(u, x), O = Pn(u, x), Bn("invalid", u);
|
|
7877
7889
|
break;
|
|
7878
7890
|
default:
|
|
7879
7891
|
O = x;
|
|
@@ -9793,7 +9805,7 @@ function jJ() {
|
|
|
9793
9805
|
if (qt(s))
|
|
9794
9806
|
return l("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", o, en(s)), bn(s);
|
|
9795
9807
|
}
|
|
9796
|
-
function
|
|
9808
|
+
function Pn(s) {
|
|
9797
9809
|
if (qt(s))
|
|
9798
9810
|
return l("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", en(s)), bn(s);
|
|
9799
9811
|
}
|
|
@@ -14573,7 +14585,7 @@ Check the render method of \`` + s + "`." : "";
|
|
|
14573
14585
|
};
|
|
14574
14586
|
var tq = /\r\n?/g, nq = /\u0000|\uFFFD/g;
|
|
14575
14587
|
function s_(s) {
|
|
14576
|
-
|
|
14588
|
+
Pn(s);
|
|
14577
14589
|
var o = typeof s == "string" ? s : "" + s;
|
|
14578
14590
|
return o.replace(tq, `
|
|
14579
14591
|
`).replace(nq, "");
|
|
@@ -23399,7 +23411,7 @@ var XJ = "DismissableLayer", dA = "dismissableLayer.update", QJ = "dismissableLa
|
|
|
23399
23411
|
layers: /* @__PURE__ */ new Set(),
|
|
23400
23412
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
23401
23413
|
branches: /* @__PURE__ */ new Set()
|
|
23402
|
-
}),
|
|
23414
|
+
}), Cx = B.forwardRef(
|
|
23403
23415
|
(t, e) => {
|
|
23404
23416
|
const {
|
|
23405
23417
|
disableOutsidePointerEvents: n = !1,
|
|
@@ -23447,7 +23459,7 @@ var XJ = "DismissableLayer", dA = "dismissableLayer.update", QJ = "dismissableLa
|
|
|
23447
23459
|
);
|
|
23448
23460
|
}
|
|
23449
23461
|
);
|
|
23450
|
-
|
|
23462
|
+
Cx.displayName = XJ;
|
|
23451
23463
|
var JJ = "DismissableLayerBranch", V6 = B.forwardRef((t, e) => {
|
|
23452
23464
|
const n = B.useContext(U6), r = B.useRef(null), i = Wn(e, r);
|
|
23453
23465
|
return B.useEffect(() => {
|
|
@@ -23511,7 +23523,7 @@ function $6(t, e, n, { discrete: r }) {
|
|
|
23511
23523
|
const i = n.originalEvent.target, a = new CustomEvent(t, { bubbles: !1, cancelable: !0, detail: n });
|
|
23512
23524
|
e && i.addEventListener(t, e, { once: !0 }), r ? $R(i, a) : i.dispatchEvent(a);
|
|
23513
23525
|
}
|
|
23514
|
-
var nee =
|
|
23526
|
+
var nee = Cx, ree = V6, js = globalThis != null && globalThis.document ? B.useLayoutEffect : () => {
|
|
23515
23527
|
}, iee = "Portal", qb = B.forwardRef((t, e) => {
|
|
23516
23528
|
var c;
|
|
23517
23529
|
const { container: n, ...r } = t, [i, a] = B.useState(!1);
|
|
@@ -23636,7 +23648,7 @@ var uee = "VisuallyHidden", Wb = B.forwardRef(
|
|
|
23636
23648
|
)
|
|
23637
23649
|
);
|
|
23638
23650
|
Wb.displayName = uee;
|
|
23639
|
-
var cee = Wb, jR = "ToastProvider", [HR, dee, fee] = F6("Toast"), [j6, o_e] = Hf("Toast", [fee]), [hee,
|
|
23651
|
+
var cee = Wb, jR = "ToastProvider", [HR, dee, fee] = F6("Toast"), [j6, o_e] = Hf("Toast", [fee]), [hee, Ex] = j6(jR), H6 = (t) => {
|
|
23640
23652
|
const {
|
|
23641
23653
|
__scopeToast: e,
|
|
23642
23654
|
label: n = "Notification",
|
|
@@ -23674,7 +23686,7 @@ var z6 = "ToastViewport", pee = ["F8"], fA = "toast.viewportPause", hA = "toast.
|
|
|
23674
23686
|
hotkey: r = pee,
|
|
23675
23687
|
label: i = "Notifications ({hotkey})",
|
|
23676
23688
|
...a
|
|
23677
|
-
} = t, l =
|
|
23689
|
+
} = t, l = Ex(z6, n), c = dee(n), h = B.useRef(null), p = B.useRef(null), m = B.useRef(null), b = B.useRef(null), w = Wn(e, b, l.onViewportChange), S = r.join("+").replace(/Key/g, "").replace(/Digit/g, ""), A = l.toastCount > 0;
|
|
23678
23690
|
B.useEffect(() => {
|
|
23679
23691
|
const D = (P) => {
|
|
23680
23692
|
var M;
|
|
@@ -23774,7 +23786,7 @@ var z6 = "ToastViewport", pee = ["F8"], fA = "toast.viewportPause", hA = "toast.
|
|
|
23774
23786
|
q6.displayName = z6;
|
|
23775
23787
|
var W6 = "ToastFocusProxy", pA = B.forwardRef(
|
|
23776
23788
|
(t, e) => {
|
|
23777
|
-
const { __scopeToast: n, onFocusFromOutsideViewport: r, ...i } = t, a =
|
|
23789
|
+
const { __scopeToast: n, onFocusFromOutsideViewport: r, ...i } = t, a = Ex(W6, n);
|
|
23778
23790
|
return /* @__PURE__ */ z(
|
|
23779
23791
|
Wb,
|
|
23780
23792
|
{
|
|
@@ -23793,7 +23805,7 @@ var W6 = "ToastFocusProxy", pA = B.forwardRef(
|
|
|
23793
23805
|
}
|
|
23794
23806
|
);
|
|
23795
23807
|
pA.displayName = W6;
|
|
23796
|
-
var
|
|
23808
|
+
var Dx = "Toast", mee = "toast.swipeStart", gee = "toast.swipeMove", vee = "toast.swipeCancel", yee = "toast.swipeEnd", G6 = B.forwardRef(
|
|
23797
23809
|
(t, e) => {
|
|
23798
23810
|
const { forceMount: n, open: r, defaultOpen: i, onOpenChange: a, ...l } = t, [c = !0, h] = mv({
|
|
23799
23811
|
prop: r,
|
|
@@ -23827,8 +23839,8 @@ var Ex = "Toast", mee = "toast.swipeStart", gee = "toast.swipeMove", vee = "toas
|
|
|
23827
23839
|
) });
|
|
23828
23840
|
}
|
|
23829
23841
|
);
|
|
23830
|
-
G6.displayName =
|
|
23831
|
-
var [bee, _ee] = j6(
|
|
23842
|
+
G6.displayName = Dx;
|
|
23843
|
+
var [bee, _ee] = j6(Dx, {
|
|
23832
23844
|
onClose() {
|
|
23833
23845
|
}
|
|
23834
23846
|
}), Tee = B.forwardRef(
|
|
@@ -23847,7 +23859,7 @@ var [bee, _ee] = j6(Ex, {
|
|
|
23847
23859
|
onSwipeCancel: w,
|
|
23848
23860
|
onSwipeEnd: S,
|
|
23849
23861
|
...A
|
|
23850
|
-
} = t, T =
|
|
23862
|
+
} = t, T = Ex(Dx, n), [D, P] = B.useState(null), N = Wn(e, (le) => P(le)), M = B.useRef(null), j = B.useRef(null), F = i || T.duration, H = B.useRef(0), K = B.useRef(F), Z = B.useRef(0), { onToastAdd: q, onToastRemove: W } = T, se = pa(() => {
|
|
23851
23863
|
var _e;
|
|
23852
23864
|
(D == null ? void 0 : D.contains(document.activeElement)) && ((_e = T.viewport) == null || _e.focus()), l();
|
|
23853
23865
|
}), ae = B.useCallback(
|
|
@@ -23946,7 +23958,7 @@ var [bee, _ee] = j6(Ex, {
|
|
|
23946
23958
|
] }) : null;
|
|
23947
23959
|
}
|
|
23948
23960
|
), See = (t) => {
|
|
23949
|
-
const { __scopeToast: e, children: n, ...r } = t, i =
|
|
23961
|
+
const { __scopeToast: e, children: n, ...r } = t, i = Ex(Dx, e), [a, l] = B.useState(!1), [c, h] = B.useState(!1);
|
|
23950
23962
|
return Cee(() => l(!0)), B.useEffect(() => {
|
|
23951
23963
|
const p = window.setTimeout(() => h(!0), 1e3);
|
|
23952
23964
|
return () => window.clearTimeout(p);
|
|
@@ -26539,7 +26551,7 @@ function Ote(...t) {
|
|
|
26539
26551
|
}
|
|
26540
26552
|
var Mte = (t) => {
|
|
26541
26553
|
var e, n, r, i, a, l, c, h, p, m, b;
|
|
26542
|
-
let { invert: w, toast: S, unstyled: A, interacting: T, setHeights: D, visibleToasts: P, heights: N, index: M, toasts: j, expanded: F, removeToast: H, defaultRichColors: K, closeButton: Z, style: q, cancelButtonStyle: W, actionButtonStyle: se, className: ae = "", descriptionClassName: pe = "", duration: le, position: _e, gap: ve, loadingIcon: he, expandByDefault: oe, classNames: re, icons: te, closeButtonAriaLabel: ce = "Close toast", pauseWhenPageIsHidden: we, cn: Oe } = t, [Me, je] = Ye.useState(!1), [Je, Ne] = Ye.useState(!1), [Ge, et] = Ye.useState(!1), [Ze, qe] = Ye.useState(!1), [Pe, ft] = Ye.useState(!1), [Ct, en] = Ye.useState(0), [qt, bn] = Ye.useState(0), sn = Ye.useRef(S.duration || le || M3), _n = Ye.useRef(null), Bt = Ye.useRef(null), Qt = M === 0,
|
|
26554
|
+
let { invert: w, toast: S, unstyled: A, interacting: T, setHeights: D, visibleToasts: P, heights: N, index: M, toasts: j, expanded: F, removeToast: H, defaultRichColors: K, closeButton: Z, style: q, cancelButtonStyle: W, actionButtonStyle: se, className: ae = "", descriptionClassName: pe = "", duration: le, position: _e, gap: ve, loadingIcon: he, expandByDefault: oe, classNames: re, icons: te, closeButtonAriaLabel: ce = "Close toast", pauseWhenPageIsHidden: we, cn: Oe } = t, [Me, je] = Ye.useState(!1), [Je, Ne] = Ye.useState(!1), [Ge, et] = Ye.useState(!1), [Ze, qe] = Ye.useState(!1), [Pe, ft] = Ye.useState(!1), [Ct, en] = Ye.useState(0), [qt, bn] = Ye.useState(0), sn = Ye.useRef(S.duration || le || M3), _n = Ye.useRef(null), Bt = Ye.useRef(null), Qt = M === 0, Pn = M + 1 <= P, Tn = S.type, cr = S.dismissible !== !1, qr = S.className || "", di = S.descriptionClassName || "", Ln = Ye.useMemo(() => N.findIndex((Y) => Y.toastId === S.id) || 0, [N, S.id]), Wr = Ye.useMemo(() => {
|
|
26543
26555
|
var Y;
|
|
26544
26556
|
return (Y = S.closeButton) != null ? Y : Z;
|
|
26545
26557
|
}, [S.closeButton, Z]);
|
|
@@ -26585,7 +26597,7 @@ var Mte = (t) => {
|
|
|
26585
26597
|
var Y, Q, me;
|
|
26586
26598
|
return te != null && te.loading ? Ye.createElement("div", { className: Oe(re == null ? void 0 : re.loader, (Y = S == null ? void 0 : S.classNames) == null ? void 0 : Y.loader, "sonner-loader"), "data-visible": Tn === "loading" }, te.loading) : he ? Ye.createElement("div", { className: Oe(re == null ? void 0 : re.loader, (Q = S == null ? void 0 : S.classNames) == null ? void 0 : Q.loader, "sonner-loader"), "data-visible": Tn === "loading" }, he) : Ye.createElement(fte, { className: Oe(re == null ? void 0 : re.loader, (me = S == null ? void 0 : S.classNames) == null ? void 0 : me.loader), visible: Tn === "loading" });
|
|
26587
26599
|
}
|
|
26588
|
-
return Ye.createElement("li", { tabIndex: 0, ref: Bt, className: Oe(ae, qr, re == null ? void 0 : re.toast, (e = S == null ? void 0 : S.classNames) == null ? void 0 : e.toast, re == null ? void 0 : re.default, re == null ? void 0 : re[Tn], (n = S == null ? void 0 : S.classNames) == null ? void 0 : n[Tn]), "data-sonner-toast": "", "data-rich-colors": (r = S.richColors) != null ? r : K, "data-styled": !(S.jsx || S.unstyled || A), "data-mounted": Me, "data-promise": !!S.promise, "data-swiped": Pe, "data-removed": Je, "data-visible":
|
|
26600
|
+
return Ye.createElement("li", { tabIndex: 0, ref: Bt, className: Oe(ae, qr, re == null ? void 0 : re.toast, (e = S == null ? void 0 : S.classNames) == null ? void 0 : e.toast, re == null ? void 0 : re.default, re == null ? void 0 : re[Tn], (n = S == null ? void 0 : S.classNames) == null ? void 0 : n[Tn]), "data-sonner-toast": "", "data-rich-colors": (r = S.richColors) != null ? r : K, "data-styled": !(S.jsx || S.unstyled || A), "data-mounted": Me, "data-promise": !!S.promise, "data-swiped": Pe, "data-removed": Je, "data-visible": Pn, "data-y-position": Yt, "data-x-position": dn, "data-index": M, "data-front": Qt, "data-swiping": Ge, "data-dismissible": cr, "data-type": Tn, "data-invert": Mn, "data-swipe-out": Ze, "data-expanded": !!(F || oe && Me), style: { "--index": M, "--toasts-before": M, "--z-index": j.length - M, "--offset": `${Je ? Ct : vr.current}px`, "--initial-height": oe ? "auto" : `${qt}px`, ...q, ...S.style }, onPointerDown: (Y) => {
|
|
26589
26601
|
Pr || !cr || (_n.current = /* @__PURE__ */ new Date(), en(vr.current), Y.target.setPointerCapture(Y.pointerId), Y.target.tagName !== "BUTTON" && (et(!0), ot.current = { x: Y.clientX, y: Y.clientY }));
|
|
26590
26602
|
}, onPointerUp: () => {
|
|
26591
26603
|
var Y, Q, me, Ee;
|
|
@@ -26981,7 +26993,7 @@ function CF(t, e) {
|
|
|
26981
26993
|
return t.useMedium(e), wF;
|
|
26982
26994
|
}
|
|
26983
26995
|
var EF = xF(), $E = function() {
|
|
26984
|
-
},
|
|
26996
|
+
}, Ax = B.forwardRef(function(t, e) {
|
|
26985
26997
|
var n = B.useRef(null), r = B.useState({
|
|
26986
26998
|
onScrollCapture: $E,
|
|
26987
26999
|
onWheelCapture: $E,
|
|
@@ -26994,12 +27006,12 @@ var EF = xF(), $E = function() {
|
|
|
26994
27006
|
l ? B.cloneElement(B.Children.only(c), Is(Is({}, H), { ref: F })) : B.createElement(P, Is({}, H, { className: h, ref: F }), c)
|
|
26995
27007
|
);
|
|
26996
27008
|
});
|
|
26997
|
-
|
|
27009
|
+
Ax.defaultProps = {
|
|
26998
27010
|
enabled: !0,
|
|
26999
27011
|
removeScrollBar: !0,
|
|
27000
27012
|
inert: !1
|
|
27001
27013
|
};
|
|
27002
|
-
|
|
27014
|
+
Ax.classNames = {
|
|
27003
27015
|
fullWidth: hb,
|
|
27004
27016
|
zeroRight: fb
|
|
27005
27017
|
};
|
|
@@ -27302,9 +27314,9 @@ function yne(t) {
|
|
|
27302
27314
|
}
|
|
27303
27315
|
const bne = CF(EF, vne);
|
|
27304
27316
|
var PF = B.forwardRef(function(t, e) {
|
|
27305
|
-
return B.createElement(
|
|
27317
|
+
return B.createElement(Ax, Is({}, t, { ref: e, sideCar: bne }));
|
|
27306
27318
|
});
|
|
27307
|
-
PF.classNames =
|
|
27319
|
+
PF.classNames = Ax.classNames;
|
|
27308
27320
|
var _ne = function(t) {
|
|
27309
27321
|
if (typeof document > "u")
|
|
27310
27322
|
return null;
|
|
@@ -27505,7 +27517,7 @@ var Ene = B.forwardRef(
|
|
|
27505
27517
|
onMountAutoFocus: i,
|
|
27506
27518
|
onUnmountAutoFocus: a,
|
|
27507
27519
|
children: /* @__PURE__ */ z(
|
|
27508
|
-
|
|
27520
|
+
Cx,
|
|
27509
27521
|
{
|
|
27510
27522
|
role: "dialog",
|
|
27511
27523
|
id: c.contentId,
|
|
@@ -27795,7 +27807,7 @@ function yB(t) {
|
|
|
27795
27807
|
}
|
|
27796
27808
|
return e;
|
|
27797
27809
|
}
|
|
27798
|
-
const bB = /^[a-z0-9]+(-[a-z0-9]+)*$/,
|
|
27810
|
+
const bB = /^[a-z0-9]+(-[a-z0-9]+)*$/, Rx = (t, e, n, r = "") => {
|
|
27799
27811
|
const i = t.split(":");
|
|
27800
27812
|
if (t.slice(0, 1) === "@") {
|
|
27801
27813
|
if (i.length < 2 || i.length > 3)
|
|
@@ -27864,14 +27876,14 @@ function TB(t) {
|
|
|
27864
27876
|
return typeof t == "boolean" && (Db = t), Db;
|
|
27865
27877
|
}
|
|
27866
27878
|
function G3(t) {
|
|
27867
|
-
const e = typeof t == "string" ?
|
|
27879
|
+
const e = typeof t == "string" ? Rx(t, !0, Db) : t;
|
|
27868
27880
|
if (e) {
|
|
27869
27881
|
const n = gv(e.provider, e.prefix), r = e.name;
|
|
27870
27882
|
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
|
27871
27883
|
}
|
|
27872
27884
|
}
|
|
27873
27885
|
function Xne(t, e) {
|
|
27874
|
-
const n =
|
|
27886
|
+
const n = Rx(t, !0, Db);
|
|
27875
27887
|
if (!n)
|
|
27876
27888
|
return !1;
|
|
27877
27889
|
const r = gv(n.provider, n.prefix);
|
|
@@ -28274,7 +28286,7 @@ function Tre(t, e, n) {
|
|
|
28274
28286
|
function Sre(t, e = !0, n = !1) {
|
|
28275
28287
|
const r = [];
|
|
28276
28288
|
return t.forEach((i) => {
|
|
28277
|
-
const a = typeof i == "string" ?
|
|
28289
|
+
const a = typeof i == "string" ? Rx(i, e, n) : i;
|
|
28278
28290
|
a && r.push(a);
|
|
28279
28291
|
}), r;
|
|
28280
28292
|
}
|
|
@@ -28692,7 +28704,7 @@ const qre = (t, e, n) => {
|
|
|
28692
28704
|
...a === "svg" ? jre : {}
|
|
28693
28705
|
};
|
|
28694
28706
|
if (n) {
|
|
28695
|
-
const D =
|
|
28707
|
+
const D = Rx(n, !1, !0);
|
|
28696
28708
|
if (D) {
|
|
28697
28709
|
const P = ["iconify"], N = [
|
|
28698
28710
|
"provider",
|
|
@@ -28862,7 +28874,7 @@ function AB(t) {
|
|
|
28862
28874
|
});
|
|
28863
28875
|
} else T && ((S = t.onLoad) === null || S === void 0 || S.call(t, A));
|
|
28864
28876
|
}
|
|
28865
|
-
|
|
28877
|
+
On(() => (n(!0), h), []), On(() => {
|
|
28866
28878
|
e && m();
|
|
28867
28879
|
}, [t.icon, e]);
|
|
28868
28880
|
const { name: b, data: w } = l;
|
|
@@ -29202,7 +29214,7 @@ function $B(t) {
|
|
|
29202
29214
|
return Vv({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 0 0-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 0 1 655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 0 1 279 755.2a342.16 342.16 0 0 1-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 0 1 109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 0 0 3 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" }, child: [] }] })(t);
|
|
29203
29215
|
}
|
|
29204
29216
|
const d_e = () => {
|
|
29205
|
-
const { alertDialog: t, setAlertDialog: e } =
|
|
29217
|
+
const { alertDialog: t, setAlertDialog: e } = Tx();
|
|
29206
29218
|
return /* @__PURE__ */ z(
|
|
29207
29219
|
Yre,
|
|
29208
29220
|
{
|
|
@@ -29291,13 +29303,13 @@ const d_e = () => {
|
|
|
29291
29303
|
<path d="M9.16667 7.91406V9.9974C9.20625 10.4761 8.83617 10.8506 8.33333 10.8307H6.25M5 6.66406L8.33333 9.9974" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
29292
29304
|
</svg>`;
|
|
29293
29305
|
var WE, s4;
|
|
29294
|
-
function
|
|
29306
|
+
function kx() {
|
|
29295
29307
|
if (s4) return WE;
|
|
29296
29308
|
s4 = 1;
|
|
29297
29309
|
var t;
|
|
29298
29310
|
return typeof window < "u" ? t = window : typeof wS < "u" ? t = wS : typeof self < "u" ? t = self : t = {}, WE = t, WE;
|
|
29299
29311
|
}
|
|
29300
|
-
var fie =
|
|
29312
|
+
var fie = kx();
|
|
29301
29313
|
const de = /* @__PURE__ */ od(fie), hie = {}, pie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
29302
29314
|
__proto__: null,
|
|
29303
29315
|
default: hie
|
|
@@ -29481,7 +29493,7 @@ var ZE, d4;
|
|
|
29481
29493
|
function Tie() {
|
|
29482
29494
|
if (d4) return ZE;
|
|
29483
29495
|
d4 = 1;
|
|
29484
|
-
var t =
|
|
29496
|
+
var t = kx(), e = function(i, a) {
|
|
29485
29497
|
return a === void 0 && (a = !1), function(l, c, h) {
|
|
29486
29498
|
if (l) {
|
|
29487
29499
|
i(l);
|
|
@@ -29518,7 +29530,7 @@ var f4;
|
|
|
29518
29530
|
function Sie() {
|
|
29519
29531
|
if (f4) return BT.exports;
|
|
29520
29532
|
f4 = 1;
|
|
29521
|
-
var t =
|
|
29533
|
+
var t = kx(), e = vie(), n = yie(), r = bie(), i = _ie();
|
|
29522
29534
|
p.httpHandler = Tie(), p.requestInterceptorsStorage = new r(), p.responseInterceptorsStorage = new r(), p.retryManager = new i();
|
|
29523
29535
|
/**
|
|
29524
29536
|
* @license
|
|
@@ -30759,7 +30771,7 @@ var g4;
|
|
|
30759
30771
|
function Die() {
|
|
30760
30772
|
if (g4) return JE.exports;
|
|
30761
30773
|
g4 = 1;
|
|
30762
|
-
var t =
|
|
30774
|
+
var t = kx(), e = JE.exports = {
|
|
30763
30775
|
WebVTT: wie(),
|
|
30764
30776
|
VTTCue: Cie(),
|
|
30765
30777
|
VTTRegion: Eie()
|
|
@@ -31933,7 +31945,7 @@ function ese(t) {
|
|
|
31933
31945
|
return n;
|
|
31934
31946
|
}
|
|
31935
31947
|
var Xy = {}, Xc = {}, up = {}, C4;
|
|
31936
|
-
function
|
|
31948
|
+
function Px() {
|
|
31937
31949
|
if (C4) return up;
|
|
31938
31950
|
C4 = 1;
|
|
31939
31951
|
function t(a, l, c) {
|
|
@@ -32055,7 +32067,7 @@ var E4;
|
|
|
32055
32067
|
function KB() {
|
|
32056
32068
|
if (E4) return Xc;
|
|
32057
32069
|
E4 = 1;
|
|
32058
|
-
var t =
|
|
32070
|
+
var t = Px(), e = t.find, n = t.NAMESPACE;
|
|
32059
32071
|
function r(Y) {
|
|
32060
32072
|
return Y !== "";
|
|
32061
32073
|
}
|
|
@@ -32659,7 +32671,7 @@ function KB() {
|
|
|
32659
32671
|
return me.ownerDocument = this, me.tagName = me.nodeName = me.target = Y, me.nodeValue = me.data = Q, me;
|
|
32660
32672
|
},
|
|
32661
32673
|
createAttribute: function(Y) {
|
|
32662
|
-
var Q = new
|
|
32674
|
+
var Q = new Pn();
|
|
32663
32675
|
return Q.ownerDocument = this, Q.name = Y, Q.nodeName = Y, Q.localName = Y, Q.specified = !0, Q;
|
|
32664
32676
|
},
|
|
32665
32677
|
createEntityReference: function(Y) {
|
|
@@ -32673,7 +32685,7 @@ function KB() {
|
|
|
32673
32685
|
},
|
|
32674
32686
|
// Introduced in DOM Level 2:
|
|
32675
32687
|
createAttributeNS: function(Y, Q) {
|
|
32676
|
-
var me = new
|
|
32688
|
+
var me = new Pn(), Ee = Q.split(":");
|
|
32677
32689
|
return me.ownerDocument = this, me.nodeName = Q, me.name = Q, me.namespaceURI = Y, me.specified = !0, Ee.length == 2 ? (me.prefix = Ee[0], me.localName = Ee[1]) : me.localName = Q, me;
|
|
32678
32690
|
}
|
|
32679
32691
|
}, p(Me, ce);
|
|
@@ -32749,9 +32761,9 @@ function KB() {
|
|
|
32749
32761
|
});
|
|
32750
32762
|
}
|
|
32751
32763
|
}, Me.prototype.getElementsByTagName = Qt.prototype.getElementsByTagName, Me.prototype.getElementsByTagNameNS = Qt.prototype.getElementsByTagNameNS, p(Qt, ce);
|
|
32752
|
-
function
|
|
32764
|
+
function Pn() {
|
|
32753
32765
|
}
|
|
32754
|
-
|
|
32766
|
+
Pn.prototype.nodeType = w, p(Pn, ce);
|
|
32755
32767
|
function Tn() {
|
|
32756
32768
|
}
|
|
32757
32769
|
Tn.prototype = {
|
|
@@ -33041,7 +33053,7 @@ function KB() {
|
|
|
33041
33053
|
var Qy = {}, oD = {}, D4;
|
|
33042
33054
|
function tse() {
|
|
33043
33055
|
return D4 || (D4 = 1, function(t) {
|
|
33044
|
-
var e =
|
|
33056
|
+
var e = Px().freeze;
|
|
33045
33057
|
t.XML_ENTITIES = e({
|
|
33046
33058
|
amp: "&",
|
|
33047
33059
|
apos: "'",
|
|
@@ -35182,7 +35194,7 @@ var UT = {}, A4;
|
|
|
35182
35194
|
function nse() {
|
|
35183
35195
|
if (A4) return UT;
|
|
35184
35196
|
A4 = 1;
|
|
35185
|
-
var t =
|
|
35197
|
+
var t = Px().NAMESPACE, e = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, n = new RegExp("[\\-\\.0-9" + e.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"), r = new RegExp("^" + e.source + n.source + "*(?::" + e.source + n.source + "*)?$"), i = 0, a = 1, l = 2, c = 3, h = 4, p = 5, m = 6, b = 7;
|
|
35186
35198
|
function w(q, W) {
|
|
35187
35199
|
this.message = q, this.locator = W, Error.captureStackTrace && Error.captureStackTrace(this, w);
|
|
35188
35200
|
}
|
|
@@ -35205,24 +35217,24 @@ function nse() {
|
|
|
35205
35217
|
function le(Qt) {
|
|
35206
35218
|
if (Qt > 65535) {
|
|
35207
35219
|
Qt -= 65536;
|
|
35208
|
-
var
|
|
35209
|
-
return String.fromCharCode(
|
|
35220
|
+
var Pn = 55296 + (Qt >> 10), Tn = 56320 + (Qt & 1023);
|
|
35221
|
+
return String.fromCharCode(Pn, Tn);
|
|
35210
35222
|
} else
|
|
35211
35223
|
return String.fromCharCode(Qt);
|
|
35212
35224
|
}
|
|
35213
35225
|
function _e(Qt) {
|
|
35214
|
-
var
|
|
35215
|
-
return Object.hasOwnProperty.call(se,
|
|
35226
|
+
var Pn = Qt.slice(1, -1);
|
|
35227
|
+
return Object.hasOwnProperty.call(se, Pn) ? se[Pn] : Pn.charAt(0) === "#" ? le(parseInt(Pn.substr(1).replace("x", "0x"))) : (pe.error("entity not found:" + Qt), Qt);
|
|
35216
35228
|
}
|
|
35217
35229
|
function ve(Qt) {
|
|
35218
35230
|
if (Qt > Me) {
|
|
35219
|
-
var
|
|
35220
|
-
ce && he(Me), ae.characters(
|
|
35231
|
+
var Pn = q.substring(Me, Qt).replace(/&#?\w+;/g, _e);
|
|
35232
|
+
ce && he(Me), ae.characters(Pn, 0, Qt - Me), Me = Qt;
|
|
35221
35233
|
}
|
|
35222
35234
|
}
|
|
35223
|
-
function he(Qt,
|
|
35224
|
-
for (; Qt >= re && (
|
|
35225
|
-
oe =
|
|
35235
|
+
function he(Qt, Pn) {
|
|
35236
|
+
for (; Qt >= re && (Pn = te.exec(q)); )
|
|
35237
|
+
oe = Pn.index, re = oe + Pn[0].length, ce.lineNumber++;
|
|
35226
35238
|
ce.columnNumber = Qt - oe + 1;
|
|
35227
35239
|
}
|
|
35228
35240
|
for (var oe = 0, re = 0, te = /.*(?:\r\n?|\n)|.*$/g, ce = ae.locator, we = [{ currentNSMap: W }], Oe = {}, Me = 0; ; ) {
|
|
@@ -35522,7 +35534,7 @@ var R4;
|
|
|
35522
35534
|
function rse() {
|
|
35523
35535
|
if (R4) return Qy;
|
|
35524
35536
|
R4 = 1;
|
|
35525
|
-
var t =
|
|
35537
|
+
var t = Px(), e = KB(), n = tse(), r = nse(), i = e.DOMImplementation, a = t.NAMESPACE, l = r.ParseError, c = r.XMLReader;
|
|
35526
35538
|
function h(D) {
|
|
35527
35539
|
return D.replace(/\r[\n\u0085]/g, `
|
|
35528
35540
|
`).replace(/[\r\u0085\u2028]/g, `
|
|
@@ -35908,7 +35920,7 @@ const Rb = ({
|
|
|
35908
35920
|
newPlaylists: r,
|
|
35909
35921
|
timelineStarts: e.timelineStarts
|
|
35910
35922
|
}), e;
|
|
35911
|
-
},
|
|
35923
|
+
}, Ox = (t) => t && t.uri + "-" + use(t.byterange), lD = (t) => {
|
|
35912
35924
|
const e = t.reduce(function(r, i) {
|
|
35913
35925
|
return r[i.attributes.baseUrl] || (r[i.attributes.baseUrl] = []), r[i.attributes.baseUrl].push(i), r;
|
|
35914
35926
|
}, {});
|
|
@@ -35926,7 +35938,7 @@ const Rb = ({
|
|
|
35926
35938
|
n = n.concat(i);
|
|
35927
35939
|
}), n.map((r) => (r.discontinuityStarts = ose(r.segments || [], "discontinuity"), r));
|
|
35928
35940
|
}, mk = (t, e) => {
|
|
35929
|
-
const n =
|
|
35941
|
+
const n = Ox(t.sidx), r = n && e[n] && e[n].sidx;
|
|
35930
35942
|
return r && pk(t, r, t.sidx.resolvedUri), t;
|
|
35931
35943
|
}, vse = (t, e = {}) => {
|
|
35932
35944
|
if (!Object.keys(e).length)
|
|
@@ -36516,7 +36528,7 @@ const Rb = ({
|
|
|
36516
36528
|
"urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb": "com.adobe.primetime",
|
|
36517
36529
|
// ISO_IEC 23009-1_2022 5.8.5.2.2 The mp4 Protection Scheme
|
|
36518
36530
|
"urn:mpeg:dash:mp4protection:2011": "mp4protection"
|
|
36519
|
-
},
|
|
36531
|
+
}, Mx = (t, e) => e.length ? yv(t.map(function(n) {
|
|
36520
36532
|
return e.map(function(r) {
|
|
36521
36533
|
const i = Gb(r), a = fk(n.baseUrl, i), l = Xi(_i(r), {
|
|
36522
36534
|
baseUrl: a
|
|
@@ -36545,7 +36557,7 @@ const Rb = ({
|
|
|
36545
36557
|
m[b] || delete m[b];
|
|
36546
36558
|
}), m;
|
|
36547
36559
|
}, $se = (t, e, n) => (r) => {
|
|
36548
|
-
const i = Rr(r, "BaseURL"), a =
|
|
36560
|
+
const i = Rr(r, "BaseURL"), a = Mx(e, i), l = Xi(t, _i(r)), c = gk(r);
|
|
36549
36561
|
return a.map((h) => ({
|
|
36550
36562
|
segmentInfo: Xi(n, c),
|
|
36551
36563
|
attributes: Xi(l, h)
|
|
@@ -36620,7 +36632,7 @@ const Rb = ({
|
|
|
36620
36632
|
};
|
|
36621
36633
|
});
|
|
36622
36634
|
})), qse = (t, e, n) => (r) => {
|
|
36623
|
-
const i = _i(r), a =
|
|
36635
|
+
const i = _i(r), a = Mx(e, Rr(r, "BaseURL")), l = Rr(r, "Role")[0], c = {
|
|
36624
36636
|
role: _i(l)
|
|
36625
36637
|
};
|
|
36626
36638
|
let h = Xi(t, i, c);
|
|
@@ -36642,7 +36654,7 @@ const Rb = ({
|
|
|
36642
36654
|
const S = gk(r), A = Rr(r, "Representation"), T = Xi(n, S);
|
|
36643
36655
|
return yv(A.map($se(h, a, T)));
|
|
36644
36656
|
}, Wse = (t, e) => (n, r) => {
|
|
36645
|
-
const i =
|
|
36657
|
+
const i = Mx(e, Rr(n.node, "BaseURL")), a = Xi(t, {
|
|
36646
36658
|
periodStart: n.attributes.start
|
|
36647
36659
|
});
|
|
36648
36660
|
typeof n.attributes.duration == "number" && (a.periodDuration = n.attributes.duration);
|
|
@@ -36678,7 +36690,7 @@ const Rb = ({
|
|
|
36678
36690
|
} = e, l = Rr(t, "Period");
|
|
36679
36691
|
if (!l.length)
|
|
36680
36692
|
throw new Error(bv.INVALID_NUMBER_OF_PERIOD);
|
|
36681
|
-
const c = Rr(t, "Location"), h = _i(t), p =
|
|
36693
|
+
const c = Rr(t, "Location"), h = _i(t), p = Mx([{
|
|
36682
36694
|
baseUrl: n
|
|
36683
36695
|
}], Rr(t, "BaseURL")), m = Rr(t, "ContentSteering");
|
|
36684
36696
|
h.type = h.type || "static", h.sourceDuration = h.mediaPresentationDuration || 0, h.NOW = r, h.clientOffset = i, c.length && (h.locations = c.map(Gb));
|
|
@@ -37219,7 +37231,7 @@ function oU(t = {}) {
|
|
|
37219
37231
|
}
|
|
37220
37232
|
return e;
|
|
37221
37233
|
}
|
|
37222
|
-
function
|
|
37234
|
+
function Nx(t, e, n, r = !0) {
|
|
37223
37235
|
const i = (l) => Object.defineProperty(t, e, {
|
|
37224
37236
|
value: l,
|
|
37225
37237
|
enumerable: !0,
|
|
@@ -37242,13 +37254,13 @@ var xae = /* @__PURE__ */ Object.freeze({
|
|
|
37242
37254
|
isPlain: Tv,
|
|
37243
37255
|
merge: Xn,
|
|
37244
37256
|
values: oU,
|
|
37245
|
-
defineLazyProperty:
|
|
37257
|
+
defineLazyProperty: Nx
|
|
37246
37258
|
});
|
|
37247
|
-
let yk = !1, lU = null, Ol = !1, uU, cU = !1, iv = !1, sv = !1, Hu = !1, bk = null,
|
|
37259
|
+
let yk = !1, lU = null, Ol = !1, uU, cU = !1, iv = !1, sv = !1, Hu = !1, bk = null, Ix = null;
|
|
37248
37260
|
const wae = !!(de.cast && de.cast.framework && de.cast.framework.CastReceiverContext);
|
|
37249
|
-
let dU = null, PS = !1,
|
|
37261
|
+
let dU = null, PS = !1, Lx = !1, OS = !1, Fx = !1, MS = !1, NS = !1, IS = !1;
|
|
37250
37262
|
const kb = !!($v() && ("ontouchstart" in de || de.navigator.maxTouchPoints || de.DocumentTouch && de.document instanceof de.DocumentTouch)), Cf = de.navigator && de.navigator.userAgentData;
|
|
37251
|
-
Cf && Cf.platform && Cf.brands && (Ol = Cf.platform === "Android", iv = !!Cf.brands.find((t) => t.brand === "Microsoft Edge"), sv = !!Cf.brands.find((t) => t.brand === "Chromium"), Hu = !iv && sv, bk =
|
|
37263
|
+
Cf && Cf.platform && Cf.brands && (Ol = Cf.platform === "Android", iv = !!Cf.brands.find((t) => t.brand === "Microsoft Edge"), sv = !!Cf.brands.find((t) => t.brand === "Chromium"), Hu = !iv && sv, bk = Ix = (Cf.brands.find((t) => t.brand === "Chromium") || {}).version || null, Lx = Cf.platform === "Windows");
|
|
37252
37264
|
if (!sv) {
|
|
37253
37265
|
const t = de.navigator && de.navigator.userAgent || "";
|
|
37254
37266
|
yk = /iPod/i.test(t), lU = function() {
|
|
@@ -37260,16 +37272,16 @@ if (!sv) {
|
|
|
37260
37272
|
return null;
|
|
37261
37273
|
const n = e[1] && parseFloat(e[1]), r = e[2] && parseFloat(e[2]);
|
|
37262
37274
|
return n && r ? parseFloat(e[1] + "." + e[2]) : n || null;
|
|
37263
|
-
}(), cU = /Firefox/i.test(t), iv = /Edg/i.test(t), sv = /Chrome/i.test(t) || /CriOS/i.test(t), Hu = !iv && sv, bk =
|
|
37275
|
+
}(), cU = /Firefox/i.test(t), iv = /Edg/i.test(t), sv = /Chrome/i.test(t) || /CriOS/i.test(t), Hu = !iv && sv, bk = Ix = function() {
|
|
37264
37276
|
const e = t.match(/(Chrome|CriOS)\/(\d+)/);
|
|
37265
37277
|
return e && e[2] ? parseFloat(e[2]) : null;
|
|
37266
37278
|
}(), dU = function() {
|
|
37267
37279
|
const e = /MSIE\s(\d+)\.\d/.exec(t);
|
|
37268
37280
|
let n = e && parseFloat(e[1]);
|
|
37269
37281
|
return !n && /Trident\/7.0/i.test(t) && /rv:11.0/.test(t) && (n = 11), n;
|
|
37270
|
-
}(), MS = /Tizen/i.test(t), NS = /Web0S/i.test(t), IS = MS || NS, PS = /Safari/i.test(t) && !Hu && !Ol && !iv && !IS,
|
|
37282
|
+
}(), MS = /Tizen/i.test(t), NS = /Web0S/i.test(t), IS = MS || NS, PS = /Safari/i.test(t) && !Hu && !Ol && !iv && !IS, Lx = /Windows/i.test(t), OS = /iPad/i.test(t) || PS && kb && !/iPhone/i.test(t), Fx = /iPhone/i.test(t) && !OS;
|
|
37271
37283
|
}
|
|
37272
|
-
const Bs =
|
|
37284
|
+
const Bs = Fx || OS || yk, Bx = (PS || Bs) && !Hu;
|
|
37273
37285
|
var fU = /* @__PURE__ */ Object.freeze({
|
|
37274
37286
|
__proto__: null,
|
|
37275
37287
|
get IS_IPOD() {
|
|
@@ -37300,7 +37312,7 @@ var fU = /* @__PURE__ */ Object.freeze({
|
|
|
37300
37312
|
return bk;
|
|
37301
37313
|
},
|
|
37302
37314
|
get CHROME_VERSION() {
|
|
37303
|
-
return
|
|
37315
|
+
return Ix;
|
|
37304
37316
|
},
|
|
37305
37317
|
IS_CHROMECAST_RECEIVER: wae,
|
|
37306
37318
|
get IE_VERSION() {
|
|
@@ -37310,13 +37322,13 @@ var fU = /* @__PURE__ */ Object.freeze({
|
|
|
37310
37322
|
return PS;
|
|
37311
37323
|
},
|
|
37312
37324
|
get IS_WINDOWS() {
|
|
37313
|
-
return
|
|
37325
|
+
return Lx;
|
|
37314
37326
|
},
|
|
37315
37327
|
get IS_IPAD() {
|
|
37316
37328
|
return OS;
|
|
37317
37329
|
},
|
|
37318
37330
|
get IS_IPHONE() {
|
|
37319
|
-
return
|
|
37331
|
+
return Fx;
|
|
37320
37332
|
},
|
|
37321
37333
|
get IS_TIZEN() {
|
|
37322
37334
|
return MS;
|
|
@@ -37329,7 +37341,7 @@ var fU = /* @__PURE__ */ Object.freeze({
|
|
|
37329
37341
|
},
|
|
37330
37342
|
TOUCH_ENABLED: kb,
|
|
37331
37343
|
IS_IOS: Bs,
|
|
37332
|
-
IS_ANY_SAFARI:
|
|
37344
|
+
IS_ANY_SAFARI: Bx
|
|
37333
37345
|
});
|
|
37334
37346
|
function q4(t) {
|
|
37335
37347
|
return typeof t == "string" && !!t.trim();
|
|
@@ -37381,7 +37393,7 @@ function gb(t, e) {
|
|
|
37381
37393
|
function Cp(t, ...e) {
|
|
37382
37394
|
return t.classList.add(...e.reduce((n, r) => n.concat(r.split(/\s+/)), [])), t;
|
|
37383
37395
|
}
|
|
37384
|
-
function
|
|
37396
|
+
function Ux(t, ...e) {
|
|
37385
37397
|
return t ? (t.classList.remove(...e.reduce((n, r) => n.concat(r.split(/\s+/)), [])), t) : (mn.warn("removeClass was called with an element that doesn't exist"), null);
|
|
37386
37398
|
}
|
|
37387
37399
|
function mU(t, e, n) {
|
|
@@ -37411,7 +37423,7 @@ function vU(t, e) {
|
|
|
37411
37423
|
function Sv(t, e, n) {
|
|
37412
37424
|
t.setAttribute(e, n);
|
|
37413
37425
|
}
|
|
37414
|
-
function
|
|
37426
|
+
function Vx(t, e) {
|
|
37415
37427
|
t.removeAttribute(e);
|
|
37416
37428
|
}
|
|
37417
37429
|
function yU() {
|
|
@@ -37451,7 +37463,7 @@ function Pb(t) {
|
|
|
37451
37463
|
height: n
|
|
37452
37464
|
};
|
|
37453
37465
|
}
|
|
37454
|
-
function
|
|
37466
|
+
function $x(t, e) {
|
|
37455
37467
|
const n = {
|
|
37456
37468
|
x: 0,
|
|
37457
37469
|
y: 0
|
|
@@ -37481,7 +37493,7 @@ function Vx(t, e) {
|
|
|
37481
37493
|
function _U(t) {
|
|
37482
37494
|
return ju(t) && t.nodeType === 3;
|
|
37483
37495
|
}
|
|
37484
|
-
function
|
|
37496
|
+
function jx(t) {
|
|
37485
37497
|
for (; t.firstChild; )
|
|
37486
37498
|
t.removeChild(t.firstChild);
|
|
37487
37499
|
return t;
|
|
@@ -37498,7 +37510,7 @@ function _k(t, e) {
|
|
|
37498
37510
|
return TU(e).forEach((n) => t.appendChild(n)), t;
|
|
37499
37511
|
}
|
|
37500
37512
|
function SU(t, e) {
|
|
37501
|
-
return _k(
|
|
37513
|
+
return _k(jx(t), e);
|
|
37502
37514
|
}
|
|
37503
37515
|
function Ob(t) {
|
|
37504
37516
|
return t.button === void 0 && t.buttons === void 0 || t.button === 0 && t.buttons === void 0 || t.type === "mouseup" && t.button === 0 && t.buttons === 0 || t.type === "mousedown" && t.button === 0 && t.buttons === 0 ? !0 : !(t.button !== 0 || t.buttons !== 1);
|
|
@@ -37539,20 +37551,20 @@ var CU = /* @__PURE__ */ Object.freeze({
|
|
|
37539
37551
|
prependTo: DA,
|
|
37540
37552
|
hasClass: gb,
|
|
37541
37553
|
addClass: Cp,
|
|
37542
|
-
removeClass:
|
|
37554
|
+
removeClass: Ux,
|
|
37543
37555
|
toggleClass: mU,
|
|
37544
37556
|
setAttributes: gU,
|
|
37545
37557
|
getAttributes: Pf,
|
|
37546
37558
|
getAttribute: vU,
|
|
37547
37559
|
setAttribute: Sv,
|
|
37548
|
-
removeAttribute:
|
|
37560
|
+
removeAttribute: Vx,
|
|
37549
37561
|
blockTextSelection: yU,
|
|
37550
37562
|
unblockTextSelection: bU,
|
|
37551
37563
|
getBoundingClientRect: xv,
|
|
37552
37564
|
findPosition: Pb,
|
|
37553
|
-
getPointerPosition:
|
|
37565
|
+
getPointerPosition: $x,
|
|
37554
37566
|
isTextNode: _U,
|
|
37555
|
-
emptyEl:
|
|
37567
|
+
emptyEl: jx,
|
|
37556
37568
|
normalizeContent: TU,
|
|
37557
37569
|
appendContent: _k,
|
|
37558
37570
|
insertContent: SU,
|
|
@@ -37609,7 +37621,7 @@ function Tk(t, e, n, r) {
|
|
|
37609
37621
|
t(e, i, r);
|
|
37610
37622
|
});
|
|
37611
37623
|
}
|
|
37612
|
-
function
|
|
37624
|
+
function Hx(t) {
|
|
37613
37625
|
if (t.fixed_)
|
|
37614
37626
|
return t;
|
|
37615
37627
|
function e() {
|
|
@@ -37662,7 +37674,7 @@ function mo(t, e, n) {
|
|
|
37662
37674
|
if (r.handlers || (r.handlers = {}), r.handlers[e] || (r.handlers[e] = []), n.guid || (n.guid = Go()), r.handlers[e].push(n), r.dispatcher || (r.disabled = !1, r.dispatcher = function(i, a) {
|
|
37663
37675
|
if (r.disabled)
|
|
37664
37676
|
return;
|
|
37665
|
-
i =
|
|
37677
|
+
i = Hx(i);
|
|
37666
37678
|
const l = r.handlers[i.type];
|
|
37667
37679
|
if (l) {
|
|
37668
37680
|
const c = l.slice(0);
|
|
@@ -37714,7 +37726,7 @@ function Hv(t, e, n) {
|
|
|
37714
37726
|
if (typeof e == "string" ? e = {
|
|
37715
37727
|
type: e,
|
|
37716
37728
|
target: t
|
|
37717
|
-
} : e.target || (e.target = t), e =
|
|
37729
|
+
} : e.target || (e.target = t), e = Hx(e), r.dispatcher && r.dispatcher.call(t, e, n), i && !e.isPropagationStopped() && e.bubbles === !0)
|
|
37718
37730
|
Hv.call(null, i, e, n);
|
|
37719
37731
|
else if (!i && !e.defaultPrevented && e.target && e.target[e.type]) {
|
|
37720
37732
|
ha.has(e.target) || ha.set(e.target, {});
|
|
@@ -37723,9 +37735,9 @@ function Hv(t, e, n) {
|
|
|
37723
37735
|
}
|
|
37724
37736
|
return !e.defaultPrevented;
|
|
37725
37737
|
}
|
|
37726
|
-
function
|
|
37738
|
+
function zx(t, e, n) {
|
|
37727
37739
|
if (Array.isArray(e))
|
|
37728
|
-
return Tk(
|
|
37740
|
+
return Tk(zx, t, e, n);
|
|
37729
37741
|
const r = function() {
|
|
37730
37742
|
Us(t, e, r), n.apply(this, arguments);
|
|
37731
37743
|
};
|
|
@@ -37739,11 +37751,11 @@ function Sk(t, e, n) {
|
|
|
37739
37751
|
}
|
|
37740
37752
|
var Pae = /* @__PURE__ */ Object.freeze({
|
|
37741
37753
|
__proto__: null,
|
|
37742
|
-
fixEvent:
|
|
37754
|
+
fixEvent: Hx,
|
|
37743
37755
|
on: mo,
|
|
37744
37756
|
off: Us,
|
|
37745
37757
|
trigger: Hv,
|
|
37746
|
-
one:
|
|
37758
|
+
one: zx,
|
|
37747
37759
|
any: Sk
|
|
37748
37760
|
});
|
|
37749
37761
|
const Yo = 30, ur = function(t, e, n) {
|
|
@@ -37821,7 +37833,7 @@ class go {
|
|
|
37821
37833
|
one(e, n) {
|
|
37822
37834
|
const r = this.addEventListener;
|
|
37823
37835
|
this.addEventListener = () => {
|
|
37824
|
-
},
|
|
37836
|
+
}, zx(this, e, n), this.addEventListener = r;
|
|
37825
37837
|
}
|
|
37826
37838
|
/**
|
|
37827
37839
|
* This function will add an `event listener` that gets triggered only once and is
|
|
@@ -37860,7 +37872,7 @@ class go {
|
|
|
37860
37872
|
const n = e.type || e;
|
|
37861
37873
|
typeof e == "string" && (e = {
|
|
37862
37874
|
type: n
|
|
37863
|
-
}), e =
|
|
37875
|
+
}), e = Hx(e), this.allowedEvents_[n] && this["on" + n] && this["on" + n](e), Hv(this, e);
|
|
37864
37876
|
}
|
|
37865
37877
|
queueTrigger(e) {
|
|
37866
37878
|
Zy || (Zy = /* @__PURE__ */ new Map());
|
|
@@ -37879,7 +37891,7 @@ go.prototype.allowedEvents_ = {};
|
|
|
37879
37891
|
go.prototype.addEventListener = go.prototype.on;
|
|
37880
37892
|
go.prototype.removeEventListener = go.prototype.off;
|
|
37881
37893
|
go.prototype.dispatchEvent = go.prototype.trigger;
|
|
37882
|
-
const
|
|
37894
|
+
const qx = (t) => typeof t.name == "function" ? t.name() : typeof t.name == "string" ? t.name : t.name_ ? t.name_ : t.constructor && t.constructor.name ? t.constructor.name : typeof t, Jc = (t) => t instanceof go || !!t.eventBusEl_ && ["on", "one", "off", "trigger"].every((e) => typeof t[e] == "function"), Mae = (t, e) => {
|
|
37883
37895
|
Jc(t) ? e() : (t.eventedCallbacks || (t.eventedCallbacks = []), t.eventedCallbacks.push(e));
|
|
37884
37896
|
}, PA = (t) => (
|
|
37885
37897
|
// The regex here verifies that the `type` contains at least one non-
|
|
@@ -37887,13 +37899,13 @@ const zx = (t) => typeof t.name == "function" ? t.name() : typeof t.name == "str
|
|
|
37887
37899
|
typeof t == "string" && /\S/.test(t) || Array.isArray(t) && !!t.length
|
|
37888
37900
|
), LS = (t, e, n) => {
|
|
37889
37901
|
if (!t || !t.nodeName && !Jc(t))
|
|
37890
|
-
throw new Error(`Invalid target for ${
|
|
37902
|
+
throw new Error(`Invalid target for ${qx(e)}#${n}; must be a DOM node or evented object.`);
|
|
37891
37903
|
}, kU = (t, e, n) => {
|
|
37892
37904
|
if (!PA(t))
|
|
37893
|
-
throw new Error(`Invalid event type for ${
|
|
37905
|
+
throw new Error(`Invalid event type for ${qx(e)}#${n}; must be a non-empty string or array.`);
|
|
37894
37906
|
}, PU = (t, e, n) => {
|
|
37895
37907
|
if (typeof t != "function")
|
|
37896
|
-
throw new Error(`Invalid listener for ${
|
|
37908
|
+
throw new Error(`Invalid listener for ${qx(e)}#${n}; must be a function.`);
|
|
37897
37909
|
}, fD = (t, e, n) => {
|
|
37898
37910
|
const r = e.length < 3 || e[0] === t || e[0] === t.eventBusEl_;
|
|
37899
37911
|
let i, a, l;
|
|
@@ -38065,7 +38077,7 @@ const zx = (t) => typeof t.name == "function" ? t.name() : typeof t.name == "str
|
|
|
38065
38077
|
LS(this.eventBusEl_, this, "trigger");
|
|
38066
38078
|
const n = t && typeof t != "string" ? t.type : t;
|
|
38067
38079
|
if (!PA(n))
|
|
38068
|
-
throw new Error(`Invalid event type for ${
|
|
38080
|
+
throw new Error(`Invalid event type for ${qx(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);
|
|
38069
38081
|
return Hv(this.eventBusEl_, t, e);
|
|
38070
38082
|
}
|
|
38071
38083
|
};
|
|
@@ -38685,7 +38697,7 @@ class $e {
|
|
|
38685
38697
|
* One or more CSS class name to remove.
|
|
38686
38698
|
*/
|
|
38687
38699
|
removeClass(...e) {
|
|
38688
|
-
|
|
38700
|
+
Ux(this.el_, ...e);
|
|
38689
38701
|
}
|
|
38690
38702
|
/**
|
|
38691
38703
|
* Add or remove a CSS class name from the component's element.
|
|
@@ -38774,7 +38786,7 @@ class $e {
|
|
|
38774
38786
|
* @see [DOM API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute}
|
|
38775
38787
|
*/
|
|
38776
38788
|
removeAttribute(e) {
|
|
38777
|
-
|
|
38789
|
+
Vx(this.el_, e);
|
|
38778
38790
|
}
|
|
38779
38791
|
/**
|
|
38780
38792
|
* Get or set the width of the component based upon the CSS styles.
|
|
@@ -39704,7 +39716,7 @@ class zv extends $e {
|
|
|
39704
39716
|
* @fires ModalDialog#modalempty
|
|
39705
39717
|
*/
|
|
39706
39718
|
empty() {
|
|
39707
|
-
this.trigger("beforemodalempty"),
|
|
39719
|
+
this.trigger("beforemodalempty"), jx(this.contentEl()), this.trigger("modalempty");
|
|
39708
39720
|
}
|
|
39709
39721
|
/**
|
|
39710
39722
|
* Gets or sets the modal content, which gets normalized before being
|
|
@@ -40184,7 +40196,7 @@ const Ek = function(t) {
|
|
|
40184
40196
|
return n.pop().toLowerCase();
|
|
40185
40197
|
}
|
|
40186
40198
|
return "";
|
|
40187
|
-
},
|
|
40199
|
+
}, Wx = function(t, e = de.location) {
|
|
40188
40200
|
return Ek(t).origin !== e.origin;
|
|
40189
40201
|
};
|
|
40190
40202
|
var Gae = /* @__PURE__ */ Object.freeze({
|
|
@@ -40192,7 +40204,7 @@ var Gae = /* @__PURE__ */ Object.freeze({
|
|
|
40192
40204
|
parseUrl: Ek,
|
|
40193
40205
|
getAbsoluteURL: UU,
|
|
40194
40206
|
getFileExtension: Dk,
|
|
40195
|
-
isCrossOrigin:
|
|
40207
|
+
isCrossOrigin: Wx
|
|
40196
40208
|
});
|
|
40197
40209
|
const X4 = function(t, e) {
|
|
40198
40210
|
const n = new de.WebVTT.Parser(de, de.vttjs, de.WebVTT.StringDecoder()), r = [];
|
|
@@ -40209,7 +40221,7 @@ const X4 = function(t, e) {
|
|
|
40209
40221
|
}, Q4 = function(t, e) {
|
|
40210
40222
|
const n = {
|
|
40211
40223
|
uri: t
|
|
40212
|
-
}, r =
|
|
40224
|
+
}, r = Wx(t);
|
|
40213
40225
|
r && (n.cors = r);
|
|
40214
40226
|
const i = e.tech_.crossOrigin() === "use-credentials";
|
|
40215
40227
|
i && (n.withCredentials = i), HB(n, ur(this, function(a, l, c) {
|
|
@@ -42015,7 +42027,7 @@ class uoe extends $e {
|
|
|
42015
42027
|
}
|
|
42016
42028
|
}
|
|
42017
42029
|
$e.registerComponent("MediaLoader", uoe);
|
|
42018
|
-
class
|
|
42030
|
+
class Gx extends $e {
|
|
42019
42031
|
/**
|
|
42020
42032
|
* Creates an instance of this class.
|
|
42021
42033
|
*
|
|
@@ -42163,8 +42175,8 @@ class Wx extends $e {
|
|
|
42163
42175
|
e.key === " " || e.key === "Enter" ? (e.preventDefault(), e.stopPropagation(), this.trigger("click")) : super.handleKeyDown(e);
|
|
42164
42176
|
}
|
|
42165
42177
|
}
|
|
42166
|
-
$e.registerComponent("ClickableComponent",
|
|
42167
|
-
class MA extends
|
|
42178
|
+
$e.registerComponent("ClickableComponent", Gx);
|
|
42179
|
+
class MA extends Gx {
|
|
42168
42180
|
/**
|
|
42169
42181
|
* Create an instance of this class.
|
|
42170
42182
|
*
|
|
@@ -42508,7 +42520,7 @@ class foe extends $e {
|
|
|
42508
42520
|
}
|
|
42509
42521
|
}
|
|
42510
42522
|
$e.registerComponent("LoadingSpinner", foe);
|
|
42511
|
-
class Vs extends
|
|
42523
|
+
class Vs extends Gx {
|
|
42512
42524
|
/**
|
|
42513
42525
|
* Create the `Button`s DOM element.
|
|
42514
42526
|
*
|
|
@@ -43275,7 +43287,7 @@ class Ok extends $e {
|
|
|
43275
43287
|
* - position.y for horizontal `Slider`s
|
|
43276
43288
|
*/
|
|
43277
43289
|
calculateDistance(e) {
|
|
43278
|
-
const n =
|
|
43290
|
+
const n = $x(this.el_, e);
|
|
43279
43291
|
return this.vertical() ? n.y : n.x;
|
|
43280
43292
|
}
|
|
43281
43293
|
/**
|
|
@@ -43562,7 +43574,7 @@ WU.prototype.options_ = {
|
|
|
43562
43574
|
};
|
|
43563
43575
|
$e.registerComponent("MouseTimeDisplay", WU);
|
|
43564
43576
|
const jT = 5, sL = 12;
|
|
43565
|
-
class
|
|
43577
|
+
class Yx extends Ok {
|
|
43566
43578
|
/**
|
|
43567
43579
|
* Creates an instance of this class.
|
|
43568
43580
|
*
|
|
@@ -43573,7 +43585,7 @@ class Gx extends Ok {
|
|
|
43573
43585
|
* The key/value store of player options.
|
|
43574
43586
|
*/
|
|
43575
43587
|
constructor(e, n) {
|
|
43576
|
-
n = Xn(
|
|
43588
|
+
n = Xn(Yx.prototype.options_, n), n.children = [...n.children];
|
|
43577
43589
|
const r = e.options_.disableSeekWhileScrubbingOnMobile && (Bs || Ol);
|
|
43578
43590
|
(!Bs && !Ol || r) && n.children.splice(1, 0, "mouseTimeDisplay"), super(e, n), this.shouldDisableSeekWhileScrubbingOnMobile_ = r, this.pendingSeekTime_ = null, this.setEventHandlers_();
|
|
43579
43591
|
}
|
|
@@ -43786,11 +43798,11 @@ class Gx extends Ok {
|
|
|
43786
43798
|
this.disableInterval_(), this.off(this.player_, ["durationchange", "timeupdate"], this.update), this.off(this.player_, ["ended"], this.update_), this.player_.liveTracker && this.off(this.player_.liveTracker, "liveedgechange", this.update), this.off(this.player_, ["playing"], this.enableIntervalHandler_), this.off(this.player_, ["ended", "pause", "waiting"], this.disableIntervalHandler_), "hidden" in st && "visibilityState" in st && this.off(st, "visibilitychange", this.toggleVisibility_), super.dispose();
|
|
43787
43799
|
}
|
|
43788
43800
|
}
|
|
43789
|
-
|
|
43801
|
+
Yx.prototype.options_ = {
|
|
43790
43802
|
children: ["loadProgressBar", "playProgressBar"],
|
|
43791
43803
|
barName: "playProgressBar"
|
|
43792
43804
|
};
|
|
43793
|
-
$e.registerComponent("SeekBar",
|
|
43805
|
+
$e.registerComponent("SeekBar", Yx);
|
|
43794
43806
|
class GU extends $e {
|
|
43795
43807
|
/**
|
|
43796
43808
|
* Creates an instance of this class.
|
|
@@ -43832,7 +43844,7 @@ class GU extends $e {
|
|
|
43832
43844
|
if (!r && !i)
|
|
43833
43845
|
return;
|
|
43834
43846
|
const a = n.el(), l = Pb(a);
|
|
43835
|
-
let c =
|
|
43847
|
+
let c = $x(a, e).x;
|
|
43836
43848
|
c = Kb(c, 0, 1), i && i.update(l, c), r && r.update(l, n.getProgress());
|
|
43837
43849
|
}
|
|
43838
43850
|
/**
|
|
@@ -44219,7 +44231,7 @@ XU.prototype.options_ = {
|
|
|
44219
44231
|
children: ["volumeLevelTooltip"]
|
|
44220
44232
|
};
|
|
44221
44233
|
$e.registerComponent("MouseVolumeLevelDisplay", XU);
|
|
44222
|
-
class
|
|
44234
|
+
class Kx extends Ok {
|
|
44223
44235
|
/**
|
|
44224
44236
|
* Creates an instance of this class.
|
|
44225
44237
|
*
|
|
@@ -44269,7 +44281,7 @@ class Yx extends Ok {
|
|
|
44269
44281
|
const n = this.getChild("mouseVolumeLevelDisplay");
|
|
44270
44282
|
if (n) {
|
|
44271
44283
|
const r = this.el(), i = xv(r), a = this.vertical();
|
|
44272
|
-
let l =
|
|
44284
|
+
let l = $x(r, e);
|
|
44273
44285
|
l = a ? l.y : l.x, l = Kb(l, 0, 1), n.update(i, l, a);
|
|
44274
44286
|
}
|
|
44275
44287
|
Ob(e) && (this.checkMuted(), this.player_.volume(this.calculateDistance(e)));
|
|
@@ -44336,13 +44348,13 @@ class Yx extends Ok {
|
|
|
44336
44348
|
});
|
|
44337
44349
|
}
|
|
44338
44350
|
}
|
|
44339
|
-
|
|
44351
|
+
Kx.prototype.options_ = {
|
|
44340
44352
|
children: ["volumeLevel"],
|
|
44341
44353
|
barName: "volumeLevel"
|
|
44342
44354
|
};
|
|
44343
|
-
!Bs && !Ol &&
|
|
44344
|
-
|
|
44345
|
-
$e.registerComponent("VolumeBar",
|
|
44355
|
+
!Bs && !Ol && Kx.prototype.options_.children.splice(0, 0, "mouseVolumeLevelDisplay");
|
|
44356
|
+
Kx.prototype.playerEvent = "volumechange";
|
|
44357
|
+
$e.registerComponent("VolumeBar", Kx);
|
|
44346
44358
|
class QU extends $e {
|
|
44347
44359
|
/**
|
|
44348
44360
|
* Creates an instance of this class.
|
|
@@ -44489,7 +44501,7 @@ class ZU extends Vs {
|
|
|
44489
44501
|
updateIcon_() {
|
|
44490
44502
|
const e = this.player_.volume();
|
|
44491
44503
|
let n = 3;
|
|
44492
|
-
this.setIcon("volume-high"), Bs && this.player_.tech_ && this.player_.tech_.el_ && this.player_.muted(this.player_.tech_.el_.muted), e === 0 || this.player_.muted() ? (this.setIcon("volume-mute"), n = 0) : e < 0.33 ? (this.setIcon("volume-low"), n = 1) : e < 0.67 && (this.setIcon("volume-medium"), n = 2),
|
|
44504
|
+
this.setIcon("volume-high"), Bs && this.player_.tech_ && this.player_.tech_.el_ && this.player_.muted(this.player_.tech_.el_.muted), e === 0 || this.player_.muted() ? (this.setIcon("volume-mute"), n = 0) : e < 0.33 ? (this.setIcon("volume-low"), n = 1) : e < 0.67 && (this.setIcon("volume-medium"), n = 2), Ux(this.el_, [0, 1, 2, 3].reduce((r, i) => r + `${i ? " " : ""}vjs-vol-${i}`, "")), Cp(this.el_, `vjs-vol-${n}`);
|
|
44493
44505
|
}
|
|
44494
44506
|
/**
|
|
44495
44507
|
* If `muted` has changed on the player, update the control text
|
|
@@ -45103,7 +45115,7 @@ class Ik extends Nk {
|
|
|
45103
45115
|
}
|
|
45104
45116
|
}
|
|
45105
45117
|
$e.registerComponent("TrackButton", Ik);
|
|
45106
|
-
let Xb = class extends
|
|
45118
|
+
let Xb = class extends Gx {
|
|
45107
45119
|
/**
|
|
45108
45120
|
* Creates an instance of the this class.
|
|
45109
45121
|
*
|
|
@@ -46950,7 +46962,7 @@ class koe extends $e {
|
|
|
46950
46962
|
};
|
|
46951
46963
|
["title", "description"].forEach((i) => {
|
|
46952
46964
|
const a = this.state[i], l = this.els[i], c = r[i];
|
|
46953
|
-
|
|
46965
|
+
jx(l), a && zf(l, a), n && (n.removeAttribute(c), a && n.setAttribute(c, l.id));
|
|
46954
46966
|
}), this.state.title || this.state.description ? this.show() : this.hide();
|
|
46955
46967
|
}
|
|
46956
46968
|
/**
|
|
@@ -47152,13 +47164,13 @@ class bt extends rn {
|
|
|
47152
47164
|
const c = [];
|
|
47153
47165
|
for (; l--; ) {
|
|
47154
47166
|
const h = a[l];
|
|
47155
|
-
h.nodeName.toLowerCase() === "track" && (this.featuresNativeTextTracks ? (this.remoteTextTrackEls().addTrackElement_(h), this.remoteTextTracks().addTrack(h.track), this.textTracks().addTrack(h.track), !i && !this.el_.hasAttribute("crossorigin") &&
|
|
47167
|
+
h.nodeName.toLowerCase() === "track" && (this.featuresNativeTextTracks ? (this.remoteTextTrackEls().addTrackElement_(h), this.remoteTextTracks().addTrack(h.track), this.textTracks().addTrack(h.track), !i && !this.el_.hasAttribute("crossorigin") && Wx(h.src) && (i = !0)) : c.push(h));
|
|
47156
47168
|
}
|
|
47157
47169
|
for (let h = 0; h < c.length; h++)
|
|
47158
47170
|
this.el_.removeChild(c[h]);
|
|
47159
47171
|
}
|
|
47160
47172
|
this.proxyNativeTracks_(), this.featuresNativeTextTracks && i && mn.warn(`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.
|
|
47161
|
-
This may prevent text tracks from loading.`), this.restoreMetadataTracksInIOSNativePlayer_(), (kb ||
|
|
47173
|
+
This may prevent text tracks from loading.`), this.restoreMetadataTracksInIOSNativePlayer_(), (kb || Fx) && e.nativeControlsForTouch === !0 && this.setControls(!0), this.proxyWebkitFullscreen_(), this.triggerReady();
|
|
47162
47174
|
}
|
|
47163
47175
|
/**
|
|
47164
47176
|
* Dispose of `HTML5` media element and remove all tracks.
|
|
@@ -47326,7 +47338,7 @@ This may prevent text tracks from loading.`), this.restoreMetadataTracksInIOSNat
|
|
|
47326
47338
|
const n = ["loop", "muted", "playsinline", "autoplay"];
|
|
47327
47339
|
for (let r = 0; r < n.length; r++) {
|
|
47328
47340
|
const i = n[r], a = this.options_[i];
|
|
47329
|
-
typeof a < "u" && (a ? Sv(e, i, i) :
|
|
47341
|
+
typeof a < "u" && (a ? Sv(e, i, i) : Vx(e, i), e[i] = a);
|
|
47330
47342
|
}
|
|
47331
47343
|
return e;
|
|
47332
47344
|
}
|
|
@@ -47397,7 +47409,7 @@ This may prevent text tracks from loading.`), this.restoreMetadataTracksInIOSNat
|
|
|
47397
47409
|
*/
|
|
47398
47410
|
setCurrentTime(e) {
|
|
47399
47411
|
try {
|
|
47400
|
-
this.isScrubbing_ && this.el_.fastSeek &&
|
|
47412
|
+
this.isScrubbing_ && this.el_.fastSeek && Bx ? this.el_.fastSeek(e) : this.el_.currentTime = e;
|
|
47401
47413
|
} catch (n) {
|
|
47402
47414
|
mn(n, "Video is not ready. (Video.js)");
|
|
47403
47415
|
}
|
|
@@ -47720,7 +47732,7 @@ This may prevent text tracks from loading.`), this.restoreMetadataTracksInIOSNat
|
|
|
47720
47732
|
return typeof this.el().webkitDroppedFrameCount < "u" && typeof this.el().webkitDecodedFrameCount < "u" && (e.droppedVideoFrames = this.el().webkitDroppedFrameCount, e.totalVideoFrames = this.el().webkitDecodedFrameCount), de.performance && (e.creationTime = de.performance.now()), e;
|
|
47721
47733
|
}
|
|
47722
47734
|
}
|
|
47723
|
-
|
|
47735
|
+
Nx(bt, "TEST_VID", function() {
|
|
47724
47736
|
if (!$v())
|
|
47725
47737
|
return;
|
|
47726
47738
|
const t = st.createElement("video"), e = st.createElement("track");
|
|
@@ -47755,13 +47767,13 @@ bt.canControlVolume = function() {
|
|
|
47755
47767
|
bt.canMuteVolume = function() {
|
|
47756
47768
|
try {
|
|
47757
47769
|
const t = bt.TEST_VID.muted;
|
|
47758
|
-
return bt.TEST_VID.muted = !t, bt.TEST_VID.muted ? Sv(bt.TEST_VID, "muted", "muted") :
|
|
47770
|
+
return bt.TEST_VID.muted = !t, bt.TEST_VID.muted ? Sv(bt.TEST_VID, "muted", "muted") : Vx(bt.TEST_VID, "muted", "muted"), t !== bt.TEST_VID.muted;
|
|
47759
47771
|
} catch {
|
|
47760
47772
|
return !1;
|
|
47761
47773
|
}
|
|
47762
47774
|
};
|
|
47763
47775
|
bt.canControlPlaybackRate = function() {
|
|
47764
|
-
if (Ol && Hu &&
|
|
47776
|
+
if (Ol && Hu && Ix < 58)
|
|
47765
47777
|
return !1;
|
|
47766
47778
|
try {
|
|
47767
47779
|
const t = bt.TEST_VID.playbackRate;
|
|
@@ -47793,7 +47805,7 @@ bt.canOverrideAttributes = function() {
|
|
|
47793
47805
|
return !0;
|
|
47794
47806
|
};
|
|
47795
47807
|
bt.supportsNativeTextTracks = function() {
|
|
47796
|
-
return
|
|
47808
|
+
return Bx || Bs && Hu;
|
|
47797
47809
|
};
|
|
47798
47810
|
bt.supportsNativeVideoTracks = function() {
|
|
47799
47811
|
return !!(bt.TEST_VID && bt.TEST_VID.videoTracks);
|
|
@@ -47803,7 +47815,7 @@ bt.supportsNativeAudioTracks = function() {
|
|
|
47803
47815
|
};
|
|
47804
47816
|
bt.Events = ["loadstart", "suspend", "abort", "error", "emptied", "stalled", "loadedmetadata", "loadeddata", "canplay", "canplaythrough", "playing", "waiting", "seeking", "seeked", "ended", "durationchange", "timeupdate", "progress", "play", "pause", "ratechange", "resize", "volumechange"];
|
|
47805
47817
|
[["featuresMuteControl", "canMuteVolume"], ["featuresPlaybackRate", "canControlPlaybackRate"], ["featuresSourceset", "canOverrideAttributes"], ["featuresNativeTextTracks", "supportsNativeTextTracks"], ["featuresNativeVideoTracks", "supportsNativeVideoTracks"], ["featuresNativeAudioTracks", "supportsNativeAudioTracks"]].forEach(function([t, e]) {
|
|
47806
|
-
|
|
47818
|
+
Nx(bt.prototype, t, () => bt[e](), !0);
|
|
47807
47819
|
});
|
|
47808
47820
|
bt.prototype.featuresVolumeControl = bt.canControlVolume();
|
|
47809
47821
|
bt.prototype.movingMediaElementInDOM = !Bs;
|
|
@@ -48702,7 +48714,7 @@ let Li = class Hg extends $e {
|
|
|
48702
48714
|
}
|
|
48703
48715
|
});
|
|
48704
48716
|
}
|
|
48705
|
-
e.setAttribute("tabindex", "-1"), a.tabindex = "-1", Hu &&
|
|
48717
|
+
e.setAttribute("tabindex", "-1"), a.tabindex = "-1", Hu && Lx && (e.setAttribute("role", "application"), a.role = "application"), e.removeAttribute("width"), e.removeAttribute("height"), "width" in a && delete a.width, "height" in a && delete a.height, Object.getOwnPropertyNames(a).forEach(function(h) {
|
|
48706
48718
|
i && h === "class" || n.setAttribute(h, a[h]), i && e.setAttribute(h, a[h]);
|
|
48707
48719
|
}), e.playerId = e.id, e.id += "_html5_api", e.className = "vjs-tech", e.player = n.player = this, this.addClass("vjs-paused");
|
|
48708
48720
|
const l = ["IS_SMART_TV", "IS_TIZEN", "IS_WEBOS", "IS_ANDROID", "IS_IPAD", "IS_IPHONE", "IS_CHROMECAST_RECEIVER"].filter((h) => fU[h]).map((h) => "vjs-device-" + h.substring(3).toLowerCase().replace(/\_/g, "-"));
|
|
@@ -49566,7 +49578,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
49566
49578
|
*/
|
|
49567
49579
|
play_(e = Nu) {
|
|
49568
49580
|
this.playCallbacks_.push(e);
|
|
49569
|
-
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), r = !!(
|
|
49581
|
+
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), r = !!(Bx || Bs);
|
|
49570
49582
|
if (this.waitToPlay_ && (this.off(["ready", "loadstart"], this.waitToPlay_), this.waitToPlay_ = null), !this.isReady_ || !n) {
|
|
49571
49583
|
this.waitToPlay_ = (l) => {
|
|
49572
49584
|
this.play_();
|
|
@@ -50046,7 +50058,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
50046
50058
|
* @fires Player#exitFullWindow
|
|
50047
50059
|
*/
|
|
50048
50060
|
exitFullWindow() {
|
|
50049
|
-
this.isFullscreen(!1), this.isFullWindow = !1, Us(st, "keydown", this.boundFullWindowOnEscKey_), st.documentElement.style.overflow = this.docOrigOverflow,
|
|
50061
|
+
this.isFullscreen(!1), this.isFullWindow = !1, Us(st, "keydown", this.boundFullWindowOnEscKey_), st.documentElement.style.overflow = this.docOrigOverflow, Ux(st.body, "vjs-full-window"), this.trigger("exitFullWindow");
|
|
50050
50062
|
}
|
|
50051
50063
|
/**
|
|
50052
50064
|
* Get or set disable Picture-in-Picture mode.
|
|
@@ -51674,7 +51686,7 @@ Object.defineProperty(Re.middleware, "TERMINATOR", {
|
|
|
51674
51686
|
Re.browser = fU;
|
|
51675
51687
|
Re.obj = xae;
|
|
51676
51688
|
Re.mergeOptions = Bl(9, "videojs.mergeOptions", "videojs.obj.merge", Xn);
|
|
51677
|
-
Re.defineLazyProperty = Bl(9, "videojs.defineLazyProperty", "videojs.obj.defineLazyProperty",
|
|
51689
|
+
Re.defineLazyProperty = Bl(9, "videojs.defineLazyProperty", "videojs.obj.defineLazyProperty", Nx);
|
|
51678
51690
|
Re.bind = Bl(9, "videojs.bind", "native Function.prototype.bind", ur);
|
|
51679
51691
|
Re.registerPlugin = Ga.registerPlugin;
|
|
51680
51692
|
Re.deregisterPlugin = Ga.deregisterPlugin;
|
|
@@ -51696,11 +51708,11 @@ Re.formatTime = Bl(9, "videojs.formatTime", "videojs.time.formatTime", Op);
|
|
|
51696
51708
|
Re.setFormatTime = Bl(9, "videojs.setFormatTime", "videojs.time.setFormatTime", IU);
|
|
51697
51709
|
Re.resetFormatTime = Bl(9, "videojs.resetFormatTime", "videojs.time.resetFormatTime", LU);
|
|
51698
51710
|
Re.parseUrl = Bl(9, "videojs.parseUrl", "videojs.url.parseUrl", Ek);
|
|
51699
|
-
Re.isCrossOrigin = Bl(9, "videojs.isCrossOrigin", "videojs.url.isCrossOrigin",
|
|
51711
|
+
Re.isCrossOrigin = Bl(9, "videojs.isCrossOrigin", "videojs.url.isCrossOrigin", Wx);
|
|
51700
51712
|
Re.EventTarget = go;
|
|
51701
51713
|
Re.any = Sk;
|
|
51702
51714
|
Re.on = mo;
|
|
51703
|
-
Re.one =
|
|
51715
|
+
Re.one = zx;
|
|
51704
51716
|
Re.off = Us;
|
|
51705
51717
|
Re.trigger = Hv;
|
|
51706
51718
|
Re.xhr = HB;
|
|
@@ -52201,7 +52213,7 @@ const Iu = 1 / 30, Lu = Iu * 3, x7 = function(t, e) {
|
|
|
52201
52213
|
return t.excludeUntil && t.excludeUntil > Date.now();
|
|
52202
52214
|
}, qk = function(t) {
|
|
52203
52215
|
return t.excludeUntil && t.excludeUntil === 1 / 0;
|
|
52204
|
-
},
|
|
52216
|
+
}, Xx = function(t) {
|
|
52205
52217
|
const e = P7(t);
|
|
52206
52218
|
return !t.disabled && !e;
|
|
52207
52219
|
}, Joe = function(t) {
|
|
@@ -52219,7 +52231,7 @@ const Iu = 1 / 30, Lu = Iu * 3, x7 = function(t, e) {
|
|
|
52219
52231
|
if (t.playlists.length === 1)
|
|
52220
52232
|
return !0;
|
|
52221
52233
|
const n = e.attributes.BANDWIDTH || Number.MAX_VALUE;
|
|
52222
|
-
return t.playlists.filter((r) =>
|
|
52234
|
+
return t.playlists.filter((r) => Xx(r) ? (r.attributes.BANDWIDTH || 0) < n : !1).length === 0;
|
|
52223
52235
|
}, Wk = (t, e) => !t && !e || !t && e || t && !e ? !1 : !!(t === e || t.id && e.id && t.id === e.id || t.resolvedUri && e.resolvedUri && t.resolvedUri === e.resolvedUri || t.uri && e.uri && t.uri === e.uri), vL = function(t, e) {
|
|
52224
52236
|
const n = t && t.mediaGroups && t.mediaGroups.AUDIO || {};
|
|
52225
52237
|
let r = !1;
|
|
@@ -52246,7 +52258,7 @@ var qa = {
|
|
|
52246
52258
|
duration: R7,
|
|
52247
52259
|
seekable: Qoe,
|
|
52248
52260
|
getMediaInfoForTime: Zoe,
|
|
52249
|
-
isEnabled:
|
|
52261
|
+
isEnabled: Xx,
|
|
52250
52262
|
isDisabled: Joe,
|
|
52251
52263
|
isExcluded: P7,
|
|
52252
52264
|
isIncompatible: qk,
|
|
@@ -53362,7 +53374,7 @@ const q7 = 0.25, ble = (t, e) => {
|
|
|
53362
53374
|
for (let a = 0; a < e.playlists.length; a++) {
|
|
53363
53375
|
const l = e.playlists[a];
|
|
53364
53376
|
if (l.sidx) {
|
|
53365
|
-
const h =
|
|
53377
|
+
const h = Ox(l.sidx);
|
|
53366
53378
|
n && n[h] && n[h].sidx && pk(l, n[h].sidx, l.sidx.resolvedUri);
|
|
53367
53379
|
}
|
|
53368
53380
|
const c = BA(i, l, _L);
|
|
@@ -53379,7 +53391,7 @@ const q7 = 0.25, ble = (t, e) => {
|
|
|
53379
53391
|
for (const r in t) {
|
|
53380
53392
|
const a = t[r].sidx;
|
|
53381
53393
|
if (a) {
|
|
53382
|
-
const l =
|
|
53394
|
+
const l = Ox(a);
|
|
53383
53395
|
if (!e[l])
|
|
53384
53396
|
break;
|
|
53385
53397
|
const c = e[l].sidxInfo;
|
|
@@ -53434,7 +53446,7 @@ class jA extends Dle {
|
|
|
53434
53446
|
* and if it can, get and parse that segment.
|
|
53435
53447
|
*/
|
|
53436
53448
|
addSidxSegments_(e, n, r) {
|
|
53437
|
-
const i = e.sidx &&
|
|
53449
|
+
const i = e.sidx && Ox(e.sidx);
|
|
53438
53450
|
if (!e.sidx || !i || this.mainPlaylistLoader_.sidxMapping_[i]) {
|
|
53439
53451
|
de.clearTimeout(this.mediaRequest_), this.mediaRequest_ = de.setTimeout(() => r(!1), 0);
|
|
53440
53452
|
return;
|
|
@@ -54873,8 +54885,8 @@ browserWorkerPolyFill(self);
|
|
|
54873
54885
|
return k.concat(L);
|
|
54874
54886
|
}, [])), C;
|
|
54875
54887
|
}, {});
|
|
54876
|
-
},
|
|
54877
|
-
if (!
|
|
54888
|
+
}, Pn, Tn = function() {
|
|
54889
|
+
if (!Pn) {
|
|
54878
54890
|
var y = {
|
|
54879
54891
|
96e3: [sn, [227, 64], Bt(154), [56]],
|
|
54880
54892
|
88200: [sn, [231], Bt(170), [56]],
|
|
@@ -54888,9 +54900,9 @@ browserWorkerPolyFill(self);
|
|
|
54888
54900
|
11025: [_n, Bt(268), [3, 127, 248], Bt(268), [6, 255, 240], Bt(268), [13, 255, 224], Bt(268), [27, 255, 192], Bt(268), [55, 175, 128], Bt(108), [112]],
|
|
54889
54901
|
8e3: [_n, Bt(268), [3, 121, 16], Bt(47), [7]]
|
|
54890
54902
|
};
|
|
54891
|
-
|
|
54903
|
+
Pn = Qt(y);
|
|
54892
54904
|
}
|
|
54893
|
-
return
|
|
54905
|
+
return Pn;
|
|
54894
54906
|
}, cr = 9e4, qr, di, Ln, Wr, Zi, vr, lt;
|
|
54895
54907
|
qr = function(y) {
|
|
54896
54908
|
return y * cr;
|
|
@@ -63765,7 +63777,7 @@ class ace extends Re.EventTarget {
|
|
|
63765
63777
|
return;
|
|
63766
63778
|
}
|
|
63767
63779
|
e.playlistErrors_++;
|
|
63768
|
-
const i = this.mainPlaylistLoader_.main.playlists, a = i.filter(
|
|
63780
|
+
const i = this.mainPlaylistLoader_.main.playlists, a = i.filter(Xx), l = a.length === 1 && a[0] === e;
|
|
63769
63781
|
if (i.length === 1 && r !== 1 / 0)
|
|
63770
63782
|
return Re.log.warn(`Problem encountered with playlist ${e.id}. Trying again since it is the only playlist.`), this.tech_.trigger("retryplaylist"), this.mainPlaylistLoader_.load(l);
|
|
63771
63783
|
if (l) {
|
|
@@ -64302,7 +64314,7 @@ class ace extends Re.EventTarget {
|
|
|
64302
64314
|
}
|
|
64303
64315
|
}
|
|
64304
64316
|
const oce = (t, e, n) => (r) => {
|
|
64305
|
-
const i = t.main.playlists[e], a = qk(i), l =
|
|
64317
|
+
const i = t.main.playlists[e], a = qk(i), l = Xx(i);
|
|
64306
64318
|
if (typeof r > "u")
|
|
64307
64319
|
return l;
|
|
64308
64320
|
r ? delete i.disabled : i.disabled = !0;
|
|
@@ -66000,7 +66012,7 @@ const Kce = (t) => QS(t) ? R9(t) ? t : "" : t, Xce = ({
|
|
|
66000
66012
|
return !0;
|
|
66001
66013
|
return !1;
|
|
66002
66014
|
};
|
|
66003
|
-
return
|
|
66015
|
+
return On(() => {
|
|
66004
66016
|
if (b && !i.current) {
|
|
66005
66017
|
const T = QS(b), D = !T && aie(b) === "audio", P = document.createElement("video-js");
|
|
66006
66018
|
P.classList.add("vjs-big-play-centered", "vjs-theme-city"), T ? P.classList.add("vjs-youtube") : D && P.classList.add("vjs-default-skin", "videojs-audio"), r.current && r.current.appendChild(P);
|
|
@@ -66119,7 +66131,7 @@ const Kce = (t) => QS(t) ? R9(t) ? t : "" : t, Xce = ({
|
|
|
66119
66131
|
c,
|
|
66120
66132
|
l,
|
|
66121
66133
|
m
|
|
66122
|
-
]),
|
|
66134
|
+
]), On(() => {
|
|
66123
66135
|
var D;
|
|
66124
66136
|
const T = i.current;
|
|
66125
66137
|
if ((D = T == null ? void 0 : T.textTracks()) != null && D.length && S(T), T && (t == null ? void 0 : t.length) !== 0) {
|
|
@@ -66129,7 +66141,7 @@ const Kce = (t) => QS(t) ? R9(t) ? t : "" : t, Xce = ({
|
|
|
66129
66141
|
const N = T.controlBar.getChild("SubsCapsButton").items[0].el().lastElementChild;
|
|
66130
66142
|
N && (N.innerHTML = jce);
|
|
66131
66143
|
}
|
|
66132
|
-
}, [t]),
|
|
66144
|
+
}, [t]), On(() => {
|
|
66133
66145
|
const T = i.current;
|
|
66134
66146
|
return () => {
|
|
66135
66147
|
T && !T.isDisposed() && (T.dispose(), i.current = null);
|
|
@@ -66425,13 +66437,13 @@ const YA = (t) => (e) => {
|
|
|
66425
66437
|
)
|
|
66426
66438
|
] });
|
|
66427
66439
|
}, $L = /* @__PURE__ */ new Set();
|
|
66428
|
-
function
|
|
66440
|
+
function Qx(t, e, n) {
|
|
66429
66441
|
t || $L.has(e) || (console.warn(e), $L.add(e));
|
|
66430
66442
|
}
|
|
66431
66443
|
function tde(t) {
|
|
66432
66444
|
if (typeof Proxy > "u")
|
|
66433
66445
|
return t;
|
|
66434
|
-
const e = /* @__PURE__ */ new Map(), n = (...r) => (process.env.NODE_ENV !== "production" &&
|
|
66446
|
+
const e = /* @__PURE__ */ new Map(), n = (...r) => (process.env.NODE_ENV !== "production" && Qx(!1, "motion() is deprecated. Use motion.create() instead."), t(...r));
|
|
66435
66447
|
return new Proxy(n, {
|
|
66436
66448
|
/**
|
|
66437
66449
|
* Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
|
|
@@ -66441,7 +66453,7 @@ function tde(t) {
|
|
|
66441
66453
|
get: (r, i) => i === "create" ? t : (e.has(i) || e.set(i, t(i)), e.get(i))
|
|
66442
66454
|
});
|
|
66443
66455
|
}
|
|
66444
|
-
function
|
|
66456
|
+
function Zx(t) {
|
|
66445
66457
|
return t !== null && typeof t == "object" && typeof t.start == "function";
|
|
66446
66458
|
}
|
|
66447
66459
|
const KA = (t) => Array.isArray(t);
|
|
@@ -66476,7 +66488,7 @@ function Kk(t, e, n, r) {
|
|
|
66476
66488
|
}
|
|
66477
66489
|
return e;
|
|
66478
66490
|
}
|
|
66479
|
-
function
|
|
66491
|
+
function Jx(t, e, n) {
|
|
66480
66492
|
const r = t.getProps();
|
|
66481
66493
|
return Kk(r, e, n !== void 0 ? n : r.custom, t);
|
|
66482
66494
|
}
|
|
@@ -66531,7 +66543,7 @@ const ode = {
|
|
|
66531
66543
|
skipAnimations: !1,
|
|
66532
66544
|
useManualTiming: !1
|
|
66533
66545
|
}, lde = (t) => t !== null;
|
|
66534
|
-
function
|
|
66546
|
+
function e2(t, { repeat: e, repeatType: n = "loop" }, r) {
|
|
66535
66547
|
const i = t.filter(lde), a = e && n !== "loop" && e % 2 === 1 ? 0 : i.length - 1;
|
|
66536
66548
|
return !a || r === void 0 ? i[a] : r;
|
|
66537
66549
|
}
|
|
@@ -67131,7 +67143,7 @@ class rV {
|
|
|
67131
67143
|
if (l)
|
|
67132
67144
|
this.options.duration = 0;
|
|
67133
67145
|
else {
|
|
67134
|
-
h == null || h(
|
|
67146
|
+
h == null || h(e2(e, this.options, n)), c == null || c(), this.resolveFinishedPromise();
|
|
67135
67147
|
return;
|
|
67136
67148
|
}
|
|
67137
67149
|
const m = this.initPlayback(e, n);
|
|
@@ -67620,7 +67632,7 @@ class cP extends rV {
|
|
|
67620
67632
|
let { done: H } = F;
|
|
67621
67633
|
!N && p !== null && (H = this.speed >= 0 ? this.currentTime >= m : this.currentTime <= 0);
|
|
67622
67634
|
const K = this.holdTime === null && (this.state === "finished" || this.state === "running" && H);
|
|
67623
|
-
return K && i !== void 0 && (F.value =
|
|
67635
|
+
return K && i !== void 0 && (F.value = e2(h, this.options, i)), D && D(F.value), K && this.finish(), F;
|
|
67624
67636
|
}
|
|
67625
67637
|
get duration() {
|
|
67626
67638
|
const { resolved: e } = this;
|
|
@@ -67795,7 +67807,7 @@ class i5 extends rV {
|
|
|
67795
67807
|
const b = Afe(h.owner.current, p, e, { ...this.options, duration: i, times: a, ease: l });
|
|
67796
67808
|
return b.startTime = m ?? this.calcStartTime(), this.pendingTimeline ? (r5(b, this.pendingTimeline), this.pendingTimeline = void 0) : b.onfinish = () => {
|
|
67797
67809
|
const { onComplete: w } = this.options;
|
|
67798
|
-
h.set(
|
|
67810
|
+
h.set(e2(e, this.options, n)), w && w(), this.cancel(), this.resolveFinishedPromise();
|
|
67799
67811
|
}, {
|
|
67800
67812
|
animation: b,
|
|
67801
67813
|
duration: i,
|
|
@@ -68023,7 +68035,7 @@ const fP = (t, e, n, r = {}, i, a) => (l) => {
|
|
|
68023
68035
|
}), m.duration && (m.duration = Bu(m.duration)), m.repeatDelay && (m.repeatDelay = Bu(m.repeatDelay)), m.from !== void 0 && (m.keyframes[0] = m.from);
|
|
68024
68036
|
let b = !1;
|
|
68025
68037
|
if ((m.type === !1 || m.duration === 0 && !m.repeatDelay) && (m.duration = 0, m.delay === 0 && (b = !0)), b && !a && e.get() !== void 0) {
|
|
68026
|
-
const w =
|
|
68038
|
+
const w = e2(m.keyframes, c);
|
|
68027
68039
|
if (w !== void 0)
|
|
68028
68040
|
return gr.update(() => {
|
|
68029
68041
|
m.onUpdate(w), m.onComplete();
|
|
@@ -68126,7 +68138,7 @@ class Vfe {
|
|
|
68126
68138
|
* @deprecated
|
|
68127
68139
|
*/
|
|
68128
68140
|
onChange(e) {
|
|
68129
|
-
return process.env.NODE_ENV !== "production" &&
|
|
68141
|
+
return process.env.NODE_ENV !== "production" && Qx(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
|
|
68130
68142
|
}
|
|
68131
68143
|
on(e, n) {
|
|
68132
68144
|
this.events[e] || (this.events[e] = new mP());
|
|
@@ -68265,7 +68277,7 @@ function $fe(t, e, n) {
|
|
|
68265
68277
|
t.hasValue(e) ? t.getValue(e).set(n) : t.addValue(e, Lb(n));
|
|
68266
68278
|
}
|
|
68267
68279
|
function jfe(t, e) {
|
|
68268
|
-
const n =
|
|
68280
|
+
const n = Jx(t, e);
|
|
68269
68281
|
let { transitionEnd: r = {}, transition: i = {}, ...a } = n || {};
|
|
68270
68282
|
a = { ...a, ...r };
|
|
68271
68283
|
for (const l in a) {
|
|
@@ -68323,7 +68335,7 @@ function vV(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
68323
68335
|
}
|
|
68324
68336
|
function sR(t, e, n = {}) {
|
|
68325
68337
|
var r;
|
|
68326
|
-
const i =
|
|
68338
|
+
const i = Jx(t, e, n.type === "exit" ? (r = t.presenceContext) === null || r === void 0 ? void 0 : r.custom : void 0);
|
|
68327
68339
|
let { transition: a = t.getDefaultTransition() || {} } = i || {};
|
|
68328
68340
|
n.transitionOverride && (a = n.transitionOverride);
|
|
68329
68341
|
const l = i ? () => Promise.all(vV(t, i, n)) : () => Promise.resolve(), c = t.variantChildren && t.variantChildren.size ? (p = 0) => {
|
|
@@ -68357,7 +68369,7 @@ function Yfe(t, e, n = {}) {
|
|
|
68357
68369
|
} else if (typeof e == "string")
|
|
68358
68370
|
r = sR(t, e, n);
|
|
68359
68371
|
else {
|
|
68360
|
-
const i = typeof e == "function" ?
|
|
68372
|
+
const i = typeof e == "function" ? Jx(t, e, n.custom) : e;
|
|
68361
68373
|
r = Promise.all(vV(t, i, n));
|
|
68362
68374
|
}
|
|
68363
68375
|
return r.then(() => {
|
|
@@ -68387,7 +68399,7 @@ function Jfe(t) {
|
|
|
68387
68399
|
let e = Zfe(t), n = a5(), r = !0;
|
|
68388
68400
|
const i = (h) => (p, m) => {
|
|
68389
68401
|
var b;
|
|
68390
|
-
const w =
|
|
68402
|
+
const w = Jx(t, m, h === "exit" ? (b = t.presenceContext) === null || b === void 0 ? void 0 : b.custom : void 0);
|
|
68391
68403
|
if (w) {
|
|
68392
68404
|
const { transition: S, transitionEnd: A, ...T } = w;
|
|
68393
68405
|
p = { ...p, ...T, ...A };
|
|
@@ -68407,7 +68419,7 @@ function Jfe(t) {
|
|
|
68407
68419
|
if (H && r && t.manuallyAnimateOnMount && (H = !1), N.protectedKeys = { ...S }, // If it isn't active and hasn't *just* been set as inactive
|
|
68408
68420
|
!N.isActive && F === null || // If we didn't and don't have any defined prop for this animation type
|
|
68409
68421
|
!M && !N.prevProp || // Or if the prop doesn't define an animation
|
|
68410
|
-
|
|
68422
|
+
Zx(M) || typeof M == "boolean")
|
|
68411
68423
|
continue;
|
|
68412
68424
|
const K = ehe(N.prevProp, M);
|
|
68413
68425
|
let Z = K || // If we're making this variant active, we want to always make it active
|
|
@@ -68509,7 +68521,7 @@ class the extends qf {
|
|
|
68509
68521
|
}
|
|
68510
68522
|
updateAnimationControlsSubscription() {
|
|
68511
68523
|
const { animate: e } = this.node.getProps();
|
|
68512
|
-
|
|
68524
|
+
Zx(e) && (this.unmountControls = e.subscribe(this.node));
|
|
68513
68525
|
}
|
|
68514
68526
|
/**
|
|
68515
68527
|
* Subscribe any provided AnimationControls to the component's VisualElement
|
|
@@ -69216,7 +69228,7 @@ function Fhe() {
|
|
|
69216
69228
|
if (t === null)
|
|
69217
69229
|
return [!0, null];
|
|
69218
69230
|
const { isPresent: e, onExitComplete: n, register: r } = t, i = TX();
|
|
69219
|
-
|
|
69231
|
+
On(() => r(i), []);
|
|
69220
69232
|
const a = ja(() => n && n(i), [i, n]);
|
|
69221
69233
|
return !e && n ? [!1, a] : [!0];
|
|
69222
69234
|
}
|
|
@@ -70233,10 +70245,10 @@ const Mpe = {
|
|
|
70233
70245
|
transformPagePoint: (t) => t,
|
|
70234
70246
|
isStatic: !1,
|
|
70235
70247
|
reducedMotion: "never"
|
|
70236
|
-
}),
|
|
70248
|
+
}), t2 = Iv({}), _P = typeof window < "u", Ipe = _P ? G8 : On, HV = Iv({ strict: !1 });
|
|
70237
70249
|
function Lpe(t, e, n, r, i) {
|
|
70238
70250
|
var a, l;
|
|
70239
|
-
const { visualElement: c } = za(
|
|
70251
|
+
const { visualElement: c } = za(t2), h = za(HV), p = za(yP), m = za(jV).reducedMotion, b = Ti(null);
|
|
70240
70252
|
r = r || h.renderer, !b.current && r && (b.current = r(t, {
|
|
70241
70253
|
visualState: e,
|
|
70242
70254
|
parent: c,
|
|
@@ -70254,7 +70266,7 @@ function Lpe(t, e, n, r, i) {
|
|
|
70254
70266
|
const T = n[mV], D = Ti(!!T && !(!((a = window.MotionHandoffIsComplete) === null || a === void 0) && a.call(window, T)) && ((l = window.MotionHasOptimisedAnimation) === null || l === void 0 ? void 0 : l.call(window, T)));
|
|
70255
70267
|
return Ipe(() => {
|
|
70256
70268
|
w && (A.current = !0, window.MotionIsMounted = !0, w.updateFeatures(), bP.render(w.render), D.current && w.animationState && w.animationState.animateChanges());
|
|
70257
|
-
}),
|
|
70269
|
+
}), On(() => {
|
|
70258
70270
|
w && (!D.current && w.animationState && w.animationState.animateChanges(), D.current && (queueMicrotask(() => {
|
|
70259
70271
|
var P;
|
|
70260
70272
|
(P = window.MotionHandoffMarkAsComplete) === null || P === void 0 || P.call(window, T);
|
|
@@ -70298,14 +70310,14 @@ function Bpe(t, e, n) {
|
|
|
70298
70310
|
[e]
|
|
70299
70311
|
);
|
|
70300
70312
|
}
|
|
70301
|
-
function
|
|
70302
|
-
return
|
|
70313
|
+
function n2(t) {
|
|
70314
|
+
return Zx(t.animate) || Qk.some((e) => Mb(t[e]));
|
|
70303
70315
|
}
|
|
70304
70316
|
function qV(t) {
|
|
70305
|
-
return !!(
|
|
70317
|
+
return !!(n2(t) || t.variants);
|
|
70306
70318
|
}
|
|
70307
70319
|
function Upe(t, e) {
|
|
70308
|
-
if (
|
|
70320
|
+
if (n2(t)) {
|
|
70309
70321
|
const { initial: n, animate: r } = t;
|
|
70310
70322
|
return {
|
|
70311
70323
|
initial: n === !1 || Mb(n) ? n : void 0,
|
|
@@ -70315,7 +70327,7 @@ function Upe(t, e) {
|
|
|
70315
70327
|
return t.inherit !== !1 ? e : {};
|
|
70316
70328
|
}
|
|
70317
70329
|
function Vpe(t) {
|
|
70318
|
-
const { initial: e, animate: n } = Upe(t, za(
|
|
70330
|
+
const { initial: e, animate: n } = Upe(t, za(t2));
|
|
70319
70331
|
return lr(() => ({ initial: e, animate: n }), [Q5(e), Q5(n)]);
|
|
70320
70332
|
}
|
|
70321
70333
|
function Q5(t) {
|
|
@@ -70367,7 +70379,7 @@ function Hpe({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVi
|
|
|
70367
70379
|
const A = Wpe(m);
|
|
70368
70380
|
p = A.MeasureLayout, w.visualElement = Lpe(i, S, m, e, A.ProjectionNode);
|
|
70369
70381
|
}
|
|
70370
|
-
return ht(
|
|
70382
|
+
return ht(t2.Provider, { value: w, children: [p && w.visualElement ? z(p, { visualElement: w.visualElement, ...m }) : null, n(i, c, Bpe(S, w.visualElement, h), S, b, w.visualElement)] });
|
|
70371
70383
|
}
|
|
70372
70384
|
const l = Il(a);
|
|
70373
70385
|
return l[jpe] = i, l;
|
|
@@ -70506,7 +70518,7 @@ function Kpe({ scrapeMotionValuesFromProps: t, createRenderState: e, onMount: n
|
|
|
70506
70518
|
return n && (l.mount = (c) => n(r, c, l)), l;
|
|
70507
70519
|
}
|
|
70508
70520
|
const QV = (t) => (e, n) => {
|
|
70509
|
-
const r = za(
|
|
70521
|
+
const r = za(t2), i = za(yP), a = () => Kpe(t, e, r, i);
|
|
70510
70522
|
return n ? a() : Ype(a);
|
|
70511
70523
|
};
|
|
70512
70524
|
function Xpe(t, e, n, r) {
|
|
@@ -70514,12 +70526,12 @@ function Xpe(t, e, n, r) {
|
|
|
70514
70526
|
for (const w in a)
|
|
70515
70527
|
i[w] = yS(a[w]);
|
|
70516
70528
|
let { initial: l, animate: c } = t;
|
|
70517
|
-
const h =
|
|
70529
|
+
const h = n2(t), p = qV(t);
|
|
70518
70530
|
e && p && !h && t.inherit !== !1 && (l === void 0 && (l = e.initial), c === void 0 && (c = e.animate));
|
|
70519
70531
|
let m = n ? n.initial === !1 : !1;
|
|
70520
70532
|
m = m || l === !1;
|
|
70521
70533
|
const b = m ? c : l;
|
|
70522
|
-
if (b && typeof b != "boolean" && !
|
|
70534
|
+
if (b && typeof b != "boolean" && !Zx(b)) {
|
|
70523
70535
|
const w = Array.isArray(b) ? b : [b];
|
|
70524
70536
|
for (let S = 0; S < w.length; S++) {
|
|
70525
70537
|
const A = Kk(t, w[S]);
|
|
@@ -70778,7 +70790,7 @@ function gme(t, e, n) {
|
|
|
70778
70790
|
for (const r in e) {
|
|
70779
70791
|
const i = e[r], a = n[r];
|
|
70780
70792
|
if (Fs(i))
|
|
70781
|
-
t.addValue(r, i), process.env.NODE_ENV === "development" &&
|
|
70793
|
+
t.addValue(r, i), process.env.NODE_ENV === "development" && Qx(i.version === "11.15.0", `Attempting to mix Motion versions ${i.version} with 11.15.0 may not work as expected.`);
|
|
70782
70794
|
else if (Fs(a))
|
|
70783
70795
|
t.addValue(r, Lb(i, { owner: t }));
|
|
70784
70796
|
else if (a !== i)
|
|
@@ -70822,7 +70834,7 @@ class bme {
|
|
|
70822
70834
|
this.renderScheduledAt < w && (this.renderScheduledAt = w, gr.render(this.render, !1, !0));
|
|
70823
70835
|
};
|
|
70824
70836
|
const { latestValues: h, renderState: p } = l;
|
|
70825
|
-
this.latestValues = h, this.baseTarget = { ...h }, this.initialValues = n.initial ? { ...h } : {}, this.renderState = p, this.parent = e, this.props = n, this.presenceContext = r, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = i, this.options = c, this.blockInitialAnimation = !!a, this.isControllingVariants =
|
|
70837
|
+
this.latestValues = h, this.baseTarget = { ...h }, this.initialValues = n.initial ? { ...h } : {}, this.renderState = p, this.parent = e, this.props = n, this.presenceContext = r, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = i, this.options = c, this.blockInitialAnimation = !!a, this.isControllingVariants = n2(n), this.isVariantNode = qV(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
|
|
70826
70838
|
const { willChange: m, ...b } = this.scrapeMotionValuesFromProps(n, {}, this);
|
|
70827
70839
|
for (const w in b) {
|
|
70828
70840
|
const S = b[w];
|
|
@@ -70830,7 +70842,7 @@ class bme {
|
|
|
70830
70842
|
}
|
|
70831
70843
|
}
|
|
70832
70844
|
mount(e) {
|
|
70833
|
-
this.current = e, e8.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), n$.current || mme(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : cR.current, process.env.NODE_ENV !== "production" &&
|
|
70845
|
+
this.current = e, e8.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), n$.current || mme(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : cR.current, process.env.NODE_ENV !== "production" && Qx(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
|
|
70834
70846
|
}
|
|
70835
70847
|
unmount() {
|
|
70836
70848
|
e8.delete(this.current), this.projection && this.projection.unmount(), Ff(this.notifyUpdate), Ff(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
|
|
@@ -71341,7 +71353,7 @@ const VD = !0, $D = (t) => `Do you want to ${t} this clip?`, jD = "You cannot un
|
|
|
71341
71353
|
// NEW
|
|
71342
71354
|
userToken: A
|
|
71343
71355
|
}, T) => {
|
|
71344
|
-
const { refreshTrimmedDirectory: D, refreshTrimmedClips: P } = FR(), { setAlertDialog: N } =
|
|
71356
|
+
const { refreshTrimmedDirectory: D, refreshTrimmedClips: P } = FR(), { setAlertDialog: N } = Tx(), { processClip: M, reprocessClip: j, deleteClip: F } = IR(), { videoMetadata: H } = wx(), K = async () => {
|
|
71345
71357
|
try {
|
|
71346
71358
|
await (F == null ? void 0 : F({
|
|
71347
71359
|
clip_id: t,
|
|
@@ -71585,7 +71597,7 @@ const Bme = "data:image/svg+xml,%3csvg%20width='11'%20height='16'%20viewBox='0%2
|
|
|
71585
71597
|
setTranscript: w,
|
|
71586
71598
|
setTranscriptId: S
|
|
71587
71599
|
}) => {
|
|
71588
|
-
const { refreshTrimmedClips: A, refreshTrimmedDirectory: T } = FR(), { videoIsReady: D } = Ii(), { focusTrimmedClip: P, setFocusTrimmedClip: N } = RR(), { setAlertDialog: M } =
|
|
71600
|
+
const { refreshTrimmedClips: A, refreshTrimmedDirectory: T } = FR(), { videoIsReady: D } = Ii(), { focusTrimmedClip: P, setFocusTrimmedClip: N } = RR(), { setAlertDialog: M } = Tx(), { trimmedClips: j } = Lv(), { mainFilePath: F } = BR(), { getTrimmedClip: H } = IR(), K = Ti(null), Z = Ti(null), [q, W] = kn(!1), [se, ae] = kn(!1), [pe, le] = kn(i), [_e] = kn(p), [ve, he] = kn(!1), [oe, re] = kn(!1), [te, ce] = kn(!1);
|
|
71589
71601
|
let we = () => {
|
|
71590
71602
|
};
|
|
71591
71603
|
const Oe = Ar(
|
|
@@ -71597,12 +71609,12 @@ const Bme = "data:image/svg+xml,%3csvg%20width='11'%20height='16'%20viewBox='0%2
|
|
|
71597
71609
|
(p == null ? void 0 : p.map((Ne) => ({ ...Ne, headstart: n }))) || []
|
|
71598
71610
|
), S && S(t);
|
|
71599
71611
|
};
|
|
71600
|
-
|
|
71612
|
+
On(() => {
|
|
71601
71613
|
Me <= 250 ? ae(!0) : ae(!1);
|
|
71602
|
-
}, [Me, n, r]),
|
|
71614
|
+
}, [Me, n, r]), On(() => {
|
|
71603
71615
|
var Ne;
|
|
71604
71616
|
P && P === t ? (W(!0), (Ne = K.current) == null || Ne.focus()) : W(!1);
|
|
71605
|
-
}, [P]),
|
|
71617
|
+
}, [P]), On(() => (we = async () => {
|
|
71606
71618
|
var Ne;
|
|
71607
71619
|
try {
|
|
71608
71620
|
const Ge = await (H == null ? void 0 : H({
|
|
@@ -71853,7 +71865,7 @@ const Bme = "data:image/svg+xml,%3csvg%20width='11'%20height='16'%20viewBox='0%2
|
|
|
71853
71865
|
userToken: a
|
|
71854
71866
|
}) => {
|
|
71855
71867
|
var P;
|
|
71856
|
-
const { zoomSize: l } =
|
|
71868
|
+
const { zoomSize: l } = xx(), { trimmerStamp: c } = i6(), { trimmedClips: h } = Lv(), { videoMetadata: p } = wx(), { mergedSelectedInfo: m, setMergedSelectedInfo: b } = M6(), { setAlertDialog: w } = Tx(), { reprocessMerge: S, getMergedInfo: A } = b$(), T = async () => {
|
|
71857
71869
|
try {
|
|
71858
71870
|
await S({
|
|
71859
71871
|
merge_id: m == null ? void 0 : m._id,
|
|
@@ -71870,7 +71882,7 @@ const Bme = "data:image/svg+xml,%3csvg%20width='11'%20height='16'%20viewBox='0%2
|
|
|
71870
71882
|
};
|
|
71871
71883
|
let D = () => {
|
|
71872
71884
|
};
|
|
71873
|
-
return
|
|
71885
|
+
return On(() => (D = async () => {
|
|
71874
71886
|
var N, M, j, F, H, K;
|
|
71875
71887
|
if (m)
|
|
71876
71888
|
try {
|
|
@@ -71895,7 +71907,7 @@ const Bme = "data:image/svg+xml,%3csvg%20width='11'%20height='16'%20viewBox='0%2
|
|
|
71895
71907
|
}, m && !m.redirect_url && D(), () => {
|
|
71896
71908
|
D = () => {
|
|
71897
71909
|
};
|
|
71898
|
-
}), [m == null ? void 0 : m.process_status]),
|
|
71910
|
+
}), [m == null ? void 0 : m.process_status]), On(() => {
|
|
71899
71911
|
var N;
|
|
71900
71912
|
(m == null ? void 0 : m.process_status) === "error" || (N = m == null ? void 0 : m.process_status) != null && N.includes("error") ? kl({
|
|
71901
71913
|
title: m.process_status.split("_").join(" "),
|
|
@@ -72969,7 +72981,7 @@ const Yme = ({
|
|
|
72969
72981
|
const m = e < 15 ? 3 : e < 30 ? 2 : e < 50 ? 1 : 0;
|
|
72970
72982
|
return t[m];
|
|
72971
72983
|
}, [e, t]);
|
|
72972
|
-
return
|
|
72984
|
+
return On(() => {
|
|
72973
72985
|
if (!p) return;
|
|
72974
72986
|
const m = new Image();
|
|
72975
72987
|
return m.src = p, a(!0), c(!1), m.onload = () => {
|
|
@@ -73680,7 +73692,7 @@ const dge = function(t) {
|
|
|
73680
73692
|
}
|
|
73681
73693
|
};
|
|
73682
73694
|
};
|
|
73683
|
-
function
|
|
73695
|
+
function r2() {
|
|
73684
73696
|
return typeof window < "u";
|
|
73685
73697
|
}
|
|
73686
73698
|
function Qv(t) {
|
|
@@ -73695,16 +73707,16 @@ function Gu(t) {
|
|
|
73695
73707
|
return (e = (x$(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
73696
73708
|
}
|
|
73697
73709
|
function x$(t) {
|
|
73698
|
-
return
|
|
73710
|
+
return r2() ? t instanceof Node || t instanceof po(t).Node : !1;
|
|
73699
73711
|
}
|
|
73700
73712
|
function Ml(t) {
|
|
73701
|
-
return
|
|
73713
|
+
return r2() ? t instanceof Element || t instanceof po(t).Element : !1;
|
|
73702
73714
|
}
|
|
73703
73715
|
function qu(t) {
|
|
73704
|
-
return
|
|
73716
|
+
return r2() ? t instanceof HTMLElement || t instanceof po(t).HTMLElement : !1;
|
|
73705
73717
|
}
|
|
73706
73718
|
function c8(t) {
|
|
73707
|
-
return !
|
|
73719
|
+
return !r2() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof po(t).ShadowRoot;
|
|
73708
73720
|
}
|
|
73709
73721
|
function s1(t) {
|
|
73710
73722
|
const {
|
|
@@ -73718,7 +73730,7 @@ function s1(t) {
|
|
|
73718
73730
|
function mge(t) {
|
|
73719
73731
|
return ["table", "td", "th"].includes(Qv(t));
|
|
73720
73732
|
}
|
|
73721
|
-
function
|
|
73733
|
+
function i2(t) {
|
|
73722
73734
|
return [":popover-open", ":modal"].some((e) => {
|
|
73723
73735
|
try {
|
|
73724
73736
|
return t.matches(e);
|
|
@@ -73736,7 +73748,7 @@ function gge(t) {
|
|
|
73736
73748
|
for (; qu(e) && !Ov(e); ) {
|
|
73737
73749
|
if (OP(e))
|
|
73738
73750
|
return e;
|
|
73739
|
-
if (
|
|
73751
|
+
if (i2(e))
|
|
73740
73752
|
return null;
|
|
73741
73753
|
e = $f(e);
|
|
73742
73754
|
}
|
|
@@ -73751,7 +73763,7 @@ function Ov(t) {
|
|
|
73751
73763
|
function Nl(t) {
|
|
73752
73764
|
return po(t).getComputedStyle(t);
|
|
73753
73765
|
}
|
|
73754
|
-
function
|
|
73766
|
+
function s2(t) {
|
|
73755
73767
|
return Ml(t) ? {
|
|
73756
73768
|
scrollLeft: t.scrollLeft,
|
|
73757
73769
|
scrollTop: t.scrollTop
|
|
@@ -73851,7 +73863,7 @@ function Mp(t, e, n, r) {
|
|
|
73851
73863
|
});
|
|
73852
73864
|
}
|
|
73853
73865
|
function IP(t, e) {
|
|
73854
|
-
const n =
|
|
73866
|
+
const n = s2(t).scrollLeft;
|
|
73855
73867
|
return e ? e.left + n : Mp(Gu(t)).left + n;
|
|
73856
73868
|
}
|
|
73857
73869
|
function D$(t, e, n) {
|
|
@@ -73872,7 +73884,7 @@ function bge(t) {
|
|
|
73872
73884
|
offsetParent: r,
|
|
73873
73885
|
strategy: i
|
|
73874
73886
|
} = t;
|
|
73875
|
-
const a = i === "fixed", l = Gu(r), c = e ?
|
|
73887
|
+
const a = i === "fixed", l = Gu(r), c = e ? i2(e.floating) : !1;
|
|
73876
73888
|
if (r === l || c && a)
|
|
73877
73889
|
return n;
|
|
73878
73890
|
let h = {
|
|
@@ -73880,7 +73892,7 @@ function bge(t) {
|
|
|
73880
73892
|
scrollTop: 0
|
|
73881
73893
|
}, p = $u(1);
|
|
73882
73894
|
const m = $u(0), b = qu(r);
|
|
73883
|
-
if ((b || !b && !a) && ((Qv(r) !== "body" || s1(l)) && (h =
|
|
73895
|
+
if ((b || !b && !a) && ((Qv(r) !== "body" || s1(l)) && (h = s2(r)), qu(r))) {
|
|
73884
73896
|
const S = Mp(r);
|
|
73885
73897
|
p = dv(r), m.x = S.x + r.clientLeft, m.y = S.y + r.clientTop;
|
|
73886
73898
|
}
|
|
@@ -73896,7 +73908,7 @@ function _ge(t) {
|
|
|
73896
73908
|
return Array.from(t.getClientRects());
|
|
73897
73909
|
}
|
|
73898
73910
|
function Tge(t) {
|
|
73899
|
-
const e = Gu(t), n =
|
|
73911
|
+
const e = Gu(t), n = s2(t), r = t.ownerDocument.body, i = fo(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), a = fo(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
|
|
73900
73912
|
let l = -n.scrollLeft + IP(t);
|
|
73901
73913
|
const c = -n.scrollTop;
|
|
73902
73914
|
return Nl(r).direction === "rtl" && (l += fo(e.clientWidth, r.clientWidth) - i), {
|
|
@@ -73973,7 +73985,7 @@ function Cge(t) {
|
|
|
73973
73985
|
rootBoundary: r,
|
|
73974
73986
|
strategy: i
|
|
73975
73987
|
} = t;
|
|
73976
|
-
const l = [...n === "clippingAncestors" ?
|
|
73988
|
+
const l = [...n === "clippingAncestors" ? i2(e) ? [] : wge(e, this._c) : [].concat(n), r], c = l[0], h = l.reduce((p, m) => {
|
|
73977
73989
|
const b = d8(e, m, i);
|
|
73978
73990
|
return p.top = fo(b.top, p.top), p.right = Uf(b.right, p.right), p.bottom = Uf(b.bottom, p.bottom), p.left = fo(b.left, p.left), p;
|
|
73979
73991
|
}, d8(e, c, i));
|
|
@@ -74002,7 +74014,7 @@ function Dge(t, e, n) {
|
|
|
74002
74014
|
};
|
|
74003
74015
|
const h = $u(0);
|
|
74004
74016
|
if (r || !r && !a)
|
|
74005
|
-
if ((Qv(e) !== "body" || s1(i)) && (c =
|
|
74017
|
+
if ((Qv(e) !== "body" || s1(i)) && (c = s2(e)), r) {
|
|
74006
74018
|
const w = Mp(e, !0, a, e);
|
|
74007
74019
|
h.x = w.x + e.clientLeft, h.y = w.y + e.clientTop;
|
|
74008
74020
|
} else i && (h.x = IP(i));
|
|
@@ -74027,7 +74039,7 @@ function f8(t, e) {
|
|
|
74027
74039
|
}
|
|
74028
74040
|
function R$(t, e) {
|
|
74029
74041
|
const n = po(t);
|
|
74030
|
-
if (
|
|
74042
|
+
if (i2(t))
|
|
74031
74043
|
return n;
|
|
74032
74044
|
if (!qu(t)) {
|
|
74033
74045
|
let i = $f(t);
|
|
@@ -74168,7 +74180,7 @@ const Oge = dge, Mge = fge, Nge = lge, Ige = pge, Lge = uge, h8 = oge, Fge = hge
|
|
|
74168
74180
|
platform: a
|
|
74169
74181
|
});
|
|
74170
74182
|
};
|
|
74171
|
-
var bS = typeof document < "u" ? G8 :
|
|
74183
|
+
var bS = typeof document < "u" ? G8 : On;
|
|
74172
74184
|
function lx(t, e) {
|
|
74173
74185
|
if (t === e)
|
|
74174
74186
|
return !0;
|
|
@@ -74373,7 +74385,7 @@ var Vge = "Arrow", $$ = B.forwardRef((t, e) => {
|
|
|
74373
74385
|
);
|
|
74374
74386
|
});
|
|
74375
74387
|
$$.displayName = Vge;
|
|
74376
|
-
var $ge = $$, LP = "Popper", [j$,
|
|
74388
|
+
var $ge = $$, LP = "Popper", [j$, a2] = Hf(LP), [jge, H$] = j$(LP), z$ = (t) => {
|
|
74377
74389
|
const { __scopePopper: e, children: n } = t, [r, i] = B.useState(null);
|
|
74378
74390
|
return /* @__PURE__ */ z(jge, { scope: e, anchor: r, onAnchorChange: i, children: n });
|
|
74379
74391
|
};
|
|
@@ -74570,9 +74582,9 @@ function X$(t) {
|
|
|
74570
74582
|
const [e, n = "center"] = t.split("-");
|
|
74571
74583
|
return [e, n];
|
|
74572
74584
|
}
|
|
74573
|
-
var Q$ = z$, Z$ = W$, J$ = G$, ej = K$, [
|
|
74574
|
-
|
|
74575
|
-
]),
|
|
74585
|
+
var Q$ = z$, Z$ = W$, J$ = G$, ej = K$, [o2, y_e] = Hf("Tooltip", [
|
|
74586
|
+
a2
|
|
74587
|
+
]), l2 = a2(), tj = "TooltipProvider", Yge = 700, pR = "tooltip.open", [Kge, BP] = o2(tj), nj = (t) => {
|
|
74576
74588
|
const {
|
|
74577
74589
|
__scopeTooltip: e,
|
|
74578
74590
|
delayDuration: n = Yge,
|
|
@@ -74608,7 +74620,7 @@ var Q$ = z$, Z$ = W$, J$ = G$, ej = K$, [a2, y_e] = Hf("Tooltip", [
|
|
|
74608
74620
|
);
|
|
74609
74621
|
};
|
|
74610
74622
|
nj.displayName = tj;
|
|
74611
|
-
var
|
|
74623
|
+
var u2 = "Tooltip", [Xge, a1] = o2(u2), rj = (t) => {
|
|
74612
74624
|
const {
|
|
74613
74625
|
__scopeTooltip: e,
|
|
74614
74626
|
children: n,
|
|
@@ -74617,7 +74629,7 @@ var l2 = "Tooltip", [Xge, a1] = a2(l2), rj = (t) => {
|
|
|
74617
74629
|
onOpenChange: a,
|
|
74618
74630
|
disableHoverableContent: l,
|
|
74619
74631
|
delayDuration: c
|
|
74620
|
-
} = t, h = BP(
|
|
74632
|
+
} = t, h = BP(u2, t.__scopeTooltip), p = l2(e), [m, b] = B.useState(null), w = xp(), S = B.useRef(0), A = l ?? h.disableHoverableContent, T = c ?? h.delayDuration, D = B.useRef(!1), [P = !1, N] = mv({
|
|
74621
74633
|
prop: r,
|
|
74622
74634
|
defaultProp: i,
|
|
74623
74635
|
onChange: (K) => {
|
|
@@ -74656,10 +74668,10 @@ var l2 = "Tooltip", [Xge, a1] = a2(l2), rj = (t) => {
|
|
|
74656
74668
|
}
|
|
74657
74669
|
) });
|
|
74658
74670
|
};
|
|
74659
|
-
rj.displayName =
|
|
74671
|
+
rj.displayName = u2;
|
|
74660
74672
|
var mR = "TooltipTrigger", ij = B.forwardRef(
|
|
74661
74673
|
(t, e) => {
|
|
74662
|
-
const { __scopeTooltip: n, ...r } = t, i = a1(mR, n), a = BP(mR, n), l =
|
|
74674
|
+
const { __scopeTooltip: n, ...r } = t, i = a1(mR, n), a = BP(mR, n), l = l2(n), c = B.useRef(null), h = Wn(e, c, i.onTriggerChange), p = B.useRef(!1), m = B.useRef(!1), b = B.useCallback(() => p.current = !1, []);
|
|
74663
74675
|
return B.useEffect(() => () => document.removeEventListener("pointerup", b), [b]), /* @__PURE__ */ z(Z$, { asChild: !0, ...l, children: /* @__PURE__ */ z(
|
|
74664
74676
|
wn.button,
|
|
74665
74677
|
{
|
|
@@ -74686,7 +74698,7 @@ var mR = "TooltipTrigger", ij = B.forwardRef(
|
|
|
74686
74698
|
}
|
|
74687
74699
|
);
|
|
74688
74700
|
ij.displayName = mR;
|
|
74689
|
-
var UP = "TooltipPortal", [Qge, Zge] =
|
|
74701
|
+
var UP = "TooltipPortal", [Qge, Zge] = o2(UP, {
|
|
74690
74702
|
forceMount: void 0
|
|
74691
74703
|
}), sj = (t) => {
|
|
74692
74704
|
const { __scopeTooltip: e, forceMount: n, children: r, container: i } = t, a = a1(UP, e);
|
|
@@ -74724,7 +74736,7 @@ var Mv = "TooltipContent", aj = B.forwardRef(
|
|
|
74724
74736
|
return document.addEventListener("pointermove", A), () => document.removeEventListener("pointermove", A);
|
|
74725
74737
|
}
|
|
74726
74738
|
}, [h, m, l, p, w]), /* @__PURE__ */ z(oj, { ...t, ref: a });
|
|
74727
|
-
}), [eve, tve] =
|
|
74739
|
+
}), [eve, tve] = o2(u2, { isInside: !1 }), oj = B.forwardRef(
|
|
74728
74740
|
(t, e) => {
|
|
74729
74741
|
const {
|
|
74730
74742
|
__scopeTooltip: n,
|
|
@@ -74733,7 +74745,7 @@ var Mv = "TooltipContent", aj = B.forwardRef(
|
|
|
74733
74745
|
onEscapeKeyDown: a,
|
|
74734
74746
|
onPointerDownOutside: l,
|
|
74735
74747
|
...c
|
|
74736
|
-
} = t, h = a1(Mv, n), p =
|
|
74748
|
+
} = t, h = a1(Mv, n), p = l2(n), { onClose: m } = h;
|
|
74737
74749
|
return B.useEffect(() => (document.addEventListener(pR, m), () => document.removeEventListener(pR, m)), [m]), B.useEffect(() => {
|
|
74738
74750
|
if (h.trigger) {
|
|
74739
74751
|
const b = (w) => {
|
|
@@ -74743,7 +74755,7 @@ var Mv = "TooltipContent", aj = B.forwardRef(
|
|
|
74743
74755
|
return window.addEventListener("scroll", b, { capture: !0 }), () => window.removeEventListener("scroll", b, { capture: !0 });
|
|
74744
74756
|
}
|
|
74745
74757
|
}, [h.trigger, m]), /* @__PURE__ */ z(
|
|
74746
|
-
|
|
74758
|
+
Cx,
|
|
74747
74759
|
{
|
|
74748
74760
|
asChild: !0,
|
|
74749
74761
|
disableOutsidePointerEvents: !1,
|
|
@@ -74779,7 +74791,7 @@ var Mv = "TooltipContent", aj = B.forwardRef(
|
|
|
74779
74791
|
aj.displayName = Mv;
|
|
74780
74792
|
var lj = "TooltipArrow", nve = B.forwardRef(
|
|
74781
74793
|
(t, e) => {
|
|
74782
|
-
const { __scopeTooltip: n, ...r } = t, i =
|
|
74794
|
+
const { __scopeTooltip: n, ...r } = t, i = l2(n);
|
|
74783
74795
|
return tve(
|
|
74784
74796
|
lj,
|
|
74785
74797
|
n
|
|
@@ -74905,7 +74917,7 @@ const gve = (t, e, n = 30) => {
|
|
|
74905
74917
|
);
|
|
74906
74918
|
}, vve = ({ transcript: t, index: e }) => {
|
|
74907
74919
|
var w;
|
|
74908
|
-
const { zoomSize: n } =
|
|
74920
|
+
const { zoomSize: n } = xx(), { setVideoCurrentTime: r, playerRef: i } = Ii(), [a, l] = kn(
|
|
74909
74921
|
Ar(
|
|
74910
74922
|
"00:00:000",
|
|
74911
74923
|
t.timestamp_start,
|
|
@@ -74921,7 +74933,7 @@ const gve = (t, e, n = 30) => {
|
|
|
74921
74933
|
),
|
|
74922
74934
|
[t.timestamp_start, t.timestamp_end, n]
|
|
74923
74935
|
), [m, b] = kn(p - 35);
|
|
74924
|
-
return
|
|
74936
|
+
return On(() => {
|
|
74925
74937
|
l(
|
|
74926
74938
|
Ar(
|
|
74927
74939
|
"00:00:000",
|
|
@@ -75046,7 +75058,7 @@ const gve = (t, e, n = 30) => {
|
|
|
75046
75058
|
Pt(r) + Pt(n)
|
|
75047
75059
|
);
|
|
75048
75060
|
}, bve = () => {
|
|
75049
|
-
const { zoomSize: t } =
|
|
75061
|
+
const { zoomSize: t } = xx(), { videoCurrentTime: e, videoDuration: n } = Ii(), { closeCaptionDetails: r } = hv(), i = lr(
|
|
75050
75062
|
() => n6(n),
|
|
75051
75063
|
[n]
|
|
75052
75064
|
), a = (m) => {
|
|
@@ -75193,7 +75205,7 @@ const gve = (t, e, n = 30) => {
|
|
|
75193
75205
|
zoomSize: F,
|
|
75194
75206
|
setZoomSize: H,
|
|
75195
75207
|
resetZoomSize: K
|
|
75196
|
-
} =
|
|
75208
|
+
} = xx(), { trimmedClips: Z } = Lv(), { waveForm: q } = hv(), { waveformShow: W, ccShow: se, thumbnailsShow: ae } = k9(), pe = lr(
|
|
75197
75209
|
() => n6(T),
|
|
75198
75210
|
[T]
|
|
75199
75211
|
), le = (qe) => {
|
|
@@ -75209,7 +75221,7 @@ const gve = (t, e, n = 30) => {
|
|
|
75209
75221
|
break;
|
|
75210
75222
|
}
|
|
75211
75223
|
};
|
|
75212
|
-
|
|
75224
|
+
On(() => {
|
|
75213
75225
|
i && H(i);
|
|
75214
75226
|
}, [i]);
|
|
75215
75227
|
const _e = lr(() => {
|
|
@@ -75267,9 +75279,9 @@ const gve = (t, e, n = 30) => {
|
|
|
75267
75279
|
}, [pe, _e, F]), oe = (qe) => {
|
|
75268
75280
|
l.current && (l.current.scrollLeft = XI(qe, F));
|
|
75269
75281
|
};
|
|
75270
|
-
|
|
75282
|
+
On(() => {
|
|
75271
75283
|
oe(D);
|
|
75272
|
-
}, [D, F, l.current]),
|
|
75284
|
+
}, [D, F, l.current]), On(() => {
|
|
75273
75285
|
if (h.current && D !== void 0) {
|
|
75274
75286
|
const qe = XI(D, F);
|
|
75275
75287
|
qe < 0 ? h.current.style.left = "0px" : h.current.style.left = `${qe}px`;
|
|
@@ -75311,7 +75323,7 @@ const gve = (t, e, n = 30) => {
|
|
|
75311
75323
|
Tp(T),
|
|
75312
75324
|
F
|
|
75313
75325
|
), [we, Oe] = kn(!0);
|
|
75314
|
-
|
|
75326
|
+
On(() => {
|
|
75315
75327
|
Oe(!0);
|
|
75316
75328
|
let qe = null;
|
|
75317
75329
|
return setTimeout(async () => {
|
|
@@ -75593,7 +75605,7 @@ const Ave = ({ className: t }) => /* @__PURE__ */ ht(
|
|
|
75593
75605
|
userToken: c = "",
|
|
75594
75606
|
onFileClick: h
|
|
75595
75607
|
}) => {
|
|
75596
|
-
const { refreshTrimmedClips: p } = FR(), { getDirectory: m, getTrimmedDirectory: b } = NR(), { getMergedInfo: w } = b$(), { setVideoIsPlaying: S, resetPlayerState: A } = Ii(), { setTrimmedClips: T } = Lv(), { setTranscript: D, setTranscriptId: P } = r6(), { setOutputFiles: N } = LR(), { setFocusTrimmedClip: M } = RR(), { setMergedSelectedInfo: j } = M6(), { videoMetadata: F, setVideoMetadata: H } =
|
|
75608
|
+
const { refreshTrimmedClips: p } = FR(), { getDirectory: m, getTrimmedDirectory: b } = NR(), { getMergedInfo: w } = b$(), { setVideoIsPlaying: S, resetPlayerState: A } = Ii(), { setTrimmedClips: T } = Lv(), { setTranscript: D, setTranscriptId: P } = r6(), { setOutputFiles: N } = LR(), { setFocusTrimmedClip: M } = RR(), { setMergedSelectedInfo: j } = M6(), { videoMetadata: F, setVideoMetadata: H } = wx(), { mainFilePath: K, setMainFilePath: Z, setTrimmedFilePath: q } = BR(), [W, se] = kn(!1), [ae, pe] = kn(!1), [le, _e] = kn([]), ve = async (re, te) => {
|
|
75597
75609
|
try {
|
|
75598
75610
|
if (M(""), !re.includes("merged")) {
|
|
75599
75611
|
T([]), D([]), P("");
|
|
@@ -75650,7 +75662,7 @@ const Ave = ({ className: t }) => /* @__PURE__ */ ht(
|
|
|
75650
75662
|
}
|
|
75651
75663
|
}
|
|
75652
75664
|
};
|
|
75653
|
-
return
|
|
75665
|
+
return On(() => {
|
|
75654
75666
|
t && ae && oe();
|
|
75655
75667
|
}, [l]), /* @__PURE__ */ ht("div", { className: "w-full", children: [
|
|
75656
75668
|
xve(e) ? /* @__PURE__ */ z("div", { className: ut("w-full flex-row items-center gap-[5px] pb-2"), children: /* @__PURE__ */ ht(
|
|
@@ -75779,8 +75791,8 @@ const Ave = ({ className: t }) => /* @__PURE__ */ ht(
|
|
|
75779
75791
|
userToken: n,
|
|
75780
75792
|
className: r
|
|
75781
75793
|
}) => {
|
|
75782
|
-
const [i, a] = kn(null), [l, c] = kn(!1), [h, p] = kn(0), { resetPlayerState: m } = Ii(), { resetVideoMetaData: b } =
|
|
75783
|
-
return
|
|
75794
|
+
const [i, a] = kn(null), [l, c] = kn(!1), [h, p] = kn(0), { resetPlayerState: m } = Ii(), { resetVideoMetaData: b } = wx(), { setOutputFiles: w } = LR(), { setMainFilePath: S, setTrimmedFilePath: A } = BR(), { getDirectory: T } = NR();
|
|
75795
|
+
return On(() => {
|
|
75784
75796
|
const D = async () => {
|
|
75785
75797
|
try {
|
|
75786
75798
|
c(!0);
|
|
@@ -75818,18 +75830,6 @@ const Ave = ({ className: t }) => /* @__PURE__ */ ht(
|
|
|
75818
75830
|
D
|
|
75819
75831
|
)) })
|
|
75820
75832
|
] });
|
|
75821
|
-
}, u2 = () => {
|
|
75822
|
-
const t = Ii((n) => n.playerRef);
|
|
75823
|
-
return {
|
|
75824
|
-
jumpTime: ({
|
|
75825
|
-
time: n,
|
|
75826
|
-
playVideo: r,
|
|
75827
|
-
pauseVideo: i
|
|
75828
|
-
}) => {
|
|
75829
|
-
t.player_ && (t.currentTime(n), r && t.play(), i && t.pause());
|
|
75830
|
-
}
|
|
75831
|
-
// handleMoveTime,
|
|
75832
|
-
};
|
|
75833
75833
|
};
|
|
75834
75834
|
var El = {}, qD, v8;
|
|
75835
75835
|
function kve() {
|
|
@@ -79057,7 +79057,7 @@ const $be = ({
|
|
|
79057
79057
|
onEditComplete: p,
|
|
79058
79058
|
activeSegment: m
|
|
79059
79059
|
}) => {
|
|
79060
|
-
const b = Pt(e == null ? void 0 : e.timestamp_start), w = Pt(e == null ? void 0 : e.timestamp_end), S = Pt(t.timestamp_start), A = Pt(t.timestamp_end), { jumpTime: T } =
|
|
79060
|
+
const b = Pt(e == null ? void 0 : e.timestamp_start), w = Pt(e == null ? void 0 : e.timestamp_end), S = Pt(t.timestamp_start), A = Pt(t.timestamp_end), { jumpTime: T } = _x(), D = Ii(
|
|
79061
79061
|
(le) => le.setVideoCurrentTime
|
|
79062
79062
|
), [P, N] = kn(!1), [M, j] = kn(t.timestamp_text), F = Ti(null), H = b >= S && w <= A, K = () => {
|
|
79063
79063
|
const le = Pt(t == null ? void 0 : t.timestamp_start);
|
|
@@ -79065,7 +79065,7 @@ const $be = ({
|
|
|
79065
79065
|
time: le,
|
|
79066
79066
|
pauseVideo: !0
|
|
79067
79067
|
}), D(le);
|
|
79068
|
-
}, Z =
|
|
79068
|
+
}, Z = Sx(
|
|
79069
79069
|
(le) => le.selectedHighlightOption
|
|
79070
79070
|
), q = (le) => {
|
|
79071
79071
|
const _e = le.currentTarget.innerText.replace(/\n/g, "").replace(/^\s+/, "");
|
|
@@ -79084,7 +79084,7 @@ const $be = ({
|
|
|
79084
79084
|
}
|
|
79085
79085
|
}, 50);
|
|
79086
79086
|
};
|
|
79087
|
-
|
|
79087
|
+
On(() => {
|
|
79088
79088
|
a && !P && ae();
|
|
79089
79089
|
}, [a]);
|
|
79090
79090
|
const pe = () => {
|
|
@@ -79214,7 +79214,7 @@ const $be = ({
|
|
|
79214
79214
|
onEditComplete: p,
|
|
79215
79215
|
activeSegment: m
|
|
79216
79216
|
}) => {
|
|
79217
|
-
const b =
|
|
79217
|
+
const b = Sx(
|
|
79218
79218
|
(N) => N.selectedHighlightOption
|
|
79219
79219
|
), [w, S] = kn(null), [A, T] = kn({
|
|
79220
79220
|
width: 10,
|
|
@@ -79252,7 +79252,7 @@ const $be = ({
|
|
|
79252
79252
|
l,
|
|
79253
79253
|
c
|
|
79254
79254
|
]);
|
|
79255
|
-
return
|
|
79255
|
+
return On(() => {
|
|
79256
79256
|
var j, F;
|
|
79257
79257
|
const N = n == null ? void 0 : n.findIndex(
|
|
79258
79258
|
(H) => Pt(r == null ? void 0 : r.timestamp_start) >= Pt(H.timestamp_start) && Pt(r == null ? void 0 : r.timestamp_end) <= Pt(H.timestamp_end)
|
|
@@ -79298,7 +79298,7 @@ const Hbe = ({
|
|
|
79298
79298
|
}) => {
|
|
79299
79299
|
const i = Ii((w) => w.videoDuration), a = Ii(
|
|
79300
79300
|
(w) => w.setVideoIsPlaying
|
|
79301
|
-
), { jumpTime: l } =
|
|
79301
|
+
), { jumpTime: l } = _x(), [c, h] = kn({
|
|
79302
79302
|
position: "",
|
|
79303
79303
|
edit: !1,
|
|
79304
79304
|
timestamp: ""
|
|
@@ -79426,7 +79426,7 @@ const Hbe = ({
|
|
|
79426
79426
|
onEditWordSave: m,
|
|
79427
79427
|
onEditComplete: b
|
|
79428
79428
|
}) => {
|
|
79429
|
-
const { timestamp_end: w, timestamp_text: S, timestamp_start: A, words: T, title: D } = t, { jumpTime: P } =
|
|
79429
|
+
const { timestamp_end: w, timestamp_text: S, timestamp_start: A, words: T, title: D } = t, { jumpTime: P } = _x(), { videoCurrentTime: N, playerRef: M } = Ii(), { selectedHighlightOption: j } = Sx(), [F, H] = kn(!1), [K, Z] = kn(S), [q] = kn(!1), W = Ti(null), se = lr(() => qbe({
|
|
79430
79430
|
time: N,
|
|
79431
79431
|
wordSegments: T,
|
|
79432
79432
|
isPrev: !0
|
|
@@ -79509,7 +79509,7 @@ const Hbe = ({
|
|
|
79509
79509
|
activeSegment: a
|
|
79510
79510
|
}
|
|
79511
79511
|
) : /* @__PURE__ */ z("div", { className: "w-full flex flex-row flex-wrap", children: ae });
|
|
79512
|
-
return
|
|
79512
|
+
return On(() => {
|
|
79513
79513
|
if (F) {
|
|
79514
79514
|
const le = document.querySelector(
|
|
79515
79515
|
"#editable-transcript"
|
|
@@ -79522,7 +79522,7 @@ const Hbe = ({
|
|
|
79522
79522
|
ve == null || ve.removeAllRanges(), ve == null || ve.addRange(_e);
|
|
79523
79523
|
}
|
|
79524
79524
|
}
|
|
79525
|
-
}, [F]),
|
|
79525
|
+
}, [F]), On(() => {
|
|
79526
79526
|
q && W.current && W.current.blur();
|
|
79527
79527
|
}, [q]), /* @__PURE__ */ ht("div", { className: ut("p-3 w-full flex flex-row gap-1"), children: [
|
|
79528
79528
|
/* @__PURE__ */ ht($s, { children: [
|
|
@@ -79587,7 +79587,7 @@ const Hbe = ({
|
|
|
79587
79587
|
(N) => N.videoCurrentTime
|
|
79588
79588
|
), i = Ii(
|
|
79589
79589
|
(N) => N.setVideoCurrentTime
|
|
79590
|
-
), { jumpTime: a } =
|
|
79590
|
+
), { jumpTime: a } = _x(), [l, c] = kn(!1), h = lr(() => t == null ? void 0 : t.find(
|
|
79591
79591
|
({ timestamp_end: M, timestamp_start: j }) => H8(j, M, r)
|
|
79592
79592
|
), [r, t]), p = lr(() => h != null && h.words ? h.words.find(
|
|
79593
79593
|
(M) => H8(
|
|
@@ -79625,7 +79625,7 @@ const Hbe = ({
|
|
|
79625
79625
|
return M[F].timestamp_start;
|
|
79626
79626
|
return ((j = M[M.length - 1]) == null ? void 0 : j.timestamp_start) || null;
|
|
79627
79627
|
}, [h, t, r]);
|
|
79628
|
-
|
|
79628
|
+
On(() => {
|
|
79629
79629
|
c(!1);
|
|
79630
79630
|
}, [p]);
|
|
79631
79631
|
const T = ja(() => {
|
|
@@ -79714,9 +79714,7 @@ const Hbe = ({
|
|
|
79714
79714
|
D
|
|
79715
79715
|
]
|
|
79716
79716
|
);
|
|
79717
|
-
return
|
|
79718
|
-
console.log(r);
|
|
79719
|
-
}, [r]), /* @__PURE__ */ z(
|
|
79717
|
+
return /* @__PURE__ */ z(
|
|
79720
79718
|
"div",
|
|
79721
79719
|
{
|
|
79722
79720
|
ref: n,
|
|
@@ -79873,8 +79871,8 @@ function zH(t, e, n, { discrete: r }) {
|
|
|
79873
79871
|
}
|
|
79874
79872
|
var r1e = [" ", "Enter", "ArrowUp", "ArrowDown"], i1e = [" ", "Enter"], c1 = "Select", [p2, m2, s1e] = F6(c1), [Zv, w_e] = Hf(c1, [
|
|
79875
79873
|
s1e,
|
|
79876
|
-
|
|
79877
|
-
]), g2 =
|
|
79874
|
+
a2
|
|
79875
|
+
]), g2 = a2(), [a1e, Wf] = Zv(c1), [o1e, l1e] = Zv(c1), qH = (t) => {
|
|
79878
79876
|
const {
|
|
79879
79877
|
__scopeSelect: e,
|
|
79880
79878
|
children: n,
|
|
@@ -80786,7 +80784,7 @@ const N1e = [
|
|
|
80786
80784
|
name: "Highlight 3"
|
|
80787
80785
|
}
|
|
80788
80786
|
], I1e = Il(({ className: t, useStore: e = !0, value: n, onValueChange: r, ...i }, a) => {
|
|
80789
|
-
const { selectedHighlightOption: l, setSelectedHighlightOption: c } =
|
|
80787
|
+
const { selectedHighlightOption: l, setSelectedHighlightOption: c } = Sx();
|
|
80790
80788
|
return /* @__PURE__ */ ht(
|
|
80791
80789
|
R1e,
|
|
80792
80790
|
{
|
|
@@ -80822,23 +80820,24 @@ export {
|
|
|
80822
80820
|
x_e as TranscriptList,
|
|
80823
80821
|
Gbe as TranscriptSegment,
|
|
80824
80822
|
ck as buttonVariants,
|
|
80825
|
-
|
|
80823
|
+
Tx as useAlertDialogStore,
|
|
80826
80824
|
BR as useFilePathStore,
|
|
80827
80825
|
RR as useFocusTrimmedClipStore,
|
|
80828
80826
|
$1e as useKeyboardShortcuts,
|
|
80829
80827
|
M6 as useMergeStore,
|
|
80828
|
+
_x as useMoveTime,
|
|
80830
80829
|
LR as useOutputFilesStore,
|
|
80831
80830
|
FR as useRefresh,
|
|
80832
|
-
|
|
80831
|
+
Sx as useSelectedHighlightOption,
|
|
80833
80832
|
s_e as useTimelineDataInitializer,
|
|
80834
80833
|
hv as useTimelineDataStore,
|
|
80835
|
-
|
|
80834
|
+
xx as useTimelineStore,
|
|
80836
80835
|
a_e as useToMergeStore,
|
|
80837
80836
|
r6 as useTranscriptStore,
|
|
80838
80837
|
Lv as useTrimmedClipsStore,
|
|
80839
80838
|
IR as useTrimmedService,
|
|
80840
80839
|
i6 as useTrimmerStampStore,
|
|
80841
|
-
|
|
80840
|
+
wx as useVideoMetadataStore,
|
|
80842
80841
|
Ii as useVideoPlayerStore,
|
|
80843
80842
|
y3 as videoMetadataInitialState
|
|
80844
80843
|
};
|