xvai-loi 0.1.55 → 0.1.56

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.
Files changed (3) hide show
  1. package/co.txt +1 -1
  2. package/package.json +1 -1
  3. package/xvai-loi.js +3 -3
package/co.txt CHANGED
@@ -1 +1 @@
1
- xvaiLoi110926
1
+ xvaiLoi110933
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xvai-loi",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "Loi dung video (Edit Video Tu Dong) nap vao tool Google Flow qua o cam engine/oCam.ts",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
package/xvai-loi.js CHANGED
@@ -11982,7 +11982,7 @@ function lapCuongMe(o) {
11982
11982
  W22.forEach((w, i) => {
11983
11983
  if (w.f < 2 || w.f > tong - 3 || w.f - tr < 6) return;
11984
11984
  const t = w.t, n1 = W22[i + 1]?.t || "", so4 = /^\d+([.,]\d+)?%?$/.test(t) ? t : SO[t] != null ? String(SO[t]) : "";
11985
- const chu3 = /^x\d+$/.test(t) ? hoa3(t) : (t === "\xEDch" || t === "x") && /^mư[ơờ]i$/.test(n1) ? "X10" : so4 && (/%$/.test(so4) || DV.test(n1)) && !(i > 0 && /^thứ$/.test(W22[i - 1].t)) ? hoa3(so4 + " " + sach2(ws[i + 1].text)) : "";
11985
+ const chu3 = /^x\d+$/.test(t) ? hoa3(t) : (t === "\xEDch" || t === "x") && /^mư[ơờ]i$/.test(n1) ? "X10" : so4 && (/%$/.test(so4) || DV.test(n1)) && !(i > 0 && /^thứ$/.test(W22[i - 1].t)) ? /%$/.test(so4) ? hoa3(so4) : hoa3(so4 + " " + sach2(ws[i + 1].text)) : "";
11986
11986
  if (!chu3) return;
11987
11987
  const k1 = chu3.toLocaleLowerCase("vi").split(" ")[0], da = sp.some((s) => Math.abs(s.f - w.f) < 2.5 && (String(s.giant || "") + " " + String(s.chu || "") + " " + String(s.chu2 || "")).toLocaleLowerCase("vi").includes(k1));
11988
11988
  if (da) return;
@@ -20471,7 +20471,7 @@ async function napLoi(d) {
20471
20471
  return "LOI: " + String(e && e.message || e).slice(0, 300);
20472
20472
  }
20473
20473
  }
20474
- var LOI_URL = "https://cdn.jsdelivr.net/npm/xvai-loi@0.1.54/nap.js";
20474
+ var LOI_URL = "https://cdn.jsdelivr.net/npm/xvai-loi@0.1.55/nap.js";
20475
20475
  var TRONG_LOI = !!globalThis.__xvaiReact;
20476
20476
  try {
20477
20477
  if (!TRONG_LOI) setTimeout(() => {
@@ -20501,7 +20501,7 @@ function datCauLenh(a) {
20501
20501
  on2 = true;
20502
20502
  window.addEventListener("message", async (ev) => {
20503
20503
  const d = ev.data;
20504
- if (!d || d.xvaiLoi110926 !== true) return;
20504
+ if (!d || d.xvaiLoi110933 !== true) return;
20505
20505
  const o = String(ev.origin || "");
20506
20506
  if (!(o.indexOf("https://flow.google.com") === 0 || o.indexOf("https://labs.google") === 0)) return;
20507
20507
  const tra = (kq) => {