xvai-loi 0.1.146 → 0.1.147
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/co.txt +1 -1
- package/package.json +1 -1
- package/xvai-loi.js +3 -2
package/co.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
xvaiLoi140953
|
package/package.json
CHANGED
package/xvai-loi.js
CHANGED
|
@@ -7940,7 +7940,7 @@ var ProEditPanel = (props) => {
|
|
|
7940
7940
|
const { project, currentScene, currentItem, onUpdate, onExport } = props;
|
|
7941
7941
|
const [mode, setMode] = useState(project.timeline.length > 1 ? "silent" : "spoken");
|
|
7942
7942
|
const [preset, setPreset] = useState("Tinh g\u1ECDn");
|
|
7943
|
-
const [request, setRequest] = useState("D\u1EF1ng g\u1ECDn, gi\u1EEF l\u1EDDi t\u1EF1 nhi\xEAn; nh\u1EA5n \xFD ch\xEDnh v\u1EEBa \u0111\u1EE7."), [shorten, setShorten] = useState(() => window.__proDat?.shorten ?? true), [music, setMusic] = useState(() => !!window.__proDat?.music), [illustrate, setIllustrate] = useState(() => window.__proDat?.illustrate ??
|
|
7943
|
+
const [request, setRequest] = useState("D\u1EF1ng g\u1ECDn, gi\u1EEF l\u1EDDi t\u1EF1 nhi\xEAn; nh\u1EA5n \xFD ch\xEDnh v\u1EEBa \u0111\u1EE7."), [shorten, setShorten] = useState(() => window.__proDat?.shorten ?? true), [music, setMusic] = useState(() => !!window.__proDat?.music), [illustrate, setIllustrate] = useState(() => window.__proDat?.illustrate ?? false), [position, setPosition] = useState("bottom");
|
|
7944
7944
|
const [sourceVisuals, setSourceVisuals] = useState(true);
|
|
7945
7945
|
const [captionStyle, setCaptionStyle] = useState("pop");
|
|
7946
7946
|
const chonKieuPhuDe = (e) => setCaptionStyle(String(e.target.value));
|
|
@@ -11583,6 +11583,7 @@ var StudioEdit = ({ project, setProject, exporting, blob, onExport, onDownload,
|
|
|
11583
11583
|
(W2.__proApi || a).dat({ mode: "spoken", shorten: fx.cat, music: fx.nhac, illustrate: fx.anh, demo: fx.veo });
|
|
11584
11584
|
t0.current = Date.now();
|
|
11585
11585
|
setGiay(0);
|
|
11586
|
+
W2.__proApi.dat({ shorten: fx.cat, music: fx.nhac, illustrate: fx.anh });
|
|
11586
11587
|
await new Promise((r) => setTimeout(r, 500));
|
|
11587
11588
|
W2.__proApi.tuDong();
|
|
11588
11589
|
};
|
|
@@ -16070,7 +16071,7 @@ function datCauLenh(a) {
|
|
|
16070
16071
|
on2 = true;
|
|
16071
16072
|
window.addEventListener("message", async (ev) => {
|
|
16072
16073
|
const d = ev.data;
|
|
16073
|
-
if (!d || d.
|
|
16074
|
+
if (!d || d.xvaiLoi140953 !== true) return;
|
|
16074
16075
|
const o = String(ev.origin || "");
|
|
16075
16076
|
if (!(o.indexOf("https://flow.google.com") === 0 || o.indexOf("https://labs.google") === 0)) return;
|
|
16076
16077
|
const tra = (kq) => {
|