@tsocial/tvweb-sdk.tcli 0.0.0-beta.20260105-101555 → 5.34.1
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.
|
@@ -33783,7 +33783,7 @@
|
|
|
33783
33783
|
}, nS$1;
|
|
33784
33784
|
}();
|
|
33785
33785
|
function nB$1() {
|
|
33786
|
-
return "
|
|
33786
|
+
return "5.34.1";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -41259,53 +41259,53 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
let dm = dy;
|
|
41263
|
-
|
|
41262
|
+
let dm = d_, dg = d_, dy = dx();
|
|
41263
|
+
for(;;)try {
|
|
41264
|
+
if (-parseInt(dg(195)) / 1 * (parseInt(dg(207)) / 2) + parseInt(dg(192)) / 3 + -parseInt(dg(210)) / 4 * (-parseInt(dg(201)) / 5) + parseInt(dg(200)) / 6 * (-parseInt(dg(214)) / 7) + -parseInt(dg(193)) / 8 * (parseInt(dg(206)) / 9) + -parseInt(dg(190)) / 10 * (parseInt(dg(197)) / 11) + parseInt(dg(198)) / 12 === 213775) break;
|
|
41265
|
+
dy.push(dy.shift());
|
|
41266
|
+
} catch (e) {
|
|
41267
|
+
dy.push(dy.shift());
|
|
41268
|
+
}
|
|
41269
|
+
let db = dm(199) + dm(203) + dm(205) + dm(215) + "0301070342" + dm(211), dv = "MFkwEwYHKoZIzj0CAQYI" + dm(212) + "cDQgAE9h6Z" + dm(204) + "ytJdcsPxrD" + dm(191) + dm(194) + dm(202) + dm(213) + dm(196) + dm(208) + dm(209);
|
|
41270
|
+
function d_(e, t) {
|
|
41271
|
+
let r = dx();
|
|
41272
|
+
return (d_ = function(e, t) {
|
|
41273
|
+
return r[e -= 190];
|
|
41274
|
+
})(e, t);
|
|
41275
|
+
}
|
|
41276
|
+
function dx() {
|
|
41264
41277
|
let e = [
|
|
41265
|
-
"
|
|
41266
|
-
"ZIzj0CAQYI",
|
|
41267
|
-
"761906DexGVO",
|
|
41268
|
-
"4570BXfZPE",
|
|
41269
|
-
"868035vYhKXx",
|
|
41270
|
-
"072a8648ce",
|
|
41278
|
+
"4552RWKMhh",
|
|
41271
41279
|
"44P0rKKsZK",
|
|
41272
|
-
"
|
|
41280
|
+
"181301bSrizZ",
|
|
41273
41281
|
"MfPrcYTM70",
|
|
41274
|
-
"
|
|
41275
|
-
"
|
|
41282
|
+
"7942PgSLUR",
|
|
41283
|
+
"6721080nDVclj",
|
|
41284
|
+
"3059301306",
|
|
41285
|
+
"90qowNeA",
|
|
41286
|
+
"17930ZGtTNS",
|
|
41287
|
+
"Mjci1ul8mm",
|
|
41288
|
+
"072a8648ce",
|
|
41289
|
+
"DepBO8t60S",
|
|
41290
|
+
"3d02010608",
|
|
41291
|
+
"5625sjHwWV",
|
|
41292
|
+
"4aZMLJD",
|
|
41276
41293
|
"ssRdXLZEX8",
|
|
41277
|
-
"
|
|
41278
|
-
"
|
|
41279
|
-
"27276DvVzEc",
|
|
41280
|
-
"D9EKOWS+U4",
|
|
41294
|
+
"KA==",
|
|
41295
|
+
"344nEBwdw",
|
|
41281
41296
|
"000",
|
|
41282
|
-
"
|
|
41283
|
-
"
|
|
41284
|
-
"
|
|
41285
|
-
"
|
|
41286
|
-
"
|
|
41287
|
-
"371uxnVFJ",
|
|
41297
|
+
"KoZIzj0DAQ",
|
|
41298
|
+
"D9EKOWS+U4",
|
|
41299
|
+
"116305sfIwaw",
|
|
41300
|
+
"2a8648ce3d",
|
|
41301
|
+
"1350orKIeV",
|
|
41288
41302
|
"+faHkP3QC3",
|
|
41289
|
-
"
|
|
41303
|
+
"1230633jFFmqZ"
|
|
41290
41304
|
];
|
|
41291
|
-
return (
|
|
41305
|
+
return (dx = function() {
|
|
41292
41306
|
return e;
|
|
41293
41307
|
})();
|
|
41294
41308
|
}
|
|
41295
|
-
function dy(e, t) {
|
|
41296
|
-
let r = dg();
|
|
41297
|
-
return (dy = function(e, t) {
|
|
41298
|
-
return r[e -= 180];
|
|
41299
|
-
})(e, t);
|
|
41300
|
-
}
|
|
41301
|
-
let db = dy, dv = dg();
|
|
41302
|
-
for(;;)try {
|
|
41303
|
-
if (parseInt(db(180)) / 1 + parseInt(db(186)) / 2 * (-parseInt(db(203)) / 3) + -parseInt(db(196)) / 4 * (parseInt(db(188)) / 5) + parseInt(db(191)) / 6 * (parseInt(db(181)) / 7) + -parseInt(db(184)) / 8 * (-parseInt(db(197)) / 9) + parseInt(db(187)) / 10 * (parseInt(db(201)) / 11) + -parseInt(db(198)) / 12 * (parseInt(db(194)) / 13) === 552307) break;
|
|
41304
|
-
dv.push(dv.shift());
|
|
41305
|
-
} catch (e) {
|
|
41306
|
-
dv.push(dv.shift());
|
|
41307
|
-
}
|
|
41308
|
-
let d_ = "3059301306" + dm(189) + "3d020106082a8648ce3d" + dm(183) + dm(200), dx = dm(202) + dm(185) + "KoZIzj0DAQ" + dm(193) + "DepBO8t60S" + dm(204) + dm(182) + dm(190) + "Mjci1ul8mm" + dm(199) + dm(192) + dm(195) + "KA==";
|
|
41309
41309
|
async function dC(e) {
|
|
41310
41310
|
let t = new TextEncoder().encode(e);
|
|
41311
41311
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41410,7 +41410,7 @@
|
|
|
41410
41410
|
isValid: !1,
|
|
41411
41411
|
error: i0$1.invalid_license
|
|
41412
41412
|
};
|
|
41413
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t ||
|
|
41413
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dv, n = i4$1(r).replace(db, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41414
41414
|
verifySignature: async (e, t)=>{
|
|
41415
41415
|
try {
|
|
41416
41416
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -57393,7 +57393,7 @@
|
|
|
57393
57393
|
if (M.current) return ()=>{};
|
|
57394
57394
|
if (!navigator.mediaDevices || nT.browserName && [
|
|
57395
57395
|
"facebook"
|
|
57396
|
-
].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
|
|
57396
|
+
].includes(nT.browserName.toLowerCase()) || nT.getUA.includes("Zalo iOS")) O(z("not_supported")), V(nQ.not_supported);
|
|
57397
57397
|
else if (o) {
|
|
57398
57398
|
if (S) return X(S), ()=>{};
|
|
57399
57399
|
nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
|
|
@@ -76628,7 +76628,8 @@
|
|
|
76628
76628
|
if (refVideoPlayed.current) return ()=>{};
|
|
76629
76629
|
if (!navigator.mediaDevices || libExports.browserName && [
|
|
76630
76630
|
'facebook'
|
|
76631
|
-
].includes(libExports.browserName.toLowerCase()))
|
|
76631
|
+
].includes(libExports.browserName.toLowerCase()) || libExports.getUA.includes('Zalo iOS') // to avoid live broadcast screen on Zalo webview
|
|
76632
|
+
) {
|
|
76632
76633
|
setErrorMsg(t('not_supported'));
|
|
76633
76634
|
onError(Errors$9.not_supported);
|
|
76634
76635
|
} else if (videoEl) {
|
|
@@ -116241,7 +116242,7 @@
|
|
|
116241
116242
|
display: ${f0.getTheme('closeButton.display')};
|
|
116242
116243
|
`;
|
|
116243
116244
|
|
|
116244
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/
|
|
116245
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.1/assets";
|
|
116245
116246
|
class TVWebSDK extends gU {
|
|
116246
116247
|
constructor(props){
|
|
116247
116248
|
super({
|