@salina-app/media-editor 0.2.5 → 0.2.6
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 +16 -22
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1684,14 +1684,11 @@ const Up = Ts()((t) => ({
|
|
|
1684
1684
|
(X) => X.setFocusTrimmedClip
|
|
1685
1685
|
), I = ES((X) => X.setTranscriptId), $ = ES((X) => X.setTranscript), B = Bi(() => {
|
|
1686
1686
|
const X = [];
|
|
1687
|
-
return _ != null && _.length && (_ == null ? void 0 : _.map((q) => {
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
timestamp_end: ((ce = (ie = q.sources) == null ? void 0 : ie[0]) == null ? void 0 : ce.timestamp_end) || q.timestamp_two || ""
|
|
1693
|
-
};
|
|
1694
|
-
})).forEach((q) => {
|
|
1687
|
+
return _ != null && _.length && (_ == null ? void 0 : _.map((q) => ({
|
|
1688
|
+
id: q.id,
|
|
1689
|
+
timestamp_start: q.sources[0].timestamp_start,
|
|
1690
|
+
timestamp_end: q.sources[0].timestamp_end
|
|
1691
|
+
}))).forEach((q) => {
|
|
1695
1692
|
if (pt(q.timestamp_start) <= b && pt(q.timestamp_end) >= b)
|
|
1696
1693
|
X.push(q.id);
|
|
1697
1694
|
else {
|
|
@@ -3922,16 +3919,13 @@ const Ol = /* @__PURE__ */ ud(see), Ml = "secret", { GET: k3 } = zR(!1), qR = ()
|
|
|
3922
3919
|
}, refreshTrimmedClips: async (l, c) => {
|
|
3923
3920
|
e(l).then((h) => {
|
|
3924
3921
|
n(
|
|
3925
|
-
h.data.map((p) => {
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
timestamp_two: ((S = (x = p.sources) == null ? void 0 : x[0]) == null ? void 0 : S.timestamp_end) || p.timestamp_two || ""
|
|
3933
|
-
};
|
|
3934
|
-
})
|
|
3922
|
+
h.data.map((p) => ({
|
|
3923
|
+
...p,
|
|
3924
|
+
id: p._id,
|
|
3925
|
+
segment: p.segment_type != null ? p.segment_type : "News",
|
|
3926
|
+
timestamp_one: p.sources[0].timestamp_start,
|
|
3927
|
+
timestamp_two: p.sources[0].timestamp_end
|
|
3928
|
+
}))
|
|
3935
3929
|
), c == null || c();
|
|
3936
3930
|
});
|
|
3937
3931
|
} };
|
|
@@ -75118,7 +75112,7 @@ const P8 = Bl(
|
|
|
75118
75112
|
source: m ?? "",
|
|
75119
75113
|
access_token: A ?? ""
|
|
75120
75114
|
}), E({
|
|
75121
|
-
source:
|
|
75115
|
+
source: m || "",
|
|
75122
75116
|
access_token: A || ""
|
|
75123
75117
|
});
|
|
75124
75118
|
} catch (q) {
|
|
@@ -75140,7 +75134,7 @@ const P8 = Bl(
|
|
|
75140
75134
|
source: m ?? "",
|
|
75141
75135
|
access_token: A ?? ""
|
|
75142
75136
|
}), E({
|
|
75143
|
-
source:
|
|
75137
|
+
source: m || "",
|
|
75144
75138
|
access_token: A || ""
|
|
75145
75139
|
});
|
|
75146
75140
|
} catch (ne) {
|
|
@@ -75156,7 +75150,7 @@ const P8 = Bl(
|
|
|
75156
75150
|
source: m ?? "",
|
|
75157
75151
|
access_token: A ?? ""
|
|
75158
75152
|
}), E({
|
|
75159
|
-
source:
|
|
75153
|
+
source: m || "",
|
|
75160
75154
|
access_token: A || ""
|
|
75161
75155
|
});
|
|
75162
75156
|
} catch (ne) {
|
|
@@ -75380,7 +75374,7 @@ const P8 = Bl(
|
|
|
75380
75374
|
channel_name: G.split("/")[2],
|
|
75381
75375
|
sources: [
|
|
75382
75376
|
{
|
|
75383
|
-
source: ((en = m
|
|
75377
|
+
source: ((en = m[0]) == null ? void 0 : en.source) || G || "",
|
|
75384
75378
|
timestamp_start: sn,
|
|
75385
75379
|
timestamp_end: dn
|
|
75386
75380
|
}
|