@spash/frontlib 0.0.10 → 0.0.12
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/dist/main.d.ts +3 -3
- package/dist/main.js +462 -460
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -464,7 +464,7 @@ async function V0(n, e) {
|
|
|
464
464
|
y: h * u
|
|
465
465
|
};
|
|
466
466
|
}
|
|
467
|
-
const
|
|
467
|
+
const G0 = function(n) {
|
|
468
468
|
return n === void 0 && (n = 0), {
|
|
469
469
|
name: "offset",
|
|
470
470
|
options: n,
|
|
@@ -486,7 +486,7 @@ const B0 = function(n) {
|
|
|
486
486
|
};
|
|
487
487
|
}
|
|
488
488
|
};
|
|
489
|
-
},
|
|
489
|
+
}, B0 = function(n) {
|
|
490
490
|
return n === void 0 && (n = {}), {
|
|
491
491
|
name: "shift",
|
|
492
492
|
options: n,
|
|
@@ -1279,14 +1279,14 @@ const Co = "__floating-vue__popper", Af = () => fe({
|
|
|
1279
1279
|
strategy: this.strategy,
|
|
1280
1280
|
middleware: []
|
|
1281
1281
|
};
|
|
1282
|
-
(this.distance || this.skidding) && n.middleware.push(
|
|
1282
|
+
(this.distance || this.skidding) && n.middleware.push(G0({
|
|
1283
1283
|
mainAxis: this.distance,
|
|
1284
1284
|
crossAxis: this.skidding
|
|
1285
1285
|
}));
|
|
1286
1286
|
const e = this.placement.startsWith("auto");
|
|
1287
1287
|
if (e ? n.middleware.push(U0({
|
|
1288
1288
|
alignment: this.placement.split("-")[1] ?? ""
|
|
1289
|
-
})) : n.placement = this.placement, this.preventOverflow && (this.shift && n.middleware.push(
|
|
1289
|
+
})) : n.placement = this.placement, this.preventOverflow && (this.shift && n.middleware.push(B0({
|
|
1290
1290
|
padding: this.overflowPadding,
|
|
1291
1291
|
boundary: this.boundary,
|
|
1292
1292
|
crossAxis: this.shiftCrossAxis
|
|
@@ -2255,15 +2255,15 @@ function fi(n, e) {
|
|
|
2255
2255
|
* (c) 2024 kazuya kawaguchi
|
|
2256
2256
|
* Released under the MIT License.
|
|
2257
2257
|
*/
|
|
2258
|
-
function
|
|
2258
|
+
function Gp(n, e, t) {
|
|
2259
2259
|
return { line: n, column: e, offset: t };
|
|
2260
2260
|
}
|
|
2261
2261
|
function Pi(n, e, t) {
|
|
2262
2262
|
return { start: n, end: e };
|
|
2263
2263
|
}
|
|
2264
|
-
const
|
|
2264
|
+
const Bp = /\{([0-9a-zA-Z]+)\}/g;
|
|
2265
2265
|
function Df(n, ...e) {
|
|
2266
|
-
return e.length === 1 && Hp(e[0]) && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), n.replace(
|
|
2266
|
+
return e.length === 1 && Hp(e[0]) && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), n.replace(Bp, (t, s) => e.hasOwnProperty(s) ? e[s] : "");
|
|
2267
2267
|
}
|
|
2268
2268
|
const Nf = Object.assign, Cc = (n) => typeof n == "string", Hp = (n) => n !== null && typeof n == "object";
|
|
2269
2269
|
function Uf(n, e = "") {
|
|
@@ -2374,7 +2374,7 @@ function _p(n) {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
const Fn = void 0, $p = ".", bc = "'", ev = "tokenizer";
|
|
2376
2376
|
function tv(n, e = {}) {
|
|
2377
|
-
const t = e.location !== !1, s = _p(n), r = () => s.index(), i = () =>
|
|
2377
|
+
const t = e.location !== !1, s = _p(n), r = () => s.index(), i = () => Gp(s.line(), s.column(), s.index()), o = i(), a = r(), l = {
|
|
2378
2378
|
currentType: 14,
|
|
2379
2379
|
offset: a,
|
|
2380
2380
|
startLoc: o,
|
|
@@ -2387,20 +2387,20 @@ function tv(n, e = {}) {
|
|
|
2387
2387
|
inLinked: !1,
|
|
2388
2388
|
text: ""
|
|
2389
2389
|
}, c = () => l, { onError: u } = e;
|
|
2390
|
-
function d(I, L,
|
|
2390
|
+
function d(I, L, B, ...ie) {
|
|
2391
2391
|
const Xe = c();
|
|
2392
|
-
if (L.column +=
|
|
2393
|
-
const
|
|
2392
|
+
if (L.column += B, L.offset += B, u) {
|
|
2393
|
+
const Be = t ? Pi(Xe.startLoc, L) : null, De = _s(I, Be, {
|
|
2394
2394
|
domain: ev,
|
|
2395
2395
|
args: ie
|
|
2396
2396
|
});
|
|
2397
2397
|
u(De);
|
|
2398
2398
|
}
|
|
2399
2399
|
}
|
|
2400
|
-
function f(I, L,
|
|
2400
|
+
function f(I, L, B) {
|
|
2401
2401
|
I.endLoc = i(), I.currentType = L;
|
|
2402
2402
|
const ie = { type: L };
|
|
2403
|
-
return t && (ie.loc = Pi(I.startLoc, I.endLoc)),
|
|
2403
|
+
return t && (ie.loc = Pi(I.startLoc, I.endLoc)), B != null && (ie.value = B), ie;
|
|
2404
2404
|
}
|
|
2405
2405
|
const h = (I) => f(
|
|
2406
2406
|
I,
|
|
@@ -2435,60 +2435,60 @@ function tv(n, e = {}) {
|
|
|
2435
2435
|
return L >= 48 && L <= 57;
|
|
2436
2436
|
}
|
|
2437
2437
|
function v(I, L) {
|
|
2438
|
-
const { currentType:
|
|
2439
|
-
if (
|
|
2438
|
+
const { currentType: B } = L;
|
|
2439
|
+
if (B !== 2)
|
|
2440
2440
|
return !1;
|
|
2441
2441
|
g(I);
|
|
2442
2442
|
const ie = y(I.currentPeek());
|
|
2443
2443
|
return I.resetPeek(), ie;
|
|
2444
2444
|
}
|
|
2445
2445
|
function x(I, L) {
|
|
2446
|
-
const { currentType:
|
|
2447
|
-
if (
|
|
2446
|
+
const { currentType: B } = L;
|
|
2447
|
+
if (B !== 2)
|
|
2448
2448
|
return !1;
|
|
2449
2449
|
g(I);
|
|
2450
2450
|
const ie = I.currentPeek() === "-" ? I.peek() : I.currentPeek(), Xe = E(ie);
|
|
2451
2451
|
return I.resetPeek(), Xe;
|
|
2452
2452
|
}
|
|
2453
2453
|
function S(I, L) {
|
|
2454
|
-
const { currentType:
|
|
2455
|
-
if (
|
|
2454
|
+
const { currentType: B } = L;
|
|
2455
|
+
if (B !== 2)
|
|
2456
2456
|
return !1;
|
|
2457
2457
|
g(I);
|
|
2458
2458
|
const ie = I.currentPeek() === bc;
|
|
2459
2459
|
return I.resetPeek(), ie;
|
|
2460
2460
|
}
|
|
2461
2461
|
function T(I, L) {
|
|
2462
|
-
const { currentType:
|
|
2463
|
-
if (
|
|
2462
|
+
const { currentType: B } = L;
|
|
2463
|
+
if (B !== 8)
|
|
2464
2464
|
return !1;
|
|
2465
2465
|
g(I);
|
|
2466
2466
|
const ie = I.currentPeek() === ".";
|
|
2467
2467
|
return I.resetPeek(), ie;
|
|
2468
2468
|
}
|
|
2469
2469
|
function R(I, L) {
|
|
2470
|
-
const { currentType:
|
|
2471
|
-
if (
|
|
2470
|
+
const { currentType: B } = L;
|
|
2471
|
+
if (B !== 9)
|
|
2472
2472
|
return !1;
|
|
2473
2473
|
g(I);
|
|
2474
2474
|
const ie = y(I.currentPeek());
|
|
2475
2475
|
return I.resetPeek(), ie;
|
|
2476
2476
|
}
|
|
2477
2477
|
function C(I, L) {
|
|
2478
|
-
const { currentType:
|
|
2479
|
-
if (!(
|
|
2478
|
+
const { currentType: B } = L;
|
|
2479
|
+
if (!(B === 8 || B === 12))
|
|
2480
2480
|
return !1;
|
|
2481
2481
|
g(I);
|
|
2482
2482
|
const ie = I.currentPeek() === ":";
|
|
2483
2483
|
return I.resetPeek(), ie;
|
|
2484
2484
|
}
|
|
2485
2485
|
function b(I, L) {
|
|
2486
|
-
const { currentType:
|
|
2487
|
-
if (
|
|
2486
|
+
const { currentType: B } = L;
|
|
2487
|
+
if (B !== 10)
|
|
2488
2488
|
return !1;
|
|
2489
2489
|
const ie = () => {
|
|
2490
|
-
const
|
|
2491
|
-
return
|
|
2490
|
+
const Be = I.currentPeek();
|
|
2491
|
+
return Be === "{" ? y(I.peek()) : Be === "@" || Be === "%" || Be === "|" || Be === ":" || Be === "." || Be === An || !Be ? !1 : Be === yt ? (I.peek(), ie()) : k(I, !1);
|
|
2492
2492
|
}, Xe = ie();
|
|
2493
2493
|
return I.resetPeek(), Xe;
|
|
2494
2494
|
}
|
|
@@ -2498,22 +2498,22 @@ function tv(n, e = {}) {
|
|
|
2498
2498
|
return I.resetPeek(), L;
|
|
2499
2499
|
}
|
|
2500
2500
|
function F(I) {
|
|
2501
|
-
const L = g(I),
|
|
2501
|
+
const L = g(I), B = I.currentPeek() === "%" && I.peek() === "{";
|
|
2502
2502
|
return I.resetPeek(), {
|
|
2503
|
-
isModulo:
|
|
2503
|
+
isModulo: B,
|
|
2504
2504
|
hasSpace: L.length > 0
|
|
2505
2505
|
};
|
|
2506
2506
|
}
|
|
2507
2507
|
function k(I, L = !0) {
|
|
2508
|
-
const
|
|
2508
|
+
const B = (Xe = !1, Be = "", De = !1) => {
|
|
2509
2509
|
const U = I.currentPeek();
|
|
2510
|
-
return U === "{" ?
|
|
2511
|
-
}, ie =
|
|
2510
|
+
return U === "{" ? Be === "%" ? !1 : Xe : U === "@" || !U ? Be === "%" ? !0 : Xe : U === "%" ? (I.peek(), B(Xe, "%", !0)) : U === "|" ? Be === "%" || De ? !0 : !(Be === An || Be === yt) : U === An ? (I.peek(), B(!0, An, De)) : U === yt ? (I.peek(), B(!0, yt, De)) : !0;
|
|
2511
|
+
}, ie = B();
|
|
2512
2512
|
return L && I.resetPeek(), ie;
|
|
2513
2513
|
}
|
|
2514
2514
|
function V(I, L) {
|
|
2515
|
-
const
|
|
2516
|
-
return
|
|
2515
|
+
const B = I.currentChar();
|
|
2516
|
+
return B === Fn ? Fn : L(B) ? (I.next(), B) : null;
|
|
2517
2517
|
}
|
|
2518
2518
|
function $(I) {
|
|
2519
2519
|
const L = I.charCodeAt(0);
|
|
@@ -2555,46 +2555,46 @@ function tv(n, e = {}) {
|
|
|
2555
2555
|
return V(I, K);
|
|
2556
2556
|
}
|
|
2557
2557
|
function ae(I) {
|
|
2558
|
-
let L = "",
|
|
2558
|
+
let L = "", B = "";
|
|
2559
2559
|
for (; L = q(I); )
|
|
2560
|
-
|
|
2561
|
-
return
|
|
2560
|
+
B += L;
|
|
2561
|
+
return B;
|
|
2562
2562
|
}
|
|
2563
2563
|
function Ae(I) {
|
|
2564
2564
|
p(I);
|
|
2565
2565
|
const L = I.currentChar();
|
|
2566
2566
|
return L !== "%" && d(ue.EXPECTED_TOKEN, i(), 0, L), I.next(), "%";
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2568
|
+
function Ge(I) {
|
|
2569
2569
|
let L = "";
|
|
2570
2570
|
for (; ; ) {
|
|
2571
|
-
const
|
|
2572
|
-
if (
|
|
2571
|
+
const B = I.currentChar();
|
|
2572
|
+
if (B === "{" || B === "}" || B === "@" || B === "|" || !B)
|
|
2573
2573
|
break;
|
|
2574
|
-
if (
|
|
2574
|
+
if (B === "%")
|
|
2575
2575
|
if (k(I))
|
|
2576
|
-
L +=
|
|
2576
|
+
L += B, I.next();
|
|
2577
2577
|
else
|
|
2578
2578
|
break;
|
|
2579
|
-
else if (
|
|
2579
|
+
else if (B === An || B === yt)
|
|
2580
2580
|
if (k(I))
|
|
2581
|
-
L +=
|
|
2581
|
+
L += B, I.next();
|
|
2582
2582
|
else {
|
|
2583
2583
|
if (w(I))
|
|
2584
2584
|
break;
|
|
2585
|
-
L +=
|
|
2585
|
+
L += B, I.next();
|
|
2586
2586
|
}
|
|
2587
2587
|
else
|
|
2588
|
-
L +=
|
|
2588
|
+
L += B, I.next();
|
|
2589
2589
|
}
|
|
2590
2590
|
return L;
|
|
2591
2591
|
}
|
|
2592
2592
|
function Ke(I) {
|
|
2593
2593
|
p(I);
|
|
2594
|
-
let L = "",
|
|
2594
|
+
let L = "", B = "";
|
|
2595
2595
|
for (; L = Y(I); )
|
|
2596
|
-
|
|
2597
|
-
return I.currentChar() === Fn && d(ue.UNTERMINATED_CLOSING_BRACE, i(), 0),
|
|
2596
|
+
B += L;
|
|
2597
|
+
return I.currentChar() === Fn && d(ue.UNTERMINATED_CLOSING_BRACE, i(), 0), B;
|
|
2598
2598
|
}
|
|
2599
2599
|
function Qe(I) {
|
|
2600
2600
|
p(I);
|
|
@@ -2606,11 +2606,11 @@ function tv(n, e = {}) {
|
|
|
2606
2606
|
}
|
|
2607
2607
|
function sn(I) {
|
|
2608
2608
|
p(I), m(I, "'");
|
|
2609
|
-
let L = "",
|
|
2609
|
+
let L = "", B = "";
|
|
2610
2610
|
for (; L = V(I, at); )
|
|
2611
|
-
L === "\\" ?
|
|
2611
|
+
L === "\\" ? B += En(I) : B += L;
|
|
2612
2612
|
const ie = I.currentChar();
|
|
2613
|
-
return ie === yt || ie === Fn ? (d(ue.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), ie === yt && (I.next(), m(I, "'")),
|
|
2613
|
+
return ie === yt || ie === Fn ? (d(ue.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), ie === yt && (I.next(), m(I, "'")), B) : (m(I, "'"), B);
|
|
2614
2614
|
}
|
|
2615
2615
|
function En(I) {
|
|
2616
2616
|
const L = I.currentChar();
|
|
@@ -2626,16 +2626,16 @@ function tv(n, e = {}) {
|
|
|
2626
2626
|
return d(ue.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, L), "";
|
|
2627
2627
|
}
|
|
2628
2628
|
}
|
|
2629
|
-
function xs(I, L,
|
|
2629
|
+
function xs(I, L, B) {
|
|
2630
2630
|
m(I, L);
|
|
2631
2631
|
let ie = "";
|
|
2632
|
-
for (let Xe = 0; Xe <
|
|
2633
|
-
const
|
|
2634
|
-
if (!
|
|
2632
|
+
for (let Xe = 0; Xe < B; Xe++) {
|
|
2633
|
+
const Be = pe(I);
|
|
2634
|
+
if (!Be) {
|
|
2635
2635
|
d(ue.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${L}${ie}${I.currentChar()}`);
|
|
2636
2636
|
break;
|
|
2637
2637
|
}
|
|
2638
|
-
ie +=
|
|
2638
|
+
ie += Be;
|
|
2639
2639
|
}
|
|
2640
2640
|
return `\\${L}${ie}`;
|
|
2641
2641
|
}
|
|
@@ -2644,21 +2644,21 @@ function tv(n, e = {}) {
|
|
|
2644
2644
|
}
|
|
2645
2645
|
function or(I) {
|
|
2646
2646
|
p(I);
|
|
2647
|
-
let L = "",
|
|
2647
|
+
let L = "", B = "";
|
|
2648
2648
|
for (; L = V(I, ir); )
|
|
2649
|
-
|
|
2650
|
-
return
|
|
2649
|
+
B += L;
|
|
2650
|
+
return B;
|
|
2651
2651
|
}
|
|
2652
2652
|
function ar(I) {
|
|
2653
|
-
let L = "",
|
|
2653
|
+
let L = "", B = "";
|
|
2654
2654
|
for (; L = ee(I); )
|
|
2655
|
-
|
|
2656
|
-
return
|
|
2655
|
+
B += L;
|
|
2656
|
+
return B;
|
|
2657
2657
|
}
|
|
2658
2658
|
function Q(I) {
|
|
2659
|
-
const L = (
|
|
2659
|
+
const L = (B) => {
|
|
2660
2660
|
const ie = I.currentChar();
|
|
2661
|
-
return ie === "{" || ie === "%" || ie === "@" || ie === "|" || ie === "(" || ie === ")" || !ie || ie === An ?
|
|
2661
|
+
return ie === "{" || ie === "%" || ie === "@" || ie === "|" || ie === "(" || ie === ")" || !ie || ie === An ? B : (B += ie, I.next(), L(B));
|
|
2662
2662
|
};
|
|
2663
2663
|
return L("");
|
|
2664
2664
|
}
|
|
@@ -2672,48 +2672,48 @@ function tv(n, e = {}) {
|
|
|
2672
2672
|
return p(I), L;
|
|
2673
2673
|
}
|
|
2674
2674
|
function lr(I, L) {
|
|
2675
|
-
let
|
|
2675
|
+
let B = null;
|
|
2676
2676
|
switch (I.currentChar()) {
|
|
2677
2677
|
case "{":
|
|
2678
|
-
return L.braceNest >= 1 && d(ue.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), I.next(),
|
|
2678
|
+
return L.braceNest >= 1 && d(ue.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), I.next(), B = f(
|
|
2679
2679
|
L,
|
|
2680
2680
|
2,
|
|
2681
2681
|
"{"
|
|
2682
2682
|
/* TokenChars.BraceLeft */
|
|
2683
|
-
), p(I), L.braceNest++,
|
|
2683
|
+
), p(I), L.braceNest++, B;
|
|
2684
2684
|
case "}":
|
|
2685
|
-
return L.braceNest > 0 && L.currentType === 2 && d(ue.EMPTY_PLACEHOLDER, i(), 0), I.next(),
|
|
2685
|
+
return L.braceNest > 0 && L.currentType === 2 && d(ue.EMPTY_PLACEHOLDER, i(), 0), I.next(), B = f(
|
|
2686
2686
|
L,
|
|
2687
2687
|
3,
|
|
2688
2688
|
"}"
|
|
2689
2689
|
/* TokenChars.BraceRight */
|
|
2690
|
-
), L.braceNest--, L.braceNest > 0 && p(I), L.inLinked && L.braceNest === 0 && (L.inLinked = !1),
|
|
2690
|
+
), L.braceNest--, L.braceNest > 0 && p(I), L.inLinked && L.braceNest === 0 && (L.inLinked = !1), B;
|
|
2691
2691
|
case "@":
|
|
2692
|
-
return L.braceNest > 0 && d(ue.UNTERMINATED_CLOSING_BRACE, i(), 0),
|
|
2692
|
+
return L.braceNest > 0 && d(ue.UNTERMINATED_CLOSING_BRACE, i(), 0), B = Zn(I, L) || h(L), L.braceNest = 0, B;
|
|
2693
2693
|
default: {
|
|
2694
|
-
let Xe = !0,
|
|
2694
|
+
let Xe = !0, Be = !0, De = !0;
|
|
2695
2695
|
if (w(I))
|
|
2696
|
-
return L.braceNest > 0 && d(ue.UNTERMINATED_CLOSING_BRACE, i(), 0),
|
|
2696
|
+
return L.braceNest > 0 && d(ue.UNTERMINATED_CLOSING_BRACE, i(), 0), B = f(L, 1, Fe(I)), L.braceNest = 0, L.inLinked = !1, B;
|
|
2697
2697
|
if (L.braceNest > 0 && (L.currentType === 5 || L.currentType === 6 || L.currentType === 7))
|
|
2698
2698
|
return d(ue.UNTERMINATED_CLOSING_BRACE, i(), 0), L.braceNest = 0, cr(I, L);
|
|
2699
2699
|
if (Xe = v(I, L))
|
|
2700
|
-
return
|
|
2701
|
-
if (
|
|
2702
|
-
return
|
|
2700
|
+
return B = f(L, 5, Ke(I)), p(I), B;
|
|
2701
|
+
if (Be = x(I, L))
|
|
2702
|
+
return B = f(L, 6, Qe(I)), p(I), B;
|
|
2703
2703
|
if (De = S(I, L))
|
|
2704
|
-
return
|
|
2705
|
-
if (!Xe && !
|
|
2706
|
-
return
|
|
2704
|
+
return B = f(L, 7, sn(I)), p(I), B;
|
|
2705
|
+
if (!Xe && !Be && !De)
|
|
2706
|
+
return B = f(L, 13, or(I)), d(ue.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, B.value), p(I), B;
|
|
2707
2707
|
break;
|
|
2708
2708
|
}
|
|
2709
2709
|
}
|
|
2710
|
-
return
|
|
2710
|
+
return B;
|
|
2711
2711
|
}
|
|
2712
2712
|
function Zn(I, L) {
|
|
2713
|
-
const { currentType:
|
|
2713
|
+
const { currentType: B } = L;
|
|
2714
2714
|
let ie = null;
|
|
2715
2715
|
const Xe = I.currentChar();
|
|
2716
|
-
switch ((
|
|
2716
|
+
switch ((B === 8 || B === 9 || B === 12 || B === 10) && (Xe === yt || Xe === An) && d(ue.INVALID_LINKED_FORMAT, i(), 0), Xe) {
|
|
2717
2717
|
case "@":
|
|
2718
2718
|
return I.next(), ie = f(
|
|
2719
2719
|
L,
|
|
@@ -2736,11 +2736,11 @@ function tv(n, e = {}) {
|
|
|
2736
2736
|
/* TokenChars.LinkedDelimiter */
|
|
2737
2737
|
);
|
|
2738
2738
|
default:
|
|
2739
|
-
return w(I) ? (ie = f(L, 1, Fe(I)), L.braceNest = 0, L.inLinked = !1, ie) : T(I, L) || C(I, L) ? (p(I), Zn(I, L)) : R(I, L) ? (p(I), f(L, 12, ar(I))) : b(I, L) ? (p(I), Xe === "{" ? lr(I, L) || ie : f(L, 11, Q(I))) : (
|
|
2739
|
+
return w(I) ? (ie = f(L, 1, Fe(I)), L.braceNest = 0, L.inLinked = !1, ie) : T(I, L) || C(I, L) ? (p(I), Zn(I, L)) : R(I, L) ? (p(I), f(L, 12, ar(I))) : b(I, L) ? (p(I), Xe === "{" ? lr(I, L) || ie : f(L, 11, Q(I))) : (B === 8 && d(ue.INVALID_LINKED_FORMAT, i(), 0), L.braceNest = 0, L.inLinked = !1, cr(I, L));
|
|
2740
2740
|
}
|
|
2741
2741
|
}
|
|
2742
2742
|
function cr(I, L) {
|
|
2743
|
-
let
|
|
2743
|
+
let B = {
|
|
2744
2744
|
type: 14
|
|
2745
2745
|
/* TokenTypes.EOF */
|
|
2746
2746
|
};
|
|
@@ -2762,20 +2762,20 @@ function tv(n, e = {}) {
|
|
|
2762
2762
|
return Zn(I, L) || h(L);
|
|
2763
2763
|
default: {
|
|
2764
2764
|
if (w(I))
|
|
2765
|
-
return
|
|
2766
|
-
const { isModulo: Xe, hasSpace:
|
|
2765
|
+
return B = f(L, 1, Fe(I)), L.braceNest = 0, L.inLinked = !1, B;
|
|
2766
|
+
const { isModulo: Xe, hasSpace: Be } = F(I);
|
|
2767
2767
|
if (Xe)
|
|
2768
|
-
return
|
|
2768
|
+
return Be ? f(L, 0, Ge(I)) : f(L, 4, Ae(I));
|
|
2769
2769
|
if (k(I))
|
|
2770
|
-
return f(L, 0,
|
|
2770
|
+
return f(L, 0, Ge(I));
|
|
2771
2771
|
break;
|
|
2772
2772
|
}
|
|
2773
2773
|
}
|
|
2774
|
-
return
|
|
2774
|
+
return B;
|
|
2775
2775
|
}
|
|
2776
2776
|
function Ro() {
|
|
2777
|
-
const { currentType: I, offset: L, startLoc:
|
|
2778
|
-
return l.lastType = I, l.lastOffset = L, l.lastStartLoc =
|
|
2777
|
+
const { currentType: I, offset: L, startLoc: B, endLoc: ie } = l;
|
|
2778
|
+
return l.lastType = I, l.lastOffset = L, l.lastStartLoc = B, l.lastEndLoc = ie, l.offset = r(), l.startLoc = i(), s.currentChar() === Fn ? f(
|
|
2779
2779
|
l,
|
|
2780
2780
|
14
|
|
2781
2781
|
/* TokenTypes.EOF */
|
|
@@ -2848,7 +2848,7 @@ function iv(n = {}) {
|
|
|
2848
2848
|
return x.type !== 12 ? (r(v, ue.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), C.value = "", a(C, T, R), {
|
|
2849
2849
|
nextConsumeToken: x,
|
|
2850
2850
|
node: C
|
|
2851
|
-
}) : (x.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0,
|
|
2851
|
+
}) : (x.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, Bt(x)), C.value = x.value || "", a(C, v.currentOffset(), v.currentPosition()), {
|
|
2852
2852
|
node: C
|
|
2853
2853
|
});
|
|
2854
2854
|
}
|
|
@@ -2863,18 +2863,18 @@ function iv(n = {}) {
|
|
|
2863
2863
|
const R = f(v);
|
|
2864
2864
|
S.modifier = R.node, T = R.nextConsumeToken || v.nextToken();
|
|
2865
2865
|
}
|
|
2866
|
-
switch (T.type !== 10 && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2866
|
+
switch (T.type !== 10 && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(T)), T = v.nextToken(), T.type === 2 && (T = v.nextToken()), T.type) {
|
|
2867
2867
|
case 11:
|
|
2868
|
-
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2868
|
+
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(T)), S.key = h(v, T.value || "");
|
|
2869
2869
|
break;
|
|
2870
2870
|
case 5:
|
|
2871
|
-
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2871
|
+
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(T)), S.key = u(v, T.value || "");
|
|
2872
2872
|
break;
|
|
2873
2873
|
case 6:
|
|
2874
|
-
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2874
|
+
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(T)), S.key = c(v, T.value || "");
|
|
2875
2875
|
break;
|
|
2876
2876
|
case 7:
|
|
2877
|
-
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2877
|
+
T.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(T)), S.key = d(v, T.value || "");
|
|
2878
2878
|
break;
|
|
2879
2879
|
default: {
|
|
2880
2880
|
r(v, ue.UNEXPECTED_EMPTY_LINKED_KEY, x.lastStartLoc, 0);
|
|
@@ -2897,19 +2897,19 @@ function iv(n = {}) {
|
|
|
2897
2897
|
const k = C || v.nextToken();
|
|
2898
2898
|
switch (C = null, k.type) {
|
|
2899
2899
|
case 0:
|
|
2900
|
-
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2900
|
+
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(k)), R.items.push(l(v, k.value || ""));
|
|
2901
2901
|
break;
|
|
2902
2902
|
case 6:
|
|
2903
|
-
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2903
|
+
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(k)), R.items.push(c(v, k.value || ""));
|
|
2904
2904
|
break;
|
|
2905
2905
|
case 4:
|
|
2906
2906
|
b = !0;
|
|
2907
2907
|
break;
|
|
2908
2908
|
case 5:
|
|
2909
|
-
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2909
|
+
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(k)), R.items.push(u(v, k.value || "", !!b)), b && (i(v, io.USE_MODULO_SYNTAX, x.lastStartLoc, 0, Bt(k)), b = null);
|
|
2910
2910
|
break;
|
|
2911
2911
|
case 7:
|
|
2912
|
-
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0,
|
|
2912
|
+
k.value == null && r(v, ue.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, Bt(k)), R.items.push(d(v, k.value || ""));
|
|
2913
2913
|
break;
|
|
2914
2914
|
case 8: {
|
|
2915
2915
|
const V = m(v);
|
|
@@ -2942,7 +2942,7 @@ function iv(n = {}) {
|
|
|
2942
2942
|
}
|
|
2943
2943
|
return { parse: E };
|
|
2944
2944
|
}
|
|
2945
|
-
function
|
|
2945
|
+
function Bt(n) {
|
|
2946
2946
|
if (n.type === 14)
|
|
2947
2947
|
return "EOF";
|
|
2948
2948
|
const e = (n.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -3628,9 +3628,9 @@ const Vf = ue.__EXTEND_POINT__, es = ro(Vf), ct = {
|
|
|
3628
3628
|
// 24
|
|
3629
3629
|
};
|
|
3630
3630
|
function cn(n) {
|
|
3631
|
-
return _s(n, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
3631
|
+
return _s(n, null, process.env.NODE_ENV !== "production" ? { messages: Gv } : void 0);
|
|
3632
3632
|
}
|
|
3633
|
-
const
|
|
3633
|
+
const Gv = {
|
|
3634
3634
|
[ct.INVALID_ARGUMENT]: "Invalid arguments",
|
|
3635
3635
|
[ct.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
3636
3636
|
[ct.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -3659,13 +3659,13 @@ function Pc(n) {
|
|
|
3659
3659
|
} else
|
|
3660
3660
|
throw cn(ct.NOT_SUPPORT_LOCALE_TYPE);
|
|
3661
3661
|
}
|
|
3662
|
-
function
|
|
3662
|
+
function Bv(n, e, t) {
|
|
3663
3663
|
return [.../* @__PURE__ */ new Set([
|
|
3664
3664
|
t,
|
|
3665
3665
|
...je(e) ? e : Le(e) ? Object.keys(e) : Z(e) ? [e] : [t]
|
|
3666
3666
|
])];
|
|
3667
3667
|
}
|
|
3668
|
-
function
|
|
3668
|
+
function Gf(n, e, t) {
|
|
3669
3669
|
const s = Z(t) ? t : Ks, r = n;
|
|
3670
3670
|
r.__localeChainCache || (r.__localeChainCache = /* @__PURE__ */ new Map());
|
|
3671
3671
|
let i = r.__localeChainCache.get(s);
|
|
@@ -3713,9 +3713,9 @@ function Kv() {
|
|
|
3713
3713
|
capitalize: (n, e) => e === "text" && Z(n) ? kc(n) : e === "vnode" && Le(n) && "__v_isVNode" in n ? kc(n.children) : n
|
|
3714
3714
|
};
|
|
3715
3715
|
}
|
|
3716
|
-
let
|
|
3716
|
+
let Bf;
|
|
3717
3717
|
function Mc(n) {
|
|
3718
|
-
|
|
3718
|
+
Bf = n;
|
|
3719
3719
|
}
|
|
3720
3720
|
let Hf;
|
|
3721
3721
|
function Xv(n) {
|
|
@@ -3735,9 +3735,9 @@ const Dc = (n) => {
|
|
|
3735
3735
|
}, Zv = () => Kf;
|
|
3736
3736
|
let Nc = 0;
|
|
3737
3737
|
function Jv(n = {}) {
|
|
3738
|
-
const e = Ue(n.onWarn) ? n.onWarn : it, t = Z(n.version) ? n.version : Wv, s = Z(n.locale) || Ue(n.locale) ? n.locale : Ks, r = Ue(s) ? Ks : s, i = je(n.fallbackLocale) || de(n.fallbackLocale) || Z(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : r, o = de(n.messages) ? n.messages : { [r]: {} }, a = de(n.datetimeFormats) ? n.datetimeFormats : { [r]: {} }, l = de(n.numberFormats) ? n.numberFormats : { [r]: {} }, c = ht({}, n.modifiers || {}, Kv()), u = n.pluralRules || {}, d = Ue(n.missing) ? n.missing : null, f = Ee(n.missingWarn) || qn(n.missingWarn) ? n.missingWarn : !0, h = Ee(n.fallbackWarn) || qn(n.fallbackWarn) ? n.fallbackWarn : !0, m = !!n.fallbackFormat, g = !!n.unresolving, p = Ue(n.postTranslation) ? n.postTranslation : null, y = de(n.processor) ? n.processor : null, E = Ee(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, v = !!n.escapeParameter, x = Ue(n.messageCompiler) ? n.messageCompiler :
|
|
3738
|
+
const e = Ue(n.onWarn) ? n.onWarn : it, t = Z(n.version) ? n.version : Wv, s = Z(n.locale) || Ue(n.locale) ? n.locale : Ks, r = Ue(s) ? Ks : s, i = je(n.fallbackLocale) || de(n.fallbackLocale) || Z(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : r, o = de(n.messages) ? n.messages : { [r]: {} }, a = de(n.datetimeFormats) ? n.datetimeFormats : { [r]: {} }, l = de(n.numberFormats) ? n.numberFormats : { [r]: {} }, c = ht({}, n.modifiers || {}, Kv()), u = n.pluralRules || {}, d = Ue(n.missing) ? n.missing : null, f = Ee(n.missingWarn) || qn(n.missingWarn) ? n.missingWarn : !0, h = Ee(n.fallbackWarn) || qn(n.fallbackWarn) ? n.fallbackWarn : !0, m = !!n.fallbackFormat, g = !!n.unresolving, p = Ue(n.postTranslation) ? n.postTranslation : null, y = de(n.processor) ? n.processor : null, E = Ee(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, v = !!n.escapeParameter, x = Ue(n.messageCompiler) ? n.messageCompiler : Bf;
|
|
3739
3739
|
process.env.NODE_ENV !== "production" && Ue(n.messageCompiler) && Mf(ms(Et.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
3740
|
-
const S = Ue(n.messageResolver) ? n.messageResolver : Hf || Cv, T = Ue(n.localeFallbacker) ? n.localeFallbacker : jf ||
|
|
3740
|
+
const S = Ue(n.messageResolver) ? n.messageResolver : Hf || Cv, T = Ue(n.localeFallbacker) ? n.localeFallbacker : jf || Bv, R = Le(n.fallbackContext) ? n.fallbackContext : void 0, C = n, b = Le(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), w = Le(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), F = Le(C.__meta) ? C.__meta : {};
|
|
3741
3741
|
Nc++;
|
|
3742
3742
|
const k = {
|
|
3743
3743
|
version: t,
|
|
@@ -4100,11 +4100,11 @@ function ay(n, e, t, s) {
|
|
|
4100
4100
|
};
|
|
4101
4101
|
return n.processor && (f.processor = n.processor), s.list && (f.list = s.list), s.named && (f.named = s.named), rt(s.plural) && (f.pluralIndex = s.plural), f;
|
|
4102
4102
|
}
|
|
4103
|
-
const
|
|
4104
|
-
dateTimeFormat:
|
|
4105
|
-
numberFormat:
|
|
4103
|
+
const Gc = typeof Intl < "u", eh = {
|
|
4104
|
+
dateTimeFormat: Gc && typeof Intl.DateTimeFormat < "u",
|
|
4105
|
+
numberFormat: Gc && typeof Intl.NumberFormat < "u"
|
|
4106
4106
|
};
|
|
4107
|
-
function
|
|
4107
|
+
function Bc(n, ...e) {
|
|
4108
4108
|
const { datetimeFormats: t, unresolving: s, fallbackLocale: r, onWarn: i, localeFallbacker: o } = n, { __datetimeFormatters: a } = n;
|
|
4109
4109
|
if (process.env.NODE_ENV !== "production" && !eh.dateTimeFormat)
|
|
4110
4110
|
return i(ms(Et.CANNOT_FORMAT_DATE)), Fi;
|
|
@@ -4658,14 +4658,14 @@ function vl(n = {}, e) {
|
|
|
4658
4658
|
function Ae(...U) {
|
|
4659
4659
|
return ae((X) => Reflect.apply(Vc, null, [X, ...U]), () => Aa(...U), "translate", (X) => Reflect.apply(X.t, X, [...U]), (X) => X, (X) => Z(X));
|
|
4660
4660
|
}
|
|
4661
|
-
function
|
|
4661
|
+
function Ge(...U) {
|
|
4662
4662
|
const [X, ke, _e] = U;
|
|
4663
4663
|
if (_e && !Le(_e))
|
|
4664
4664
|
throw ot(Te.INVALID_ARGUMENT);
|
|
4665
4665
|
return Ae(X, ke, ht({ resolvedMessage: !0 }, _e || {}));
|
|
4666
4666
|
}
|
|
4667
4667
|
function Ke(...U) {
|
|
4668
|
-
return ae((X) => Reflect.apply(
|
|
4668
|
+
return ae((X) => Reflect.apply(Bc, null, [X, ...U]), () => xa(...U), "datetime format", (X) => Reflect.apply(X.d, X, [...U]), () => Fi, (X) => Z(X));
|
|
4669
4669
|
}
|
|
4670
4670
|
function Qe(...U) {
|
|
4671
4671
|
return ae((X) => Reflect.apply(jc, null, [X, ...U]), () => Sa(...U), "number format", (X) => Reflect.apply(X.n, X, [...U]), () => Fi, (X) => Z(X));
|
|
@@ -4711,7 +4711,7 @@ function vl(n = {}, e) {
|
|
|
4711
4711
|
}
|
|
4712
4712
|
function or(...U) {
|
|
4713
4713
|
return ae(
|
|
4714
|
-
(X) => Reflect.apply(
|
|
4714
|
+
(X) => Reflect.apply(Bc, null, [X, ...U]),
|
|
4715
4715
|
() => xa(...U),
|
|
4716
4716
|
"datetime format",
|
|
4717
4717
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -4733,7 +4733,7 @@ function vl(n = {}, e) {
|
|
|
4733
4733
|
}
|
|
4734
4734
|
function Fe(U) {
|
|
4735
4735
|
let X = null;
|
|
4736
|
-
const ke =
|
|
4736
|
+
const ke = Gf(b, u.value, c.value);
|
|
4737
4737
|
for (let _e = 0; _e < ke.length; _e++) {
|
|
4738
4738
|
const Pn = d.value[ke[_e]] || {}, Wr = b.messageResolver(Pn, U);
|
|
4739
4739
|
if (Wr != null) {
|
|
@@ -4773,7 +4773,7 @@ function vl(n = {}, e) {
|
|
|
4773
4773
|
function L(U, X) {
|
|
4774
4774
|
f.value[U] = X, b.datetimeFormats = f.value, Hc(b, U, X);
|
|
4775
4775
|
}
|
|
4776
|
-
function
|
|
4776
|
+
function B(U, X) {
|
|
4777
4777
|
f.value[U] = ht(f.value[U] || {}, X), b.datetimeFormats = f.value, Hc(b, U, X);
|
|
4778
4778
|
}
|
|
4779
4779
|
function ie(U) {
|
|
@@ -4782,7 +4782,7 @@ function vl(n = {}, e) {
|
|
|
4782
4782
|
function Xe(U, X) {
|
|
4783
4783
|
h.value[U] = X, b.numberFormats = h.value, Wc(b, U, X);
|
|
4784
4784
|
}
|
|
4785
|
-
function
|
|
4785
|
+
function Be(U, X) {
|
|
4786
4786
|
h.value[U] = ht(h.value[U] || {}, X), b.numberFormats = h.value, Wc(b, U, X);
|
|
4787
4787
|
}
|
|
4788
4788
|
Yc++, t && $t && (xt(t.locale, (U) => {
|
|
@@ -4859,7 +4859,7 @@ function vl(n = {}, e) {
|
|
|
4859
4859
|
setMissingHandler: K,
|
|
4860
4860
|
[oh]: ar
|
|
4861
4861
|
};
|
|
4862
|
-
return De.datetimeFormats = ee, De.numberFormats = J, De.rt =
|
|
4862
|
+
return De.datetimeFormats = ee, De.numberFormats = J, De.rt = Ge, De.te = Q, De.tm = lr, De.d = Ke, De.n = Qe, De.getDateTimeFormat = I, De.setDateTimeFormat = L, De.mergeDateTimeFormat = B, De.getNumberFormat = ie, De.setNumberFormat = Xe, De.mergeNumberFormat = Be, De[ah] = s, De[Ta] = xs, De[Ca] = or, De[ba] = ir, process.env.NODE_ENV !== "production" && (De[gs] = (U) => {
|
|
4863
4863
|
b.__v_emitter = U;
|
|
4864
4864
|
}, De[wr] = () => {
|
|
4865
4865
|
b.__v_emitter = void 0;
|
|
@@ -5358,14 +5358,14 @@ async function ky(n, e) {
|
|
|
5358
5358
|
const i = /* @__PURE__ */ new Map();
|
|
5359
5359
|
r.on.getInspectorState(async (o) => {
|
|
5360
5360
|
if (o.app === n && o.inspectorId === "vue-i18n-resource-inspector")
|
|
5361
|
-
if (r.unhighlightElement(),
|
|
5361
|
+
if (r.unhighlightElement(), By(o, e), o.nodeId === "global") {
|
|
5362
5362
|
if (!i.has(o.app)) {
|
|
5363
5363
|
const [a] = await r.getComponentInstances(o.app);
|
|
5364
5364
|
i.set(o.app, a);
|
|
5365
5365
|
}
|
|
5366
5366
|
r.highlightElement(i.get(o.app));
|
|
5367
5367
|
} else {
|
|
5368
|
-
const a =
|
|
5368
|
+
const a = Gy(o.nodeId, e);
|
|
5369
5369
|
a && r.highlightElement(a);
|
|
5370
5370
|
}
|
|
5371
5371
|
}), r.on.editInspectorState((o) => {
|
|
@@ -5481,7 +5481,7 @@ function Vy(n, e) {
|
|
|
5481
5481
|
});
|
|
5482
5482
|
}
|
|
5483
5483
|
}
|
|
5484
|
-
function
|
|
5484
|
+
function Gy(n, e) {
|
|
5485
5485
|
let t = null;
|
|
5486
5486
|
if (n !== "global") {
|
|
5487
5487
|
for (const [s, r] of e.__instances.entries())
|
|
@@ -5500,7 +5500,7 @@ function mh(n, e) {
|
|
|
5500
5500
|
return t ? e.mode === "composition" ? t : t.__composer : null;
|
|
5501
5501
|
}
|
|
5502
5502
|
}
|
|
5503
|
-
function
|
|
5503
|
+
function By(n, e) {
|
|
5504
5504
|
const t = mh(n.nodeId, e);
|
|
5505
5505
|
return t && (n.state = Hy(t)), null;
|
|
5506
5506
|
}
|
|
@@ -5863,7 +5863,7 @@ function e1(n, e, t, s = {}) {
|
|
|
5863
5863
|
function Ae(Q) {
|
|
5864
5864
|
return i.value ? i.value.getLocaleMessage(Q) : {};
|
|
5865
5865
|
}
|
|
5866
|
-
function
|
|
5866
|
+
function Ge(Q, Fe) {
|
|
5867
5867
|
i.value && (i.value.setLocaleMessage(Q, Fe), c.value[Q] = Fe);
|
|
5868
5868
|
}
|
|
5869
5869
|
function Ke(Q, Fe) {
|
|
@@ -5961,7 +5961,7 @@ function e1(n, e, t, s = {}) {
|
|
|
5961
5961
|
tm: pe,
|
|
5962
5962
|
te: ae,
|
|
5963
5963
|
getLocaleMessage: Ae,
|
|
5964
|
-
setLocaleMessage:
|
|
5964
|
+
setLocaleMessage: Ge,
|
|
5965
5965
|
mergeLocaleMessage: Ke,
|
|
5966
5966
|
getDateTimeFormat: Qe,
|
|
5967
5967
|
setDateTimeFormat: at,
|
|
@@ -6025,7 +6025,7 @@ function n1(n, e) {
|
|
|
6025
6025
|
vy();
|
|
6026
6026
|
__INTLIFY_JIT_COMPILATION__ ? Mc(ny) : Mc(ty);
|
|
6027
6027
|
Xv(bv);
|
|
6028
|
-
qv(
|
|
6028
|
+
qv(Gf);
|
|
6029
6029
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
6030
6030
|
const n = bn();
|
|
6031
6031
|
n.__INTLIFY__ = !0, Dv(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
@@ -6455,7 +6455,7 @@ const D1 = {
|
|
|
6455
6455
|
}, N1 = { class: "flex items-end" }, U1 = { class: "relative flex w-full" }, z1 = { class: "text-6xl font-extrabold italic" }, V1 = {
|
|
6456
6456
|
key: 0,
|
|
6457
6457
|
class: "text-3xl"
|
|
6458
|
-
},
|
|
6458
|
+
}, G1 = /* @__PURE__ */ z("br", null, null, -1), B1 = /* @__PURE__ */ fe({
|
|
6459
6459
|
__name: "SpashCarouselModes",
|
|
6460
6460
|
props: {
|
|
6461
6461
|
modelValue: {},
|
|
@@ -6506,7 +6506,7 @@ const D1 = {
|
|
|
6506
6506
|
z("h3", z1, Ie(m.title), 1),
|
|
6507
6507
|
m.key === H(o) ? (N(), W("p", V1, [
|
|
6508
6508
|
gt(Ie(m.descriptions[0]) + " ", 1),
|
|
6509
|
-
|
|
6509
|
+
G1,
|
|
6510
6510
|
gt(" " + Ie(m.descriptions[1]), 1)
|
|
6511
6511
|
])) : Ve("", !0)
|
|
6512
6512
|
], 2)
|
|
@@ -6930,21 +6930,21 @@ const FE = /* @__PURE__ */ we(IE, [["render", PE]]), kE = {}, ME = {
|
|
|
6930
6930
|
function UE(n, e) {
|
|
6931
6931
|
return N(), W("svg", ME, NE);
|
|
6932
6932
|
}
|
|
6933
|
-
const zE = /* @__PURE__ */ we(kE, [["render", UE]]), VE = {},
|
|
6933
|
+
const zE = /* @__PURE__ */ we(kE, [["render", UE]]), VE = {}, GE = {
|
|
6934
6934
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6935
6935
|
fill: "none",
|
|
6936
6936
|
viewBox: "0 0 24 24",
|
|
6937
6937
|
"stroke-width": "1.5",
|
|
6938
6938
|
stroke: "currentColor"
|
|
6939
|
-
},
|
|
6939
|
+
}, BE = /* @__PURE__ */ z("path", {
|
|
6940
6940
|
"stroke-linecap": "round",
|
|
6941
6941
|
"stroke-linejoin": "round",
|
|
6942
6942
|
d: "M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"
|
|
6943
6943
|
}, null, -1), HE = [
|
|
6944
|
-
|
|
6944
|
+
BE
|
|
6945
6945
|
];
|
|
6946
6946
|
function jE(n, e) {
|
|
6947
|
-
return N(), W("svg",
|
|
6947
|
+
return N(), W("svg", GE, HE);
|
|
6948
6948
|
}
|
|
6949
6949
|
const WE = /* @__PURE__ */ we(VE, [["render", jE]]), KE = {}, XE = {
|
|
6950
6950
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7076,7 +7076,7 @@ const MA = /* @__PURE__ */ we(wA, [["render", kA]]), DA = {}, NA = {
|
|
|
7076
7076
|
function VA(n, e) {
|
|
7077
7077
|
return N(), W("svg", NA, zA);
|
|
7078
7078
|
}
|
|
7079
|
-
const
|
|
7079
|
+
const GA = /* @__PURE__ */ we(DA, [["render", VA]]), BA = {}, HA = {
|
|
7080
7080
|
fill: "none",
|
|
7081
7081
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7082
7082
|
viewBox: "0 0 15 17"
|
|
@@ -7089,7 +7089,7 @@ const BA = /* @__PURE__ */ we(DA, [["render", VA]]), GA = {}, HA = {
|
|
|
7089
7089
|
function KA(n, e) {
|
|
7090
7090
|
return N(), W("svg", HA, WA);
|
|
7091
7091
|
}
|
|
7092
|
-
const XA = /* @__PURE__ */ we(
|
|
7092
|
+
const XA = /* @__PURE__ */ we(BA, [["render", KA]]), qA = {}, YA = {
|
|
7093
7093
|
fill: "none",
|
|
7094
7094
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7095
7095
|
viewBox: "0 0 15 17"
|
|
@@ -7208,10 +7208,10 @@ const Dx = /* @__PURE__ */ we(wx, [["render", Mx]]), Nx = {}, Ux = {
|
|
|
7208
7208
|
}, null, -1), Vx = [
|
|
7209
7209
|
zx
|
|
7210
7210
|
];
|
|
7211
|
-
function
|
|
7211
|
+
function Gx(n, e) {
|
|
7212
7212
|
return N(), W("svg", Ux, Vx);
|
|
7213
7213
|
}
|
|
7214
|
-
const
|
|
7214
|
+
const Bx = /* @__PURE__ */ we(Nx, [["render", Gx]]), Hx = {
|
|
7215
7215
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7216
7216
|
viewBox: "0 0 75 90",
|
|
7217
7217
|
fill: "none"
|
|
@@ -8001,7 +8001,7 @@ const Tl = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e
|
|
|
8001
8001
|
Th(n, e) && (e += 10);
|
|
8002
8002
|
}
|
|
8003
8003
|
return t;
|
|
8004
|
-
}, VS = (n) => n.type === "PRIV" ?
|
|
8004
|
+
}, VS = (n) => n.type === "PRIV" ? GS(n) : n.type[0] === "W" ? HS(n) : BS(n), GS = (n) => {
|
|
8005
8005
|
if (n.size < 2)
|
|
8006
8006
|
return;
|
|
8007
8007
|
const e = gn(n.data, !0), t = new Uint8Array(n.data.subarray(e.length + 1));
|
|
@@ -8010,7 +8010,7 @@ const Tl = (n, e) => e + 10 <= n.length && n[e] === 73 && n[e + 1] === 68 && n[e
|
|
|
8010
8010
|
info: e,
|
|
8011
8011
|
data: t.buffer
|
|
8012
8012
|
};
|
|
8013
|
-
},
|
|
8013
|
+
}, BS = (n) => {
|
|
8014
8014
|
if (n.size < 2)
|
|
8015
8015
|
return;
|
|
8016
8016
|
if (n.type === "TXXX") {
|
|
@@ -8465,7 +8465,7 @@ function eR(n) {
|
|
|
8465
8465
|
const s = t[t.length - 1];
|
|
8466
8466
|
return e.valid = cs(n, 0, s.byteOffset - 8), e.remainder = cs(n, s.byteOffset - 8), e;
|
|
8467
8467
|
}
|
|
8468
|
-
function
|
|
8468
|
+
function Gt(n, e) {
|
|
8469
8469
|
const t = new Uint8Array(n.length + e.length);
|
|
8470
8470
|
return t.set(n), t.set(e, n.length), t;
|
|
8471
8471
|
}
|
|
@@ -8500,7 +8500,7 @@ function du(n, e) {
|
|
|
8500
8500
|
let ae = 8;
|
|
8501
8501
|
F && (k = oe(C, ae), ae += 4), V && (ae += 4);
|
|
8502
8502
|
let Ae = k + c;
|
|
8503
|
-
for (let
|
|
8503
|
+
for (let Ge = 0; Ge < pe; Ge++) {
|
|
8504
8504
|
if ($ ? (ee = oe(C, ae), ae += 4) : ee = v, J ? (Y = oe(C, ae), ae += 4) : Y = S, re && (ae += 4), q && (b === 0 ? K = oe(C, ae) : K = wh(C, ae), ae += 4), e.type === Ne.VIDEO) {
|
|
8505
8505
|
let Ke = 0;
|
|
8506
8506
|
for (; Ke < Y; ) {
|
|
@@ -10260,7 +10260,7 @@ class qs {
|
|
|
10260
10260
|
function wu(n, e) {
|
|
10261
10261
|
return !e || !n ? !1 : n.indexOf(e) !== -1;
|
|
10262
10262
|
}
|
|
10263
|
-
function
|
|
10263
|
+
function Go(n, e) {
|
|
10264
10264
|
const t = e.startPTS;
|
|
10265
10265
|
if (te(t)) {
|
|
10266
10266
|
let s = 0, r;
|
|
@@ -10284,10 +10284,10 @@ function zh(n, e, t, s, r, i) {
|
|
|
10284
10284
|
let h;
|
|
10285
10285
|
const m = f - n.startSN, g = n.fragments;
|
|
10286
10286
|
for (g[m] = e, h = m; h > 0; h--)
|
|
10287
|
-
|
|
10287
|
+
Go(g[h], g[h - 1]);
|
|
10288
10288
|
for (h = m; h < g.length - 1; h++)
|
|
10289
|
-
|
|
10290
|
-
return n.fragmentHint &&
|
|
10289
|
+
Go(g[h], g[h + 1]);
|
|
10290
|
+
return n.fragmentHint && Go(g[g.length - 1], n.fragmentHint), n.PTSKnown = n.alignedSliding = !0, d;
|
|
10291
10291
|
}
|
|
10292
10292
|
function IR(n, e) {
|
|
10293
10293
|
let t = null;
|
|
@@ -10389,9 +10389,9 @@ function FR(n, e, t) {
|
|
|
10389
10389
|
}
|
|
10390
10390
|
function Ou(n, e, t) {
|
|
10391
10391
|
var s;
|
|
10392
|
-
return n != null && n.details ?
|
|
10392
|
+
return n != null && n.details ? Gh((s = n.details) == null ? void 0 : s.partList, e, t) : null;
|
|
10393
10393
|
}
|
|
10394
|
-
function
|
|
10394
|
+
function Gh(n, e, t) {
|
|
10395
10395
|
if (n)
|
|
10396
10396
|
for (let s = n.length; s--; ) {
|
|
10397
10397
|
const r = n[s];
|
|
@@ -10400,7 +10400,7 @@ function Bh(n, e, t) {
|
|
|
10400
10400
|
}
|
|
10401
10401
|
return null;
|
|
10402
10402
|
}
|
|
10403
|
-
function
|
|
10403
|
+
function Bh(n) {
|
|
10404
10404
|
n.forEach((e, t) => {
|
|
10405
10405
|
const {
|
|
10406
10406
|
details: s
|
|
@@ -10434,7 +10434,7 @@ function Fu(n) {
|
|
|
10434
10434
|
timeoutRetry: null
|
|
10435
10435
|
});
|
|
10436
10436
|
}
|
|
10437
|
-
function
|
|
10437
|
+
function Gi(n, e, t, s) {
|
|
10438
10438
|
if (!n)
|
|
10439
10439
|
return !1;
|
|
10440
10440
|
const r = s == null ? void 0 : s.code, i = e < n.maxNumRetry && (kR(r) || !!t);
|
|
@@ -10491,7 +10491,7 @@ function MR(n, e, t) {
|
|
|
10491
10491
|
}
|
|
10492
10492
|
return null;
|
|
10493
10493
|
}
|
|
10494
|
-
function
|
|
10494
|
+
function Bi(n, e, t = 0, s = 0) {
|
|
10495
10495
|
let r = null;
|
|
10496
10496
|
if (n) {
|
|
10497
10497
|
r = e[n.sn - e[0].sn + 1] || null;
|
|
@@ -10644,7 +10644,7 @@ class UR {
|
|
|
10644
10644
|
}
|
|
10645
10645
|
getPlaylistRetryOrSwitchAction(e, t) {
|
|
10646
10646
|
const s = this.hls, r = Pu(s.config.playlistLoadPolicy, e), i = this.playlistError++;
|
|
10647
|
-
if (
|
|
10647
|
+
if (Gi(r, i, Vi(e), e.response))
|
|
10648
10648
|
return {
|
|
10649
10649
|
action: ft.RetryRequest,
|
|
10650
10650
|
flags: Wt.None,
|
|
@@ -10659,7 +10659,7 @@ class UR {
|
|
|
10659
10659
|
fragLoadPolicy: i,
|
|
10660
10660
|
keyLoadPolicy: o
|
|
10661
10661
|
} = t.config, a = Pu(e.details.startsWith("key") ? o : i, e), l = t.levels.reduce((u, d) => u + d.fragmentError, 0);
|
|
10662
|
-
if (r && (e.details !== M.FRAG_GAP && r.fragmentError++,
|
|
10662
|
+
if (r && (e.details !== M.FRAG_GAP && r.fragmentError++, Gi(a, l, Vi(e), e.response)))
|
|
10663
10663
|
return {
|
|
10664
10664
|
action: ft.RetryRequest,
|
|
10665
10665
|
flags: Wt.None,
|
|
@@ -10702,7 +10702,7 @@ class UR {
|
|
|
10702
10702
|
if (c === M.FRAG_GAP && e.frag) {
|
|
10703
10703
|
const b = d[R].details;
|
|
10704
10704
|
if (b) {
|
|
10705
|
-
const w =
|
|
10705
|
+
const w = Bi(e.frag, b.fragments, e.frag.start);
|
|
10706
10706
|
if (w != null && w.gap)
|
|
10707
10707
|
continue;
|
|
10708
10708
|
}
|
|
@@ -10971,7 +10971,7 @@ function VR(n, e, t, s, r, i) {
|
|
|
10971
10971
|
}
|
|
10972
10972
|
return n.videoCodec !== void 0 && (n.width > 1920 && n.height > 1088 || n.height > 1920 && n.width > 1088 || n.frameRate > Math.max(s, 30) || n.videoRange !== "SDR" && n.videoRange !== t || n.bitrate > Math.max(r, 8e6)) || !!u && te(c) && Object.keys(u).some((d) => parseInt(d) > c);
|
|
10973
10973
|
}
|
|
10974
|
-
function
|
|
10974
|
+
function GR(n, e, t) {
|
|
10975
10975
|
const s = n.videoCodec, r = n.audioCodec;
|
|
10976
10976
|
if (!s || !r || !t)
|
|
10977
10977
|
return Promise.resolve(jh);
|
|
@@ -11006,7 +11006,7 @@ function BR(n, e, t) {
|
|
|
11006
11006
|
}
|
|
11007
11007
|
}));
|
|
11008
11008
|
}), Promise.all(a.map((l) => {
|
|
11009
|
-
const c =
|
|
11009
|
+
const c = BR(l);
|
|
11010
11010
|
return ku[c] || (ku[c] = t.decodingInfo(l));
|
|
11011
11011
|
})).then((l) => ({
|
|
11012
11012
|
supported: !l.some((c) => !c.supported),
|
|
@@ -11019,7 +11019,7 @@ function BR(n, e, t) {
|
|
|
11019
11019
|
error: l
|
|
11020
11020
|
}));
|
|
11021
11021
|
}
|
|
11022
|
-
function
|
|
11022
|
+
function BR(n) {
|
|
11023
11023
|
const {
|
|
11024
11024
|
audio: e,
|
|
11025
11025
|
video: t
|
|
@@ -11482,8 +11482,8 @@ class QR {
|
|
|
11482
11482
|
if (!J)
|
|
11483
11483
|
continue;
|
|
11484
11484
|
if (y.useMediaCapabilities && !J.supportedResult && !J.supportedPromise) {
|
|
11485
|
-
const
|
|
11486
|
-
typeof (
|
|
11485
|
+
const Ge = navigator.mediaCapabilities;
|
|
11486
|
+
typeof (Ge == null ? void 0 : Ge.decodingInfo) == "function" && VR(J, w, T, R, e, C) ? (J.supportedPromise = GR(J, w, Ge), J.supportedPromise.then((Ke) => {
|
|
11487
11487
|
if (!this.hls)
|
|
11488
11488
|
return;
|
|
11489
11489
|
J.supportedResult = Ke;
|
|
@@ -11507,8 +11507,8 @@ class QR {
|
|
|
11507
11507
|
// special case to support startLevel = -1 (bitrateTest) on live streams : in that case we should not exit loop so that findBestLevel will return -1
|
|
11508
11508
|
(ae <= k || !te(ae) || v && !this.bitrateTestDelay || ae < c)
|
|
11509
11509
|
) {
|
|
11510
|
-
const
|
|
11511
|
-
return ee !== p && (
|
|
11510
|
+
const Ge = this.forcedAutoLevel;
|
|
11511
|
+
return ee !== p && (Ge === -1 || Ge !== p) && (V.length && O.trace(`[abr] Skipped level(s) ${V.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${m[V[0]].codecs}" ${m[V[0]].videoRange}; not compatible with "${E.codecs}" ${T}`), O.info(`[abr] switch candidate:${d}->${ee} adjustedbw(${Math.round(K)})-bitrate=${Math.round(K - pe)} ttfb:${k.toFixed(1)} avgDuration:${q.toFixed(1)} maxFetchDuration:${c.toFixed(1)} fetchDuration:${ae.toFixed(1)} firstSelection:${x} codecSet:${S} videoRange:${T} hls.loadLevel:${p}`)), x && (this.firstSelection = ee), ee;
|
|
11512
11512
|
}
|
|
11513
11513
|
}
|
|
11514
11514
|
return -1;
|
|
@@ -12354,7 +12354,7 @@ class wl {
|
|
|
12354
12354
|
currentResult: i,
|
|
12355
12355
|
remainderData: o
|
|
12356
12356
|
} = this;
|
|
12357
|
-
this.logOnce("JS AES decrypt"), o && (e =
|
|
12357
|
+
this.logOnce("JS AES decrypt"), o && (e = Gt(o, e), this.remainderData = null);
|
|
12358
12358
|
const a = this.getValidChunk(e);
|
|
12359
12359
|
if (!a.length)
|
|
12360
12360
|
return null;
|
|
@@ -12392,7 +12392,7 @@ const cT = {
|
|
|
12392
12392
|
e += `[${n.start(s).toFixed(3)}-${n.end(s).toFixed(3)}]`;
|
|
12393
12393
|
return e;
|
|
12394
12394
|
}
|
|
12395
|
-
},
|
|
12395
|
+
}, G = {
|
|
12396
12396
|
STOPPED: "STOPPED",
|
|
12397
12397
|
IDLE: "IDLE",
|
|
12398
12398
|
KEY_LOADING: "KEY_LOADING",
|
|
@@ -12408,7 +12408,7 @@ const cT = {
|
|
|
12408
12408
|
};
|
|
12409
12409
|
class Ol extends ZR {
|
|
12410
12410
|
constructor(e, t, s, r, i) {
|
|
12411
|
-
super(), this.hls = void 0, this.fragPrevious = null, this.fragCurrent = null, this.fragmentTracker = void 0, this.transmuxer = null, this._state =
|
|
12411
|
+
super(), this.hls = void 0, this.fragPrevious = null, this.fragCurrent = null, this.fragmentTracker = void 0, this.transmuxer = null, this._state = G.STOPPED, this.playlistType = void 0, this.media = null, this.mediaBuffer = null, this.config = void 0, this.bitrateTest = !1, this.lastCurrentTime = 0, this.nextLoadPosition = 0, this.startPosition = 0, this.startTimeOffset = null, this.loadedmetadata = !1, this.retryDate = 0, this.levels = null, this.fragmentLoader = void 0, this.keyLoader = void 0, this.levelLastLoaded = null, this.startFragRequested = !1, this.decrypter = void 0, this.initPTS = [], this.onvseeking = null, this.onvended = null, this.logPrefix = "", this.log = void 0, this.warn = void 0, this.playlistType = i, this.logPrefix = r, this.log = O.log.bind(O, `${r}:`), this.warn = O.warn.bind(O, `${r}:`), this.hls = e, this.fragmentLoader = new sT(e.config), this.keyLoader = s, this.fragmentTracker = t, this.config = e.config, this.decrypter = new wl(e.config), e.on(A.MANIFEST_LOADED, this.onManifestLoaded, this);
|
|
12412
12412
|
}
|
|
12413
12413
|
doTick() {
|
|
12414
12414
|
this.onTickEnd();
|
|
@@ -12421,7 +12421,7 @@ class Ol extends ZR {
|
|
|
12421
12421
|
stopLoad() {
|
|
12422
12422
|
this.fragmentLoader.abort(), this.keyLoader.abort(this.playlistType);
|
|
12423
12423
|
const e = this.fragCurrent;
|
|
12424
|
-
e != null && e.loader && (e.abortRequests(), this.fragmentTracker.removeFragment(e)), this.resetTransmuxer(), this.fragCurrent = null, this.fragPrevious = null, this.clearInterval(), this.clearNextTick(), this.state =
|
|
12424
|
+
e != null && e.loader && (e.abortRequests(), this.fragmentTracker.removeFragment(e)), this.resetTransmuxer(), this.fragCurrent = null, this.fragPrevious = null, this.clearInterval(), this.clearNextTick(), this.state = G.STOPPED;
|
|
12425
12425
|
}
|
|
12426
12426
|
_streamEnded(e, t) {
|
|
12427
12427
|
if (t.live || e.nextStart || !e.end || !this.media)
|
|
@@ -12444,7 +12444,7 @@ class Ol extends ZR {
|
|
|
12444
12444
|
const s = this.media = this.mediaBuffer = t.media;
|
|
12445
12445
|
this.onvseeking = this.onMediaSeeking.bind(this), this.onvended = this.onMediaEnded.bind(this), s.addEventListener("seeking", this.onvseeking), s.addEventListener("ended", this.onvended);
|
|
12446
12446
|
const r = this.config;
|
|
12447
|
-
this.levels && r.autoStartLoad && this.state ===
|
|
12447
|
+
this.levels && r.autoStartLoad && this.state === G.STOPPED && this.startLoad(r.startPosition);
|
|
12448
12448
|
}
|
|
12449
12449
|
onMediaDetaching() {
|
|
12450
12450
|
const e = this.media;
|
|
@@ -12458,7 +12458,7 @@ class Ol extends ZR {
|
|
|
12458
12458
|
mediaBuffer: r,
|
|
12459
12459
|
state: i
|
|
12460
12460
|
} = this, o = s ? s.currentTime : 0, a = He.bufferInfo(r || s, o, e.maxBufferHole);
|
|
12461
|
-
if (this.log(`media seeking to ${te(o) ? o.toFixed(3) : o}, state: ${i}`), this.state ===
|
|
12461
|
+
if (this.log(`media seeking to ${te(o) ? o.toFixed(3) : o}, state: ${i}`), this.state === G.ENDED)
|
|
12462
12462
|
this.resetLoadingState();
|
|
12463
12463
|
else if (t) {
|
|
12464
12464
|
const l = e.maxFragLookUpTolerance, c = t.start - l, u = t.start + t.duration + l;
|
|
@@ -12479,7 +12479,7 @@ class Ol extends ZR {
|
|
|
12479
12479
|
this.hls.off(A.MANIFEST_LOADED, this.onManifestLoaded, this), this.stopLoad(), super.onHandlerDestroying(), this.hls = null;
|
|
12480
12480
|
}
|
|
12481
12481
|
onHandlerDestroyed() {
|
|
12482
|
-
this.state =
|
|
12482
|
+
this.state = G.STOPPED, this.fragmentLoader && this.fragmentLoader.destroy(), this.keyLoader && this.keyLoader.destroy(), this.decrypter && this.decrypter.destroy(), this.hls = this.log = this.warn = this.decrypter = this.keyLoader = this.fragmentLoader = this.fragmentTracker = null, super.onHandlerDestroyed();
|
|
12483
12483
|
}
|
|
12484
12484
|
loadFragment(e, t, s) {
|
|
12485
12485
|
this._loadFragForPlayback(e, t, s);
|
|
@@ -12497,12 +12497,12 @@ class Ol extends ZR {
|
|
|
12497
12497
|
return;
|
|
12498
12498
|
const o = this.state;
|
|
12499
12499
|
if (this.fragContextChanged(e)) {
|
|
12500
|
-
(o ===
|
|
12500
|
+
(o === G.FRAG_LOADING || !this.fragCurrent && o === G.PARSING) && (this.fragmentTracker.removeFragment(e), this.state = G.IDLE);
|
|
12501
12501
|
return;
|
|
12502
12502
|
}
|
|
12503
12503
|
"payload" in i && (this.log(`Loaded fragment ${e.sn} of level ${e.level}`), this.hls.trigger(A.FRAG_LOADED, i)), this._handleFragmentLoadComplete(i);
|
|
12504
12504
|
}).catch((i) => {
|
|
12505
|
-
this.state ===
|
|
12505
|
+
this.state === G.STOPPED || this.state === G.ERROR || (this.warn(i), this.resetFragmentLoading(e));
|
|
12506
12506
|
});
|
|
12507
12507
|
}
|
|
12508
12508
|
clearTrackerIfNeeded(e) {
|
|
@@ -12579,7 +12579,7 @@ class Ol extends ZR {
|
|
|
12579
12579
|
}
|
|
12580
12580
|
return this.completeInitSegmentLoad(s);
|
|
12581
12581
|
}).catch((s) => {
|
|
12582
|
-
this.state ===
|
|
12582
|
+
this.state === G.STOPPED || this.state === G.ERROR || (this.warn(s), this.resetFragmentLoading(e));
|
|
12583
12583
|
});
|
|
12584
12584
|
}
|
|
12585
12585
|
completeInitSegmentLoad(e) {
|
|
@@ -12589,7 +12589,7 @@ class Ol extends ZR {
|
|
|
12589
12589
|
if (!t)
|
|
12590
12590
|
throw new Error("init load aborted, missing levels");
|
|
12591
12591
|
const s = e.frag.stats;
|
|
12592
|
-
this.state =
|
|
12592
|
+
this.state = G.IDLE, e.frag.data = new Uint8Array(e.payload), s.parsing.start = s.buffering.start = self.performance.now(), s.parsing.end = s.buffering.end = self.performance.now(), this.tick();
|
|
12593
12593
|
}
|
|
12594
12594
|
fragContextChanged(e) {
|
|
12595
12595
|
const {
|
|
@@ -12605,14 +12605,14 @@ class Ol extends ZR {
|
|
|
12605
12605
|
if (e.type !== le.SUBTITLE) {
|
|
12606
12606
|
const u = e.elementaryStreams;
|
|
12607
12607
|
if (!Object.keys(u).some((d) => !!u[d])) {
|
|
12608
|
-
this.state =
|
|
12608
|
+
this.state = G.IDLE;
|
|
12609
12609
|
return;
|
|
12610
12610
|
}
|
|
12611
12611
|
}
|
|
12612
12612
|
const c = (l = this.levels) == null ? void 0 : l[e.level];
|
|
12613
12613
|
c != null && c.fragmentError && (this.log(`Resetting level fragment error count of ${c.fragmentError} on frag buffered`), c.fragmentError = 0);
|
|
12614
12614
|
}
|
|
12615
|
-
this.state =
|
|
12615
|
+
this.state = G.IDLE, a && (!this.loadedmetadata && e.type == le.MAIN && a.buffered.length && ((i = this.fragCurrent) == null ? void 0 : i.sn) === ((o = this.fragPrevious) == null ? void 0 : o.sn) && (this.loadedmetadata = !0, this.seekToStartPos()), this.tick());
|
|
12616
12616
|
}
|
|
12617
12617
|
seekToStartPos() {
|
|
12618
12618
|
}
|
|
@@ -12638,9 +12638,9 @@ class Ol extends ZR {
|
|
|
12638
12638
|
if (!this.levels || !o)
|
|
12639
12639
|
throw new Error(`frag load aborted, missing level${o ? "" : " detail"}s`);
|
|
12640
12640
|
let a = null;
|
|
12641
|
-
if (e.encrypted && !((i = e.decryptdata) != null && i.key) ? (this.log(`Loading key for ${e.sn} of [${o.startSN}-${o.endSN}], ${this.logPrefix === "[stream-controller]" ? "level" : "track"} ${e.level}`), this.state =
|
|
12641
|
+
if (e.encrypted && !((i = e.decryptdata) != null && i.key) ? (this.log(`Loading key for ${e.sn} of [${o.startSN}-${o.endSN}], ${this.logPrefix === "[stream-controller]" ? "level" : "track"} ${e.level}`), this.state = G.KEY_LOADING, this.fragCurrent = e, a = this.keyLoader.load(e).then((u) => {
|
|
12642
12642
|
if (!this.fragContextChanged(u.frag))
|
|
12643
|
-
return this.hls.trigger(A.KEY_LOADED, u), this.state ===
|
|
12643
|
+
return this.hls.trigger(A.KEY_LOADED, u), this.state === G.KEY_LOADING && (this.state = G.IDLE), u;
|
|
12644
12644
|
}), this.hls.trigger(A.KEY_LOADING, {
|
|
12645
12645
|
frag: e
|
|
12646
12646
|
}), this.fragCurrent === null && (a = Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))) : !e.encrypted && o.encryptedFragments.length && this.keyLoader.loadClear(e, o.encryptedFragments), s = Math.max(e.start, s || 0), this.config.lowLatencyMode && e.sn !== "initSegment") {
|
|
@@ -12650,7 +12650,7 @@ class Ol extends ZR {
|
|
|
12650
12650
|
const d = this.getNextPart(u, e, s);
|
|
12651
12651
|
if (d > -1) {
|
|
12652
12652
|
const f = u[d];
|
|
12653
|
-
this.log(`Loading part sn: ${e.sn} p: ${f.index} cc: ${e.cc} of playlist [${o.startSN}-${o.endSN}] parts [0-${d}-${u.length - 1}] ${this.logPrefix === "[stream-controller]" ? "level" : "track"}: ${e.level}, target: ${parseFloat(s.toFixed(3))}`), this.nextLoadPosition = f.start + f.duration, this.state =
|
|
12653
|
+
this.log(`Loading part sn: ${e.sn} p: ${f.index} cc: ${e.cc} of playlist [${o.startSN}-${o.endSN}] parts [0-${d}-${u.length - 1}] ${this.logPrefix === "[stream-controller]" ? "level" : "track"}: ${e.level}, target: ${parseFloat(s.toFixed(3))}`), this.nextLoadPosition = f.start + f.duration, this.state = G.FRAG_LOADING;
|
|
12654
12654
|
let h;
|
|
12655
12655
|
return a ? h = a.then((m) => !m || this.fragContextChanged(m.frag) ? null : this.doFragPartsLoad(e, f, t, r)).catch((m) => this.handleFragLoadError(m)) : h = this.doFragPartsLoad(e, f, t, r).catch((m) => this.handleFragLoadError(m)), this.hls.trigger(A.FRAG_LOADING, {
|
|
12656
12656
|
frag: e,
|
|
@@ -12661,7 +12661,7 @@ class Ol extends ZR {
|
|
|
12661
12661
|
return Promise.resolve(null);
|
|
12662
12662
|
}
|
|
12663
12663
|
}
|
|
12664
|
-
this.log(`Loading fragment ${e.sn} cc: ${e.cc} ${o ? "of [" + o.startSN + "-" + o.endSN + "] " : ""}${this.logPrefix === "[stream-controller]" ? "level" : "track"}: ${e.level}, target: ${parseFloat(s.toFixed(3))}`), te(e.sn) && !this.bitrateTest && (this.nextLoadPosition = e.start + e.duration), this.state =
|
|
12664
|
+
this.log(`Loading fragment ${e.sn} cc: ${e.cc} ${o ? "of [" + o.startSN + "-" + o.endSN + "] " : ""}${this.logPrefix === "[stream-controller]" ? "level" : "track"}: ${e.level}, target: ${parseFloat(s.toFixed(3))}`), te(e.sn) && !this.bitrateTest && (this.nextLoadPosition = e.start + e.duration), this.state = G.FRAG_LOADING;
|
|
12665
12665
|
const l = this.config.progressive;
|
|
12666
12666
|
let c;
|
|
12667
12667
|
return l && a ? c = a.then((u) => !u || this.fragContextChanged(u == null ? void 0 : u.frag) ? null : this.fragmentLoader.load(e, r)).catch((u) => this.handleFragLoadError(u)) : c = Promise.all([this.fragmentLoader.load(e, l ? r : void 0), a]).then(([u]) => (!l && u && r && r(u), u)).catch((u) => this.handleFragLoadError(u)), this.hls.trigger(A.FRAG_LOADING, {
|
|
@@ -12677,7 +12677,7 @@ class Ol extends ZR {
|
|
|
12677
12677
|
l[d.index] = f;
|
|
12678
12678
|
const h = f.part;
|
|
12679
12679
|
this.hls.trigger(A.FRAG_LOADED, f);
|
|
12680
|
-
const m = Ou(s, e.sn, d.index + 1) ||
|
|
12680
|
+
const m = Ou(s, e.sn, d.index + 1) || Gh(c, e.sn, d.index + 1);
|
|
12681
12681
|
if (m)
|
|
12682
12682
|
u(m);
|
|
12683
12683
|
else
|
|
@@ -12707,8 +12707,8 @@ class Ol extends ZR {
|
|
|
12707
12707
|
}
|
|
12708
12708
|
_handleTransmuxerFlush(e) {
|
|
12709
12709
|
const t = this.getCurrentContext(e);
|
|
12710
|
-
if (!t || this.state !==
|
|
12711
|
-
!this.fragCurrent && this.state !==
|
|
12710
|
+
if (!t || this.state !== G.PARSING) {
|
|
12711
|
+
!this.fragCurrent && this.state !== G.STOPPED && this.state !== G.ERROR && (this.state = G.IDLE);
|
|
12712
12712
|
return;
|
|
12713
12713
|
}
|
|
12714
12714
|
const {
|
|
@@ -12738,14 +12738,14 @@ class Ol extends ZR {
|
|
|
12738
12738
|
}
|
|
12739
12739
|
bufferFragmentData(e, t, s, r, i) {
|
|
12740
12740
|
var o;
|
|
12741
|
-
if (!e || this.state !==
|
|
12741
|
+
if (!e || this.state !== G.PARSING)
|
|
12742
12742
|
return;
|
|
12743
12743
|
const {
|
|
12744
12744
|
data1: a,
|
|
12745
12745
|
data2: l
|
|
12746
12746
|
} = e;
|
|
12747
12747
|
let c = a;
|
|
12748
|
-
if (a && l && (c =
|
|
12748
|
+
if (a && l && (c = Gt(a, l)), !((o = c) != null && o.length))
|
|
12749
12749
|
return;
|
|
12750
12750
|
const u = {
|
|
12751
12751
|
type: e.type,
|
|
@@ -12901,7 +12901,7 @@ class Ol extends ZR {
|
|
|
12901
12901
|
let f;
|
|
12902
12902
|
if (e < t) {
|
|
12903
12903
|
const h = e > t - c ? 0 : c;
|
|
12904
|
-
f =
|
|
12904
|
+
f = Bi(i, o, e, h);
|
|
12905
12905
|
} else
|
|
12906
12906
|
f = o[o.length - 1];
|
|
12907
12907
|
if (f) {
|
|
@@ -12963,7 +12963,7 @@ class Ol extends ZR {
|
|
|
12963
12963
|
this.transmuxer && e.sn !== "initSegment" && e.stats.aborted && (this.warn(`Fragment ${e.sn}${t ? " part " + t.index : ""} of level ${e.level} was aborted`), this.resetFragmentLoading(e));
|
|
12964
12964
|
}
|
|
12965
12965
|
resetFragmentLoading(e) {
|
|
12966
|
-
(!this.fragCurrent || !this.fragContextChanged(e) && this.state !==
|
|
12966
|
+
(!this.fragCurrent || !this.fragContextChanged(e) && this.state !== G.FRAG_LOADING_WAITING_RETRY) && (this.state = G.IDLE);
|
|
12967
12967
|
}
|
|
12968
12968
|
onFragmentOrKeyLoadError(e, t) {
|
|
12969
12969
|
if (t.chunkMeta && !t.frag) {
|
|
@@ -12988,7 +12988,7 @@ class Ol extends ZR {
|
|
|
12988
12988
|
if (o && a === ft.RetryRequest && c) {
|
|
12989
12989
|
this.resetStartWhenNotLoaded(this.levelLastLoaded);
|
|
12990
12990
|
const u = bl(c, l);
|
|
12991
|
-
this.warn(`Fragment ${s.sn} of ${e} ${s.level} errored with ${t.details}, retrying loading ${l + 1}/${c.maxNumRetry} in ${u}ms`), o.resolved = !0, this.retryDate = self.performance.now() + u, this.state =
|
|
12991
|
+
this.warn(`Fragment ${s.sn} of ${e} ${s.level} errored with ${t.details}, retrying loading ${l + 1}/${c.maxNumRetry} in ${u}ms`), o.resolved = !0, this.retryDate = self.performance.now() + u, this.state = G.FRAG_LOADING_WAITING_RETRY;
|
|
12992
12992
|
} else if (c && o)
|
|
12993
12993
|
if (this.resetFragmentErrors(e), l < c.maxNumRetry)
|
|
12994
12994
|
!i && a !== ft.RemoveAlternatePermanently && (o.resolved = !0);
|
|
@@ -12997,11 +12997,11 @@ class Ol extends ZR {
|
|
|
12997
12997
|
return;
|
|
12998
12998
|
}
|
|
12999
12999
|
else
|
|
13000
|
-
(o == null ? void 0 : o.action) === ft.SendAlternateToPenaltyBox ? this.state =
|
|
13000
|
+
(o == null ? void 0 : o.action) === ft.SendAlternateToPenaltyBox ? this.state = G.WAITING_LEVEL : this.state = G.ERROR;
|
|
13001
13001
|
this.tickImmediate();
|
|
13002
13002
|
}
|
|
13003
13003
|
reduceLengthAndFlushBuffer(e) {
|
|
13004
|
-
if (this.state ===
|
|
13004
|
+
if (this.state === G.PARSING || this.state === G.PARSED) {
|
|
13005
13005
|
const t = e.parent, s = this.getFwdBufferInfo(this.mediaBuffer, t), r = s && s.len > 0.5;
|
|
13006
13006
|
r && this.reduceMaxBufferLength(s.len);
|
|
13007
13007
|
const i = !r;
|
|
@@ -13010,16 +13010,16 @@ class Ol extends ZR {
|
|
|
13010
13010
|
return !1;
|
|
13011
13011
|
}
|
|
13012
13012
|
resetFragmentErrors(e) {
|
|
13013
|
-
e === le.AUDIO && (this.fragCurrent = null), this.loadedmetadata || (this.startFragRequested = !1), this.state !==
|
|
13013
|
+
e === le.AUDIO && (this.fragCurrent = null), this.loadedmetadata || (this.startFragRequested = !1), this.state !== G.STOPPED && (this.state = G.IDLE);
|
|
13014
13014
|
}
|
|
13015
13015
|
afterBufferFlushed(e, t, s) {
|
|
13016
13016
|
if (!e)
|
|
13017
13017
|
return;
|
|
13018
13018
|
const r = He.getBuffered(e);
|
|
13019
|
-
this.fragmentTracker.detectEvictedFragments(t, r, s), this.state ===
|
|
13019
|
+
this.fragmentTracker.detectEvictedFragments(t, r, s), this.state === G.ENDED && this.resetLoadingState();
|
|
13020
13020
|
}
|
|
13021
13021
|
resetLoadingState() {
|
|
13022
|
-
this.log("Reset loading state"), this.fragCurrent = null, this.fragPrevious = null, this.state =
|
|
13022
|
+
this.log("Reset loading state"), this.fragCurrent = null, this.fragPrevious = null, this.state = G.IDLE;
|
|
13023
13023
|
}
|
|
13024
13024
|
resetStartWhenNotLoaded(e) {
|
|
13025
13025
|
if (!this.loadedmetadata) {
|
|
@@ -13072,7 +13072,7 @@ class Ol extends ZR {
|
|
|
13072
13072
|
return;
|
|
13073
13073
|
this.resetTransmuxer();
|
|
13074
13074
|
}
|
|
13075
|
-
this.state =
|
|
13075
|
+
this.state = G.PARSED, this.hls.trigger(A.FRAG_PARSED, {
|
|
13076
13076
|
frag: e,
|
|
13077
13077
|
part: t
|
|
13078
13078
|
});
|
|
@@ -13181,7 +13181,7 @@ class Pl {
|
|
|
13181
13181
|
}
|
|
13182
13182
|
// feed incoming data to the front of the parsing pipeline
|
|
13183
13183
|
demux(e, t) {
|
|
13184
|
-
this.cachedData && (e =
|
|
13184
|
+
this.cachedData && (e = Gt(this.cachedData, e), this.cachedData = null);
|
|
13185
13185
|
let s = Fr(e, 0), r = s ? s.length : 0, i;
|
|
13186
13186
|
const o = this._audioTrack, a = this._id3Track, l = s ? Cl(s) : void 0, c = e.length;
|
|
13187
13187
|
for ((this.basePTS === null || this.frameIndex === 0 && te(l)) && (this.basePTS = mT(l, t, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), s && s.length > 0 && a.samples.push({
|
|
@@ -13204,7 +13204,7 @@ class Pl {
|
|
|
13204
13204
|
}), r += s.length, i = r) : r++;
|
|
13205
13205
|
if (r === c && i !== c) {
|
|
13206
13206
|
const u = cs(e, i);
|
|
13207
|
-
this.cachedData ? this.cachedData =
|
|
13207
|
+
this.cachedData ? this.cachedData = Gt(this.cachedData, u) : this.cachedData = u;
|
|
13208
13208
|
}
|
|
13209
13209
|
}
|
|
13210
13210
|
return {
|
|
@@ -13532,7 +13532,7 @@ class IT {
|
|
|
13532
13532
|
let s = e;
|
|
13533
13533
|
const r = this.videoTrack, i = this.txtTrack;
|
|
13534
13534
|
if (this.config.progressive) {
|
|
13535
|
-
this.remainderData && (s =
|
|
13535
|
+
this.remainderData && (s = Gt(this.remainderData, e));
|
|
13536
13536
|
const a = eR(s);
|
|
13537
13537
|
this.remainderData = a.remainder, r.samples = a.valid || new Uint8Array();
|
|
13538
13538
|
} else
|
|
@@ -13962,7 +13962,7 @@ class OT extends wT {
|
|
|
13962
13962
|
o.push(h);
|
|
13963
13963
|
} else {
|
|
13964
13964
|
const h = this.getLastNalUnit(e.samples);
|
|
13965
|
-
h && (i && a <= 4 - i && h.state && (h.data = h.data.subarray(0, h.data.byteLength - i)), c > 0 && (h.data =
|
|
13965
|
+
h && (i && a <= 4 - i && h.state && (h.data = h.data.subarray(0, h.data.byteLength - i)), c > 0 && (h.data = Gt(h.data, t.subarray(0, c)), h.state = 0));
|
|
13966
13966
|
}
|
|
13967
13967
|
a < s ? (u = t[a] & 31, d = a, f = u, r = 0) : r = -1;
|
|
13968
13968
|
} else
|
|
@@ -13978,7 +13978,7 @@ class OT extends wT {
|
|
|
13978
13978
|
}
|
|
13979
13979
|
if (o.length === 0) {
|
|
13980
13980
|
const h = this.getLastNalUnit(e.samples);
|
|
13981
|
-
h && (h.data =
|
|
13981
|
+
h && (h.data = Gt(h.data, t));
|
|
13982
13982
|
}
|
|
13983
13983
|
return e.naluState = r, o;
|
|
13984
13984
|
}
|
|
@@ -14052,12 +14052,12 @@ class PT {
|
|
|
14052
14052
|
}
|
|
14053
14053
|
}
|
|
14054
14054
|
const lt = 188;
|
|
14055
|
-
class
|
|
14055
|
+
class Gn {
|
|
14056
14056
|
constructor(e, t, s) {
|
|
14057
14057
|
this.observer = void 0, this.config = void 0, this.typeSupported = void 0, this.sampleAes = null, this.pmtParsed = !1, this.audioCodec = void 0, this.videoCodec = void 0, this._duration = 0, this._pmtId = -1, this._videoTrack = void 0, this._audioTrack = void 0, this._id3Track = void 0, this._txtTrack = void 0, this.aacOverFlow = null, this.remainderData = null, this.videoParser = void 0, this.observer = e, this.config = t, this.typeSupported = s, this.videoParser = new OT();
|
|
14058
14058
|
}
|
|
14059
14059
|
static probe(e) {
|
|
14060
|
-
const t =
|
|
14060
|
+
const t = Gn.syncOffset(e);
|
|
14061
14061
|
return t > 0 && O.warn(`MPEG2-TS detected but first sync word found @ offset ${t}`), t !== -1;
|
|
14062
14062
|
}
|
|
14063
14063
|
static syncOffset(e) {
|
|
@@ -14099,7 +14099,7 @@ class Bn {
|
|
|
14099
14099
|
* Resets all internal track instances of the demuxer.
|
|
14100
14100
|
*/
|
|
14101
14101
|
resetInitSegment(e, t, s, r) {
|
|
14102
|
-
this.pmtParsed = !1, this._pmtId = -1, this._videoTrack =
|
|
14102
|
+
this.pmtParsed = !1, this._pmtId = -1, this._videoTrack = Gn.createTrack("video"), this._audioTrack = Gn.createTrack("audio", r), this._id3Track = Gn.createTrack("id3"), this._txtTrack = Gn.createTrack("text"), this._audioTrack.segmentCodec = "aac", this.aacOverFlow = null, this.remainderData = null, this.audioCodec = t, this.videoCodec = s, this._duration = r;
|
|
14103
14103
|
}
|
|
14104
14104
|
resetTimeStamp() {
|
|
14105
14105
|
}
|
|
@@ -14116,14 +14116,14 @@ class Bn {
|
|
|
14116
14116
|
let i;
|
|
14117
14117
|
const o = this._videoTrack, a = this._audioTrack, l = this._id3Track, c = this._txtTrack;
|
|
14118
14118
|
let u = o.pid, d = o.pesData, f = a.pid, h = l.pid, m = a.pesData, g = l.pesData, p = null, y = this.pmtParsed, E = this._pmtId, v = e.length;
|
|
14119
|
-
if (this.remainderData && (e =
|
|
14119
|
+
if (this.remainderData && (e = Gt(this.remainderData, e), v = e.length, this.remainderData = null), v < lt && !r)
|
|
14120
14120
|
return this.remainderData = e, {
|
|
14121
14121
|
audioTrack: a,
|
|
14122
14122
|
videoTrack: o,
|
|
14123
14123
|
id3Track: l,
|
|
14124
14124
|
textTrack: c
|
|
14125
14125
|
};
|
|
14126
|
-
const x = Math.max(0,
|
|
14126
|
+
const x = Math.max(0, Gn.syncOffset(e));
|
|
14127
14127
|
v -= (v - x) % lt, v < e.byteLength && !r && (this.remainderData = new Uint8Array(e.buffer, v, e.buffer.byteLength - v));
|
|
14128
14128
|
let S = 0;
|
|
14129
14129
|
for (let R = x; R < v; R += lt)
|
|
@@ -14274,7 +14274,7 @@ class Bn {
|
|
|
14274
14274
|
this.aacOverFlow = null;
|
|
14275
14275
|
const d = r.missing, f = r.sample.unit.byteLength;
|
|
14276
14276
|
if (d === -1)
|
|
14277
|
-
i =
|
|
14277
|
+
i = Gt(r.sample.unit, i);
|
|
14278
14278
|
else {
|
|
14279
14279
|
const h = f - d;
|
|
14280
14280
|
r.sample.unit.set(i.subarray(0, d), h), e.samples.push(r.sample), s = r.missing;
|
|
@@ -14380,7 +14380,7 @@ function kT(n, e, t, s) {
|
|
|
14380
14380
|
switch (n[e]) {
|
|
14381
14381
|
case 207:
|
|
14382
14382
|
if (!s) {
|
|
14383
|
-
|
|
14383
|
+
Bo("ADTS AAC");
|
|
14384
14384
|
break;
|
|
14385
14385
|
}
|
|
14386
14386
|
case 15:
|
|
@@ -14391,7 +14391,7 @@ function kT(n, e, t, s) {
|
|
|
14391
14391
|
break;
|
|
14392
14392
|
case 219:
|
|
14393
14393
|
if (!s) {
|
|
14394
|
-
|
|
14394
|
+
Bo("H.264");
|
|
14395
14395
|
break;
|
|
14396
14396
|
}
|
|
14397
14397
|
case 27:
|
|
@@ -14403,7 +14403,7 @@ function kT(n, e, t, s) {
|
|
|
14403
14403
|
break;
|
|
14404
14404
|
case 193:
|
|
14405
14405
|
if (!s) {
|
|
14406
|
-
|
|
14406
|
+
Bo("AC-3");
|
|
14407
14407
|
break;
|
|
14408
14408
|
}
|
|
14409
14409
|
case 129:
|
|
@@ -14435,7 +14435,7 @@ function kT(n, e, t, s) {
|
|
|
14435
14435
|
}
|
|
14436
14436
|
return r;
|
|
14437
14437
|
}
|
|
14438
|
-
function
|
|
14438
|
+
function Bo(n) {
|
|
14439
14439
|
O.log(`${n} with AES-128-CBC encryption found in unencrypted stream`);
|
|
14440
14440
|
}
|
|
14441
14441
|
function Is(n) {
|
|
@@ -14444,7 +14444,7 @@ function Is(n) {
|
|
|
14444
14444
|
if (!n || n.size === 0)
|
|
14445
14445
|
return null;
|
|
14446
14446
|
for (; a[0].length < 19 && a.length > 1; )
|
|
14447
|
-
a[0] =
|
|
14447
|
+
a[0] = Gt(a[0], a[1]), a.splice(1, 1);
|
|
14448
14448
|
if (t = a[0], (t[0] << 16) + (t[1] << 8) + t[2] === 1) {
|
|
14449
14449
|
if (s = (t[4] << 8) + t[5], s && s > n.size - 6)
|
|
14450
14450
|
return null;
|
|
@@ -14520,7 +14520,7 @@ class MT extends Pl {
|
|
|
14520
14520
|
return Jh(e, t, s, this.basePTS, this.frameIndex);
|
|
14521
14521
|
}
|
|
14522
14522
|
}
|
|
14523
|
-
class
|
|
14523
|
+
class Gu {
|
|
14524
14524
|
static getSilentFrame(e, t) {
|
|
14525
14525
|
switch (e) {
|
|
14526
14526
|
case "mp4a.40.2":
|
|
@@ -15536,7 +15536,7 @@ class P {
|
|
|
15536
15536
|
static initSegment(e) {
|
|
15537
15537
|
P.types || P.init();
|
|
15538
15538
|
const t = P.moov(e);
|
|
15539
|
-
return
|
|
15539
|
+
return Gt(P.FTYP, t);
|
|
15540
15540
|
}
|
|
15541
15541
|
}
|
|
15542
15542
|
P.types = void 0;
|
|
@@ -15564,7 +15564,7 @@ function dr(n, e = !1) {
|
|
|
15564
15564
|
function NT(n, e = 1) {
|
|
15565
15565
|
return Ml(n, sm, 1 / e);
|
|
15566
15566
|
}
|
|
15567
|
-
const UT = 10 * 1e3,
|
|
15567
|
+
const UT = 10 * 1e3, Bu = 1024, zT = 1152, VT = 1536;
|
|
15568
15568
|
let Ls = null, Ho = null;
|
|
15569
15569
|
class pi {
|
|
15570
15570
|
constructor(e, t, s, r = "") {
|
|
@@ -15609,7 +15609,7 @@ class pi {
|
|
|
15609
15609
|
d = this.generateIS(e, t, i, o);
|
|
15610
15610
|
const F = this.isVideoContiguous;
|
|
15611
15611
|
let k = -1, V;
|
|
15612
|
-
if (S && (k =
|
|
15612
|
+
if (S && (k = GT(t.samples), !F && this.config.forceKeyFrameOnDiscontinuity))
|
|
15613
15613
|
if (m = !0, k > 0) {
|
|
15614
15614
|
O.warn(`[mp4-remuxer]: Dropped ${k} out of ${v} video samples due to a missing keyframe`);
|
|
15615
15615
|
const $ = this.getVideoStartPts(t.samples);
|
|
@@ -15732,8 +15732,8 @@ class pi {
|
|
|
15732
15732
|
for (let q = 0; q < l; q++) {
|
|
15733
15733
|
const K = o[q], pe = K.units, ae = pe.length;
|
|
15734
15734
|
let Ae = 0;
|
|
15735
|
-
for (let
|
|
15736
|
-
Ae += pe[
|
|
15735
|
+
for (let Ge = 0; Ge < ae; Ge++)
|
|
15736
|
+
Ae += pe[Ge].data.length;
|
|
15737
15737
|
T += Ae, S += ae, K.length = Ae, K.dts < R ? (K.dts = R, R += x / 4 | 0 || 1) : R = K.dts, g = Math.min(K.pts, g), p = Math.max(K.pts, p);
|
|
15738
15738
|
}
|
|
15739
15739
|
m = o[l - 1].dts;
|
|
@@ -15773,8 +15773,8 @@ class pi {
|
|
|
15773
15773
|
} else
|
|
15774
15774
|
f = Qe;
|
|
15775
15775
|
}
|
|
15776
|
-
const
|
|
15777
|
-
k = Math.min(k, f), $ = Math.max($, f), V = Math.min(V, Ae), ee = Math.max(ee, Ae), a.push(new Hu(K.key, f, ae,
|
|
15776
|
+
const Ge = Math.round(K.pts - K.dts);
|
|
15777
|
+
k = Math.min(k, f), $ = Math.max($, f), V = Math.min(V, Ae), ee = Math.max(ee, Ae), a.push(new Hu(K.key, f, ae, Ge));
|
|
15778
15778
|
}
|
|
15779
15779
|
if (a.length) {
|
|
15780
15780
|
if (Ls) {
|
|
@@ -15788,8 +15788,8 @@ class pi {
|
|
|
15788
15788
|
for (let K = 0, pe = a.length; K < pe; K++) {
|
|
15789
15789
|
const ae = q + a[K].duration, Ae = q + a[K].cts;
|
|
15790
15790
|
if (K < pe - 1) {
|
|
15791
|
-
const
|
|
15792
|
-
a[K].duration =
|
|
15791
|
+
const Ge = ae + a[K + 1].cts;
|
|
15792
|
+
a[K].duration = Ge - Ae;
|
|
15793
15793
|
} else
|
|
15794
15794
|
a[K].duration = K ? a[K - 1].duration : x;
|
|
15795
15795
|
a[K].cts = 0, q = ae;
|
|
@@ -15821,7 +15821,7 @@ class pi {
|
|
|
15821
15821
|
case "ac3":
|
|
15822
15822
|
return VT;
|
|
15823
15823
|
default:
|
|
15824
|
-
return
|
|
15824
|
+
return Bu;
|
|
15825
15825
|
}
|
|
15826
15826
|
}
|
|
15827
15827
|
remuxAudio(e, t, s, r, i) {
|
|
@@ -15844,9 +15844,9 @@ class pi {
|
|
|
15844
15844
|
else if (pe >= J * u && ae < UT && m) {
|
|
15845
15845
|
let Ae = Math.round(pe / u);
|
|
15846
15846
|
re = K - Ae * u, re < 0 && (Ae--, re += u), Y === 0 && (this.nextAudioPts = y = re), O.warn(`[mp4-remuxer]: Injecting ${Ae} audio frame @ ${(re / o).toFixed(3)}s due to ${Math.round(1e3 * pe / o)} ms gap.`);
|
|
15847
|
-
for (let
|
|
15847
|
+
for (let Ge = 0; Ge < Ae; Ge++) {
|
|
15848
15848
|
const Ke = Math.max(re, 0);
|
|
15849
|
-
let Qe =
|
|
15849
|
+
let Qe = Gu.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
|
|
15850
15850
|
Qe || (O.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."), Qe = q.unit.subarray()), g.splice(Y, 0, {
|
|
15851
15851
|
unit: Qe,
|
|
15852
15852
|
pts: Ke
|
|
@@ -15911,7 +15911,7 @@ class pi {
|
|
|
15911
15911
|
return this.isAudioContiguous = !0, ee;
|
|
15912
15912
|
}
|
|
15913
15913
|
remuxEmptyAudio(e, t, s, r) {
|
|
15914
|
-
const i = e.inputTimeScale, o = e.samplerate ? e.samplerate : i, a = i / o, l = this.nextAudioPts, c = this._initDTS, u = c.baseTime * 9e4 / c.timescale, d = (l !== null ? l : r.startDTS * i) + u, f = r.endDTS * i + u, h = a *
|
|
15914
|
+
const i = e.inputTimeScale, o = e.samplerate ? e.samplerate : i, a = i / o, l = this.nextAudioPts, c = this._initDTS, u = c.baseTime * 9e4 / c.timescale, d = (l !== null ? l : r.startDTS * i) + u, f = r.endDTS * i + u, h = a * Bu, m = Math.ceil((f - d) / h), g = Gu.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
|
|
15915
15915
|
if (O.warn("[mp4-remuxer]: remux empty Audio"), !g) {
|
|
15916
15916
|
O.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");
|
|
15917
15917
|
return;
|
|
@@ -15936,7 +15936,7 @@ function Mt(n, e) {
|
|
|
15936
15936
|
n += t;
|
|
15937
15937
|
return n;
|
|
15938
15938
|
}
|
|
15939
|
-
function
|
|
15939
|
+
function GT(n) {
|
|
15940
15940
|
for (let e = 0; e < n.length; e++)
|
|
15941
15941
|
if (n[e].key)
|
|
15942
15942
|
return e;
|
|
@@ -15983,7 +15983,7 @@ class Hu {
|
|
|
15983
15983
|
};
|
|
15984
15984
|
}
|
|
15985
15985
|
}
|
|
15986
|
-
class
|
|
15986
|
+
class BT {
|
|
15987
15987
|
constructor() {
|
|
15988
15988
|
this.emitInitSegment = !1, this.audioCodec = void 0, this.videoCodec = void 0, this.initData = void 0, this.initPTS = null, this.initTracks = void 0, this.lastEndTime = null;
|
|
15989
15989
|
}
|
|
@@ -16105,9 +16105,9 @@ try {
|
|
|
16105
16105
|
}
|
|
16106
16106
|
const vi = [{
|
|
16107
16107
|
demux: IT,
|
|
16108
|
-
remux:
|
|
16108
|
+
remux: BT
|
|
16109
16109
|
}, {
|
|
16110
|
-
demux:
|
|
16110
|
+
demux: Gn,
|
|
16111
16111
|
remux: pi
|
|
16112
16112
|
}, {
|
|
16113
16113
|
demux: CT,
|
|
@@ -16651,23 +16651,23 @@ class qT extends Ol {
|
|
|
16651
16651
|
this.initPTS[t.cc] = {
|
|
16652
16652
|
baseTime: r,
|
|
16653
16653
|
timescale: i
|
|
16654
|
-
}, this.log(`InitPTS for cc: ${o} found from main: ${r}`), this.videoTrackCC = o, this.state ===
|
|
16654
|
+
}, this.log(`InitPTS for cc: ${o} found from main: ${r}`), this.videoTrackCC = o, this.state === G.WAITING_INIT_PTS && this.tick();
|
|
16655
16655
|
}
|
|
16656
16656
|
}
|
|
16657
16657
|
startLoad(e) {
|
|
16658
16658
|
if (!this.levels) {
|
|
16659
|
-
this.startPosition = e, this.state =
|
|
16659
|
+
this.startPosition = e, this.state = G.STOPPED;
|
|
16660
16660
|
return;
|
|
16661
16661
|
}
|
|
16662
16662
|
const t = this.lastCurrentTime;
|
|
16663
|
-
this.stopLoad(), this.setInterval(Ku), t > 0 && e === -1 ? (this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`), e = t, this.state =
|
|
16663
|
+
this.stopLoad(), this.setInterval(Ku), t > 0 && e === -1 ? (this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`), e = t, this.state = G.IDLE) : (this.loadedmetadata = !1, this.state = G.WAITING_TRACK), this.nextLoadPosition = this.startPosition = this.lastCurrentTime = e, this.tick();
|
|
16664
16664
|
}
|
|
16665
16665
|
doTick() {
|
|
16666
16666
|
switch (this.state) {
|
|
16667
|
-
case
|
|
16667
|
+
case G.IDLE:
|
|
16668
16668
|
this.doTickIdle();
|
|
16669
16669
|
break;
|
|
16670
|
-
case
|
|
16670
|
+
case G.WAITING_TRACK: {
|
|
16671
16671
|
var e;
|
|
16672
16672
|
const {
|
|
16673
16673
|
levels: s,
|
|
@@ -16676,11 +16676,11 @@ class qT extends Ol {
|
|
|
16676
16676
|
if (i) {
|
|
16677
16677
|
if (this.waitForCdnTuneIn(i))
|
|
16678
16678
|
break;
|
|
16679
|
-
this.state =
|
|
16679
|
+
this.state = G.WAITING_INIT_PTS;
|
|
16680
16680
|
}
|
|
16681
16681
|
break;
|
|
16682
16682
|
}
|
|
16683
|
-
case
|
|
16683
|
+
case G.FRAG_LOADING_WAITING_RETRY: {
|
|
16684
16684
|
var t;
|
|
16685
16685
|
const s = performance.now(), r = this.retryDate;
|
|
16686
16686
|
if (!r || s >= r || (t = this.media) != null && t.seeking) {
|
|
@@ -16688,11 +16688,11 @@ class qT extends Ol {
|
|
|
16688
16688
|
levels: i,
|
|
16689
16689
|
trackId: o
|
|
16690
16690
|
} = this;
|
|
16691
|
-
this.log("RetryDate reached, switch back to IDLE state"), this.resetStartWhenNotLoaded((i == null ? void 0 : i[o]) || null), this.state =
|
|
16691
|
+
this.log("RetryDate reached, switch back to IDLE state"), this.resetStartWhenNotLoaded((i == null ? void 0 : i[o]) || null), this.state = G.IDLE;
|
|
16692
16692
|
}
|
|
16693
16693
|
break;
|
|
16694
16694
|
}
|
|
16695
|
-
case
|
|
16695
|
+
case G.WAITING_INIT_PTS: {
|
|
16696
16696
|
const s = this.waitingData;
|
|
16697
16697
|
if (s) {
|
|
16698
16698
|
const {
|
|
@@ -16702,7 +16702,7 @@ class qT extends Ol {
|
|
|
16702
16702
|
complete: a
|
|
16703
16703
|
} = s;
|
|
16704
16704
|
if (this.initPTS[r.cc] !== void 0) {
|
|
16705
|
-
this.waitingData = null, this.waitingVideoCC = -1, this.state =
|
|
16705
|
+
this.waitingData = null, this.waitingVideoCC = -1, this.state = G.FRAG_LOADING;
|
|
16706
16706
|
const l = o.flush(), c = {
|
|
16707
16707
|
frag: r,
|
|
16708
16708
|
part: i,
|
|
@@ -16717,14 +16717,14 @@ class qT extends Ol {
|
|
|
16717
16717
|
Ua(c.end, this.config.maxFragLookUpTolerance, r) < 0 && (this.log(`Waiting fragment cc (${r.cc}) @ ${r.start} cancelled because another fragment at ${c.end} is needed`), this.clearWaitingFragment());
|
|
16718
16718
|
}
|
|
16719
16719
|
} else
|
|
16720
|
-
this.state =
|
|
16720
|
+
this.state = G.IDLE;
|
|
16721
16721
|
}
|
|
16722
16722
|
}
|
|
16723
16723
|
this.onTickEnd();
|
|
16724
16724
|
}
|
|
16725
16725
|
clearWaitingFragment() {
|
|
16726
16726
|
const e = this.waitingData;
|
|
16727
|
-
e && (this.fragmentTracker.removeFragment(e.frag), this.waitingData = null, this.waitingVideoCC = -1, this.state =
|
|
16727
|
+
e && (this.fragmentTracker.removeFragment(e.frag), this.waitingData = null, this.waitingVideoCC = -1, this.state = G.IDLE);
|
|
16728
16728
|
}
|
|
16729
16729
|
resetLoadingState() {
|
|
16730
16730
|
this.clearWaitingFragment(), super.resetLoadingState();
|
|
@@ -16746,7 +16746,7 @@ class qT extends Ol {
|
|
|
16746
16746
|
return;
|
|
16747
16747
|
const o = t[r], a = o.details;
|
|
16748
16748
|
if (!a || a.live && this.levelLastLoaded !== o || this.waitForCdnTuneIn(a)) {
|
|
16749
|
-
this.state =
|
|
16749
|
+
this.state = G.WAITING_TRACK;
|
|
16750
16750
|
return;
|
|
16751
16751
|
}
|
|
16752
16752
|
const l = this.mediaBuffer ? this.mediaBuffer : this.media;
|
|
@@ -16761,7 +16761,7 @@ class qT extends Ol {
|
|
|
16761
16761
|
if (!d && this._streamEnded(c, a)) {
|
|
16762
16762
|
e.trigger(A.BUFFER_EOS, {
|
|
16763
16763
|
type: "audio"
|
|
16764
|
-
}), this.state =
|
|
16764
|
+
}), this.state = G.ENDED;
|
|
16765
16765
|
return;
|
|
16766
16766
|
}
|
|
16767
16767
|
const f = this.getFwdBufferInfo(this.videoBuffer ? this.videoBuffer : this.media, le.MAIN), h = c.len, m = this.getMaxBufferLength(f == null ? void 0 : f.len), g = a.fragments, p = g[0].start;
|
|
@@ -16804,7 +16804,7 @@ class qT extends Ol {
|
|
|
16804
16804
|
const {
|
|
16805
16805
|
fragCurrent: r
|
|
16806
16806
|
} = this;
|
|
16807
|
-
r && (r.abortRequests(), this.removeUnbufferedFrags(r.start)), this.resetLoadingState(), s ? this.setInterval(Ku) : this.resetTransmuxer(), s ? (this.switchingTrack = t, this.state =
|
|
16807
|
+
r && (r.abortRequests(), this.removeUnbufferedFrags(r.start)), this.resetLoadingState(), s ? this.setInterval(Ku) : this.resetTransmuxer(), s ? (this.switchingTrack = t, this.state = G.IDLE, this.flushAudioIfNeeded(t)) : (this.switchingTrack = null, this.bufferedTrack = t, this.state = G.STOPPED), this.tick();
|
|
16808
16808
|
}
|
|
16809
16809
|
onManifestLoading() {
|
|
16810
16810
|
this.fragmentTracker.removeAllFragments(), this.startPosition = this.lastCurrentTime = 0, this.bufferFlushed = this.flushing = !1, this.levels = this.mainDetails = this.waitingData = this.bufferedTrack = this.cachedTrackLoadedData = this.switchingTrack = null, this.startFragRequested = !1, this.trackId = this.videoTrackCC = this.waitingVideoCC = -1;
|
|
@@ -16843,7 +16843,7 @@ class qT extends Ol {
|
|
|
16843
16843
|
l = this.alignPlaylists(i, a.details, (c = this.levelLastLoaded) == null ? void 0 : c.details);
|
|
16844
16844
|
}
|
|
16845
16845
|
}
|
|
16846
|
-
a.details = i, this.levelLastLoaded = a, !this.startFragRequested && (this.mainDetails || !i.live) && this.setStartPosition(this.mainDetails || i, l), this.state ===
|
|
16846
|
+
a.details = i, this.levelLastLoaded = a, !this.startFragRequested && (this.mainDetails || !i.live) && this.setStartPosition(this.mainDetails || i, l), this.state === G.WAITING_TRACK && !this.waitForCdnTuneIn(i) && (this.state = G.IDLE), this.tick();
|
|
16847
16847
|
}
|
|
16848
16848
|
_handleFragmentLoadProgress(e) {
|
|
16849
16849
|
var t;
|
|
@@ -16887,7 +16887,7 @@ class qT extends Ol {
|
|
|
16887
16887
|
cache: new Kh(),
|
|
16888
16888
|
complete: !1
|
|
16889
16889
|
};
|
|
16890
|
-
g.push(new Uint8Array(i)), this.waitingVideoCC = this.videoTrackCC, this.state =
|
|
16890
|
+
g.push(new Uint8Array(i)), this.waitingVideoCC = this.videoTrackCC, this.state = G.WAITING_INIT_PTS;
|
|
16891
16891
|
}
|
|
16892
16892
|
}
|
|
16893
16893
|
_handleFragmentLoadComplete(e) {
|
|
@@ -16930,7 +16930,7 @@ class qT extends Ol {
|
|
|
16930
16930
|
onError(e, t) {
|
|
16931
16931
|
var s;
|
|
16932
16932
|
if (t.fatal) {
|
|
16933
|
-
this.state =
|
|
16933
|
+
this.state = G.ERROR;
|
|
16934
16934
|
return;
|
|
16935
16935
|
}
|
|
16936
16936
|
switch (t.details) {
|
|
@@ -16946,7 +16946,7 @@ class qT extends Ol {
|
|
|
16946
16946
|
case M.AUDIO_TRACK_LOAD_ERROR:
|
|
16947
16947
|
case M.AUDIO_TRACK_LOAD_TIMEOUT:
|
|
16948
16948
|
case M.LEVEL_PARSING_ERROR:
|
|
16949
|
-
!t.levelRetry && this.state ===
|
|
16949
|
+
!t.levelRetry && this.state === G.WAITING_TRACK && ((s = t.context) == null ? void 0 : s.type) === Re.AUDIO_TRACK && (this.state = G.IDLE);
|
|
16950
16950
|
break;
|
|
16951
16951
|
case M.BUFFER_APPEND_ERROR:
|
|
16952
16952
|
case M.BUFFER_FULL_ERROR:
|
|
@@ -16972,7 +16972,7 @@ class qT extends Ol {
|
|
|
16972
16972
|
type: t
|
|
16973
16973
|
}) {
|
|
16974
16974
|
if (t !== Ne.VIDEO) {
|
|
16975
|
-
this.flushing = !1, this.bufferFlushed = !0, this.state ===
|
|
16975
|
+
this.flushing = !1, this.bufferFlushed = !0, this.state === G.ENDED && (this.state = G.IDLE);
|
|
16976
16976
|
const s = this.mediaBuffer || this.media;
|
|
16977
16977
|
s && (this.afterBufferFlushed(s, t, le.AUDIO), this.tick());
|
|
16978
16978
|
}
|
|
@@ -17005,7 +17005,7 @@ class qT extends Ol {
|
|
|
17005
17005
|
this.fragmentTracker.removeFragment(l);
|
|
17006
17006
|
return;
|
|
17007
17007
|
}
|
|
17008
|
-
if (this.state =
|
|
17008
|
+
if (this.state = G.PARSING, this.switchingTrack && f && this.completeAudioSwitch(this.switchingTrack), g != null && g.tracks) {
|
|
17009
17009
|
const p = l.initSegment || l;
|
|
17010
17010
|
this._bufferInitSegment(u, g.tracks, p, o), r.trigger(A.FRAG_PARSING_INIT_SEGMENT, {
|
|
17011
17011
|
frag: p,
|
|
@@ -17045,7 +17045,7 @@ class qT extends Ol {
|
|
|
17045
17045
|
}
|
|
17046
17046
|
}
|
|
17047
17047
|
_bufferInitSegment(e, t, s, r) {
|
|
17048
|
-
if (this.state !==
|
|
17048
|
+
if (this.state !== G.PARSING)
|
|
17049
17049
|
return;
|
|
17050
17050
|
t.video && delete t.video;
|
|
17051
17051
|
const i = t.audio;
|
|
@@ -17075,7 +17075,7 @@ class qT extends Ol {
|
|
|
17075
17075
|
if (e.sn === "initSegment")
|
|
17076
17076
|
this._loadInitSegment(e, t);
|
|
17077
17077
|
else if ((i = t.details) != null && i.live && !this.initPTS[e.cc]) {
|
|
17078
|
-
this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`), this.state =
|
|
17078
|
+
this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`), this.state = G.WAITING_INIT_PTS;
|
|
17079
17079
|
const o = this.mainDetails;
|
|
17080
17080
|
o && o.fragments[0].start !== t.details.fragments[0].start && Hi(t.details, o);
|
|
17081
17081
|
} else
|
|
@@ -17329,7 +17329,7 @@ class QT extends Ol {
|
|
|
17329
17329
|
e.off(A.MEDIA_ATTACHED, this.onMediaAttached, this), e.off(A.MEDIA_DETACHING, this.onMediaDetaching, this), e.off(A.MANIFEST_LOADING, this.onManifestLoading, this), e.off(A.LEVEL_LOADED, this.onLevelLoaded, this), e.off(A.ERROR, this.onError, this), e.off(A.SUBTITLE_TRACKS_UPDATED, this.onSubtitleTracksUpdated, this), e.off(A.SUBTITLE_TRACK_SWITCH, this.onSubtitleTrackSwitch, this), e.off(A.SUBTITLE_TRACK_LOADED, this.onSubtitleTrackLoaded, this), e.off(A.SUBTITLE_FRAG_PROCESSED, this.onSubtitleFragProcessed, this), e.off(A.BUFFER_FLUSHING, this.onBufferFlushing, this), e.off(A.FRAG_BUFFERED, this.onFragBuffered, this);
|
|
17330
17330
|
}
|
|
17331
17331
|
startLoad(e) {
|
|
17332
|
-
this.stopLoad(), this.state =
|
|
17332
|
+
this.stopLoad(), this.state = G.IDLE, this.setInterval(Xu), this.nextLoadPosition = this.startPosition = this.lastCurrentTime = e, this.tick();
|
|
17333
17333
|
}
|
|
17334
17334
|
onManifestLoading() {
|
|
17335
17335
|
this.mainDetails = null, this.fragmentTracker.removeAllFragments();
|
|
@@ -17345,7 +17345,7 @@ class QT extends Ol {
|
|
|
17345
17345
|
frag: s,
|
|
17346
17346
|
success: r
|
|
17347
17347
|
} = t;
|
|
17348
|
-
if (this.fragPrevious = s, this.state =
|
|
17348
|
+
if (this.fragPrevious = s, this.state = G.IDLE, !r)
|
|
17349
17349
|
return;
|
|
17350
17350
|
const i = this.tracksBuffered[this.currentTrackId];
|
|
17351
17351
|
if (!i)
|
|
@@ -17395,7 +17395,7 @@ class QT extends Ol {
|
|
|
17395
17395
|
// If something goes wrong, proceed to next frag, if we were processing one.
|
|
17396
17396
|
onError(e, t) {
|
|
17397
17397
|
const s = t.frag;
|
|
17398
|
-
(s == null ? void 0 : s.type) === le.SUBTITLE && (this.fragCurrent && this.fragCurrent.abortRequests(), this.state !==
|
|
17398
|
+
(s == null ? void 0 : s.type) === le.SUBTITLE && (this.fragCurrent && this.fragCurrent.abortRequests(), this.state !== G.STOPPED && (this.state = G.IDLE));
|
|
17399
17399
|
}
|
|
17400
17400
|
// Got all new subtitle levels.
|
|
17401
17401
|
onSubtitleTracksUpdated(e, {
|
|
@@ -17450,7 +17450,7 @@ class QT extends Ol {
|
|
|
17450
17450
|
c = this.alignPlaylists(o, l.details, (u = this.levelLastLoaded) == null ? void 0 : u.details), c === 0 && f && (c = f.start, Na(o, c));
|
|
17451
17451
|
}
|
|
17452
17452
|
}
|
|
17453
|
-
l.details = o, this.levelLastLoaded = l, !this.startFragRequested && (this.mainDetails || !o.live) && this.setStartPosition(this.mainDetails || o, c), this.tick(), o.live && !this.fragCurrent && this.media && this.state ===
|
|
17453
|
+
l.details = o, this.levelLastLoaded = l, !this.startFragRequested && (this.mainDetails || !o.live) && this.setStartPosition(this.mainDetails || o, c), this.tick(), o.live && !this.fragCurrent && this.media && this.state === G.IDLE && (Bi(null, o.fragments, this.media.currentTime, 0) || (this.warn("Subtitle playlist not aligned with playback"), l.details = void 0));
|
|
17454
17454
|
}
|
|
17455
17455
|
_handleFragmentLoadComplete(e) {
|
|
17456
17456
|
const {
|
|
@@ -17479,16 +17479,16 @@ class QT extends Ol {
|
|
|
17479
17479
|
}
|
|
17480
17480
|
});
|
|
17481
17481
|
}).catch((a) => {
|
|
17482
|
-
this.warn(`${a.name}: ${a.message}`), this.state =
|
|
17482
|
+
this.warn(`${a.name}: ${a.message}`), this.state = G.IDLE;
|
|
17483
17483
|
});
|
|
17484
17484
|
}
|
|
17485
17485
|
}
|
|
17486
17486
|
doTick() {
|
|
17487
17487
|
if (!this.media) {
|
|
17488
|
-
this.state =
|
|
17488
|
+
this.state = G.IDLE;
|
|
17489
17489
|
return;
|
|
17490
17490
|
}
|
|
17491
|
-
if (this.state ===
|
|
17491
|
+
if (this.state === G.IDLE) {
|
|
17492
17492
|
const {
|
|
17493
17493
|
currentTrackId: e,
|
|
17494
17494
|
levels: t
|
|
@@ -17508,7 +17508,7 @@ class QT extends Ol {
|
|
|
17508
17508
|
const p = this.fragPrevious;
|
|
17509
17509
|
if (a < m) {
|
|
17510
17510
|
const y = r.maxFragLookUpTolerance, E = a > m - y ? 0 : y;
|
|
17511
|
-
g =
|
|
17511
|
+
g = Bi(p, f, Math.max(f[0].start, a), E), !g && p && p.start < f[0].start && (g = f[0]);
|
|
17512
17512
|
} else
|
|
17513
17513
|
g = f[h - 1];
|
|
17514
17514
|
if (!g)
|
|
@@ -19447,7 +19447,7 @@ function fm(n, e, t, s) {
|
|
|
19447
19447
|
e(a, l);
|
|
19448
19448
|
}
|
|
19449
19449
|
}
|
|
19450
|
-
const
|
|
19450
|
+
const Ga = new Nl(0, 0, ""), ti = Ga.align === "middle" ? "middle" : "center";
|
|
19451
19451
|
function dC(n, e, t) {
|
|
19452
19452
|
const s = n;
|
|
19453
19453
|
function r() {
|
|
@@ -19486,9 +19486,9 @@ function dC(n, e, t) {
|
|
|
19486
19486
|
}
|
|
19487
19487
|
}, /:/, /\s/), l.region = c.get("region", null), l.vertical = c.get("vertical", "");
|
|
19488
19488
|
let u = c.get("line", "auto");
|
|
19489
|
-
u === "auto" &&
|
|
19489
|
+
u === "auto" && Ga.line === -1 && (u = -1), l.line = u, l.lineAlign = c.get("lineAlign", "start"), l.snapToLines = c.get("snapToLines", !0), l.size = c.get("size", 100), l.align = c.get("align", ti);
|
|
19490
19490
|
let d = c.get("position", "auto");
|
|
19491
|
-
d === "auto" &&
|
|
19491
|
+
d === "auto" && Ga.position === 50 && (d = l.align === "start" || l.align === "left" ? 0 : l.align === "end" || l.align === "right" ? 100 : 50), l.position = d;
|
|
19492
19492
|
}
|
|
19493
19493
|
function o() {
|
|
19494
19494
|
n = n.replace(/^\s+/, "");
|
|
@@ -20084,7 +20084,7 @@ class SC {
|
|
|
20084
20084
|
o.push(e);
|
|
20085
20085
|
return;
|
|
20086
20086
|
}
|
|
20087
|
-
const l = this.hls, c = (t = s.initSegment) != null && t.data ?
|
|
20087
|
+
const l = this.hls, c = (t = s.initSegment) != null && t.data ? Gt(s.initSegment.data, new Uint8Array(r)) : r;
|
|
20088
20088
|
pC(c, this.initPTS[s.cc], this.vttCCs, s.cc, s.start, (u) => {
|
|
20089
20089
|
this._appendCues(u, s.level), l.trigger(A.SUBTITLE_FRAG_PROCESSED, {
|
|
20090
20090
|
success: !0,
|
|
@@ -20393,9 +20393,9 @@ class TC {
|
|
|
20393
20393
|
}
|
|
20394
20394
|
}
|
|
20395
20395
|
const ni = "[eme]";
|
|
20396
|
-
class
|
|
20396
|
+
class Gs {
|
|
20397
20397
|
constructor(e) {
|
|
20398
|
-
this.hls = void 0, this.config = void 0, this.media = null, this.keyFormatPromise = null, this.keySystemAccessPromises = {}, this._requestLicenseFailureCount = 0, this.mediaKeySessions = [], this.keyIdToKeySessionPromise = {}, this.setMediaKeysQueue =
|
|
20398
|
+
this.hls = void 0, this.config = void 0, this.media = null, this.keyFormatPromise = null, this.keySystemAccessPromises = {}, this._requestLicenseFailureCount = 0, this.mediaKeySessions = [], this.keyIdToKeySessionPromise = {}, this.setMediaKeysQueue = Gs.CDMCleanupPromise ? [Gs.CDMCleanupPromise] : [], this.onMediaEncrypted = this._onMediaEncrypted.bind(this), this.onWaitingForKey = this._onWaitingForKey.bind(this), this.debug = O.debug.bind(O, ni), this.log = O.log.bind(O, ni), this.warn = O.warn.bind(O, ni), this.error = O.error.bind(O, ni), this.hls = e, this.config = e.config, this.registerListeners();
|
|
20399
20399
|
}
|
|
20400
20400
|
destroy() {
|
|
20401
20401
|
this.unregisterListeners(), this.onMediaDetached();
|
|
@@ -20893,7 +20893,7 @@ class Bs {
|
|
|
20893
20893
|
const e = this.media, t = this.mediaKeySessions;
|
|
20894
20894
|
e && (e.removeEventListener("encrypted", this.onMediaEncrypted), e.removeEventListener("waitingforkey", this.onWaitingForKey), this.media = null), this._requestLicenseFailureCount = 0, this.setMediaKeysQueue = [], this.mediaKeySessions = [], this.keyIdToKeySessionPromise = {}, kr.clearKeyUriToKeyIdMap();
|
|
20895
20895
|
const s = t.length;
|
|
20896
|
-
|
|
20896
|
+
Gs.CDMCleanupPromise = Promise.all(t.map((r) => this.removeSession(r)).concat(e == null ? void 0 : e.setMediaKeys(null).catch((r) => {
|
|
20897
20897
|
this.log(`Could not clear media keys: ${r}`);
|
|
20898
20898
|
}))).then(() => {
|
|
20899
20899
|
s && (this.log("finished closing key sessions and clearing media keys"), t.length = 0);
|
|
@@ -20928,7 +20928,7 @@ class Bs {
|
|
|
20928
20928
|
}
|
|
20929
20929
|
}
|
|
20930
20930
|
}
|
|
20931
|
-
|
|
20931
|
+
Gs.CDMCleanupPromise = void 0;
|
|
20932
20932
|
class Ft extends Error {
|
|
20933
20933
|
constructor(e, t) {
|
|
20934
20934
|
super(t), this.data = void 0, e.error || (e.error = new Error(t)), this.data = e, e.err = e.error;
|
|
@@ -20938,10 +20938,10 @@ var mt;
|
|
|
20938
20938
|
(function(n) {
|
|
20939
20939
|
n.MANIFEST = "m", n.AUDIO = "a", n.VIDEO = "v", n.MUXED = "av", n.INIT = "i", n.CAPTION = "c", n.TIMED_TEXT = "tt", n.KEY = "k", n.OTHER = "o";
|
|
20940
20940
|
})(mt || (mt = {}));
|
|
20941
|
-
var
|
|
20941
|
+
var Ba;
|
|
20942
20942
|
(function(n) {
|
|
20943
20943
|
n.DASH = "d", n.HLS = "h", n.SMOOTH = "s", n.OTHER = "o";
|
|
20944
|
-
})(
|
|
20944
|
+
})(Ba || (Ba = {}));
|
|
20945
20945
|
var as;
|
|
20946
20946
|
(function(n) {
|
|
20947
20947
|
n.OBJECT = "CMCD-Object", n.REQUEST = "CMCD-Request", n.SESSION = "CMCD-Session", n.STATUS = "CMCD-Status";
|
|
@@ -20997,7 +20997,7 @@ function Em(n) {
|
|
|
20997
20997
|
throw vn(n, FC);
|
|
20998
20998
|
return n.toString();
|
|
20999
20999
|
}
|
|
21000
|
-
function
|
|
21000
|
+
function GC(n) {
|
|
21001
21001
|
return `@${Em(n.getTime() / 1e3)}`;
|
|
21002
21002
|
}
|
|
21003
21003
|
function Am(n, e) {
|
|
@@ -21010,7 +21010,7 @@ function Am(n, e) {
|
|
|
21010
21010
|
} else
|
|
21011
21011
|
return Math.round(n * t) / t;
|
|
21012
21012
|
}
|
|
21013
|
-
function
|
|
21013
|
+
function BC(n) {
|
|
21014
21014
|
const e = Am(n, 3);
|
|
21015
21015
|
if (Math.floor(Math.abs(e)).toString().length > 12)
|
|
21016
21016
|
throw vn(n, PC);
|
|
@@ -21037,7 +21037,7 @@ function Ha(n) {
|
|
|
21037
21037
|
case "number":
|
|
21038
21038
|
if (!te(n))
|
|
21039
21039
|
throw vn(n, id);
|
|
21040
|
-
return Number.isInteger(n) ? Em(n) :
|
|
21040
|
+
return Number.isInteger(n) ? Em(n) : BC(n);
|
|
21041
21041
|
case "string":
|
|
21042
21042
|
return jC(n);
|
|
21043
21043
|
case "symbol":
|
|
@@ -21046,7 +21046,7 @@ function Ha(n) {
|
|
|
21046
21046
|
return UC(n);
|
|
21047
21047
|
case "object":
|
|
21048
21048
|
if (n instanceof Date)
|
|
21049
|
-
return
|
|
21049
|
+
return GC(n);
|
|
21050
21050
|
if (n instanceof Uint8Array)
|
|
21051
21051
|
return VC(n);
|
|
21052
21052
|
if (n instanceof ym)
|
|
@@ -21254,7 +21254,7 @@ class ob {
|
|
|
21254
21254
|
var e;
|
|
21255
21255
|
return {
|
|
21256
21256
|
v: 1,
|
|
21257
|
-
sf:
|
|
21257
|
+
sf: Ba.HLS,
|
|
21258
21258
|
sid: this.sid,
|
|
21259
21259
|
cid: this.cid,
|
|
21260
21260
|
pr: (e = this.media) == null ? void 0 : e.playbackRate,
|
|
@@ -21464,7 +21464,7 @@ class lb {
|
|
|
21464
21464
|
return;
|
|
21465
21465
|
const a = this.hls.nextLoadLevel, l = this.hls.levels[a];
|
|
21466
21466
|
if (t = this.getLevelsForPathway(o), t.length > 0) {
|
|
21467
|
-
this.log(`Setting Pathway to "${o}"`), this.pathwayId = o,
|
|
21467
|
+
this.log(`Setting Pathway to "${o}"`), this.pathwayId = o, Bh(t), this.hls.trigger(A.LEVELS_UPDATED, {
|
|
21468
21468
|
levels: t
|
|
21469
21469
|
});
|
|
21470
21470
|
const c = this.hls.levels[a];
|
|
@@ -21713,7 +21713,7 @@ class Tm {
|
|
|
21713
21713
|
data: void 0,
|
|
21714
21714
|
code: o
|
|
21715
21715
|
};
|
|
21716
|
-
|
|
21716
|
+
Gi(l, c, !1, u) ? this.retry(l) : (O.error(`${o} while loading ${e.url}`), this.callbacks.onError({
|
|
21717
21717
|
code: o,
|
|
21718
21718
|
text: t.statusText
|
|
21719
21719
|
}, e, t, s));
|
|
@@ -21723,7 +21723,7 @@ class Tm {
|
|
|
21723
21723
|
loadtimeout() {
|
|
21724
21724
|
var e;
|
|
21725
21725
|
const t = (e = this.config) == null ? void 0 : e.loadPolicy.timeoutRetry, s = this.stats.retry;
|
|
21726
|
-
if (
|
|
21726
|
+
if (Gi(t, s, !0))
|
|
21727
21727
|
this.retry(t);
|
|
21728
21728
|
else {
|
|
21729
21729
|
var r;
|
|
@@ -22144,7 +22144,7 @@ const vb = /\s/, yb = {
|
|
|
22144
22144
|
timelineController: SC,
|
|
22145
22145
|
audioStreamController: qT,
|
|
22146
22146
|
audioTrackController: YT,
|
|
22147
|
-
emeController:
|
|
22147
|
+
emeController: Gs,
|
|
22148
22148
|
cmcdController: ob,
|
|
22149
22149
|
contentSteeringController: lb
|
|
22150
22150
|
});
|
|
@@ -22518,7 +22518,7 @@ class Rb extends Il {
|
|
|
22518
22518
|
removeLevel(e) {
|
|
22519
22519
|
var t;
|
|
22520
22520
|
const s = this._levels.filter((r, i) => i !== e ? !0 : (this.steering && this.steering.removeLevel(r), r === this.currentLevel && (this.currentLevel = null, this.currentLevelIndex = -1, r.details && r.details.fragments.forEach((o) => o.level = -1)), !1));
|
|
22521
|
-
|
|
22521
|
+
Bh(s), this._levels = s, this.currentLevelIndex > -1 && (t = this.currentLevel) != null && t.details && (this.currentLevelIndex = this.currentLevel.details.fragments[0].level), this.hls.trigger(A.LEVELS_UPDATED, {
|
|
22522
22522
|
levels: s
|
|
22523
22523
|
});
|
|
22524
22524
|
}
|
|
@@ -22979,16 +22979,16 @@ class Fb extends Ol {
|
|
|
22979
22979
|
let r = s.startLevel;
|
|
22980
22980
|
r === -1 && (s.config.testBandwidth && this.levels.length > 1 ? (r = 0, this.bitrateTest = !0) : r = s.firstAutoLevel), s.nextLoadLevel = r, this.level = s.loadLevel, this.loadedmetadata = !1;
|
|
22981
22981
|
}
|
|
22982
|
-
t > 0 && e === -1 && (this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`), e = t), this.state =
|
|
22982
|
+
t > 0 && e === -1 && (this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`), e = t), this.state = G.IDLE, this.nextLoadPosition = this.startPosition = this.lastCurrentTime = e, this.tick();
|
|
22983
22983
|
} else
|
|
22984
|
-
this._forceStartLoad = !0, this.state =
|
|
22984
|
+
this._forceStartLoad = !0, this.state = G.STOPPED;
|
|
22985
22985
|
}
|
|
22986
22986
|
stopLoad() {
|
|
22987
22987
|
this._forceStartLoad = !1, super.stopLoad();
|
|
22988
22988
|
}
|
|
22989
22989
|
doTick() {
|
|
22990
22990
|
switch (this.state) {
|
|
22991
|
-
case
|
|
22991
|
+
case G.WAITING_LEVEL: {
|
|
22992
22992
|
const {
|
|
22993
22993
|
levels: t,
|
|
22994
22994
|
level: s
|
|
@@ -22996,15 +22996,15 @@ class Fb extends Ol {
|
|
|
22996
22996
|
if (i && (!i.live || this.levelLastLoaded === r)) {
|
|
22997
22997
|
if (this.waitForCdnTuneIn(i))
|
|
22998
22998
|
break;
|
|
22999
|
-
this.state =
|
|
22999
|
+
this.state = G.IDLE;
|
|
23000
23000
|
break;
|
|
23001
23001
|
} else if (this.hls.nextLoadLevel !== this.level) {
|
|
23002
|
-
this.state =
|
|
23002
|
+
this.state = G.IDLE;
|
|
23003
23003
|
break;
|
|
23004
23004
|
}
|
|
23005
23005
|
break;
|
|
23006
23006
|
}
|
|
23007
|
-
case
|
|
23007
|
+
case G.FRAG_LOADING_WAITING_RETRY:
|
|
23008
23008
|
{
|
|
23009
23009
|
var e;
|
|
23010
23010
|
const t = self.performance.now(), s = this.retryDate;
|
|
@@ -23013,12 +23013,12 @@ class Fb extends Ol {
|
|
|
23013
23013
|
levels: r,
|
|
23014
23014
|
level: i
|
|
23015
23015
|
} = this, o = r == null ? void 0 : r[i];
|
|
23016
|
-
this.resetStartWhenNotLoaded(o || null), this.state =
|
|
23016
|
+
this.resetStartWhenNotLoaded(o || null), this.state = G.IDLE;
|
|
23017
23017
|
}
|
|
23018
23018
|
}
|
|
23019
23019
|
break;
|
|
23020
23020
|
}
|
|
23021
|
-
this.state ===
|
|
23021
|
+
this.state === G.IDLE && this.doTickIdle(), this.onTickEnd();
|
|
23022
23022
|
}
|
|
23023
23023
|
onTickEnd() {
|
|
23024
23024
|
super.onTickEnd(), this.checkBuffer(), this.checkFragmentChanged();
|
|
@@ -23041,13 +23041,13 @@ class Fb extends Ol {
|
|
|
23041
23041
|
const l = this.getLevelDetails();
|
|
23042
23042
|
if (l && this._streamEnded(a, l)) {
|
|
23043
23043
|
const g = {};
|
|
23044
|
-
this.altAudio && (g.type = "video"), this.hls.trigger(A.BUFFER_EOS, g), this.state =
|
|
23044
|
+
this.altAudio && (g.type = "video"), this.hls.trigger(A.BUFFER_EOS, g), this.state = G.ENDED;
|
|
23045
23045
|
return;
|
|
23046
23046
|
}
|
|
23047
23047
|
e.loadLevel !== i && e.manualLevel === -1 && this.log(`Adapting to level ${i} from level ${this.level}`), this.level = e.nextLoadLevel = i;
|
|
23048
23048
|
const c = o.details;
|
|
23049
|
-
if (!c || this.state ===
|
|
23050
|
-
this.level = i, this.state =
|
|
23049
|
+
if (!c || this.state === G.WAITING_LEVEL || c.live && this.levelLastLoaded !== o) {
|
|
23050
|
+
this.level = i, this.state = G.WAITING_LEVEL;
|
|
23051
23051
|
return;
|
|
23052
23052
|
}
|
|
23053
23053
|
const u = a.len, d = this.getMaxBufferLength(o.maxBitrate);
|
|
@@ -23130,12 +23130,12 @@ class Fb extends Ol {
|
|
|
23130
23130
|
abortCurrentFrag() {
|
|
23131
23131
|
const e = this.fragCurrent;
|
|
23132
23132
|
switch (this.fragCurrent = null, this.backtrackFragment = null, e && (e.abortRequests(), this.fragmentTracker.removeFragment(e)), this.state) {
|
|
23133
|
-
case
|
|
23134
|
-
case
|
|
23135
|
-
case
|
|
23136
|
-
case
|
|
23137
|
-
case
|
|
23138
|
-
this.state =
|
|
23133
|
+
case G.KEY_LOADING:
|
|
23134
|
+
case G.FRAG_LOADING:
|
|
23135
|
+
case G.FRAG_LOADING_WAITING_RETRY:
|
|
23136
|
+
case G.PARSING:
|
|
23137
|
+
case G.PARSED:
|
|
23138
|
+
this.state = G.IDLE;
|
|
23139
23139
|
break;
|
|
23140
23140
|
}
|
|
23141
23141
|
this.nextLoadPosition = this.getLoadPosition();
|
|
@@ -23181,10 +23181,10 @@ class Fb extends Ol {
|
|
|
23181
23181
|
const {
|
|
23182
23182
|
levels: s
|
|
23183
23183
|
} = this;
|
|
23184
|
-
if (!s || this.state !==
|
|
23184
|
+
if (!s || this.state !== G.IDLE)
|
|
23185
23185
|
return;
|
|
23186
23186
|
const r = s[t.level];
|
|
23187
|
-
(!r.details || r.details.live && this.levelLastLoaded !== r || this.waitForCdnTuneIn(r.details)) && (this.state =
|
|
23187
|
+
(!r.details || r.details.live && this.levelLastLoaded !== r || this.waitForCdnTuneIn(r.details)) && (this.state = G.WAITING_LEVEL);
|
|
23188
23188
|
}
|
|
23189
23189
|
onLevelLoaded(e, t) {
|
|
23190
23190
|
var s;
|
|
@@ -23197,7 +23197,7 @@ class Fb extends Ol {
|
|
|
23197
23197
|
}
|
|
23198
23198
|
this.log(`Level ${i} loaded [${o.startSN},${o.endSN}]${o.lastPartSn ? `[part-${o.lastPartSn}-${o.lastPartIndex}]` : ""}, cc [${o.startCC}, ${o.endCC}] duration:${a}`);
|
|
23199
23199
|
const l = r[i], c = this.fragCurrent;
|
|
23200
|
-
c && (this.state ===
|
|
23200
|
+
c && (this.state === G.FRAG_LOADING || this.state === G.FRAG_LOADING_WAITING_RETRY) && c.level !== t.level && c.loader && this.abortCurrentFrag();
|
|
23201
23201
|
let u = 0;
|
|
23202
23202
|
if (o.live || (s = l.details) != null && s.live) {
|
|
23203
23203
|
var d;
|
|
@@ -23208,10 +23208,10 @@ class Fb extends Ol {
|
|
|
23208
23208
|
if (l.details = o, this.levelLastLoaded = l, this.hls.trigger(A.LEVEL_UPDATED, {
|
|
23209
23209
|
details: o,
|
|
23210
23210
|
level: i
|
|
23211
|
-
}), this.state ===
|
|
23211
|
+
}), this.state === G.WAITING_LEVEL) {
|
|
23212
23212
|
if (this.waitForCdnTuneIn(o))
|
|
23213
23213
|
return;
|
|
23214
|
-
this.state =
|
|
23214
|
+
this.state = G.IDLE;
|
|
23215
23215
|
}
|
|
23216
23216
|
this.startFragRequested ? o.live && this.synchronizeToLiveEdge(o) : this.setStartPosition(o, u), this.tick();
|
|
23217
23217
|
}
|
|
@@ -23284,7 +23284,7 @@ class Fb extends Ol {
|
|
|
23284
23284
|
if (s && s.type !== le.MAIN)
|
|
23285
23285
|
return;
|
|
23286
23286
|
if (this.fragContextChanged(s)) {
|
|
23287
|
-
this.warn(`Fragment ${s.sn}${r ? " p: " + r.index : ""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`), this.state ===
|
|
23287
|
+
this.warn(`Fragment ${s.sn}${r ? " p: " + r.index : ""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`), this.state === G.PARSED && (this.state = G.IDLE);
|
|
23288
23288
|
return;
|
|
23289
23289
|
}
|
|
23290
23290
|
const i = r ? r.stats : s.stats;
|
|
@@ -23293,7 +23293,7 @@ class Fb extends Ol {
|
|
|
23293
23293
|
onError(e, t) {
|
|
23294
23294
|
var s;
|
|
23295
23295
|
if (t.fatal) {
|
|
23296
|
-
this.state =
|
|
23296
|
+
this.state = G.ERROR;
|
|
23297
23297
|
return;
|
|
23298
23298
|
}
|
|
23299
23299
|
switch (t.details) {
|
|
@@ -23309,7 +23309,7 @@ class Fb extends Ol {
|
|
|
23309
23309
|
case M.LEVEL_LOAD_ERROR:
|
|
23310
23310
|
case M.LEVEL_LOAD_TIMEOUT:
|
|
23311
23311
|
case M.LEVEL_PARSING_ERROR:
|
|
23312
|
-
!t.levelRetry && this.state ===
|
|
23312
|
+
!t.levelRetry && this.state === G.WAITING_LEVEL && ((s = t.context) == null ? void 0 : s.type) === Re.LEVEL && (this.state = G.IDLE);
|
|
23313
23313
|
break;
|
|
23314
23314
|
case M.BUFFER_APPEND_ERROR:
|
|
23315
23315
|
case M.BUFFER_FULL_ERROR:
|
|
@@ -23334,14 +23334,14 @@ class Fb extends Ol {
|
|
|
23334
23334
|
} = this;
|
|
23335
23335
|
if (!(!e || !t || !e.readyState)) {
|
|
23336
23336
|
if (this.loadedmetadata || !He.getBuffered(e).length) {
|
|
23337
|
-
const s = this.state !==
|
|
23337
|
+
const s = this.state !== G.IDLE ? this.fragCurrent : null;
|
|
23338
23338
|
t.poll(this.lastCurrentTime, s);
|
|
23339
23339
|
}
|
|
23340
23340
|
this.lastCurrentTime = e.currentTime;
|
|
23341
23341
|
}
|
|
23342
23342
|
}
|
|
23343
23343
|
onFragLoadEmergencyAborted() {
|
|
23344
|
-
this.state =
|
|
23344
|
+
this.state = G.IDLE, this.loadedmetadata || (this.startFragRequested = !1, this.nextLoadPosition = this.startPosition), this.tickImmediate();
|
|
23345
23345
|
}
|
|
23346
23346
|
onBufferFlushed(e, {
|
|
23347
23347
|
type: t
|
|
@@ -23388,7 +23388,7 @@ class Fb extends Ol {
|
|
|
23388
23388
|
} = this;
|
|
23389
23389
|
if (!s || this.fragContextChanged(e))
|
|
23390
23390
|
return;
|
|
23391
|
-
t.fragmentError = 0, this.state =
|
|
23391
|
+
t.fragmentError = 0, this.state = G.IDLE, this.startFragRequested = !1, this.bitrateTest = !1;
|
|
23392
23392
|
const i = e.stats;
|
|
23393
23393
|
i.parsing.start = i.parsing.end = i.buffering.start = i.buffering.end = self.performance.now(), r.trigger(A.FRAG_LOADED, s), e.bitrateTest = !1;
|
|
23394
23394
|
});
|
|
@@ -23421,7 +23421,7 @@ class Fb extends Ol {
|
|
|
23421
23421
|
this.fragmentTracker.removeFragment(l);
|
|
23422
23422
|
return;
|
|
23423
23423
|
}
|
|
23424
|
-
if (this.state =
|
|
23424
|
+
if (this.state = G.PARSING, m) {
|
|
23425
23425
|
if (m != null && m.tracks) {
|
|
23426
23426
|
const v = l.initSegment || l;
|
|
23427
23427
|
this._bufferInitSegment(u, m.tracks, v, o), r.trigger(A.FRAG_PARSING_INIT_SEGMENT, {
|
|
@@ -23509,7 +23509,7 @@ class Fb extends Ol {
|
|
|
23509
23509
|
}
|
|
23510
23510
|
}
|
|
23511
23511
|
_bufferInitSegment(e, t, s, r) {
|
|
23512
|
-
if (this.state !==
|
|
23512
|
+
if (this.state !== G.PARSING)
|
|
23513
23513
|
return;
|
|
23514
23514
|
this.audioOnly = !!t.audio && !t.video, this.altAudio && !this.audioOnly && delete t.audio;
|
|
23515
23515
|
const {
|
|
@@ -23538,7 +23538,7 @@ class Fb extends Ol {
|
|
|
23538
23538
|
return this.getFwdBufferInfo(this.mediaBuffer ? this.mediaBuffer : this.media, le.MAIN);
|
|
23539
23539
|
}
|
|
23540
23540
|
backtrack(e) {
|
|
23541
|
-
this.couldBacktrack = !0, this.backtrackFragment = e, this.resetTransmuxer(), this.flushBufferGap(e), this.fragmentTracker.removeFragment(e), this.fragPrevious = null, this.nextLoadPosition = e.start, this.state =
|
|
23541
|
+
this.couldBacktrack = !0, this.backtrackFragment = e, this.resetTransmuxer(), this.flushBufferGap(e), this.fragmentTracker.removeFragment(e), this.fragPrevious = null, this.nextLoadPosition = e.start, this.state = G.IDLE;
|
|
23542
23542
|
}
|
|
23543
23543
|
checkFragmentChanged() {
|
|
23544
23544
|
const e = this.media;
|
|
@@ -24203,7 +24203,7 @@ const kb = /* @__PURE__ */ fe({
|
|
|
24203
24203
|
]);
|
|
24204
24204
|
};
|
|
24205
24205
|
}
|
|
24206
|
-
}), Mb = { class: "flex items-center bg-gray-500 rounded-xl" }, Db = { class: "px-2 border-r" }, Nb = /* @__PURE__ */ z("br", null, null, -1), Ub = { class: "px-2" }, zb = /* @__PURE__ */ z("br", null, null, -1), Vb = { class: "flex items-center bg-gray-700 rounded-xl" },
|
|
24206
|
+
}), Mb = { class: "flex items-center bg-gray-500 rounded-xl" }, Db = { class: "px-2 border-r" }, Nb = /* @__PURE__ */ z("br", null, null, -1), Ub = { class: "px-2" }, zb = /* @__PURE__ */ z("br", null, null, -1), Vb = { class: "flex items-center bg-gray-700 rounded-xl" }, Gb = { class: "px-2 border-r" }, Bb = /* @__PURE__ */ z("br", null, null, -1), Hb = { class: "px-2" }, jb = /* @__PURE__ */ z("br", null, null, -1), Wb = /* @__PURE__ */ fe({
|
|
24207
24207
|
__name: "ControlChangeTimecode",
|
|
24208
24208
|
props: {
|
|
24209
24209
|
modelValue: {}
|
|
@@ -24242,14 +24242,14 @@ const kb = /* @__PURE__ */ fe({
|
|
|
24242
24242
|
])
|
|
24243
24243
|
]),
|
|
24244
24244
|
z("div", Vb, [
|
|
24245
|
-
z("div",
|
|
24245
|
+
z("div", Gb, [
|
|
24246
24246
|
ye(s, {
|
|
24247
24247
|
class: "!p-0 w-16 h-16 !bg-gray-700 !text-sm !text-background",
|
|
24248
24248
|
onClick: t[2] || (t[2] = (r) => e.$emit("update:modelValue", -5))
|
|
24249
24249
|
}, {
|
|
24250
24250
|
default: Pe(() => [
|
|
24251
24251
|
gt(" - 5 "),
|
|
24252
|
-
|
|
24252
|
+
Bb,
|
|
24253
24253
|
gt(" SEC ")
|
|
24254
24254
|
]),
|
|
24255
24255
|
_: 1
|
|
@@ -24777,10 +24777,10 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
|
|
|
24777
24777
|
}, VI = {
|
|
24778
24778
|
key: 1,
|
|
24779
24779
|
class: "text-5xl font-bold mt-4 text-center"
|
|
24780
|
-
},
|
|
24780
|
+
}, GI = {
|
|
24781
24781
|
key: 2,
|
|
24782
24782
|
class: "flex items-center justify-center font-bold mt-4 text-center"
|
|
24783
|
-
},
|
|
24783
|
+
}, BI = { class: "flex items-center text-4xl" }, HI = { class: "text-5xl" }, jI = /* @__PURE__ */ fe({
|
|
24784
24784
|
__name: "SpashVideoOptionsBuzzItem",
|
|
24785
24785
|
props: {
|
|
24786
24786
|
event: {},
|
|
@@ -24814,8 +24814,8 @@ const MI = /* @__PURE__ */ we(wI, [["render", kI]]), DI = { class: "relative min
|
|
|
24814
24814
|
z("p", UI, Ie(a.value), 1),
|
|
24815
24815
|
H(t).type === "goal" ? (N(), W("p", zI, Ie(l.value), 1)) : Ve("", !0),
|
|
24816
24816
|
H(t).type === "game" ? (N(), W("p", VI, Ie((p = H(t)) == null ? void 0 : p.currentScoreHome[(g = H(t)) == null ? void 0 : g.currentSet]) + " - " + Ie((E = H(t)) == null ? void 0 : E.currentScoreAway[(y = H(t)) == null ? void 0 : y.currentSet]), 1)) : Ve("", !0),
|
|
24817
|
-
H(t).type === "new_set" ? (N(), W("div",
|
|
24818
|
-
z("p",
|
|
24817
|
+
H(t).type === "new_set" ? (N(), W("div", GI, [
|
|
24818
|
+
z("p", BI, Ie(((v = H(t)) == null ? void 0 : v.currentSet) + 1), 1),
|
|
24819
24819
|
ye(h, { class: "w-8 h-8 mx-2" }),
|
|
24820
24820
|
z("p", HI, Ie(((x = H(t)) == null ? void 0 : x.currentSet) + 2), 1)
|
|
24821
24821
|
])) : Ve("", !0),
|
|
@@ -25961,7 +25961,7 @@ var vs;
|
|
|
25961
25961
|
e.Mode = t;
|
|
25962
25962
|
})(n.QrSegment || (n.QrSegment = {}));
|
|
25963
25963
|
})(vs || (vs = {}));
|
|
25964
|
-
var Ds = vs, Om = "H",
|
|
25964
|
+
var Ds = vs, Om = "H", Gl = {
|
|
25965
25965
|
L: Ds.QrCode.Ecc.LOW,
|
|
25966
25966
|
M: Ds.QrCode.Ecc.MEDIUM,
|
|
25967
25967
|
Q: Ds.QrCode.Ecc.QUARTILE,
|
|
@@ -25975,7 +25975,7 @@ var Ds = vs, Om = "H", Bl = {
|
|
|
25975
25975
|
return !0;
|
|
25976
25976
|
}();
|
|
25977
25977
|
function Pm(n) {
|
|
25978
|
-
return n in
|
|
25978
|
+
return n in Gl;
|
|
25979
25979
|
}
|
|
25980
25980
|
function Fm(n, e) {
|
|
25981
25981
|
e === void 0 && (e = 0);
|
|
@@ -25997,7 +25997,7 @@ function Fm(n, e) {
|
|
|
25997
25997
|
});
|
|
25998
25998
|
}), t.join("");
|
|
25999
25999
|
}
|
|
26000
|
-
var
|
|
26000
|
+
var Bl = {
|
|
26001
26001
|
value: {
|
|
26002
26002
|
type: String,
|
|
26003
26003
|
required: !0,
|
|
@@ -26027,7 +26027,7 @@ var Gl = {
|
|
|
26027
26027
|
required: !1,
|
|
26028
26028
|
default: 0
|
|
26029
26029
|
}
|
|
26030
|
-
}, CL = Wi(Wi({},
|
|
26030
|
+
}, CL = Wi(Wi({}, Bl), { renderAs: {
|
|
26031
26031
|
type: String,
|
|
26032
26032
|
required: !1,
|
|
26033
26033
|
default: "canvas",
|
|
@@ -26036,10 +26036,10 @@ var Gl = {
|
|
|
26036
26036
|
}
|
|
26037
26037
|
} }), bL = fe({
|
|
26038
26038
|
name: "QRCodeSvg",
|
|
26039
|
-
props:
|
|
26039
|
+
props: Bl,
|
|
26040
26040
|
setup: function(n) {
|
|
26041
26041
|
var e = j(0), t = j(""), s = function() {
|
|
26042
|
-
var r = n.value, i = n.level, o = n.margin, a = Ds.QrCode.encodeText(r,
|
|
26042
|
+
var r = n.value, i = n.level, o = n.margin, a = Ds.QrCode.encodeText(r, Gl[i]).getModules();
|
|
26043
26043
|
e.value = a.length + o * 2, t.value = Fm(a, o);
|
|
26044
26044
|
};
|
|
26045
26045
|
return s(), rf(s), function() {
|
|
@@ -26060,14 +26060,14 @@ var Gl = {
|
|
|
26060
26060
|
}
|
|
26061
26061
|
}), IL = fe({
|
|
26062
26062
|
name: "QRCodeCanvas",
|
|
26063
|
-
props:
|
|
26063
|
+
props: Bl,
|
|
26064
26064
|
setup: function(n) {
|
|
26065
26065
|
var e = j(null), t = function() {
|
|
26066
26066
|
var s = n.value, r = n.level, i = n.size, o = n.margin, a = n.background, l = n.foreground, c = e.value;
|
|
26067
26067
|
if (c) {
|
|
26068
26068
|
var u = c.getContext("2d");
|
|
26069
26069
|
if (u) {
|
|
26070
|
-
var d = Ds.QrCode.encodeText(s,
|
|
26070
|
+
var d = Ds.QrCode.encodeText(s, Gl[r]).getModules(), f = d.length + o * 2, h = window.devicePixelRatio || 1, m = i / f * h;
|
|
26071
26071
|
c.height = c.width = i * h, u.scale(m, m), u.fillStyle = a, u.fillRect(0, 0, f, f), u.fillStyle = l, TL ? u.fill(new Path2D(Fm(d, o))) : d.forEach(function(g, p) {
|
|
26072
26072
|
g.forEach(function(y, E) {
|
|
26073
26073
|
y && u.fillRect(E + o, p + o, 1, 1);
|
|
@@ -26196,7 +26196,7 @@ const zL = mo("string"), Vt = mo("function"), Dm = mo("number"), go = (n) => n !
|
|
|
26196
26196
|
return !1;
|
|
26197
26197
|
const e = Hl(n);
|
|
26198
26198
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in n) && !(Symbol.iterator in n);
|
|
26199
|
-
},
|
|
26199
|
+
}, GL = nn("Date"), BL = nn("File"), HL = nn("Blob"), jL = nn("FileList"), WL = (n) => go(n) && Vt(n.pipe), KL = (n) => {
|
|
26200
26200
|
let e;
|
|
26201
26201
|
return n && (typeof FormData == "function" && n instanceof FormData || Vt(n.append) && ((e = ho(n)) === "formdata" || // detect form-data instance
|
|
26202
26202
|
e === "object" && Vt(n.toString) && n.toString() === "[object FormData]"));
|
|
@@ -26314,11 +26314,11 @@ const _L = (n, e, t, { allOwnKeys: s } = {}) => (zr(e, (r, i) => {
|
|
|
26314
26314
|
};
|
|
26315
26315
|
return $s(n) ? s(n) : s(String(n).split(e)), t;
|
|
26316
26316
|
}, fw = () => {
|
|
26317
|
-
}, hw = (n, e) => n != null && Number.isFinite(n = +n) ? n : e, ea = "abcdefghijklmnopqrstuvwxyz", hd = "0123456789",
|
|
26317
|
+
}, hw = (n, e) => n != null && Number.isFinite(n = +n) ? n : e, ea = "abcdefghijklmnopqrstuvwxyz", hd = "0123456789", Gm = {
|
|
26318
26318
|
DIGIT: hd,
|
|
26319
26319
|
ALPHA: ea,
|
|
26320
26320
|
ALPHA_DIGIT: ea + ea.toUpperCase() + hd
|
|
26321
|
-
}, mw = (n = 16, e =
|
|
26321
|
+
}, mw = (n = 16, e = Gm.ALPHA_DIGIT) => {
|
|
26322
26322
|
let t = "";
|
|
26323
26323
|
const { length: s } = e;
|
|
26324
26324
|
for (; n--; )
|
|
@@ -26361,8 +26361,8 @@ const pw = (n) => {
|
|
|
26361
26361
|
isResponse: QL,
|
|
26362
26362
|
isHeaders: ZL,
|
|
26363
26363
|
isUndefined: Dr,
|
|
26364
|
-
isDate:
|
|
26365
|
-
isFile:
|
|
26364
|
+
isDate: GL,
|
|
26365
|
+
isFile: BL,
|
|
26366
26366
|
isBlob: HL,
|
|
26367
26367
|
isRegExp: cw,
|
|
26368
26368
|
isFunction: Vt,
|
|
@@ -26396,7 +26396,7 @@ const pw = (n) => {
|
|
|
26396
26396
|
findKey: Nm,
|
|
26397
26397
|
global: Um,
|
|
26398
26398
|
isContextDefined: zm,
|
|
26399
|
-
ALPHABET:
|
|
26399
|
+
ALPHABET: Gm,
|
|
26400
26400
|
generateString: mw,
|
|
26401
26401
|
isSpecCompliantForm: gw,
|
|
26402
26402
|
toJSONObject: pw,
|
|
@@ -26427,7 +26427,7 @@ D.inherits(ge, Error, {
|
|
|
26427
26427
|
};
|
|
26428
26428
|
}
|
|
26429
26429
|
});
|
|
26430
|
-
const
|
|
26430
|
+
const Bm = ge.prototype, Hm = {};
|
|
26431
26431
|
[
|
|
26432
26432
|
"ERR_BAD_OPTION_VALUE",
|
|
26433
26433
|
"ERR_BAD_OPTION",
|
|
@@ -26446,9 +26446,9 @@ const Gm = ge.prototype, Hm = {};
|
|
|
26446
26446
|
Hm[n] = { value: n };
|
|
26447
26447
|
});
|
|
26448
26448
|
Object.defineProperties(ge, Hm);
|
|
26449
|
-
Object.defineProperty(
|
|
26449
|
+
Object.defineProperty(Bm, "isAxiosError", { value: !0 });
|
|
26450
26450
|
ge.from = (n, e, t, s, r, i) => {
|
|
26451
|
-
const o = Object.create(
|
|
26451
|
+
const o = Object.create(Bm);
|
|
26452
26452
|
return D.toFlatObject(n, o, function(l) {
|
|
26453
26453
|
return l !== Error.prototype;
|
|
26454
26454
|
}, (a) => a !== "isAxiosError"), ge.call(o, n.message, e, t, s, r), o.cause = n, o.name = n.name, i && Object.assign(o, i), o;
|
|
@@ -26820,7 +26820,7 @@ function ta(n, e, t, s, r) {
|
|
|
26820
26820
|
function Vw(n) {
|
|
26821
26821
|
return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, s) => t.toUpperCase() + s);
|
|
26822
26822
|
}
|
|
26823
|
-
function
|
|
26823
|
+
function Gw(n, e) {
|
|
26824
26824
|
const t = D.toCamelCase(" " + e);
|
|
26825
26825
|
["get", "set", "has"].forEach((s) => {
|
|
26826
26826
|
Object.defineProperty(n, s + t, {
|
|
@@ -26944,7 +26944,7 @@ class Lt {
|
|
|
26944
26944
|
}).accessors, r = this.prototype;
|
|
26945
26945
|
function i(o) {
|
|
26946
26946
|
const a = fr(o);
|
|
26947
|
-
s[a] || (
|
|
26947
|
+
s[a] || (Gw(r, o), s[a] = !0);
|
|
26948
26948
|
}
|
|
26949
26949
|
return D.isArray(e) ? e.forEach(i) : i(e), this;
|
|
26950
26950
|
}
|
|
@@ -26986,7 +26986,7 @@ function Qm(n, e, t) {
|
|
|
26986
26986
|
t
|
|
26987
26987
|
));
|
|
26988
26988
|
}
|
|
26989
|
-
function
|
|
26989
|
+
function Bw(n) {
|
|
26990
26990
|
const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(n);
|
|
26991
26991
|
return e && e[1] || "";
|
|
26992
26992
|
}
|
|
@@ -27240,7 +27240,7 @@ const Jm = (n) => {
|
|
|
27240
27240
|
}), D.isUndefined(r.withCredentials) || (u.withCredentials = !!r.withCredentials), a && a !== "json" && (u.responseType = r.responseType), typeof r.onDownloadProgress == "function" && u.addEventListener("progress", Ki(r.onDownloadProgress, !0)), typeof r.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", Ki(r.onUploadProgress)), (r.cancelToken || r.signal) && (l = (h) => {
|
|
27241
27241
|
u && (s(!h || h.type ? new er(null, n, u) : h), u.abort(), u = null);
|
|
27242
27242
|
}, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
|
|
27243
|
-
const f =
|
|
27243
|
+
const f = Bw(r.url);
|
|
27244
27244
|
if (f && _t.protocols.indexOf(f) === -1) {
|
|
27245
27245
|
s(new ge("Unsupported protocol " + f + ":", ge.ERR_BAD_REQUEST, n));
|
|
27246
27246
|
return;
|
|
@@ -28258,105 +28258,107 @@ const PP = (n) => ({
|
|
|
28258
28258
|
}
|
|
28259
28259
|
}, EO = {
|
|
28260
28260
|
commons: {
|
|
28261
|
-
touchForPlay: "
|
|
28261
|
+
touchForPlay: "Toccare lo schermo per giocare",
|
|
28262
28262
|
hoursAbv: "h",
|
|
28263
28263
|
minutesAbv: "min",
|
|
28264
28264
|
secondsAbv: "s",
|
|
28265
|
-
choose: "
|
|
28266
|
-
hello: "
|
|
28267
|
-
unknown: "
|
|
28268
|
-
toClose: "
|
|
28269
|
-
toConfirm: "
|
|
28270
|
-
toContinue: "
|
|
28271
|
-
toAdd: "
|
|
28272
|
-
all: "
|
|
28273
|
-
hide: "
|
|
28274
|
-
noEvents: "
|
|
28275
|
-
deleteAll: "
|
|
28276
|
-
yes: "
|
|
28277
|
-
no: "
|
|
28265
|
+
choose: "Scegliere",
|
|
28266
|
+
hello: "Ciao",
|
|
28267
|
+
unknown: "Sconosciuto",
|
|
28268
|
+
toClose: "Chiudere",
|
|
28269
|
+
toConfirm: "Confermare",
|
|
28270
|
+
toContinue: "Continua",
|
|
28271
|
+
toAdd: "Aggiungi",
|
|
28272
|
+
all: "Tutti",
|
|
28273
|
+
hide: "Nascondere",
|
|
28274
|
+
noEvents: "Nessuna azione registrata",
|
|
28275
|
+
deleteAll: "Cancellare tutti",
|
|
28276
|
+
yes: "Sì",
|
|
28277
|
+
no: "No",
|
|
28278
28278
|
postmatch: "Postmatch",
|
|
28279
|
-
back: "
|
|
28280
|
-
confirm: "
|
|
28279
|
+
back: "Indietro",
|
|
28280
|
+
confirm: "Confermare",
|
|
28281
28281
|
on: "On",
|
|
28282
28282
|
off: "Off",
|
|
28283
28283
|
groups: {
|
|
28284
|
-
group_A: "
|
|
28285
|
-
group_B: "
|
|
28286
|
-
group_C: "
|
|
28287
|
-
group_D: "
|
|
28288
|
-
group_E: "
|
|
28289
|
-
group_F: "
|
|
28290
|
-
group_G: "
|
|
28291
|
-
group_H: "
|
|
28292
|
-
group_I: "
|
|
28293
|
-
group_J: "
|
|
28294
|
-
group_K: "
|
|
28295
|
-
group_L: "
|
|
28296
|
-
group_M: "
|
|
28297
|
-
group_N: "
|
|
28298
|
-
group_O: "
|
|
28299
|
-
group_P: "
|
|
28300
|
-
group_Q: "
|
|
28301
|
-
group_R: "
|
|
28302
|
-
group_S: "
|
|
28303
|
-
group_T: "
|
|
28304
|
-
group_U: "
|
|
28305
|
-
group_V: "
|
|
28306
|
-
group_W: "
|
|
28307
|
-
group_X: "
|
|
28308
|
-
group_Y: "
|
|
28309
|
-
group_Z: "
|
|
28310
|
-
last_32: "
|
|
28311
|
-
last_16: "
|
|
28312
|
-
quarter_final: "
|
|
28313
|
-
semi_final: "
|
|
28314
|
-
third_place: "3
|
|
28284
|
+
group_A: "Girone 1",
|
|
28285
|
+
group_B: "Girone 2",
|
|
28286
|
+
group_C: "Girone 3",
|
|
28287
|
+
group_D: "Girone 4",
|
|
28288
|
+
group_E: "Girone 5",
|
|
28289
|
+
group_F: "Girone 6",
|
|
28290
|
+
group_G: "Girone 7",
|
|
28291
|
+
group_H: "Girone 8",
|
|
28292
|
+
group_I: "Girone 9",
|
|
28293
|
+
group_J: "Girone 10",
|
|
28294
|
+
group_K: "Girone 11",
|
|
28295
|
+
group_L: "Girone 12",
|
|
28296
|
+
group_M: "Girone 13",
|
|
28297
|
+
group_N: "Girone 14",
|
|
28298
|
+
group_O: "Girone 15",
|
|
28299
|
+
group_P: "Girone 16",
|
|
28300
|
+
group_Q: "Girone 17",
|
|
28301
|
+
group_R: "Girone 18",
|
|
28302
|
+
group_S: "Girone 19",
|
|
28303
|
+
group_T: "Girone 20",
|
|
28304
|
+
group_U: "Girone 21",
|
|
28305
|
+
group_V: "Girone 22",
|
|
28306
|
+
group_W: "Girone 23",
|
|
28307
|
+
group_X: "Girone 24",
|
|
28308
|
+
group_Y: "Girone 25",
|
|
28309
|
+
group_Z: "Girone 26",
|
|
28310
|
+
last_32: "1/16 finale",
|
|
28311
|
+
last_16: "1/8 finale",
|
|
28312
|
+
quarter_final: "Quarti di finale",
|
|
28313
|
+
semi_final: "Semi finali",
|
|
28314
|
+
third_place: "3° posto",
|
|
28315
28315
|
final: "Finale",
|
|
28316
28316
|
last_32_abv: "1 / 16",
|
|
28317
28317
|
last_16_abv: "1 / 8",
|
|
28318
28318
|
quarter_final_abv: "1 / 4",
|
|
28319
28319
|
semi_final_abv: "1 / 2",
|
|
28320
|
-
third_place_abv: "3
|
|
28320
|
+
third_place_abv: "3° posto",
|
|
28321
28321
|
final_abv: "Finale",
|
|
28322
|
-
consolation_last_32: "
|
|
28323
|
-
consolation_last_16: "
|
|
28324
|
-
consolation_quarter_final: "
|
|
28325
|
-
consolation_semi_final: "
|
|
28326
|
-
consolation_third_place: "
|
|
28327
|
-
consolation_final: "
|
|
28322
|
+
consolation_last_32: "Consolazione 1/16 finale",
|
|
28323
|
+
consolation_last_16: "Consolazione 1/8 finale",
|
|
28324
|
+
consolation_quarter_final: "Consolazione Quarti di finale",
|
|
28325
|
+
consolation_semi_final: "Consolazione Semi finali",
|
|
28326
|
+
consolation_third_place: "Consolazione 3° posto",
|
|
28327
|
+
consolation_final: "Consolazione Finale",
|
|
28328
28328
|
consolation_last_32_abv: "C 1 / 16",
|
|
28329
28329
|
consolation_last_16_abv: "C 1 / 8",
|
|
28330
28330
|
consolation_quarter_final_abv: "C 1 / 4",
|
|
28331
28331
|
consolation_semi_final_abv: "C 1 / 2",
|
|
28332
|
-
consolation_third_place_abv: "C 3
|
|
28332
|
+
consolation_third_place_abv: "C 3° posto",
|
|
28333
28333
|
consolation_final_abv: "C Finale"
|
|
28334
28334
|
},
|
|
28335
28335
|
events: {
|
|
28336
|
-
foul: "
|
|
28337
|
-
goal: "
|
|
28338
|
-
game: "
|
|
28339
|
-
new_set: "
|
|
28336
|
+
foul: "Fallo",
|
|
28337
|
+
goal: "Gol",
|
|
28338
|
+
game: "Game",
|
|
28339
|
+
new_set: "Nuovo set"
|
|
28340
28340
|
},
|
|
28341
28341
|
sports: {
|
|
28342
|
-
Football: "
|
|
28342
|
+
Football: "Calcio",
|
|
28343
28343
|
Padel: "Padel",
|
|
28344
|
-
Badminton: "
|
|
28344
|
+
Badminton: "Badminton",
|
|
28345
28345
|
Tennis: "Tennis",
|
|
28346
28346
|
Basketball: "Basket",
|
|
28347
28347
|
Squash: "Squash",
|
|
28348
28348
|
Golf: "Golf",
|
|
28349
|
-
Other: "
|
|
28349
|
+
Other: "Altro"
|
|
28350
28350
|
}
|
|
28351
28351
|
},
|
|
28352
28352
|
components: {
|
|
28353
|
-
|
|
28354
|
-
|
|
28355
|
-
|
|
28356
|
-
|
|
28357
|
-
|
|
28358
|
-
|
|
28359
|
-
|
|
28353
|
+
components: {
|
|
28354
|
+
SpashVideo: {
|
|
28355
|
+
SpashVideoPlayer: {
|
|
28356
|
+
videoError: "Il video non è più disponibile qui, ma è possibile guardarlo sull'applicazione mobile Spash."
|
|
28357
|
+
},
|
|
28358
|
+
SpashVideoOptions: {
|
|
28359
|
+
SpashVideoOptionsBuzz: {
|
|
28360
|
+
resumeAuto: "Auto resume"
|
|
28361
|
+
}
|
|
28360
28362
|
}
|
|
28361
28363
|
}
|
|
28362
28364
|
}
|
|
@@ -28714,7 +28716,7 @@ const _ = "numeric", en = "short", Ot = "long", qi = {
|
|
|
28714
28716
|
second: _,
|
|
28715
28717
|
timeZoneName: Ot
|
|
28716
28718
|
};
|
|
28717
|
-
class
|
|
28719
|
+
class Gr {
|
|
28718
28720
|
/**
|
|
28719
28721
|
* The type of zone
|
|
28720
28722
|
* @abstract
|
|
@@ -28793,7 +28795,7 @@ class Br {
|
|
|
28793
28795
|
}
|
|
28794
28796
|
}
|
|
28795
28797
|
let ia = null;
|
|
28796
|
-
class yo extends
|
|
28798
|
+
class yo extends Gr {
|
|
28797
28799
|
/**
|
|
28798
28800
|
* Get a singleton instance of the local zone
|
|
28799
28801
|
* @return {SystemZone}
|
|
@@ -28870,7 +28872,7 @@ function OO(n, e) {
|
|
|
28870
28872
|
return s;
|
|
28871
28873
|
}
|
|
28872
28874
|
let ri = {};
|
|
28873
|
-
class wn extends
|
|
28875
|
+
class wn extends Gr {
|
|
28874
28876
|
/**
|
|
28875
28877
|
* @param {string} name - Zone name
|
|
28876
28878
|
* @return {IANAZone}
|
|
@@ -29044,10 +29046,10 @@ function ii(n, e, t, s) {
|
|
|
29044
29046
|
const r = n.listingMode();
|
|
29045
29047
|
return r === "error" ? null : r === "en" ? t(e) : s(e);
|
|
29046
29048
|
}
|
|
29047
|
-
function
|
|
29049
|
+
function GO(n) {
|
|
29048
29050
|
return n.numberingSystem && n.numberingSystem !== "latn" ? !1 : n.numberingSystem === "latn" || !n.locale || n.locale.startsWith("en") || new Intl.DateTimeFormat(n.intl).resolvedOptions().numberingSystem === "latn";
|
|
29049
29051
|
}
|
|
29050
|
-
class
|
|
29052
|
+
class BO {
|
|
29051
29053
|
constructor(e, t, s) {
|
|
29052
29054
|
this.padTo = s.padTo || 0, this.floor = s.floor || !1;
|
|
29053
29055
|
const { padTo: r, floor: i, ...o } = s;
|
|
@@ -29144,7 +29146,7 @@ class ze {
|
|
|
29144
29146
|
this.locale = o, this.numberingSystem = t || a || null, this.outputCalendar = s || l || null, this.weekSettings = r, this.intl = UO(this.locale, this.numberingSystem, this.outputCalendar), this.weekdaysCache = { format: {}, standalone: {} }, this.monthsCache = { format: {}, standalone: {} }, this.meridiemCache = null, this.eraCache = {}, this.specifiedLocale = i, this.fastNumbersCached = null;
|
|
29145
29147
|
}
|
|
29146
29148
|
get fastNumbers() {
|
|
29147
|
-
return this.fastNumbersCached == null && (this.fastNumbersCached =
|
|
29149
|
+
return this.fastNumbersCached == null && (this.fastNumbersCached = GO(this)), this.fastNumbersCached;
|
|
29148
29150
|
}
|
|
29149
29151
|
listingMode() {
|
|
29150
29152
|
const e = this.isEnglish(), t = (this.numberingSystem === null || this.numberingSystem === "latn") && (this.outputCalendar === null || this.outputCalendar === "gregory");
|
|
@@ -29196,7 +29198,7 @@ class ze {
|
|
|
29196
29198
|
);
|
|
29197
29199
|
}
|
|
29198
29200
|
eras(e) {
|
|
29199
|
-
return ii(this, e,
|
|
29201
|
+
return ii(this, e, Gg, () => {
|
|
29200
29202
|
const t = { era: e };
|
|
29201
29203
|
return this.eraCache[e] || (this.eraCache[e] = [se.utc(-40, 1, 1), se.utc(2017, 1, 1)].map(
|
|
29202
29204
|
(s) => this.extract(s, t, "era")
|
|
@@ -29208,7 +29210,7 @@ class ze {
|
|
|
29208
29210
|
return o ? o.value : null;
|
|
29209
29211
|
}
|
|
29210
29212
|
numberFormatter(e = {}) {
|
|
29211
|
-
return new
|
|
29213
|
+
return new BO(this.intl, e.forceSimple || this.fastNumbers, e);
|
|
29212
29214
|
}
|
|
29213
29215
|
dtFormatter(e, t = {}) {
|
|
29214
29216
|
return new HO(e, this.intl, t);
|
|
@@ -29239,7 +29241,7 @@ class ze {
|
|
|
29239
29241
|
}
|
|
29240
29242
|
}
|
|
29241
29243
|
let oa = null;
|
|
29242
|
-
class At extends
|
|
29244
|
+
class At extends Gr {
|
|
29243
29245
|
/**
|
|
29244
29246
|
* Get a singleton instance of UTC
|
|
29245
29247
|
* @return {FixedOffsetZone}
|
|
@@ -29310,7 +29312,7 @@ class At extends Br {
|
|
|
29310
29312
|
return !0;
|
|
29311
29313
|
}
|
|
29312
29314
|
}
|
|
29313
|
-
class KO extends
|
|
29315
|
+
class KO extends Gr {
|
|
29314
29316
|
constructor(e) {
|
|
29315
29317
|
super(), this.zoneName = e;
|
|
29316
29318
|
}
|
|
@@ -29350,7 +29352,7 @@ class KO extends Br {
|
|
|
29350
29352
|
function Hn(n, e) {
|
|
29351
29353
|
if (he(n) || n === null)
|
|
29352
29354
|
return e;
|
|
29353
|
-
if (n instanceof
|
|
29355
|
+
if (n instanceof Gr)
|
|
29354
29356
|
return n;
|
|
29355
29357
|
if (YO(n)) {
|
|
29356
29358
|
const t = n.toLowerCase();
|
|
@@ -29519,10 +29521,10 @@ function ql(n, e, t) {
|
|
|
29519
29521
|
return r === 0 ? 7 : r;
|
|
29520
29522
|
}
|
|
29521
29523
|
function bg(n, e, t) {
|
|
29522
|
-
return t + (
|
|
29524
|
+
return t + (Br(n) ? Cg : Tg)[e - 1];
|
|
29523
29525
|
}
|
|
29524
29526
|
function Ig(n, e) {
|
|
29525
|
-
const t =
|
|
29527
|
+
const t = Br(n) ? Cg : Tg, s = t.findIndex((i) => i < e), r = e - t[s];
|
|
29526
29528
|
return { month: s + 1, day: r };
|
|
29527
29529
|
}
|
|
29528
29530
|
function Yl(n, e) {
|
|
@@ -29534,9 +29536,9 @@ function Yi(n, e = 4, t = 1) {
|
|
|
29534
29536
|
return l < 1 ? (c = s - 1, l = Nr(c, e, t)) : l > Nr(s, e, t) ? (c = s + 1, l = 1) : c = s, { weekYear: c, weekNumber: l, weekday: a, ...So(n) };
|
|
29535
29537
|
}
|
|
29536
29538
|
function Nd(n, e = 4, t = 1) {
|
|
29537
|
-
const { weekYear: s, weekNumber: r, weekday: i } = n, o = Yl(ql(s, 1, e), t), a =
|
|
29539
|
+
const { weekYear: s, weekNumber: r, weekday: i } = n, o = Yl(ql(s, 1, e), t), a = Bs(s);
|
|
29538
29540
|
let l = r * 7 + i - o - 7 + e, c;
|
|
29539
|
-
l < 1 ? (c = s - 1, l +=
|
|
29541
|
+
l < 1 ? (c = s - 1, l += Bs(c)) : l > a ? (c = s + 1, l -= Bs(s)) : c = s;
|
|
29540
29542
|
const { month: u, day: d } = Ig(c, l);
|
|
29541
29543
|
return { year: c, month: u, day: d, ...So(n) };
|
|
29542
29544
|
}
|
|
@@ -29570,7 +29572,7 @@ function XO(n, e = 4, t = 1) {
|
|
|
29570
29572
|
return s ? r ? i ? !1 : Ut("weekday", n.weekday) : Ut("week", n.weekNumber) : Ut("weekYear", n.weekYear);
|
|
29571
29573
|
}
|
|
29572
29574
|
function qO(n) {
|
|
29573
|
-
const e = Eo(n.year), t = zt(n.ordinal, 1,
|
|
29575
|
+
const e = Eo(n.year), t = zt(n.ordinal, 1, Bs(n.year));
|
|
29574
29576
|
return e ? t ? !1 : Ut("ordinal", n.ordinal) : Ut("year", n.year);
|
|
29575
29577
|
}
|
|
29576
29578
|
function Lg(n) {
|
|
@@ -29650,7 +29652,7 @@ function et(n, e = 2) {
|
|
|
29650
29652
|
let s;
|
|
29651
29653
|
return t ? s = "-" + ("" + -n).padStart(e, "0") : s = ("" + n).padStart(e, "0"), s;
|
|
29652
29654
|
}
|
|
29653
|
-
function
|
|
29655
|
+
function Bn(n) {
|
|
29654
29656
|
if (!(he(n) || n === null || n === ""))
|
|
29655
29657
|
return parseInt(n, 10);
|
|
29656
29658
|
}
|
|
@@ -29668,15 +29670,15 @@ function Zl(n, e, t = !1) {
|
|
|
29668
29670
|
const s = 10 ** e;
|
|
29669
29671
|
return (t ? Math.trunc : Math.round)(n * s) / s;
|
|
29670
29672
|
}
|
|
29671
|
-
function
|
|
29673
|
+
function Br(n) {
|
|
29672
29674
|
return n % 4 === 0 && (n % 100 !== 0 || n % 400 === 0);
|
|
29673
29675
|
}
|
|
29674
|
-
function
|
|
29675
|
-
return
|
|
29676
|
+
function Bs(n) {
|
|
29677
|
+
return Br(n) ? 366 : 365;
|
|
29676
29678
|
}
|
|
29677
29679
|
function Qi(n, e) {
|
|
29678
29680
|
const t = _O(e - 1, 12) + 1, s = n + (e - t) / 12;
|
|
29679
|
-
return t === 2 ?
|
|
29681
|
+
return t === 2 ? Br(s) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][t - 1];
|
|
29680
29682
|
}
|
|
29681
29683
|
function Ao(n) {
|
|
29682
29684
|
let e = Date.UTC(
|
|
@@ -29690,12 +29692,12 @@ function Ao(n) {
|
|
|
29690
29692
|
);
|
|
29691
29693
|
return n.year < 100 && n.year >= 0 && (e = new Date(e), e.setUTCFullYear(n.year, n.month - 1, n.day)), +e;
|
|
29692
29694
|
}
|
|
29693
|
-
function
|
|
29695
|
+
function Gd(n, e, t) {
|
|
29694
29696
|
return -Yl(ql(n, 1, e), t) + e - 1;
|
|
29695
29697
|
}
|
|
29696
29698
|
function Nr(n, e = 4, t = 1) {
|
|
29697
|
-
const s =
|
|
29698
|
-
return (
|
|
29699
|
+
const s = Gd(n, e, t), r = Gd(n + 1, e, t);
|
|
29700
|
+
return (Bs(n) - s + r) / 7;
|
|
29699
29701
|
}
|
|
29700
29702
|
function sl(n) {
|
|
29701
29703
|
return n > 99 ? n : n > $e.twoDigitCutoffYear ? 1900 + n : 2e3 + n;
|
|
@@ -29819,7 +29821,7 @@ function zg(n) {
|
|
|
29819
29821
|
}
|
|
29820
29822
|
}
|
|
29821
29823
|
const Vg = ["AM", "PM"], n3 = ["Before Christ", "Anno Domini"], s3 = ["BC", "AD"], r3 = ["B", "A"];
|
|
29822
|
-
function
|
|
29824
|
+
function Gg(n) {
|
|
29823
29825
|
switch (n) {
|
|
29824
29826
|
case "narrow":
|
|
29825
29827
|
return [...r3];
|
|
@@ -29841,7 +29843,7 @@ function a3(n, e) {
|
|
|
29841
29843
|
return Dg(e)[n.month - 1];
|
|
29842
29844
|
}
|
|
29843
29845
|
function l3(n, e) {
|
|
29844
|
-
return
|
|
29846
|
+
return Gg(e)[n.year < 0 ? 0 : 1];
|
|
29845
29847
|
}
|
|
29846
29848
|
function c3(n, e, t = "always", s = !1) {
|
|
29847
29849
|
const r = {
|
|
@@ -29868,7 +29870,7 @@ function c3(n, e, t = "always", s = !1) {
|
|
|
29868
29870
|
const o = Object.is(e, -0) || e < 0, a = Math.abs(e), l = a === 1, c = r[n], u = s ? l ? c[1] : c[2] || c[1] : l ? r[n][0] : n;
|
|
29869
29871
|
return o ? `${a} ${u} ago` : `in ${a} ${u}`;
|
|
29870
29872
|
}
|
|
29871
|
-
function
|
|
29873
|
+
function Bd(n, e) {
|
|
29872
29874
|
let t = "";
|
|
29873
29875
|
for (const s of n)
|
|
29874
29876
|
s.literal ? t += s.val : t += e(s.val);
|
|
@@ -30073,7 +30075,7 @@ class pt {
|
|
|
30073
30075
|
return u(h);
|
|
30074
30076
|
}
|
|
30075
30077
|
};
|
|
30076
|
-
return
|
|
30078
|
+
return Bd(pt.parseFormat(t), f);
|
|
30077
30079
|
}
|
|
30078
30080
|
formatDurationFromString(e, t) {
|
|
30079
30081
|
const s = (l) => {
|
|
@@ -30104,10 +30106,10 @@ class pt {
|
|
|
30104
30106
|
(l, { literal: c, val: u }) => c ? l : l.concat(u),
|
|
30105
30107
|
[]
|
|
30106
30108
|
), a = e.shiftTo(...o.map(s).filter((l) => l));
|
|
30107
|
-
return
|
|
30109
|
+
return Bd(i, r(a));
|
|
30108
30110
|
}
|
|
30109
30111
|
}
|
|
30110
|
-
const
|
|
30112
|
+
const Bg = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
|
30111
30113
|
function tr(...n) {
|
|
30112
30114
|
const e = n.reduce((t, s) => t + s.source, "");
|
|
30113
30115
|
return RegExp(`^${e}$`);
|
|
@@ -30136,16 +30138,16 @@ function Hg(...n) {
|
|
|
30136
30138
|
const s = {};
|
|
30137
30139
|
let r;
|
|
30138
30140
|
for (r = 0; r < n.length; r++)
|
|
30139
|
-
s[n[r]] =
|
|
30141
|
+
s[n[r]] = Bn(e[t + r]);
|
|
30140
30142
|
return [s, null, t + r];
|
|
30141
30143
|
};
|
|
30142
30144
|
}
|
|
30143
|
-
const jg = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, d3 = `(?:${jg.source}?(?:\\[(${
|
|
30144
|
-
`${Jl.source} ?(?:${jg.source}|(${
|
|
30145
|
+
const jg = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, d3 = `(?:${jg.source}?(?:\\[(${Bg.source})\\])?)?`, Jl = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, Wg = RegExp(`${Jl.source}${d3}`), _l = RegExp(`(?:T${Wg.source})?`), f3 = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, h3 = /(\d{4})-?W(\d\d)(?:-?(\d))?/, m3 = /(\d{4})-?(\d{3})/, g3 = Hg("weekYear", "weekNumber", "weekDay"), p3 = Hg("year", "ordinal"), v3 = /(\d{4})-(\d\d)-(\d\d)/, Kg = RegExp(
|
|
30146
|
+
`${Jl.source} ?(?:${jg.source}|(${Bg.source}))?`
|
|
30145
30147
|
), y3 = RegExp(`(?: ${Kg.source})?`);
|
|
30146
30148
|
function Hs(n, e, t) {
|
|
30147
30149
|
const s = n[e];
|
|
30148
|
-
return he(s) ? t :
|
|
30150
|
+
return he(s) ? t : Bn(s);
|
|
30149
30151
|
}
|
|
30150
30152
|
function E3(n, e) {
|
|
30151
30153
|
return [{
|
|
@@ -30199,13 +30201,13 @@ const R3 = {
|
|
|
30199
30201
|
};
|
|
30200
30202
|
function $l(n, e, t, s, r, i, o) {
|
|
30201
30203
|
const a = {
|
|
30202
|
-
year: e.length === 2 ? sl(
|
|
30204
|
+
year: e.length === 2 ? sl(Bn(e)) : Bn(e),
|
|
30203
30205
|
month: Mg.indexOf(t) + 1,
|
|
30204
|
-
day:
|
|
30205
|
-
hour:
|
|
30206
|
-
minute:
|
|
30206
|
+
day: Bn(s),
|
|
30207
|
+
hour: Bn(r),
|
|
30208
|
+
minute: Bn(i)
|
|
30207
30209
|
};
|
|
30208
|
-
return o && (a.second =
|
|
30210
|
+
return o && (a.second = Bn(o)), n && (a.weekday = n.length > 3 ? Ng.indexOf(n) + 1 : Ug.indexOf(n) + 1), a;
|
|
30209
30211
|
}
|
|
30210
30212
|
const T3 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
|
|
30211
30213
|
function C3(n) {
|
|
@@ -30270,7 +30272,7 @@ function z3(n) {
|
|
|
30270
30272
|
function V3(n) {
|
|
30271
30273
|
return sr(b3(n), [T3, C3]);
|
|
30272
30274
|
}
|
|
30273
|
-
function
|
|
30275
|
+
function G3(n) {
|
|
30274
30276
|
return sr(
|
|
30275
30277
|
n,
|
|
30276
30278
|
[I3, Hd],
|
|
@@ -30278,7 +30280,7 @@ function B3(n) {
|
|
|
30278
30280
|
[w3, O3]
|
|
30279
30281
|
);
|
|
30280
30282
|
}
|
|
30281
|
-
function
|
|
30283
|
+
function B3(n) {
|
|
30282
30284
|
return sr(n, [x3, S3]);
|
|
30283
30285
|
}
|
|
30284
30286
|
const H3 = nr(rr);
|
|
@@ -30513,7 +30515,7 @@ class Ce {
|
|
|
30513
30515
|
* @return {Duration}
|
|
30514
30516
|
*/
|
|
30515
30517
|
static fromISO(e, t) {
|
|
30516
|
-
const [s] =
|
|
30518
|
+
const [s] = B3(e);
|
|
30517
30519
|
return s ? Ce.fromObject(s, t) : Ce.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
|
|
30518
30520
|
}
|
|
30519
30521
|
/**
|
|
@@ -32500,7 +32502,7 @@ class se {
|
|
|
32500
32502
|
* @return {DateTime}
|
|
32501
32503
|
*/
|
|
32502
32504
|
static fromHTTP(e, t = {}) {
|
|
32503
|
-
const [s, r] =
|
|
32505
|
+
const [s, r] = G3(e);
|
|
32504
32506
|
return hr(s, r, t, "HTTP", t);
|
|
32505
32507
|
}
|
|
32506
32508
|
/**
|
|
@@ -32907,7 +32909,7 @@ class se {
|
|
|
32907
32909
|
* @type {boolean}
|
|
32908
32910
|
*/
|
|
32909
32911
|
get isInLeapYear() {
|
|
32910
|
-
return
|
|
32912
|
+
return Br(this.year);
|
|
32911
32913
|
}
|
|
32912
32914
|
/**
|
|
32913
32915
|
* Returns the number of days in this DateTime's month
|
|
@@ -32925,7 +32927,7 @@ class se {
|
|
|
32925
32927
|
* @type {number}
|
|
32926
32928
|
*/
|
|
32927
32929
|
get daysInYear() {
|
|
32928
|
-
return this.isValid ?
|
|
32930
|
+
return this.isValid ? Bs(this.year) : NaN;
|
|
32929
32931
|
}
|
|
32930
32932
|
/**
|
|
32931
32933
|
* Returns the number of weeks in this DateTime's year
|
|
@@ -33781,12 +33783,12 @@ const kP = () => {
|
|
|
33781
33783
|
const o = new EventSource(i.toString());
|
|
33782
33784
|
return r != null && r.onOpen && (o.onopen = (a) => r.onOpen ? r.onOpen(a) : null), r != null && r.onMessage && (o.onmessage = (a) => r.onMessage ? r.onMessage(JSON.parse(a.data)) : null), r != null && r.onError && (o.onerror = (a) => r.onError ? r.onError(a) : null), o;
|
|
33783
33785
|
}
|
|
33784
|
-
}), DP = (n) => {
|
|
33785
|
-
const { idle:
|
|
33786
|
-
return xt(
|
|
33787
|
-
|
|
33786
|
+
}), DP = (n, e) => {
|
|
33787
|
+
const { idle: t } = F1(n);
|
|
33788
|
+
return xt(t, (s) => {
|
|
33789
|
+
s && (e ? e() : window.location.href = "/");
|
|
33788
33790
|
}), {
|
|
33789
|
-
isIdle:
|
|
33791
|
+
isIdle: t
|
|
33790
33792
|
};
|
|
33791
33793
|
}, NP = ({ t: n } = {}) => ({ groupsOptions: (t = 0) => {
|
|
33792
33794
|
const s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").slice(0, t).map((i) => ({ id: `group_${i}`, name: n(`commons.groups.group_${i}`) })), r = [
|
|
@@ -33957,7 +33959,7 @@ const RP = /* @__PURE__ */ xP(SP), UP = RP(function() {
|
|
|
33957
33959
|
SpashButtonSmallBuzz: f1,
|
|
33958
33960
|
SpashButtonSmallSocialPanel: m1,
|
|
33959
33961
|
SpashCard: g1,
|
|
33960
|
-
SpashCarouselModes:
|
|
33962
|
+
SpashCarouselModes: B1,
|
|
33961
33963
|
SpashCarouselCustom: x1,
|
|
33962
33964
|
SpashDropdown: H1,
|
|
33963
33965
|
SpashFormCheckbox: K1,
|
|
@@ -33978,7 +33980,7 @@ const RP = /* @__PURE__ */ xP(SP), UP = RP(function() {
|
|
|
33978
33980
|
SpashIconSpin: Jx,
|
|
33979
33981
|
SpashIconCamera: gA,
|
|
33980
33982
|
SpashIconCameraOff: SA,
|
|
33981
|
-
SpashIconClose:
|
|
33983
|
+
SpashIconClose: GA,
|
|
33982
33984
|
SpashIconFilledCursorLeft: XA,
|
|
33983
33985
|
SpashIconFilledCursorRight: _A,
|
|
33984
33986
|
SpashIconTrash: sS,
|
|
@@ -33990,7 +33992,7 @@ const RP = /* @__PURE__ */ xP(SP), UP = RP(function() {
|
|
|
33990
33992
|
SpashIconPause: Sx,
|
|
33991
33993
|
SpashIconPlay: Lx,
|
|
33992
33994
|
SpashIconPlayCircle: Dx,
|
|
33993
|
-
SpashIconPower:
|
|
33995
|
+
SpashIconPower: Bx,
|
|
33994
33996
|
SpashIconShield: Kx,
|
|
33995
33997
|
SpashIconSpash: cS,
|
|
33996
33998
|
SpashTag: fS,
|