@srgssr/pillarbox-web 1.20.0 → 1.21.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.
@@ -110,7 +110,7 @@
110
110
  return target;
111
111
  }
112
112
 
113
- const version$8 = "1.19.1";
113
+ const version$8 = "1.21.0";
114
114
 
115
115
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
116
116
 
@@ -73995,7 +73995,8 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
73995
73995
  */
73996
73996
  getChapters() {
73997
73997
  const AUDIO = 'AUDIO';
73998
- if (this.getMainChapter().mediaType === AUDIO) return [];
73998
+ const EPISODE = 'EPISODE';
73999
+ if (this.getMainChapter().mediaType === AUDIO || this.getMainChapter().type !== EPISODE) return [];
73999
74000
  return this.chapterList.filter(({
74000
74001
  mediaType
74001
74002
  }) => mediaType !== AUDIO);
@@ -74363,6 +74364,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74363
74364
  const JOURNALISTIC$4 = "Dieser Inhalt steht aus publizistischen Gründen vorübergehend nicht zur Verfügung.";
74364
74365
  const LEGAL$4 = "Dieser Inhalt ist aus rechtlichen Gründen nicht verfügbar.";
74365
74366
  const STARTDATE$4 = "Dieser Inhalt ist noch nicht verfügbar. Bitte probieren Sie es später noch einmal.";
74367
+ const VPNORPROXYDETECTED$4 = "Dieser Inhalt ist mit VPN oder Proxy nicht abspielbar.";
74366
74368
  const UNKNOWN$4 = "Dieser Inhalt ist nicht verfügbar.";
74367
74369
  const pillarboxLang$4 = {
74368
74370
  AGERATING12: AGERATING12$4,
@@ -74373,6 +74375,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74373
74375
  JOURNALISTIC: JOURNALISTIC$4,
74374
74376
  LEGAL: LEGAL$4,
74375
74377
  STARTDATE: STARTDATE$4,
74378
+ VPNORPROXYDETECTED: VPNORPROXYDETECTED$4,
74376
74379
  UNKNOWN: UNKNOWN$4
74377
74380
  };
74378
74381
 
@@ -74522,6 +74525,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74522
74525
  const JOURNALISTIC$3 = "This content is temporarily unavailable for journalistic reasons.";
74523
74526
  const LEGAL$3 = "This content is not available due to legal restrictions.";
74524
74527
  const STARTDATE$3 = "This content is not available yet.";
74528
+ const VPNORPROXYDETECTED$3 = "This content cannot be played while using a VPN or a proxy.";
74525
74529
  const UNKNOWN$3 = "This content is not available.";
74526
74530
  const pillarboxLang$3 = {
74527
74531
  AGERATING12: AGERATING12$3,
@@ -74532,6 +74536,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74532
74536
  JOURNALISTIC: JOURNALISTIC$3,
74533
74537
  LEGAL: LEGAL$3,
74534
74538
  STARTDATE: STARTDATE$3,
74539
+ VPNORPROXYDETECTED: VPNORPROXYDETECTED$3,
74535
74540
  UNKNOWN: UNKNOWN$3
74536
74541
  };
74537
74542
 
@@ -74680,6 +74685,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74680
74685
  const JOURNALISTIC$2 = "Ce contenu est temporairement indisponible pour des raisons éditoriales.";
74681
74686
  const LEGAL$2 = "Pour des raisons juridiques, ce contenu n'est pas disponible.";
74682
74687
  const STARTDATE$2 = "Ce contenu n'est pas encore disponible. Veuillez réessayer plus tard.";
74688
+ const VPNORPROXYDETECTED$2 = "Ce contenu ne peut pas être lu avec un VPN ou un proxy.";
74683
74689
  const UNKNOWN$2 = "Ce contenu n'est actuellement pas disponible.";
74684
74690
  const pillarboxLang$2 = {
74685
74691
  AGERATING12: AGERATING12$2,
@@ -74690,6 +74696,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74690
74696
  JOURNALISTIC: JOURNALISTIC$2,
74691
74697
  LEGAL: LEGAL$2,
74692
74698
  STARTDATE: STARTDATE$2,
74699
+ VPNORPROXYDETECTED: VPNORPROXYDETECTED$2,
74693
74700
  UNKNOWN: UNKNOWN$2
74694
74701
  };
74695
74702
 
@@ -74827,6 +74834,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74827
74834
  const JOURNALISTIC$1 = "Questo contenuto è temporaneamente non disponibile per motivi editoriali.";
74828
74835
  const LEGAL$1 = "Il contenuto non è fruibile a causa di restrizioni legali.";
74829
74836
  const STARTDATE$1 = "Il contenuto non è ancora disponibile. Per cortesia prova più tardi.";
74837
+ const VPNORPROXYDETECTED$1 = "Questo contenuto non può essere riprodotto con VPN o proxy.";
74830
74838
  const UNKNOWN$1 = "Questo media non è disponibile.";
74831
74839
  const pillarboxLang$1 = {
74832
74840
  AGERATING12: AGERATING12$1,
@@ -74837,6 +74845,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74837
74845
  JOURNALISTIC: JOURNALISTIC$1,
74838
74846
  LEGAL: LEGAL$1,
74839
74847
  STARTDATE: STARTDATE$1,
74848
+ VPNORPROXYDETECTED: VPNORPROXYDETECTED$1,
74840
74849
  UNKNOWN: UNKNOWN$1
74841
74850
  };
74842
74851
 
@@ -74887,6 +74896,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74887
74896
  const JOURNALISTIC = "Quest cuntegn na stat ad interim betg a disposiziun per motivs publicistics.";
74888
74897
  const LEGAL = "Quest cuntegn n'è betg disponibel perquai ch'el è scadì.";
74889
74898
  const STARTDATE = "Quest cuntegn n'è betg anc disponibel. Empruvai pli tard.";
74899
+ const VPNORPROXYDETECTED = "Quest cuntegn na po betg vegnir reproducì cun VPN ni proxy activà.";
74890
74900
  const UNKNOWN = "Quest cuntegn n'è betg disponibel.";
74891
74901
  const pillarboxLang = {
74892
74902
  "Audio Player": "Audio-Player",
@@ -74979,6 +74989,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
74979
74989
  JOURNALISTIC: JOURNALISTIC,
74980
74990
  LEGAL: LEGAL,
74981
74991
  STARTDATE: STARTDATE,
74992
+ VPNORPROXYDETECTED: VPNORPROXYDETECTED,
74982
74993
  UNKNOWN: UNKNOWN
74983
74994
  };
74984
74995