@mottosports/motto-video-player 1.0.1-rc.73 → 1.0.1-rc.75
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/README.md +28 -0
- package/dist/index.js +103 -1955
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +103 -1955
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -5
package/dist/index.mjs
CHANGED
|
@@ -25,600 +25,8 @@ function styleInject(css, { insertAt } = {}) {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
// src/
|
|
29
|
-
styleInject(
|
|
30
|
-
@layer properties;
|
|
31
|
-
@layer theme, base, components, utilities;
|
|
32
|
-
@layer theme {
|
|
33
|
-
:root,
|
|
34
|
-
:host {
|
|
35
|
-
--font-sans:
|
|
36
|
-
ui-sans-serif,
|
|
37
|
-
system-ui,
|
|
38
|
-
sans-serif,
|
|
39
|
-
"Apple Color Emoji",
|
|
40
|
-
"Segoe UI Emoji",
|
|
41
|
-
"Segoe UI Symbol",
|
|
42
|
-
"Noto Color Emoji";
|
|
43
|
-
--font-mono:
|
|
44
|
-
ui-monospace,
|
|
45
|
-
SFMono-Regular,
|
|
46
|
-
Menlo,
|
|
47
|
-
Monaco,
|
|
48
|
-
Consolas,
|
|
49
|
-
"Liberation Mono",
|
|
50
|
-
"Courier New",
|
|
51
|
-
monospace;
|
|
52
|
-
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
53
|
-
--color-black: #000;
|
|
54
|
-
--color-white: #fff;
|
|
55
|
-
--spacing: 0.25rem;
|
|
56
|
-
--text-xs: 0.75rem;
|
|
57
|
-
--text-xs--line-height: calc(1 / 0.75);
|
|
58
|
-
--text-sm: 0.875rem;
|
|
59
|
-
--text-sm--line-height: calc(1.25 / 0.875);
|
|
60
|
-
--text-base: 1rem;
|
|
61
|
-
--text-base--line-height: calc(1.5 / 1);
|
|
62
|
-
--text-lg: 1.125rem;
|
|
63
|
-
--text-lg--line-height: calc(1.75 / 1.125);
|
|
64
|
-
--text-xl: 1.25rem;
|
|
65
|
-
--text-xl--line-height: calc(1.75 / 1.25);
|
|
66
|
-
--text-2xl: 1.5rem;
|
|
67
|
-
--text-2xl--line-height: calc(2 / 1.5);
|
|
68
|
-
--text-5xl: 3rem;
|
|
69
|
-
--text-5xl--line-height: 1;
|
|
70
|
-
--font-weight-medium: 500;
|
|
71
|
-
--font-weight-semibold: 600;
|
|
72
|
-
--font-weight-bold: 700;
|
|
73
|
-
--tracking-wide: 0.025em;
|
|
74
|
-
--tracking-widest: 0.1em;
|
|
75
|
-
--radius-md: 0.375rem;
|
|
76
|
-
--radius-2xl: 1rem;
|
|
77
|
-
--animate-spin: spin 1s linear infinite;
|
|
78
|
-
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
79
|
-
--aspect-video: 16 / 9;
|
|
80
|
-
--default-transition-duration: 150ms;
|
|
81
|
-
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
82
|
-
--default-font-family: var(--font-sans);
|
|
83
|
-
--default-mono-font-family: var(--font-mono);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
@layer base {
|
|
87
|
-
*,
|
|
88
|
-
::after,
|
|
89
|
-
::before,
|
|
90
|
-
::backdrop,
|
|
91
|
-
::file-selector-button {
|
|
92
|
-
box-sizing: border-box;
|
|
93
|
-
margin: 0;
|
|
94
|
-
padding: 0;
|
|
95
|
-
border: 0 solid;
|
|
96
|
-
}
|
|
97
|
-
html,
|
|
98
|
-
:host {
|
|
99
|
-
line-height: 1.5;
|
|
100
|
-
-webkit-text-size-adjust: 100%;
|
|
101
|
-
tab-size: 4;
|
|
102
|
-
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
103
|
-
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
104
|
-
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
105
|
-
-webkit-tap-highlight-color: transparent;
|
|
106
|
-
}
|
|
107
|
-
hr {
|
|
108
|
-
height: 0;
|
|
109
|
-
color: inherit;
|
|
110
|
-
border-top-width: 1px;
|
|
111
|
-
}
|
|
112
|
-
abbr:where([title]) {
|
|
113
|
-
-webkit-text-decoration: underline dotted;
|
|
114
|
-
text-decoration: underline dotted;
|
|
115
|
-
}
|
|
116
|
-
h1,
|
|
117
|
-
h2,
|
|
118
|
-
h3,
|
|
119
|
-
h4,
|
|
120
|
-
h5,
|
|
121
|
-
h6 {
|
|
122
|
-
font-size: inherit;
|
|
123
|
-
font-weight: inherit;
|
|
124
|
-
}
|
|
125
|
-
a {
|
|
126
|
-
color: inherit;
|
|
127
|
-
-webkit-text-decoration: inherit;
|
|
128
|
-
text-decoration: inherit;
|
|
129
|
-
}
|
|
130
|
-
b,
|
|
131
|
-
strong {
|
|
132
|
-
font-weight: bolder;
|
|
133
|
-
}
|
|
134
|
-
code,
|
|
135
|
-
kbd,
|
|
136
|
-
samp,
|
|
137
|
-
pre {
|
|
138
|
-
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
139
|
-
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
140
|
-
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
141
|
-
font-size: 1em;
|
|
142
|
-
}
|
|
143
|
-
small {
|
|
144
|
-
font-size: 80%;
|
|
145
|
-
}
|
|
146
|
-
sub,
|
|
147
|
-
sup {
|
|
148
|
-
font-size: 75%;
|
|
149
|
-
line-height: 0;
|
|
150
|
-
position: relative;
|
|
151
|
-
vertical-align: baseline;
|
|
152
|
-
}
|
|
153
|
-
sub {
|
|
154
|
-
bottom: -0.25em;
|
|
155
|
-
}
|
|
156
|
-
sup {
|
|
157
|
-
top: -0.5em;
|
|
158
|
-
}
|
|
159
|
-
table {
|
|
160
|
-
text-indent: 0;
|
|
161
|
-
border-color: inherit;
|
|
162
|
-
border-collapse: collapse;
|
|
163
|
-
}
|
|
164
|
-
:-moz-focusring {
|
|
165
|
-
outline: auto;
|
|
166
|
-
}
|
|
167
|
-
progress {
|
|
168
|
-
vertical-align: baseline;
|
|
169
|
-
}
|
|
170
|
-
summary {
|
|
171
|
-
display: list-item;
|
|
172
|
-
}
|
|
173
|
-
ol,
|
|
174
|
-
ul,
|
|
175
|
-
menu {
|
|
176
|
-
list-style: none;
|
|
177
|
-
}
|
|
178
|
-
img,
|
|
179
|
-
svg,
|
|
180
|
-
video,
|
|
181
|
-
canvas,
|
|
182
|
-
audio,
|
|
183
|
-
iframe,
|
|
184
|
-
embed,
|
|
185
|
-
object {
|
|
186
|
-
display: block;
|
|
187
|
-
vertical-align: middle;
|
|
188
|
-
}
|
|
189
|
-
img,
|
|
190
|
-
video {
|
|
191
|
-
max-width: 100%;
|
|
192
|
-
height: auto;
|
|
193
|
-
}
|
|
194
|
-
button,
|
|
195
|
-
input,
|
|
196
|
-
select,
|
|
197
|
-
optgroup,
|
|
198
|
-
textarea,
|
|
199
|
-
::file-selector-button {
|
|
200
|
-
font: inherit;
|
|
201
|
-
font-feature-settings: inherit;
|
|
202
|
-
font-variation-settings: inherit;
|
|
203
|
-
letter-spacing: inherit;
|
|
204
|
-
color: inherit;
|
|
205
|
-
border-radius: 0;
|
|
206
|
-
background-color: transparent;
|
|
207
|
-
opacity: 1;
|
|
208
|
-
}
|
|
209
|
-
:where(select:is([multiple], [size])) optgroup {
|
|
210
|
-
font-weight: bolder;
|
|
211
|
-
}
|
|
212
|
-
:where(select:is([multiple], [size])) optgroup option {
|
|
213
|
-
padding-inline-start: 20px;
|
|
214
|
-
}
|
|
215
|
-
::file-selector-button {
|
|
216
|
-
margin-inline-end: 4px;
|
|
217
|
-
}
|
|
218
|
-
::placeholder {
|
|
219
|
-
opacity: 1;
|
|
220
|
-
}
|
|
221
|
-
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
222
|
-
::placeholder {
|
|
223
|
-
color: currentcolor;
|
|
224
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
225
|
-
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
textarea {
|
|
230
|
-
resize: vertical;
|
|
231
|
-
}
|
|
232
|
-
::-webkit-search-decoration {
|
|
233
|
-
-webkit-appearance: none;
|
|
234
|
-
}
|
|
235
|
-
::-webkit-date-and-time-value {
|
|
236
|
-
min-height: 1lh;
|
|
237
|
-
text-align: inherit;
|
|
238
|
-
}
|
|
239
|
-
::-webkit-datetime-edit {
|
|
240
|
-
display: inline-flex;
|
|
241
|
-
}
|
|
242
|
-
::-webkit-datetime-edit-fields-wrapper {
|
|
243
|
-
padding: 0;
|
|
244
|
-
}
|
|
245
|
-
::-webkit-datetime-edit,
|
|
246
|
-
::-webkit-datetime-edit-year-field,
|
|
247
|
-
::-webkit-datetime-edit-month-field,
|
|
248
|
-
::-webkit-datetime-edit-day-field,
|
|
249
|
-
::-webkit-datetime-edit-hour-field,
|
|
250
|
-
::-webkit-datetime-edit-minute-field,
|
|
251
|
-
::-webkit-datetime-edit-second-field,
|
|
252
|
-
::-webkit-datetime-edit-millisecond-field,
|
|
253
|
-
::-webkit-datetime-edit-meridiem-field {
|
|
254
|
-
padding-block: 0;
|
|
255
|
-
}
|
|
256
|
-
:-moz-ui-invalid {
|
|
257
|
-
box-shadow: none;
|
|
258
|
-
}
|
|
259
|
-
button,
|
|
260
|
-
input:where([type=button], [type=reset], [type=submit]),
|
|
261
|
-
::file-selector-button {
|
|
262
|
-
appearance: button;
|
|
263
|
-
}
|
|
264
|
-
::-webkit-inner-spin-button,
|
|
265
|
-
::-webkit-outer-spin-button {
|
|
266
|
-
height: auto;
|
|
267
|
-
}
|
|
268
|
-
[hidden]:where(:not([hidden=until-found])) {
|
|
269
|
-
display: none !important;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
@layer utilities {
|
|
273
|
-
.pointer-events-none {
|
|
274
|
-
pointer-events: none;
|
|
275
|
-
}
|
|
276
|
-
.visible {
|
|
277
|
-
visibility: visible;
|
|
278
|
-
}
|
|
279
|
-
.sr-only {
|
|
280
|
-
position: absolute;
|
|
281
|
-
width: 1px;
|
|
282
|
-
height: 1px;
|
|
283
|
-
padding: 0;
|
|
284
|
-
margin: -1px;
|
|
285
|
-
overflow: hidden;
|
|
286
|
-
clip: rect(0, 0, 0, 0);
|
|
287
|
-
white-space: nowrap;
|
|
288
|
-
border-width: 0;
|
|
289
|
-
}
|
|
290
|
-
.absolute {
|
|
291
|
-
position: absolute;
|
|
292
|
-
}
|
|
293
|
-
.fixed {
|
|
294
|
-
position: fixed;
|
|
295
|
-
}
|
|
296
|
-
.relative {
|
|
297
|
-
position: relative;
|
|
298
|
-
}
|
|
299
|
-
.static {
|
|
300
|
-
position: static;
|
|
301
|
-
}
|
|
302
|
-
.inset-0 {
|
|
303
|
-
inset: calc(var(--spacing) * 0);
|
|
304
|
-
}
|
|
305
|
-
.top-4 {
|
|
306
|
-
top: calc(var(--spacing) * 4);
|
|
307
|
-
}
|
|
308
|
-
.right-0 {
|
|
309
|
-
right: calc(var(--spacing) * 0);
|
|
310
|
-
}
|
|
311
|
-
.right-4 {
|
|
312
|
-
right: calc(var(--spacing) * 4);
|
|
313
|
-
}
|
|
314
|
-
.bottom-0 {
|
|
315
|
-
bottom: calc(var(--spacing) * 0);
|
|
316
|
-
}
|
|
317
|
-
.bottom-4 {
|
|
318
|
-
bottom: calc(var(--spacing) * 4);
|
|
319
|
-
}
|
|
320
|
-
.left-0 {
|
|
321
|
-
left: calc(var(--spacing) * 0);
|
|
322
|
-
}
|
|
323
|
-
.left-4 {
|
|
324
|
-
left: calc(var(--spacing) * 4);
|
|
325
|
-
}
|
|
326
|
-
.z-10 {
|
|
327
|
-
z-index: 10;
|
|
328
|
-
}
|
|
329
|
-
.z-20 {
|
|
330
|
-
z-index: 20;
|
|
331
|
-
}
|
|
332
|
-
.z-50 {
|
|
333
|
-
z-index: 50;
|
|
334
|
-
}
|
|
335
|
-
.container {
|
|
336
|
-
width: 100%;
|
|
337
|
-
@media (width >= 40rem) {
|
|
338
|
-
max-width: 40rem;
|
|
339
|
-
}
|
|
340
|
-
@media (width >= 48rem) {
|
|
341
|
-
max-width: 48rem;
|
|
342
|
-
}
|
|
343
|
-
@media (width >= 64rem) {
|
|
344
|
-
max-width: 64rem;
|
|
345
|
-
}
|
|
346
|
-
@media (width >= 80rem) {
|
|
347
|
-
max-width: 80rem;
|
|
348
|
-
}
|
|
349
|
-
@media (width >= 96rem) {
|
|
350
|
-
max-width: 96rem;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
.m-6 {
|
|
354
|
-
margin: calc(var(--spacing) * 6);
|
|
355
|
-
}
|
|
356
|
-
.mt-1 {
|
|
357
|
-
margin-top: calc(var(--spacing) * 1);
|
|
358
|
-
}
|
|
359
|
-
.mt-3 {
|
|
360
|
-
margin-top: calc(var(--spacing) * 3);
|
|
361
|
-
}
|
|
362
|
-
.mb-2 {
|
|
363
|
-
margin-bottom: calc(var(--spacing) * 2);
|
|
364
|
-
}
|
|
365
|
-
.mb-6 {
|
|
366
|
-
margin-bottom: calc(var(--spacing) * 6);
|
|
367
|
-
}
|
|
368
|
-
.flex {
|
|
369
|
-
display: flex;
|
|
370
|
-
}
|
|
371
|
-
.grid {
|
|
372
|
-
display: grid;
|
|
373
|
-
}
|
|
374
|
-
.aspect-video {
|
|
375
|
-
aspect-ratio: var(--aspect-video);
|
|
376
|
-
}
|
|
377
|
-
.h-2 {
|
|
378
|
-
height: calc(var(--spacing) * 2);
|
|
379
|
-
}
|
|
380
|
-
.h-12 {
|
|
381
|
-
height: calc(var(--spacing) * 12);
|
|
382
|
-
}
|
|
383
|
-
.h-24 {
|
|
384
|
-
height: calc(var(--spacing) * 24);
|
|
385
|
-
}
|
|
386
|
-
.h-full {
|
|
387
|
-
height: 100%;
|
|
388
|
-
}
|
|
389
|
-
.w-2 {
|
|
390
|
-
width: calc(var(--spacing) * 2);
|
|
391
|
-
}
|
|
392
|
-
.w-12 {
|
|
393
|
-
width: calc(var(--spacing) * 12);
|
|
394
|
-
}
|
|
395
|
-
.w-24 {
|
|
396
|
-
width: calc(var(--spacing) * 24);
|
|
397
|
-
}
|
|
398
|
-
.w-full {
|
|
399
|
-
width: 100%;
|
|
400
|
-
}
|
|
401
|
-
.grow {
|
|
402
|
-
flex-grow: 1;
|
|
403
|
-
}
|
|
404
|
-
.animate-pulse {
|
|
405
|
-
animation: var(--animate-pulse);
|
|
406
|
-
}
|
|
407
|
-
.animate-spin {
|
|
408
|
-
animation: var(--animate-spin);
|
|
409
|
-
}
|
|
410
|
-
.auto-cols-max {
|
|
411
|
-
grid-auto-columns: max-content;
|
|
412
|
-
}
|
|
413
|
-
.grid-flow-col {
|
|
414
|
-
grid-auto-flow: column;
|
|
415
|
-
}
|
|
416
|
-
.flex-col {
|
|
417
|
-
flex-direction: column;
|
|
418
|
-
}
|
|
419
|
-
.items-center {
|
|
420
|
-
align-items: center;
|
|
421
|
-
}
|
|
422
|
-
.justify-center {
|
|
423
|
-
justify-content: center;
|
|
424
|
-
}
|
|
425
|
-
.justify-stretch {
|
|
426
|
-
justify-content: stretch;
|
|
427
|
-
}
|
|
428
|
-
.gap-1 {
|
|
429
|
-
gap: calc(var(--spacing) * 1);
|
|
430
|
-
}
|
|
431
|
-
.overflow-hidden {
|
|
432
|
-
overflow: hidden;
|
|
433
|
-
}
|
|
434
|
-
.rounded-full {
|
|
435
|
-
border-radius: calc(infinity * 1px);
|
|
436
|
-
}
|
|
437
|
-
.rounded-md {
|
|
438
|
-
border-radius: var(--radius-md);
|
|
439
|
-
}
|
|
440
|
-
.bg-\\[\\#111111\\] {
|
|
441
|
-
background-color: #111111;
|
|
442
|
-
}
|
|
443
|
-
.bg-\\[\\#151515\\] {
|
|
444
|
-
background-color: #151515;
|
|
445
|
-
}
|
|
446
|
-
.bg-black {
|
|
447
|
-
background-color: var(--color-black);
|
|
448
|
-
}
|
|
449
|
-
.bg-red-600 {
|
|
450
|
-
background-color: var(--color-red-600);
|
|
451
|
-
}
|
|
452
|
-
.bg-transparent {
|
|
453
|
-
background-color: transparent;
|
|
454
|
-
}
|
|
455
|
-
.bg-white {
|
|
456
|
-
background-color: var(--color-white);
|
|
457
|
-
}
|
|
458
|
-
.bg-gradient-to-t {
|
|
459
|
-
--tw-gradient-position: to top in oklab;
|
|
460
|
-
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
461
|
-
}
|
|
462
|
-
.from-black\\/70 {
|
|
463
|
-
--tw-gradient-from: color-mix(in srgb, #000 70%, transparent);
|
|
464
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
465
|
-
--tw-gradient-from: color-mix(in oklab, var(--color-black) 70%, transparent);
|
|
466
|
-
}
|
|
467
|
-
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
468
|
-
}
|
|
469
|
-
.to-transparent {
|
|
470
|
-
--tw-gradient-to: transparent;
|
|
471
|
-
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
472
|
-
}
|
|
473
|
-
.bg-cover {
|
|
474
|
-
background-size: cover;
|
|
475
|
-
}
|
|
476
|
-
.bg-center {
|
|
477
|
-
background-position: center;
|
|
478
|
-
}
|
|
479
|
-
.bg-no-repeat {
|
|
480
|
-
background-repeat: no-repeat;
|
|
481
|
-
}
|
|
482
|
-
.p-2 {
|
|
483
|
-
padding: calc(var(--spacing) * 2);
|
|
484
|
-
}
|
|
485
|
-
.p-4 {
|
|
486
|
-
padding: calc(var(--spacing) * 4);
|
|
487
|
-
}
|
|
488
|
-
.px-2 {
|
|
489
|
-
padding-inline: calc(var(--spacing) * 2);
|
|
490
|
-
}
|
|
491
|
-
.px-4 {
|
|
492
|
-
padding-inline: calc(var(--spacing) * 4);
|
|
493
|
-
}
|
|
494
|
-
.py-1 {
|
|
495
|
-
padding-block: calc(var(--spacing) * 1);
|
|
496
|
-
}
|
|
497
|
-
.text-center {
|
|
498
|
-
text-align: center;
|
|
499
|
-
}
|
|
500
|
-
.text-left {
|
|
501
|
-
text-align: left;
|
|
502
|
-
}
|
|
503
|
-
.font-mono {
|
|
504
|
-
font-family: var(--font-mono);
|
|
505
|
-
}
|
|
506
|
-
.text-2xl {
|
|
507
|
-
font-size: var(--text-2xl);
|
|
508
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
509
|
-
}
|
|
510
|
-
.text-base {
|
|
511
|
-
font-size: var(--text-base);
|
|
512
|
-
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
513
|
-
}
|
|
514
|
-
.text-lg {
|
|
515
|
-
font-size: var(--text-lg);
|
|
516
|
-
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
517
|
-
}
|
|
518
|
-
.text-sm {
|
|
519
|
-
font-size: var(--text-sm);
|
|
520
|
-
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
521
|
-
}
|
|
522
|
-
.text-xl {
|
|
523
|
-
font-size: var(--text-xl);
|
|
524
|
-
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
525
|
-
}
|
|
526
|
-
.text-xs {
|
|
527
|
-
font-size: var(--text-xs);
|
|
528
|
-
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
529
|
-
}
|
|
530
|
-
.text-\\[10px\\] {
|
|
531
|
-
font-size: 10px;
|
|
532
|
-
}
|
|
533
|
-
.leading-none {
|
|
534
|
-
--tw-leading: 1;
|
|
535
|
-
line-height: 1;
|
|
536
|
-
}
|
|
537
|
-
.font-bold {
|
|
538
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
539
|
-
font-weight: var(--font-weight-bold);
|
|
540
|
-
}
|
|
541
|
-
.font-medium {
|
|
542
|
-
--tw-font-weight: var(--font-weight-medium);
|
|
543
|
-
font-weight: var(--font-weight-medium);
|
|
544
|
-
}
|
|
545
|
-
.font-semibold {
|
|
546
|
-
--tw-font-weight: var(--font-weight-semibold);
|
|
547
|
-
font-weight: var(--font-weight-semibold);
|
|
548
|
-
}
|
|
549
|
-
.tracking-wide {
|
|
550
|
-
--tw-tracking: var(--tracking-wide);
|
|
551
|
-
letter-spacing: var(--tracking-wide);
|
|
552
|
-
}
|
|
553
|
-
.tracking-widest {
|
|
554
|
-
--tw-tracking: var(--tracking-widest);
|
|
555
|
-
letter-spacing: var(--tracking-widest);
|
|
556
|
-
}
|
|
557
|
-
.text-white {
|
|
558
|
-
color: var(--color-white);
|
|
559
|
-
}
|
|
560
|
-
.uppercase {
|
|
561
|
-
text-transform: uppercase;
|
|
562
|
-
}
|
|
563
|
-
.shadow-lg {
|
|
564
|
-
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
565
|
-
box-shadow:
|
|
566
|
-
var(--tw-inset-shadow),
|
|
567
|
-
var(--tw-inset-ring-shadow),
|
|
568
|
-
var(--tw-ring-offset-shadow),
|
|
569
|
-
var(--tw-ring-shadow),
|
|
570
|
-
var(--tw-shadow);
|
|
571
|
-
}
|
|
572
|
-
.filter {
|
|
573
|
-
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
574
|
-
}
|
|
575
|
-
.md\\:gap-5 {
|
|
576
|
-
@media (width >= 48rem) {
|
|
577
|
-
gap: calc(var(--spacing) * 5);
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
.md\\:rounded-2xl {
|
|
581
|
-
@media (width >= 48rem) {
|
|
582
|
-
border-radius: var(--radius-2xl);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
.md\\:rounded-2xl\\! {
|
|
586
|
-
@media (width >= 48rem) {
|
|
587
|
-
border-radius: var(--radius-2xl) !important;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
.md\\:text-5xl {
|
|
591
|
-
@media (width >= 48rem) {
|
|
592
|
-
font-size: var(--text-5xl);
|
|
593
|
-
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
.md\\:text-base {
|
|
597
|
-
@media (width >= 48rem) {
|
|
598
|
-
font-size: var(--text-base);
|
|
599
|
-
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
.md\\:text-sm {
|
|
603
|
-
@media (width >= 48rem) {
|
|
604
|
-
font-size: var(--text-sm);
|
|
605
|
-
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
.md\\:text-xl {
|
|
609
|
-
@media (width >= 48rem) {
|
|
610
|
-
font-size: var(--text-xl);
|
|
611
|
-
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
.md\\:text-xs {
|
|
615
|
-
@media (width >= 48rem) {
|
|
616
|
-
font-size: var(--text-xs);
|
|
617
|
-
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
@layer components {
|
|
28
|
+
// src/styles.css
|
|
29
|
+
styleInject(`@layer components {
|
|
622
30
|
video::-webkit-media-controls {
|
|
623
31
|
display: none !important;
|
|
624
32
|
}
|
|
@@ -688,8 +96,7 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
688
96
|
opacity: 0 !important;
|
|
689
97
|
}
|
|
690
98
|
.motto-video-container {
|
|
691
|
-
|
|
692
|
-
width: 100%;
|
|
99
|
+
@apply relative w-full;
|
|
693
100
|
min-height: 300px;
|
|
694
101
|
}
|
|
695
102
|
@supports (aspect-ratio: 16/9) {
|
|
@@ -698,65 +105,16 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
698
105
|
}
|
|
699
106
|
}
|
|
700
107
|
.motto-video-responsive {
|
|
701
|
-
|
|
702
|
-
top: calc(var(--spacing) * 0);
|
|
703
|
-
left: calc(var(--spacing) * 0);
|
|
704
|
-
height: 100%;
|
|
705
|
-
width: 100%;
|
|
108
|
+
@apply absolute top-0 left-0 w-full h-full;
|
|
706
109
|
}
|
|
707
110
|
.motto-skip-button {
|
|
708
|
-
|
|
709
|
-
top: calc(1/2 * 100%);
|
|
710
|
-
z-index: 10;
|
|
711
|
-
display: flex;
|
|
712
|
-
height: calc(var(--spacing) * 16);
|
|
713
|
-
width: calc(var(--spacing) * 16);
|
|
714
|
-
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
715
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
716
|
-
cursor: pointer;
|
|
717
|
-
align-items: center;
|
|
718
|
-
justify-content: center;
|
|
719
|
-
border-radius: calc(infinity * 1px);
|
|
720
|
-
border-style: var(--tw-border-style);
|
|
721
|
-
border-width: 0px;
|
|
722
|
-
background-color: color-mix(in srgb, #000 70%, transparent);
|
|
723
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
724
|
-
background-color: color-mix(in oklab, var(--color-black) 70%, transparent);
|
|
725
|
-
}
|
|
726
|
-
font-size: var(--text-2xl);
|
|
727
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
728
|
-
color: var(--color-white);
|
|
729
|
-
opacity: 80%;
|
|
730
|
-
transition-property: all;
|
|
731
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
732
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
733
|
-
--tw-duration: 200ms;
|
|
734
|
-
transition-duration: 200ms;
|
|
735
|
-
&:hover {
|
|
736
|
-
@media (hover: hover) {
|
|
737
|
-
--tw-scale-x: 110%;
|
|
738
|
-
--tw-scale-y: 110%;
|
|
739
|
-
--tw-scale-z: 110%;
|
|
740
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
&:hover {
|
|
744
|
-
@media (hover: hover) {
|
|
745
|
-
opacity: 100%;
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
&:active {
|
|
749
|
-
--tw-scale-x: 95%;
|
|
750
|
-
--tw-scale-y: 95%;
|
|
751
|
-
--tw-scale-z: 95%;
|
|
752
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
753
|
-
}
|
|
111
|
+
@apply absolute top-1/2 -translate-y-1/2 bg-black/70 text-white border-0 rounded-full w-16 h-16 text-2xl cursor-pointer flex items-center justify-center transition-all duration-200 z-10 opacity-80 hover:opacity-100 hover:scale-110 active:scale-95;
|
|
754
112
|
}
|
|
755
113
|
.motto-skip-button-back {
|
|
756
|
-
left
|
|
114
|
+
@apply left-5;
|
|
757
115
|
}
|
|
758
116
|
.motto-skip-button-forward {
|
|
759
|
-
right
|
|
117
|
+
@apply right-5;
|
|
760
118
|
}
|
|
761
119
|
}
|
|
762
120
|
.shaka-seek-bar-container {
|
|
@@ -1032,119 +390,6 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
1032
390
|
pointer-events: none !important;
|
|
1033
391
|
display: none !important;
|
|
1034
392
|
}
|
|
1035
|
-
@property --tw-gradient-position { syntax: "*"; inherits: false; }
|
|
1036
|
-
@property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
1037
|
-
@property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
1038
|
-
@property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
1039
|
-
@property --tw-gradient-stops { syntax: "*"; inherits: false; }
|
|
1040
|
-
@property --tw-gradient-via-stops { syntax: "*"; inherits: false; }
|
|
1041
|
-
@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
|
|
1042
|
-
@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
|
|
1043
|
-
@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
|
|
1044
|
-
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
1045
|
-
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1046
|
-
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
1047
|
-
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1048
|
-
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
1049
|
-
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1050
|
-
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1051
|
-
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
1052
|
-
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1053
|
-
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
1054
|
-
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1055
|
-
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
1056
|
-
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1057
|
-
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
1058
|
-
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
1059
|
-
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1060
|
-
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1061
|
-
@property --tw-blur { syntax: "*"; inherits: false; }
|
|
1062
|
-
@property --tw-brightness { syntax: "*"; inherits: false; }
|
|
1063
|
-
@property --tw-contrast { syntax: "*"; inherits: false; }
|
|
1064
|
-
@property --tw-grayscale { syntax: "*"; inherits: false; }
|
|
1065
|
-
@property --tw-hue-rotate { syntax: "*"; inherits: false; }
|
|
1066
|
-
@property --tw-invert { syntax: "*"; inherits: false; }
|
|
1067
|
-
@property --tw-opacity { syntax: "*"; inherits: false; }
|
|
1068
|
-
@property --tw-saturate { syntax: "*"; inherits: false; }
|
|
1069
|
-
@property --tw-sepia { syntax: "*"; inherits: false; }
|
|
1070
|
-
@property --tw-drop-shadow { syntax: "*"; inherits: false; }
|
|
1071
|
-
@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }
|
|
1072
|
-
@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1073
|
-
@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }
|
|
1074
|
-
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1075
|
-
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1076
|
-
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1077
|
-
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
1078
|
-
@property --tw-duration { syntax: "*"; inherits: false; }
|
|
1079
|
-
@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }
|
|
1080
|
-
@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }
|
|
1081
|
-
@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }
|
|
1082
|
-
@keyframes spin {
|
|
1083
|
-
to {
|
|
1084
|
-
transform: rotate(360deg);
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
@keyframes pulse {
|
|
1088
|
-
50% {
|
|
1089
|
-
opacity: 0.5;
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
@layer properties {
|
|
1093
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
1094
|
-
*,
|
|
1095
|
-
::before,
|
|
1096
|
-
::after,
|
|
1097
|
-
::backdrop {
|
|
1098
|
-
--tw-gradient-position: initial;
|
|
1099
|
-
--tw-gradient-from: #0000;
|
|
1100
|
-
--tw-gradient-via: #0000;
|
|
1101
|
-
--tw-gradient-to: #0000;
|
|
1102
|
-
--tw-gradient-stops: initial;
|
|
1103
|
-
--tw-gradient-via-stops: initial;
|
|
1104
|
-
--tw-gradient-from-position: 0%;
|
|
1105
|
-
--tw-gradient-via-position: 50%;
|
|
1106
|
-
--tw-gradient-to-position: 100%;
|
|
1107
|
-
--tw-leading: initial;
|
|
1108
|
-
--tw-font-weight: initial;
|
|
1109
|
-
--tw-tracking: initial;
|
|
1110
|
-
--tw-shadow: 0 0 #0000;
|
|
1111
|
-
--tw-shadow-color: initial;
|
|
1112
|
-
--tw-shadow-alpha: 100%;
|
|
1113
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
1114
|
-
--tw-inset-shadow-color: initial;
|
|
1115
|
-
--tw-inset-shadow-alpha: 100%;
|
|
1116
|
-
--tw-ring-color: initial;
|
|
1117
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
1118
|
-
--tw-inset-ring-color: initial;
|
|
1119
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
1120
|
-
--tw-ring-inset: initial;
|
|
1121
|
-
--tw-ring-offset-width: 0px;
|
|
1122
|
-
--tw-ring-offset-color: #fff;
|
|
1123
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1124
|
-
--tw-blur: initial;
|
|
1125
|
-
--tw-brightness: initial;
|
|
1126
|
-
--tw-contrast: initial;
|
|
1127
|
-
--tw-grayscale: initial;
|
|
1128
|
-
--tw-hue-rotate: initial;
|
|
1129
|
-
--tw-invert: initial;
|
|
1130
|
-
--tw-opacity: initial;
|
|
1131
|
-
--tw-saturate: initial;
|
|
1132
|
-
--tw-sepia: initial;
|
|
1133
|
-
--tw-drop-shadow: initial;
|
|
1134
|
-
--tw-drop-shadow-color: initial;
|
|
1135
|
-
--tw-drop-shadow-alpha: 100%;
|
|
1136
|
-
--tw-drop-shadow-size: initial;
|
|
1137
|
-
--tw-translate-x: 0;
|
|
1138
|
-
--tw-translate-y: 0;
|
|
1139
|
-
--tw-translate-z: 0;
|
|
1140
|
-
--tw-border-style: solid;
|
|
1141
|
-
--tw-duration: initial;
|
|
1142
|
-
--tw-scale-x: 1;
|
|
1143
|
-
--tw-scale-y: 1;
|
|
1144
|
-
--tw-scale-z: 1;
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
393
|
`);
|
|
1149
394
|
|
|
1150
395
|
// src/Player.tsx
|
|
@@ -1204,7 +449,7 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1204
449
|
import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
|
|
1205
450
|
|
|
1206
451
|
// package.json
|
|
1207
|
-
var version = "1.0.1-rc.
|
|
452
|
+
var version = "1.0.1-rc.75";
|
|
1208
453
|
|
|
1209
454
|
// src/utils/licenseCache.ts
|
|
1210
455
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -1368,7 +613,8 @@ var useShakaPlayer = ({
|
|
|
1368
613
|
onMuxDataUpdate,
|
|
1369
614
|
publicKey,
|
|
1370
615
|
mottoToken,
|
|
1371
|
-
hasAds = false
|
|
616
|
+
hasAds = false,
|
|
617
|
+
hasSystem73 = false
|
|
1372
618
|
}) => {
|
|
1373
619
|
const playerRef = useRef(null);
|
|
1374
620
|
const [isRetrying, setIsRetrying] = useState(false);
|
|
@@ -1673,8 +919,12 @@ var useShakaPlayer = ({
|
|
|
1673
919
|
if (playerRef.current === player) playerRef.current = null;
|
|
1674
920
|
return;
|
|
1675
921
|
}
|
|
1676
|
-
if (!hasAds) {
|
|
922
|
+
if (!hasAds && !hasSystem73) {
|
|
923
|
+
console.log("\u{1F4FA} [Shaka] Auto-loading manifest:", manifestUrl);
|
|
1677
924
|
await player.load(manifestUrl);
|
|
925
|
+
console.log("\u2705 [Shaka] Manifest auto-loaded successfully");
|
|
926
|
+
} else {
|
|
927
|
+
console.log("\u23ED\uFE0F [Shaka] Skipping auto-load (hasAds:", hasAds, ", hasSystem73:", hasSystem73, ")");
|
|
1678
928
|
}
|
|
1679
929
|
onPlayerReady?.(player);
|
|
1680
930
|
return player;
|
|
@@ -1693,17 +943,19 @@ var useShakaPlayer = ({
|
|
|
1693
943
|
const loadManifest = useCallback(async () => {
|
|
1694
944
|
const player = playerRef.current;
|
|
1695
945
|
if (!player) {
|
|
1696
|
-
console.warn("Cannot load manifest: player not initialized");
|
|
946
|
+
console.warn("\u26A0\uFE0F [Shaka] Cannot load manifest: player not initialized");
|
|
1697
947
|
return;
|
|
1698
948
|
}
|
|
1699
949
|
try {
|
|
1700
950
|
const manifestUrl = getManifestUrl();
|
|
951
|
+
console.log("\u{1F4FA} [Shaka] Loading manifest:", manifestUrl);
|
|
1701
952
|
await player.load(manifestUrl);
|
|
953
|
+
console.log("\u2705 [Shaka] Manifest loaded successfully");
|
|
1702
954
|
} catch (error) {
|
|
1703
955
|
if (error?.code === 7e3) {
|
|
1704
956
|
return;
|
|
1705
957
|
}
|
|
1706
|
-
console.error("Error loading manifest:", error);
|
|
958
|
+
console.error("\u274C [Shaka] Error loading manifest:", error);
|
|
1707
959
|
onError?.(error);
|
|
1708
960
|
throw error;
|
|
1709
961
|
}
|
|
@@ -2847,1195 +2099,73 @@ var LiveBadge = ({
|
|
|
2847
2099
|
);
|
|
2848
2100
|
};
|
|
2849
2101
|
|
|
2850
|
-
// src/
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
:
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
"Noto Color Emoji";
|
|
2865
|
-
--font-mono:
|
|
2866
|
-
ui-monospace,
|
|
2867
|
-
SFMono-Regular,
|
|
2868
|
-
Menlo,
|
|
2869
|
-
Monaco,
|
|
2870
|
-
Consolas,
|
|
2871
|
-
"Liberation Mono",
|
|
2872
|
-
"Courier New",
|
|
2873
|
-
monospace;
|
|
2874
|
-
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
2875
|
-
--color-black: #000;
|
|
2876
|
-
--color-white: #fff;
|
|
2877
|
-
--spacing: 0.25rem;
|
|
2878
|
-
--text-xs: 0.75rem;
|
|
2879
|
-
--text-xs--line-height: calc(1 / 0.75);
|
|
2880
|
-
--text-sm: 0.875rem;
|
|
2881
|
-
--text-sm--line-height: calc(1.25 / 0.875);
|
|
2882
|
-
--text-base: 1rem;
|
|
2883
|
-
--text-base--line-height: calc(1.5 / 1);
|
|
2884
|
-
--text-lg: 1.125rem;
|
|
2885
|
-
--text-lg--line-height: calc(1.75 / 1.125);
|
|
2886
|
-
--text-xl: 1.25rem;
|
|
2887
|
-
--text-xl--line-height: calc(1.75 / 1.25);
|
|
2888
|
-
--text-2xl: 1.5rem;
|
|
2889
|
-
--text-2xl--line-height: calc(2 / 1.5);
|
|
2890
|
-
--text-5xl: 3rem;
|
|
2891
|
-
--text-5xl--line-height: 1;
|
|
2892
|
-
--font-weight-medium: 500;
|
|
2893
|
-
--font-weight-semibold: 600;
|
|
2894
|
-
--font-weight-bold: 700;
|
|
2895
|
-
--tracking-wide: 0.025em;
|
|
2896
|
-
--tracking-widest: 0.1em;
|
|
2897
|
-
--radius-md: 0.375rem;
|
|
2898
|
-
--radius-2xl: 1rem;
|
|
2899
|
-
--animate-spin: spin 1s linear infinite;
|
|
2900
|
-
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
2901
|
-
--aspect-video: 16 / 9;
|
|
2902
|
-
--default-transition-duration: 150ms;
|
|
2903
|
-
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2904
|
-
--default-font-family: var(--font-sans);
|
|
2905
|
-
--default-mono-font-family: var(--font-mono);
|
|
2102
|
+
// src/Player.tsx
|
|
2103
|
+
import { twMerge as twMerge2 } from "tailwind-merge";
|
|
2104
|
+
|
|
2105
|
+
// src/utils/scriptLoader.ts
|
|
2106
|
+
var SCRIPT_CONFIGS = {
|
|
2107
|
+
ima: {
|
|
2108
|
+
src: "https://imasdk.googleapis.com/js/sdkloader/ima3.js",
|
|
2109
|
+
id: "ima-sdk",
|
|
2110
|
+
type: "text/javascript"
|
|
2111
|
+
},
|
|
2112
|
+
system73: {
|
|
2113
|
+
src: "//cdn.s73cloud.com/4/s73-sdk-shakaplayer.js",
|
|
2114
|
+
id: "system73-sdk",
|
|
2115
|
+
type: "application/javascript"
|
|
2906
2116
|
}
|
|
2117
|
+
};
|
|
2118
|
+
function loadScript(config) {
|
|
2119
|
+
return new Promise((resolve, reject) => {
|
|
2120
|
+
if (document.getElementById(config.id)) {
|
|
2121
|
+
resolve();
|
|
2122
|
+
return;
|
|
2123
|
+
}
|
|
2124
|
+
const script = document.createElement("script");
|
|
2125
|
+
script.id = config.id;
|
|
2126
|
+
script.src = config.src;
|
|
2127
|
+
script.type = config.type || "text/javascript";
|
|
2128
|
+
script.async = true;
|
|
2129
|
+
script.onload = () => resolve();
|
|
2130
|
+
script.onerror = () => reject(new Error(`Failed to load script: ${config.src}`));
|
|
2131
|
+
document.head.appendChild(script);
|
|
2132
|
+
});
|
|
2907
2133
|
}
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
::backdrop,
|
|
2913
|
-
::file-selector-button {
|
|
2914
|
-
box-sizing: border-box;
|
|
2915
|
-
margin: 0;
|
|
2916
|
-
padding: 0;
|
|
2917
|
-
border: 0 solid;
|
|
2918
|
-
}
|
|
2919
|
-
html,
|
|
2920
|
-
:host {
|
|
2921
|
-
line-height: 1.5;
|
|
2922
|
-
-webkit-text-size-adjust: 100%;
|
|
2923
|
-
tab-size: 4;
|
|
2924
|
-
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
2925
|
-
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
2926
|
-
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
2927
|
-
-webkit-tap-highlight-color: transparent;
|
|
2928
|
-
}
|
|
2929
|
-
hr {
|
|
2930
|
-
height: 0;
|
|
2931
|
-
color: inherit;
|
|
2932
|
-
border-top-width: 1px;
|
|
2933
|
-
}
|
|
2934
|
-
abbr:where([title]) {
|
|
2935
|
-
-webkit-text-decoration: underline dotted;
|
|
2936
|
-
text-decoration: underline dotted;
|
|
2937
|
-
}
|
|
2938
|
-
h1,
|
|
2939
|
-
h2,
|
|
2940
|
-
h3,
|
|
2941
|
-
h4,
|
|
2942
|
-
h5,
|
|
2943
|
-
h6 {
|
|
2944
|
-
font-size: inherit;
|
|
2945
|
-
font-weight: inherit;
|
|
2946
|
-
}
|
|
2947
|
-
a {
|
|
2948
|
-
color: inherit;
|
|
2949
|
-
-webkit-text-decoration: inherit;
|
|
2950
|
-
text-decoration: inherit;
|
|
2951
|
-
}
|
|
2952
|
-
b,
|
|
2953
|
-
strong {
|
|
2954
|
-
font-weight: bolder;
|
|
2955
|
-
}
|
|
2956
|
-
code,
|
|
2957
|
-
kbd,
|
|
2958
|
-
samp,
|
|
2959
|
-
pre {
|
|
2960
|
-
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
2961
|
-
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
2962
|
-
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
2963
|
-
font-size: 1em;
|
|
2964
|
-
}
|
|
2965
|
-
small {
|
|
2966
|
-
font-size: 80%;
|
|
2967
|
-
}
|
|
2968
|
-
sub,
|
|
2969
|
-
sup {
|
|
2970
|
-
font-size: 75%;
|
|
2971
|
-
line-height: 0;
|
|
2972
|
-
position: relative;
|
|
2973
|
-
vertical-align: baseline;
|
|
2974
|
-
}
|
|
2975
|
-
sub {
|
|
2976
|
-
bottom: -0.25em;
|
|
2977
|
-
}
|
|
2978
|
-
sup {
|
|
2979
|
-
top: -0.5em;
|
|
2980
|
-
}
|
|
2981
|
-
table {
|
|
2982
|
-
text-indent: 0;
|
|
2983
|
-
border-color: inherit;
|
|
2984
|
-
border-collapse: collapse;
|
|
2985
|
-
}
|
|
2986
|
-
:-moz-focusring {
|
|
2987
|
-
outline: auto;
|
|
2988
|
-
}
|
|
2989
|
-
progress {
|
|
2990
|
-
vertical-align: baseline;
|
|
2991
|
-
}
|
|
2992
|
-
summary {
|
|
2993
|
-
display: list-item;
|
|
2994
|
-
}
|
|
2995
|
-
ol,
|
|
2996
|
-
ul,
|
|
2997
|
-
menu {
|
|
2998
|
-
list-style: none;
|
|
2999
|
-
}
|
|
3000
|
-
img,
|
|
3001
|
-
svg,
|
|
3002
|
-
video,
|
|
3003
|
-
canvas,
|
|
3004
|
-
audio,
|
|
3005
|
-
iframe,
|
|
3006
|
-
embed,
|
|
3007
|
-
object {
|
|
3008
|
-
display: block;
|
|
3009
|
-
vertical-align: middle;
|
|
3010
|
-
}
|
|
3011
|
-
img,
|
|
3012
|
-
video {
|
|
3013
|
-
max-width: 100%;
|
|
3014
|
-
height: auto;
|
|
3015
|
-
}
|
|
3016
|
-
button,
|
|
3017
|
-
input,
|
|
3018
|
-
select,
|
|
3019
|
-
optgroup,
|
|
3020
|
-
textarea,
|
|
3021
|
-
::file-selector-button {
|
|
3022
|
-
font: inherit;
|
|
3023
|
-
font-feature-settings: inherit;
|
|
3024
|
-
font-variation-settings: inherit;
|
|
3025
|
-
letter-spacing: inherit;
|
|
3026
|
-
color: inherit;
|
|
3027
|
-
border-radius: 0;
|
|
3028
|
-
background-color: transparent;
|
|
3029
|
-
opacity: 1;
|
|
3030
|
-
}
|
|
3031
|
-
:where(select:is([multiple], [size])) optgroup {
|
|
3032
|
-
font-weight: bolder;
|
|
2134
|
+
function getRequiredScriptLoaders(needsIma, needsSystem73) {
|
|
2135
|
+
const loaders = [];
|
|
2136
|
+
if (needsIma) {
|
|
2137
|
+
loaders.push(loadScript(SCRIPT_CONFIGS.ima));
|
|
3033
2138
|
}
|
|
3034
|
-
|
|
3035
|
-
|
|
2139
|
+
if (needsSystem73) {
|
|
2140
|
+
loaders.push(loadScript(SCRIPT_CONFIGS.system73));
|
|
3036
2141
|
}
|
|
3037
|
-
|
|
3038
|
-
|
|
2142
|
+
return loaders;
|
|
2143
|
+
}
|
|
2144
|
+
async function loadScripts(scriptLoaders) {
|
|
2145
|
+
if (scriptLoaders.length === 0) {
|
|
2146
|
+
return;
|
|
3039
2147
|
}
|
|
3040
|
-
|
|
3041
|
-
|
|
2148
|
+
try {
|
|
2149
|
+
await Promise.all(scriptLoaders);
|
|
2150
|
+
} catch (error) {
|
|
2151
|
+
console.error("Error loading scripts:", error);
|
|
2152
|
+
throw error;
|
|
3042
2153
|
}
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
2154
|
+
}
|
|
2155
|
+
function waitForGlobal(globalName, timeout = 5e3) {
|
|
2156
|
+
return new Promise((resolve, reject) => {
|
|
2157
|
+
const startTime = Date.now();
|
|
2158
|
+
function checkGlobal() {
|
|
2159
|
+
const global = window[globalName];
|
|
2160
|
+
if (global) {
|
|
2161
|
+
resolve(global);
|
|
2162
|
+
return;
|
|
2163
|
+
}
|
|
2164
|
+
if (Date.now() - startTime > timeout) {
|
|
2165
|
+
reject(new Error(`Timeout waiting for global: ${globalName}`));
|
|
2166
|
+
return;
|
|
3048
2167
|
}
|
|
3049
|
-
|
|
3050
|
-
}
|
|
3051
|
-
textarea {
|
|
3052
|
-
resize: vertical;
|
|
3053
|
-
}
|
|
3054
|
-
::-webkit-search-decoration {
|
|
3055
|
-
-webkit-appearance: none;
|
|
3056
|
-
}
|
|
3057
|
-
::-webkit-date-and-time-value {
|
|
3058
|
-
min-height: 1lh;
|
|
3059
|
-
text-align: inherit;
|
|
3060
|
-
}
|
|
3061
|
-
::-webkit-datetime-edit {
|
|
3062
|
-
display: inline-flex;
|
|
3063
|
-
}
|
|
3064
|
-
::-webkit-datetime-edit-fields-wrapper {
|
|
3065
|
-
padding: 0;
|
|
3066
|
-
}
|
|
3067
|
-
::-webkit-datetime-edit,
|
|
3068
|
-
::-webkit-datetime-edit-year-field,
|
|
3069
|
-
::-webkit-datetime-edit-month-field,
|
|
3070
|
-
::-webkit-datetime-edit-day-field,
|
|
3071
|
-
::-webkit-datetime-edit-hour-field,
|
|
3072
|
-
::-webkit-datetime-edit-minute-field,
|
|
3073
|
-
::-webkit-datetime-edit-second-field,
|
|
3074
|
-
::-webkit-datetime-edit-millisecond-field,
|
|
3075
|
-
::-webkit-datetime-edit-meridiem-field {
|
|
3076
|
-
padding-block: 0;
|
|
3077
|
-
}
|
|
3078
|
-
:-moz-ui-invalid {
|
|
3079
|
-
box-shadow: none;
|
|
3080
|
-
}
|
|
3081
|
-
button,
|
|
3082
|
-
input:where([type=button], [type=reset], [type=submit]),
|
|
3083
|
-
::file-selector-button {
|
|
3084
|
-
appearance: button;
|
|
3085
|
-
}
|
|
3086
|
-
::-webkit-inner-spin-button,
|
|
3087
|
-
::-webkit-outer-spin-button {
|
|
3088
|
-
height: auto;
|
|
3089
|
-
}
|
|
3090
|
-
[hidden]:where(:not([hidden=until-found])) {
|
|
3091
|
-
display: none !important;
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
@layer utilities {
|
|
3095
|
-
.pointer-events-none {
|
|
3096
|
-
pointer-events: none;
|
|
3097
|
-
}
|
|
3098
|
-
.visible {
|
|
3099
|
-
visibility: visible;
|
|
3100
|
-
}
|
|
3101
|
-
.sr-only {
|
|
3102
|
-
position: absolute;
|
|
3103
|
-
width: 1px;
|
|
3104
|
-
height: 1px;
|
|
3105
|
-
padding: 0;
|
|
3106
|
-
margin: -1px;
|
|
3107
|
-
overflow: hidden;
|
|
3108
|
-
clip: rect(0, 0, 0, 0);
|
|
3109
|
-
white-space: nowrap;
|
|
3110
|
-
border-width: 0;
|
|
3111
|
-
}
|
|
3112
|
-
.absolute {
|
|
3113
|
-
position: absolute;
|
|
3114
|
-
}
|
|
3115
|
-
.fixed {
|
|
3116
|
-
position: fixed;
|
|
3117
|
-
}
|
|
3118
|
-
.relative {
|
|
3119
|
-
position: relative;
|
|
3120
|
-
}
|
|
3121
|
-
.static {
|
|
3122
|
-
position: static;
|
|
3123
|
-
}
|
|
3124
|
-
.inset-0 {
|
|
3125
|
-
inset: calc(var(--spacing) * 0);
|
|
3126
|
-
}
|
|
3127
|
-
.top-4 {
|
|
3128
|
-
top: calc(var(--spacing) * 4);
|
|
3129
|
-
}
|
|
3130
|
-
.right-0 {
|
|
3131
|
-
right: calc(var(--spacing) * 0);
|
|
3132
|
-
}
|
|
3133
|
-
.right-4 {
|
|
3134
|
-
right: calc(var(--spacing) * 4);
|
|
3135
|
-
}
|
|
3136
|
-
.bottom-0 {
|
|
3137
|
-
bottom: calc(var(--spacing) * 0);
|
|
3138
|
-
}
|
|
3139
|
-
.bottom-4 {
|
|
3140
|
-
bottom: calc(var(--spacing) * 4);
|
|
3141
|
-
}
|
|
3142
|
-
.left-0 {
|
|
3143
|
-
left: calc(var(--spacing) * 0);
|
|
3144
|
-
}
|
|
3145
|
-
.left-4 {
|
|
3146
|
-
left: calc(var(--spacing) * 4);
|
|
3147
|
-
}
|
|
3148
|
-
.z-10 {
|
|
3149
|
-
z-index: 10;
|
|
3150
|
-
}
|
|
3151
|
-
.z-20 {
|
|
3152
|
-
z-index: 20;
|
|
3153
|
-
}
|
|
3154
|
-
.z-50 {
|
|
3155
|
-
z-index: 50;
|
|
3156
|
-
}
|
|
3157
|
-
.container {
|
|
3158
|
-
width: 100%;
|
|
3159
|
-
@media (width >= 40rem) {
|
|
3160
|
-
max-width: 40rem;
|
|
3161
|
-
}
|
|
3162
|
-
@media (width >= 48rem) {
|
|
3163
|
-
max-width: 48rem;
|
|
3164
|
-
}
|
|
3165
|
-
@media (width >= 64rem) {
|
|
3166
|
-
max-width: 64rem;
|
|
3167
|
-
}
|
|
3168
|
-
@media (width >= 80rem) {
|
|
3169
|
-
max-width: 80rem;
|
|
3170
|
-
}
|
|
3171
|
-
@media (width >= 96rem) {
|
|
3172
|
-
max-width: 96rem;
|
|
3173
|
-
}
|
|
3174
|
-
}
|
|
3175
|
-
.m-6 {
|
|
3176
|
-
margin: calc(var(--spacing) * 6);
|
|
3177
|
-
}
|
|
3178
|
-
.mt-1 {
|
|
3179
|
-
margin-top: calc(var(--spacing) * 1);
|
|
3180
|
-
}
|
|
3181
|
-
.mt-3 {
|
|
3182
|
-
margin-top: calc(var(--spacing) * 3);
|
|
3183
|
-
}
|
|
3184
|
-
.mb-2 {
|
|
3185
|
-
margin-bottom: calc(var(--spacing) * 2);
|
|
3186
|
-
}
|
|
3187
|
-
.mb-6 {
|
|
3188
|
-
margin-bottom: calc(var(--spacing) * 6);
|
|
3189
|
-
}
|
|
3190
|
-
.flex {
|
|
3191
|
-
display: flex;
|
|
3192
|
-
}
|
|
3193
|
-
.grid {
|
|
3194
|
-
display: grid;
|
|
3195
|
-
}
|
|
3196
|
-
.aspect-video {
|
|
3197
|
-
aspect-ratio: var(--aspect-video);
|
|
3198
|
-
}
|
|
3199
|
-
.h-2 {
|
|
3200
|
-
height: calc(var(--spacing) * 2);
|
|
3201
|
-
}
|
|
3202
|
-
.h-12 {
|
|
3203
|
-
height: calc(var(--spacing) * 12);
|
|
3204
|
-
}
|
|
3205
|
-
.h-24 {
|
|
3206
|
-
height: calc(var(--spacing) * 24);
|
|
3207
|
-
}
|
|
3208
|
-
.h-full {
|
|
3209
|
-
height: 100%;
|
|
3210
|
-
}
|
|
3211
|
-
.w-2 {
|
|
3212
|
-
width: calc(var(--spacing) * 2);
|
|
3213
|
-
}
|
|
3214
|
-
.w-12 {
|
|
3215
|
-
width: calc(var(--spacing) * 12);
|
|
3216
|
-
}
|
|
3217
|
-
.w-24 {
|
|
3218
|
-
width: calc(var(--spacing) * 24);
|
|
3219
|
-
}
|
|
3220
|
-
.w-full {
|
|
3221
|
-
width: 100%;
|
|
3222
|
-
}
|
|
3223
|
-
.grow {
|
|
3224
|
-
flex-grow: 1;
|
|
3225
|
-
}
|
|
3226
|
-
.animate-pulse {
|
|
3227
|
-
animation: var(--animate-pulse);
|
|
3228
|
-
}
|
|
3229
|
-
.animate-spin {
|
|
3230
|
-
animation: var(--animate-spin);
|
|
3231
|
-
}
|
|
3232
|
-
.auto-cols-max {
|
|
3233
|
-
grid-auto-columns: max-content;
|
|
3234
|
-
}
|
|
3235
|
-
.grid-flow-col {
|
|
3236
|
-
grid-auto-flow: column;
|
|
3237
|
-
}
|
|
3238
|
-
.flex-col {
|
|
3239
|
-
flex-direction: column;
|
|
3240
|
-
}
|
|
3241
|
-
.items-center {
|
|
3242
|
-
align-items: center;
|
|
3243
|
-
}
|
|
3244
|
-
.justify-center {
|
|
3245
|
-
justify-content: center;
|
|
3246
|
-
}
|
|
3247
|
-
.justify-stretch {
|
|
3248
|
-
justify-content: stretch;
|
|
3249
|
-
}
|
|
3250
|
-
.gap-1 {
|
|
3251
|
-
gap: calc(var(--spacing) * 1);
|
|
3252
|
-
}
|
|
3253
|
-
.overflow-hidden {
|
|
3254
|
-
overflow: hidden;
|
|
3255
|
-
}
|
|
3256
|
-
.rounded-full {
|
|
3257
|
-
border-radius: calc(infinity * 1px);
|
|
3258
|
-
}
|
|
3259
|
-
.rounded-md {
|
|
3260
|
-
border-radius: var(--radius-md);
|
|
3261
|
-
}
|
|
3262
|
-
.bg-\\[\\#111111\\] {
|
|
3263
|
-
background-color: #111111;
|
|
3264
|
-
}
|
|
3265
|
-
.bg-\\[\\#151515\\] {
|
|
3266
|
-
background-color: #151515;
|
|
3267
|
-
}
|
|
3268
|
-
.bg-black {
|
|
3269
|
-
background-color: var(--color-black);
|
|
3270
|
-
}
|
|
3271
|
-
.bg-red-600 {
|
|
3272
|
-
background-color: var(--color-red-600);
|
|
3273
|
-
}
|
|
3274
|
-
.bg-transparent {
|
|
3275
|
-
background-color: transparent;
|
|
3276
|
-
}
|
|
3277
|
-
.bg-white {
|
|
3278
|
-
background-color: var(--color-white);
|
|
3279
|
-
}
|
|
3280
|
-
.bg-gradient-to-t {
|
|
3281
|
-
--tw-gradient-position: to top in oklab;
|
|
3282
|
-
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
3283
|
-
}
|
|
3284
|
-
.from-black\\/70 {
|
|
3285
|
-
--tw-gradient-from: color-mix(in srgb, #000 70%, transparent);
|
|
3286
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3287
|
-
--tw-gradient-from: color-mix(in oklab, var(--color-black) 70%, transparent);
|
|
3288
|
-
}
|
|
3289
|
-
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
3290
|
-
}
|
|
3291
|
-
.to-transparent {
|
|
3292
|
-
--tw-gradient-to: transparent;
|
|
3293
|
-
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
3294
|
-
}
|
|
3295
|
-
.bg-cover {
|
|
3296
|
-
background-size: cover;
|
|
3297
|
-
}
|
|
3298
|
-
.bg-center {
|
|
3299
|
-
background-position: center;
|
|
3300
|
-
}
|
|
3301
|
-
.bg-no-repeat {
|
|
3302
|
-
background-repeat: no-repeat;
|
|
3303
|
-
}
|
|
3304
|
-
.p-2 {
|
|
3305
|
-
padding: calc(var(--spacing) * 2);
|
|
3306
|
-
}
|
|
3307
|
-
.p-4 {
|
|
3308
|
-
padding: calc(var(--spacing) * 4);
|
|
3309
|
-
}
|
|
3310
|
-
.px-2 {
|
|
3311
|
-
padding-inline: calc(var(--spacing) * 2);
|
|
3312
|
-
}
|
|
3313
|
-
.px-4 {
|
|
3314
|
-
padding-inline: calc(var(--spacing) * 4);
|
|
3315
|
-
}
|
|
3316
|
-
.py-1 {
|
|
3317
|
-
padding-block: calc(var(--spacing) * 1);
|
|
3318
|
-
}
|
|
3319
|
-
.text-center {
|
|
3320
|
-
text-align: center;
|
|
3321
|
-
}
|
|
3322
|
-
.text-left {
|
|
3323
|
-
text-align: left;
|
|
3324
|
-
}
|
|
3325
|
-
.font-mono {
|
|
3326
|
-
font-family: var(--font-mono);
|
|
3327
|
-
}
|
|
3328
|
-
.text-2xl {
|
|
3329
|
-
font-size: var(--text-2xl);
|
|
3330
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
3331
|
-
}
|
|
3332
|
-
.text-base {
|
|
3333
|
-
font-size: var(--text-base);
|
|
3334
|
-
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
3335
|
-
}
|
|
3336
|
-
.text-lg {
|
|
3337
|
-
font-size: var(--text-lg);
|
|
3338
|
-
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
3339
|
-
}
|
|
3340
|
-
.text-sm {
|
|
3341
|
-
font-size: var(--text-sm);
|
|
3342
|
-
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
3343
|
-
}
|
|
3344
|
-
.text-xl {
|
|
3345
|
-
font-size: var(--text-xl);
|
|
3346
|
-
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
3347
|
-
}
|
|
3348
|
-
.text-xs {
|
|
3349
|
-
font-size: var(--text-xs);
|
|
3350
|
-
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
3351
|
-
}
|
|
3352
|
-
.text-\\[10px\\] {
|
|
3353
|
-
font-size: 10px;
|
|
3354
|
-
}
|
|
3355
|
-
.leading-none {
|
|
3356
|
-
--tw-leading: 1;
|
|
3357
|
-
line-height: 1;
|
|
3358
|
-
}
|
|
3359
|
-
.font-bold {
|
|
3360
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
3361
|
-
font-weight: var(--font-weight-bold);
|
|
3362
|
-
}
|
|
3363
|
-
.font-medium {
|
|
3364
|
-
--tw-font-weight: var(--font-weight-medium);
|
|
3365
|
-
font-weight: var(--font-weight-medium);
|
|
3366
|
-
}
|
|
3367
|
-
.font-semibold {
|
|
3368
|
-
--tw-font-weight: var(--font-weight-semibold);
|
|
3369
|
-
font-weight: var(--font-weight-semibold);
|
|
3370
|
-
}
|
|
3371
|
-
.tracking-wide {
|
|
3372
|
-
--tw-tracking: var(--tracking-wide);
|
|
3373
|
-
letter-spacing: var(--tracking-wide);
|
|
3374
|
-
}
|
|
3375
|
-
.tracking-widest {
|
|
3376
|
-
--tw-tracking: var(--tracking-widest);
|
|
3377
|
-
letter-spacing: var(--tracking-widest);
|
|
3378
|
-
}
|
|
3379
|
-
.text-white {
|
|
3380
|
-
color: var(--color-white);
|
|
3381
|
-
}
|
|
3382
|
-
.uppercase {
|
|
3383
|
-
text-transform: uppercase;
|
|
3384
|
-
}
|
|
3385
|
-
.shadow-lg {
|
|
3386
|
-
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
3387
|
-
box-shadow:
|
|
3388
|
-
var(--tw-inset-shadow),
|
|
3389
|
-
var(--tw-inset-ring-shadow),
|
|
3390
|
-
var(--tw-ring-offset-shadow),
|
|
3391
|
-
var(--tw-ring-shadow),
|
|
3392
|
-
var(--tw-shadow);
|
|
3393
|
-
}
|
|
3394
|
-
.filter {
|
|
3395
|
-
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
3396
|
-
}
|
|
3397
|
-
.md\\:gap-5 {
|
|
3398
|
-
@media (width >= 48rem) {
|
|
3399
|
-
gap: calc(var(--spacing) * 5);
|
|
3400
|
-
}
|
|
3401
|
-
}
|
|
3402
|
-
.md\\:rounded-2xl {
|
|
3403
|
-
@media (width >= 48rem) {
|
|
3404
|
-
border-radius: var(--radius-2xl);
|
|
3405
|
-
}
|
|
3406
|
-
}
|
|
3407
|
-
.md\\:rounded-2xl\\! {
|
|
3408
|
-
@media (width >= 48rem) {
|
|
3409
|
-
border-radius: var(--radius-2xl) !important;
|
|
3410
|
-
}
|
|
3411
|
-
}
|
|
3412
|
-
.md\\:text-5xl {
|
|
3413
|
-
@media (width >= 48rem) {
|
|
3414
|
-
font-size: var(--text-5xl);
|
|
3415
|
-
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
3416
|
-
}
|
|
3417
|
-
}
|
|
3418
|
-
.md\\:text-base {
|
|
3419
|
-
@media (width >= 48rem) {
|
|
3420
|
-
font-size: var(--text-base);
|
|
3421
|
-
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
3422
|
-
}
|
|
3423
|
-
}
|
|
3424
|
-
.md\\:text-sm {
|
|
3425
|
-
@media (width >= 48rem) {
|
|
3426
|
-
font-size: var(--text-sm);
|
|
3427
|
-
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
3428
|
-
}
|
|
3429
|
-
}
|
|
3430
|
-
.md\\:text-xl {
|
|
3431
|
-
@media (width >= 48rem) {
|
|
3432
|
-
font-size: var(--text-xl);
|
|
3433
|
-
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
|
-
.md\\:text-xs {
|
|
3437
|
-
@media (width >= 48rem) {
|
|
3438
|
-
font-size: var(--text-xs);
|
|
3439
|
-
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
3440
|
-
}
|
|
3441
|
-
}
|
|
3442
|
-
}
|
|
3443
|
-
@layer components {
|
|
3444
|
-
video::-webkit-media-controls {
|
|
3445
|
-
display: none !important;
|
|
3446
|
-
}
|
|
3447
|
-
video::-webkit-media-controls-panel {
|
|
3448
|
-
display: none !important;
|
|
3449
|
-
}
|
|
3450
|
-
video::-webkit-media-controls-play-button {
|
|
3451
|
-
display: none !important;
|
|
3452
|
-
}
|
|
3453
|
-
video::-webkit-media-controls-timeline {
|
|
3454
|
-
display: none !important;
|
|
3455
|
-
}
|
|
3456
|
-
video::-webkit-media-controls-current-time-display {
|
|
3457
|
-
display: none !important;
|
|
3458
|
-
}
|
|
3459
|
-
video::-webkit-media-controls-time-remaining-display {
|
|
3460
|
-
display: none !important;
|
|
3461
|
-
}
|
|
3462
|
-
video::-webkit-media-controls-mute-button {
|
|
3463
|
-
display: none !important;
|
|
3464
|
-
}
|
|
3465
|
-
video::-webkit-media-controls-volume-slider {
|
|
3466
|
-
display: none !important;
|
|
3467
|
-
}
|
|
3468
|
-
video::-webkit-media-controls-fullscreen-button {
|
|
3469
|
-
display: none !important;
|
|
3470
|
-
}
|
|
3471
|
-
video::-webkit-media-controls-overlay-play-button {
|
|
3472
|
-
display: none !important;
|
|
3473
|
-
}
|
|
3474
|
-
video::-moz-media-controls {
|
|
3475
|
-
display: none !important;
|
|
3476
|
-
}
|
|
3477
|
-
video {
|
|
3478
|
-
outline: none !important;
|
|
3479
|
-
}
|
|
3480
|
-
video[controls] {
|
|
3481
|
-
-webkit-appearance: none !important;
|
|
3482
|
-
appearance: none !important;
|
|
3483
|
-
}
|
|
3484
|
-
video::-webkit-media-controls-enclosure {
|
|
3485
|
-
display: none !important;
|
|
3486
|
-
}
|
|
3487
|
-
video::-webkit-media-controls-start-playback-button {
|
|
3488
|
-
display: none !important;
|
|
3489
|
-
}
|
|
3490
|
-
video[controls]::-webkit-media-controls,
|
|
3491
|
-
video[controls]::-webkit-media-controls-panel,
|
|
3492
|
-
video[controls]::-webkit-media-controls-play-button,
|
|
3493
|
-
video[controls]::-webkit-media-controls-timeline,
|
|
3494
|
-
video[controls]::-webkit-media-controls-current-time-display,
|
|
3495
|
-
video[controls]::-webkit-media-controls-time-remaining-display,
|
|
3496
|
-
video[controls]::-webkit-media-controls-mute-button,
|
|
3497
|
-
video[controls]::-webkit-media-controls-volume-slider,
|
|
3498
|
-
video[controls]::-webkit-media-controls-fullscreen-button,
|
|
3499
|
-
video[controls]::-webkit-media-controls-overlay-play-button,
|
|
3500
|
-
video[controls]::-webkit-media-controls-enclosure,
|
|
3501
|
-
video[controls]::-webkit-media-controls-start-playback-button {
|
|
3502
|
-
display: none !important;
|
|
3503
|
-
visibility: hidden !important;
|
|
3504
|
-
opacity: 0 !important;
|
|
3505
|
-
pointer-events: none !important;
|
|
3506
|
-
}
|
|
3507
|
-
video[controls]::-moz-media-controls {
|
|
3508
|
-
display: none !important;
|
|
3509
|
-
visibility: hidden !important;
|
|
3510
|
-
opacity: 0 !important;
|
|
3511
|
-
}
|
|
3512
|
-
.motto-video-container {
|
|
3513
|
-
position: relative;
|
|
3514
|
-
width: 100%;
|
|
3515
|
-
min-height: 300px;
|
|
3516
|
-
}
|
|
3517
|
-
@supports (aspect-ratio: 16/9) {
|
|
3518
|
-
.motto-video-container {
|
|
3519
|
-
min-height: auto;
|
|
3520
|
-
}
|
|
3521
|
-
}
|
|
3522
|
-
.motto-video-responsive {
|
|
3523
|
-
position: absolute;
|
|
3524
|
-
top: calc(var(--spacing) * 0);
|
|
3525
|
-
left: calc(var(--spacing) * 0);
|
|
3526
|
-
height: 100%;
|
|
3527
|
-
width: 100%;
|
|
3528
|
-
}
|
|
3529
|
-
.motto-skip-button {
|
|
3530
|
-
position: absolute;
|
|
3531
|
-
top: calc(1/2 * 100%);
|
|
3532
|
-
z-index: 10;
|
|
3533
|
-
display: flex;
|
|
3534
|
-
height: calc(var(--spacing) * 16);
|
|
3535
|
-
width: calc(var(--spacing) * 16);
|
|
3536
|
-
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
3537
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3538
|
-
cursor: pointer;
|
|
3539
|
-
align-items: center;
|
|
3540
|
-
justify-content: center;
|
|
3541
|
-
border-radius: calc(infinity * 1px);
|
|
3542
|
-
border-style: var(--tw-border-style);
|
|
3543
|
-
border-width: 0px;
|
|
3544
|
-
background-color: color-mix(in srgb, #000 70%, transparent);
|
|
3545
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3546
|
-
background-color: color-mix(in oklab, var(--color-black) 70%, transparent);
|
|
3547
|
-
}
|
|
3548
|
-
font-size: var(--text-2xl);
|
|
3549
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
3550
|
-
color: var(--color-white);
|
|
3551
|
-
opacity: 80%;
|
|
3552
|
-
transition-property: all;
|
|
3553
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
3554
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
3555
|
-
--tw-duration: 200ms;
|
|
3556
|
-
transition-duration: 200ms;
|
|
3557
|
-
&:hover {
|
|
3558
|
-
@media (hover: hover) {
|
|
3559
|
-
--tw-scale-x: 110%;
|
|
3560
|
-
--tw-scale-y: 110%;
|
|
3561
|
-
--tw-scale-z: 110%;
|
|
3562
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
3563
|
-
}
|
|
3564
|
-
}
|
|
3565
|
-
&:hover {
|
|
3566
|
-
@media (hover: hover) {
|
|
3567
|
-
opacity: 100%;
|
|
3568
|
-
}
|
|
3569
|
-
}
|
|
3570
|
-
&:active {
|
|
3571
|
-
--tw-scale-x: 95%;
|
|
3572
|
-
--tw-scale-y: 95%;
|
|
3573
|
-
--tw-scale-z: 95%;
|
|
3574
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
3575
|
-
}
|
|
3576
|
-
}
|
|
3577
|
-
.motto-skip-button-back {
|
|
3578
|
-
left: calc(var(--spacing) * 5);
|
|
3579
|
-
}
|
|
3580
|
-
.motto-skip-button-forward {
|
|
3581
|
-
right: calc(var(--spacing) * 5);
|
|
3582
|
-
}
|
|
3583
|
-
}
|
|
3584
|
-
.shaka-seek-bar-container {
|
|
3585
|
-
height: 6px !important;
|
|
3586
|
-
width: 100% !important;
|
|
3587
|
-
margin: 8px 0 !important;
|
|
3588
|
-
border-radius: 4px !important;
|
|
3589
|
-
position: relative !important;
|
|
3590
|
-
border-top: none !important;
|
|
3591
|
-
border-bottom: none !important;
|
|
3592
|
-
box-shadow: none !important;
|
|
3593
|
-
}
|
|
3594
|
-
.shaka-seek-bar {
|
|
3595
|
-
height: 6px !important;
|
|
3596
|
-
width: 100% !important;
|
|
3597
|
-
-webkit-appearance: none !important;
|
|
3598
|
-
appearance: none !important;
|
|
3599
|
-
background: transparent !important;
|
|
3600
|
-
cursor: pointer !important;
|
|
3601
|
-
border: none !important;
|
|
3602
|
-
outline: none !important;
|
|
3603
|
-
position: absolute !important;
|
|
3604
|
-
top: 0 !important;
|
|
3605
|
-
left: 0 !important;
|
|
3606
|
-
border-radius: 4px !important;
|
|
3607
|
-
}
|
|
3608
|
-
.shaka-seek-bar::-webkit-slider-runnable-track {
|
|
3609
|
-
height: 6px !important;
|
|
3610
|
-
background: transparent !important;
|
|
3611
|
-
border-radius: 4px !important;
|
|
3612
|
-
border: none !important;
|
|
3613
|
-
}
|
|
3614
|
-
.shaka-seek-bar::-moz-range-track {
|
|
3615
|
-
height: 6px !important;
|
|
3616
|
-
background: transparent !important;
|
|
3617
|
-
border-radius: 4px !important;
|
|
3618
|
-
border: none !important;
|
|
3619
|
-
}
|
|
3620
|
-
.shaka-seek-bar::-webkit-slider-thumb {
|
|
3621
|
-
-webkit-appearance: none !important;
|
|
3622
|
-
appearance: none !important;
|
|
3623
|
-
width: 16px !important;
|
|
3624
|
-
height: 16px !important;
|
|
3625
|
-
border-radius: 50% !important;
|
|
3626
|
-
background: #ffffff !important;
|
|
3627
|
-
cursor: pointer !important;
|
|
3628
|
-
border: 2px solid #ffffff !important;
|
|
3629
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
|
|
3630
|
-
margin-top: -4px !important;
|
|
3631
|
-
}
|
|
3632
|
-
.shaka-seek-bar::-moz-range-thumb {
|
|
3633
|
-
width: 16px !important;
|
|
3634
|
-
height: 16px !important;
|
|
3635
|
-
border-radius: 50% !important;
|
|
3636
|
-
background: #ffffff !important;
|
|
3637
|
-
cursor: pointer !important;
|
|
3638
|
-
border: 2px solid #ffffff !important;
|
|
3639
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
|
|
3640
|
-
margin-top: -4px !important;
|
|
3641
|
-
}
|
|
3642
|
-
.motto-skip-back-button,
|
|
3643
|
-
.motto-skip-forward-button,
|
|
3644
|
-
.motto-native-skip-button {
|
|
3645
|
-
background: transparent !important;
|
|
3646
|
-
border: none !important;
|
|
3647
|
-
padding: 4px !important;
|
|
3648
|
-
margin: 0px !important;
|
|
3649
|
-
cursor: pointer !important;
|
|
3650
|
-
color: #ffffff !important;
|
|
3651
|
-
transition: all 0.2s ease !important;
|
|
3652
|
-
min-width: 32px !important;
|
|
3653
|
-
height: 32px !important;
|
|
3654
|
-
display: flex !important;
|
|
3655
|
-
align-items: center !important;
|
|
3656
|
-
justify-content: center !important;
|
|
3657
|
-
border-radius: 4px !important;
|
|
3658
|
-
width: 25px;
|
|
3659
|
-
}
|
|
3660
|
-
.motto-skip-back-button:hover,
|
|
3661
|
-
.motto-skip-forward-button:hover,
|
|
3662
|
-
.motto-native-skip-button:hover {
|
|
3663
|
-
opacity: 0.8 !important;
|
|
3664
|
-
background: transparent !important;
|
|
3665
|
-
transform: scale(1.05) !important;
|
|
3666
|
-
}
|
|
3667
|
-
.motto-skip-back-button:active,
|
|
3668
|
-
.motto-skip-forward-button:active,
|
|
3669
|
-
.motto-native-skip-button:active {
|
|
3670
|
-
transform: scale(0.95) !important;
|
|
3671
|
-
}
|
|
3672
|
-
.motto-skip-back-button svg,
|
|
3673
|
-
.motto-skip-forward-button svg,
|
|
3674
|
-
.motto-native-skip-button svg {
|
|
3675
|
-
width: 24px !important;
|
|
3676
|
-
height: 24px !important;
|
|
3677
|
-
}
|
|
3678
|
-
.shaka-spinner-svg {
|
|
3679
|
-
color: white !important;
|
|
3680
|
-
fill: white !important;
|
|
3681
|
-
}
|
|
3682
|
-
.shaka-spinner-path {
|
|
3683
|
-
stroke: white !important;
|
|
3684
|
-
fill: none !important;
|
|
3685
|
-
}
|
|
3686
|
-
.shaka-spinner-container {
|
|
3687
|
-
color: white !important;
|
|
3688
|
-
}
|
|
3689
|
-
.shaka-buffering-spinner {
|
|
3690
|
-
color: white !important;
|
|
3691
|
-
fill: white !important;
|
|
3692
|
-
}
|
|
3693
|
-
.shaka-buffering-spinner svg {
|
|
3694
|
-
color: white !important;
|
|
3695
|
-
fill: white !important;
|
|
3696
|
-
}
|
|
3697
|
-
.shaka-buffering-spinner path {
|
|
3698
|
-
stroke: white !important;
|
|
3699
|
-
fill: none !important;
|
|
3700
|
-
}
|
|
3701
|
-
[data-shaka-player-container] .shaka-spinner,
|
|
3702
|
-
[data-shaka-player-container] .spinner {
|
|
3703
|
-
color: white !important;
|
|
3704
|
-
border-color: white !important;
|
|
3705
|
-
}
|
|
3706
|
-
.material-icons.shaka-spinner {
|
|
3707
|
-
color: white !important;
|
|
3708
|
-
}
|
|
3709
|
-
.shaka-controls-container .shaka-spinner,
|
|
3710
|
-
.shaka-video-container .shaka-spinner {
|
|
3711
|
-
color: white !important;
|
|
3712
|
-
fill: white !important;
|
|
3713
|
-
}
|
|
3714
|
-
.shaka-controls-container .shaka-spinner svg,
|
|
3715
|
-
.shaka-video-container .shaka-spinner svg {
|
|
3716
|
-
color: white !important;
|
|
3717
|
-
fill: white !important;
|
|
3718
|
-
}
|
|
3719
|
-
.shaka-controls-container .shaka-spinner path,
|
|
3720
|
-
.shaka-video-container .shaka-spinner path {
|
|
3721
|
-
stroke: white !important;
|
|
3722
|
-
}
|
|
3723
|
-
.motto-video-loading-overlay {
|
|
3724
|
-
position: absolute;
|
|
3725
|
-
top: 0;
|
|
3726
|
-
left: 0;
|
|
3727
|
-
width: 100%;
|
|
3728
|
-
height: 100%;
|
|
3729
|
-
background:
|
|
3730
|
-
linear-gradient(
|
|
3731
|
-
135deg,
|
|
3732
|
-
#1a1a1a 0%,
|
|
3733
|
-
#2d2d2d 100%);
|
|
3734
|
-
display: flex;
|
|
3735
|
-
flex-direction: column;
|
|
3736
|
-
align-items: center;
|
|
3737
|
-
justify-content: center;
|
|
3738
|
-
z-index: 10;
|
|
3739
|
-
transition: opacity 0.3s ease;
|
|
3740
|
-
}
|
|
3741
|
-
.motto-video-loading-overlay.hidden {
|
|
3742
|
-
opacity: 0;
|
|
3743
|
-
pointer-events: none;
|
|
3744
|
-
}
|
|
3745
|
-
.motto-video-loading-content {
|
|
3746
|
-
text-align: center;
|
|
3747
|
-
color: white;
|
|
3748
|
-
}
|
|
3749
|
-
.motto-video-loading-icon {
|
|
3750
|
-
width: 64px;
|
|
3751
|
-
height: 64px;
|
|
3752
|
-
margin-bottom: 16px;
|
|
3753
|
-
opacity: 0.7;
|
|
3754
|
-
}
|
|
3755
|
-
.motto-video-loading-text {
|
|
3756
|
-
font-size: 16px;
|
|
3757
|
-
font-weight: 500;
|
|
3758
|
-
margin-bottom: 8px;
|
|
3759
|
-
}
|
|
3760
|
-
.motto-video-loading-subtext {
|
|
3761
|
-
font-size: 14px;
|
|
3762
|
-
opacity: 0.7;
|
|
3763
|
-
}
|
|
3764
|
-
@keyframes pulse-live {
|
|
3765
|
-
0% {
|
|
3766
|
-
opacity: 1;
|
|
3767
|
-
transform: scale(1);
|
|
3768
|
-
}
|
|
3769
|
-
50% {
|
|
3770
|
-
opacity: 0.7;
|
|
3771
|
-
transform: scale(1.1);
|
|
3772
|
-
}
|
|
3773
|
-
100% {
|
|
3774
|
-
opacity: 1;
|
|
3775
|
-
transform: scale(1);
|
|
3776
|
-
}
|
|
3777
|
-
}
|
|
3778
|
-
.shaka-play-button {
|
|
3779
|
-
background: rgba(255, 255, 255, 0.1) !important;
|
|
3780
|
-
border: none !important;
|
|
3781
|
-
color: white !important;
|
|
3782
|
-
padding: 10px !important;
|
|
3783
|
-
border-radius: 100% !important;
|
|
3784
|
-
transition: all 0.2s ease !important;
|
|
3785
|
-
display: flex !important;
|
|
3786
|
-
align-items: center !important;
|
|
3787
|
-
justify-content: center !important;
|
|
3788
|
-
min-width: 55px !important;
|
|
3789
|
-
height: 55px !important;
|
|
3790
|
-
}
|
|
3791
|
-
.shaka-play-button-container {
|
|
3792
|
-
background: transparent;
|
|
3793
|
-
transition: all 0.2s ease !important;
|
|
3794
|
-
}
|
|
3795
|
-
.motto-video-container:not(.no-cursor) .shaka-play-button-container {
|
|
3796
|
-
background: rgba(0, 0, 0, 0.3);
|
|
3797
|
-
transition: all 0.s ease !important;
|
|
3798
|
-
}
|
|
3799
|
-
.shaka-play-button:hover {
|
|
3800
|
-
background: rgba(255, 255, 255, 0.2) !important;
|
|
3801
|
-
transform: scale(1.05) !important;
|
|
3802
|
-
}
|
|
3803
|
-
.shaka-play-button:active {
|
|
3804
|
-
transform: scale(0.95) !important;
|
|
3805
|
-
}
|
|
3806
|
-
.shaka-play-button > * {
|
|
3807
|
-
display: none !important;
|
|
3808
|
-
}
|
|
3809
|
-
.shaka-play-button::after {
|
|
3810
|
-
content: "" !important;
|
|
3811
|
-
width: 35px !important;
|
|
3812
|
-
height: 35px !important;
|
|
3813
|
-
background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path fill-rule="evenodd" d="M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z" clip-rule="evenodd" /></svg>') !important;
|
|
3814
|
-
background-repeat: no-repeat !important;
|
|
3815
|
-
background-size: contain !important;
|
|
3816
|
-
background-position: center !important;
|
|
3817
|
-
display: block !important;
|
|
3818
|
-
}
|
|
3819
|
-
.shaka-play-button[aria-label*=Play]::after {
|
|
3820
|
-
background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path fill-rule="evenodd" d="M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z" clip-rule="evenodd" /></svg>') !important;
|
|
3821
|
-
}
|
|
3822
|
-
.shaka-play-button[aria-label*=Pause]::after {
|
|
3823
|
-
background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path fill-rule="evenodd" d="M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z" clip-rule="evenodd" /></svg>') !important;
|
|
3824
|
-
}
|
|
3825
|
-
.motto-video-container {
|
|
3826
|
-
background: #111111;
|
|
3827
|
-
}
|
|
3828
|
-
.motto-video-container video {
|
|
3829
|
-
width: 100% !important;
|
|
3830
|
-
height: 100% !important;
|
|
3831
|
-
margin-left: auto !important;
|
|
3832
|
-
margin-right: auto !important;
|
|
3833
|
-
}
|
|
3834
|
-
html[dir=rtl] .shaka-controls-container,
|
|
3835
|
-
html[dir=rtl] .shaka-bottom-controls,
|
|
3836
|
-
html[dir=rtl] .shaka-controls-button-panel {
|
|
3837
|
-
direction: ltr !important;
|
|
3838
|
-
}
|
|
3839
|
-
html[dir=rtl] .shaka-overflow-menu,
|
|
3840
|
-
html[dir=rtl] .shaka-settings-menu {
|
|
3841
|
-
direction: rtl !important;
|
|
3842
|
-
text-align: right !important;
|
|
3843
|
-
}
|
|
3844
|
-
html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:not(:first-child) {
|
|
3845
|
-
margin-right: 12px !important;
|
|
3846
|
-
margin-left: 0 !important;
|
|
3847
|
-
}
|
|
3848
|
-
html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:first-child {
|
|
3849
|
-
margin-right: 0 !important;
|
|
3850
|
-
margin-left: 12px !important;
|
|
3851
|
-
}
|
|
3852
|
-
.shaka-hidden-fast-forward-container,
|
|
3853
|
-
.shaka-hidden-rewind-container {
|
|
3854
|
-
pointer-events: none !important;
|
|
3855
|
-
display: none !important;
|
|
3856
|
-
}
|
|
3857
|
-
@property --tw-gradient-position { syntax: "*"; inherits: false; }
|
|
3858
|
-
@property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
3859
|
-
@property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
3860
|
-
@property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
3861
|
-
@property --tw-gradient-stops { syntax: "*"; inherits: false; }
|
|
3862
|
-
@property --tw-gradient-via-stops { syntax: "*"; inherits: false; }
|
|
3863
|
-
@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
|
|
3864
|
-
@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
|
|
3865
|
-
@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
|
|
3866
|
-
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
3867
|
-
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
3868
|
-
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
3869
|
-
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3870
|
-
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
3871
|
-
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
3872
|
-
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3873
|
-
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
3874
|
-
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
3875
|
-
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
3876
|
-
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3877
|
-
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
3878
|
-
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3879
|
-
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
3880
|
-
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
3881
|
-
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
3882
|
-
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3883
|
-
@property --tw-blur { syntax: "*"; inherits: false; }
|
|
3884
|
-
@property --tw-brightness { syntax: "*"; inherits: false; }
|
|
3885
|
-
@property --tw-contrast { syntax: "*"; inherits: false; }
|
|
3886
|
-
@property --tw-grayscale { syntax: "*"; inherits: false; }
|
|
3887
|
-
@property --tw-hue-rotate { syntax: "*"; inherits: false; }
|
|
3888
|
-
@property --tw-invert { syntax: "*"; inherits: false; }
|
|
3889
|
-
@property --tw-opacity { syntax: "*"; inherits: false; }
|
|
3890
|
-
@property --tw-saturate { syntax: "*"; inherits: false; }
|
|
3891
|
-
@property --tw-sepia { syntax: "*"; inherits: false; }
|
|
3892
|
-
@property --tw-drop-shadow { syntax: "*"; inherits: false; }
|
|
3893
|
-
@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }
|
|
3894
|
-
@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
3895
|
-
@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }
|
|
3896
|
-
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
3897
|
-
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
3898
|
-
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
3899
|
-
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
3900
|
-
@property --tw-duration { syntax: "*"; inherits: false; }
|
|
3901
|
-
@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }
|
|
3902
|
-
@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }
|
|
3903
|
-
@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }
|
|
3904
|
-
@keyframes spin {
|
|
3905
|
-
to {
|
|
3906
|
-
transform: rotate(360deg);
|
|
3907
|
-
}
|
|
3908
|
-
}
|
|
3909
|
-
@keyframes pulse {
|
|
3910
|
-
50% {
|
|
3911
|
-
opacity: 0.5;
|
|
3912
|
-
}
|
|
3913
|
-
}
|
|
3914
|
-
@layer properties {
|
|
3915
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
3916
|
-
*,
|
|
3917
|
-
::before,
|
|
3918
|
-
::after,
|
|
3919
|
-
::backdrop {
|
|
3920
|
-
--tw-gradient-position: initial;
|
|
3921
|
-
--tw-gradient-from: #0000;
|
|
3922
|
-
--tw-gradient-via: #0000;
|
|
3923
|
-
--tw-gradient-to: #0000;
|
|
3924
|
-
--tw-gradient-stops: initial;
|
|
3925
|
-
--tw-gradient-via-stops: initial;
|
|
3926
|
-
--tw-gradient-from-position: 0%;
|
|
3927
|
-
--tw-gradient-via-position: 50%;
|
|
3928
|
-
--tw-gradient-to-position: 100%;
|
|
3929
|
-
--tw-leading: initial;
|
|
3930
|
-
--tw-font-weight: initial;
|
|
3931
|
-
--tw-tracking: initial;
|
|
3932
|
-
--tw-shadow: 0 0 #0000;
|
|
3933
|
-
--tw-shadow-color: initial;
|
|
3934
|
-
--tw-shadow-alpha: 100%;
|
|
3935
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
3936
|
-
--tw-inset-shadow-color: initial;
|
|
3937
|
-
--tw-inset-shadow-alpha: 100%;
|
|
3938
|
-
--tw-ring-color: initial;
|
|
3939
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
3940
|
-
--tw-inset-ring-color: initial;
|
|
3941
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
3942
|
-
--tw-ring-inset: initial;
|
|
3943
|
-
--tw-ring-offset-width: 0px;
|
|
3944
|
-
--tw-ring-offset-color: #fff;
|
|
3945
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
3946
|
-
--tw-blur: initial;
|
|
3947
|
-
--tw-brightness: initial;
|
|
3948
|
-
--tw-contrast: initial;
|
|
3949
|
-
--tw-grayscale: initial;
|
|
3950
|
-
--tw-hue-rotate: initial;
|
|
3951
|
-
--tw-invert: initial;
|
|
3952
|
-
--tw-opacity: initial;
|
|
3953
|
-
--tw-saturate: initial;
|
|
3954
|
-
--tw-sepia: initial;
|
|
3955
|
-
--tw-drop-shadow: initial;
|
|
3956
|
-
--tw-drop-shadow-color: initial;
|
|
3957
|
-
--tw-drop-shadow-alpha: 100%;
|
|
3958
|
-
--tw-drop-shadow-size: initial;
|
|
3959
|
-
--tw-translate-x: 0;
|
|
3960
|
-
--tw-translate-y: 0;
|
|
3961
|
-
--tw-translate-z: 0;
|
|
3962
|
-
--tw-border-style: solid;
|
|
3963
|
-
--tw-duration: initial;
|
|
3964
|
-
--tw-scale-x: 1;
|
|
3965
|
-
--tw-scale-y: 1;
|
|
3966
|
-
--tw-scale-z: 1;
|
|
3967
|
-
}
|
|
3968
|
-
}
|
|
3969
|
-
}
|
|
3970
|
-
`);
|
|
3971
|
-
|
|
3972
|
-
// src/Player.tsx
|
|
3973
|
-
import { twMerge as twMerge2 } from "tailwind-merge";
|
|
3974
|
-
|
|
3975
|
-
// src/utils/scriptLoader.ts
|
|
3976
|
-
var SCRIPT_CONFIGS = {
|
|
3977
|
-
ima: {
|
|
3978
|
-
src: "https://imasdk.googleapis.com/js/sdkloader/ima3.js",
|
|
3979
|
-
id: "ima-sdk",
|
|
3980
|
-
type: "text/javascript"
|
|
3981
|
-
},
|
|
3982
|
-
system73: {
|
|
3983
|
-
src: "//cdn.s73cloud.com/4/s73-sdk-shakaplayer.js",
|
|
3984
|
-
id: "system73-sdk",
|
|
3985
|
-
type: "application/javascript"
|
|
3986
|
-
}
|
|
3987
|
-
};
|
|
3988
|
-
function loadScript(config) {
|
|
3989
|
-
return new Promise((resolve, reject) => {
|
|
3990
|
-
if (document.getElementById(config.id)) {
|
|
3991
|
-
resolve();
|
|
3992
|
-
return;
|
|
3993
|
-
}
|
|
3994
|
-
const script = document.createElement("script");
|
|
3995
|
-
script.id = config.id;
|
|
3996
|
-
script.src = config.src;
|
|
3997
|
-
script.type = config.type || "text/javascript";
|
|
3998
|
-
script.async = true;
|
|
3999
|
-
script.onload = () => resolve();
|
|
4000
|
-
script.onerror = () => reject(new Error(`Failed to load script: ${config.src}`));
|
|
4001
|
-
document.head.appendChild(script);
|
|
4002
|
-
});
|
|
4003
|
-
}
|
|
4004
|
-
function getRequiredScriptLoaders(needsIma, needsSystem73) {
|
|
4005
|
-
const loaders = [];
|
|
4006
|
-
if (needsIma) {
|
|
4007
|
-
loaders.push(loadScript(SCRIPT_CONFIGS.ima));
|
|
4008
|
-
}
|
|
4009
|
-
if (needsSystem73) {
|
|
4010
|
-
loaders.push(loadScript(SCRIPT_CONFIGS.system73));
|
|
4011
|
-
}
|
|
4012
|
-
return loaders;
|
|
4013
|
-
}
|
|
4014
|
-
async function loadScripts(scriptLoaders) {
|
|
4015
|
-
if (scriptLoaders.length === 0) {
|
|
4016
|
-
return;
|
|
4017
|
-
}
|
|
4018
|
-
try {
|
|
4019
|
-
await Promise.all(scriptLoaders);
|
|
4020
|
-
} catch (error) {
|
|
4021
|
-
console.error("Error loading scripts:", error);
|
|
4022
|
-
throw error;
|
|
4023
|
-
}
|
|
4024
|
-
}
|
|
4025
|
-
function waitForGlobal(globalName, timeout = 5e3) {
|
|
4026
|
-
return new Promise((resolve, reject) => {
|
|
4027
|
-
const startTime = Date.now();
|
|
4028
|
-
function checkGlobal() {
|
|
4029
|
-
const global = window[globalName];
|
|
4030
|
-
if (global) {
|
|
4031
|
-
resolve(global);
|
|
4032
|
-
return;
|
|
4033
|
-
}
|
|
4034
|
-
if (Date.now() - startTime > timeout) {
|
|
4035
|
-
reject(new Error(`Timeout waiting for global: ${globalName}`));
|
|
4036
|
-
return;
|
|
4037
|
-
}
|
|
4038
|
-
setTimeout(checkGlobal, 100);
|
|
2168
|
+
setTimeout(checkGlobal, 100);
|
|
4039
2169
|
}
|
|
4040
2170
|
checkGlobal();
|
|
4041
2171
|
});
|
|
@@ -4093,7 +2223,8 @@ var Player = forwardRef(
|
|
|
4093
2223
|
onMuxDataUpdate: events?.onMuxDataUpdate,
|
|
4094
2224
|
publicKey,
|
|
4095
2225
|
mottoToken: auth?.mottoToken,
|
|
4096
|
-
hasAds: !!imaConfig?.adTagUrl
|
|
2226
|
+
hasAds: !!imaConfig?.adTagUrl,
|
|
2227
|
+
hasSystem73: !!system73Config?.apiKey
|
|
4097
2228
|
});
|
|
4098
2229
|
const {
|
|
4099
2230
|
initializeMux,
|
|
@@ -4256,29 +2387,48 @@ var Player = forwardRef(
|
|
|
4256
2387
|
if (!video || !isScriptsLoaded) return;
|
|
4257
2388
|
const initialize = async () => {
|
|
4258
2389
|
try {
|
|
2390
|
+
console.log("\u{1F680} [Player] Starting initialization...");
|
|
4259
2391
|
setIsInitialLoading(true);
|
|
4260
2392
|
let system73Wrapper = null;
|
|
4261
2393
|
if (system73Config?.apiKey && window.S73ShakaPlayerWrapper) {
|
|
2394
|
+
console.log("\u{1F4E6} [System73] Step 1: Initializing System73 wrapper with config");
|
|
4262
2395
|
const playerConfig = { ...shakaConfig };
|
|
4263
2396
|
system73Wrapper = initializeSystem73(playerConfig);
|
|
4264
2397
|
if (system73Wrapper) {
|
|
4265
2398
|
shakaConfig = playerConfig;
|
|
2399
|
+
console.log("\u2705 [System73] Step 1 complete: Wrapper created and config modified");
|
|
4266
2400
|
}
|
|
4267
2401
|
}
|
|
2402
|
+
console.log("\u{1F3AC} [Shaka] Step 2: Initializing Shaka Player (auto-load:", !system73Config?.apiKey && !imaConfig?.adTagUrl, ")");
|
|
4268
2403
|
await initializePlayer(video);
|
|
2404
|
+
console.log("\u2705 [Shaka] Step 2 complete: Player initialized");
|
|
4269
2405
|
if (system73Wrapper && playerRef.current) {
|
|
2406
|
+
console.log("\u{1F517} [System73] Step 3: Wrapping Shaka player with System73");
|
|
4270
2407
|
system73Wrapper.wrapPlayer(playerRef.current);
|
|
4271
|
-
console.log("System73
|
|
2408
|
+
console.log("\u2705 [System73] Step 3 complete: Player wrapped");
|
|
2409
|
+
if (!imaConfig?.adTagUrl) {
|
|
2410
|
+
console.log("\u{1F4FA} [System73] Step 4: Loading manifest");
|
|
2411
|
+
await loadManifest();
|
|
2412
|
+
console.log("\u2705 [System73] Step 4 complete: Manifest loaded");
|
|
2413
|
+
} else {
|
|
2414
|
+
console.log("\u23ED\uFE0F [System73] Skipping manifest load - ads will handle it");
|
|
2415
|
+
}
|
|
4272
2416
|
}
|
|
2417
|
+
console.log("\u{1F4CB} [Player] Setting up event listeners and quality tracking");
|
|
4273
2418
|
setupEventListeners();
|
|
4274
2419
|
const cleanupQuality = setupQualityTracking();
|
|
4275
2420
|
configureQuality();
|
|
2421
|
+
console.log("\u{1F3A8} [UI] Initializing Shaka UI");
|
|
4276
2422
|
await initializeUI();
|
|
2423
|
+
console.log("\u2705 [UI] UI initialized");
|
|
4277
2424
|
if (imaConfig?.adTagUrl && window.google?.ima) {
|
|
2425
|
+
console.log("\u{1F4E2} [Ads] Initializing ads (will load manifest after VAST fetch)");
|
|
4278
2426
|
await initializeAds();
|
|
2427
|
+
console.log("\u2705 [Ads] Ads initialized and manifest loaded");
|
|
4279
2428
|
}
|
|
2429
|
+
console.log("\u2728 [Player] Initialization complete!");
|
|
4280
2430
|
} catch (error) {
|
|
4281
|
-
console.error("Error during
|
|
2431
|
+
console.error("\u274C [Player] Error during initialization:", error);
|
|
4282
2432
|
handleMuxError(error);
|
|
4283
2433
|
}
|
|
4284
2434
|
};
|
|
@@ -4999,7 +3149,6 @@ var Event = ({
|
|
|
4999
3149
|
const [activePlaylist, setActivePlaylist] = useState6();
|
|
5000
3150
|
const [activeVideoId, setActiveVideoId] = useState6();
|
|
5001
3151
|
const videoIds = eventData?.videoIds ?? [];
|
|
5002
|
-
console.log("adsEnabled", adsEnabled);
|
|
5003
3152
|
const {
|
|
5004
3153
|
data: videosData,
|
|
5005
3154
|
isLoading: videosIsLoading,
|
|
@@ -5014,7 +3163,6 @@ var Event = ({
|
|
|
5014
3163
|
retry: queryOptions.retry ?? 3,
|
|
5015
3164
|
retryDelay: queryOptions.retryDelay ?? ((attemptIndex) => Math.min(1e3 * 2 ** attemptIndex, 3e4))
|
|
5016
3165
|
});
|
|
5017
|
-
console.log("videosData", videosData);
|
|
5018
3166
|
const [loadingApisState, setLoadingApisState] = useState6(true);
|
|
5019
3167
|
useEffect8(() => {
|
|
5020
3168
|
if (videosData !== void 0) {
|
|
@@ -5132,7 +3280,7 @@ var Event = ({
|
|
|
5132
3280
|
containerClassName: "w-full h-full",
|
|
5133
3281
|
publicKey,
|
|
5134
3282
|
auth,
|
|
5135
|
-
...adsEnabled && activeVideo
|
|
3283
|
+
...adsEnabled && activeVideo ? { imaConfig: { adTagUrl: activeVideo?.ad?.adTagUrl } } : {}
|
|
5136
3284
|
}
|
|
5137
3285
|
) }),
|
|
5138
3286
|
!hideTitle && eventData && /* @__PURE__ */ jsx10(
|