@tsocial/tvweb-sdk.platform 0.0.0-beta.20260102-114208 → 0.0.0-beta.20260105-101555

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 "0.0.0-beta.20260102-114208";
33786
+ return "0.0.0-beta.20260105-101555";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,56 +41259,53 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- let dm = dv, dg = dv, dy = dx();
41263
- for(;;)try {
41264
- if (-parseInt(dg(370)) / 1 * (-parseInt(dg(366)) / 2) + parseInt(dg(358)) / 3 * (parseInt(dg(374)) / 4) + parseInt(dg(365)) / 5 + parseInt(dg(357)) / 6 + -parseInt(dg(362)) / 7 * (-parseInt(dg(361)) / 8) + parseInt(dg(376)) / 9 * (parseInt(dg(378)) / 10) + -parseInt(dg(368)) / 11 * (parseInt(dg(367)) / 12) === 599998) break;
41265
- dy.push(dy.shift());
41266
- } catch (e) {
41267
- dy.push(dy.shift());
41268
- }
41269
- let db = dm(372) + dm(383) + dm(360) + dm(381) + dm(382) + dm(375);
41270
- function dv(e, t) {
41271
- let r = dx();
41272
- return (dv = function(e, t) {
41273
- return r[e -= 356];
41274
- })(e, t);
41275
- }
41276
- let d_ = dm(359) + dm(363) + "KoZIzj0DAQ" + dm(369) + "DepBO8t60S" + dm(379) + dm(364) + dm(380) + dm(377) + "D9EKOWS+U4" + dm(371) + dm(356) + dm(373);
41277
- function dx() {
41262
+ let dm = dy;
41263
+ function dg() {
41278
41264
  let e = [
41279
- "cDQgAE9h6Z",
41280
- "127449PpANSf",
41281
- "MfPrcYTM70",
41282
- "3059301306",
41283
- "KA==",
41284
- "504CUvXlG",
41285
- "000",
41286
- "4211091ZcZUHq",
41287
- "Mjci1ul8mm",
41288
- "10bvLTER",
41289
- "ytJdcsPxrD",
41290
- "44P0rKKsZK",
41291
- "2a8648ce3d",
41292
- "0301070342",
41265
+ "90568olSrOR",
41266
+ "ZIzj0CAQYI",
41267
+ "761906DexGVO",
41268
+ "4570BXfZPE",
41269
+ "868035vYhKXx",
41293
41270
  "072a8648ce",
41271
+ "44P0rKKsZK",
41272
+ "9252FENNmn",
41273
+ "MfPrcYTM70",
41274
+ "cDQgAE9h6Z",
41275
+ "7631vAByJh",
41294
41276
  "ssRdXLZEX8",
41295
- "418878IKMmpg",
41296
- "22509QYOLbd",
41277
+ "12YvKobc",
41278
+ "837GiDEYt",
41279
+ "27276DvVzEc",
41280
+ "D9EKOWS+U4",
41281
+ "000",
41282
+ "17699kTHHKF",
41297
41283
  "MFkwEwYHKo",
41298
- "3d02010608",
41299
- "1956472WoXxGf",
41300
- "21nyvxwG",
41301
- "ZIzj0CAQYI",
41284
+ "3pmIuAf",
41285
+ "ytJdcsPxrD",
41286
+ "918440GGwqNy",
41287
+ "371uxnVFJ",
41302
41288
  "+faHkP3QC3",
41303
- "441635tgQdcV",
41304
- "4ycPapD",
41305
- "500424ofdLzM",
41306
- "517Pccfps"
41289
+ "0301070342"
41307
41290
  ];
41308
- return (dx = function() {
41291
+ return (dg = function() {
41309
41292
  return e;
41310
41293
  })();
41311
41294
  }
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==";
41312
41309
  async function dC(e) {
41313
41310
  let t = new TextEncoder().encode(e);
41314
41311
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41413,7 +41410,7 @@
41413
41410
  isValid: !1,
41414
41411
  error: i0$1.invalid_license
41415
41412
  };
41416
- let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || d_, n = i4$1(r).replace(db, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41413
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41417
41414
  verifySignature: async (e, t)=>{
41418
41415
  try {
41419
41416
  let r = await dC(e), n = i4$1(t);
@@ -57389,7 +57386,7 @@
57389
57386
  if (M.current) return ()=>{};
57390
57387
  if (!navigator.mediaDevices || nT.browserName && [
57391
57388
  "facebook"
57392
- ].includes(nT.browserName.toLowerCase()) || nT.getUA.includes("Zalo iOS")) O(z("not_supported")), V(nQ.not_supported);
57389
+ ].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
57393
57390
  else if (o) {
57394
57391
  if (S) return X(S), ()=>{};
57395
57392
  nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
@@ -76624,8 +76621,7 @@
76624
76621
  if (refVideoPlayed.current) return ()=>{};
76625
76622
  if (!navigator.mediaDevices || libExports.browserName && [
76626
76623
  'facebook'
76627
- ].includes(libExports.browserName.toLowerCase()) || libExports.getUA.includes('Zalo iOS') // to avoid live broadcast screen on Zalo webview
76628
- ) {
76624
+ ].includes(libExports.browserName.toLowerCase())) {
76629
76625
  setErrorMsg(t('not_supported'));
76630
76626
  onError(Errors$9.not_supported);
76631
76627
  } else if (videoEl) {
@@ -113510,7 +113506,7 @@
113510
113506
  };
113511
113507
  };
113512
113508
 
113513
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.20260102-114208/assets";
113509
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.20260105-101555/assets";
113514
113510
  class TVWebSDK extends gU {
113515
113511
  constructor(props){
113516
113512
  super({