@viewlift/player-backup 2.0.94-smartTv-test18 → 2.0.94-smartTv-test19
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/cjs/{autoNextVideo-b6289c67.js → autoNextVideo-ae8ebb28.js} +1 -1
- package/cjs/bundle.css +206 -206
- package/cjs/{features-58fdbdff.js → features-53c5c18c.js} +1 -1
- package/cjs/generic-b59600b2.js +1 -0
- package/cjs/{index-77582692.js → index-58dff8a9.js} +1 -1
- package/cjs/{index-246f3982.js → index-992ecc19.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/{multicamv2-2cd15fa5.js → multicamv2-4f5c7c6f.js} +1 -1
- package/cjs/{multicamv2-569e40cd.js → multicamv2-8d42bb76.js} +1 -1
- package/cjs/{nextEpisodeButton-5cdcbcf4.js → nextEpisodeButton-762e9e8d.js} +1 -1
- package/cjs/{playlist-d7afa860.js → playlist-e5409221.js} +1 -1
- package/cjs/{series-4f4d4721.js → series-817a22b9.js} +1 -1
- package/cjs/{series-v2-e1d1c1d0.js → series-v2-3adf6bd6.js} +1 -1
- package/cjs/{series-v2-e822f682.js → series-v2-8fb488b5.js} +1 -1
- package/cjs/{skin-24314fc1.js → skin-21543e5d.js} +1 -1
- package/cjs/{skin-6bd02d91.js → skin-533bb2e9.js} +1 -1
- package/cjs/{skin-68edbd2e.js → skin-5446155f.js} +1 -1
- package/cjs/{skin-1cf54a65.js → skin-8096aab3.js} +1 -1
- package/cjs/{skin-eefb4cc0.js → skin-a848663e.js} +1 -1
- package/cjs/{skin-28ac69ef.js → skin-e48e78da.js} +1 -1
- package/cjs/{skin-b8c97aa7.js → skin-fc018b21.js} +1 -1
- package/cjs/{videoSelector-4f13083b.js → videoSelector-2df67d1f.js} +1 -1
- package/cjs/{videoSelector-c27b0ff0.js → videoSelector-f0c10f48.js} +1 -1
- package/esm/{autoNextVideo-4e1da7a3.js → autoNextVideo-51982a0e.js} +1 -1
- package/esm/bundle.css +206 -206
- package/esm/{features-671a1862.js → features-d357c341.js} +1 -1
- package/esm/generic-beef9de0.js +1 -0
- package/esm/{index-0d1d7144.js → index-084287dc.js} +1 -1
- package/esm/{index-ab7d26f5.js → index-f434ca1f.js} +1 -1
- package/esm/index.js +1 -1
- package/esm/{multicamv2-d2ba18b1.js → multicamv2-17f7abcc.js} +1 -1
- package/esm/{multicamv2-5c1cd56f.js → multicamv2-3dcfccfa.js} +1 -1
- package/esm/{nextEpisodeButton-0595b6b9.js → nextEpisodeButton-dec1be1b.js} +1 -1
- package/esm/{playlist-2d8d16b8.js → playlist-d2d41f0d.js} +1 -1
- package/esm/{series-3f48b988.js → series-2db1f9c4.js} +1 -1
- package/esm/{series-v2-0f045402.js → series-v2-8bf087d4.js} +1 -1
- package/esm/{series-v2-b584de82.js → series-v2-b915c858.js} +1 -1
- package/esm/{skin-b4b05c94.js → skin-04eba00b.js} +1 -1
- package/esm/{skin-43276746.js → skin-1ddce931.js} +1 -1
- package/esm/{skin-6197591d.js → skin-1e30177c.js} +1 -1
- package/esm/{skin-62e0f76c.js → skin-a08241c3.js} +1 -1
- package/esm/{skin-9013a37f.js → skin-a780fdaa.js} +1 -1
- package/esm/{skin-c26bce33.js → skin-c5bedeec.js} +1 -1
- package/esm/{skin-c20802d7.js → skin-e6e27ec0.js} +1 -1
- package/esm/{videoSelector-516887cb.js → videoSelector-07755042.js} +1 -1
- package/esm/{videoSelector-6dab8b1a.js → videoSelector-a38764cc.js} +1 -1
- package/package.json +1 -1
- package/cjs/autoNextVideo-ccea2261.js +0 -1
- package/cjs/features-77c5c78b.js +0 -1
- package/cjs/generic-33e1afa1.js +0 -1
- package/cjs/generic-89e88667.js +0 -1
- package/cjs/index-bc95dfef.js +0 -1
- package/cjs/index-db954d0b.js +0 -1
- package/cjs/multicamv2-bd1b6c45.js +0 -1
- package/cjs/multicamv2-f8b83dcc.js +0 -1
- package/cjs/nextEpisodeButton-a336075b.js +0 -1
- package/cjs/playlist-fdcc9cae.js +0 -1
- package/cjs/series-98c631db.js +0 -1
- package/cjs/series-v2-c193b19a.js +0 -1
- package/cjs/series-v2-e1b9eca4.js +0 -1
- package/cjs/skin-10de263d.js +0 -1
- package/cjs/skin-76f974cb.js +0 -1
- package/cjs/skin-894d6dbd.js +0 -1
- package/cjs/skin-bbde2e87.js +0 -1
- package/cjs/skin-bf0d254a.js +0 -1
- package/cjs/skin-e4ec4030.js +0 -1
- package/cjs/skin-f888042f.js +0 -1
- package/cjs/videoSelector-183a0de2.js +0 -1
- package/cjs/videoSelector-50c6d7d9.js +0 -1
- package/esm/autoNextVideo-ad1e98e6.js +0 -1
- package/esm/features-7e76b18c.js +0 -1
- package/esm/generic-1ef31d32.js +0 -1
- package/esm/generic-a7874c24.js +0 -1
- package/esm/index-6a993af8.js +0 -1
- package/esm/index-a62dc194.js +0 -1
- package/esm/multicamv2-1f74da21.js +0 -1
- package/esm/multicamv2-915fae7a.js +0 -1
- package/esm/nextEpisodeButton-aea5d974.js +0 -1
- package/esm/playlist-bde8f4fe.js +0 -1
- package/esm/series-ee64a60c.js +0 -1
- package/esm/series-v2-4402d365.js +0 -1
- package/esm/series-v2-e4ecf418.js +0 -1
- package/esm/skin-06b9afb0.js +0 -1
- package/esm/skin-c62ad362.js +0 -1
- package/esm/skin-d1a03975.js +0 -1
- package/esm/skin-d3c85f35.js +0 -1
- package/esm/skin-e7ae354f.js +0 -1
- package/esm/skin-f538d16b.js +0 -1
- package/esm/skin-f6738e12.js +0 -1
- package/esm/videoSelector-55b4ee1b.js +0 -1
- package/esm/videoSelector-94eb4104.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,i=require("./generic-
|
|
1
|
+
"use strict";var e,i=require("./generic-b59600b2.js"),t=require("./util-e1bc715c.js"),n=require("./skin-f87e1c22.js"),o=0,u=0,d=function e(t,o,d,r){u=t,t>d.length-1||(i.setVideoIdx(u+1),i.load(o,d[t].id).then(function(e){n.highlightVideo(u,o),u++,c(e)}).catch(function(i){c(i),setTimeout(function(){n.highlightVideo(u,o),u++,e(u,o,d)},5e3)}))},c=function(i){e&&e(i)};exports.autoPlayNext=function(r){clearTimeout(o);var h=null==r?void 0:r.content;e=null==r?void 0:r.cb;var l=r.playerId;t.onVideoEnded(l,function(){var e=n.getPlayer(l);0!==(null==e?void 0:e.currentTime())&&((u=i.getVideoIdx())>h.length-1||(i.setVideoIdx(u+1),i.load(l,h[u].id).then(function(e){n.highlightVideo(u,l),i.setCurrentVideo(e.response),u++,c(e)}).catch(function(e){c(e),n.highlightVideo(u,l),u++,o=setTimeout(function(){i.isPaused(l)&&d(u,l,h)},5e3)})))})},exports.switchToNext=d;
|
package/cjs/bundle.css
CHANGED
|
@@ -2,179 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control {
|
|
6
|
-
height: 0.7em;
|
|
7
|
-
position: absolute;
|
|
8
|
-
top: -0.7em;
|
|
9
|
-
width: 100%;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.video-js.skin_vlone .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
|
|
13
|
-
height: 100%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value{
|
|
17
|
-
line-height: 2.5;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
21
|
-
height: 19px;
|
|
22
|
-
width: 19px;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
27
|
-
height: 19px;
|
|
28
|
-
width: 19px;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.video-js.skin_vlone .vjs-play-progress:before {
|
|
33
|
-
display: none !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
37
|
-
margin: 0 !important;
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
43
|
-
display: block;
|
|
44
|
-
flex: 1 1 auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
48
|
-
z-index: 1;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.video-js.skin_vlone .vjs-control-bar {
|
|
53
|
-
height: 40px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
57
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
58
|
-
position: relative !important;
|
|
59
|
-
}
|
|
60
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
61
|
-
display: flex;
|
|
62
|
-
left: 0px;
|
|
63
|
-
top: -1px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
67
|
-
font-size: 2em !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.video-js.skin_vlone .vjs-control {
|
|
71
|
-
width: 4.3em;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.vjs-menu-button-popup .vjs-menu {
|
|
75
|
-
bottom: 10px !important;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
80
|
-
height: 1.3em;
|
|
81
|
-
position: absolute;
|
|
82
|
-
top: -1.3em;
|
|
83
|
-
transition: height 0.3s, top 0.3s;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
88
|
-
display: none !important;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
92
|
-
display: block;
|
|
93
|
-
}
|
|
94
|
-
.video-js.skin_vlone .vjs-remaining-time {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
99
|
-
line-height: 3.5em;
|
|
100
|
-
font-size: 1.1em;
|
|
101
|
-
min-width: 4em;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.video-js.skin_vlone .vjs-time-divider > div{
|
|
105
|
-
display: flex;
|
|
106
|
-
justify-content: center;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.video-js.skin_vlone .vjs-live-control{
|
|
110
|
-
align-items: center;
|
|
111
|
-
}
|
|
112
|
-
.video-js.skin_vlone .vjs-live-display{
|
|
113
|
-
height: 2.2em;
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
font-family: monospace;
|
|
117
|
-
width: 4em;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
background: red;
|
|
120
|
-
margin: 4px 0px 4px 12px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
124
|
-
line-height: 3.5em !important;
|
|
125
|
-
font-size: 1.1em !important;
|
|
126
|
-
width: min-content !important;
|
|
127
|
-
min-width: 1.5em;
|
|
128
|
-
padding: 0 !important;
|
|
129
|
-
user-select: none;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
133
|
-
margin-left: 16px !important;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
/* Big play */
|
|
138
|
-
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
139
|
-
width: 80px;
|
|
140
|
-
height: 80px;
|
|
141
|
-
display: flex;
|
|
142
|
-
justify-content: center;
|
|
143
|
-
align-items: center;
|
|
144
|
-
border: none;
|
|
145
|
-
position: absolute;
|
|
146
|
-
top: 0;
|
|
147
|
-
left: 0;
|
|
148
|
-
right: 0;
|
|
149
|
-
bottom: 0;
|
|
150
|
-
margin: auto;
|
|
151
|
-
font-size: 5em;
|
|
152
|
-
line-height: 1.3em;
|
|
153
|
-
transform: none !important;
|
|
154
|
-
border-radius: 1.3em;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
@media(max-width:600px){
|
|
159
|
-
.video-js.skin_vlone button.vjs-big-play-button {
|
|
160
|
-
width: 50px !important;
|
|
161
|
-
height: 50px !important;
|
|
162
|
-
font-size: 2.1rem !important;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
166
|
-
display: none;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
170
|
-
display: none;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
174
|
-
display: none;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
5
|
|
|
179
6
|
|
|
180
7
|
/*
|
|
@@ -1736,6 +1563,179 @@ iframe {
|
|
|
1736
1563
|
|
|
1737
1564
|
|
|
1738
1565
|
|
|
1566
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control {
|
|
1567
|
+
height: 0.7em;
|
|
1568
|
+
position: absolute;
|
|
1569
|
+
top: -0.7em;
|
|
1570
|
+
width: 100%;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
.video-js.skin_vlone .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
|
|
1574
|
+
height: 100%;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value{
|
|
1578
|
+
line-height: 2.5;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
1582
|
+
height: 19px;
|
|
1583
|
+
width: 19px;
|
|
1584
|
+
cursor: pointer;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
1588
|
+
height: 19px;
|
|
1589
|
+
width: 19px;
|
|
1590
|
+
cursor: pointer;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
.video-js.skin_vlone .vjs-play-progress:before {
|
|
1594
|
+
display: none !important;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
1598
|
+
margin: 0 !important;
|
|
1599
|
+
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
1604
|
+
display: block;
|
|
1605
|
+
flex: 1 1 auto;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
1609
|
+
z-index: 1;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
.video-js.skin_vlone .vjs-control-bar {
|
|
1614
|
+
height: 40px;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
1618
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
1619
|
+
position: relative !important;
|
|
1620
|
+
}
|
|
1621
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
1622
|
+
display: flex;
|
|
1623
|
+
left: 0px;
|
|
1624
|
+
top: -1px;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
1628
|
+
font-size: 2em !important;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
.video-js.skin_vlone .vjs-control {
|
|
1632
|
+
width: 4.3em;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.vjs-menu-button-popup .vjs-menu {
|
|
1636
|
+
bottom: 10px !important;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
1641
|
+
height: 1.3em;
|
|
1642
|
+
position: absolute;
|
|
1643
|
+
top: -1.3em;
|
|
1644
|
+
transition: height 0.3s, top 0.3s;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
1649
|
+
display: none !important;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
1653
|
+
display: block;
|
|
1654
|
+
}
|
|
1655
|
+
.video-js.skin_vlone .vjs-remaining-time {
|
|
1656
|
+
display: none;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
1660
|
+
line-height: 3.5em;
|
|
1661
|
+
font-size: 1.1em;
|
|
1662
|
+
min-width: 4em;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
.video-js.skin_vlone .vjs-time-divider > div{
|
|
1666
|
+
display: flex;
|
|
1667
|
+
justify-content: center;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
.video-js.skin_vlone .vjs-live-control{
|
|
1671
|
+
align-items: center;
|
|
1672
|
+
}
|
|
1673
|
+
.video-js.skin_vlone .vjs-live-display{
|
|
1674
|
+
height: 2.2em;
|
|
1675
|
+
display: flex;
|
|
1676
|
+
align-items: center;
|
|
1677
|
+
font-family: monospace;
|
|
1678
|
+
width: 4em;
|
|
1679
|
+
justify-content: center;
|
|
1680
|
+
background: red;
|
|
1681
|
+
margin: 4px 0px 4px 12px;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
1685
|
+
line-height: 3.5em !important;
|
|
1686
|
+
font-size: 1.1em !important;
|
|
1687
|
+
width: min-content !important;
|
|
1688
|
+
min-width: 1.5em;
|
|
1689
|
+
padding: 0 !important;
|
|
1690
|
+
user-select: none;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
1694
|
+
margin-left: 16px !important;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
/* Big play */
|
|
1699
|
+
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
1700
|
+
width: 80px;
|
|
1701
|
+
height: 80px;
|
|
1702
|
+
display: flex;
|
|
1703
|
+
justify-content: center;
|
|
1704
|
+
align-items: center;
|
|
1705
|
+
border: none;
|
|
1706
|
+
position: absolute;
|
|
1707
|
+
top: 0;
|
|
1708
|
+
left: 0;
|
|
1709
|
+
right: 0;
|
|
1710
|
+
bottom: 0;
|
|
1711
|
+
margin: auto;
|
|
1712
|
+
font-size: 5em;
|
|
1713
|
+
line-height: 1.3em;
|
|
1714
|
+
transform: none !important;
|
|
1715
|
+
border-radius: 1.3em;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
@media(max-width:600px){
|
|
1720
|
+
.video-js.skin_vlone button.vjs-big-play-button {
|
|
1721
|
+
width: 50px !important;
|
|
1722
|
+
height: 50px !important;
|
|
1723
|
+
font-size: 2.1rem !important;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
1727
|
+
display: none;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
1731
|
+
display: none;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
1735
|
+
display: none;
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
1739
|
/* CSS for videojs-dvr-seekbar */
|
|
1740
1740
|
|
|
1741
1741
|
.video-js.vjs-dvr-seekbar {
|
|
@@ -1909,6 +1909,7 @@ iframe {
|
|
|
1909
1909
|
|
|
1910
1910
|
|
|
1911
1911
|
|
|
1912
|
+
|
|
1912
1913
|
.video-js .multicamera-parent.default{
|
|
1913
1914
|
height: 345px;
|
|
1914
1915
|
position: absolute;
|
|
@@ -1991,7 +1992,6 @@ iframe {
|
|
|
1991
1992
|
|
|
1992
1993
|
|
|
1993
1994
|
|
|
1994
|
-
|
|
1995
1995
|
/* nextep */
|
|
1996
1996
|
.next-ep-preview{
|
|
1997
1997
|
position: absolute;
|
|
@@ -2067,38 +2067,6 @@ iframe {
|
|
|
2067
2067
|
margin-left: 8px;
|
|
2068
2068
|
}
|
|
2069
2069
|
}
|
|
2070
|
-
/* a wrapper element that tracks the mouse vertically */
|
|
2071
|
-
.vjs-thumbnail-holder {
|
|
2072
|
-
position: absolute;
|
|
2073
|
-
left: -1000px;
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
|
-
/* the thumbnail image itself */
|
|
2077
|
-
.vjs-thumbnail {
|
|
2078
|
-
position: absolute;
|
|
2079
|
-
left: 0;
|
|
2080
|
-
bottom: 1.3em;
|
|
2081
|
-
opacity: 0;
|
|
2082
|
-
transition: opacity .2s ease;
|
|
2083
|
-
-webkit-transition: opacity .2s ease;
|
|
2084
|
-
-moz-transition: opacity .2s ease;
|
|
2085
|
-
-mz-transition: opacity .2s ease;
|
|
2086
|
-
}
|
|
2087
|
-
|
|
2088
|
-
/* fade in the thumbnail when hovering over the progress bar */
|
|
2089
|
-
/* .fake-active is needed for Android only. It's removed on touchend/touchecancel */
|
|
2090
|
-
.vjs-progress-control:hover .vjs-thumbnail,
|
|
2091
|
-
.vjs-progress-control.fake-active .vjs-thumbnail,
|
|
2092
|
-
.vjs-progress-control:active .vjs-thumbnail {
|
|
2093
|
-
opacity: 1;
|
|
2094
|
-
}
|
|
2095
|
-
|
|
2096
|
-
/* ... but hide the thumbnail when hovering directly over it */
|
|
2097
|
-
.vjs-progress-control:hover .vjs-thumbnail:hover,
|
|
2098
|
-
.vjs-progress-control:active .vjs-thumbnail:active {
|
|
2099
|
-
opacity: 0;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
2070
|
.video-js.vjs-quality-menu {
|
|
2103
2071
|
display: block;
|
|
2104
2072
|
}
|
|
@@ -2169,6 +2137,38 @@ iframe {
|
|
|
2169
2137
|
-webkit-animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite;
|
|
2170
2138
|
animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite;
|
|
2171
2139
|
}
|
|
2140
|
+
/* a wrapper element that tracks the mouse vertically */
|
|
2141
|
+
.vjs-thumbnail-holder {
|
|
2142
|
+
position: absolute;
|
|
2143
|
+
left: -1000px;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
/* the thumbnail image itself */
|
|
2147
|
+
.vjs-thumbnail {
|
|
2148
|
+
position: absolute;
|
|
2149
|
+
left: 0;
|
|
2150
|
+
bottom: 1.3em;
|
|
2151
|
+
opacity: 0;
|
|
2152
|
+
transition: opacity .2s ease;
|
|
2153
|
+
-webkit-transition: opacity .2s ease;
|
|
2154
|
+
-moz-transition: opacity .2s ease;
|
|
2155
|
+
-mz-transition: opacity .2s ease;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
/* fade in the thumbnail when hovering over the progress bar */
|
|
2159
|
+
/* .fake-active is needed for Android only. It's removed on touchend/touchecancel */
|
|
2160
|
+
.vjs-progress-control:hover .vjs-thumbnail,
|
|
2161
|
+
.vjs-progress-control.fake-active .vjs-thumbnail,
|
|
2162
|
+
.vjs-progress-control:active .vjs-thumbnail {
|
|
2163
|
+
opacity: 1;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
/* ... but hide the thumbnail when hovering directly over it */
|
|
2167
|
+
.vjs-progress-control:hover .vjs-thumbnail:hover,
|
|
2168
|
+
.vjs-progress-control:active .vjs-thumbnail:active {
|
|
2169
|
+
opacity: 0;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
2172
|
.vjs-poster {
|
|
2173
2173
|
display: inline-block;
|
|
2174
2174
|
vertical-align: middle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),l=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),a=require("./generic-
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),l=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),a=require("./generic-b59600b2.js"),s=require("./renditions-7fe52e97.js"),d=require("./skin-f87e1c22.js"),c=require("./localisation-56e0a999.js");function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?u(Object(n),!0).forEach(function(r){e(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function p(e){var t=v();return function(){var r,n=l(e);if(t){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return o(this,r)}}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}exports.addCaptionButton=function(e,t){Promise.resolve().then(function(){return require("./caption-settings-aceb4615.js")}).then(function(r){var n,o,l,a,s=r.default,c=d.getPlayer(e);i.registerComponent("captionSelector",s),null===(n=document)||void 0===n||null===(o=n.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("caption-selection vjs-control vjs-button"))||void 0===l||null===(a=l[0])||void 0===a||a.remove(),c&&c.getChild("controlBar").addChild("captionSelector",{playerId:e,options:t},c.controlBar.children().length-3)})},exports.addDBClickFullScreen=function(e){var t=d.getPlayer(e).el(),r=0,n=d.getPlayer(e);n.addChild("fullscreenToggle");var o=function(){var e,r=null==t||null===(e=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===e?void 0:e[0];r&&r.click()};n.el().addEventListener("dblclick",o),window._multiplayer_dbClickHandler=o;n.el().addEventListener("touchend",function(){var e=(new Date).getTime(),n=e-r;if(n<300&&n>0){var o,l=null==t||null===(o=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===o?void 0:o[0];l&&l.click()}r=e}),window._multiplayer_dbTapHandler=o},exports.addMulticamSelector=function(e,t){Promise.resolve().then(function(){return require("./multicamv2-4f5c7c6f.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},exports.addMulticamSelector_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then(function(){return require("./multicamv2-8d42bb76.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},exports.addNextEpisodeButton=function(e,t,r){Promise.resolve().then(function(){return require("./nextEpisodeButton-762e9e8d.js")}).then(function(n){var o=n.default,l=d.getPlayer(r);i.registerComponent("nextEpisodeButtonModule",o),l.getChild("controlBar").addChild("nextEpisodeButtonModule",{playerId:r,sres:e,res:t},l.controlBar.children().length-5)})},exports.addOutputtingOverlay=function(e,t){var r=d.getPlayer(e).el(),n=i.dom.createEl("div",{className:"output-overlay",innerHTML:'<iframe frameBorder="0" src='.concat(t,"></iframe>")});r.append(n)},exports.addPlaylistSelector=function(e,t){Promise.resolve().then(function(){return require("./playlist-e5409221.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("playlistSelector",n),o.getChild("controlBar").addChild("playlistSelector",{playerId:e,playlist:t},o.controlBar.children().length-3)})},exports.addResolutionModule=function(e,t,r){Promise.resolve().then(function(){return require("./resolution-5e1f1897.js")}).then(function(n){var o=n.default;document.getElementById(e).getElementsByClassName("container")[0]&&document.getElementById(e).getElementsByClassName("container")[0].remove();var l=d.getPlayer(e),a=s.getRenditions(e);(null==a?void 0:a.length)>0&&(i.registerComponent("resolutionModule",o),l.getChild("controlBar").addChild("resolutionModule",{playerId:e,skin:t,icon:r,renditions:a},l.controlBar.children().length-4))})},exports.addRewindButton=function(e,o,l){var s=function(o){n(s,o);var i=p(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;o.classList.add("vjs-rewind-button");var a=d.parseSvgString(l);return o.append(a),n}return r(s,[{key:"handleClick",value:function(){a.rewind(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSeriesModule=function(e,t,r){Promise.resolve().then(function(){return require("./series-817a22b9.js")}).then(function(n){var o=n.seriesModule,l=d.getPlayer(e);i.registerComponent("seriesModule",o),l.getChild("controlBar").addChild("seriesModule",{playerId:e,seriesData:t},l.controlBar.children().length-4);for(var a=document.querySelectorAll(".season-title-sdk"),s=function(e){a[e].addEventListener("click",function(){t[e]&&n.handleSeasonChange(t[e],e,l,r)})},c=0;c<a.length;c++)s(c)})},exports.addSeriesSelectorV2=function(e,t){Promise.resolve().then(function(){return require("./series-v2-3adf6bd6.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},exports.addSeriesSelectorV2_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then(function(){return require("./series-v2-8fb488b5.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},exports.addSettingsButtonV2=function(e,t){Promise.resolve().then(function(){return require("./settings-icon-a841c2ee.js")}).then(function(r){var n,o,l,a,s=r.default,c=d.getPlayer(e);i.registerComponent("settingsSelector",s),null===(n=document)||void 0===n||null===(o=n.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("settings-selection vjs-control vjs-button"))||void 0===l||null===(a=l[0])||void 0===a||a.remove(),c&&c.getChild("controlBar").addChild("settingsSelector",{playerId:e,options:t},c.controlBar.children().length-3)})},exports.addSkipButton=function(e,o,l){var s=function(o){n(s,o);var i=p(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;o.classList.add("vjs-skip-button");var a=d.parseSvgString(l);return o.append(a),n}return r(s,[{key:"handleClick",value:function(){a.skip(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSlowMotion=function(e){var o=function(e){n(i,e);var o=p(i);function i(e,r){var n;t(this,i);var l=(n=o.call(this,e,r)).el_;return l.classList.add("vjs-slowmo-button"),l.textContent=c.getLocalisation("slowMoText")||"Slow Mo",n}return r(i,[{key:"handleClick",value:function(){1==l.playbackRate()?(l.playbackRate(.5),this.el().style.background="darkgray"):(l.playbackRate(1),this.el().style.background="none")}}]),i}(i.getComponent("Button"));i.registerComponent("MyButton",o);var l=i(e);l.getChild("controlBar").addChild("myButton",{},2)},exports.addVideoSelector=function(e,t){Promise.resolve().then(function(){return require("./videoSelector-f0c10f48.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("videoSelector",n),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})},exports.addVideoSelector_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then(function(){return require("./videoSelector-2df67d1f.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("videoSelector",n),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/asyncToGenerator"),n=require("@babel/runtime/regenerator"),i=require("video.js"),o=require("axios"),r=require("./skin-f87e1c22.js"),l=require("./browser-38ff3331.js"),a=require("js-cookie"),d=require("ua-parser-js"),u=require("./captions-a4296cec.js");function s(){var e,t;null===(e=window)||void 0===e||null===(t=e.dataLayer)||void 0===t||t.push(arguments)}function c(e,t){s("event",e,t)}var v={apiBaseUrl:"https://prod-api.viewlift.com",getVideoDetails:"/entitlement/video/status",getSeriesDetails:"/entitlement/series/status",saveWatchHistoryV1:"/user/userId/history/video",saveWatchHistoryV2:"/v2/user/history",getVideoInfoV1:"/user/info/video",getVideoInfoV2:"/v2/user/info",getSeriesWatchHistoryV1:"/user/userId/history/video",getSeriesWatchHistoryV2:"/v2/user/history/series",getLinearChannelDetails:"/v3/entitlement/linearchannel",getBeaconUrl:"/analytics/player-beacon"};function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function f(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?m(Object(i),!0).forEach(function(n){e(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var p={name:"@viewlift/player-backup",version:"2.0.94-smartTv-test19",main:"dist/bundle.cjs.js",types:"dist/@viewlift/player/esm/index.d.ts",amdName:"_playerCore",dependencies:{"@silvermine/videojs-airplay":"^1.3.0","@silvermine/videojs-chromecast":"^1.4.1",axios:"^1.2.3",ima:"npm:videojs-ima@2.2.0",install:"^0.13.0","js-cookie":"^3.0.5",npm:"^11.5.2","ua-parser-js":"^2.0.3","video.js":"7.21.7","videojs-contrib-ads":"7.5.2","videojs-contrib-eme":"5.5.1","videojs-contrib-quality-menu":"^1.0.3","videojs-mux":"^4.21.7"}};window.vl_player_version=p.version;var I,g=function(e,t){var n,i,r,l,a,d,u,s;return null!==(n=window)&&void 0!==n&&null!==(i=n.customData)&&void 0!==i&&i.overrideEntitlementResponse?new Promise(function(e,t){var n,i;return e({data:null===(n=window)||void 0===n||null===(i=n.customData)||void 0===i?void 0:i.overrideEntitlementResponse})}):o({url:null!==(a=window)&&void 0!==a&&null!==(d=a.customData)&&void 0!==d&&d.overrideEntitlementBaseUrl?(null===(u=window)||void 0===u||null===(s=u.customData)||void 0===s?void 0:s.overrideEntitlementBaseUrl)+"/video/status":y.get()+"".concat(null==v?void 0:v.getVideoDetails),params:f({id:e,deviceType:"web_browser",contentConsumption:"web"},null===(r=window)||void 0===r||null===(l=r.customData)||void 0===l?void 0:l.entitlement),method:"GET",headers:{Authorization:t,"Sdk-Version":p.version},withCredentials:!0})},w=function(e,t){var n,i,r,l;return null!==(n=window)&&void 0!==n&&null!==(i=n.customData)&&void 0!==i&&i.overrideEntitlementResponse?new Promise(function(e,t){var n,i;return e({data:null===(n=window)||void 0===n||null===(i=n.customData)||void 0===i?void 0:i.overrideEntitlementResponse})}):o({url:y.get()+v.getLinearChannelDetails,params:f(f(f(f(f({id:null==e?void 0:e.id,deviceType:"web_browser",contentConsumption:"web"},(null==e?void 0:e.channelId)&&{channelId:null==e?void 0:e.channelId}),(null==e?void 0:e.programId)&&{programId:null==e?void 0:e.programId}),(null==e?void 0:e.programTitle)&&{programTitle:null==e?void 0:e.programTitle}),(null==e?void 0:e.programSubType)&&{programSubType:null==e?void 0:e.programSubType}),null===(r=window)||void 0===r||null===(l=r.customData)||void 0===l?void 0:l.entitlement),method:"GET",headers:{Authorization:t,hdcp:"HDCP-1.4",sl:"SW_SECURE_CRYPTO"}})},E=function(){var e=t(n.mark(function e(t){var i;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:return i=e.sent,e.abrupt("return",o({url:y.get()+"".concat(null==v?void 0:v.saveWatchHistoryV2),method:"POST",headers:{Authorization:i},data:f({},t),params:f({},(null==t?void 0:t.profileId)&&{profileId:null==t?void 0:t.profileId})}));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),T=function(e,t){var n,i,r=window.contentType;return o({method:"GET",url:y.get()+"".concat(null==v?void 0:v.getVideoInfoV2,"/").concat(r,"/").concat(e),headers:{Authorization:t,"x-api-key":null===(n=window)||void 0===n||null===(i=n.watchHistory)||void 0===i?void 0:i.xApiKey},timeout:15e3})},h=function(e){var t=e.videoId;return o({method:"GET",url:y.get()+"".concat(null==v?void 0:v.getSeriesWatchHistoryV2,"/").concat(t),headers:{Authorization:e.token},timeout:15e3})},y=(I=null==v?void 0:v.apiBaseUrl,{set:function(e){e&&(I=e)},get:function(){return I}}),_=function(e){var t=JSON.parse(atob(null==e?void 0:e.split(".")[1])),n=null==t?void 0:t.exp;if(new Date(1e3*n).getTime()<(new Date).getTime())return!0},b=null;function F(){return{set:function(e){e&&(b=e)},get:function(){return b}}}var D,S,V,L,O,P,W=function(){var e=t(n.mark(function e(){var t,i,r;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=F().get(),i=y.get(),e.prev=2,e.next=5,o({method:"GET",url:"".concat(i,"/identity/refresh/").concat(t)});case 5:return r=e.sent,e.abrupt("return",r);case 9:throw e.prev=9,e.t0=e.catch(2),console.error("Error fetching refresh token",e.t0),e.t0;case 13:case"end":return e.stop()}},e,null,[[2,9]])}));return function(){return e.apply(this,arguments)}}(),R=null,x=function(){var e=t(n.mark(function e(){var t;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=sessionStorage.getItem("vlp_token"))||!_(t)){e.next=6;break}return R||(R=W().then(function(e){var n,i,o=null==e||null===(n=e.data)||void 0===n?void 0:n.authorizationToken,r=null==e||null===(i=e.data)||void 0===i?void 0:i.refreshToken;return o&&sessionStorage.setItem("vlp_token",o),r&&F().set(r),o||t}).catch(function(e){return console.error("Error fetching refresh token",e),t}).finally(function(){R=null})),e.abrupt("return",R);case 6:return e.abrupt("return",t);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),C=function(e){if(e&&"string"==typeof e)return JSON.parse(atob(e.split(".")[1]))},A=function(e){S=e},N=function(){return S},B=function(){return D},M=function(e){V=e},j=function(e){if(L){var t=L.get(e);M(t+1)}},U=(P=0,{set:function(e){e>=0&&(P=e)},get:function(){return P}});function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function H(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?k(Object(i),!0).forEach(function(n){e(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):k(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var z=0,G=!1,Y=function(){var e,t,n,i,o,r,l,a=N();return"linearchannel"==((null==a?void 0:a.contentType)||"video")?null==a||null===(e=a.linearchannel)||void 0===e||null===(t=e.channels)||void 0===t||null===(n=t.find(function(e){return(null==e?void 0:e.id)===(null==a?void 0:a.channelId)}))||void 0===n||null===(i=n.content)||void 0===i?void 0:i.id:(null==a||null===(o=a.video)||void 0===o||null===(r=o.gist)||void 0===r?void 0:r.id)||(null==a||null===(l=a.video)||void 0===l?void 0:l.id)||(null==a?void 0:a.id)};function q(){var e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}function X(){var e=window.sessionStorage.getItem("uid");return e||(e=q(),window.sessionStorage.setItem("uid",e),e)}function J(){return K.apply(this,arguments)}function K(){return(K=t(n.mark(function e(){var t,i;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:if(!(t=e.sent)){e.next=10;break}if(null==(i=JSON.parse(atob(t.split(".")[1])))||!i.anonymousId){e.next=9;break}return e.abrupt("return","guest-user");case 9:return e.abrupt("return",null==i?void 0:i.userId);case 10:return e.abrupt("return","guest-user");case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Q(e){return e?String(e):""}window.initialise=function(e){window.sid=q(),window.environment="production",window.platform="WEBSITE",G=!1;try{G(e),buffering(e),ads(e),ping(e)}catch(e){console.error(e)}},window.streamFailures=function(e){var t=Math.floor(e.currentTime());e.on("error",function(){var n,i,o,r=Math.floor(e.currentTime());clearInterval(window.bufferingTimer),window.handleBufferTimer=null,G=!0,c(r?"FAILED_TO_START":"DROPPED_STREAM",H({pfm:window.platform,uid:X(),vid:Y(),videoPosition:Math.floor(e.currentTime())},null===(n=window)||void 0===n||null===(i=n.customData)||void 0===i||null===(o=i.beacon)||void 0===o?void 0:o.params)),fireEvent({eventName:t===r?"FAILED_TO_START":"DROPPED_STREAM",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1})})},window.firstFrame=function(e,t){e.one("play",tryCatch(function(){var n,i,o;window.ttFirstFrame=0,window.ttFirstFrameTimer=setInterval(function(){window.ttFirstFrame=window.handleBufferTimer?window.handleBufferTimer(window.ttFirstFrame,e):null},100),c("PLAY",H({pfm:window.platform,uid:X(),vid:Y(),videoPosition:Math.floor(e.currentTime())},null===(n=window)||void 0===n||null===(i=n.customData)||void 0===i||null===(o=i.beacon)||void 0===o?void 0:o.params)),fireEvent({eventName:"PLAY",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1}),t&&t("started_video_playback",{"Video ID":Y(),watchTime:Math.floor(e.currentTime())})}))},window.buffering=function(e){e.on("waiting",tryCatch(function(){window.ttFirstFrameTimer||G||(e.currentTime(),clearInterval(window.bufferingTimer),window.bufferingTimer=setInterval(function(){var t,n;null!=e&&null!==(t=e.el_)&&void 0!==t&&null!==(n=t.className)&&void 0!==n&&n.includes("vjs-waiting")&&!e.paused()?window.totalBufferTime=window.handleBufferTimer?window.handleBufferTimer(window.totalBufferTime,e):null:clearInterval(window.bufferingTimer)},100))}))},window.handleBufferTimer=function(e,t){var n,i;if(t.el_){var o,r,l,a=e+.1;if(+a.toFixed(2)%5==0&&null!=t&&null!==(n=t.el_)&&void 0!==n&&null!==(i=n.className)&&void 0!==i&&i.includes("vjs-waiting")&&z<4)z++,c("BUFFERING",H({pfm:window.platform,uid:X(),vid:Y(),videoPosition:t.el_&&Math.floor(t.currentTime())},null===(o=window)||void 0===o||null===(r=o.customData)||void 0===r||null===(l=r.beacon)||void 0===l?void 0:l.params)),fireEvent({eventName:"BUFFERING",videoPosition:t.el_&&Math.floor(t.currentTime()),isAdEvent:!1});return a}clearInterval(window.ttFirstFrameTimer)},window.endFirstFrame=function(e){e.one("timeupdate",function(){var t,n,i;clearInterval(window.ttFirstFrameTimer),clearInterval(window.bufferingTimer),window.ttFirstFrameTimer=null,window.totalBufferTime=window.ttFirstFrame||0,c("FIRST_FRAME",H({eventName:"FIRST_FRAME",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1,ttFirstFrame:window.ttFirstFrame,bufferHealth:window.getRemainingBufferTime(e),pfm:window.platform,uid:X(),vid:Y()},null===(t=window)||void 0===t||null===(n=t.customData)||void 0===n||null===(i=n.beacon)||void 0===i?void 0:i.params)),fireEvent({eventName:"FIRST_FRAME",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1,ttFirstFrame:window.ttFirstFrame,bufferHealth:window.getRemainingBufferTime(e)})})},window.ads=function(e){e.on("adsready",function(){e.ima.addEventListener(window.google.ima.AdEvent.Type.STARTED,function(){var t,n,i,o,r,l;c("AD_REQUEST",H({eventName:"AD_REQUEST",videoPosition:Math.floor(e.currentTime()),isAdEvent:!0,bufferHealth:window.getRemainingBufferTime(e),pfm:window.platform,uid:X(),vid:Y(),resHeight:e.videoHeight(),resWidth:e.videoWidth()},null===(t=window)||void 0===t||null===(n=t.customData)||void 0===n||null===(i=n.beacon)||void 0===i?void 0:i.params)),fireEvent({eventName:"AD_REQUEST",videoPosition:Math.ceil(e.currentTime()),isAdEvent:!0,resHeight:e.videoHeight(),resWidth:e.videoWidth(),adPosition:1}),c("AD_IMPRESSION",H({eventName:"AD_IMPRESSION",videoPosition:Math.floor(e.currentTime()),isAdEvent:!0,bufferHealth:window.getRemainingBufferTime(e),pfm:window.platform,uid:X(),resHeight:e.videoHeight(),resWidth:e.videoWidth(),vid:Y()},null===(o=window)||void 0===o||null===(r=o.customData)||void 0===r||null===(l=r.beacon)||void 0===l?void 0:l.params)),fireEvent({eventName:"AD_IMPRESSION",videoPosition:Math.ceil(e.currentTime()),resHeight:e.videoHeight(),resWidth:e.videoWidth(),isAdEvent:!0,adPosition:1})}),e.ima.addEventListener(window.google.ima.AdEvent.Type.SKIPPED,function(){window.ttFirstFrame=0}),e.ima.addEventListener(window.google.ima.AdEvent.Type.COMPLETE,function(){window.ttFirstFrame=0})})},window.ping=function(e){var t=[];e.on("timeupdate",function(){var n=Math.floor(e.currentTime());n>=30&&n%30==0&&!t.includes(n)&&(z=0,t.push(n),fireEvent({eventName:"PING",videoPosition:n,isAdEvent:!1,duration:30,resHeight:e.videoHeight(),resWidth:e.videoWidth(),bufferHealth:window.getRemainingBufferTime(e),bitrate:e.tech_.vhs&&window.getBitrate(e)}))})},window.getBitrate=function(e){return Math.round(e.tech_.vhs.selectPlaylist().attributes.BANDWIDTH/1e3)},window.getRemainingBufferTime=function(e){return tryCatch(function(){for(var t=e.currentTime(),n=e.duration(),i=e.buffered(),o=0;o<i.length;o++){var r=i.start(o),l=i.end(o);if(Z(t,r,l)){var a=Math.round(n-l);if(isFinite(a))return a}}})()};var Z=function(e,t,n){return e>=t&&e<=n};window.fireEvent=function(){var e=t(n.mark(function e(t){var i,r,l,a,d,u,s,c,m,f,p,I,g,w,E,T,h,_,b,F;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:return T=e.sent,h=C(T),_=null==h?void 0:h.site,b=null==h?void 0:h.siteId,e.t0=H,e.t1=H,e.t2=H({aid:_,cid:b,pfm:window.platform},null===(i=window)||void 0===i||null===(r=i.customData)||void 0===r||null===(l=r.beacon)||void 0===l?void 0:l.params),e.t3={},e.t4=X(),e.t5=Y(),e.t6=t.url||document.location.href,e.t7=t.ref||document.referrer,e.t8=t.eventName,e.t9=null!==(a=t.videoPosition)&&void 0!==a?a:null,e.t10=window.environment,e.t11=t.dp1||"",e.t12=t.dp2||"",e.t13=t.dp3||"",e.t14=t.dp4||"",e.t15=t.dp5||"",e.t16=!0===t.isAdEvent?t.videoPosition:null,e.t17=!0===t.isAdEvent?Q(t.adPosition):"",e.next=26,J();case 26:e.t18=e.sent,e.t19=t.playerType||"native",e.t20=t.mediaType||"VIDEO",e.t21=window.sid,e.t22=null!==(d=t.ttFirstFrame)&&void 0!==d?d:null,e.t23=null!==(u=t.bitrate)&&void 0!==u?u:null,e.t24=null!==(s=t.resHeight)&&void 0!==s?s:null,e.t25=null!==(c=t.resWidth)&&void 0!==c?c:null,e.t26=null!==(m=t.bufferHealth)&&void 0!==m?m:null,e.t27={uid:e.t4,vid:e.t5,url:e.t6,ref:e.t7,pa:e.t8,vpos:e.t9,environment:e.t10,dp1:e.t11,dp2:e.t12,dp3:e.t13,dp4:e.t14,dp5:e.t15,apos:e.t16,apod:e.t17,profid:e.t18,player:e.t19,media_type:e.t20,stream_id:e.t21,embedurl:"",ttfirstframe:e.t22,bitrate:e.t23,connectionspeed:null,resolutionheight:e.t24,resolutionwidth:e.t25,bufferhealth:e.t26},e.t28=(null==t?void 0:t.duration)&&{duration:t.duration},e.t29=(0,e.t1)(e.t2,e.t3,e.t27,e.t28),e.t30=null===(f=window)||void 0===f||null===(p=f.customData)||void 0===p||null===(I=p.beacon)||void 0===I?void 0:I.params,e.t31=(0,e.t0)(e.t29,e.t30),F=[e.t31],o({url:(null===(g=window)||void 0===g||null===(w=g.customData)||void 0===w||null===(E=w.beacon)||void 0===E?void 0:E.url)||y.get()+v.getBeaconUrl,method:"post",headers:{Authorization:T},contentType:"application/x-www-form-urlencoded",dataType:"text",data:F}).catch(function(e){console.error(e)});case 42:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),window.tryCatch=function(e){return function(){try{return e.apply(window,arguments)}catch(e){return console.error(e),null}}};var $=function(){var e=U.get();return e>=0?e+1:1},ee=function(){var e,t,n,i=B(),o=N(),r=null==o||null===(e=o.video)||void 0===e?void 0:e.id,l=U.get(),a=null==i||null===(t=i[l])||void 0===t||null===(n=t.episodes)||void 0===n?void 0:n.findIndex(function(e){return(null==e?void 0:e.id)===r});return a>=0?a+1:1};function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function ne(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?te(Object(i),!0).forEach(function(n){e(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):te(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}window._deviceInfo=d.UAParser(navigator.userAgent);var ie=function(e,t){return e&&t?"".concat(e,"x").concat(t):e>1024?"L":e>768?"M":"S"},oe=function(e){var t=re(e,"video.tags",[]),n=re(e,"video.gist.primaryCategory.title","VIEWLIFT_CONTENT_GENRE");return t.length>0?t.map(function(e){return e.title}).join(","):n},re=function(e,t,n){for(var i=0,o=(t=t.split(".")).length;i<o;i++){var r;e=null===(r=e)||void 0===r?void 0:r[t[i]]}return e||n},le=function(){var e,t,n,i,o,l,d,u,s,c,v,m,f,p,I,g,w,E,T,h,y,_=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",b=arguments.length>1?arguments[1]:void 0,F=arguments.length>2?arguments[2]:void 0,D=(null==F?void 0:F.siteName)||"",S=(null==F?void 0:F.contentType)||"video",V=(null==F||null===(e=F[S])||void 0===e?void 0:e.metadata)||(null==F||null===(t=F[S])||void 0===t||null===(n=t.gist)||void 0===n?void 0:n.metadata),L=r.getPlayer(b);if(!_.includes("VIEWLIFT_"))return _;var O,P=window.getComputedStyle(document.getElementById(b),null),W=Math.trunc(P.getPropertyValue("height").slice(0,-2)),R=Math.trunc(P.getPropertyValue("width").slice(0,-2)),x="linearchannel"===S?null==F||null===(i=F.linearchannel)||void 0===i||null===(o=i.channels)||void 0===o||null===(l=o.find(function(e){return(null==e?void 0:e.id)===(null==F?void 0:F.channelId)}))||void 0===l||null===(d=l.content)||void 0===d?void 0:d.id:re(F,"video.gist.id",""),C="linearchannel"===S?null==F||null===(u=F.linearchannel)||void 0===u||null===(s=u.channels)||void 0===s||null===(c=s.find(function(e){return(null==e?void 0:e.id)===(null==F?void 0:F.channelId)}))||void 0===c?void 0:c.title:re(F,"video.gist.title","VIEWLIFT_ENCODED_VIDEO_TITLE"),A=null,N=null;"function"==typeof window.__gpp&&(null===(O=window)||void 0===O||O.__gpp("ping",function(e){A=null==e?void 0:e.gppString,N=null==e?void 0:e.sectionList[0]}));var B=ne(ne({},ae(V)),{},{VIEWLIFT_WIDTH:R,VIEWLIFT_HEIGHT:W,VIEWLIFT_SIZE:ie(R,W),VIEWLIFT_DOMAIN:window.location.hostname,VIEWLIFT_URL:window.location.href,VIEWLIFT_ENCODED_URL:encodeURIComponent(window.location.href),VIEWLIFT_DOUBLE_ENCODED_URL:encodeURIComponent(encodeURIComponent(window.location.href)),VIEWLIFT_CACHEBUSTER:"3708662946268",VIEWLIFT_TIMESTAMP:Date.now().toString().substring(0,10),VIEWLIFT_TIMESTAMP_MS:Date.now().toString(),VIEWLIFT_IP:(null===(v=window)||void 0===v?void 0:v.ip)||"VIEWLIFT_IP",VIEWLIFT_USER_AGENT:encodeURIComponent(encodeURIComponent(navigator.userAgent)),VIEWLIFT_DNT:"1"===navigator.doNotTrack?"1":"0",VIEWLIFT_DESCRIPTION:re(F,"video.gist.description","VIEWLIFT_DESCRIPTION"),VIEWLIFT_DURATION:re(F,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_MIN_DURATION:0,VIEWLIFT_MAX_DURATION:re(F,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_AUTOPLAY:(null==L||null===(m=L.options_)||void 0===m?void 0:m.autoplay)||1,VIEWLIFT_MUTE:(null==L||null===(f=L.options_)||void 0===f?void 0:f.autoplay)||0,VIEWLIFT_DEVICE_ID:"spinco"==D?"":localStorage.getItem("deviceId")||"VIEWLIFT_DEVICE_ID",VIEWLIFT_DEVICETYPE:"WEB_BROWSER",VIEWLIFT_IDTYPE:"dpid",VIEWLIFT_KEYWORDS:oe(F),VIEWLIFT_MEDIA_ID:x,VIEWLIFT_ENCODED_VIDEO_TITLE:encodeURI(re(F,"video.gist.title","VIEWLIFT_ENCODED_VIDEO_TITLE")),VIEWLIFT_VIDEO_ID:x,VIEWLIFT_VIDEO_URL:encodeURI(window.location.origin+re(F,"video.gist.permalink","")),VIEWLIFT_CONSENT:a.get("cc")||"VIEWLIFT_CONSENT",VIEWLIFT_COPPA:re(null===(p=window)||void 0===p||null===(I=p.app_data)||void 0===I||null===(g=I.site)||void 0===g?void 0:g.settings,"compliance.coppa")?1:0,VIEWLIFT_GDPR_CONSENT:"",VIEWLIFT_GDPR:"spinco"==D?"":re(null===(w=window)||void 0===w||null===(E=w.app_data)||void 0===E||null===(T=E.site)||void 0===T?void 0:T.settings,"compliance.gdpr")?1:0,VIEWLIFT_CONTENT_DURATION_MS:1e3*re(F,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_CONTENT_DURATION:re(F,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_CONTENT_ID:x,VIEWLIFT_CONTENT_TITLE:C,VIEWLIFT_CONTENT_SERIES_TITLE:re(F,"video.series.gist.title","VIEWLIFT_CONTENT_SERIES_TITLE"),VIEWLIFT_CONTENT_GENRE:re(F,"video.gist.primaryCategory.title","VIEWLIFT_CONTENT_GENRE"),VIEWLIFT_USER:sessionStorage.getItem("uid")||"VIEWLIFT_USER",VIEWLIFT_EPISODE_NUMBER:ee(),VIEWLIFT_SEASON_NUMBER:$(),VIEWLIFT_CONTENT_TAGS:oe(F),VIEWLIFT_GPP_SID:N||"VIEWLIFT_GPP_SID",VIEWLIFT_GPP:A||"VIEWLIFT_GPP",VIEWLIFT_APP_ID:"",VIEWLIFT_APP_STORE_URL:""},null===(h=window)||void 0===h||null===(y=h.customData)||void 0===y?void 0:y.macros);for(var M in B){var j=new RegExp(M,"g");_=_.replace(j,B[M])}return _},ae=function(e){var t,n,i,o,r,a,d;if(null!==(t=window)&&void 0!==t&&t.customData.isSmartTV)return de(e);var u={},s=new Map;(null==e?void 0:e.length)>0&&(null==e||e.map(function(e){s.set(e.name,e.value)}));var c=(null===(n=window)||void 0===n||null===(i=n.customData)||void 0===i||null===(o=i.subscription)||void 0===o?void 0:o.SVOD)||!1,v=(null===(r=window)||void 0===r||null===(a=r.customData)||void 0===a||null===(d=a.subscription)||void 0===d?void 0:d.TVE)||!1;return c||v?(l.isMobile()?c?u=ne(ne({},u),{},{VIEWLIFT_CSID:s.get("csid.mweb.dtc")||""}):v&&(u=ne(ne({},u),{},{VIEWLIFT_CSID:s.get("csid.mweb.tve")||""})):c?u=ne(ne({},u),{},{VIEWLIFT_CSID:s.get("csid.web.dtc")||""}):v&&(u=ne(ne({},u),{},{VIEWLIFT_CSID:s.get("csid.web.tve")||""})),c?u=ne(ne({},u),{},{VIEWLIFT_SFID:s.get("sfid.dtc")||s.get("sfid.web.dtc")||""}):v&&(u=ne(ne({},u),{},{VIEWLIFT_SFID:s.get("sfid.tve")||s.get("sfid.web.tve")||""})),u=l.isMobile()?ne(ne({},u),{},{VIEWLIFT_PROF:s.get("prof.mweb")||""}):ne(ne({},u),{},{VIEWLIFT_PROF:s.get("prof.web")||""})):(u=ne(ne({},u),{},{VIEWLIFT_SFID:s.get("sfid.dtc")||s.get("sfid.web.dtc")||""}),u=l.isMobile()?ne(ne({},u),{},{VIEWLIFT_CSID:s.get("csid.mweb.dtc")||"",VIEWLIFT_PROF:s.get("prof.mweb")||""}):ne(ne({},u),{},{VIEWLIFT_CSID:s.get("csid.web.dtc")||"",VIEWLIFT_PROF:s.get("prof.web")||""})),u=ne(ne({},u),{},{VIEWLIFT_AFID:s.get("afid")})},de=function(e){var t,n,i,o,r,l,a={},d=new Map;return(null==e?void 0:e.length)>0&&(null==e||e.map(function(e){d.set(e.name,e.value)})),null===(t=window)||void 0===t||null===(n=t.customData)||void 0===n||null===(i=n.subscription)||void 0===i||i.SVOD,(null===(o=window)||void 0===o||null===(r=o.customData)||void 0===r||null===(l=r.subscription)||void 0===l?void 0:l.TVE)||!1?"lgTv"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.lgtv.tve")||d.get("sfid.tve")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.lgtv.tve")||"",VIEWLIFT_PROF:d.get("prof.lgtv")||""})):"vizioTv"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.viziotv.tve")||d.get("sfid.tve")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.viziotv.tve")||"",VIEWLIFT_PROF:d.get("prof.viziotv")||""})):"xfinityX1"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.xfinity.tve")||d.get("sfid.tve")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.xfinity.tve")||"",VIEWLIFT_PROF:d.get("prof.xfinity")||""})):"xbox"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.xbox.tve")||d.get("sfid.tve")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.xbox.dtc")||"",VIEWLIFT_PROF:d.get("prof.xbox")||""})):"FireTV"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.firetv.tve")||d.get("sfid.tve")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.xbox.tve")||"",VIEWLIFT_PROF:d.get("prof.xbox")||""})):(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.samsungtv.tve")||d.get("sfid.tve")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.samsungtv.tve")||"",VIEWLIFT_PROF:d.get("prof.samsungtv")||""})):"lgTv"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.lgtv.dtc")||d.get("sfid.dtc")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.lgtv.dtc")||"",VIEWLIFT_PROF:d.get("prof.lgtv")||""})):"vizioTv"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.viziotv.dtc")||d.get("sfid.dtc")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.viziotv.dtc")||"",VIEWLIFT_PROF:d.get("prof.viziotv")||""})):"xfinityX1"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.xfinity.dtc")||d.get("sfid.dtc")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.xfinity.dtc")||"",VIEWLIFT_PROF:d.get("prof.xfinity")||""})):"xbox"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.xbox.dtc")||d.get("sfid.dtc")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.xbox.dtc")||"",VIEWLIFT_PROF:d.get("prof.xbox")||""})):"FireTV"==window.customData.device?(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.firetv.dtc")||d.get("sfid.dtc")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.firetv.dtc")||"",VIEWLIFT_PROF:d.get("prof.firetv")||""})):(a=ne(ne({},a),{},{VIEWLIFT_SFID:d.get("sfid.samsungtv.dtc")||d.get("sfid.dtc")}),a=ne(ne({},a),{},{VIEWLIFT_CSID:d.get("csid.samsungtv.dtc")||"",VIEWLIFT_PROF:d.get("prof.samsungtv")||""})),a},ue=function(e){var t=null;try{var n,i,o,r,l,a,d,u,s,c,v,m,f,p,I,g,w,E,T,h,y,_,b,F,D,S,V,L,O,P,W,R,x,C,A,N,B;if(null!==(n=window)&&void 0!==n&&n.customData.isSmartTV){if("samsungTv"==window.customData.device&&null!=e&&null!==(i=e.ads)&&void 0!==i&&null!==(o=i.preRoll)&&void 0!==o&&null!==(r=o.adTags)&&void 0!==r&&null!==(l=r.samsung_tv)&&void 0!==l&&l.active)t=null==e||null===(S=e.ads)||void 0===S||null===(V=S.preRoll)||void 0===V||null===(L=V.adTags)||void 0===L||null===(O=L.samsung_tv)||void 0===O?void 0:O.url;else if("lgTv"==window.customData.device&&null!=e&&null!==(a=e.ads)&&void 0!==a&&null!==(d=a.preRoll)&&void 0!==d&&null!==(u=d.adTags)&&void 0!==u&&null!==(s=u.lg_tv)&&void 0!==s&&s.active){var M,j,U,k;t=null==e||null===(M=e.ads)||void 0===M||null===(j=M.preRoll)||void 0===j||null===(U=j.adTags)||void 0===U||null===(k=U.lg_tv)||void 0===k?void 0:k.url}else if("vizioTv"==window.customData.device&&null!=e&&null!==(c=e.ads)&&void 0!==c&&null!==(v=c.preRoll)&&void 0!==v&&null!==(m=v.adTags)&&void 0!==m&&null!==(f=m.vizioTv)&&void 0!==f&&f.active){var H,z,G,Y;t=null==e||null===(H=e.ads)||void 0===H||null===(z=H.preRoll)||void 0===z||null===(G=z.adTags)||void 0===G||null===(Y=G.vizioTv)||void 0===Y?void 0:Y.url}else if("xbox"==window.customData.device&&null!=e&&null!==(p=e.ads)&&void 0!==p&&null!==(I=p.preRoll)&&void 0!==I&&null!==(g=I.adTags)&&void 0!==g&&null!==(w=g.xbox)&&void 0!==w&&w.active){var q,X,J,K;t=null==e||null===(q=e.ads)||void 0===q||null===(X=q.preRoll)||void 0===X||null===(J=X.adTags)||void 0===J||null===(K=J.xbox)||void 0===K?void 0:K.url}else if("xbox"==window.customData.device&&null!=e&&null!==(E=e.ads)&&void 0!==E&&null!==(T=E.preRoll)&&void 0!==T&&null!==(h=T.adTags)&&void 0!==h&&null!==(y=h.xbox)&&void 0!==y&&y.active){var Q,Z,$,ee;t=null==e||null===(Q=e.ads)||void 0===Q||null===(Z=Q.preRoll)||void 0===Z||null===($=Z.adTags)||void 0===$||null===(ee=$.xbox)||void 0===ee?void 0:ee.url}else if("FireTV"==window.customData.device&&null!=e&&null!==(_=e.ads)&&void 0!==_&&null!==(b=_.preRoll)&&void 0!==b&&null!==(F=b.adTags)&&void 0!==F&&null!==(D=F.firetv)&&void 0!==D&&D.active){var te,ne,ie,oe;t=null==e||null===(te=e.ads)||void 0===te||null===(ne=te.preRoll)||void 0===ne||null===(ie=ne.adTags)||void 0===ie||null===(oe=ie.firetv)||void 0===oe?void 0:oe.url}}else t=(null==e||null===(P=e.ads)||void 0===P||null===(W=P.preRoll)||void 0===W||null===(R=W.adTags)||void 0===R||null===(x=R.web)||void 0===x?void 0:x.active)&&(null==e||null===(C=e.ads)||void 0===C||null===(A=C.preRoll)||void 0===A||null===(N=A.adTags)||void 0===N||null===(B=N.web)||void 0===B?void 0:B.url)}catch(e){}return t},se=function(e,t){var n,i,o,r,a,d,u,s,c,v,m,f,p,I=(null==e?void 0:e.contentType)||"video",g=null==e||null===(n=e[I])||void 0===n?void 0:n.drmEnabled,w=null==e||null===(i=e[I])||void 0===i||null===(o=i.streamingInfo)||void 0===o?void 0:o.videoAssets,E=null==e||null===(r=e[I])||void 0===r||null===(a=r.streamingInfo)||void 0===a?void 0:a.audioAssets,T=(null==e||null===(d=e[I])||void 0===d||null===(u=d.streamingInfo)||void 0===u||null===(s=u.videoAssets)||void 0===s?void 0:s.hls)||!1;null==e||null===(c=e[I])||void 0===c||null===(v=c.liveDetails)||void 0===v||v.isDvrEnabled;var h=(null==e||null===(m=e[I])||void 0===m||null===(f=m.streamingInfo)||void 0===f||null===(p=f.videoAssets)||void 0===p?void 0:p.dash)||!1;if(null!=e&&e.directPlaybackUrl)return{src:null==e?void 0:e.directPlaybackUrl,type:null};if(null!=e&&e.audioAssetSource&&null!=E&&E.hls)return ve(E);if(g){var y=me(w,t);return y.src=le(y.src,t,e),y}if("Safari"!==l.detectBrowser()&&h){var _=ce(w);return _.src=le(_.src,t,e),_}if(T){var b=ve(w);return b.src=le(b.src,t,e),b}if(null!=w&&w.mpeg){var F=function(e){var t=null==e?void 0:e.mpeg;return{src:t[t.length-1].url,type:"video/mp4"}}(w);return F.src=le(F.src,t,e),F}return null},ce=function(e){var t=null==e?void 0:e.dash;return t?{src:t,type:"application/dash+xml"}:null},ve=function(e){var t=null==e?void 0:e.hls;return t?{src:t,type:"application/x-mpegURL"}:null},me=function(e,t){var n=e.fairPlayCmaf||e.fairPlay,o=e.widevine,a=e.playReady,d=l.detectBrowser();if(r.getPlayer(t),"Safari"===d){var u=function(e){var t=e.url;return{src:t,type:"application/x-mpegURL",keySystems:{"com.apple.fps.1_0":{getCertificate:function(t,n){var o={uri:e.certificateUrl,method:"GET",responseType:"arraybuffer"};i.xhr(o,function(e,t,i){console.log(e),e&&n(e),n(null,new Uint8Array(i))})},getContentId:function(e,t){if(t){var n=t.indexOf("\0")+1;return t.slice(n)}},getLicense:function(t,n,o,r){var l={uri:e.licenseUrl,method:"POST",responseType:"arraybuffer",body:o,headers:{"Content-type":"application/octet-stream","X-AxDRM-Message":e&&e.licenseToken}};i.xhr(l,function(e,t,n){console.log(e),e&&r(e),r(null,n)})}}}}}(n);return fe(t),u}var s,c={src:o.url,type:"application/dash+xml"};return"caliente"==(null===(s=window)||void 0===s?void 0:s.siteName)?(fe(t),c.keySystems={"com.widevine.alpha":{url:o.licenseUrl,licenseHeaders:{"X-AxDRM-Message":o.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"},"com.microsoft.playready":{url:a.licenseUrl,licenseHeaders:{"X-AxDRM-Message":a.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}}):(c.keySystemOptions=[],c.keySystemOptions.push({name:"com.widevine.alpha",options:{serverURL:o.licenseUrl,httpRequestHeaders:{"X-AxDRM-Message":o.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}}),c.keySystemOptions.push({name:"com.microsoft.playready",options:{serverURL:a.licenseUrl,httpRequestHeaders:{"X-AxDRM-Message":a.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}})),c};var fe=function(e){var t=r.getPlayer(e);if("function"==typeof t.eme)try{t.eme(),"Safari"==l.detectBrowser()&&t.eme.initLegacyFairplay()}catch(e){console.log("EME ERROR :",e)}},pe=function(e,t){if(Promise.resolve().then(function(){return require("./error-26d5a3c3.js")}).then(function(e){var t=document.createElement("style");t.id="errorblock",t.append("".concat(e.default)),document.head.appendChild(t)}),document.getElementsByClassName("error-container")[0]){var n=document.getElementsByClassName("error-message")[0];n&&(n.innerHTML="".concat(t))}else{var i=document.getElementById(e);if(i){var o=document.createElement("div");o.className="error-container";var r=document.createElement("div");r.className="error-message",r.innerHTML="".concat(t),o.appendChild(r),i.append(o)}}},Ie=function(){document.getElementsByClassName("error-container")[0]&&document.getElementsByClassName("error-container")[0].remove()};var ge=!1,we=function(e,t,n){var i=le(t,e,n),o=r.getPlayer(e);if(t&&window.google){if("function"!=typeof o.ima)return;o.ima.initializeAdDisplayContainer&&o.ima.initializeAdDisplayContainer(),function(e,t){var n,i,o,l=r.getPlayer(e);if(null!==l.el_){ge=!0;var a={id:e,adTagUrl:"".concat(t),adLabel:"Your video will resume after this sponsor message"};l.ima.initializeAdDisplayContainer&&l.ima.initializeAdDisplayContainer(),ge&&null!==l.el_&&("function"==typeof l.ima?l.ima(a):setTimeout(function(){l.ima.setContentWithAdTag(null,t,!0),l.ima.requestAds()},1e3));var d=document.getElementById("".concat(e));(navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i))&&d.hasAttribute("controls")&&d.removeAttribute("controls");var u="click",s=!1;(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i))&&(s=!0,u="touchend"),l.one(u,function(){s&&l.ima.initializeAdDisplayContainer()});var c=(null===(n=window)||void 0===n||null===(i=n.customData)||void 0===i||null===(o=i.ads)||void 0===o?void 0:o.adEventHandler)||null;l.one("ads-ad-started",function(){c&&c({status:"STARTED",msg:"Advertisement Started"})}),l.one("ads-manager",function(e){e.adsManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,function(){c&&c({status:"ENDED",msg:"Advertisement Ended"})})}),l.on("adserror",function(e){c&&c({status:"ERROR",msg:"Advertisement Error"})})}}(e,i)}};function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var Te=function(e){return!!i.getPlayer("".concat(e))},he=function(){var e=t(n.mark(function e(t,i){var o,l,a,d=arguments;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>2&&void 0!==d[2]&&d[2],e.next=3,x();case 3:return l=e.sent,a=r.getPlayer(t),e.abrupt("return",new Promise(function(e,n){w(i,l).then(function(n){var r=null==n?void 0:n.data;window.sid=q(),r.contentType="linearchannel",r.channelId=null==i?void 0:i.channelId;var l=se(r,t);A(r),l&&o?(be(t,l),a.on("loadstart",function(){e({status:!0,msg:"Feed authenticated and loaded",response:r})})):e({status:!0,msg:"Feed authenticated",response:r})}).catch(function(e){n({status:!1,msg:"Cannot load feed",response:e})})}));case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ye=function(){var e=t(n.mark(function e(t,i){var o,l,a,d,s,c,v=arguments;return n.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(d=v.length>2&&void 0!==v[2]?v[2]:null){e.next=5;break}return e.next=4,x();case 4:d=e.sent;case 5:return(B()||null)&&j(i),s=0,c=0,null!==(o=window)&&void 0!==o&&o.watchHistory&&null!==(l=window)&&void 0!==l&&null!==(a=l.watchHistory)&&void 0!==a&&a.enable&&T(i,d).then(function(e){var t,n,i,o,r,l;null!==(t=window)&&void 0!==t&&null!==(n=t.watchHistory)&&void 0!==n&&n.cb&&(null===(i=window)||void 0===i||null===(o=i.watchHistory)||void 0===o||o.cb(null==e?void 0:e.data)),s=(null==e||null===(r=e.data)||void 0===r?void 0:r.watchedTime)||null,c=(null==e||null===(l=e.data)||void 0===l?void 0:l.watchedPercentage)||null}).catch(function(e){var t,n,i,o;null!==(t=window)&&void 0!==t&&null!==(n=t.watchHistory)&&void 0!==n&&n.cb&&(null===(i=window)||void 0===i||null===(o=i.watchHistory)||void 0===o||o.cb(e))}),e.abrupt("return",new Promise(function(e,n){g(i,d).then(function(i){var o,l,a=null==i?void 0:i.data,d=(null==a||null===(o=a.video)||void 0===o||null===(l=o.streamingInfo)||void 0===l?void 0:l.isLiveStream)||!1;A(i.data);var v=ue(a);v&&we(t,v,a);var m=se(a,t);if(m){var f,p,I,g,w,E,T,h,y,_,b,F,D,S,V=(null==a||null===(f=a.video)||void 0===f||null===(p=f.gist)||void 0===p?void 0:p.videoImageUrl)||(null==a||null===(I=a.video)||void 0===I||null===(g=I.gist)||void 0===g||null===(w=g.imageGist)||void 0===w?void 0:w.r16x9),L=r.getPlayer(t);if(L.poster(V),be(t,m),L.on("loadstart",function(){d&&e({status:!0,msg:"Video Loaded",response:a})}),L.on("loadeddata",function(){Ie(),e({status:!0,msg:"Video Loaded",response:a})}),L.one("play",function(){s&&c<95&&setTimeout(function(){L.currentTime(s)},0)}),L.one("error",function(){var e;n({status:!1,msg:(null==L||null===(e=L.error())||void 0===e?void 0:e.message)||"Some error occured"})}),(null==a||null===(E=a.video)||void 0===E||null===(T=E.contentDetails)||void 0===T||null===(h=T.closedCaptions)||void 0===h?void 0:h.length)>0||(null==a||null===(y=a.video)||void 0===y||null===(_=y.closedCaptions)||void 0===_?void 0:_.length)>0)b=((null==a||null===(F=a.video)||void 0===F||null===(D=F.contentDetails)||void 0===D?void 0:D.closedCaptions)||(null==a||null===(S=a.video)||void 0===S?void 0:S.closedCaptions)).filter(function(e){return"VTT"===e.format}),u.addCaptions(t,b);else u.removeCaptions(t)}else pe(t,"Incompatible Source, only hls,mp4,drm content is allowed"),n("Incompatible Source, only hls,mp4,drm content is allowed")}).catch(function(e){Fe(e,t,n,i)})}));case 11:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),_e=function(){document.getElementById("carousel_homepage")&&document.getElementById("carousel_homepage").remove(),document.getElementById("dvr_skin")&&document.getElementById("dvr_skin").remove(),document.getElementById("nondvr_skin")&&document.getElementById("nondvr_skin").remove(),document.getElementById("multicam")&&document.getElementById("multicam").remove(),document.getElementById("errorblock")&&document.getElementById("errorblock").remove(),document.getElementById("def_skin")&&document.getElementById("def_skin").remove(),document.getElementById("video-selection")&&document.getElementById("video-selection").remove(),document.getElementById("multicam-v2")&&document.getElementById("multicam-v2").remove(),document.getElementById("default_v2")&&document.getElementById("default_v2").remove(),document.getElementById("video-captions")&&document.getElementById("video-captions").remove(),document.getElementById("playlist-selection")&&document.getElementById("playlist-selection").remove(),document.getElementById("multiplayer_css")&&document.getElementById("multiplayer_css").remove(),document.getElementById("chromett")&&document.getElementById("chromett").remove()},be=function(e,t){var n=r.getPlayer(e);n&&n.src(t)},Fe=function(t,n,i,o){var r,l,a,d,u,s,c=null==t||null===(r=t.response)||void 0===r||null===(l=r.data)||void 0===l?void 0:l.errorCode,v=(null==t||null===(a=t.response)||void 0===a||null===(d=a.data)||void 0===d?void 0:d.errorMessage)||(null==t?void 0:t.message);Te(n)&&pe(n,(null===(u=window)||void 0===u?void 0:u.customErrors)&&(null===(s=window)||void 0===s?void 0:s.customErrors[c])||"".concat(v)),i&&i(function(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Ee(Object(i),!0).forEach(function(n){e(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ee(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}({status:!1,response:t,msg:"".concat(v)},o&&{videoId:o}))};exports.authenticateLC=he,exports.baseUrlManager=y,exports.clearError=Ie,exports.createIdxMapping=function(e){L=new Map,e.map(function(e,t){L.set(e.id,t)})},exports.createSeriesWatchMap=function(e,t){var n=new Map;h({videoId:e,token:t}).then(function(e){e.data.map(function(e){n.set(e.videoId,{t:e.watchedTime,p:e.watchedPercentage})}),O=n}).catch(function(e){return console.log(e)})},exports.disableControls=function(e){var t=document.getElementById(e),n=t.getElementsByClassName("vjs-control-bar")[0];n&&(n.style.visibility="hidden");var i=t.getElementsByClassName("vjs-big-play-button")[0];i&&(i.style.display="none");var o=t.getElementsByClassName("vjs-fullscreen-control")[0];o&&(o.style.display="none")},exports.dispose=function(e){var t=r.getPlayer(e);if(_e(),r.clearEventListeners(),window.onresize=null,t)t.dispose();else{var n=document.getElementById(e);n&&n.remove()}},exports.getAdsURL=ue,exports.getCurrentSeries=B,exports.getCurrentVideo=N,exports.getDecodedToken=C,exports.getEntitlementData=function(e,t,n,i){return o({url:n,params:{id:e,deviceType:"web_browser",contentConsumption:"web",latitude:null==i?void 0:i.latitude,longitude:null==i?void 0:i.longitude},method:"GET",headers:{Authorization:t},withCredentials:!0})},exports.getEpisodeNumber=ee,exports.getLinearChannelDetails=w,exports.getSeasonNumber=$,exports.getSeriesDetails=function(e,t){var n,i,r=C(t),l=(null==r?void 0:r.site)||null;return null!==(n=window)&&void 0!==n&&null!==(i=n.customData)&&void 0!==i&&i.seriesData?new Promise(function(e,t){var n,i;return e({data:null===(n=window)||void 0===n||null===(i=n.customData)||void 0===i?void 0:i.seriesData})}):o({url:y.get()+"/v3/content/series/".concat(e),params:{site:l},method:"GET",headers:{Authorization:t}})},exports.getSeriesWatchHistory=h,exports.getSeriesWatchMap=function(){return O},exports.getSource=se,exports.getToken=x,exports.getUpdatedClusterSource=function(e,t){var n=e.src,i=e.type;if(!n||"string"!=typeof n||!n.includes(".com"))return{src:n,type:i};t=t.replace(/\/$/,"");var o=n.split(".com")[1]||"";return{src:o?"".concat(t).concat(o):n,type:i}},exports.getUserId=X,exports.getVideoDetails=g,exports.getVideoIdx=function(){return V},exports.getVideoInfo=T,exports.handleError=pe,exports.initialiseAdvertisement=we,exports.initiateErrorHandling=Fe,exports.inititateBeacon=function(e,t){if("localhost"!==location.hostname&&"127.0.0.1"!==location.hostname){var n=r.getPlayer(e);window.initialise(n,t),window.firstFrame(n,t),n.on("loadedmetadata",function(){window.endFirstFrame(n)})}},exports.isPaused=function(e){return i(e).paused()},exports.isPlayerInitialised=Te,exports.isTokenExpired=_,exports.load=ye,exports.loadVideo=be,exports.loadVideoInstantly=function(e,t,n){var i=r.getPlayer(e);return i.src(t),new Promise(function(e,t){var o=0;i.one("loadedmetadata",function(){clearTimeout(o),e({status:!0,msg:"video loaded"})}),i.one("loadstart",function(e){o=setTimeout(function(){t("FAILED: Took too long to load")},n)})})},exports.pause=function(e){i(e).pause()},exports.play=function(e){i(e).play()},exports.refreshTokenManager=F,exports.replaceMacros=le,exports.rewind=function(e,t){var n=i(e),o=n.currentTime(),r=o<=t?0:o-t;n.currentTime(r)},exports.runGtag=function(e){window.dataLayer=window.dataLayer||[],s("js",new Date),s("config",e)},exports.saveWatchHistory=E,exports.seasonIdxManager=U,exports.setCurrentSeries=function(e){D=e},exports.setCurrentVideo=A,exports.setVideoIdx=M,exports.setVideoIdxById=j,exports.skip=function(e,t){var n=i(e),o=n.currentTime()+t;n.currentTime(o)},exports.token_authentication_enabled=function(e){var t=!0,n=null==e?void 0:e.videoSourceUrl,i=null==e?void 0:e.asat;return n&&!i&&(t=!1),t};
|