xvai-loi 0.1.113 → 0.1.114
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 +10 -3
package/co.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
xvaiLoi130137
|
package/package.json
CHANGED
package/xvai-loi.js
CHANGED
|
@@ -13302,6 +13302,13 @@ async function nhipKhung(M, ff, files, options, onLog) {
|
|
|
13302
13302
|
// flow-src/engine/demBen.ts
|
|
13303
13303
|
var DB = "xvai-dem";
|
|
13304
13304
|
var KHO2 = "k";
|
|
13305
|
+
var lanh = () => {
|
|
13306
|
+
try {
|
|
13307
|
+
return localStorage.getItem("xvaiDemLanh") === "1";
|
|
13308
|
+
} catch (e) {
|
|
13309
|
+
return false;
|
|
13310
|
+
}
|
|
13311
|
+
};
|
|
13305
13312
|
var tat = () => {
|
|
13306
13313
|
try {
|
|
13307
13314
|
return localStorage.getItem("xvaiDem") === "tat";
|
|
@@ -13343,7 +13350,7 @@ async function docTrong(k) {
|
|
|
13343
13350
|
});
|
|
13344
13351
|
}
|
|
13345
13352
|
async function docDem(k) {
|
|
13346
|
-
if (tat()) return null;
|
|
13353
|
+
if (tat() || lanh() && /^(nghe|ai|kb):/.test(k)) return null;
|
|
13347
13354
|
const t = await docTrong(k);
|
|
13348
13355
|
if (t) return t;
|
|
13349
13356
|
const n = await hoiNgoai("lay", k);
|
|
@@ -18439,7 +18446,7 @@ async function kichBanDoan(ws) {
|
|
|
18439
18446
|
return x.toString(36).slice(0, 5);
|
|
18440
18447
|
})(), khoa2 = (cm ? "xvaiKbCm9" + hp + ":" : "xvaiKb3:") + h.toString(36);
|
|
18441
18448
|
try {
|
|
18442
|
-
const c = JSON.parse(localStorage.getItem(khoa2) || "null");
|
|
18449
|
+
const c = localStorage.getItem("xvaiDemLanh") === "1" ? null : JSON.parse(localStorage.getItem(khoa2) || "null");
|
|
18443
18450
|
if (c && c.moc) {
|
|
18444
18451
|
globalThis.__kbNguon = "dem";
|
|
18445
18452
|
return c;
|
|
@@ -21007,7 +21014,7 @@ function datCauLenh(a) {
|
|
|
21007
21014
|
on2 = true;
|
|
21008
21015
|
window.addEventListener("message", async (ev) => {
|
|
21009
21016
|
const d = ev.data;
|
|
21010
|
-
if (!d || d.
|
|
21017
|
+
if (!d || d.xvaiLoi130137 !== true) return;
|
|
21011
21018
|
const o = String(ev.origin || "");
|
|
21012
21019
|
if (!(o.indexOf("https://flow.google.com") === 0 || o.indexOf("https://labs.google") === 0)) return;
|
|
21013
21020
|
const tra = (kq) => {
|