@tsocial/tvweb-sdk.nbcci 5.34.1 → 5.34.2

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 "5.34.1";
33786
+ return "5.34.2";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,53 +41259,55 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- let dm = d_, dg = d_, dy = dx();
41262
+ function dm(e, t) {
41263
+ let r = d_();
41264
+ return (dm = function(e, t) {
41265
+ return r[e -= 132];
41266
+ })(e, t);
41267
+ }
41268
+ let dg = dm, dy = dm, db = d_();
41263
41269
  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());
41270
+ if (parseInt(dy(148)) / 1 + -parseInt(dy(139)) / 2 * (parseInt(dy(145)) / 3) + parseInt(dy(142)) / 4 * (parseInt(dy(152)) / 5) + -parseInt(dy(151)) / 6 * (-parseInt(dy(135)) / 7) + parseInt(dy(153)) / 8 + parseInt(dy(143)) / 9 + parseInt(dy(140)) / 10 * (-parseInt(dy(146)) / 11) === 427361) break;
41271
+ db.push(db.shift());
41266
41272
  } catch (e) {
41267
- dy.push(dy.shift());
41273
+ db.push(db.shift());
41268
41274
  }
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() {
41275
+ let dv = "3059301306" + dg(155) + dg(158) + dg(149) + dg(141) + dg(138);
41276
+ function d_() {
41277
41277
  let e = [
41278
- "4552RWKMhh",
41279
- "44P0rKKsZK",
41280
- "181301bSrizZ",
41281
- "MfPrcYTM70",
41282
- "7942PgSLUR",
41283
- "6721080nDVclj",
41284
- "3059301306",
41285
- "90qowNeA",
41286
- "17930ZGtTNS",
41287
- "Mjci1ul8mm",
41288
- "072a8648ce",
41289
41278
  "DepBO8t60S",
41290
- "3d02010608",
41291
- "5625sjHwWV",
41292
- "4aZMLJD",
41293
- "ssRdXLZEX8",
41294
- "KA==",
41295
- "344nEBwdw",
41279
+ "+faHkP3QC3",
41296
41280
  "000",
41297
- "KoZIzj0DAQ",
41298
- "D9EKOWS+U4",
41299
- "116305sfIwaw",
41281
+ "31908xDrygd",
41282
+ "2930470GEgndS",
41283
+ "0301070342",
41284
+ "307984TfAgvv",
41285
+ "1093680AINEzz",
41286
+ "MFkwEwYHKo",
41287
+ "141ReoysE",
41288
+ "11VpLjnk",
41289
+ "ZIzj0CAQYI",
41290
+ "357620EnNCAn",
41300
41291
  "2a8648ce3d",
41301
- "1350orKIeV",
41302
- "+faHkP3QC3",
41303
- "1230633jFFmqZ"
41292
+ "ytJdcsPxrD",
41293
+ "7698TiAaFt",
41294
+ "20wWFtwC",
41295
+ "4767024oXzIYB",
41296
+ "ssRdXLZEX8",
41297
+ "072a8648ce",
41298
+ "Mjci1ul8mm",
41299
+ "D9EKOWS+U4",
41300
+ "3d02010608",
41301
+ "KA==",
41302
+ "44P0rKKsZK",
41303
+ "cDQgAE9h6Z",
41304
+ "476iEpigw"
41304
41305
  ];
41305
- return (dx = function() {
41306
+ return (d_ = function() {
41306
41307
  return e;
41307
41308
  })();
41308
41309
  }
41310
+ let dx = dg(144) + dg(147) + "KoZIzj0DAQ" + dg(134) + dg(136) + dg(150) + dg(137) + dg(133) + dg(156) + dg(157) + "MfPrcYTM70" + dg(154) + dg(132);
41309
41311
  async function dC(e) {
41310
41312
  let t = new TextEncoder().encode(e);
41311
41313
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41410,7 +41412,7 @@
41410
41412
  isValid: !1,
41411
41413
  error: i0$1.invalid_license
41412
41414
  };
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"), {
41415
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41414
41416
  verifySignature: async (e, t)=>{
41415
41417
  try {
41416
41418
  let r = await dC(e), n = i4$1(t);
@@ -45324,7 +45326,7 @@
45324
45326
  return this.getKey().getPublicKey();
45325
45327
  }, e.prototype.getPublicKeyB64 = function() {
45326
45328
  return this.getKey().getPublicBaseKeyB64();
45327
- }, e.version = "5.34.0", e;
45329
+ }, e.version = "5.34.1", e;
45328
45330
  }();
45329
45331
  let hO = [
45330
45332
  "-",
@@ -57375,7 +57377,7 @@
57375
57377
  if (M.current) return ()=>{};
57376
57378
  if (!navigator.mediaDevices || nT.browserName && [
57377
57379
  "facebook"
57378
- ].includes(nT.browserName.toLowerCase()) || nT.getUA.includes("Zalo iOS")) O(z("not_supported")), V(nQ.not_supported);
57380
+ ].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
57379
57381
  else if (o) {
57380
57382
  if (S) return X(S), ()=>{};
57381
57383
  nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
@@ -76610,8 +76612,7 @@
76610
76612
  if (refVideoPlayed.current) return ()=>{};
76611
76613
  if (!navigator.mediaDevices || libExports.browserName && [
76612
76614
  'facebook'
76613
- ].includes(libExports.browserName.toLowerCase()) || libExports.getUA.includes('Zalo iOS') // to avoid live broadcast screen on Zalo webview
76614
- ) {
76615
+ ].includes(libExports.browserName.toLowerCase())) {
76615
76616
  setErrorMsg(t('not_supported'));
76616
76617
  onError(Errors$9.not_supported);
76617
76618
  } else if (videoEl) {
@@ -113496,7 +113497,7 @@
113496
113497
  };
113497
113498
  };
113498
113499
 
113499
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/5.34.1/assets";
113500
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/5.34.2/assets";
113500
113501
  class TVWebSDK extends gU {
113501
113502
  constructor(props){
113502
113503
  super({