@eluvio/elv-player-js 2.0.12 → 2.0.14
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/.vite/manifest.json +17 -17
- package/dist/{Analytics-C-Qtiaj8.mjs → Analytics-ChS8E6U3.mjs} +1 -1
- package/dist/{Analytics-JClL9-rw.js → Analytics-DwGlTvGC.js} +1 -1
- package/dist/{dash.all.min-CKG-Nafr.js → dash.all.min-9S5GuYl5.js} +1 -1
- package/dist/{dash.all.min-DSPta4I8.mjs → dash.all.min-B6vTtJvV.mjs} +1 -1
- package/dist/elv-player-js.cjs.js +1 -1
- package/dist/elv-player-js.css +1 -1
- package/dist/elv-player-js.es.js +1 -1
- package/dist/{index-MOXxNSCM.mjs → index-BI8OZHVA.mjs} +1 -1
- package/dist/{index-m_aqq34s.js → index-Bq7QBx28.js} +29 -29
- package/dist/{index-D2YyP3Tb.js → index-BtlPau_Q.js} +1 -1
- package/dist/{index-DRg6NbQr.mjs → index-D3xGWtl3.mjs} +846 -835
- package/lib/player/Player.js +7 -0
- package/lib/player/PlayerParameters.js +10 -0
- package/lib/static/stylesheets/controls-web.module.scss +7 -6
- package/lib/ui/Components.jsx +1 -1
- package/lib/ui/PlayerProfileForm.jsx +1 -1
- package/lib/ui/PlayerUI.jsx +1 -1
- package/lib/ui/TVControls.jsx +8 -4
- package/lib/ui/WebControls.jsx +7 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const jt = {
|
|
2
2
|
ui: {
|
|
3
3
|
WEB: "web",
|
|
4
4
|
TV: "tv"
|
|
@@ -76,6 +76,10 @@ const Gt = {
|
|
|
76
76
|
ON: !0,
|
|
77
77
|
ARROW_KEYS_DISABLED: "arrow_keys_disabled"
|
|
78
78
|
},
|
|
79
|
+
showLoader: {
|
|
80
|
+
OFF: !1,
|
|
81
|
+
ON: !0
|
|
82
|
+
},
|
|
79
83
|
collectVideoAnalytics: {
|
|
80
84
|
OFF: !1,
|
|
81
85
|
ON: !0,
|
|
@@ -84,10 +88,14 @@ const Gt = {
|
|
|
84
88
|
verifyContent: {
|
|
85
89
|
OFF: !1,
|
|
86
90
|
ON: !0
|
|
91
|
+
},
|
|
92
|
+
liveDVR: {
|
|
93
|
+
OFF: !1,
|
|
94
|
+
ON: !0
|
|
87
95
|
}
|
|
88
96
|
}, UG = {
|
|
89
97
|
clientOptions: {
|
|
90
|
-
network:
|
|
98
|
+
network: jt.networks.MAIN,
|
|
91
99
|
client: void 0,
|
|
92
100
|
staticToken: void 0,
|
|
93
101
|
tenantId: void 0,
|
|
@@ -100,16 +108,16 @@ const Gt = {
|
|
|
100
108
|
},
|
|
101
109
|
sourceOptions: {
|
|
102
110
|
protocols: [
|
|
103
|
-
|
|
104
|
-
|
|
111
|
+
jt.protocols.HLS,
|
|
112
|
+
jt.protocols.DASH
|
|
105
113
|
],
|
|
106
114
|
drms: [
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
115
|
+
jt.drms.FAIRPLAY,
|
|
116
|
+
jt.drms.SAMPLE_AES,
|
|
117
|
+
jt.drms.AES128,
|
|
118
|
+
jt.drms.WIDEVINE,
|
|
119
|
+
jt.drms.CLEAR,
|
|
120
|
+
jt.drms.PLAYREADY
|
|
113
121
|
],
|
|
114
122
|
contentInfo: {
|
|
115
123
|
title: void 0,
|
|
@@ -117,7 +125,8 @@ const Gt = {
|
|
|
117
125
|
description: void 0,
|
|
118
126
|
image: void 0,
|
|
119
127
|
posterImage: void 0,
|
|
120
|
-
type:
|
|
128
|
+
type: jt.type.VOD,
|
|
129
|
+
liveDVR: jt.liveDVR.OFF,
|
|
121
130
|
headers: []
|
|
122
131
|
},
|
|
123
132
|
mediaCollectionOptions: {
|
|
@@ -146,18 +155,19 @@ const Gt = {
|
|
|
146
155
|
playerOptions: {
|
|
147
156
|
appName: void 0,
|
|
148
157
|
backgroundColor: void 0,
|
|
149
|
-
ui:
|
|
150
|
-
controls:
|
|
151
|
-
autoplay:
|
|
152
|
-
muted:
|
|
153
|
-
loop:
|
|
154
|
-
watermark:
|
|
155
|
-
keyboardControls:
|
|
156
|
-
capLevelToPlayerSize:
|
|
157
|
-
title:
|
|
158
|
-
playerProfile:
|
|
159
|
-
collectVideoAnalytics:
|
|
160
|
-
verifyContent:
|
|
158
|
+
ui: jt.ui.WEB,
|
|
159
|
+
controls: jt.controls.AUTO_HIDE,
|
|
160
|
+
autoplay: jt.autoplay.OFF,
|
|
161
|
+
muted: jt.muted.OFF,
|
|
162
|
+
loop: jt.loop.OFF,
|
|
163
|
+
watermark: jt.watermark.ON,
|
|
164
|
+
keyboardControls: jt.keyboardControls.ON,
|
|
165
|
+
capLevelToPlayerSize: jt.capLevelToPlayerSize.OFF,
|
|
166
|
+
title: jt.title.ON,
|
|
167
|
+
playerProfile: jt.playerProfile.DEFAULT,
|
|
168
|
+
collectVideoAnalytics: jt.collectVideoAnalytics.ON,
|
|
169
|
+
verifyContent: jt.verifyContent.OFF,
|
|
170
|
+
showLoader: jt.showLoader.ON,
|
|
161
171
|
hlsjsOptions: void 0,
|
|
162
172
|
dashjsOptions: void 0,
|
|
163
173
|
debugLogging: !1,
|
|
@@ -480,10 +490,10 @@ function BG() {
|
|
|
480
490
|
{
|
|
481
491
|
var Xe = O.ReactDebugCurrentFrame, mt = Xe.getStackAddendum();
|
|
482
492
|
mt !== "" && (Oe += "%s", We = We.concat([mt]));
|
|
483
|
-
var
|
|
493
|
+
var fn = We.map(function(Mt) {
|
|
484
494
|
return String(Mt);
|
|
485
495
|
});
|
|
486
|
-
|
|
496
|
+
fn.unshift("Warning: " + Oe), Function.prototype.apply.call(console[re], console, fn);
|
|
487
497
|
}
|
|
488
498
|
}
|
|
489
499
|
var Q = {};
|
|
@@ -664,9 +674,9 @@ function BG() {
|
|
|
664
674
|
var Xe = re.displayName || null;
|
|
665
675
|
return Xe !== null ? Xe : oe(re.type) || "Memo";
|
|
666
676
|
case S: {
|
|
667
|
-
var mt = re,
|
|
677
|
+
var mt = re, fn = mt._payload, Mt = mt._init;
|
|
668
678
|
try {
|
|
669
|
-
return oe(Mt(
|
|
679
|
+
return oe(Mt(fn));
|
|
670
680
|
} catch {
|
|
671
681
|
return null;
|
|
672
682
|
}
|
|
@@ -674,7 +684,7 @@ function BG() {
|
|
|
674
684
|
}
|
|
675
685
|
return null;
|
|
676
686
|
}
|
|
677
|
-
var Ee = Object.prototype.hasOwnProperty,
|
|
687
|
+
var Ee = Object.prototype.hasOwnProperty, Ne = {
|
|
678
688
|
key: !0,
|
|
679
689
|
ref: !0,
|
|
680
690
|
__self: !0,
|
|
@@ -721,7 +731,7 @@ function BG() {
|
|
|
721
731
|
_t[Oe] || (F('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Oe, re.ref), _t[Oe] = !0);
|
|
722
732
|
}
|
|
723
733
|
}
|
|
724
|
-
var _e = function(re, Oe, We, Xe, mt,
|
|
734
|
+
var _e = function(re, Oe, We, Xe, mt, fn, Mt) {
|
|
725
735
|
var ln = {
|
|
726
736
|
// This tag allows us to uniquely identify this as a React Element
|
|
727
737
|
$$typeof: r,
|
|
@@ -731,7 +741,7 @@ function BG() {
|
|
|
731
741
|
ref: We,
|
|
732
742
|
props: Mt,
|
|
733
743
|
// Record the component responsible for creating this element.
|
|
734
|
-
_owner:
|
|
744
|
+
_owner: fn
|
|
735
745
|
};
|
|
736
746
|
return ln._store = {}, Object.defineProperty(ln._store, "validated", {
|
|
737
747
|
configurable: !1,
|
|
@@ -751,11 +761,11 @@ function BG() {
|
|
|
751
761
|
}), Object.freeze && (Object.freeze(ln.props), Object.freeze(ln)), ln;
|
|
752
762
|
};
|
|
753
763
|
function Re(re, Oe, We) {
|
|
754
|
-
var Xe, mt = {},
|
|
764
|
+
var Xe, mt = {}, fn = null, Mt = null, ln = null, Ln = null;
|
|
755
765
|
if (Oe != null) {
|
|
756
|
-
St(Oe) && (Mt = Oe.ref, ge(Oe)), Z(Oe) && (P(Oe.key),
|
|
766
|
+
St(Oe) && (Mt = Oe.ref, ge(Oe)), Z(Oe) && (P(Oe.key), fn = "" + Oe.key), ln = Oe.__self === void 0 ? null : Oe.__self, Ln = Oe.__source === void 0 ? null : Oe.__source;
|
|
757
767
|
for (Xe in Oe)
|
|
758
|
-
Ee.call(Oe, Xe) && !
|
|
768
|
+
Ee.call(Oe, Xe) && !Ne.hasOwnProperty(Xe) && (mt[Xe] = Oe[Xe]);
|
|
759
769
|
}
|
|
760
770
|
var Jn = arguments.length - 2;
|
|
761
771
|
if (Jn === 1)
|
|
@@ -770,11 +780,11 @@ function BG() {
|
|
|
770
780
|
for (Xe in br)
|
|
771
781
|
mt[Xe] === void 0 && (mt[Xe] = br[Xe]);
|
|
772
782
|
}
|
|
773
|
-
if (
|
|
783
|
+
if (fn || Mt) {
|
|
774
784
|
var xr = typeof re == "function" ? re.displayName || re.name || "Unknown" : re;
|
|
775
|
-
|
|
785
|
+
fn && H(mt, xr), Mt && G(mt, xr);
|
|
776
786
|
}
|
|
777
|
-
return _e(re,
|
|
787
|
+
return _e(re, fn, Mt, ln, Ln, de.current, mt);
|
|
778
788
|
}
|
|
779
789
|
function Be(re, Oe) {
|
|
780
790
|
var We = _e(re.type, Oe, re.ref, re._self, re._source, re._owner, re.props);
|
|
@@ -783,13 +793,13 @@ function BG() {
|
|
|
783
793
|
function wt(re, Oe, We) {
|
|
784
794
|
if (re == null)
|
|
785
795
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + re + ".");
|
|
786
|
-
var Xe, mt = k({}, re.props),
|
|
796
|
+
var Xe, mt = k({}, re.props), fn = re.key, Mt = re.ref, ln = re._self, Ln = re._source, Jn = re._owner;
|
|
787
797
|
if (Oe != null) {
|
|
788
|
-
St(Oe) && (Mt = Oe.ref, Jn = de.current), Z(Oe) && (P(Oe.key),
|
|
798
|
+
St(Oe) && (Mt = Oe.ref, Jn = de.current), Z(Oe) && (P(Oe.key), fn = "" + Oe.key);
|
|
789
799
|
var vr;
|
|
790
800
|
re.type && re.type.defaultProps && (vr = re.type.defaultProps);
|
|
791
801
|
for (Xe in Oe)
|
|
792
|
-
Ee.call(Oe, Xe) && !
|
|
802
|
+
Ee.call(Oe, Xe) && !Ne.hasOwnProperty(Xe) && (Oe[Xe] === void 0 && vr !== void 0 ? mt[Xe] = vr[Xe] : mt[Xe] = Oe[Xe]);
|
|
793
803
|
}
|
|
794
804
|
var pr = arguments.length - 2;
|
|
795
805
|
if (pr === 1)
|
|
@@ -799,7 +809,7 @@ function BG() {
|
|
|
799
809
|
br[xr] = arguments[xr + 2];
|
|
800
810
|
mt.children = br;
|
|
801
811
|
}
|
|
802
|
-
return _e(re.type,
|
|
812
|
+
return _e(re.type, fn, Mt, ln, Ln, Jn, mt);
|
|
803
813
|
}
|
|
804
814
|
function yt(re) {
|
|
805
815
|
return typeof re == "object" && re !== null && re.$$typeof === r;
|
|
@@ -822,13 +832,13 @@ function BG() {
|
|
|
822
832
|
return typeof re == "object" && re !== null && re.key != null ? (P(re.key), Rt("" + re.key)) : Oe.toString(36);
|
|
823
833
|
}
|
|
824
834
|
function Xr(re, Oe, We, Xe, mt) {
|
|
825
|
-
var
|
|
826
|
-
(
|
|
835
|
+
var fn = typeof re;
|
|
836
|
+
(fn === "undefined" || fn === "boolean") && (re = null);
|
|
827
837
|
var Mt = !1;
|
|
828
838
|
if (re === null)
|
|
829
839
|
Mt = !0;
|
|
830
840
|
else
|
|
831
|
-
switch (
|
|
841
|
+
switch (fn) {
|
|
832
842
|
case "string":
|
|
833
843
|
case "number":
|
|
834
844
|
Mt = !0;
|
|
@@ -871,7 +881,7 @@ function BG() {
|
|
|
871
881
|
cf === qd.entries && (nn || z("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), nn = !0);
|
|
872
882
|
for (var Cm = cf.call(qd), no, Vd = 0; !(no = Cm.next()).done; )
|
|
873
883
|
pr = no.value, br = qn + Wt(pr, Vd++), xr += Xr(pr, Oe, We, br, mt);
|
|
874
|
-
} else if (
|
|
884
|
+
} else if (fn === "object") {
|
|
875
885
|
var Gd = String(re);
|
|
876
886
|
throw new Error("Objects are not valid as a React child (found: " + (Gd === "[object Object]" ? "object with keys {" + Object.keys(re).join(", ") + "}" : Gd) + "). If you meant to render a collection of children, use an array instead.");
|
|
877
887
|
}
|
|
@@ -882,8 +892,8 @@ function BG() {
|
|
|
882
892
|
if (re == null)
|
|
883
893
|
return re;
|
|
884
894
|
var Xe = [], mt = 0;
|
|
885
|
-
return Xr(re, Xe, "", "", function(
|
|
886
|
-
return Oe.call(We,
|
|
895
|
+
return Xr(re, Xe, "", "", function(fn) {
|
|
896
|
+
return Oe.call(We, fn, mt++);
|
|
887
897
|
}), Xe;
|
|
888
898
|
}
|
|
889
899
|
function In(re) {
|
|
@@ -933,11 +943,11 @@ function BG() {
|
|
|
933
943
|
};
|
|
934
944
|
var We = !1, Xe = !1, mt = !1;
|
|
935
945
|
{
|
|
936
|
-
var
|
|
946
|
+
var fn = {
|
|
937
947
|
$$typeof: h,
|
|
938
948
|
_context: Oe
|
|
939
949
|
};
|
|
940
|
-
Object.defineProperties(
|
|
950
|
+
Object.defineProperties(fn, {
|
|
941
951
|
Provider: {
|
|
942
952
|
get: function() {
|
|
943
953
|
return Xe || (Xe = !0, F("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), Oe.Provider;
|
|
@@ -983,7 +993,7 @@ function BG() {
|
|
|
983
993
|
mt || (z("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", Mt), mt = !0);
|
|
984
994
|
}
|
|
985
995
|
}
|
|
986
|
-
}), Oe.Consumer =
|
|
996
|
+
}), Oe.Consumer = fn;
|
|
987
997
|
}
|
|
988
998
|
return Oe._currentRenderer = null, Oe._currentRenderer2 = null, Oe;
|
|
989
999
|
}
|
|
@@ -991,15 +1001,15 @@ function BG() {
|
|
|
991
1001
|
function Sn(re) {
|
|
992
1002
|
if (re._status === at) {
|
|
993
1003
|
var Oe = re._result, We = Oe();
|
|
994
|
-
if (We.then(function(
|
|
1004
|
+
if (We.then(function(fn) {
|
|
995
1005
|
if (re._status === ft || re._status === at) {
|
|
996
1006
|
var Mt = re;
|
|
997
|
-
Mt._status = Dn, Mt._result =
|
|
1007
|
+
Mt._status = Dn, Mt._result = fn;
|
|
998
1008
|
}
|
|
999
|
-
}, function(
|
|
1009
|
+
}, function(fn) {
|
|
1000
1010
|
if (re._status === ft || re._status === at) {
|
|
1001
1011
|
var Mt = re;
|
|
1002
|
-
Mt._status = hn, Mt._result =
|
|
1012
|
+
Mt._status = hn, Mt._result = fn;
|
|
1003
1013
|
}
|
|
1004
1014
|
}), re._status === at) {
|
|
1005
1015
|
var Xe = re;
|
|
@@ -1038,8 +1048,8 @@ Your code should look like:
|
|
|
1038
1048
|
get: function() {
|
|
1039
1049
|
return Xe;
|
|
1040
1050
|
},
|
|
1041
|
-
set: function(
|
|
1042
|
-
F("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), Xe =
|
|
1051
|
+
set: function(fn) {
|
|
1052
|
+
F("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), Xe = fn, Object.defineProperty(We, "defaultProps", {
|
|
1043
1053
|
enumerable: !0
|
|
1044
1054
|
});
|
|
1045
1055
|
}
|
|
@@ -1049,8 +1059,8 @@ Your code should look like:
|
|
|
1049
1059
|
get: function() {
|
|
1050
1060
|
return mt;
|
|
1051
1061
|
},
|
|
1052
|
-
set: function(
|
|
1053
|
-
F("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), mt =
|
|
1062
|
+
set: function(fn) {
|
|
1063
|
+
F("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), mt = fn, Object.defineProperty(We, "propTypes", {
|
|
1054
1064
|
enumerable: !0
|
|
1055
1065
|
});
|
|
1056
1066
|
}
|
|
@@ -1278,8 +1288,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1278
1288
|
$u = !0;
|
|
1279
1289
|
var mt = Error.prepareStackTrace;
|
|
1280
1290
|
Error.prepareStackTrace = void 0;
|
|
1281
|
-
var
|
|
1282
|
-
|
|
1291
|
+
var fn;
|
|
1292
|
+
fn = eo.current, eo.current = null, ef();
|
|
1283
1293
|
try {
|
|
1284
1294
|
if (Oe) {
|
|
1285
1295
|
var Mt = function() {
|
|
@@ -1332,7 +1342,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1332
1342
|
}
|
|
1333
1343
|
}
|
|
1334
1344
|
} finally {
|
|
1335
|
-
$u = !1, eo.current =
|
|
1345
|
+
$u = !1, eo.current = fn, zu(), Error.prepareStackTrace = mt;
|
|
1336
1346
|
}
|
|
1337
1347
|
var br = re ? re.displayName || re.name : "", xr = br ? ju(br) : "";
|
|
1338
1348
|
return typeof re == "function" && Hu.set(re, xr), xr;
|
|
@@ -1364,9 +1374,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1364
1374
|
case g:
|
|
1365
1375
|
return _o(re.type, Oe, We);
|
|
1366
1376
|
case S: {
|
|
1367
|
-
var Xe = re, mt = Xe._payload,
|
|
1377
|
+
var Xe = re, mt = Xe._payload, fn = Xe._init;
|
|
1368
1378
|
try {
|
|
1369
|
-
return _o(
|
|
1379
|
+
return _o(fn(mt), Oe, We);
|
|
1370
1380
|
} catch {
|
|
1371
1381
|
}
|
|
1372
1382
|
}
|
|
@@ -1383,9 +1393,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1383
1393
|
}
|
|
1384
1394
|
function af(re, Oe, We, Xe, mt) {
|
|
1385
1395
|
{
|
|
1386
|
-
var
|
|
1396
|
+
var fn = Function.call.bind(Ee);
|
|
1387
1397
|
for (var Mt in re)
|
|
1388
|
-
if (
|
|
1398
|
+
if (fn(re, Mt)) {
|
|
1389
1399
|
var ln = void 0;
|
|
1390
1400
|
try {
|
|
1391
1401
|
if (typeof re[Mt] != "function") {
|
|
@@ -1465,7 +1475,7 @@ Check the top-level render call using <` + We + ">.");
|
|
|
1465
1475
|
else if (re) {
|
|
1466
1476
|
var mt = L(re);
|
|
1467
1477
|
if (typeof mt == "function" && mt !== re.entries)
|
|
1468
|
-
for (var
|
|
1478
|
+
for (var fn = mt.call(re), Mt; !(Mt = fn.next()).done; )
|
|
1469
1479
|
yt(Mt.value) && li(Mt.value, Oe);
|
|
1470
1480
|
}
|
|
1471
1481
|
}
|
|
@@ -1512,8 +1522,8 @@ Check the top-level render call using <` + We + ">.");
|
|
|
1512
1522
|
if (!Xe) {
|
|
1513
1523
|
var mt = "";
|
|
1514
1524
|
(re === void 0 || typeof re == "object" && re !== null && Object.keys(re).length === 0) && (mt += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1515
|
-
var
|
|
1516
|
-
|
|
1525
|
+
var fn = Xl(Oe);
|
|
1526
|
+
fn ? mt += fn : mt += of();
|
|
1517
1527
|
var Mt;
|
|
1518
1528
|
re === null ? Mt = "null" : ue(re) ? Mt = "array" : re !== void 0 && re.$$typeof === r ? (Mt = "<" + (oe(re.type) || "Unknown") + " />", mt = " Did you accidentally export a JSX literal instead of a component?") : Mt = typeof re, F("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Mt, mt);
|
|
1519
1529
|
}
|
|
@@ -1565,8 +1575,8 @@ Check the top-level render call using <` + We + ">.");
|
|
|
1565
1575
|
} catch {
|
|
1566
1576
|
Vu = function(mt) {
|
|
1567
1577
|
Zo === !1 && (Zo = !0, typeof MessageChannel > "u" && F("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
1568
|
-
var
|
|
1569
|
-
|
|
1578
|
+
var fn = new MessageChannel();
|
|
1579
|
+
fn.port1.onmessage = mt, fn.port2.postMessage(void 0);
|
|
1570
1580
|
};
|
|
1571
1581
|
}
|
|
1572
1582
|
return Vu(re);
|
|
@@ -1588,9 +1598,9 @@ Check the top-level render call using <` + We + ">.");
|
|
|
1588
1598
|
W.isBatchingLegacy = We;
|
|
1589
1599
|
}
|
|
1590
1600
|
if (Xe !== null && typeof Xe == "object" && typeof Xe.then == "function") {
|
|
1591
|
-
var
|
|
1601
|
+
var fn = Xe, Mt = !1, ln = {
|
|
1592
1602
|
then: function(br, xr) {
|
|
1593
|
-
Mt = !0,
|
|
1603
|
+
Mt = !0, fn.then(function(qn) {
|
|
1594
1604
|
As(Oe), Es === 0 ? uf(qn, br, xr) : br(qn);
|
|
1595
1605
|
}, function(qn) {
|
|
1596
1606
|
As(Oe), xr(qn);
|
|
@@ -2016,7 +2026,7 @@ function $G() {
|
|
|
2016
2026
|
}
|
|
2017
2027
|
}
|
|
2018
2028
|
var Ee = Array.isArray;
|
|
2019
|
-
function
|
|
2029
|
+
function Ne(Te) {
|
|
2020
2030
|
return Ee(Te);
|
|
2021
2031
|
}
|
|
2022
2032
|
function Qe(Te) {
|
|
@@ -2195,7 +2205,7 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
2195
2205
|
{
|
|
2196
2206
|
if (typeof Te != "object")
|
|
2197
2207
|
return;
|
|
2198
|
-
if (
|
|
2208
|
+
if (Ne(Te))
|
|
2199
2209
|
for (var rt = 0; rt < Te.length; rt++) {
|
|
2200
2210
|
var Nt = Te[rt];
|
|
2201
2211
|
Xr(Nt) && xe(Nt, et);
|
|
@@ -2257,7 +2267,7 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
2257
2267
|
var dr = In();
|
|
2258
2268
|
dr ? Kt += dr : Kt += Mn();
|
|
2259
2269
|
var jn;
|
|
2260
|
-
Te === null ? jn = "null" :
|
|
2270
|
+
Te === null ? jn = "null" : Ne(Te) ? jn = "array" : Te !== void 0 && Te.$$typeof === e ? (jn = "<" + (C(Te.type) || "Unknown") + " />", Kt = " Did you accidentally export a JSX literal instead of a component?") : jn = typeof Te, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", jn, Kt);
|
|
2261
2271
|
}
|
|
2262
2272
|
var Yn = Rt(Te, et, rt, Ft, Bt);
|
|
2263
2273
|
if (Yn == null)
|
|
@@ -2266,7 +2276,7 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
2266
2276
|
var sa = et.children;
|
|
2267
2277
|
if (sa !== void 0)
|
|
2268
2278
|
if (Nt)
|
|
2269
|
-
if (
|
|
2279
|
+
if (Ne(sa)) {
|
|
2270
2280
|
for (var Ti = 0; Ti < sa.length; Ti++)
|
|
2271
2281
|
ct(sa[Ti], Te);
|
|
2272
2282
|
Object.freeze && Object.freeze(sa);
|
|
@@ -2303,7 +2313,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2303
2313
|
}()), kv;
|
|
2304
2314
|
}
|
|
2305
2315
|
process.env.NODE_ENV === "production" ? j8.exports = jG() : j8.exports = $G();
|
|
2306
|
-
var
|
|
2316
|
+
var Le = j8.exports;
|
|
2307
2317
|
const HG = "_reset_peka4_2", qG = {
|
|
2308
2318
|
reset: HG
|
|
2309
2319
|
}, VG = "_spinner_psu5w_30", GG = "_controls_psu5w_44", WG = "_video_psu5w_48", KG = "_poster_psu5w_56", Al = {
|
|
@@ -2759,7 +2769,7 @@ function JG() {
|
|
|
2759
2769
|
}
|
|
2760
2770
|
_e > 0 ? P = Math.floor(1e3 / _e) : P = r;
|
|
2761
2771
|
}
|
|
2762
|
-
var
|
|
2772
|
+
var Ne = function() {
|
|
2763
2773
|
if (ye !== null) {
|
|
2764
2774
|
var _e = n.unstable_now();
|
|
2765
2775
|
U = _e;
|
|
@@ -2774,16 +2784,16 @@ function JG() {
|
|
|
2774
2784
|
}, Qe;
|
|
2775
2785
|
if (typeof ae == "function")
|
|
2776
2786
|
Qe = function() {
|
|
2777
|
-
ae(
|
|
2787
|
+
ae(Ne);
|
|
2778
2788
|
};
|
|
2779
2789
|
else if (typeof MessageChannel < "u") {
|
|
2780
2790
|
var st = new MessageChannel(), _t = st.port2;
|
|
2781
|
-
st.port1.onmessage =
|
|
2791
|
+
st.port1.onmessage = Ne, Qe = function() {
|
|
2782
2792
|
_t.postMessage(null);
|
|
2783
2793
|
};
|
|
2784
2794
|
} else
|
|
2785
2795
|
Qe = function() {
|
|
2786
|
-
j(
|
|
2796
|
+
j(Ne, 0);
|
|
2787
2797
|
};
|
|
2788
2798
|
function St(_e) {
|
|
2789
2799
|
ye = _e, te || (te = !0, Qe());
|
|
@@ -3191,7 +3201,7 @@ function QG() {
|
|
|
3191
3201
|
f !== null && (f.selected = !0);
|
|
3192
3202
|
}
|
|
3193
3203
|
}
|
|
3194
|
-
function
|
|
3204
|
+
function Ne(l, f) {
|
|
3195
3205
|
if (f.dangerouslySetInnerHTML != null) throw Error(t(91));
|
|
3196
3206
|
return ae({}, f, { value: void 0, defaultValue: void 0, children: "" + l._wrapperState.initialValue });
|
|
3197
3207
|
}
|
|
@@ -3935,14 +3945,14 @@ function QG() {
|
|
|
3935
3945
|
function mt() {
|
|
3936
3946
|
return !0;
|
|
3937
3947
|
}
|
|
3938
|
-
function
|
|
3948
|
+
function fn() {
|
|
3939
3949
|
return !1;
|
|
3940
3950
|
}
|
|
3941
3951
|
function Mt(l) {
|
|
3942
3952
|
function f(v, E, I, V, le) {
|
|
3943
3953
|
this._reactName = v, this._targetInst = I, this.type = E, this.nativeEvent = V, this.target = le, this.currentTarget = null;
|
|
3944
3954
|
for (var Ae in l) l.hasOwnProperty(Ae) && (v = l[Ae], this[Ae] = v ? v(V) : V[Ae]);
|
|
3945
|
-
return this.isDefaultPrevented = (V.defaultPrevented != null ? V.defaultPrevented : V.returnValue === !1) ? mt :
|
|
3955
|
+
return this.isDefaultPrevented = (V.defaultPrevented != null ? V.defaultPrevented : V.returnValue === !1) ? mt : fn, this.isPropagationStopped = fn, this;
|
|
3946
3956
|
}
|
|
3947
3957
|
return ae(f.prototype, { preventDefault: function() {
|
|
3948
3958
|
this.defaultPrevented = !0;
|
|
@@ -4340,7 +4350,7 @@ function QG() {
|
|
|
4340
4350
|
e: {
|
|
4341
4351
|
var ut = E1.get(l);
|
|
4342
4352
|
if (ut !== void 0) {
|
|
4343
|
-
var Pt = Ln,
|
|
4353
|
+
var Pt = Ln, $t = l;
|
|
4344
4354
|
switch (l) {
|
|
4345
4355
|
case "keypress":
|
|
4346
4356
|
if (Xe(v) === 0) break e;
|
|
@@ -4349,10 +4359,10 @@ function QG() {
|
|
|
4349
4359
|
Pt = d3;
|
|
4350
4360
|
break;
|
|
4351
4361
|
case "focusin":
|
|
4352
|
-
|
|
4362
|
+
$t = "focus", Pt = no;
|
|
4353
4363
|
break;
|
|
4354
4364
|
case "focusout":
|
|
4355
|
-
|
|
4365
|
+
$t = "blur", Pt = no;
|
|
4356
4366
|
break;
|
|
4357
4367
|
case "beforeblur":
|
|
4358
4368
|
case "afterblur":
|
|
@@ -4415,34 +4425,34 @@ function QG() {
|
|
|
4415
4425
|
case "pointerup":
|
|
4416
4426
|
Pt = Dh;
|
|
4417
4427
|
}
|
|
4418
|
-
var
|
|
4419
|
-
|
|
4428
|
+
var Vt = (f & 4) !== 0, na = !Vt && l === "scroll", $e = Vt ? ut !== null ? ut + "Capture" : null : ut;
|
|
4429
|
+
Vt = [];
|
|
4420
4430
|
for (var ze = Ye, Ve; ze !== null; ) {
|
|
4421
4431
|
Ve = ze;
|
|
4422
4432
|
var vt = Ve.stateNode;
|
|
4423
|
-
if (Ve.tag === 5 && vt !== null && (Ve = vt, $e !== null && (vt = at(ze, $e), vt != null &&
|
|
4433
|
+
if (Ve.tag === 5 && vt !== null && (Ve = vt, $e !== null && (vt = at(ze, $e), vt != null && Vt.push(Xd(ze, vt, Ve)))), na) break;
|
|
4424
4434
|
ze = ze.return;
|
|
4425
4435
|
}
|
|
4426
|
-
0 <
|
|
4436
|
+
0 < Vt.length && (ut = new Pt(ut, $t, null, v, lt), dt.push({ event: ut, listeners: Vt }));
|
|
4427
4437
|
}
|
|
4428
4438
|
}
|
|
4429
4439
|
if (!(f & 7)) {
|
|
4430
4440
|
e: {
|
|
4431
|
-
if (ut = l === "mouseover" || l === "pointerover", Pt = l === "mouseout" || l === "pointerout", ut && v !== Rt && (
|
|
4432
|
-
if ((Pt || ut) && (ut = lt.window === lt ? lt : (ut = lt.ownerDocument) ? ut.defaultView || ut.parentWindow : window, Pt ? (
|
|
4433
|
-
if (
|
|
4434
|
-
for (
|
|
4441
|
+
if (ut = l === "mouseover" || l === "pointerover", Pt = l === "mouseout" || l === "pointerout", ut && v !== Rt && ($t = v.relatedTarget || v.fromElement) && (Ms($t) || $t[su])) break e;
|
|
4442
|
+
if ((Pt || ut) && (ut = lt.window === lt ? lt : (ut = lt.ownerDocument) ? ut.defaultView || ut.parentWindow : window, Pt ? ($t = v.relatedTarget || v.toElement, Pt = Ye, $t = $t ? Ms($t) : null, $t !== null && (na = Nt($t), $t !== na || $t.tag !== 5 && $t.tag !== 6) && ($t = null)) : (Pt = null, $t = Ye), Pt !== $t)) {
|
|
4443
|
+
if (Vt = eu, vt = "onMouseLeave", $e = "onMouseEnter", ze = "mouse", (l === "pointerout" || l === "pointerover") && (Vt = Dh, vt = "onPointerLeave", $e = "onPointerEnter", ze = "pointer"), na = Pt == null ? ut : gf(Pt), Ve = $t == null ? ut : gf($t), ut = new Vt(vt, ze + "leave", Pt, v, lt), ut.target = na, ut.relatedTarget = Ve, vt = null, Ms(lt) === Ye && (Vt = new Vt($e, ze + "enter", $t, v, lt), Vt.target = Ve, Vt.relatedTarget = na, vt = Vt), na = vt, Pt && $t) t: {
|
|
4444
|
+
for (Vt = Pt, $e = $t, ze = 0, Ve = Vt; Ve; Ve = ac(Ve)) ze++;
|
|
4435
4445
|
for (Ve = 0, vt = $e; vt; vt = ac(vt)) Ve++;
|
|
4436
|
-
for (; 0 < ze - Ve; )
|
|
4446
|
+
for (; 0 < ze - Ve; ) Vt = ac(Vt), ze--;
|
|
4437
4447
|
for (; 0 < Ve - ze; ) $e = ac($e), Ve--;
|
|
4438
4448
|
for (; ze--; ) {
|
|
4439
|
-
if (
|
|
4440
|
-
|
|
4449
|
+
if (Vt === $e || $e !== null && Vt === $e.alternate) break t;
|
|
4450
|
+
Vt = ac(Vt), $e = ac($e);
|
|
4441
4451
|
}
|
|
4442
|
-
|
|
4452
|
+
Vt = null;
|
|
4443
4453
|
}
|
|
4444
|
-
else
|
|
4445
|
-
Pt !== null && Bm(dt, ut, Pt,
|
|
4454
|
+
else Vt = null;
|
|
4455
|
+
Pt !== null && Bm(dt, ut, Pt, Vt, !1), $t !== null && na !== null && Bm(dt, na, $t, Vt, !0);
|
|
4446
4456
|
}
|
|
4447
4457
|
}
|
|
4448
4458
|
e: {
|
|
@@ -4450,18 +4460,18 @@ function QG() {
|
|
|
4450
4460
|
else if (c1(ut)) if (Om) Jt = m1;
|
|
4451
4461
|
else {
|
|
4452
4462
|
Jt = g3;
|
|
4453
|
-
var
|
|
4463
|
+
var dn = m3;
|
|
4454
4464
|
}
|
|
4455
4465
|
else (Pt = ut.nodeName) && Pt.toLowerCase() === "input" && (ut.type === "checkbox" || ut.type === "radio") && (Jt = v3);
|
|
4456
4466
|
if (Jt && (Jt = Jt(l, Ye))) {
|
|
4457
4467
|
f1(dt, Jt, v, lt);
|
|
4458
4468
|
break e;
|
|
4459
4469
|
}
|
|
4460
|
-
|
|
4470
|
+
dn && dn(l, ut, Ye), l === "focusout" && (dn = ut._wrapperState) && dn.controlled && ut.type === "number" && ee(ut, "number", ut.value);
|
|
4461
4471
|
}
|
|
4462
|
-
switch (
|
|
4472
|
+
switch (dn = Ye ? gf(Ye) : window, l) {
|
|
4463
4473
|
case "focusin":
|
|
4464
|
-
(c1(
|
|
4474
|
+
(c1(dn) || dn.contentEditable === "true") && (ao = dn, Pm = Ye, Yd = null);
|
|
4465
4475
|
break;
|
|
4466
4476
|
case "focusout":
|
|
4467
4477
|
Yd = Pm = ao = null;
|
|
@@ -4480,7 +4490,7 @@ function QG() {
|
|
|
4480
4490
|
case "keyup":
|
|
4481
4491
|
_1(dt, v, lt);
|
|
4482
4492
|
}
|
|
4483
|
-
var
|
|
4493
|
+
var Ht;
|
|
4484
4494
|
if (ro) e: {
|
|
4485
4495
|
switch (l) {
|
|
4486
4496
|
case "compositionstart":
|
|
@@ -4496,7 +4506,7 @@ function QG() {
|
|
|
4496
4506
|
pn = void 0;
|
|
4497
4507
|
}
|
|
4498
4508
|
else df ? u1(l, v) && (pn = "onCompositionEnd") : l === "keydown" && v.keyCode === 229 && (pn = "onCompositionStart");
|
|
4499
|
-
pn && (s1 && v.locale !== "ko" && (df || pn !== "onCompositionStart" ? pn === "onCompositionEnd" && df && (
|
|
4509
|
+
pn && (s1 && v.locale !== "ko" && (df || pn !== "onCompositionStart" ? pn === "onCompositionEnd" && df && (Ht = We()) : (to = lt, re = "value" in to ? to.value : to.textContent, df = !0)), dn = ep(Ye, pn), 0 < dn.length && (pn = new Am(pn, l, null, v, lt), dt.push({ event: pn, listeners: dn }), Ht ? pn.data = Ht : (Ht = Bh(v), Ht !== null && (pn.data = Ht)))), (Ht = Fh ? h3(l, v) : y3(l, v)) && (Ye = ep(Ye, "onBeforeInput"), 0 < Ye.length && (lt = new Am("onBeforeInput", "beforeinput", null, v, lt), dt.push({ event: lt, listeners: Ye }), lt.data = Ht));
|
|
4500
4510
|
}
|
|
4501
4511
|
Hh(dt, f);
|
|
4502
4512
|
});
|
|
@@ -4903,57 +4913,57 @@ function QG() {
|
|
|
4903
4913
|
case de:
|
|
4904
4914
|
return $e = $e.get(vt.key === null ? Ve : vt.key) || null, Ye(ze, $e, vt, Jt);
|
|
4905
4915
|
case z:
|
|
4906
|
-
var
|
|
4907
|
-
return Pt($e, ze, Ve,
|
|
4916
|
+
var dn = vt._init;
|
|
4917
|
+
return Pt($e, ze, Ve, dn(vt._payload), Jt);
|
|
4908
4918
|
}
|
|
4909
4919
|
if (oe(vt) || Q(vt)) return $e = $e.get(Ve) || null, lt(ze, $e, vt, Jt, null);
|
|
4910
4920
|
Eo(ze, vt);
|
|
4911
4921
|
}
|
|
4912
4922
|
return null;
|
|
4913
4923
|
}
|
|
4914
|
-
function
|
|
4915
|
-
for (var Jt = null,
|
|
4916
|
-
|
|
4917
|
-
var nr = ut($e,
|
|
4924
|
+
function $t($e, ze, Ve, vt) {
|
|
4925
|
+
for (var Jt = null, dn = null, Ht = ze, pn = ze = 0, Sa = null; Ht !== null && pn < Ve.length; pn++) {
|
|
4926
|
+
Ht.index > pn ? (Sa = Ht, Ht = null) : Sa = Ht.sibling;
|
|
4927
|
+
var nr = ut($e, Ht, Ve[pn], vt);
|
|
4918
4928
|
if (nr === null) {
|
|
4919
|
-
|
|
4929
|
+
Ht === null && (Ht = Sa);
|
|
4920
4930
|
break;
|
|
4921
4931
|
}
|
|
4922
|
-
l &&
|
|
4932
|
+
l && Ht && nr.alternate === null && f($e, Ht), ze = V(nr, ze, pn), dn === null ? Jt = nr : dn.sibling = nr, dn = nr, Ht = Sa;
|
|
4923
4933
|
}
|
|
4924
|
-
if (pn === Ve.length) return v($e,
|
|
4925
|
-
if (
|
|
4926
|
-
for (; pn < Ve.length; pn++)
|
|
4934
|
+
if (pn === Ve.length) return v($e, Ht), Rr && is($e, pn), Jt;
|
|
4935
|
+
if (Ht === null) {
|
|
4936
|
+
for (; pn < Ve.length; pn++) Ht = dt($e, Ve[pn], vt), Ht !== null && (ze = V(Ht, ze, pn), dn === null ? Jt = Ht : dn.sibling = Ht, dn = Ht);
|
|
4927
4937
|
return Rr && is($e, pn), Jt;
|
|
4928
4938
|
}
|
|
4929
|
-
for (
|
|
4930
|
-
return l &&
|
|
4939
|
+
for (Ht = E($e, Ht); pn < Ve.length; pn++) Sa = Pt(Ht, $e, pn, Ve[pn], vt), Sa !== null && (l && Sa.alternate !== null && Ht.delete(Sa.key === null ? pn : Sa.key), ze = V(Sa, ze, pn), dn === null ? Jt = Sa : dn.sibling = Sa, dn = Sa);
|
|
4940
|
+
return l && Ht.forEach(function(hu) {
|
|
4931
4941
|
return f($e, hu);
|
|
4932
4942
|
}), Rr && is($e, pn), Jt;
|
|
4933
4943
|
}
|
|
4934
|
-
function
|
|
4944
|
+
function Vt($e, ze, Ve, vt) {
|
|
4935
4945
|
var Jt = Q(Ve);
|
|
4936
4946
|
if (typeof Jt != "function") throw Error(t(150));
|
|
4937
4947
|
if (Ve = Jt.call(Ve), Ve == null) throw Error(t(151));
|
|
4938
|
-
for (var
|
|
4939
|
-
|
|
4940
|
-
var hu = ut($e,
|
|
4948
|
+
for (var dn = Jt = null, Ht = ze, pn = ze = 0, Sa = null, nr = Ve.next(); Ht !== null && !nr.done; pn++, nr = Ve.next()) {
|
|
4949
|
+
Ht.index > pn ? (Sa = Ht, Ht = null) : Sa = Ht.sibling;
|
|
4950
|
+
var hu = ut($e, Ht, nr.value, vt);
|
|
4941
4951
|
if (hu === null) {
|
|
4942
|
-
|
|
4952
|
+
Ht === null && (Ht = Sa);
|
|
4943
4953
|
break;
|
|
4944
4954
|
}
|
|
4945
|
-
l &&
|
|
4955
|
+
l && Ht && hu.alternate === null && f($e, Ht), ze = V(hu, ze, pn), dn === null ? Jt = hu : dn.sibling = hu, dn = hu, Ht = Sa;
|
|
4946
4956
|
}
|
|
4947
4957
|
if (nr.done) return v(
|
|
4948
4958
|
$e,
|
|
4949
|
-
|
|
4959
|
+
Ht
|
|
4950
4960
|
), Rr && is($e, pn), Jt;
|
|
4951
|
-
if (
|
|
4952
|
-
for (; !nr.done; pn++, nr = Ve.next()) nr = dt($e, nr.value, vt), nr !== null && (ze = V(nr, ze, pn),
|
|
4961
|
+
if (Ht === null) {
|
|
4962
|
+
for (; !nr.done; pn++, nr = Ve.next()) nr = dt($e, nr.value, vt), nr !== null && (ze = V(nr, ze, pn), dn === null ? Jt = nr : dn.sibling = nr, dn = nr);
|
|
4953
4963
|
return Rr && is($e, pn), Jt;
|
|
4954
4964
|
}
|
|
4955
|
-
for (
|
|
4956
|
-
return l &&
|
|
4965
|
+
for (Ht = E($e, Ht); !nr.done; pn++, nr = Ve.next()) nr = Pt(Ht, $e, pn, nr.value, vt), nr !== null && (l && nr.alternate !== null && Ht.delete(nr.key === null ? pn : nr.key), ze = V(nr, ze, pn), dn === null ? Jt = nr : dn.sibling = nr, dn = nr);
|
|
4966
|
+
return l && Ht.forEach(function($3) {
|
|
4957
4967
|
return f($e, $3);
|
|
4958
4968
|
}), Rr && is($e, pn), Jt;
|
|
4959
4969
|
}
|
|
@@ -4962,29 +4972,29 @@ function QG() {
|
|
|
4962
4972
|
switch (Ve.$$typeof) {
|
|
4963
4973
|
case W:
|
|
4964
4974
|
e: {
|
|
4965
|
-
for (var Jt = Ve.key,
|
|
4966
|
-
if (
|
|
4975
|
+
for (var Jt = Ve.key, dn = ze; dn !== null; ) {
|
|
4976
|
+
if (dn.key === Jt) {
|
|
4967
4977
|
if (Jt = Ve.type, Jt === ce) {
|
|
4968
|
-
if (
|
|
4969
|
-
v($e,
|
|
4978
|
+
if (dn.tag === 7) {
|
|
4979
|
+
v($e, dn.sibling), ze = I(dn, Ve.props.children), ze.return = $e, $e = ze;
|
|
4970
4980
|
break e;
|
|
4971
4981
|
}
|
|
4972
|
-
} else if (
|
|
4973
|
-
v($e,
|
|
4982
|
+
} else if (dn.elementType === Jt || typeof Jt == "object" && Jt !== null && Jt.$$typeof === z && P1(Jt) === dn.type) {
|
|
4983
|
+
v($e, dn.sibling), ze = I(dn, Ve.props), ze.ref = lc($e, dn, Ve), ze.return = $e, $e = ze;
|
|
4974
4984
|
break e;
|
|
4975
4985
|
}
|
|
4976
|
-
v($e,
|
|
4986
|
+
v($e, dn);
|
|
4977
4987
|
break;
|
|
4978
|
-
} else f($e,
|
|
4979
|
-
|
|
4988
|
+
} else f($e, dn);
|
|
4989
|
+
dn = dn.sibling;
|
|
4980
4990
|
}
|
|
4981
4991
|
Ve.type === ce ? (ze = Cc(Ve.props.children, $e.mode, vt, Ve.key), ze.return = $e, $e = ze) : (vt = F0(Ve.type, Ve.key, Ve.props, null, $e.mode, vt), vt.ref = lc($e, ze, Ve), vt.return = $e, $e = vt);
|
|
4982
4992
|
}
|
|
4983
4993
|
return le($e);
|
|
4984
4994
|
case de:
|
|
4985
4995
|
e: {
|
|
4986
|
-
for (
|
|
4987
|
-
if (ze.key ===
|
|
4996
|
+
for (dn = Ve.key; ze !== null; ) {
|
|
4997
|
+
if (ze.key === dn) if (ze.tag === 4 && ze.stateNode.containerInfo === Ve.containerInfo && ze.stateNode.implementation === Ve.implementation) {
|
|
4988
4998
|
v($e, ze.sibling), ze = I(ze, Ve.children || []), ze.return = $e, $e = ze;
|
|
4989
4999
|
break e;
|
|
4990
5000
|
} else {
|
|
@@ -4998,10 +5008,10 @@ function QG() {
|
|
|
4998
5008
|
}
|
|
4999
5009
|
return le($e);
|
|
5000
5010
|
case z:
|
|
5001
|
-
return
|
|
5011
|
+
return dn = Ve._init, na($e, ze, dn(Ve._payload), vt);
|
|
5002
5012
|
}
|
|
5003
|
-
if (oe(Ve)) return
|
|
5004
|
-
if (Q(Ve)) return
|
|
5013
|
+
if (oe(Ve)) return $t($e, ze, Ve, vt);
|
|
5014
|
+
if (Q(Ve)) return Vt($e, ze, Ve, vt);
|
|
5005
5015
|
Eo($e, Ve);
|
|
5006
5016
|
}
|
|
5007
5017
|
return typeof Ve == "string" && Ve !== "" || typeof Ve == "number" ? (Ve = "" + Ve, ze !== null && ze.tag === 6 ? (v($e, ze.sibling), ze = I(ze, Ve), ze.return = $e, $e = ze) : (v($e, ze), ze = z0(Ve, $e.mode, vt), ze.return = $e, $e = ze), le($e)) : v($e, ze);
|
|
@@ -5061,7 +5071,7 @@ function QG() {
|
|
|
5061
5071
|
function nl(l, f, v) {
|
|
5062
5072
|
var E = l.updateQueue;
|
|
5063
5073
|
if (E === null) return null;
|
|
5064
|
-
if (E = E.shared,
|
|
5074
|
+
if (E = E.shared, Bn & 2) {
|
|
5065
5075
|
var I = E.pending;
|
|
5066
5076
|
return I === null ? f.next = f : (f.next = I.next, I.next = f), E.pending = f, lu(l, v);
|
|
5067
5077
|
}
|
|
@@ -5115,19 +5125,19 @@ function QG() {
|
|
|
5115
5125
|
next: null
|
|
5116
5126
|
});
|
|
5117
5127
|
e: {
|
|
5118
|
-
var
|
|
5119
|
-
switch (ut = f, Pt = v,
|
|
5128
|
+
var $t = l, Vt = Ae;
|
|
5129
|
+
switch (ut = f, Pt = v, Vt.tag) {
|
|
5120
5130
|
case 1:
|
|
5121
|
-
if (
|
|
5122
|
-
dt =
|
|
5131
|
+
if ($t = Vt.payload, typeof $t == "function") {
|
|
5132
|
+
dt = $t.call(Pt, dt, ut);
|
|
5123
5133
|
break e;
|
|
5124
5134
|
}
|
|
5125
|
-
dt =
|
|
5135
|
+
dt = $t;
|
|
5126
5136
|
break e;
|
|
5127
5137
|
case 3:
|
|
5128
|
-
|
|
5138
|
+
$t.flags = $t.flags & -65537 | 128;
|
|
5129
5139
|
case 0:
|
|
5130
|
-
if (
|
|
5140
|
+
if ($t = Vt.payload, ut = typeof $t == "function" ? $t.call(Pt, dt, ut) : $t, ut == null) break e;
|
|
5131
5141
|
dt = ae({}, dt, ut);
|
|
5132
5142
|
break e;
|
|
5133
5143
|
case 2:
|
|
@@ -5735,8 +5745,8 @@ Error generating stack: ` + V.message + `
|
|
|
5735
5745
|
le = f.stateNode, _f(l, f), Ae = f.memoizedProps, Ye = f.type === f.elementType ? Ae : Bi(f.type, Ae), le.props = Ye, dt = f.pendingProps, ut = le.context, De = v.contextType, typeof De == "object" && De !== null ? De = Ps(De) : (De = Ir(v) ? Ni : mn.current, De = Ts(f, De));
|
|
5736
5746
|
var Pt = v.getDerivedStateFromProps;
|
|
5737
5747
|
(lt = typeof Pt == "function" || typeof le.getSnapshotBeforeUpdate == "function") || typeof le.UNSAFE_componentWillReceiveProps != "function" && typeof le.componentWillReceiveProps != "function" || (Ae !== dt || ut !== De) && H1(f, le, E, De), tl = !1, ut = f.memoizedState, le.state = ut, n0(f, E, le, I);
|
|
5738
|
-
var
|
|
5739
|
-
Ae !== dt || ut !==
|
|
5748
|
+
var $t = f.memoizedState;
|
|
5749
|
+
Ae !== dt || ut !== $t || Gr.current || tl ? (typeof Pt == "function" && (yc(f, v, Pt, E), $t = f.memoizedState), (Ye = tl || j1(f, v, Ye, E, ut, $t, De) || !1) ? (lt || typeof le.UNSAFE_componentWillUpdate != "function" && typeof le.componentWillUpdate != "function" || (typeof le.componentWillUpdate == "function" && le.componentWillUpdate(E, $t, De), typeof le.UNSAFE_componentWillUpdate == "function" && le.UNSAFE_componentWillUpdate(E, $t, De)), typeof le.componentDidUpdate == "function" && (f.flags |= 4), typeof le.getSnapshotBeforeUpdate == "function" && (f.flags |= 1024)) : (typeof le.componentDidUpdate != "function" || Ae === l.memoizedProps && ut === l.memoizedState || (f.flags |= 4), typeof le.getSnapshotBeforeUpdate != "function" || Ae === l.memoizedProps && ut === l.memoizedState || (f.flags |= 1024), f.memoizedProps = E, f.memoizedState = $t), le.props = E, le.state = $t, le.context = De, E = Ye) : (typeof le.componentDidUpdate != "function" || Ae === l.memoizedProps && ut === l.memoizedState || (f.flags |= 4), typeof le.getSnapshotBeforeUpdate != "function" || Ae === l.memoizedProps && ut === l.memoizedState || (f.flags |= 1024), E = !1);
|
|
5740
5750
|
}
|
|
5741
5751
|
return x0(l, f, v, E, V, I);
|
|
5742
5752
|
}
|
|
@@ -5959,7 +5969,7 @@ Error generating stack: ` + V.message + `
|
|
|
5959
5969
|
I = ae({}, I, { value: void 0 }), E = ae({}, E, { value: void 0 }), V = [];
|
|
5960
5970
|
break;
|
|
5961
5971
|
case "textarea":
|
|
5962
|
-
I =
|
|
5972
|
+
I = Ne(l, I), E = Ne(l, E), V = [];
|
|
5963
5973
|
break;
|
|
5964
5974
|
default:
|
|
5965
5975
|
typeof I.onClick != "function" && typeof E.onClick == "function" && (l.onclick = Gh);
|
|
@@ -6138,7 +6148,7 @@ Error generating stack: ` + V.message + `
|
|
|
6138
6148
|
l._wrapperState = { wasMultiple: !!E.multiple }, I = ae({}, E, { value: void 0 }), wr("invalid", l);
|
|
6139
6149
|
break;
|
|
6140
6150
|
case "textarea":
|
|
6141
|
-
Qe(l, E), I =
|
|
6151
|
+
Qe(l, E), I = Ne(l, E), wr("invalid", l);
|
|
6142
6152
|
break;
|
|
6143
6153
|
default:
|
|
6144
6154
|
I = E;
|
|
@@ -6337,15 +6347,15 @@ Error generating stack: ` + V.message + `
|
|
|
6337
6347
|
else for (; zt !== null; ) {
|
|
6338
6348
|
f = zt;
|
|
6339
6349
|
try {
|
|
6340
|
-
var
|
|
6350
|
+
var $t = f.alternate;
|
|
6341
6351
|
if (f.flags & 1024) switch (f.tag) {
|
|
6342
6352
|
case 0:
|
|
6343
6353
|
case 11:
|
|
6344
6354
|
case 15:
|
|
6345
6355
|
break;
|
|
6346
6356
|
case 1:
|
|
6347
|
-
if (
|
|
6348
|
-
var
|
|
6357
|
+
if ($t !== null) {
|
|
6358
|
+
var Vt = $t.memoizedProps, na = $t.memoizedState, $e = f.stateNode, ze = $e.getSnapshotBeforeUpdate(f.elementType === f.type ? Vt : Bi(f.type, Vt), na);
|
|
6349
6359
|
$e.__reactInternalSnapshotBeforeUpdate = ze;
|
|
6350
6360
|
}
|
|
6351
6361
|
break;
|
|
@@ -6370,7 +6380,7 @@ Error generating stack: ` + V.message + `
|
|
|
6370
6380
|
}
|
|
6371
6381
|
zt = f.return;
|
|
6372
6382
|
}
|
|
6373
|
-
return
|
|
6383
|
+
return $t = k0, k0 = !1, $t;
|
|
6374
6384
|
}
|
|
6375
6385
|
function Df(l, f, v) {
|
|
6376
6386
|
var E = f.updateQueue;
|
|
@@ -6545,13 +6555,13 @@ Error generating stack: ` + V.message + `
|
|
|
6545
6555
|
if (Pa(f, l), ko(l), E & 4) {
|
|
6546
6556
|
try {
|
|
6547
6557
|
Df(3, l, l.return), M0(3, l);
|
|
6548
|
-
} catch (
|
|
6549
|
-
Yr(l, l.return,
|
|
6558
|
+
} catch (Vt) {
|
|
6559
|
+
Yr(l, l.return, Vt);
|
|
6550
6560
|
}
|
|
6551
6561
|
try {
|
|
6552
6562
|
Df(5, l, l.return);
|
|
6553
|
-
} catch (
|
|
6554
|
-
Yr(l, l.return,
|
|
6563
|
+
} catch (Vt) {
|
|
6564
|
+
Yr(l, l.return, Vt);
|
|
6555
6565
|
}
|
|
6556
6566
|
}
|
|
6557
6567
|
break;
|
|
@@ -6563,8 +6573,8 @@ Error generating stack: ` + V.message + `
|
|
|
6563
6573
|
var I = l.stateNode;
|
|
6564
6574
|
try {
|
|
6565
6575
|
ge(I, "");
|
|
6566
|
-
} catch (
|
|
6567
|
-
Yr(l, l.return,
|
|
6576
|
+
} catch (Vt) {
|
|
6577
|
+
Yr(l, l.return, Vt);
|
|
6568
6578
|
}
|
|
6569
6579
|
}
|
|
6570
6580
|
if (E & 4 && (I = l.stateNode, I != null)) {
|
|
@@ -6595,8 +6605,8 @@ Error generating stack: ` + V.message + `
|
|
|
6595
6605
|
) : Ee(I, !!V.multiple, V.multiple ? [] : "", !1));
|
|
6596
6606
|
}
|
|
6597
6607
|
I[oc] = V;
|
|
6598
|
-
} catch (
|
|
6599
|
-
Yr(l, l.return,
|
|
6608
|
+
} catch (Vt) {
|
|
6609
|
+
Yr(l, l.return, Vt);
|
|
6600
6610
|
}
|
|
6601
6611
|
}
|
|
6602
6612
|
break;
|
|
@@ -6606,16 +6616,16 @@ Error generating stack: ` + V.message + `
|
|
|
6606
6616
|
I = l.stateNode, V = l.memoizedProps;
|
|
6607
6617
|
try {
|
|
6608
6618
|
I.nodeValue = V;
|
|
6609
|
-
} catch (
|
|
6610
|
-
Yr(l, l.return,
|
|
6619
|
+
} catch (Vt) {
|
|
6620
|
+
Yr(l, l.return, Vt);
|
|
6611
6621
|
}
|
|
6612
6622
|
}
|
|
6613
6623
|
break;
|
|
6614
6624
|
case 3:
|
|
6615
6625
|
if (Pa(f, l), ko(l), E & 4 && v !== null && v.memoizedState.isDehydrated) try {
|
|
6616
6626
|
Gu(f.containerInfo);
|
|
6617
|
-
} catch (
|
|
6618
|
-
Yr(l, l.return,
|
|
6627
|
+
} catch (Vt) {
|
|
6628
|
+
Yr(l, l.return, Vt);
|
|
6619
6629
|
}
|
|
6620
6630
|
break;
|
|
6621
6631
|
case 4:
|
|
@@ -6637,13 +6647,13 @@ Error generating stack: ` + V.message + `
|
|
|
6637
6647
|
break;
|
|
6638
6648
|
case 1:
|
|
6639
6649
|
If(ut, ut.return);
|
|
6640
|
-
var
|
|
6641
|
-
if (typeof
|
|
6650
|
+
var $t = ut.stateNode;
|
|
6651
|
+
if (typeof $t.componentWillUnmount == "function") {
|
|
6642
6652
|
E = ut, v = ut.return;
|
|
6643
6653
|
try {
|
|
6644
|
-
f = E,
|
|
6645
|
-
} catch (
|
|
6646
|
-
Yr(E, v,
|
|
6654
|
+
f = E, $t.props = f.memoizedProps, $t.state = f.memoizedState, $t.componentWillUnmount();
|
|
6655
|
+
} catch (Vt) {
|
|
6656
|
+
Yr(E, v, Vt);
|
|
6647
6657
|
}
|
|
6648
6658
|
}
|
|
6649
6659
|
break;
|
|
@@ -6666,15 +6676,15 @@ Error generating stack: ` + V.message + `
|
|
|
6666
6676
|
lt = dt;
|
|
6667
6677
|
try {
|
|
6668
6678
|
I = dt.stateNode, Ye ? (V = I.style, typeof V.setProperty == "function" ? V.setProperty("display", "none", "important") : V.display = "none") : (Ae = dt.stateNode, De = dt.memoizedProps.style, le = De != null && De.hasOwnProperty("display") ? De.display : null, Ae.style.display = Be("display", le));
|
|
6669
|
-
} catch (
|
|
6670
|
-
Yr(l, l.return,
|
|
6679
|
+
} catch (Vt) {
|
|
6680
|
+
Yr(l, l.return, Vt);
|
|
6671
6681
|
}
|
|
6672
6682
|
}
|
|
6673
6683
|
} else if (dt.tag === 6) {
|
|
6674
6684
|
if (lt === null) try {
|
|
6675
6685
|
dt.stateNode.nodeValue = Ye ? "" : dt.memoizedProps;
|
|
6676
|
-
} catch (
|
|
6677
|
-
Yr(l, l.return,
|
|
6686
|
+
} catch (Vt) {
|
|
6687
|
+
Yr(l, l.return, Vt);
|
|
6678
6688
|
}
|
|
6679
6689
|
} else if ((dt.tag !== 22 && dt.tag !== 23 || dt.memoizedState === null || dt === l) && dt.child !== null) {
|
|
6680
6690
|
dt.child.return = dt, dt = dt.child;
|
|
@@ -6923,16 +6933,16 @@ Error generating stack: ` + V.message + `
|
|
|
6923
6933
|
zt = f.return;
|
|
6924
6934
|
}
|
|
6925
6935
|
}
|
|
6926
|
-
var L3 = Math.ceil, bc = q.ReactCurrentDispatcher, R0 = q.ReactCurrentOwner, Us = q.ReactCurrentBatchConfig,
|
|
6936
|
+
var L3 = Math.ceil, bc = q.ReactCurrentDispatcher, R0 = q.ReactCurrentOwner, Us = q.ReactCurrentBatchConfig, Bn = 0, Kr = null, Or = null, wa = 0, $i = 0, jf = En(0), _a = 0, bp = null, wc = 0, $f = 0, yg = 0, sl = null, ai = null, O0 = 0, Hf = 1 / 0, du = null, L0 = !1, mg = null, Fs = null, qf = !1, Bs = null, N0 = 0, wp = 0, P0 = null, _p = -1, _c = 0;
|
|
6927
6937
|
function Ia() {
|
|
6928
|
-
return
|
|
6938
|
+
return Bn & 6 ? $n() : _p !== -1 ? _p : _p = $n();
|
|
6929
6939
|
}
|
|
6930
6940
|
function pu(l) {
|
|
6931
|
-
return l.mode & 1 ?
|
|
6941
|
+
return l.mode & 1 ? Bn & 2 && wa !== 0 ? wa & -wa : Zh.transition !== null ? (_c === 0 && (_c = tf()), _c) : (l = tr, l !== 0 || (l = window.event, l = l === void 0 ? 16 : Hd(l.type)), l) : 1;
|
|
6932
6942
|
}
|
|
6933
6943
|
function jr(l, f, v, E) {
|
|
6934
6944
|
if (50 < wp) throw wp = 0, P0 = null, Error(t(185));
|
|
6935
|
-
Qo(l, v, E), (!(
|
|
6945
|
+
Qo(l, v, E), (!(Bn & 2) || l !== Kr) && (l === Kr && (!(Bn & 2) && ($f |= v), _a === 4 && Mo(l, wa)), xa(l, E), v === 1 && Bn === 0 && !(f.mode & 1) && (Hf = $n() + 500, La && Pi()));
|
|
6936
6946
|
}
|
|
6937
6947
|
function xa(l, f) {
|
|
6938
6948
|
var v = l.callbackNode;
|
|
@@ -6941,7 +6951,7 @@ Error generating stack: ` + V.message + `
|
|
|
6941
6951
|
if (E === 0) v !== null && Yn(v), l.callbackNode = null, l.callbackPriority = 0;
|
|
6942
6952
|
else if (f = E & -E, l.callbackPriority !== f) {
|
|
6943
6953
|
if (v != null && Yn(v), f === 1) l.tag === 0 ? Km(Vf.bind(null, l)) : Wm(Vf.bind(null, l)), qm(function() {
|
|
6944
|
-
!(
|
|
6954
|
+
!(Bn & 6) && Pi();
|
|
6945
6955
|
}), v = null;
|
|
6946
6956
|
else {
|
|
6947
6957
|
switch (rf(E)) {
|
|
@@ -6966,7 +6976,7 @@ Error generating stack: ` + V.message + `
|
|
|
6966
6976
|
}
|
|
6967
6977
|
}
|
|
6968
6978
|
function I0(l, f) {
|
|
6969
|
-
if (_p = -1, _c = 0,
|
|
6979
|
+
if (_p = -1, _c = 0, Bn & 6) throw Error(t(327));
|
|
6970
6980
|
var v = l.callbackNode;
|
|
6971
6981
|
if (Gf() && l.callbackNode !== v) return null;
|
|
6972
6982
|
var E = ui(l, l === Kr ? wa : 0);
|
|
@@ -6974,8 +6984,8 @@ Error generating stack: ` + V.message + `
|
|
|
6974
6984
|
if (E & 30 || E & l.expiredLanes || f) f = U0(l, E);
|
|
6975
6985
|
else {
|
|
6976
6986
|
f = E;
|
|
6977
|
-
var I =
|
|
6978
|
-
|
|
6987
|
+
var I = Bn;
|
|
6988
|
+
Bn |= 2;
|
|
6979
6989
|
var V = rw();
|
|
6980
6990
|
(Kr !== l || wa !== f) && (du = null, Hf = $n() + 500, Sc(l, f));
|
|
6981
6991
|
do
|
|
@@ -6986,7 +6996,7 @@ Error generating stack: ` + V.message + `
|
|
|
6986
6996
|
nw(l, Ae);
|
|
6987
6997
|
}
|
|
6988
6998
|
while (!0);
|
|
6989
|
-
os(), bc.current = V,
|
|
6999
|
+
os(), bc.current = V, Bn = I, Or !== null ? f = 0 : (Kr = null, wa = 0, f = _a);
|
|
6990
7000
|
}
|
|
6991
7001
|
if (f !== 0) {
|
|
6992
7002
|
if (f === 2 && (I = Hu(l), I !== 0 && (E = I, f = xc(l, I))), f === 1) throw v = bp, Sc(l, 0), Mo(l, E), xa(l, $n()), v;
|
|
@@ -7074,7 +7084,7 @@ Error generating stack: ` + V.message + `
|
|
|
7074
7084
|
}
|
|
7075
7085
|
}
|
|
7076
7086
|
function Vf(l) {
|
|
7077
|
-
if (
|
|
7087
|
+
if (Bn & 6) throw Error(t(327));
|
|
7078
7088
|
Gf();
|
|
7079
7089
|
var f = ui(l, 0);
|
|
7080
7090
|
if (!(f & 1)) return xa(l, $n()), null;
|
|
@@ -7088,23 +7098,23 @@ Error generating stack: ` + V.message + `
|
|
|
7088
7098
|
return l.finishedWork = l.current.alternate, l.finishedLanes = f, ol(l, ai, du), xa(l, $n()), null;
|
|
7089
7099
|
}
|
|
7090
7100
|
function bg(l, f) {
|
|
7091
|
-
var v =
|
|
7092
|
-
|
|
7101
|
+
var v = Bn;
|
|
7102
|
+
Bn |= 1;
|
|
7093
7103
|
try {
|
|
7094
7104
|
return l(f);
|
|
7095
7105
|
} finally {
|
|
7096
|
-
|
|
7106
|
+
Bn = v, Bn === 0 && (Hf = $n() + 500, La && Pi());
|
|
7097
7107
|
}
|
|
7098
7108
|
}
|
|
7099
7109
|
function To(l) {
|
|
7100
|
-
Bs !== null && Bs.tag === 0 && !(
|
|
7101
|
-
var f =
|
|
7102
|
-
|
|
7110
|
+
Bs !== null && Bs.tag === 0 && !(Bn & 6) && Gf();
|
|
7111
|
+
var f = Bn;
|
|
7112
|
+
Bn |= 1;
|
|
7103
7113
|
var v = Us.transition, E = tr;
|
|
7104
7114
|
try {
|
|
7105
7115
|
if (Us.transition = null, tr = 1, l) return l();
|
|
7106
7116
|
} finally {
|
|
7107
|
-
tr = E, Us.transition = v,
|
|
7117
|
+
tr = E, Us.transition = v, Bn = f, !(Bn & 6) && Pi();
|
|
7108
7118
|
}
|
|
7109
7119
|
}
|
|
7110
7120
|
function D0() {
|
|
@@ -7183,11 +7193,11 @@ Error generating stack: ` + V.message + `
|
|
|
7183
7193
|
var Pt = W1(le);
|
|
7184
7194
|
if (Pt !== null) {
|
|
7185
7195
|
Pt.flags &= -257, ug(Pt, le, Ae, V, f), Pt.mode & 1 && hp(V, Ye, f), f = Pt, De = Ye;
|
|
7186
|
-
var
|
|
7187
|
-
if (
|
|
7188
|
-
var
|
|
7189
|
-
|
|
7190
|
-
} else
|
|
7196
|
+
var $t = f.updateQueue;
|
|
7197
|
+
if ($t === null) {
|
|
7198
|
+
var Vt = /* @__PURE__ */ new Set();
|
|
7199
|
+
Vt.add(De), f.updateQueue = Vt;
|
|
7200
|
+
} else $t.add(De);
|
|
7191
7201
|
break e;
|
|
7192
7202
|
} else {
|
|
7193
7203
|
if (!(f & 1)) {
|
|
@@ -7240,8 +7250,8 @@ Error generating stack: ` + V.message + `
|
|
|
7240
7250
|
(_a === 0 || _a === 3 || _a === 2) && (_a = 4), Kr === null || !(wc & 268435455) && !($f & 268435455) || Mo(Kr, wa);
|
|
7241
7251
|
}
|
|
7242
7252
|
function U0(l, f) {
|
|
7243
|
-
var v =
|
|
7244
|
-
|
|
7253
|
+
var v = Bn;
|
|
7254
|
+
Bn |= 2;
|
|
7245
7255
|
var E = rw();
|
|
7246
7256
|
(Kr !== l || wa !== f) && (du = null, Sc(l, f));
|
|
7247
7257
|
do
|
|
@@ -7252,7 +7262,7 @@ Error generating stack: ` + V.message + `
|
|
|
7252
7262
|
nw(l, I);
|
|
7253
7263
|
}
|
|
7254
7264
|
while (!0);
|
|
7255
|
-
if (os(),
|
|
7265
|
+
if (os(), Bn = v, bc.current = E, Or !== null) throw Error(t(261));
|
|
7256
7266
|
return Kr = null, wa = 0, _a;
|
|
7257
7267
|
}
|
|
7258
7268
|
function N3() {
|
|
@@ -7304,7 +7314,7 @@ Error generating stack: ` + V.message + `
|
|
|
7304
7314
|
do
|
|
7305
7315
|
Gf();
|
|
7306
7316
|
while (Bs !== null);
|
|
7307
|
-
if (
|
|
7317
|
+
if (Bn & 6) throw Error(t(327));
|
|
7308
7318
|
v = l.finishedWork;
|
|
7309
7319
|
var I = l.finishedLanes;
|
|
7310
7320
|
if (v === null) return null;
|
|
@@ -7317,8 +7327,8 @@ Error generating stack: ` + V.message + `
|
|
|
7317
7327
|
V = Us.transition, Us.transition = null;
|
|
7318
7328
|
var le = tr;
|
|
7319
7329
|
tr = 1;
|
|
7320
|
-
var Ae =
|
|
7321
|
-
|
|
7330
|
+
var Ae = Bn;
|
|
7331
|
+
Bn |= 4, R0.current = null, R3(l, v), ew(v, l), jh(ic), As = !!$m, ic = $m = null, l.current = v, O3(v), Ti(), Bn = Ae, tr = le, Us.transition = V;
|
|
7322
7332
|
} else l.current = v;
|
|
7323
7333
|
if (qf && (qf = !1, Bs = l, N0 = I), V = l.pendingLanes, V === 0 && (Fs = null), Yo(v.stateNode), xa(l, $n()), f !== null) for (E = l.onRecoverableError, v = 0; v < f.length; v++) I = f[v], E(I.value, { componentStack: I.stack, digest: I.digest });
|
|
7324
7334
|
if (L0) throw L0 = !1, l = mg, mg = null, l;
|
|
@@ -7330,9 +7340,9 @@ Error generating stack: ` + V.message + `
|
|
|
7330
7340
|
try {
|
|
7331
7341
|
if (Us.transition = null, tr = 16 > l ? 16 : l, Bs === null) var E = !1;
|
|
7332
7342
|
else {
|
|
7333
|
-
if (l = Bs, Bs = null, N0 = 0,
|
|
7334
|
-
var I =
|
|
7335
|
-
for (
|
|
7343
|
+
if (l = Bs, Bs = null, N0 = 0, Bn & 6) throw Error(t(331));
|
|
7344
|
+
var I = Bn;
|
|
7345
|
+
for (Bn |= 4, zt = l.current; zt !== null; ) {
|
|
7336
7346
|
var V = zt, le = V.child;
|
|
7337
7347
|
if (zt.flags & 16) {
|
|
7338
7348
|
var Ae = V.deletions;
|
|
@@ -7364,15 +7374,15 @@ Error generating stack: ` + V.message + `
|
|
|
7364
7374
|
}
|
|
7365
7375
|
}
|
|
7366
7376
|
}
|
|
7367
|
-
var
|
|
7368
|
-
if (
|
|
7369
|
-
var
|
|
7370
|
-
if (
|
|
7371
|
-
|
|
7377
|
+
var $t = V.alternate;
|
|
7378
|
+
if ($t !== null) {
|
|
7379
|
+
var Vt = $t.child;
|
|
7380
|
+
if (Vt !== null) {
|
|
7381
|
+
$t.child = null;
|
|
7372
7382
|
do {
|
|
7373
|
-
var na =
|
|
7374
|
-
|
|
7375
|
-
} while (
|
|
7383
|
+
var na = Vt.sibling;
|
|
7384
|
+
Vt.sibling = null, Vt = na;
|
|
7385
|
+
} while (Vt !== null);
|
|
7376
7386
|
}
|
|
7377
7387
|
}
|
|
7378
7388
|
zt = V;
|
|
@@ -7422,7 +7432,7 @@ Error generating stack: ` + V.message + `
|
|
|
7422
7432
|
zt = Ae.return;
|
|
7423
7433
|
}
|
|
7424
7434
|
}
|
|
7425
|
-
if (
|
|
7435
|
+
if (Bn = I, Pi(), Ta && typeof Ta.onPostCommitFiberRoot == "function") try {
|
|
7426
7436
|
Ta.onPostCommitFiberRoot(Cs, l);
|
|
7427
7437
|
} catch {
|
|
7428
7438
|
}
|
|
@@ -7858,7 +7868,7 @@ Error generating stack: ` + V.message + `
|
|
|
7858
7868
|
var f = l.stateNode;
|
|
7859
7869
|
if (f.current.memoizedState.isDehydrated) {
|
|
7860
7870
|
var v = eo(f.pendingLanes);
|
|
7861
|
-
v !== 0 && (_o(f, v | 1), xa(f, $n()), !(
|
|
7871
|
+
v !== 0 && (_o(f, v | 1), xa(f, $n()), !(Bn & 6) && (Hf = $n() + 500, Pi()));
|
|
7862
7872
|
}
|
|
7863
7873
|
break;
|
|
7864
7874
|
case 13:
|
|
@@ -8061,7 +8071,7 @@ function ZG() {
|
|
|
8061
8071
|
if (J(a))
|
|
8062
8072
|
return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", s, ye(a)), P(a);
|
|
8063
8073
|
}
|
|
8064
|
-
function
|
|
8074
|
+
function Ne(a) {
|
|
8065
8075
|
if (J(a))
|
|
8066
8076
|
return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", ye(a)), P(a);
|
|
8067
8077
|
}
|
|
@@ -9081,7 +9091,7 @@ Error generating stack: ` + y.message + `
|
|
|
9081
9091
|
var K = y.name;
|
|
9082
9092
|
K !== "" && (y.name = ""), y.defaultChecked = !y.defaultChecked, y.defaultChecked = !!y._wrapperState.initialChecked, K !== "" && (y.name = K);
|
|
9083
9093
|
}
|
|
9084
|
-
function
|
|
9094
|
+
function fn(a, s) {
|
|
9085
9095
|
var d = a;
|
|
9086
9096
|
Xe(d, s), Mt(d, s);
|
|
9087
9097
|
}
|
|
@@ -10303,16 +10313,16 @@ Check the render method of \`` + a + "`." : "";
|
|
|
10303
10313
|
function un() {
|
|
10304
10314
|
je = !0, tt(), d.apply(y, Tt), Fe = !1;
|
|
10305
10315
|
}
|
|
10306
|
-
var en, Kn = !1,
|
|
10316
|
+
var en, Kn = !1, zn = !1;
|
|
10307
10317
|
function He(qe) {
|
|
10308
|
-
if (en = qe.error, Kn = !0, en === null && qe.colno === 0 && qe.lineno === 0 && (
|
|
10318
|
+
if (en = qe.error, Kn = !0, en === null && qe.colno === 0 && qe.lineno === 0 && (zn = !0), qe.defaultPrevented && en != null && typeof en == "object")
|
|
10309
10319
|
try {
|
|
10310
10320
|
en._suppressLogging = !0;
|
|
10311
10321
|
} catch {
|
|
10312
10322
|
}
|
|
10313
10323
|
}
|
|
10314
10324
|
var nt = "react-" + (s || "invokeguardedcallback");
|
|
10315
|
-
if (window.addEventListener("error", He), qm.addEventListener(nt, un, !1), we.initEvent(nt, !1, !1), qm.dispatchEvent(we), Je && Object.defineProperty(window, "event", Je), je && Fe && (Kn ?
|
|
10325
|
+
if (window.addEventListener("error", He), qm.addEventListener(nt, un, !1), we.initEvent(nt, !1, !1), qm.dispatchEvent(we), Je && Object.defineProperty(window, "event", Je), je && Fe && (Kn ? zn && (en = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : en = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(en)), window.removeEventListener("error", He), !je)
|
|
10316
10326
|
return tt(), T1.apply(this, arguments);
|
|
10317
10327
|
};
|
|
10318
10328
|
}
|
|
@@ -11439,20 +11449,20 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11439
11449
|
function Us() {
|
|
11440
11450
|
vp = !1, Ur !== null && bc(Ur) && (Ur = null), Na !== null && bc(Na) && (Na = null), ci !== null && bc(ci) && (ci = null), Ff.forEach(R0), Bf.forEach(R0);
|
|
11441
11451
|
}
|
|
11442
|
-
function
|
|
11452
|
+
function Bn(a, s) {
|
|
11443
11453
|
a.blockedOn === s && (a.blockedOn = null, vp || (vp = !0, e.unstable_scheduleCallback(e.unstable_NormalPriority, Us)));
|
|
11444
11454
|
}
|
|
11445
11455
|
function Kr(a) {
|
|
11446
11456
|
if (Uf.length > 0) {
|
|
11447
|
-
|
|
11457
|
+
Bn(Uf[0], a);
|
|
11448
11458
|
for (var s = 1; s < Uf.length; s++) {
|
|
11449
11459
|
var d = Uf[s];
|
|
11450
11460
|
d.blockedOn === a && (d.blockedOn = null);
|
|
11451
11461
|
}
|
|
11452
11462
|
}
|
|
11453
|
-
Ur !== null &&
|
|
11463
|
+
Ur !== null && Bn(Ur, a), Na !== null && Bn(Na, a), ci !== null && Bn(ci, a);
|
|
11454
11464
|
var y = function(K) {
|
|
11455
|
-
return
|
|
11465
|
+
return Bn(K, a);
|
|
11456
11466
|
};
|
|
11457
11467
|
Ff.forEach(y), Bf.forEach(y);
|
|
11458
11468
|
for (var _ = 0; _ < Pa.length; _++) {
|
|
@@ -12150,11 +12160,11 @@ Check the render method of \`` + a + "`." : "";
|
|
|
12150
12160
|
function Pt(a, s, d) {
|
|
12151
12161
|
a === "focusin" ? (dt(), lt(s, d)) : a === "focusout" && dt();
|
|
12152
12162
|
}
|
|
12153
|
-
function
|
|
12163
|
+
function $t(a, s) {
|
|
12154
12164
|
if (a === "selectionchange" || a === "keyup" || a === "keydown")
|
|
12155
12165
|
return Ae(E);
|
|
12156
12166
|
}
|
|
12157
|
-
function
|
|
12167
|
+
function Vt(a) {
|
|
12158
12168
|
var s = a.nodeName;
|
|
12159
12169
|
return s && s.toLowerCase() === "input" && (a.type === "checkbox" || a.type === "radio");
|
|
12160
12170
|
}
|
|
@@ -12172,7 +12182,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
12172
12182
|
}
|
|
12173
12183
|
function Ve(a, s, d, y, _, M, B) {
|
|
12174
12184
|
var K = d ? Q0(d) : window, X, he;
|
|
12175
|
-
if (I(K) ? X = De : hw(K) ? Ye ? X = $e : (X =
|
|
12185
|
+
if (I(K) ? X = De : hw(K) ? Ye ? X = $e : (X = $t, he = Pt) : Vt(K) && (X = na), X) {
|
|
12176
12186
|
var we = X(s, d);
|
|
12177
12187
|
if (we) {
|
|
12178
12188
|
f(a, we, y, _);
|
|
@@ -12211,23 +12221,23 @@ Check the render method of \`` + a + "`." : "";
|
|
|
12211
12221
|
if (Fe !== Ge) {
|
|
12212
12222
|
var Tt = D0, un = "onMouseLeave", en = "onMouseEnter", Kn = "mouse";
|
|
12213
12223
|
(s === "pointerout" || s === "pointerover") && (Tt = cw, un = "onPointerLeave", en = "onPointerEnter", Kn = "pointer");
|
|
12214
|
-
var
|
|
12215
|
-
nt.target =
|
|
12224
|
+
var zn = Fe == null ? we : Q0(Fe), He = Ge == null ? we : Q0(Ge), nt = new Tt(un, Kn + "leave", Fe, y, _);
|
|
12225
|
+
nt.target = zn, nt.relatedTarget = He;
|
|
12216
12226
|
var qe = null, pt = Rp(_);
|
|
12217
12227
|
if (pt === d) {
|
|
12218
12228
|
var Ut = new Tt(en, Kn + "enter", Ge, y, _);
|
|
12219
|
-
Ut.target = He, Ut.relatedTarget =
|
|
12229
|
+
Ut.target = He, Ut.relatedTarget = zn, qe = Ut;
|
|
12220
12230
|
}
|
|
12221
12231
|
yj(a, nt, qe, Fe, Ge);
|
|
12222
12232
|
}
|
|
12223
12233
|
}
|
|
12224
12234
|
}
|
|
12225
|
-
function
|
|
12235
|
+
function dn(a, s) {
|
|
12226
12236
|
return a === s && (a !== 0 || 1 / a === 1 / s) || a !== a && s !== s;
|
|
12227
12237
|
}
|
|
12228
|
-
var
|
|
12238
|
+
var Ht = typeof Object.is == "function" ? Object.is : dn;
|
|
12229
12239
|
function pn(a, s) {
|
|
12230
|
-
if (
|
|
12240
|
+
if (Ht(a, s))
|
|
12231
12241
|
return !0;
|
|
12232
12242
|
if (typeof a != "object" || a === null || typeof s != "object" || s === null)
|
|
12233
12243
|
return !1;
|
|
@@ -12236,7 +12246,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
12236
12246
|
return !1;
|
|
12237
12247
|
for (var _ = 0; _ < d.length; _++) {
|
|
12238
12248
|
var M = d[_];
|
|
12239
|
-
if (!te.call(s, M) ||
|
|
12249
|
+
if (!te.call(s, M) || !Ht(a[M], s[M]))
|
|
12240
12250
|
return !1;
|
|
12241
12251
|
}
|
|
12242
12252
|
return !0;
|
|
@@ -12809,7 +12819,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
12809
12819
|
};
|
|
12810
12820
|
var gj = /\r\n?/g, vj = /\u0000|\uFFFD/g;
|
|
12811
12821
|
function Sw(a) {
|
|
12812
|
-
|
|
12822
|
+
Ne(a);
|
|
12813
12823
|
var s = typeof a == "string" ? a : "" + a;
|
|
12814
12824
|
return s.replace(gj, `
|
|
12815
12825
|
`).replace(vj, "");
|
|
@@ -13076,8 +13086,8 @@ Check the render method of \`` + a + "`." : "";
|
|
|
13076
13086
|
if (Je === Og) {
|
|
13077
13087
|
var en = a.innerHTML, Kn = tt ? tt[ww] : void 0;
|
|
13078
13088
|
if (Kn != null) {
|
|
13079
|
-
var
|
|
13080
|
-
|
|
13089
|
+
var zn = Ik(a, Kn);
|
|
13090
|
+
zn !== en && Lg(Je, en, zn);
|
|
13081
13091
|
}
|
|
13082
13092
|
} else if (Je === Tp) {
|
|
13083
13093
|
if (X.delete(Je), Pk) {
|
|
@@ -13159,7 +13169,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
13159
13169
|
function Rj(a, s, d) {
|
|
13160
13170
|
switch (s) {
|
|
13161
13171
|
case "input":
|
|
13162
|
-
|
|
13172
|
+
fn(a, d);
|
|
13163
13173
|
return;
|
|
13164
13174
|
case "textarea":
|
|
13165
13175
|
Mm(a, d);
|
|
@@ -13948,8 +13958,8 @@ Check the render method of \`` + a + "`." : "";
|
|
|
13948
13958
|
var he = M - M % 5, we = (1 << he) - 1, je = (B & we).toString(32), Fe = B >> he, Ge = M - he, Je = zw(s) + Ge, tt = K << Ge, Tt = tt | Fe, un = je + _;
|
|
13949
13959
|
Mc = 1 << Je | Tt, Tc = un;
|
|
13950
13960
|
} else {
|
|
13951
|
-
var en = K << M, Kn = en | B,
|
|
13952
|
-
Mc = 1 << X | Kn, Tc =
|
|
13961
|
+
var en = K << M, Kn = en | B, zn = _;
|
|
13962
|
+
Mc = 1 << X | Kn, Tc = zn;
|
|
13953
13963
|
}
|
|
13954
13964
|
}
|
|
13955
13965
|
function g6(a) {
|
|
@@ -14816,7 +14826,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14816
14826
|
var _n = CC(qe, He.mode, pt);
|
|
14817
14827
|
return _n.return = He, _n;
|
|
14818
14828
|
}
|
|
14819
|
-
function
|
|
14829
|
+
function zn(He, nt, qe, pt) {
|
|
14820
14830
|
var Ut = typeof qe == "object" && qe !== null && qe.type === fr && qe.key === null;
|
|
14821
14831
|
if (Ut && (qe = qe.props.children), typeof qe == "object" && qe !== null) {
|
|
14822
14832
|
switch (qe.$$typeof) {
|
|
@@ -14826,7 +14836,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14826
14836
|
return B(Kn(He, nt, qe, pt));
|
|
14827
14837
|
case Dt:
|
|
14828
14838
|
var Lt = qe._payload, yn = qe._init;
|
|
14829
|
-
return
|
|
14839
|
+
return zn(He, nt, yn(Lt), pt);
|
|
14830
14840
|
}
|
|
14831
14841
|
if (qn(qe))
|
|
14832
14842
|
return tt(He, nt, qe, pt);
|
|
@@ -14836,7 +14846,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14836
14846
|
}
|
|
14837
14847
|
return typeof qe == "string" && qe !== "" || typeof qe == "number" ? B(un(He, nt, "" + qe, pt)) : (typeof qe == "function" && qw(He), d(He, nt));
|
|
14838
14848
|
}
|
|
14839
|
-
return
|
|
14849
|
+
return zn;
|
|
14840
14850
|
}
|
|
14841
14851
|
var ry = fM(!0), dM = fM(!1);
|
|
14842
14852
|
function fH(a, s) {
|
|
@@ -15178,11 +15188,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15178
15188
|
if (M !== null) {
|
|
15179
15189
|
var Ge = _.baseState, Je = ot, tt = null, Tt = null, un = null, en = M;
|
|
15180
15190
|
do {
|
|
15181
|
-
var Kn = en.lane,
|
|
15191
|
+
var Kn = en.lane, zn = en.eventTime;
|
|
15182
15192
|
if (gc(y, Kn)) {
|
|
15183
15193
|
if (un !== null) {
|
|
15184
15194
|
var nt = {
|
|
15185
|
-
eventTime:
|
|
15195
|
+
eventTime: zn,
|
|
15186
15196
|
// This update is going to be committed so we never want uncommit
|
|
15187
15197
|
// it. Using NoLane works because 0 is a subset of all bitmasks, so
|
|
15188
15198
|
// this will never be skipped by the check above.
|
|
@@ -15205,7 +15215,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
15205
15215
|
}
|
|
15206
15216
|
} else {
|
|
15207
15217
|
var He = {
|
|
15208
|
-
eventTime:
|
|
15218
|
+
eventTime: zn,
|
|
15209
15219
|
lane: Kn,
|
|
15210
15220
|
tag: en.tag,
|
|
15211
15221
|
payload: en.payload,
|
|
@@ -15416,7 +15426,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
15416
15426
|
Previous: %s
|
|
15417
15427
|
Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
15418
15428
|
for (var d = 0; d < s.length && d < a.length; d++)
|
|
15419
|
-
if (
|
|
15429
|
+
if (!Ht(a[d], s[d]))
|
|
15420
15430
|
return !1;
|
|
15421
15431
|
return !0;
|
|
15422
15432
|
}
|
|
@@ -15567,15 +15577,15 @@ Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
15567
15577
|
}
|
|
15568
15578
|
tt = tt.next;
|
|
15569
15579
|
} while (tt !== null && tt !== we);
|
|
15570
|
-
Je === null ? Fe = je : Je.next = Ge,
|
|
15580
|
+
Je === null ? Fe = je : Je.next = Ge, Ht(je, y.memoizedState) || uv(), y.memoizedState = je, y.baseState = Fe, y.baseQueue = Je, _.lastRenderedState = je;
|
|
15571
15581
|
}
|
|
15572
|
-
var
|
|
15573
|
-
if (
|
|
15574
|
-
var He =
|
|
15582
|
+
var zn = _.interleaved;
|
|
15583
|
+
if (zn !== null) {
|
|
15584
|
+
var He = zn;
|
|
15575
15585
|
do {
|
|
15576
15586
|
var nt = He.lane;
|
|
15577
15587
|
mr.lanes = Cn(mr.lanes, nt), wv(nt), He = He.next;
|
|
15578
|
-
} while (He !==
|
|
15588
|
+
} while (He !== zn);
|
|
15579
15589
|
} else B === null && (_.lanes = ot);
|
|
15580
15590
|
var qe = _.dispatch;
|
|
15581
15591
|
return [y.memoizedState, qe];
|
|
@@ -15593,7 +15603,7 @@ Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
15593
15603
|
var we = he.action;
|
|
15594
15604
|
K = a(K, we), he = he.next;
|
|
15595
15605
|
} while (he !== X);
|
|
15596
|
-
|
|
15606
|
+
Ht(K, y.memoizedState) || uv(), y.memoizedState = K, y.baseQueue === null && (y.baseState = K), _.lastRenderedState = K;
|
|
15597
15607
|
}
|
|
15598
15608
|
return [K, M];
|
|
15599
15609
|
}
|
|
@@ -15610,7 +15620,7 @@ Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
15610
15620
|
} else {
|
|
15611
15621
|
if (M = s(), !ly) {
|
|
15612
15622
|
var K = s();
|
|
15613
|
-
|
|
15623
|
+
Ht(M, K) || (u("The result of getSnapshot should be cached to avoid an infinite loop"), ly = !0);
|
|
15614
15624
|
}
|
|
15615
15625
|
var X = D_();
|
|
15616
15626
|
if (X === null)
|
|
@@ -15628,9 +15638,9 @@ Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
15628
15638
|
var y = mr, _ = Po(), M = s();
|
|
15629
15639
|
if (!ly) {
|
|
15630
15640
|
var B = s();
|
|
15631
|
-
|
|
15641
|
+
Ht(M, B) || (u("The result of getSnapshot should be cached to avoid an infinite loop"), ly = !0);
|
|
15632
15642
|
}
|
|
15633
|
-
var K = _.memoizedState, X =
|
|
15643
|
+
var K = _.memoizedState, X = !Ht(K, M);
|
|
15634
15644
|
X && (_.memoizedState = M, uv());
|
|
15635
15645
|
var he = _.queue;
|
|
15636
15646
|
if (nv(OM.bind(null, y, he, a), [a]), he.getSnapshot !== s || X || // Check if the susbcribe function changed. We can save some memory by
|
|
@@ -15670,7 +15680,7 @@ Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
15670
15680
|
var s = a.getSnapshot, d = a.value;
|
|
15671
15681
|
try {
|
|
15672
15682
|
var y = s();
|
|
15673
|
-
return
|
|
15683
|
+
return !Ht(d, y);
|
|
15674
15684
|
} catch {
|
|
15675
15685
|
return !0;
|
|
15676
15686
|
}
|
|
@@ -15845,7 +15855,7 @@ Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
15845
15855
|
function UM(a, s, d) {
|
|
15846
15856
|
var y = !V1(Fp);
|
|
15847
15857
|
if (y) {
|
|
15848
|
-
if (
|
|
15858
|
+
if (!Ht(d, s)) {
|
|
15849
15859
|
var _ = K1();
|
|
15850
15860
|
mr.lanes = Cn(mr.lanes, _), wv(_), a.baseState = !0;
|
|
15851
15861
|
}
|
|
@@ -15942,7 +15952,7 @@ Incoming: %s`, it, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
15942
15952
|
K = It.current, It.current = bu;
|
|
15943
15953
|
try {
|
|
15944
15954
|
var X = s.lastRenderedState, he = B(X, d);
|
|
15945
|
-
if (_.hasEagerState = !0, _.eagerState = he,
|
|
15955
|
+
if (_.hasEagerState = !0, _.eagerState = he, Ht(he, X)) {
|
|
15946
15956
|
mH(a, s, _, y);
|
|
15947
15957
|
return;
|
|
15948
15958
|
}
|
|
@@ -17547,7 +17557,7 @@ Check the render method of \`` + y + "`.");
|
|
|
17547
17557
|
var tt = y.fallback, Tt = y.children, un = oq(a, s, Tt, tt, d), en = s.child, Kn = a.child.memoizedState;
|
|
17548
17558
|
return en.memoizedState = Kn === null ? jS(d) : nq(Kn, d), en.childLanes = aq(a, d), s.memoizedState = zS, un;
|
|
17549
17559
|
} else {
|
|
17550
|
-
var
|
|
17560
|
+
var zn = y.children, He = sq(a, s, zn, d);
|
|
17551
17561
|
return s.memoizedState = null, He;
|
|
17552
17562
|
}
|
|
17553
17563
|
}
|
|
@@ -17675,8 +17685,8 @@ Check the render method of \`` + y + "`.");
|
|
|
17675
17685
|
return y$(_, en), null;
|
|
17676
17686
|
} else {
|
|
17677
17687
|
eH(s, _, M.treeContext);
|
|
17678
|
-
var Kn = y.children,
|
|
17679
|
-
return
|
|
17688
|
+
var Kn = y.children, zn = $S(s, Kn);
|
|
17689
|
+
return zn.flags |= Rs, zn;
|
|
17680
17690
|
}
|
|
17681
17691
|
}
|
|
17682
17692
|
}
|
|
@@ -17860,7 +17870,7 @@ Check the render method of \`` + y + "`.");
|
|
|
17860
17870
|
}
|
|
17861
17871
|
if (yM(s, _, K), B !== null) {
|
|
17862
17872
|
var he = B.value;
|
|
17863
|
-
if (
|
|
17873
|
+
if (Ht(he, K)) {
|
|
17864
17874
|
if (B.children === M.children && !Pw())
|
|
17865
17875
|
return Oc(a, s, d);
|
|
17866
17876
|
} else
|
|
@@ -18037,18 +18047,18 @@ Check the render method of \`` + y + "`.");
|
|
|
18037
18047
|
case R:
|
|
18038
18048
|
return vq(a, s, d);
|
|
18039
18049
|
case de: {
|
|
18040
|
-
var en = s.type, Kn = s.pendingProps,
|
|
18050
|
+
var en = s.type, Kn = s.pendingProps, zn = wu(en, Kn);
|
|
18041
18051
|
if (s.type !== s.elementType) {
|
|
18042
18052
|
var He = en.propTypes;
|
|
18043
18053
|
He && yu(
|
|
18044
18054
|
He,
|
|
18045
|
-
|
|
18055
|
+
zn,
|
|
18046
18056
|
// Resolved for outer only
|
|
18047
18057
|
"prop",
|
|
18048
18058
|
Hn(en)
|
|
18049
18059
|
);
|
|
18050
18060
|
}
|
|
18051
|
-
return
|
|
18061
|
+
return zn = wu(en.type, zn), fT(a, s, en, zn, d);
|
|
18052
18062
|
}
|
|
18053
18063
|
case ce:
|
|
18054
18064
|
return dT(a, s, s.type, s.pendingProps, d);
|
|
@@ -18248,8 +18258,8 @@ Check the render method of \`` + y + "`.");
|
|
|
18248
18258
|
}
|
|
18249
18259
|
if ((s.flags & mn) !== sn)
|
|
18250
18260
|
return s.lanes = d, (s.mode & gn) !== Yt && mS(s), s;
|
|
18251
|
-
var
|
|
18252
|
-
if (
|
|
18261
|
+
var zn = en !== null, He = a !== null && a.memoizedState !== null;
|
|
18262
|
+
if (zn !== He && zn) {
|
|
18253
18263
|
var nt = s.child;
|
|
18254
18264
|
if (nt.flags |= Xu, (s.mode & Xt) !== Yt) {
|
|
18255
18265
|
var qe = a === null && (s.memoizedProps.unstable_avoidThisFallback !== !0 || !N);
|
|
@@ -18257,7 +18267,7 @@ Check the render method of \`` + y + "`.");
|
|
|
18257
18267
|
}
|
|
18258
18268
|
}
|
|
18259
18269
|
var pt = s.updateQueue;
|
|
18260
|
-
if (pt !== null && (s.flags |= En), hi(s), (s.mode & gn) !== Yt &&
|
|
18270
|
+
if (pt !== null && (s.flags |= En), hi(s), (s.mode & gn) !== Yt && zn) {
|
|
18261
18271
|
var Ut = s.child;
|
|
18262
18272
|
Ut !== null && (s.treeBaseDuration -= Ut.treeBaseDuration);
|
|
18263
18273
|
}
|
|
@@ -18421,7 +18431,7 @@ Check the render method of \`` + y + "`.");
|
|
|
18421
18431
|
}
|
|
18422
18432
|
var LT = null;
|
|
18423
18433
|
LT = /* @__PURE__ */ new Set();
|
|
18424
|
-
var k_ = !1, yi = !1, Sq = typeof WeakSet == "function" ? WeakSet : Set,
|
|
18434
|
+
var k_ = !1, yi = !1, Sq = typeof WeakSet == "function" ? WeakSet : Set, qt = null, hy = null, yy = null;
|
|
18425
18435
|
function Cq(a) {
|
|
18426
18436
|
oc(null, function() {
|
|
18427
18437
|
throw a;
|
|
@@ -18495,19 +18505,19 @@ Check the render method of \`` + y + "`.");
|
|
|
18495
18505
|
}
|
|
18496
18506
|
var IT = !1;
|
|
18497
18507
|
function kq(a, s) {
|
|
18498
|
-
Bj(a.containerInfo),
|
|
18508
|
+
Bj(a.containerInfo), qt = s, Mq();
|
|
18499
18509
|
var d = IT;
|
|
18500
18510
|
return IT = !1, d;
|
|
18501
18511
|
}
|
|
18502
18512
|
function Mq() {
|
|
18503
|
-
for (;
|
|
18504
|
-
var a =
|
|
18505
|
-
(a.subtreeFlags & vf) !== sn && s !== null ? (s.return = a,
|
|
18513
|
+
for (; qt !== null; ) {
|
|
18514
|
+
var a = qt, s = a.child;
|
|
18515
|
+
(a.subtreeFlags & vf) !== sn && s !== null ? (s.return = a, qt = s) : Tq();
|
|
18506
18516
|
}
|
|
18507
18517
|
}
|
|
18508
18518
|
function Tq() {
|
|
18509
|
-
for (;
|
|
18510
|
-
var a =
|
|
18519
|
+
for (; qt !== null; ) {
|
|
18520
|
+
var a = qt;
|
|
18511
18521
|
or(a);
|
|
18512
18522
|
try {
|
|
18513
18523
|
Rq(a);
|
|
@@ -18517,10 +18527,10 @@ Check the render method of \`` + y + "`.");
|
|
|
18517
18527
|
Vr();
|
|
18518
18528
|
var s = a.sibling;
|
|
18519
18529
|
if (s !== null) {
|
|
18520
|
-
s.return = a.return,
|
|
18530
|
+
s.return = a.return, qt = s;
|
|
18521
18531
|
return;
|
|
18522
18532
|
}
|
|
18523
|
-
|
|
18533
|
+
qt = a.return;
|
|
18524
18534
|
}
|
|
18525
18535
|
}
|
|
18526
18536
|
function Rq(a) {
|
|
@@ -18718,8 +18728,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
18718
18728
|
e: for (; Kn !== null; ) {
|
|
18719
18729
|
switch (Kn.tag) {
|
|
18720
18730
|
case w:
|
|
18721
|
-
var
|
|
18722
|
-
|
|
18731
|
+
var zn = Kn.stateNode;
|
|
18732
|
+
zn.effectDuration += Tt;
|
|
18723
18733
|
break e;
|
|
18724
18734
|
case q:
|
|
18725
18735
|
var He = Kn.stateNode;
|
|
@@ -19193,21 +19203,21 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19193
19203
|
return;
|
|
19194
19204
|
}
|
|
19195
19205
|
case C: {
|
|
19196
|
-
var
|
|
19206
|
+
var zn = y !== null && y.memoizedState !== null;
|
|
19197
19207
|
if (
|
|
19198
19208
|
// TODO: Remove this dead flag
|
|
19199
19209
|
a.mode & Xt
|
|
19200
19210
|
) {
|
|
19201
19211
|
var He = yi;
|
|
19202
|
-
yi = He ||
|
|
19212
|
+
yi = He || zn, Cu(s, a), yi = He;
|
|
19203
19213
|
} else
|
|
19204
19214
|
Cu(s, a);
|
|
19205
19215
|
if (gl(a), _ & Xu) {
|
|
19206
19216
|
var nt = a.stateNode, qe = a.memoizedState, pt = qe !== null, Ut = a;
|
|
19207
|
-
if (nt.isHidden = pt, pt && !
|
|
19208
|
-
|
|
19217
|
+
if (nt.isHidden = pt, pt && !zn && (Ut.mode & Xt) !== Yt) {
|
|
19218
|
+
qt = Ut;
|
|
19209
19219
|
for (var Lt = Ut.child; Lt !== null; )
|
|
19210
|
-
|
|
19220
|
+
qt = Lt, Hq(Lt), Lt = Lt.sibling;
|
|
19211
19221
|
}
|
|
19212
19222
|
Pq(Ut, pt);
|
|
19213
19223
|
}
|
|
@@ -19238,11 +19248,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19238
19248
|
s & Rs && (a.flags &= ~Rs);
|
|
19239
19249
|
}
|
|
19240
19250
|
function $q(a, s, d) {
|
|
19241
|
-
hy = d, yy = s,
|
|
19251
|
+
hy = d, yy = s, qt = a, HT(a, s, d), hy = null, yy = null;
|
|
19242
19252
|
}
|
|
19243
19253
|
function HT(a, s, d) {
|
|
19244
|
-
for (var y = (a.mode & Xt) !== Yt;
|
|
19245
|
-
var _ =
|
|
19254
|
+
for (var y = (a.mode & Xt) !== Yt; qt !== null; ) {
|
|
19255
|
+
var _ = qt, M = _.child;
|
|
19246
19256
|
if (_.tag === C && y) {
|
|
19247
19257
|
var B = _.memoizedState !== null, K = B || k_;
|
|
19248
19258
|
if (K) {
|
|
@@ -19250,24 +19260,24 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19250
19260
|
continue;
|
|
19251
19261
|
} else {
|
|
19252
19262
|
var X = _.alternate, he = X !== null && X.memoizedState !== null, we = he || yi, je = k_, Fe = yi;
|
|
19253
|
-
k_ = K, yi = we, yi && !Fe && (
|
|
19263
|
+
k_ = K, yi = we, yi && !Fe && (qt = _, qq(_));
|
|
19254
19264
|
for (var Ge = M; Ge !== null; )
|
|
19255
|
-
|
|
19265
|
+
qt = Ge, HT(
|
|
19256
19266
|
Ge,
|
|
19257
19267
|
// New root; bubble back up to here and stop.
|
|
19258
19268
|
s,
|
|
19259
19269
|
d
|
|
19260
19270
|
), Ge = Ge.sibling;
|
|
19261
|
-
|
|
19271
|
+
qt = _, k_ = je, yi = Fe, JS(a, s, d);
|
|
19262
19272
|
continue;
|
|
19263
19273
|
}
|
|
19264
19274
|
}
|
|
19265
|
-
(_.subtreeFlags & ei) !== sn && M !== null ? (M.return = _,
|
|
19275
|
+
(_.subtreeFlags & ei) !== sn && M !== null ? (M.return = _, qt = M) : JS(a, s, d);
|
|
19266
19276
|
}
|
|
19267
19277
|
}
|
|
19268
19278
|
function JS(a, s, d) {
|
|
19269
|
-
for (;
|
|
19270
|
-
var y =
|
|
19279
|
+
for (; qt !== null; ) {
|
|
19280
|
+
var y = qt;
|
|
19271
19281
|
if ((y.flags & ei) !== sn) {
|
|
19272
19282
|
var _ = y.alternate;
|
|
19273
19283
|
or(y);
|
|
@@ -19279,20 +19289,20 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19279
19289
|
Vr();
|
|
19280
19290
|
}
|
|
19281
19291
|
if (y === a) {
|
|
19282
|
-
|
|
19292
|
+
qt = null;
|
|
19283
19293
|
return;
|
|
19284
19294
|
}
|
|
19285
19295
|
var M = y.sibling;
|
|
19286
19296
|
if (M !== null) {
|
|
19287
|
-
M.return = y.return,
|
|
19297
|
+
M.return = y.return, qt = M;
|
|
19288
19298
|
return;
|
|
19289
19299
|
}
|
|
19290
|
-
|
|
19300
|
+
qt = y.return;
|
|
19291
19301
|
}
|
|
19292
19302
|
}
|
|
19293
19303
|
function Hq(a) {
|
|
19294
|
-
for (;
|
|
19295
|
-
var s =
|
|
19304
|
+
for (; qt !== null; ) {
|
|
19305
|
+
var s = qt, d = s.child;
|
|
19296
19306
|
switch (s.tag) {
|
|
19297
19307
|
case p:
|
|
19298
19308
|
case D:
|
|
@@ -19327,27 +19337,27 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19327
19337
|
break;
|
|
19328
19338
|
}
|
|
19329
19339
|
}
|
|
19330
|
-
d !== null ? (d.return = s,
|
|
19340
|
+
d !== null ? (d.return = s, qt = d) : qT(a);
|
|
19331
19341
|
}
|
|
19332
19342
|
}
|
|
19333
19343
|
function qT(a) {
|
|
19334
|
-
for (;
|
|
19335
|
-
var s =
|
|
19344
|
+
for (; qt !== null; ) {
|
|
19345
|
+
var s = qt;
|
|
19336
19346
|
if (s === a) {
|
|
19337
|
-
|
|
19347
|
+
qt = null;
|
|
19338
19348
|
return;
|
|
19339
19349
|
}
|
|
19340
19350
|
var d = s.sibling;
|
|
19341
19351
|
if (d !== null) {
|
|
19342
|
-
d.return = s.return,
|
|
19352
|
+
d.return = s.return, qt = d;
|
|
19343
19353
|
return;
|
|
19344
19354
|
}
|
|
19345
|
-
|
|
19355
|
+
qt = s.return;
|
|
19346
19356
|
}
|
|
19347
19357
|
}
|
|
19348
19358
|
function qq(a) {
|
|
19349
|
-
for (;
|
|
19350
|
-
var s =
|
|
19359
|
+
for (; qt !== null; ) {
|
|
19360
|
+
var s = qt, d = s.child;
|
|
19351
19361
|
if (s.tag === C) {
|
|
19352
19362
|
var y = s.memoizedState !== null;
|
|
19353
19363
|
if (y) {
|
|
@@ -19355,12 +19365,12 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19355
19365
|
continue;
|
|
19356
19366
|
}
|
|
19357
19367
|
}
|
|
19358
|
-
d !== null ? (d.return = s,
|
|
19368
|
+
d !== null ? (d.return = s, qt = d) : VT(a);
|
|
19359
19369
|
}
|
|
19360
19370
|
}
|
|
19361
19371
|
function VT(a) {
|
|
19362
|
-
for (;
|
|
19363
|
-
var s =
|
|
19372
|
+
for (; qt !== null; ) {
|
|
19373
|
+
var s = qt;
|
|
19364
19374
|
or(s);
|
|
19365
19375
|
try {
|
|
19366
19376
|
Nq(s);
|
|
@@ -19368,29 +19378,29 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19368
19378
|
Lr(s, s.return, y);
|
|
19369
19379
|
}
|
|
19370
19380
|
if (Vr(), s === a) {
|
|
19371
|
-
|
|
19381
|
+
qt = null;
|
|
19372
19382
|
return;
|
|
19373
19383
|
}
|
|
19374
19384
|
var d = s.sibling;
|
|
19375
19385
|
if (d !== null) {
|
|
19376
|
-
d.return = s.return,
|
|
19386
|
+
d.return = s.return, qt = d;
|
|
19377
19387
|
return;
|
|
19378
19388
|
}
|
|
19379
|
-
|
|
19389
|
+
qt = s.return;
|
|
19380
19390
|
}
|
|
19381
19391
|
}
|
|
19382
19392
|
function Vq(a, s, d, y) {
|
|
19383
|
-
|
|
19393
|
+
qt = s, Gq(s, a, d, y);
|
|
19384
19394
|
}
|
|
19385
19395
|
function Gq(a, s, d, y) {
|
|
19386
|
-
for (;
|
|
19387
|
-
var _ =
|
|
19388
|
-
(_.subtreeFlags & Os) !== sn && M !== null ? (M.return = _,
|
|
19396
|
+
for (; qt !== null; ) {
|
|
19397
|
+
var _ = qt, M = _.child;
|
|
19398
|
+
(_.subtreeFlags & Os) !== sn && M !== null ? (M.return = _, qt = M) : Wq(a, s, d, y);
|
|
19389
19399
|
}
|
|
19390
19400
|
}
|
|
19391
19401
|
function Wq(a, s, d, y) {
|
|
19392
|
-
for (;
|
|
19393
|
-
var _ =
|
|
19402
|
+
for (; qt !== null; ) {
|
|
19403
|
+
var _ = qt;
|
|
19394
19404
|
if ((_.flags & Ir) !== sn) {
|
|
19395
19405
|
or(_);
|
|
19396
19406
|
try {
|
|
@@ -19401,15 +19411,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19401
19411
|
Vr();
|
|
19402
19412
|
}
|
|
19403
19413
|
if (_ === a) {
|
|
19404
|
-
|
|
19414
|
+
qt = null;
|
|
19405
19415
|
return;
|
|
19406
19416
|
}
|
|
19407
19417
|
var M = _.sibling;
|
|
19408
19418
|
if (M !== null) {
|
|
19409
|
-
M.return = _.return,
|
|
19419
|
+
M.return = _.return, qt = M;
|
|
19410
19420
|
return;
|
|
19411
19421
|
}
|
|
19412
|
-
|
|
19422
|
+
qt = _.return;
|
|
19413
19423
|
}
|
|
19414
19424
|
}
|
|
19415
19425
|
function Kq(a, s, d, y) {
|
|
@@ -19431,17 +19441,17 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19431
19441
|
}
|
|
19432
19442
|
}
|
|
19433
19443
|
function Yq(a) {
|
|
19434
|
-
|
|
19444
|
+
qt = a, Jq();
|
|
19435
19445
|
}
|
|
19436
19446
|
function Jq() {
|
|
19437
|
-
for (;
|
|
19438
|
-
var a =
|
|
19439
|
-
if ((
|
|
19447
|
+
for (; qt !== null; ) {
|
|
19448
|
+
var a = qt, s = a.child;
|
|
19449
|
+
if ((qt.flags & ir) !== sn) {
|
|
19440
19450
|
var d = a.deletions;
|
|
19441
19451
|
if (d !== null) {
|
|
19442
19452
|
for (var y = 0; y < d.length; y++) {
|
|
19443
19453
|
var _ = d[y];
|
|
19444
|
-
|
|
19454
|
+
qt = _, Xq(_, a);
|
|
19445
19455
|
}
|
|
19446
19456
|
{
|
|
19447
19457
|
var M = a.alternate;
|
|
@@ -19456,22 +19466,22 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19456
19466
|
}
|
|
19457
19467
|
}
|
|
19458
19468
|
}
|
|
19459
|
-
|
|
19469
|
+
qt = a;
|
|
19460
19470
|
}
|
|
19461
19471
|
}
|
|
19462
|
-
(a.subtreeFlags & Os) !== sn && s !== null ? (s.return = a,
|
|
19472
|
+
(a.subtreeFlags & Os) !== sn && s !== null ? (s.return = a, qt = s) : Qq();
|
|
19463
19473
|
}
|
|
19464
19474
|
}
|
|
19465
19475
|
function Qq() {
|
|
19466
|
-
for (;
|
|
19467
|
-
var a =
|
|
19476
|
+
for (; qt !== null; ) {
|
|
19477
|
+
var a = qt;
|
|
19468
19478
|
(a.flags & Ir) !== sn && (or(a), Zq(a), Vr());
|
|
19469
19479
|
var s = a.sibling;
|
|
19470
19480
|
if (s !== null) {
|
|
19471
|
-
s.return = a.return,
|
|
19481
|
+
s.return = a.return, qt = s;
|
|
19472
19482
|
return;
|
|
19473
19483
|
}
|
|
19474
|
-
|
|
19484
|
+
qt = a.return;
|
|
19475
19485
|
}
|
|
19476
19486
|
}
|
|
19477
19487
|
function Zq(a) {
|
|
@@ -19485,25 +19495,25 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19485
19495
|
}
|
|
19486
19496
|
}
|
|
19487
19497
|
function Xq(a, s) {
|
|
19488
|
-
for (;
|
|
19489
|
-
var d =
|
|
19498
|
+
for (; qt !== null; ) {
|
|
19499
|
+
var d = qt;
|
|
19490
19500
|
or(d), tV(d, s), Vr();
|
|
19491
19501
|
var y = d.child;
|
|
19492
|
-
y !== null ? (y.return = d,
|
|
19502
|
+
y !== null ? (y.return = d, qt = y) : eV(a);
|
|
19493
19503
|
}
|
|
19494
19504
|
}
|
|
19495
19505
|
function eV(a) {
|
|
19496
|
-
for (;
|
|
19497
|
-
var s =
|
|
19506
|
+
for (; qt !== null; ) {
|
|
19507
|
+
var s = qt, d = s.sibling, y = s.return;
|
|
19498
19508
|
if (UT(s), s === a) {
|
|
19499
|
-
|
|
19509
|
+
qt = null;
|
|
19500
19510
|
return;
|
|
19501
19511
|
}
|
|
19502
19512
|
if (d !== null) {
|
|
19503
|
-
d.return = y,
|
|
19513
|
+
d.return = y, qt = d;
|
|
19504
19514
|
return;
|
|
19505
19515
|
}
|
|
19506
|
-
|
|
19516
|
+
qt = y;
|
|
19507
19517
|
}
|
|
19508
19518
|
}
|
|
19509
19519
|
function tV(a, s) {
|
|
@@ -19837,7 +19847,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19837
19847
|
for (var _ = 0; _ < y.length; _++) {
|
|
19838
19848
|
var M = y[_], B = M.getSnapshot, K = M.value;
|
|
19839
19849
|
try {
|
|
19840
|
-
if (
|
|
19850
|
+
if (!Ht(B(), K))
|
|
19841
19851
|
return !1;
|
|
19842
19852
|
} catch {
|
|
19843
19853
|
return !1;
|
|
@@ -21725,7 +21735,7 @@ function f2() {
|
|
|
21725
21735
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
21726
21736
|
);
|
|
21727
21737
|
if (P === U) return 0;
|
|
21728
|
-
for (var ee = P.length, oe = U.length, Ee = 0,
|
|
21738
|
+
for (var ee = P.length, oe = U.length, Ee = 0, Ne = Math.min(ee, oe); Ee < Ne; ++Ee)
|
|
21729
21739
|
if (P[Ee] !== U[Ee]) {
|
|
21730
21740
|
ee = P[Ee], oe = U[Ee];
|
|
21731
21741
|
break;
|
|
@@ -21759,18 +21769,18 @@ function f2() {
|
|
|
21759
21769
|
U += P[ee].length;
|
|
21760
21770
|
var oe = c.allocUnsafe(U), Ee = 0;
|
|
21761
21771
|
for (ee = 0; ee < P.length; ++ee) {
|
|
21762
|
-
var
|
|
21763
|
-
if (ue(
|
|
21764
|
-
Ee +
|
|
21772
|
+
var Ne = P[ee];
|
|
21773
|
+
if (ue(Ne, Uint8Array))
|
|
21774
|
+
Ee + Ne.length > oe.length ? c.from(Ne).copy(oe, Ee) : Uint8Array.prototype.set.call(
|
|
21765
21775
|
oe,
|
|
21766
|
-
|
|
21776
|
+
Ne,
|
|
21767
21777
|
Ee
|
|
21768
21778
|
);
|
|
21769
|
-
else if (c.isBuffer(
|
|
21770
|
-
|
|
21779
|
+
else if (c.isBuffer(Ne))
|
|
21780
|
+
Ne.copy(oe, Ee);
|
|
21771
21781
|
else
|
|
21772
21782
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
21773
|
-
Ee +=
|
|
21783
|
+
Ee += Ne.length;
|
|
21774
21784
|
}
|
|
21775
21785
|
return oe;
|
|
21776
21786
|
};
|
|
@@ -21887,12 +21897,12 @@ function f2() {
|
|
|
21887
21897
|
if (U >= ee)
|
|
21888
21898
|
return 1;
|
|
21889
21899
|
if (U >>>= 0, ee >>>= 0, oe >>>= 0, Ee >>>= 0, this === P) return 0;
|
|
21890
|
-
for (var
|
|
21900
|
+
for (var Ne = Ee - oe, Qe = ee - U, st = Math.min(Ne, Qe), _t = this.slice(oe, Ee), St = P.slice(U, ee), Z = 0; Z < st; ++Z)
|
|
21891
21901
|
if (_t[Z] !== St[Z]) {
|
|
21892
|
-
|
|
21902
|
+
Ne = _t[Z], Qe = St[Z];
|
|
21893
21903
|
break;
|
|
21894
21904
|
}
|
|
21895
|
-
return
|
|
21905
|
+
return Ne < Qe ? -1 : Qe < Ne ? 1 : 0;
|
|
21896
21906
|
};
|
|
21897
21907
|
function de(J, P, U, ee, oe) {
|
|
21898
21908
|
if (J.length === 0) return -1;
|
|
@@ -21909,11 +21919,11 @@ function f2() {
|
|
|
21909
21919
|
throw new TypeError("val must be string, number or Buffer");
|
|
21910
21920
|
}
|
|
21911
21921
|
function ce(J, P, U, ee, oe) {
|
|
21912
|
-
var Ee = 1,
|
|
21922
|
+
var Ee = 1, Ne = J.length, Qe = P.length;
|
|
21913
21923
|
if (ee !== void 0 && (ee = String(ee).toLowerCase(), ee === "ucs2" || ee === "ucs-2" || ee === "utf16le" || ee === "utf-16le")) {
|
|
21914
21924
|
if (J.length < 2 || P.length < 2)
|
|
21915
21925
|
return -1;
|
|
21916
|
-
Ee = 2,
|
|
21926
|
+
Ee = 2, Ne /= 2, Qe /= 2, U /= 2;
|
|
21917
21927
|
}
|
|
21918
21928
|
function st(G, ge) {
|
|
21919
21929
|
return Ee === 1 ? G[ge] : G.readUInt16BE(ge * Ee);
|
|
@@ -21921,13 +21931,13 @@ function f2() {
|
|
|
21921
21931
|
var _t;
|
|
21922
21932
|
if (oe) {
|
|
21923
21933
|
var St = -1;
|
|
21924
|
-
for (_t = U; _t <
|
|
21934
|
+
for (_t = U; _t < Ne; _t++)
|
|
21925
21935
|
if (st(J, _t) === st(P, St === -1 ? 0 : _t - St)) {
|
|
21926
21936
|
if (St === -1 && (St = _t), _t - St + 1 === Qe) return St * Ee;
|
|
21927
21937
|
} else
|
|
21928
21938
|
St !== -1 && (_t -= _t - St), St = -1;
|
|
21929
21939
|
} else
|
|
21930
|
-
for (U + Qe >
|
|
21940
|
+
for (U + Qe > Ne && (U = Ne - Qe), _t = U; _t >= 0; _t--) {
|
|
21931
21941
|
for (var Z = !0, H = 0; H < Qe; H++)
|
|
21932
21942
|
if (st(J, _t + H) !== st(P, H)) {
|
|
21933
21943
|
Z = !1;
|
|
@@ -21950,12 +21960,12 @@ function f2() {
|
|
|
21950
21960
|
ee ? (ee = Number(ee), ee > oe && (ee = oe)) : ee = oe;
|
|
21951
21961
|
var Ee = P.length;
|
|
21952
21962
|
ee > Ee / 2 && (ee = Ee / 2);
|
|
21953
|
-
for (var
|
|
21954
|
-
var Qe = parseInt(P.substr(
|
|
21955
|
-
if (te(Qe)) return
|
|
21956
|
-
J[U +
|
|
21963
|
+
for (var Ne = 0; Ne < ee; ++Ne) {
|
|
21964
|
+
var Qe = parseInt(P.substr(Ne * 2, 2), 16);
|
|
21965
|
+
if (te(Qe)) return Ne;
|
|
21966
|
+
J[U + Ne] = Qe;
|
|
21957
21967
|
}
|
|
21958
|
-
return
|
|
21968
|
+
return Ne;
|
|
21959
21969
|
}
|
|
21960
21970
|
function Se(J, P, U, ee) {
|
|
21961
21971
|
return pe(Me(P, J.length - U), J, U, ee);
|
|
@@ -21984,7 +21994,7 @@ function f2() {
|
|
|
21984
21994
|
if ((ee === void 0 || ee > Ee) && (ee = Ee), P.length > 0 && (ee < 0 || U < 0) || U > this.length)
|
|
21985
21995
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
21986
21996
|
oe || (oe = "utf8");
|
|
21987
|
-
for (var
|
|
21997
|
+
for (var Ne = !1; ; )
|
|
21988
21998
|
switch (oe) {
|
|
21989
21999
|
case "hex":
|
|
21990
22000
|
return me(this, P, U, ee);
|
|
@@ -22003,8 +22013,8 @@ function f2() {
|
|
|
22003
22013
|
case "utf-16le":
|
|
22004
22014
|
return ke(this, P, U, ee);
|
|
22005
22015
|
default:
|
|
22006
|
-
if (
|
|
22007
|
-
oe = ("" + oe).toLowerCase(),
|
|
22016
|
+
if (Ne) throw new TypeError("Unknown encoding: " + oe);
|
|
22017
|
+
oe = ("" + oe).toLowerCase(), Ne = !0;
|
|
22008
22018
|
}
|
|
22009
22019
|
}, c.prototype.toJSON = function() {
|
|
22010
22020
|
return {
|
|
@@ -22018,24 +22028,24 @@ function f2() {
|
|
|
22018
22028
|
function x(J, P, U) {
|
|
22019
22029
|
U = Math.min(J.length, U);
|
|
22020
22030
|
for (var ee = [], oe = P; oe < U; ) {
|
|
22021
|
-
var Ee = J[oe],
|
|
22031
|
+
var Ee = J[oe], Ne = null, Qe = Ee > 239 ? 4 : Ee > 223 ? 3 : Ee > 191 ? 2 : 1;
|
|
22022
22032
|
if (oe + Qe <= U) {
|
|
22023
22033
|
var st, _t, St, Z;
|
|
22024
22034
|
switch (Qe) {
|
|
22025
22035
|
case 1:
|
|
22026
|
-
Ee < 128 && (
|
|
22036
|
+
Ee < 128 && (Ne = Ee);
|
|
22027
22037
|
break;
|
|
22028
22038
|
case 2:
|
|
22029
|
-
st = J[oe + 1], (st & 192) === 128 && (Z = (Ee & 31) << 6 | st & 63, Z > 127 && (
|
|
22039
|
+
st = J[oe + 1], (st & 192) === 128 && (Z = (Ee & 31) << 6 | st & 63, Z > 127 && (Ne = Z));
|
|
22030
22040
|
break;
|
|
22031
22041
|
case 3:
|
|
22032
|
-
st = J[oe + 1], _t = J[oe + 2], (st & 192) === 128 && (_t & 192) === 128 && (Z = (Ee & 15) << 12 | (st & 63) << 6 | _t & 63, Z > 2047 && (Z < 55296 || Z > 57343) && (
|
|
22042
|
+
st = J[oe + 1], _t = J[oe + 2], (st & 192) === 128 && (_t & 192) === 128 && (Z = (Ee & 15) << 12 | (st & 63) << 6 | _t & 63, Z > 2047 && (Z < 55296 || Z > 57343) && (Ne = Z));
|
|
22033
22043
|
break;
|
|
22034
22044
|
case 4:
|
|
22035
|
-
st = J[oe + 1], _t = J[oe + 2], St = J[oe + 3], (st & 192) === 128 && (_t & 192) === 128 && (St & 192) === 128 && (Z = (Ee & 15) << 18 | (st & 63) << 12 | (_t & 63) << 6 | St & 63, Z > 65535 && Z < 1114112 && (
|
|
22045
|
+
st = J[oe + 1], _t = J[oe + 2], St = J[oe + 3], (st & 192) === 128 && (_t & 192) === 128 && (St & 192) === 128 && (Z = (Ee & 15) << 18 | (st & 63) << 12 | (_t & 63) << 6 | St & 63, Z > 65535 && Z < 1114112 && (Ne = Z));
|
|
22036
22046
|
}
|
|
22037
22047
|
}
|
|
22038
|
-
|
|
22048
|
+
Ne === null ? (Ne = 65533, Qe = 1) : Ne > 65535 && (Ne -= 65536, ee.push(Ne >>> 10 & 1023 | 55296), Ne = 56320 | Ne & 1023), ee.push(Ne), oe += Qe;
|
|
22039
22049
|
}
|
|
22040
22050
|
return z(ee);
|
|
22041
22051
|
}
|
|
@@ -22089,8 +22099,8 @@ function f2() {
|
|
|
22089
22099
|
}
|
|
22090
22100
|
c.prototype.readUintLE = c.prototype.readUIntLE = function(P, U, ee) {
|
|
22091
22101
|
P = P >>> 0, U = U >>> 0, ee || N(P, U, this.length);
|
|
22092
|
-
for (var oe = this[P], Ee = 1,
|
|
22093
|
-
oe += this[P +
|
|
22102
|
+
for (var oe = this[P], Ee = 1, Ne = 0; ++Ne < U && (Ee *= 256); )
|
|
22103
|
+
oe += this[P + Ne] * Ee;
|
|
22094
22104
|
return oe;
|
|
22095
22105
|
}, c.prototype.readUintBE = c.prototype.readUIntBE = function(P, U, ee) {
|
|
22096
22106
|
P = P >>> 0, U = U >>> 0, ee || N(P, U, this.length);
|
|
@@ -22109,14 +22119,14 @@ function f2() {
|
|
|
22109
22119
|
return P = P >>> 0, U || N(P, 4, this.length), this[P] * 16777216 + (this[P + 1] << 16 | this[P + 2] << 8 | this[P + 3]);
|
|
22110
22120
|
}, c.prototype.readIntLE = function(P, U, ee) {
|
|
22111
22121
|
P = P >>> 0, U = U >>> 0, ee || N(P, U, this.length);
|
|
22112
|
-
for (var oe = this[P], Ee = 1,
|
|
22113
|
-
oe += this[P +
|
|
22122
|
+
for (var oe = this[P], Ee = 1, Ne = 0; ++Ne < U && (Ee *= 256); )
|
|
22123
|
+
oe += this[P + Ne] * Ee;
|
|
22114
22124
|
return Ee *= 128, oe >= Ee && (oe -= Math.pow(2, 8 * U)), oe;
|
|
22115
22125
|
}, c.prototype.readIntBE = function(P, U, ee) {
|
|
22116
22126
|
P = P >>> 0, U = U >>> 0, ee || N(P, U, this.length);
|
|
22117
|
-
for (var oe = U, Ee = 1,
|
|
22118
|
-
|
|
22119
|
-
return Ee *= 128,
|
|
22127
|
+
for (var oe = U, Ee = 1, Ne = this[P + --oe]; oe > 0 && (Ee *= 256); )
|
|
22128
|
+
Ne += this[P + --oe] * Ee;
|
|
22129
|
+
return Ee *= 128, Ne >= Ee && (Ne -= Math.pow(2, 8 * U)), Ne;
|
|
22120
22130
|
}, c.prototype.readInt8 = function(P, U) {
|
|
22121
22131
|
return P = P >>> 0, U || N(P, 1, this.length), this[P] & 128 ? (255 - this[P] + 1) * -1 : this[P];
|
|
22122
22132
|
}, c.prototype.readInt16LE = function(P, U) {
|
|
@@ -22150,18 +22160,18 @@ function f2() {
|
|
|
22150
22160
|
var Ee = Math.pow(2, 8 * ee) - 1;
|
|
22151
22161
|
k(this, P, U, ee, Ee, 0);
|
|
22152
22162
|
}
|
|
22153
|
-
var
|
|
22154
|
-
for (this[U] = P & 255; ++Qe < ee && (
|
|
22155
|
-
this[U + Qe] = P /
|
|
22163
|
+
var Ne = 1, Qe = 0;
|
|
22164
|
+
for (this[U] = P & 255; ++Qe < ee && (Ne *= 256); )
|
|
22165
|
+
this[U + Qe] = P / Ne & 255;
|
|
22156
22166
|
return U + ee;
|
|
22157
22167
|
}, c.prototype.writeUintBE = c.prototype.writeUIntBE = function(P, U, ee, oe) {
|
|
22158
22168
|
if (P = +P, U = U >>> 0, ee = ee >>> 0, !oe) {
|
|
22159
22169
|
var Ee = Math.pow(2, 8 * ee) - 1;
|
|
22160
22170
|
k(this, P, U, ee, Ee, 0);
|
|
22161
22171
|
}
|
|
22162
|
-
var
|
|
22163
|
-
for (this[U +
|
|
22164
|
-
this[U +
|
|
22172
|
+
var Ne = ee - 1, Qe = 1;
|
|
22173
|
+
for (this[U + Ne] = P & 255; --Ne >= 0 && (Qe *= 256); )
|
|
22174
|
+
this[U + Ne] = P / Qe & 255;
|
|
22165
22175
|
return U + ee;
|
|
22166
22176
|
}, c.prototype.writeUint8 = c.prototype.writeUInt8 = function(P, U, ee) {
|
|
22167
22177
|
return P = +P, U = U >>> 0, ee || k(this, P, U, 1, 255, 0), this[U] = P & 255, U + 1;
|
|
@@ -22178,18 +22188,18 @@ function f2() {
|
|
|
22178
22188
|
var Ee = Math.pow(2, 8 * ee - 1);
|
|
22179
22189
|
k(this, P, U, ee, Ee - 1, -Ee);
|
|
22180
22190
|
}
|
|
22181
|
-
var
|
|
22182
|
-
for (this[U] = P & 255; ++
|
|
22183
|
-
P < 0 && st === 0 && this[U +
|
|
22191
|
+
var Ne = 0, Qe = 1, st = 0;
|
|
22192
|
+
for (this[U] = P & 255; ++Ne < ee && (Qe *= 256); )
|
|
22193
|
+
P < 0 && st === 0 && this[U + Ne - 1] !== 0 && (st = 1), this[U + Ne] = (P / Qe >> 0) - st & 255;
|
|
22184
22194
|
return U + ee;
|
|
22185
22195
|
}, c.prototype.writeIntBE = function(P, U, ee, oe) {
|
|
22186
22196
|
if (P = +P, U = U >>> 0, !oe) {
|
|
22187
22197
|
var Ee = Math.pow(2, 8 * ee - 1);
|
|
22188
22198
|
k(this, P, U, ee, Ee - 1, -Ee);
|
|
22189
22199
|
}
|
|
22190
|
-
var
|
|
22191
|
-
for (this[U +
|
|
22192
|
-
P < 0 && st === 0 && this[U +
|
|
22200
|
+
var Ne = ee - 1, Qe = 1, st = 0;
|
|
22201
|
+
for (this[U + Ne] = P & 255; --Ne >= 0 && (Qe *= 256); )
|
|
22202
|
+
P < 0 && st === 0 && this[U + Ne + 1] !== 0 && (st = 1), this[U + Ne] = (P / Qe >> 0) - st & 255;
|
|
22193
22203
|
return U + ee;
|
|
22194
22204
|
}, c.prototype.writeInt8 = function(P, U, ee) {
|
|
22195
22205
|
return P = +P, U = U >>> 0, ee || k(this, P, U, 1, 127, -128), P < 0 && (P = 255 + P + 1), this[U] = P & 255, U + 1;
|
|
@@ -22251,16 +22261,16 @@ function f2() {
|
|
|
22251
22261
|
if (ee <= U)
|
|
22252
22262
|
return this;
|
|
22253
22263
|
U = U >>> 0, ee = ee === void 0 ? this.length : ee >>> 0, P || (P = 0);
|
|
22254
|
-
var
|
|
22264
|
+
var Ne;
|
|
22255
22265
|
if (typeof P == "number")
|
|
22256
|
-
for (
|
|
22257
|
-
this[
|
|
22266
|
+
for (Ne = U; Ne < ee; ++Ne)
|
|
22267
|
+
this[Ne] = P;
|
|
22258
22268
|
else {
|
|
22259
22269
|
var Qe = c.isBuffer(P) ? P : c.from(P, oe), st = Qe.length;
|
|
22260
22270
|
if (st === 0)
|
|
22261
22271
|
throw new TypeError('The value "' + P + '" is invalid for argument "value"');
|
|
22262
|
-
for (
|
|
22263
|
-
this[
|
|
22272
|
+
for (Ne = 0; Ne < ee - U; ++Ne)
|
|
22273
|
+
this[Ne + U] = Qe[Ne % st];
|
|
22264
22274
|
}
|
|
22265
22275
|
return this;
|
|
22266
22276
|
};
|
|
@@ -22273,13 +22283,13 @@ function f2() {
|
|
|
22273
22283
|
}
|
|
22274
22284
|
function Me(J, P) {
|
|
22275
22285
|
P = P || 1 / 0;
|
|
22276
|
-
for (var U, ee = J.length, oe = null, Ee = [],
|
|
22277
|
-
if (U = J.charCodeAt(
|
|
22286
|
+
for (var U, ee = J.length, oe = null, Ee = [], Ne = 0; Ne < ee; ++Ne) {
|
|
22287
|
+
if (U = J.charCodeAt(Ne), U > 55295 && U < 57344) {
|
|
22278
22288
|
if (!oe) {
|
|
22279
22289
|
if (U > 56319) {
|
|
22280
22290
|
(P -= 3) > -1 && Ee.push(239, 191, 189);
|
|
22281
22291
|
continue;
|
|
22282
|
-
} else if (
|
|
22292
|
+
} else if (Ne + 1 === ee) {
|
|
22283
22293
|
(P -= 3) > -1 && Ee.push(239, 191, 189);
|
|
22284
22294
|
continue;
|
|
22285
22295
|
}
|
|
@@ -22327,8 +22337,8 @@ function f2() {
|
|
|
22327
22337
|
return P;
|
|
22328
22338
|
}
|
|
22329
22339
|
function se(J, P) {
|
|
22330
|
-
for (var U, ee, oe, Ee = [],
|
|
22331
|
-
U = J.charCodeAt(
|
|
22340
|
+
for (var U, ee, oe, Ee = [], Ne = 0; Ne < J.length && !((P -= 2) < 0); ++Ne)
|
|
22341
|
+
U = J.charCodeAt(Ne), ee = U >> 8, oe = U % 256, Ee.push(oe), Ee.push(ee);
|
|
22332
22342
|
return Ee;
|
|
22333
22343
|
}
|
|
22334
22344
|
function fe(J) {
|
|
@@ -24124,7 +24134,7 @@ q4.exports;
|
|
|
24124
24134
|
return N !== 0 ? O.words[k] = N | 0 : O.length--, O._strip();
|
|
24125
24135
|
}
|
|
24126
24136
|
var L = function(x, O, z) {
|
|
24127
|
-
var F = x.words, j = O.words, Q = z.words, ae = 0, N, k, Y, ie = F[0] | 0, $ = ie & 8191, be = ie >>> 13, Ie = F[1] | 0, Me = Ie & 8191, Ue = Ie >>> 13, se = F[2] | 0, fe = se & 8191, pe = se >>> 13, ue = F[3] | 0, te = ue & 8191, ye = ue >>> 13, J = F[4] | 0, P = J & 8191, U = J >>> 13, ee = F[5] | 0, oe = ee & 8191, Ee = ee >>> 13,
|
|
24137
|
+
var F = x.words, j = O.words, Q = z.words, ae = 0, N, k, Y, ie = F[0] | 0, $ = ie & 8191, be = ie >>> 13, Ie = F[1] | 0, Me = Ie & 8191, Ue = Ie >>> 13, se = F[2] | 0, fe = se & 8191, pe = se >>> 13, ue = F[3] | 0, te = ue & 8191, ye = ue >>> 13, J = F[4] | 0, P = J & 8191, U = J >>> 13, ee = F[5] | 0, oe = ee & 8191, Ee = ee >>> 13, Ne = F[6] | 0, Qe = Ne & 8191, st = Ne >>> 13, _t = F[7] | 0, St = _t & 8191, Z = _t >>> 13, H = F[8] | 0, G = H & 8191, ge = H >>> 13, _e = F[9] | 0, Re = _e & 8191, Be = _e >>> 13, wt = j[0] | 0, yt = wt & 8191, gt = wt >>> 13, Et = j[1] | 0, Rt = Et & 8191, nn = Et >>> 13, Mr = j[2] | 0, Zt = Mr & 8191, Wt = Mr >>> 13, Xr = j[3] | 0, Mn = Xr & 8191, In = Xr >>> 13, Ma = j[4] | 0, ve = Ma & 8191, xe = Ma >>> 13, ct = j[5] | 0, at = ct & 8191, ft = ct >>> 13, Dn = j[6] | 0, hn = Dn & 8191, Sn = Dn >>> 13, fr = j[7] | 0, On = fr & 8191, Un = fr >>> 13, Te = j[8] | 0, et = Te & 8191, rt = Te >>> 13, Nt = j[9] | 0, Ft = Nt & 8191, Bt = Nt >>> 13;
|
|
24128
24138
|
z.negative = x.negative ^ O.negative, z.length = 19, N = Math.imul($, yt), k = Math.imul($, gt), k = k + Math.imul(be, yt) | 0, Y = Math.imul(be, gt);
|
|
24129
24139
|
var Dt = (ae + N | 0) + ((k & 8191) << 13) | 0;
|
|
24130
24140
|
ae = (Y + (k >>> 13) | 0) + (Dt >>> 26) | 0, Dt &= 67108863, N = Math.imul(Me, yt), k = Math.imul(Me, gt), k = k + Math.imul(Ue, yt) | 0, Y = Math.imul(Ue, gt), N = N + Math.imul($, Rt) | 0, k = k + Math.imul($, nn) | 0, k = k + Math.imul(be, Rt) | 0, Y = Y + Math.imul(be, nn) | 0;
|
|
@@ -26372,9 +26382,9 @@ var uI = { exports: {} };
|
|
|
26372
26382
|
return this.encode(this.outputBits, !0), k.prototype.finalize.call(this);
|
|
26373
26383
|
};
|
|
26374
26384
|
var ie = function($) {
|
|
26375
|
-
var be, Ie, Me, Ue, se, fe, pe, ue, te, ye, J, P, U, ee, oe, Ee,
|
|
26385
|
+
var be, Ie, Me, Ue, se, fe, pe, ue, te, ye, J, P, U, ee, oe, Ee, Ne, Qe, st, _t, St, Z, H, G, ge, _e, Re, Be, wt, yt, gt, Et, Rt, nn, Mr, Zt, Wt, Xr, Mn, In, Ma, ve, xe, ct, at, ft, Dn, hn, Sn, fr, On, Un, Te, et, rt, Nt, Ft, Bt, Dt, Kt, dr, jn, Yn;
|
|
26376
26386
|
for (Me = 0; Me < 48; Me += 2)
|
|
26377
|
-
Ue = $[0] ^ $[10] ^ $[20] ^ $[30] ^ $[40], se = $[1] ^ $[11] ^ $[21] ^ $[31] ^ $[41], fe = $[2] ^ $[12] ^ $[22] ^ $[32] ^ $[42], pe = $[3] ^ $[13] ^ $[23] ^ $[33] ^ $[43], ue = $[4] ^ $[14] ^ $[24] ^ $[34] ^ $[44], te = $[5] ^ $[15] ^ $[25] ^ $[35] ^ $[45], ye = $[6] ^ $[16] ^ $[26] ^ $[36] ^ $[46], J = $[7] ^ $[17] ^ $[27] ^ $[37] ^ $[47], P = $[8] ^ $[18] ^ $[28] ^ $[38] ^ $[48], U = $[9] ^ $[19] ^ $[29] ^ $[39] ^ $[49], be = P ^ (fe << 1 | pe >>> 31), Ie = U ^ (pe << 1 | fe >>> 31), $[0] ^= be, $[1] ^= Ie, $[10] ^= be, $[11] ^= Ie, $[20] ^= be, $[21] ^= Ie, $[30] ^= be, $[31] ^= Ie, $[40] ^= be, $[41] ^= Ie, be = Ue ^ (ue << 1 | te >>> 31), Ie = se ^ (te << 1 | ue >>> 31), $[2] ^= be, $[3] ^= Ie, $[12] ^= be, $[13] ^= Ie, $[22] ^= be, $[23] ^= Ie, $[32] ^= be, $[33] ^= Ie, $[42] ^= be, $[43] ^= Ie, be = fe ^ (ye << 1 | J >>> 31), Ie = pe ^ (J << 1 | ye >>> 31), $[4] ^= be, $[5] ^= Ie, $[14] ^= be, $[15] ^= Ie, $[24] ^= be, $[25] ^= Ie, $[34] ^= be, $[35] ^= Ie, $[44] ^= be, $[45] ^= Ie, be = ue ^ (P << 1 | U >>> 31), Ie = te ^ (U << 1 | P >>> 31), $[6] ^= be, $[7] ^= Ie, $[16] ^= be, $[17] ^= Ie, $[26] ^= be, $[27] ^= Ie, $[36] ^= be, $[37] ^= Ie, $[46] ^= be, $[47] ^= Ie, be = ye ^ (Ue << 1 | se >>> 31), Ie = J ^ (se << 1 | Ue >>> 31), $[8] ^= be, $[9] ^= Ie, $[18] ^= be, $[19] ^= Ie, $[28] ^= be, $[29] ^= Ie, $[38] ^= be, $[39] ^= Ie, $[48] ^= be, $[49] ^= Ie, ee = $[0], oe = $[1], ft = $[11] << 4 | $[10] >>> 28, Dn = $[10] << 4 | $[11] >>> 28, Be = $[20] << 3 | $[21] >>> 29, wt = $[21] << 3 | $[20] >>> 29, Kt = $[31] << 9 | $[30] >>> 23, dr = $[30] << 9 | $[31] >>> 23, ve = $[40] << 18 | $[41] >>> 14, xe = $[41] << 18 | $[40] >>> 14, nn = $[2] << 1 | $[3] >>> 31, Mr = $[3] << 1 | $[2] >>> 31, Ee = $[13] << 12 | $[12] >>> 20,
|
|
26387
|
+
Ue = $[0] ^ $[10] ^ $[20] ^ $[30] ^ $[40], se = $[1] ^ $[11] ^ $[21] ^ $[31] ^ $[41], fe = $[2] ^ $[12] ^ $[22] ^ $[32] ^ $[42], pe = $[3] ^ $[13] ^ $[23] ^ $[33] ^ $[43], ue = $[4] ^ $[14] ^ $[24] ^ $[34] ^ $[44], te = $[5] ^ $[15] ^ $[25] ^ $[35] ^ $[45], ye = $[6] ^ $[16] ^ $[26] ^ $[36] ^ $[46], J = $[7] ^ $[17] ^ $[27] ^ $[37] ^ $[47], P = $[8] ^ $[18] ^ $[28] ^ $[38] ^ $[48], U = $[9] ^ $[19] ^ $[29] ^ $[39] ^ $[49], be = P ^ (fe << 1 | pe >>> 31), Ie = U ^ (pe << 1 | fe >>> 31), $[0] ^= be, $[1] ^= Ie, $[10] ^= be, $[11] ^= Ie, $[20] ^= be, $[21] ^= Ie, $[30] ^= be, $[31] ^= Ie, $[40] ^= be, $[41] ^= Ie, be = Ue ^ (ue << 1 | te >>> 31), Ie = se ^ (te << 1 | ue >>> 31), $[2] ^= be, $[3] ^= Ie, $[12] ^= be, $[13] ^= Ie, $[22] ^= be, $[23] ^= Ie, $[32] ^= be, $[33] ^= Ie, $[42] ^= be, $[43] ^= Ie, be = fe ^ (ye << 1 | J >>> 31), Ie = pe ^ (J << 1 | ye >>> 31), $[4] ^= be, $[5] ^= Ie, $[14] ^= be, $[15] ^= Ie, $[24] ^= be, $[25] ^= Ie, $[34] ^= be, $[35] ^= Ie, $[44] ^= be, $[45] ^= Ie, be = ue ^ (P << 1 | U >>> 31), Ie = te ^ (U << 1 | P >>> 31), $[6] ^= be, $[7] ^= Ie, $[16] ^= be, $[17] ^= Ie, $[26] ^= be, $[27] ^= Ie, $[36] ^= be, $[37] ^= Ie, $[46] ^= be, $[47] ^= Ie, be = ye ^ (Ue << 1 | se >>> 31), Ie = J ^ (se << 1 | Ue >>> 31), $[8] ^= be, $[9] ^= Ie, $[18] ^= be, $[19] ^= Ie, $[28] ^= be, $[29] ^= Ie, $[38] ^= be, $[39] ^= Ie, $[48] ^= be, $[49] ^= Ie, ee = $[0], oe = $[1], ft = $[11] << 4 | $[10] >>> 28, Dn = $[10] << 4 | $[11] >>> 28, Be = $[20] << 3 | $[21] >>> 29, wt = $[21] << 3 | $[20] >>> 29, Kt = $[31] << 9 | $[30] >>> 23, dr = $[30] << 9 | $[31] >>> 23, ve = $[40] << 18 | $[41] >>> 14, xe = $[41] << 18 | $[40] >>> 14, nn = $[2] << 1 | $[3] >>> 31, Mr = $[3] << 1 | $[2] >>> 31, Ee = $[13] << 12 | $[12] >>> 20, Ne = $[12] << 12 | $[13] >>> 20, hn = $[22] << 10 | $[23] >>> 22, Sn = $[23] << 10 | $[22] >>> 22, yt = $[33] << 13 | $[32] >>> 19, gt = $[32] << 13 | $[33] >>> 19, jn = $[42] << 2 | $[43] >>> 30, Yn = $[43] << 2 | $[42] >>> 30, et = $[5] << 30 | $[4] >>> 2, rt = $[4] << 30 | $[5] >>> 2, Zt = $[14] << 6 | $[15] >>> 26, Wt = $[15] << 6 | $[14] >>> 26, Qe = $[25] << 11 | $[24] >>> 21, st = $[24] << 11 | $[25] >>> 21, fr = $[34] << 15 | $[35] >>> 17, On = $[35] << 15 | $[34] >>> 17, Et = $[45] << 29 | $[44] >>> 3, Rt = $[44] << 29 | $[45] >>> 3, G = $[6] << 28 | $[7] >>> 4, ge = $[7] << 28 | $[6] >>> 4, Nt = $[17] << 23 | $[16] >>> 9, Ft = $[16] << 23 | $[17] >>> 9, Xr = $[26] << 25 | $[27] >>> 7, Mn = $[27] << 25 | $[26] >>> 7, _t = $[36] << 21 | $[37] >>> 11, St = $[37] << 21 | $[36] >>> 11, Un = $[47] << 24 | $[46] >>> 8, Te = $[46] << 24 | $[47] >>> 8, ct = $[8] << 27 | $[9] >>> 5, at = $[9] << 27 | $[8] >>> 5, _e = $[18] << 20 | $[19] >>> 12, Re = $[19] << 20 | $[18] >>> 12, Bt = $[29] << 7 | $[28] >>> 25, Dt = $[28] << 7 | $[29] >>> 25, In = $[38] << 8 | $[39] >>> 24, Ma = $[39] << 8 | $[38] >>> 24, Z = $[48] << 14 | $[49] >>> 18, H = $[49] << 14 | $[48] >>> 18, $[0] = ee ^ ~Ee & Qe, $[1] = oe ^ ~Ne & st, $[10] = G ^ ~_e & Be, $[11] = ge ^ ~Re & wt, $[20] = nn ^ ~Zt & Xr, $[21] = Mr ^ ~Wt & Mn, $[30] = ct ^ ~ft & hn, $[31] = at ^ ~Dn & Sn, $[40] = et ^ ~Nt & Bt, $[41] = rt ^ ~Ft & Dt, $[2] = Ee ^ ~Qe & _t, $[3] = Ne ^ ~st & St, $[12] = _e ^ ~Be & yt, $[13] = Re ^ ~wt & gt, $[22] = Zt ^ ~Xr & In, $[23] = Wt ^ ~Mn & Ma, $[32] = ft ^ ~hn & fr, $[33] = Dn ^ ~Sn & On, $[42] = Nt ^ ~Bt & Kt, $[43] = Ft ^ ~Dt & dr, $[4] = Qe ^ ~_t & Z, $[5] = st ^ ~St & H, $[14] = Be ^ ~yt & Et, $[15] = wt ^ ~gt & Rt, $[24] = Xr ^ ~In & ve, $[25] = Mn ^ ~Ma & xe, $[34] = hn ^ ~fr & Un, $[35] = Sn ^ ~On & Te, $[44] = Bt ^ ~Kt & jn, $[45] = Dt ^ ~dr & Yn, $[6] = _t ^ ~Z & ee, $[7] = St ^ ~H & oe, $[16] = yt ^ ~Et & G, $[17] = gt ^ ~Rt & ge, $[26] = In ^ ~ve & nn, $[27] = Ma ^ ~xe & Mr, $[36] = fr ^ ~Un & ct, $[37] = On ^ ~Te & at, $[46] = Kt ^ ~jn & et, $[47] = dr ^ ~Yn & rt, $[8] = Z ^ ~ee & Ee, $[9] = H ^ ~oe & Ne, $[18] = Et ^ ~G & _e, $[19] = Rt ^ ~ge & Re, $[28] = ve ^ ~nn & Zt, $[29] = xe ^ ~Mr & Wt, $[38] = Un ^ ~ct & ft, $[39] = Te ^ ~at & Dn, $[48] = jn ^ ~et & Nt, $[49] = Yn ^ ~rt & Ft, $[0] ^= A[Me], $[1] ^= A[Me + 1];
|
|
26378
26388
|
};
|
|
26379
26389
|
if (c)
|
|
26380
26390
|
n.exports = x;
|
|
@@ -33459,7 +33469,7 @@ var nZ = {
|
|
|
33459
33469
|
fromWords: tZ
|
|
33460
33470
|
};
|
|
33461
33471
|
const e9 = /* @__PURE__ */ gh(nZ), ns = "providers/5.7.2", Nv = new Pe(ns);
|
|
33462
|
-
class
|
|
33472
|
+
class Gt {
|
|
33463
33473
|
constructor() {
|
|
33464
33474
|
this.formats = this.getDefaultFormats();
|
|
33465
33475
|
}
|
|
@@ -33468,93 +33478,93 @@ class Vt {
|
|
|
33468
33478
|
return e.transaction = {
|
|
33469
33479
|
hash: u,
|
|
33470
33480
|
type: h,
|
|
33471
|
-
accessList:
|
|
33472
|
-
blockHash:
|
|
33473
|
-
blockNumber:
|
|
33474
|
-
transactionIndex:
|
|
33475
|
-
confirmations:
|
|
33481
|
+
accessList: Gt.allowNull(this.accessList.bind(this), null),
|
|
33482
|
+
blockHash: Gt.allowNull(u, null),
|
|
33483
|
+
blockNumber: Gt.allowNull(p, null),
|
|
33484
|
+
transactionIndex: Gt.allowNull(p, null),
|
|
33485
|
+
confirmations: Gt.allowNull(p, null),
|
|
33476
33486
|
from: t,
|
|
33477
33487
|
// either (gasPrice) or (maxPriorityFeePerGas + maxFeePerGas)
|
|
33478
33488
|
// must be set
|
|
33479
|
-
gasPrice:
|
|
33480
|
-
maxPriorityFeePerGas:
|
|
33481
|
-
maxFeePerGas:
|
|
33489
|
+
gasPrice: Gt.allowNull(r),
|
|
33490
|
+
maxPriorityFeePerGas: Gt.allowNull(r),
|
|
33491
|
+
maxFeePerGas: Gt.allowNull(r),
|
|
33482
33492
|
gasLimit: r,
|
|
33483
|
-
to:
|
|
33493
|
+
to: Gt.allowNull(t, null),
|
|
33484
33494
|
value: r,
|
|
33485
33495
|
nonce: p,
|
|
33486
33496
|
data: o,
|
|
33487
|
-
r:
|
|
33488
|
-
s:
|
|
33489
|
-
v:
|
|
33490
|
-
creates:
|
|
33491
|
-
raw:
|
|
33497
|
+
r: Gt.allowNull(this.uint256),
|
|
33498
|
+
s: Gt.allowNull(this.uint256),
|
|
33499
|
+
v: Gt.allowNull(p),
|
|
33500
|
+
creates: Gt.allowNull(t, null),
|
|
33501
|
+
raw: Gt.allowNull(o)
|
|
33492
33502
|
}, e.transactionRequest = {
|
|
33493
|
-
from:
|
|
33494
|
-
nonce:
|
|
33495
|
-
gasLimit:
|
|
33496
|
-
gasPrice:
|
|
33497
|
-
maxPriorityFeePerGas:
|
|
33498
|
-
maxFeePerGas:
|
|
33499
|
-
to:
|
|
33500
|
-
value:
|
|
33501
|
-
data:
|
|
33502
|
-
type:
|
|
33503
|
-
accessList:
|
|
33503
|
+
from: Gt.allowNull(t),
|
|
33504
|
+
nonce: Gt.allowNull(p),
|
|
33505
|
+
gasLimit: Gt.allowNull(r),
|
|
33506
|
+
gasPrice: Gt.allowNull(r),
|
|
33507
|
+
maxPriorityFeePerGas: Gt.allowNull(r),
|
|
33508
|
+
maxFeePerGas: Gt.allowNull(r),
|
|
33509
|
+
to: Gt.allowNull(t),
|
|
33510
|
+
value: Gt.allowNull(r),
|
|
33511
|
+
data: Gt.allowNull(m),
|
|
33512
|
+
type: Gt.allowNull(p),
|
|
33513
|
+
accessList: Gt.allowNull(this.accessList.bind(this), null)
|
|
33504
33514
|
}, e.receiptLog = {
|
|
33505
33515
|
transactionIndex: p,
|
|
33506
33516
|
blockNumber: p,
|
|
33507
33517
|
transactionHash: u,
|
|
33508
33518
|
address: t,
|
|
33509
|
-
topics:
|
|
33519
|
+
topics: Gt.arrayOf(u),
|
|
33510
33520
|
data: o,
|
|
33511
33521
|
logIndex: p,
|
|
33512
33522
|
blockHash: u
|
|
33513
33523
|
}, e.receipt = {
|
|
33514
|
-
to:
|
|
33515
|
-
from:
|
|
33516
|
-
contractAddress:
|
|
33524
|
+
to: Gt.allowNull(this.address, null),
|
|
33525
|
+
from: Gt.allowNull(this.address, null),
|
|
33526
|
+
contractAddress: Gt.allowNull(t, null),
|
|
33517
33527
|
transactionIndex: p,
|
|
33518
33528
|
// should be allowNull(hash), but broken-EIP-658 support is handled in receipt
|
|
33519
|
-
root:
|
|
33529
|
+
root: Gt.allowNull(c),
|
|
33520
33530
|
gasUsed: r,
|
|
33521
|
-
logsBloom:
|
|
33531
|
+
logsBloom: Gt.allowNull(o),
|
|
33522
33532
|
blockHash: u,
|
|
33523
33533
|
transactionHash: u,
|
|
33524
|
-
logs:
|
|
33534
|
+
logs: Gt.arrayOf(this.receiptLog.bind(this)),
|
|
33525
33535
|
blockNumber: p,
|
|
33526
|
-
confirmations:
|
|
33536
|
+
confirmations: Gt.allowNull(p, null),
|
|
33527
33537
|
cumulativeGasUsed: r,
|
|
33528
|
-
effectiveGasPrice:
|
|
33529
|
-
status:
|
|
33538
|
+
effectiveGasPrice: Gt.allowNull(r),
|
|
33539
|
+
status: Gt.allowNull(p),
|
|
33530
33540
|
type: h
|
|
33531
33541
|
}, e.block = {
|
|
33532
|
-
hash:
|
|
33542
|
+
hash: Gt.allowNull(u),
|
|
33533
33543
|
parentHash: u,
|
|
33534
33544
|
number: p,
|
|
33535
33545
|
timestamp: p,
|
|
33536
|
-
nonce:
|
|
33546
|
+
nonce: Gt.allowNull(c),
|
|
33537
33547
|
difficulty: this.difficulty.bind(this),
|
|
33538
33548
|
gasLimit: r,
|
|
33539
33549
|
gasUsed: r,
|
|
33540
|
-
miner:
|
|
33550
|
+
miner: Gt.allowNull(t),
|
|
33541
33551
|
extraData: o,
|
|
33542
|
-
transactions:
|
|
33543
|
-
baseFeePerGas:
|
|
33544
|
-
}, e.blockWithTransactions = Fr(e.block), e.blockWithTransactions.transactions =
|
|
33545
|
-
fromBlock:
|
|
33546
|
-
toBlock:
|
|
33547
|
-
blockHash:
|
|
33548
|
-
address:
|
|
33549
|
-
topics:
|
|
33552
|
+
transactions: Gt.allowNull(Gt.arrayOf(u)),
|
|
33553
|
+
baseFeePerGas: Gt.allowNull(r)
|
|
33554
|
+
}, e.blockWithTransactions = Fr(e.block), e.blockWithTransactions.transactions = Gt.allowNull(Gt.arrayOf(this.transactionResponse.bind(this))), e.filter = {
|
|
33555
|
+
fromBlock: Gt.allowNull(i, void 0),
|
|
33556
|
+
toBlock: Gt.allowNull(i, void 0),
|
|
33557
|
+
blockHash: Gt.allowNull(u, void 0),
|
|
33558
|
+
address: Gt.allowNull(t, void 0),
|
|
33559
|
+
topics: Gt.allowNull(this.topics.bind(this), void 0)
|
|
33550
33560
|
}, e.filterLog = {
|
|
33551
|
-
blockNumber:
|
|
33552
|
-
blockHash:
|
|
33561
|
+
blockNumber: Gt.allowNull(p),
|
|
33562
|
+
blockHash: Gt.allowNull(u),
|
|
33553
33563
|
transactionIndex: p,
|
|
33554
|
-
removed:
|
|
33564
|
+
removed: Gt.allowNull(this.boolean.bind(this)),
|
|
33555
33565
|
address: t,
|
|
33556
|
-
data:
|
|
33557
|
-
topics:
|
|
33566
|
+
data: Gt.allowFalsish(o, "0x"),
|
|
33567
|
+
topics: Gt.arrayOf(u),
|
|
33558
33568
|
transactionHash: u,
|
|
33559
33569
|
logIndex: p
|
|
33560
33570
|
}, e;
|
|
@@ -33651,7 +33661,7 @@ class Vt {
|
|
|
33651
33661
|
}
|
|
33652
33662
|
_block(e, t) {
|
|
33653
33663
|
e.author != null && e.miner == null && (e.miner = e.author);
|
|
33654
|
-
const r = e._difficulty != null ? e._difficulty : e.difficulty, i =
|
|
33664
|
+
const r = e._difficulty != null ? e._difficulty : e.difficulty, i = Gt.check(t, e);
|
|
33655
33665
|
return i._difficulty = r == null ? null : xt.from(r), i;
|
|
33656
33666
|
}
|
|
33657
33667
|
block(e) {
|
|
@@ -33662,11 +33672,11 @@ class Vt {
|
|
|
33662
33672
|
}
|
|
33663
33673
|
// Strict! Used on input.
|
|
33664
33674
|
transactionRequest(e) {
|
|
33665
|
-
return
|
|
33675
|
+
return Gt.check(this.formats.transactionRequest, e);
|
|
33666
33676
|
}
|
|
33667
33677
|
transactionResponse(e) {
|
|
33668
33678
|
e.gas != null && e.gasLimit == null && (e.gasLimit = e.gas), e.to && xt.from(e.to).isZero() && (e.to = "0x0000000000000000000000000000000000000000"), e.input != null && e.data == null && (e.data = e.input), e.to == null && e.creates == null && (e.creates = this.contractAddress(e)), (e.type === 1 || e.type === 2) && e.accessList == null && (e.accessList = []);
|
|
33669
|
-
const t =
|
|
33679
|
+
const t = Gt.check(this.formats.transaction, e);
|
|
33670
33680
|
if (e.chainId != null) {
|
|
33671
33681
|
let r = e.chainId;
|
|
33672
33682
|
Rn(r) && (r = xt.from(r).toNumber()), t.chainId = r;
|
|
@@ -33680,10 +33690,10 @@ class Vt {
|
|
|
33680
33690
|
return fD(e);
|
|
33681
33691
|
}
|
|
33682
33692
|
receiptLog(e) {
|
|
33683
|
-
return
|
|
33693
|
+
return Gt.check(this.formats.receiptLog, e);
|
|
33684
33694
|
}
|
|
33685
33695
|
receipt(e) {
|
|
33686
|
-
const t =
|
|
33696
|
+
const t = Gt.check(this.formats.receipt, e);
|
|
33687
33697
|
if (t.root != null)
|
|
33688
33698
|
if (t.root.length <= 4) {
|
|
33689
33699
|
const r = xt.from(t.root).toNumber();
|
|
@@ -33695,10 +33705,10 @@ class Vt {
|
|
|
33695
33705
|
return Array.isArray(e) ? e.map((t) => this.topics(t)) : e != null ? this.hash(e, !0) : null;
|
|
33696
33706
|
}
|
|
33697
33707
|
filter(e) {
|
|
33698
|
-
return
|
|
33708
|
+
return Gt.check(this.formats.filter, e);
|
|
33699
33709
|
}
|
|
33700
33710
|
filterLog(e) {
|
|
33701
|
-
return
|
|
33711
|
+
return Gt.check(this.formats.filterLog, e);
|
|
33702
33712
|
}
|
|
33703
33713
|
static check(e, t) {
|
|
33704
33714
|
const r = {};
|
|
@@ -34173,7 +34183,7 @@ class x2 extends _h {
|
|
|
34173
34183
|
}
|
|
34174
34184
|
// @TODO: Remove this and just create a singleton formatter
|
|
34175
34185
|
static getFormatter() {
|
|
34176
|
-
return eE == null && (eE = new
|
|
34186
|
+
return eE == null && (eE = new Gt()), eE;
|
|
34177
34187
|
}
|
|
34178
34188
|
// @TODO: Remove this and just use getNetwork
|
|
34179
34189
|
static getNetwork(e) {
|
|
@@ -34794,7 +34804,7 @@ class x2 extends _h {
|
|
|
34794
34804
|
const t = yield ya({ filter: this._getFilter(e) }), r = yield this.perform("getLogs", t);
|
|
34795
34805
|
return r.forEach((i) => {
|
|
34796
34806
|
i.removed == null && (i.removed = !1);
|
|
34797
|
-
}),
|
|
34807
|
+
}), Gt.arrayOf(this.formatter.filterLog.bind(this.formatter))(r);
|
|
34798
34808
|
});
|
|
34799
34809
|
}
|
|
34800
34810
|
getEtherPrice() {
|
|
@@ -36795,7 +36805,7 @@ const WD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36795
36805
|
CloudflareProvider: BD,
|
|
36796
36806
|
EtherscanProvider: zD,
|
|
36797
36807
|
FallbackProvider: jD,
|
|
36798
|
-
Formatter:
|
|
36808
|
+
Formatter: Gt,
|
|
36799
36809
|
InfuraProvider: w5,
|
|
36800
36810
|
InfuraWebSocketProvider: HD,
|
|
36801
36811
|
IpcProvider: $D,
|
|
@@ -37392,15 +37402,15 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37392
37402
|
return P.reverse();
|
|
37393
37403
|
}
|
|
37394
37404
|
return function(pe, ue, te, ye, J) {
|
|
37395
|
-
var P, U, ee, oe, Ee,
|
|
37396
|
-
for (_t >= 0 && (oe = N, N = 0, pe = pe.replace(".", ""), st = new ie(ue),
|
|
37397
|
-
de(R(
|
|
37405
|
+
var P, U, ee, oe, Ee, Ne, Qe, st, _t = pe.indexOf("."), St = C, Z = x;
|
|
37406
|
+
for (_t >= 0 && (oe = N, N = 0, pe = pe.replace(".", ""), st = new ie(ue), Ne = st.pow(pe.length - _t), N = oe, st.c = fe(
|
|
37407
|
+
de(R(Ne.c), Ne.e, "0"),
|
|
37398
37408
|
10,
|
|
37399
37409
|
te,
|
|
37400
37410
|
se
|
|
37401
37411
|
), st.e = st.c.length), Qe = fe(pe, ue, te, J ? (P = Y, se) : (P = se, Y)), ee = oe = Qe.length; Qe[--oe] == 0; Qe.pop()) ;
|
|
37402
37412
|
if (!Qe[0]) return P.charAt(0);
|
|
37403
|
-
if (_t < 0 ? --ee : (
|
|
37413
|
+
if (_t < 0 ? --ee : (Ne.c = Qe, Ne.e = ee, Ne.s = ye, Ne = me(Ne, st, St, Z, te), Qe = Ne.c, Ee = Ne.r, ee = Ne.e), U = ee + St + 1, _t = Qe[U], oe = te / 2, Ee = Ee || U < 0 || Qe[U + 1] != null, Ee = Z < 4 ? (_t != null || Ee) && (Z == 0 || Z == (Ne.s < 0 ? 3 : 2)) : _t > oe || _t == oe && (Z == 4 || Ee || Z == 6 && Qe[U - 1] & 1 || Z == (Ne.s < 0 ? 8 : 7)), U < 1 || !Qe[0])
|
|
37404
37414
|
pe = Ee ? de(P.charAt(1), -St, P.charAt(0)) : P.charAt(0);
|
|
37405
37415
|
else {
|
|
37406
37416
|
if (Qe.length = U, Ee)
|
|
@@ -37414,9 +37424,9 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37414
37424
|
};
|
|
37415
37425
|
}(), me = /* @__PURE__ */ function() {
|
|
37416
37426
|
function se(ue, te, ye) {
|
|
37417
|
-
var J, P, U, ee, oe = 0, Ee = ue.length,
|
|
37427
|
+
var J, P, U, ee, oe = 0, Ee = ue.length, Ne = te % g, Qe = te / g | 0;
|
|
37418
37428
|
for (ue = ue.slice(); Ee--; )
|
|
37419
|
-
U = ue[Ee] % g, ee = ue[Ee] / g | 0, J = Qe * U + ee *
|
|
37429
|
+
U = ue[Ee] % g, ee = ue[Ee] / g | 0, J = Qe * U + ee * Ne, P = Ne * U + J % g * g + oe, oe = (P / ye | 0) + (J / g | 0) + Qe * ee, ue[Ee] = P % ye;
|
|
37420
37430
|
return oe && (ue = [oe].concat(ue)), ue;
|
|
37421
37431
|
}
|
|
37422
37432
|
function fe(ue, te, ye, J) {
|
|
@@ -37437,7 +37447,7 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37437
37447
|
for (; !ue[0] && ue.length > 1; ue.splice(0, 1)) ;
|
|
37438
37448
|
}
|
|
37439
37449
|
return function(ue, te, ye, J, P) {
|
|
37440
|
-
var U, ee, oe, Ee,
|
|
37450
|
+
var U, ee, oe, Ee, Ne, Qe, st, _t, St, Z, H, G, ge, _e, Re, Be, wt, yt = ue.s == te.s ? 1 : -1, gt = ue.c, Et = te.c;
|
|
37441
37451
|
if (!gt || !gt[0] || !Et || !Et[0])
|
|
37442
37452
|
return new ie(
|
|
37443
37453
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
@@ -37450,20 +37460,20 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37450
37460
|
if (Et[oe] > (gt[oe] || 0) && ee--, yt < 0)
|
|
37451
37461
|
St.push(1), Ee = !0;
|
|
37452
37462
|
else {
|
|
37453
|
-
for (_e = gt.length, Be = Et.length, oe = 0, yt += 2,
|
|
37463
|
+
for (_e = gt.length, Be = Et.length, oe = 0, yt += 2, Ne = u(P / (Et[0] + 1)), Ne > 1 && (Et = se(Et, Ne, P), gt = se(gt, Ne, P), Be = Et.length, _e = gt.length), ge = Be, Z = gt.slice(0, Be), H = Z.length; H < Be; Z[H++] = 0) ;
|
|
37454
37464
|
wt = Et.slice(), wt = [0].concat(wt), Re = Et[0], Et[1] >= P / 2 && Re++;
|
|
37455
37465
|
do {
|
|
37456
|
-
if (
|
|
37457
|
-
if (G = Z[0], Be != H && (G = G * P + (Z[1] || 0)),
|
|
37458
|
-
for (
|
|
37459
|
-
|
|
37466
|
+
if (Ne = 0, U = fe(Et, Z, Be, H), U < 0) {
|
|
37467
|
+
if (G = Z[0], Be != H && (G = G * P + (Z[1] || 0)), Ne = u(G / Re), Ne > 1)
|
|
37468
|
+
for (Ne >= P && (Ne = P - 1), Qe = se(Et, Ne, P), st = Qe.length, H = Z.length; fe(Qe, Z, st, H) == 1; )
|
|
37469
|
+
Ne--, pe(Qe, Be < st ? wt : Et, st, P), st = Qe.length, U = 1;
|
|
37460
37470
|
else
|
|
37461
|
-
|
|
37471
|
+
Ne == 0 && (U = Ne = 1), Qe = Et.slice(), st = Qe.length;
|
|
37462
37472
|
if (st < H && (Qe = [0].concat(Qe)), pe(Z, Qe, H, P), H = Z.length, U == -1)
|
|
37463
37473
|
for (; fe(Et, Z, Be, H) < 1; )
|
|
37464
|
-
|
|
37465
|
-
} else U === 0 && (
|
|
37466
|
-
St[oe++] =
|
|
37474
|
+
Ne++, pe(Z, Be < H ? wt : Et, H, P), H = Z.length;
|
|
37475
|
+
} else U === 0 && (Ne++, Z = [0]);
|
|
37476
|
+
St[oe++] = Ne, Z[0] ? Z[H++] = gt[ge] || 0 : (Z = [gt[ge]], H = 1);
|
|
37467
37477
|
} while ((ge++ < _e || Z[0] != null) && yt--);
|
|
37468
37478
|
Ee = Z[0] != null, St[0] || St.splice(0, 1);
|
|
37469
37479
|
}
|
|
@@ -37511,8 +37521,8 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37511
37521
|
if (ue.test(oe))
|
|
37512
37522
|
ye.s = isNaN(oe) ? null : oe < 0 ? -1 : 1;
|
|
37513
37523
|
else {
|
|
37514
|
-
if (!P && (oe = oe.replace(se, function(Ee,
|
|
37515
|
-
return ee = (Qe = Qe.toLowerCase()) == "x" ? 16 : Qe == "b" ? 2 : 8, !U || U == ee ?
|
|
37524
|
+
if (!P && (oe = oe.replace(se, function(Ee, Ne, Qe) {
|
|
37525
|
+
return ee = (Qe = Qe.toLowerCase()) == "x" ? 16 : Qe == "b" ? 2 : 8, !U || U == ee ? Ne : Ee;
|
|
37516
37526
|
}), U && (ee = U, oe = oe.replace(fe, "$1").replace(pe, "0.$1")), J != oe))
|
|
37517
37527
|
return new ie(oe, ee);
|
|
37518
37528
|
if (ie.DEBUG)
|
|
@@ -37523,12 +37533,12 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37523
37533
|
};
|
|
37524
37534
|
}();
|
|
37525
37535
|
function Me(se, fe, pe, ue) {
|
|
37526
|
-
var te, ye, J, P, U, ee, oe, Ee = se.c,
|
|
37536
|
+
var te, ye, J, P, U, ee, oe, Ee = se.c, Ne = b;
|
|
37527
37537
|
if (Ee) {
|
|
37528
37538
|
e: {
|
|
37529
37539
|
for (te = 1, P = Ee[0]; P >= 10; P /= 10, te++) ;
|
|
37530
37540
|
if (ye = fe - te, ye < 0)
|
|
37531
|
-
ye += m, J = fe, U = Ee[ee = 0], oe = U /
|
|
37541
|
+
ye += m, J = fe, U = Ee[ee = 0], oe = U / Ne[te - J - 1] % 10 | 0;
|
|
37532
37542
|
else if (ee = o((ye + 1) / m), ee >= Ee.length)
|
|
37533
37543
|
if (ue) {
|
|
37534
37544
|
for (; Ee.length <= ee; Ee.push(0)) ;
|
|
@@ -37537,15 +37547,15 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37537
37547
|
break e;
|
|
37538
37548
|
else {
|
|
37539
37549
|
for (U = P = Ee[ee], te = 1; P >= 10; P /= 10, te++) ;
|
|
37540
|
-
ye %= m, J = ye - m + te, oe = J < 0 ? 0 : U /
|
|
37550
|
+
ye %= m, J = ye - m + te, oe = J < 0 ? 0 : U / Ne[te - J - 1] % 10 | 0;
|
|
37541
37551
|
}
|
|
37542
37552
|
if (ue = ue || fe < 0 || // Are there any non-zero digits after the rounding digit?
|
|
37543
37553
|
// The expression n % pows10[d - j - 1] returns all digits of n to the right
|
|
37544
37554
|
// of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
|
|
37545
|
-
Ee[ee + 1] != null || (J < 0 ? U : U %
|
|
37546
|
-
(ye > 0 ? J > 0 ? U /
|
|
37547
|
-
return Ee.length = 0, ue ? (fe -= se.e + 1, Ee[0] =
|
|
37548
|
-
if (ye == 0 ? (Ee.length = ee, P = 1, ee--) : (Ee.length = ee + 1, P =
|
|
37555
|
+
Ee[ee + 1] != null || (J < 0 ? U : U % Ne[te - J - 1]), ue = pe < 4 ? (oe || ue) && (pe == 0 || pe == (se.s < 0 ? 3 : 2)) : oe > 5 || oe == 5 && (pe == 4 || ue || pe == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
|
37556
|
+
(ye > 0 ? J > 0 ? U / Ne[te - J] : 0 : Ee[ee - 1]) % 10 & 1 || pe == (se.s < 0 ? 8 : 7)), fe < 1 || !Ee[0])
|
|
37557
|
+
return Ee.length = 0, ue ? (fe -= se.e + 1, Ee[0] = Ne[(m - fe % m) % m], se.e = -fe || 0) : Ee[0] = se.e = 0, se;
|
|
37558
|
+
if (ye == 0 ? (Ee.length = ee, P = 1, ee--) : (Ee.length = ee + 1, P = Ne[m - ye], Ee[ee] = J > 0 ? u(U / Ne[te - J] % Ne[J]) * P : 0), ue)
|
|
37549
37559
|
for (; ; )
|
|
37550
37560
|
if (ee == 0) {
|
|
37551
37561
|
for (ye = 1, J = Ee[0]; J >= 10; J /= 10, ye++) ;
|
|
@@ -37675,13 +37685,13 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37675
37685
|
var pe, ue, te = this;
|
|
37676
37686
|
return se = new ie(se, fe), !te.c || !se.s || se.c && !se.c[0] ? new ie(NaN) : !se.c || te.c && !te.c[0] ? new ie(te) : (ae == 9 ? (ue = se.s, se.s = 1, pe = me(te, se, 0, 3), se.s = ue, pe.s *= ue) : pe = me(te, se, 0, ae), se = te.minus(pe.times(se)), !se.c[0] && ae == 1 && (se.s = te.s), se);
|
|
37677
37687
|
}, ne.multipliedBy = ne.times = function(se, fe) {
|
|
37678
|
-
var pe, ue, te, ye, J, P, U, ee, oe, Ee,
|
|
37688
|
+
var pe, ue, te, ye, J, P, U, ee, oe, Ee, Ne, Qe, st, _t, St, Z = this, H = Z.c, G = (se = new ie(se, fe)).c;
|
|
37679
37689
|
if (!H || !G || !H[0] || !G[0])
|
|
37680
37690
|
return !Z.s || !se.s || H && !H[0] && !G || G && !G[0] && !H ? se.c = se.e = se.s = null : (se.s *= Z.s, !H || !G ? se.c = se.e = null : (se.c = [0], se.e = 0)), se;
|
|
37681
37691
|
for (ue = T(Z.e / m) + T(se.e / m), se.s *= Z.s, U = H.length, Ee = G.length, U < Ee && (st = H, H = G, G = st, te = U, U = Ee, Ee = te), te = U + Ee, st = []; te--; st.push(0)) ;
|
|
37682
37692
|
for (_t = h, St = g, te = Ee; --te >= 0; ) {
|
|
37683
|
-
for (pe = 0,
|
|
37684
|
-
ee = H[--J] % St, oe = H[J] / St | 0, P = Qe * ee + oe *
|
|
37693
|
+
for (pe = 0, Ne = G[te] % St, Qe = G[te] / St | 0, J = U, ye = te + J; ye > te; )
|
|
37694
|
+
ee = H[--J] % St, oe = H[J] / St | 0, P = Qe * ee + oe * Ne, ee = Ne * ee + P % St * St + st[ye] + pe, pe = (ee / _t | 0) + (P / St | 0) + Qe * oe, st[ye--] = ee % _t;
|
|
37685
37695
|
st[ye] = pe;
|
|
37686
37696
|
}
|
|
37687
37697
|
return pe ? ++ue : st.splice(0, 1), Ie(se, st, ue);
|
|
@@ -37747,10 +37757,10 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37747
37757
|
else if (typeof pe != "object")
|
|
37748
37758
|
throw Error(c + "Argument not an object: " + pe);
|
|
37749
37759
|
if (ue = te.toFixed(se, fe), te.c) {
|
|
37750
|
-
var ye, J = ue.split("."), P = +pe.groupSize, U = +pe.secondaryGroupSize, ee = pe.groupSeparator || "", oe = J[0], Ee = J[1],
|
|
37760
|
+
var ye, J = ue.split("."), P = +pe.groupSize, U = +pe.secondaryGroupSize, ee = pe.groupSeparator || "", oe = J[0], Ee = J[1], Ne = te.s < 0, Qe = Ne ? oe.slice(1) : oe, st = Qe.length;
|
|
37751
37761
|
if (U && (ye = P, P = U, U = ye, st -= ye), P > 0 && st > 0) {
|
|
37752
37762
|
for (ye = st % P || P, oe = Qe.substr(0, ye); ye < st; ye += P) oe += ee + Qe.substr(ye, P);
|
|
37753
|
-
U > 0 && (oe += ee + Qe.slice(ye)),
|
|
37763
|
+
U > 0 && (oe += ee + Qe.slice(ye)), Ne && (oe = "-" + oe);
|
|
37754
37764
|
}
|
|
37755
37765
|
ue = Ee ? oe + (pe.decimalSeparator || "") + ((U = +pe.fractionGroupSize) ? Ee.replace(
|
|
37756
37766
|
new RegExp("\\d{" + U + "}\\B", "g"),
|
|
@@ -37759,11 +37769,11 @@ var VZ = qZ, GZ = VZ, WZ = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrst
|
|
|
37759
37769
|
}
|
|
37760
37770
|
return (pe.prefix || "") + ue + (pe.suffix || "");
|
|
37761
37771
|
}, ne.toFraction = function(se) {
|
|
37762
|
-
var fe, pe, ue, te, ye, J, P, U, ee, oe, Ee,
|
|
37772
|
+
var fe, pe, ue, te, ye, J, P, U, ee, oe, Ee, Ne, Qe = this, st = Qe.c;
|
|
37763
37773
|
if (se != null && (P = new ie(se), !P.isInteger() && (P.c || P.s !== 1) || P.lt(ke)))
|
|
37764
37774
|
throw Error(c + "Argument " + (P.isInteger() ? "out of range: " : "not an integer: ") + Ue(P));
|
|
37765
37775
|
if (!st) return new ie(Qe);
|
|
37766
|
-
for (fe = new ie(ke), ee = pe = new ie(ke), ue = U = new ie(ke),
|
|
37776
|
+
for (fe = new ie(ke), ee = pe = new ie(ke), ue = U = new ie(ke), Ne = R(st), ye = fe.e = Ne.length - Qe.e - 1, fe.c[0] = b[(J = ye % m) < 0 ? m + J : J], se = !se || P.comparedTo(fe) > 0 ? ye > 0 ? fe : ee : P, J = j, j = 1 / 0, P = new ie(Ne), U.c[0] = 0; oe = me(P, fe, 0, 1), te = pe.plus(oe.times(ue)), te.comparedTo(se) != 1; )
|
|
37767
37777
|
pe = ue, ue = te, ee = U.plus(oe.times(te = ee)), U = te, fe = P.minus(oe.times(te = fe)), P = te;
|
|
37768
37778
|
return te = me(se.minus(pe), ue, 0, 1), U = U.plus(te.times(ee)), pe = pe.plus(te.times(ue)), U.s = ee.s = Qe.s, ye = ye * 2, Ee = me(ee, ue, ye, x).minus(Qe).abs().comparedTo(
|
|
37769
37779
|
me(U, pe, ye, x).minus(Qe).abs()
|
|
@@ -44556,7 +44566,7 @@ var wF = { exports: {} }, d8 = { exports: {} }, Fd = {};
|
|
|
44556
44566
|
throw new TypeError(
|
|
44557
44567
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof Z
|
|
44558
44568
|
);
|
|
44559
|
-
if (
|
|
44569
|
+
if (Ne(Z, ArrayBuffer) || Z && Ne(Z.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Ne(Z, SharedArrayBuffer) || Z && Ne(Z.buffer, SharedArrayBuffer)))
|
|
44560
44570
|
return A(Z, H, G);
|
|
44561
44571
|
if (typeof Z == "number")
|
|
44562
44572
|
throw new TypeError(
|
|
@@ -44611,7 +44621,7 @@ var wF = { exports: {} }, d8 = { exports: {} }, Fd = {};
|
|
|
44611
44621
|
return G;
|
|
44612
44622
|
}
|
|
44613
44623
|
function S(Z) {
|
|
44614
|
-
if (
|
|
44624
|
+
if (Ne(Z, Uint8Array)) {
|
|
44615
44625
|
const H = new Uint8Array(Z);
|
|
44616
44626
|
return A(H.buffer, H.byteOffset, H.byteLength);
|
|
44617
44627
|
}
|
|
@@ -44646,7 +44656,7 @@ var wF = { exports: {} }, d8 = { exports: {} }, Fd = {};
|
|
|
44646
44656
|
c.isBuffer = function(H) {
|
|
44647
44657
|
return H != null && H._isBuffer === !0 && H !== c.prototype;
|
|
44648
44658
|
}, c.compare = function(H, G) {
|
|
44649
|
-
if (
|
|
44659
|
+
if (Ne(H, Uint8Array) && (H = c.from(H, H.offset, H.byteLength)), Ne(G, Uint8Array) && (G = c.from(G, G.offset, G.byteLength)), !c.isBuffer(H) || !c.isBuffer(G))
|
|
44650
44660
|
throw new TypeError(
|
|
44651
44661
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
44652
44662
|
);
|
|
@@ -44688,7 +44698,7 @@ var wF = { exports: {} }, d8 = { exports: {} }, Fd = {};
|
|
|
44688
44698
|
let Re = 0;
|
|
44689
44699
|
for (ge = 0; ge < H.length; ++ge) {
|
|
44690
44700
|
let Be = H[ge];
|
|
44691
|
-
if (
|
|
44701
|
+
if (Ne(Be, Uint8Array))
|
|
44692
44702
|
Re + Be.length > _e.length ? (c.isBuffer(Be) || (Be = c.from(Be)), Be.copy(_e, Re)) : Uint8Array.prototype.set.call(
|
|
44693
44703
|
_e,
|
|
44694
44704
|
Be,
|
|
@@ -44705,7 +44715,7 @@ var wF = { exports: {} }, d8 = { exports: {} }, Fd = {};
|
|
|
44705
44715
|
function D(Z, H) {
|
|
44706
44716
|
if (c.isBuffer(Z))
|
|
44707
44717
|
return Z.length;
|
|
44708
|
-
if (ArrayBuffer.isView(Z) ||
|
|
44718
|
+
if (ArrayBuffer.isView(Z) || Ne(Z, ArrayBuffer))
|
|
44709
44719
|
return Z.byteLength;
|
|
44710
44720
|
if (typeof Z != "string")
|
|
44711
44721
|
throw new TypeError(
|
|
@@ -44804,7 +44814,7 @@ var wF = { exports: {} }, d8 = { exports: {} }, Fd = {};
|
|
|
44804
44814
|
const G = n.INSPECT_MAX_BYTES;
|
|
44805
44815
|
return H = this.toString("hex", 0, G).replace(/(.{2})/g, "$1 ").trim(), this.length > G && (H += " ... "), "<Buffer " + H + ">";
|
|
44806
44816
|
}, r && (c.prototype[r] = c.prototype.inspect), c.prototype.compare = function(H, G, ge, _e, Re) {
|
|
44807
|
-
if (
|
|
44817
|
+
if (Ne(H, Uint8Array) && (H = c.from(H, H.offset, H.byteLength)), !c.isBuffer(H))
|
|
44808
44818
|
throw new TypeError(
|
|
44809
44819
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof H
|
|
44810
44820
|
);
|
|
@@ -45416,7 +45426,7 @@ var wF = { exports: {} }, d8 = { exports: {} }, Fd = {};
|
|
|
45416
45426
|
H[_e + G] = Z[_e];
|
|
45417
45427
|
return _e;
|
|
45418
45428
|
}
|
|
45419
|
-
function
|
|
45429
|
+
function Ne(Z, H) {
|
|
45420
45430
|
return Z instanceof H || Z != null && Z.constructor != null && Z.constructor.name != null && Z.constructor.name === H.name;
|
|
45421
45431
|
}
|
|
45422
45432
|
function Qe(Z) {
|
|
@@ -47237,7 +47247,7 @@ function W2() {
|
|
|
47237
47247
|
SymbolAsyncIterator: w,
|
|
47238
47248
|
Symbol: b
|
|
47239
47249
|
} = ma;
|
|
47240
|
-
v8 =
|
|
47250
|
+
v8 = Ne, Ne.ReadableState = Ee;
|
|
47241
47251
|
const { EventEmitter: g } = U2, { Stream: S, prependListener: A } = q5, { Buffer: T } = Fd, { addAbortSignal: R } = V2, L = zd;
|
|
47242
47252
|
let D = xs.debuglog("stream", (ve) => {
|
|
47243
47253
|
D = ve;
|
|
@@ -47253,7 +47263,7 @@ function W2() {
|
|
|
47253
47263
|
},
|
|
47254
47264
|
AbortError: x
|
|
47255
47265
|
} = Xs, { validateObject: O } = Vb, z = b("kPaused"), { StringDecoder: F } = oB, j = uB;
|
|
47256
|
-
c(
|
|
47266
|
+
c(Ne.prototype, S.prototype), c(Ne, S);
|
|
47257
47267
|
const Q = () => {
|
|
47258
47268
|
}, { errorOrDestroy: ae } = W, N = 1, k = 2, Y = 4, ie = 8, $ = 16, be = 32, Ie = 64, Me = 128, Ue = 256, se = 512, fe = 1024, pe = 2048, ue = 4096, te = 8192, ye = 16384, J = 32768, P = 65536, U = 1 << 17, ee = 1 << 18;
|
|
47259
47269
|
function oe(ve) {
|
|
@@ -47307,23 +47317,23 @@ function W2() {
|
|
|
47307
47317
|
function Ee(ve, xe, ct) {
|
|
47308
47318
|
typeof ct != "boolean" && (ct = xe instanceof Kc()), this.state = pe | ue | $ | be, ve && ve.objectMode && (this.state |= N), ct && ve && ve.readableObjectMode && (this.state |= N), this.highWaterMark = ve ? de(this, ve, "readableHighWaterMark", ct) : ce(!1), this.buffer = new q(), this.length = 0, this.pipes = [], this.flowing = null, this[z] = null, ve && ve.emitClose === !1 && (this.state &= ~pe), ve && ve.autoDestroy === !1 && (this.state &= ~ue), this.errored = null, this.defaultEncoding = ve && ve.defaultEncoding || "utf8", this.awaitDrainWriters = null, this.decoder = null, this.encoding = null, ve && ve.encoding && (this.decoder = new F(ve.encoding), this.encoding = ve.encoding);
|
|
47309
47319
|
}
|
|
47310
|
-
function
|
|
47311
|
-
if (!(this instanceof
|
|
47320
|
+
function Ne(ve) {
|
|
47321
|
+
if (!(this instanceof Ne)) return new Ne(ve);
|
|
47312
47322
|
const xe = this instanceof Kc();
|
|
47313
47323
|
this._readableState = new Ee(ve, this, xe), ve && (typeof ve.read == "function" && (this._read = ve.read), typeof ve.destroy == "function" && (this._destroy = ve.destroy), typeof ve.construct == "function" && (this._construct = ve.construct), ve.signal && !xe && R(ve.signal, this)), S.call(this, ve), W.construct(this, () => {
|
|
47314
47324
|
this._readableState.needReadable && _e(this, this._readableState);
|
|
47315
47325
|
});
|
|
47316
47326
|
}
|
|
47317
|
-
|
|
47327
|
+
Ne.prototype.destroy = W.destroy, Ne.prototype._undestroy = W.undestroy, Ne.prototype._destroy = function(ve, xe) {
|
|
47318
47328
|
xe(ve);
|
|
47319
|
-
},
|
|
47329
|
+
}, Ne.prototype[g.captureRejectionSymbol] = function(ve) {
|
|
47320
47330
|
this.destroy(ve);
|
|
47321
|
-
},
|
|
47331
|
+
}, Ne.prototype[m] = function() {
|
|
47322
47332
|
let ve;
|
|
47323
47333
|
return this.destroyed || (ve = this.readableEnded ? null : new x(), this.destroy(ve)), new p((xe, ct) => L(this, (at) => at && at !== ve ? ct(at) : xe(null)));
|
|
47324
|
-
},
|
|
47334
|
+
}, Ne.prototype.push = function(ve, xe) {
|
|
47325
47335
|
return Qe(this, ve, xe, !1);
|
|
47326
|
-
},
|
|
47336
|
+
}, Ne.prototype.unshift = function(ve, xe) {
|
|
47327
47337
|
return Qe(this, ve, xe, !0);
|
|
47328
47338
|
};
|
|
47329
47339
|
function Qe(ve, xe, ct, at) {
|
|
@@ -47354,10 +47364,10 @@ function W2() {
|
|
|
47354
47364
|
function st(ve, xe, ct, at) {
|
|
47355
47365
|
xe.flowing && xe.length === 0 && !xe.sync && ve.listenerCount("data") > 0 ? (xe.state & P ? xe.awaitDrainWriters.clear() : xe.awaitDrainWriters = null, xe.dataEmitted = !0, ve.emit("data", ct)) : (xe.length += xe.objectMode ? 1 : ct.length, at ? xe.buffer.unshift(ct) : xe.buffer.push(ct), xe.state & Ie && G(ve)), _e(ve, xe);
|
|
47356
47366
|
}
|
|
47357
|
-
|
|
47367
|
+
Ne.prototype.isPaused = function() {
|
|
47358
47368
|
const ve = this._readableState;
|
|
47359
47369
|
return ve[z] === !0 || ve.flowing === !1;
|
|
47360
|
-
},
|
|
47370
|
+
}, Ne.prototype.setEncoding = function(ve) {
|
|
47361
47371
|
const xe = new F(ve);
|
|
47362
47372
|
this._readableState.decoder = xe, this._readableState.encoding = this._readableState.decoder.encoding;
|
|
47363
47373
|
const ct = this._readableState.buffer;
|
|
@@ -47375,7 +47385,7 @@ function W2() {
|
|
|
47375
47385
|
function Z(ve, xe) {
|
|
47376
47386
|
return ve <= 0 || xe.length === 0 && xe.ended ? 0 : xe.state & N ? 1 : r(ve) ? xe.flowing && xe.length ? xe.buffer.first().length : xe.length : ve <= xe.length ? ve : xe.ended ? xe.length : 0;
|
|
47377
47387
|
}
|
|
47378
|
-
|
|
47388
|
+
Ne.prototype.read = function(ve) {
|
|
47379
47389
|
D("read", ve), ve === void 0 ? ve = NaN : t(ve) || (ve = i(ve, 10));
|
|
47380
47390
|
const xe = this._readableState, ct = ve;
|
|
47381
47391
|
if (ve > xe.highWaterMark && (xe.highWaterMark = St(ve)), ve !== 0 && (xe.state &= ~Me), ve === 0 && xe.needReadable && ((xe.highWaterMark !== 0 ? xe.length >= xe.highWaterMark : xe.length > 0) || xe.ended))
|
|
@@ -47425,9 +47435,9 @@ function W2() {
|
|
|
47425
47435
|
}
|
|
47426
47436
|
xe.readingMore = !1;
|
|
47427
47437
|
}
|
|
47428
|
-
|
|
47438
|
+
Ne.prototype._read = function(ve) {
|
|
47429
47439
|
throw new Ce("_read()");
|
|
47430
|
-
},
|
|
47440
|
+
}, Ne.prototype.pipe = function(ve, xe) {
|
|
47431
47441
|
const ct = this, at = this._readableState;
|
|
47432
47442
|
at.pipes.length === 1 && (at.multiAwaitDrain || (at.multiAwaitDrain = !0, at.awaitDrainWriters = new h(at.awaitDrainWriters ? [at.awaitDrainWriters] : []))), at.pipes.push(ve), D("pipe count=%d opts=%j", at.pipes.length, xe);
|
|
47433
47443
|
const Dn = (!xe || xe.end !== !1) && ve !== n.stdout && ve !== n.stderr ? Sn : Bt;
|
|
@@ -47477,7 +47487,7 @@ function W2() {
|
|
|
47477
47487
|
at.awaitDrainWriters === xe ? (D("pipeOnDrain", 1), at.awaitDrainWriters = null) : at.multiAwaitDrain && (D("pipeOnDrain", at.awaitDrainWriters.size), at.awaitDrainWriters.delete(xe)), (!at.awaitDrainWriters || at.awaitDrainWriters.size === 0) && ve.listenerCount("data") && ve.resume();
|
|
47478
47488
|
};
|
|
47479
47489
|
}
|
|
47480
|
-
|
|
47490
|
+
Ne.prototype.unpipe = function(ve) {
|
|
47481
47491
|
const xe = this._readableState, ct = {
|
|
47482
47492
|
hasUnpiped: !1
|
|
47483
47493
|
};
|
|
@@ -47493,13 +47503,13 @@ function W2() {
|
|
|
47493
47503
|
}
|
|
47494
47504
|
const at = e(xe.pipes, ve);
|
|
47495
47505
|
return at === -1 ? this : (xe.pipes.splice(at, 1), xe.pipes.length === 0 && this.pause(), ve.emit("unpipe", this, ct), this);
|
|
47496
|
-
},
|
|
47506
|
+
}, Ne.prototype.on = function(ve, xe) {
|
|
47497
47507
|
const ct = S.prototype.on.call(this, ve, xe), at = this._readableState;
|
|
47498
47508
|
return ve === "data" ? (at.readableListening = this.listenerCount("readable") > 0, at.flowing !== !1 && this.resume()) : ve === "readable" && !at.endEmitted && !at.readableListening && (at.readableListening = at.needReadable = !0, at.flowing = !1, at.emittedReadable = !1, D("on readable", at.length, at.reading), at.length ? G(this) : at.reading || n.nextTick(yt, this)), ct;
|
|
47499
|
-
},
|
|
47509
|
+
}, Ne.prototype.addListener = Ne.prototype.on, Ne.prototype.removeListener = function(ve, xe) {
|
|
47500
47510
|
const ct = S.prototype.removeListener.call(this, ve, xe);
|
|
47501
47511
|
return ve === "readable" && n.nextTick(wt, this), ct;
|
|
47502
|
-
},
|
|
47512
|
+
}, Ne.prototype.off = Ne.prototype.removeListener, Ne.prototype.removeAllListeners = function(ve) {
|
|
47503
47513
|
const xe = S.prototype.removeAllListeners.apply(this, arguments);
|
|
47504
47514
|
return (ve === "readable" || ve === void 0) && n.nextTick(wt, this), xe;
|
|
47505
47515
|
};
|
|
@@ -47510,7 +47520,7 @@ function W2() {
|
|
|
47510
47520
|
function yt(ve) {
|
|
47511
47521
|
D("readable nexttick read 0"), ve.read(0);
|
|
47512
47522
|
}
|
|
47513
|
-
|
|
47523
|
+
Ne.prototype.resume = function() {
|
|
47514
47524
|
const ve = this._readableState;
|
|
47515
47525
|
return ve.flowing || (D("resume"), ve.flowing = !ve.readableListening, gt(this, ve)), ve[z] = !1, this;
|
|
47516
47526
|
};
|
|
@@ -47520,14 +47530,14 @@ function W2() {
|
|
|
47520
47530
|
function Et(ve, xe) {
|
|
47521
47531
|
D("resume", xe.reading), xe.reading || ve.read(0), xe.resumeScheduled = !1, ve.emit("resume"), Rt(ve), xe.flowing && !xe.reading && ve.read(0);
|
|
47522
47532
|
}
|
|
47523
|
-
|
|
47533
|
+
Ne.prototype.pause = function() {
|
|
47524
47534
|
return D("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (D("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState[z] = !0, this;
|
|
47525
47535
|
};
|
|
47526
47536
|
function Rt(ve) {
|
|
47527
47537
|
const xe = ve._readableState;
|
|
47528
47538
|
for (D("flow", xe.flowing); xe.flowing && ve.read() !== null; ) ;
|
|
47529
47539
|
}
|
|
47530
|
-
|
|
47540
|
+
Ne.prototype.wrap = function(ve) {
|
|
47531
47541
|
let xe = !1;
|
|
47532
47542
|
ve.on("data", (at) => {
|
|
47533
47543
|
!this.push(at) && ve.pause && (xe = !0, ve.pause());
|
|
@@ -47548,13 +47558,13 @@ function W2() {
|
|
|
47548
47558
|
this[ft] === void 0 && typeof ve[ft] == "function" && (this[ft] = ve[ft].bind(ve));
|
|
47549
47559
|
}
|
|
47550
47560
|
return this;
|
|
47551
|
-
},
|
|
47561
|
+
}, Ne.prototype[w] = function() {
|
|
47552
47562
|
return nn(this);
|
|
47553
|
-
},
|
|
47563
|
+
}, Ne.prototype.iterator = function(ve) {
|
|
47554
47564
|
return ve !== void 0 && O(ve, "options"), nn(this, ve);
|
|
47555
47565
|
};
|
|
47556
47566
|
function nn(ve, xe) {
|
|
47557
|
-
typeof ve.read != "function" && (ve =
|
|
47567
|
+
typeof ve.read != "function" && (ve = Ne.wrap(ve, {
|
|
47558
47568
|
objectMode: !0
|
|
47559
47569
|
}));
|
|
47560
47570
|
const ct = Mr(ve, xe);
|
|
@@ -47595,7 +47605,7 @@ function W2() {
|
|
|
47595
47605
|
(ft || (xe == null ? void 0 : xe.destroyOnReturn) !== !1) && (ft === void 0 || ve._readableState.autoDestroy) ? W.destroyer(ve, null) : (ve.off("readable", at), Dn());
|
|
47596
47606
|
}
|
|
47597
47607
|
}
|
|
47598
|
-
o(
|
|
47608
|
+
o(Ne.prototype, {
|
|
47599
47609
|
readable: {
|
|
47600
47610
|
__proto__: null,
|
|
47601
47611
|
get() {
|
|
@@ -47713,7 +47723,7 @@ function W2() {
|
|
|
47713
47723
|
this[z] = !!ve;
|
|
47714
47724
|
}
|
|
47715
47725
|
}
|
|
47716
|
-
}),
|
|
47726
|
+
}), Ne._fromList = Zt;
|
|
47717
47727
|
function Zt(ve, xe) {
|
|
47718
47728
|
if (xe.length === 0) return null;
|
|
47719
47729
|
let ct;
|
|
@@ -47738,20 +47748,20 @@ function W2() {
|
|
|
47738
47748
|
function Mn(ve) {
|
|
47739
47749
|
ve.writable && !ve.writableEnded && !ve.destroyed && ve.end();
|
|
47740
47750
|
}
|
|
47741
|
-
|
|
47742
|
-
return j(
|
|
47751
|
+
Ne.from = function(ve, xe) {
|
|
47752
|
+
return j(Ne, ve, xe);
|
|
47743
47753
|
};
|
|
47744
47754
|
let In;
|
|
47745
47755
|
function Ma() {
|
|
47746
47756
|
return In === void 0 && (In = {}), In;
|
|
47747
47757
|
}
|
|
47748
|
-
return
|
|
47758
|
+
return Ne.fromWeb = function(ve, xe) {
|
|
47749
47759
|
return Ma().newStreamReadableFromReadableStream(ve, xe);
|
|
47750
|
-
},
|
|
47760
|
+
}, Ne.toWeb = function(ve, xe) {
|
|
47751
47761
|
return Ma().newReadableStreamFromStreamReadable(ve, xe);
|
|
47752
|
-
},
|
|
47762
|
+
}, Ne.wrap = function(ve, xe) {
|
|
47753
47763
|
var ct, at;
|
|
47754
|
-
return new
|
|
47764
|
+
return new Ne({
|
|
47755
47765
|
objectMode: (ct = (at = ve.readableObjectMode) !== null && at !== void 0 ? at : ve.objectMode) !== null && ct !== void 0 ? ct : !0,
|
|
47756
47766
|
...xe,
|
|
47757
47767
|
destroy(ft, Dn) {
|
|
@@ -47922,17 +47932,17 @@ function G5() {
|
|
|
47922
47932
|
let ee = J;
|
|
47923
47933
|
if (te.bufferProcessing = !0, U > 1 && ue._writev) {
|
|
47924
47934
|
te.pendingcb -= U - 1;
|
|
47925
|
-
const oe = te.allNoop ? ne : (
|
|
47935
|
+
const oe = te.allNoop ? ne : (Ne) => {
|
|
47926
47936
|
for (let Qe = ee; Qe < ye.length; ++Qe)
|
|
47927
|
-
ye[Qe].callback(
|
|
47937
|
+
ye[Qe].callback(Ne);
|
|
47928
47938
|
}, Ee = te.allNoop && ee === 0 ? ye : e(ye, ee);
|
|
47929
47939
|
Ee.allBuffers = te.allBuffers, j(ue, te, !0, te.length, Ee, "", oe), x(te);
|
|
47930
47940
|
} else {
|
|
47931
47941
|
do {
|
|
47932
|
-
const { chunk: oe, encoding: Ee, callback:
|
|
47942
|
+
const { chunk: oe, encoding: Ee, callback: Ne } = ye[ee];
|
|
47933
47943
|
ye[ee++] = null;
|
|
47934
47944
|
const Qe = P ? 1 : oe.length;
|
|
47935
|
-
j(ue, te, !1, Qe, oe, Ee,
|
|
47945
|
+
j(ue, te, !1, Qe, oe, Ee, Ne);
|
|
47936
47946
|
} while (ee < ye.length && !te.writing);
|
|
47937
47947
|
ee === ye.length ? x(te) : ee > 256 ? (ye.splice(0, ee), te.bufferedIndex = 0) : te.bufferedIndex = ee;
|
|
47938
47948
|
}
|
|
@@ -49296,7 +49306,7 @@ const ii = {
|
|
|
49296
49306
|
ElvCrypto: async () => {
|
|
49297
49307
|
try {
|
|
49298
49308
|
if (!ii.elvCrypto) {
|
|
49299
|
-
const n = (await import("./index-
|
|
49309
|
+
const n = (await import("./index-BI8OZHVA.mjs")).default;
|
|
49300
49310
|
ii.elvCrypto = await new n().init();
|
|
49301
49311
|
}
|
|
49302
49312
|
return ii.elvCrypto;
|
|
@@ -65586,7 +65596,7 @@ class i2 {
|
|
|
65586
65596
|
constructor({ target: e, video: t, parameters: r, SetErrorMessage: i }) {
|
|
65587
65597
|
this.loading = !0, this.target = e, this.video = t, this.SetErrorMessage = i, this.controls = new pme({ player: this }), this.__settingsListeners = [], this.__listenerDisposers = [], this.__showPlayerProfileForm = !1, this.playbackStarted = !1, this.reloads = 0, this.canPlay = !1;
|
|
65588
65598
|
try {
|
|
65589
|
-
r.playerOptions.hlsjsOptions && Object.keys(r.playerOptions.hlsjsOptions).length > 0 && (this.customHLSOptions = r.playerOptions.hlsjsOptions, r.playerOptions.playerProfile =
|
|
65599
|
+
r.playerOptions.hlsjsOptions && Object.keys(r.playerOptions.hlsjsOptions).length > 0 && (this.customHLSOptions = r.playerOptions.hlsjsOptions, r.playerOptions.playerProfile = jt.playerProfile.CUSTOM);
|
|
65590
65600
|
} catch (o) {
|
|
65591
65601
|
this.Log(o, !0);
|
|
65592
65602
|
}
|
|
@@ -65609,7 +65619,7 @@ class i2 {
|
|
|
65609
65619
|
t.objectId = e.utils.DecodeVersionHash(g.mediaHash).objectId, t.versionHash = g.mediaHash, this.sourceOptions.playoutOptions = void 0;
|
|
65610
65620
|
}
|
|
65611
65621
|
let r, i, o = {};
|
|
65612
|
-
if ((t.clipStart || t.clipEnd) && (o.clip_start = parseFloat(t.clipStart || 0), t.clipEnd && (o.clip_end = parseFloat(t.clipEnd))), o.ignore_trimming = t.ignoreTrimming, o.resolve = t.resolve, t.offering || t.directLink || (t.offerings || []).length > 0) {
|
|
65622
|
+
if ((t.clipStart || t.clipEnd) && (o.clip_start = parseFloat(t.clipStart || 0), t.clipEnd && (o.clip_end = parseFloat(t.clipEnd))), o.ignore_trimming = t.ignoreTrimming, o.resolve = t.resolve, this.dvrEnabled && (o.dvr = 1), t.offering || t.directLink || (t.offerings || []).length > 0) {
|
|
65613
65623
|
let g = await e.AvailableOfferings({
|
|
65614
65624
|
objectId: t.objectId,
|
|
65615
65625
|
versionHash: t.versionHash,
|
|
@@ -65701,9 +65711,9 @@ class i2 {
|
|
|
65701
65711
|
}
|
|
65702
65712
|
async __Initialize(e, t) {
|
|
65703
65713
|
if (!this.__destroyed) {
|
|
65704
|
-
this.__Reset(), this.loading = !0, this.initTime = Date.now(), this.__SettingsUpdate(), e && (this.originalParameters = Oz(e), this.clientOptions = e.clientOptions, this.sourceOptions = e.sourceOptions, this.playerOptions = e.playerOptions), this.isLive = e.sourceOptions.contentInfo.type ===
|
|
65714
|
+
this.__Reset(), this.loading = !0, this.initTime = Date.now(), this.__SettingsUpdate(), e && (this.originalParameters = Oz(e), this.clientOptions = e.clientOptions, this.sourceOptions = e.sourceOptions, this.playerOptions = e.playerOptions), this.isLive = e.sourceOptions.contentInfo.type === jt.type.LIVE, this.dvrEnabled = e.sourceOptions.contentInfo.liveDVR === jt.liveDVR.ON, this.errors = 0, this.__Client();
|
|
65705
65715
|
try {
|
|
65706
|
-
t && (this.video.volume = t.volume, this.video.muted = t.muted, t.playing && (this.playerOptions.autoplay =
|
|
65716
|
+
t && (this.video.volume = t.volume, this.video.muted = t.muted, t.playing && (this.playerOptions.autoplay = jt.autoplay.ON), t.currentTime && this.__RegisterVideoEventListener(
|
|
65707
65717
|
"loadedmetadata",
|
|
65708
65718
|
() => this.video.currentTime = t.currentTime
|
|
65709
65719
|
)), this.__RegisterVideoEventListener("play", () => {
|
|
@@ -65713,7 +65723,7 @@ class i2 {
|
|
|
65713
65723
|
this.canPlay && (isFinite(this.video.duration) ? this.video.duration && this.videoDuration > 0 && this.video.duration - this.videoDuration > 1 && (this.isLive = !0) : this.isLive = !0);
|
|
65714
65724
|
};
|
|
65715
65725
|
this.__RegisterVideoEventListener("canplay", () => {
|
|
65716
|
-
this.initTime && !this.initTimeLogged && (this.Log(`Player initialization: ${((Date.now() - this.initTime) / 1e3).toFixed(2)} seconds`), this.initTimeLogged = !0, this.canPlay = !0, r(), this.playerOptions.autoplay ===
|
|
65726
|
+
this.initTime && !this.initTimeLogged && (this.Log(`Player initialization: ${((Date.now() - this.initTime) / 1e3).toFixed(2)} seconds`), this.initTimeLogged = !0, this.canPlay = !0, r(), this.playerOptions.autoplay === jt.autoplay.ON && this.controls.Play());
|
|
65717
65727
|
}), this.__RegisterVideoEventListener("durationchange", () => {
|
|
65718
65728
|
r(), this.videoDuration = this.video.duration;
|
|
65719
65729
|
}), await this.__LoadCollection(), this.collectionInfo && this.collectionInfo.isPlaylist && this.collectionInfo.mediaIndex < this.collectionInfo.mediaLength - 1 && this.__RegisterVideoEventListener("ended", () => this.controls && this.controls.CollectionPlayNext({ autoplay: !0 }));
|
|
@@ -65722,12 +65732,12 @@ class i2 {
|
|
|
65722
65732
|
const m = this.sourceOptions.playoutParameters.authorizationToken || o.searchParams.get("authorization");
|
|
65723
65733
|
if (this.__destroyed)
|
|
65724
65734
|
return;
|
|
65725
|
-
u === "hls" ? await this.__InitializeHLS({ playoutUrl: o, authorizationToken: m, drm: c, drms: p, multiviewOptions: h }) : await this.__InitializeDash({ playoutUrl: o, authorizationToken: m, drm: c, drms: p, multiviewOptions: h }), this.playerOptions.collectVideoAnalytics && import("./Analytics-
|
|
65735
|
+
u === "hls" ? await this.__InitializeHLS({ playoutUrl: o, authorizationToken: m, drm: c, drms: p, multiviewOptions: h }) : await this.__InitializeDash({ playoutUrl: o, authorizationToken: m, drm: c, drms: p, multiviewOptions: h }), this.playerOptions.collectVideoAnalytics && import("./Analytics-ChS8E6U3.mjs").then(({ InitializeMuxMonitoring: w }) => w({
|
|
65726
65736
|
appName: this.playerOptions.appName || "elv-player-js",
|
|
65727
65737
|
elvPlayer: this,
|
|
65728
65738
|
playoutUrl: o,
|
|
65729
65739
|
authorizationToken: m,
|
|
65730
|
-
disableCookies: this.playerOptions.collectVideoAnalytics ===
|
|
65740
|
+
disableCookies: this.playerOptions.collectVideoAnalytics === jt.collectVideoAnalytics.DISABLE_COOKIES
|
|
65731
65741
|
})), this.playerOptions.verifyContent && setTimeout(() => {
|
|
65732
65742
|
this.__VerifyContent();
|
|
65733
65743
|
}, 1e3), this.playerOptions.playerCallback && this.playerOptions.playerCallback({
|
|
@@ -65757,8 +65767,8 @@ class i2 {
|
|
|
65757
65767
|
}
|
|
65758
65768
|
}
|
|
65759
65769
|
async __InitializeHLS({ playoutUrl: e, authorizationToken: t, drm: r, drms: i, multiviewOptions: o }) {
|
|
65760
|
-
if (this.HLS = (await import("./hls-DHFAkcd1.mjs")).default, [
|
|
65761
|
-
if (this.nativeHLS = !0, r ===
|
|
65770
|
+
if (this.HLS = (await import("./hls-DHFAkcd1.mjs")).default, [jt.drms.FAIRPLAY, jt.drms.SAMPLE_AES].includes(r) || !this.HLS.isSupported()) {
|
|
65771
|
+
if (this.nativeHLS = !0, r === jt.drms.FAIRPLAY ? uW({ playoutOptions: this.sourceOptions.playoutOptions, video: this.video }) : this.video.src = e.toString(), o.enabled) {
|
|
65762
65772
|
const u = o.SwitchView;
|
|
65763
65773
|
o.SwitchView = async (c) => {
|
|
65764
65774
|
await u(c);
|
|
@@ -65767,22 +65777,22 @@ class i2 {
|
|
|
65767
65777
|
} else {
|
|
65768
65778
|
e.searchParams.delete("authorization");
|
|
65769
65779
|
let u = {};
|
|
65770
|
-
(r ===
|
|
65780
|
+
(r === jt.drms.PLAYREADY || r === jt.drms.WIDEVINE) && (u = {
|
|
65771
65781
|
drmSystems: {},
|
|
65772
65782
|
emeEnabled: !0,
|
|
65773
65783
|
licenseXhrSetup: (m, w) => {
|
|
65774
65784
|
m.open("POST", w, !0), m.setRequestHeader("Authorization", `Bearer ${t}`);
|
|
65775
65785
|
}
|
|
65776
|
-
}, r ===
|
|
65786
|
+
}, r === jt.drms.PLAYREADY ? u.drmSystems = {
|
|
65777
65787
|
"com.microsoft.playready": {
|
|
65778
65788
|
licenseUrl: i[r].licenseServers[0]
|
|
65779
65789
|
}
|
|
65780
|
-
} : r ===
|
|
65790
|
+
} : r === jt.drms.WIDEVINE && (u.drmSystems = {
|
|
65781
65791
|
"com.widevine.alpha": {
|
|
65782
65792
|
licenseUrl: i[r].licenseServers[0]
|
|
65783
65793
|
}
|
|
65784
65794
|
}));
|
|
65785
|
-
const c = (yme[this.playerOptions.playerProfile] || {}).hlsSettings || {}, p = this.playerOptions.playerProfile ===
|
|
65795
|
+
const c = (yme[this.playerOptions.playerProfile] || {}).hlsSettings || {}, p = this.playerOptions.playerProfile === jt.playerProfile.CUSTOM ? this.customHLSOptions : {};
|
|
65786
65796
|
this.hlsOptions = {
|
|
65787
65797
|
capLevelToPlayerSize: this.playerOptions.capLevelToPlayerSize,
|
|
65788
65798
|
xhrSetup: (m) => (m.setRequestHeader("Authorization", `Bearer ${t}`), (this.playerOptions.hlsjsOptions || {}).xhrSetup && this.playerOptions.hlsjsOptions.xhrSetup(m), m),
|
|
@@ -65826,7 +65836,7 @@ class i2 {
|
|
|
65826
65836
|
}
|
|
65827
65837
|
}
|
|
65828
65838
|
async __InitializeDash({ playoutUrl: e, authorizationToken: t, drm: r, drms: i }) {
|
|
65829
|
-
this.Dash = (await import("./dash.all.min-
|
|
65839
|
+
this.Dash = (await import("./dash.all.min-B6vTtJvV.mjs").then((c) => c.d)).default;
|
|
65830
65840
|
const o = this.Dash.MediaPlayer().create(), u = this.playerOptions.dashjsOptions || {};
|
|
65831
65841
|
if (o.updateSettings({
|
|
65832
65842
|
...u,
|
|
@@ -65859,7 +65869,7 @@ class i2 {
|
|
|
65859
65869
|
modifyRequestHeader: (c) => (c.setRequestHeader("Authorization", `Bearer ${t}`), c),
|
|
65860
65870
|
modifyRequestURL: (c) => c
|
|
65861
65871
|
};
|
|
65862
|
-
}), r ===
|
|
65872
|
+
}), r === jt.drms.WIDEVINE) {
|
|
65863
65873
|
const c = i.widevine.licenseServers[0];
|
|
65864
65874
|
o.setProtectionData({
|
|
65865
65875
|
"com.widevine.alpha": {
|
|
@@ -65870,7 +65880,7 @@ class i2 {
|
|
|
65870
65880
|
o.initialize(
|
|
65871
65881
|
this.video,
|
|
65872
65882
|
e.toString(),
|
|
65873
|
-
this.playerOptions.autoplay ===
|
|
65883
|
+
this.playerOptions.autoplay === jt.autoplay.ON
|
|
65874
65884
|
), [
|
|
65875
65885
|
this.Dash.MediaPlayer.events.TRACK_CHANGE_RENDERED,
|
|
65876
65886
|
this.Dash.MediaPlayer.events.QUALITY_CHANGE_RENDERED,
|
|
@@ -65887,7 +65897,7 @@ class i2 {
|
|
|
65887
65897
|
try {
|
|
65888
65898
|
return await this.video.play(), !0;
|
|
65889
65899
|
} catch (e) {
|
|
65890
|
-
if (this.Log("Unable to autoplay", !0), this.Log(e, !0), this.playbackStarted = !1, this.playerOptions.muted ===
|
|
65900
|
+
if (this.Log("Unable to autoplay", !0), this.Log(e, !0), this.playbackStarted = !1, this.playerOptions.muted === jt.muted.OFF_IF_POSSIBLE && this.video.paused && !this.video.muted) {
|
|
65891
65901
|
await new Promise((t) => setTimeout(t, 250)), this.Log("Attempting to autoplay muted"), this.video.muted = !0;
|
|
65892
65902
|
try {
|
|
65893
65903
|
return await this.video.play(), !0;
|
|
@@ -65993,7 +66003,7 @@ class i2 {
|
|
|
65993
66003
|
} catch (e) {
|
|
65994
66004
|
this.Log("Error destroying mux monitoring:"), this.Log(e);
|
|
65995
66005
|
}
|
|
65996
|
-
this.contentHash = void 0, this.nativeHLS = !1, this.hlsPlayer = void 0, this.dashPlayer = void 0, this.player = void 0, this.initTimeLogged = !1, this.canPlay = !1;
|
|
66006
|
+
this.contentHash = void 0, this.nativeHLS = !1, this.hlsPlayer = void 0, this.dashPlayer = void 0, this.player = void 0, this.initTimeLogged = !1, this.canPlay = !1, this.isLive = !1, this.dvrEnabled = !1;
|
|
65997
66007
|
}
|
|
65998
66008
|
}
|
|
65999
66009
|
async __HardReload(e, t = 6e3) {
|
|
@@ -66035,7 +66045,7 @@ class i2 {
|
|
|
66035
66045
|
t ? console.error("ELUVIO PLAYER:", e) : this.playerOptions.debugLogging && console.warn("ELUVIO PLAYER:", e);
|
|
66036
66046
|
}
|
|
66037
66047
|
}
|
|
66038
|
-
i2.EluvioPlayerParameters =
|
|
66048
|
+
i2.EluvioPlayerParameters = jt;
|
|
66039
66049
|
i2.EluvioPlayer = i2;
|
|
66040
66050
|
var Lz = function() {
|
|
66041
66051
|
if (typeof Map < "u")
|
|
@@ -66395,7 +66405,7 @@ const l3 = ({ element: n, Hide: e }) => {
|
|
|
66395
66405
|
const u = new Nme(o);
|
|
66396
66406
|
return u.observe(n), () => u.disconnect();
|
|
66397
66407
|
}, Dme = ({ player: n }) => {
|
|
66398
|
-
const e = n.video, t = n.playerOptions.autoplay ===
|
|
66408
|
+
const e = n.video, t = n.playerOptions.autoplay === jt.autoplay.WHEN_VISIBLE, r = n.playerOptions.muted === jt.muted.WHEN_NOT_VISIBLE;
|
|
66399
66409
|
if (!t && !r)
|
|
66400
66410
|
return;
|
|
66401
66411
|
let i, o;
|
|
@@ -66430,9 +66440,9 @@ const l3 = ({ element: n, Hide: e }) => {
|
|
|
66430
66440
|
u.map((p) => n.video.removeEventListener(p, o)), c.map((p) => n.target.removeEventListener(p, o));
|
|
66431
66441
|
};
|
|
66432
66442
|
}, Fme = ({ player: n, setRecentUserAction: e }) => {
|
|
66433
|
-
if (n.playerOptions.keyboardControls ===
|
|
66443
|
+
if (n.playerOptions.keyboardControls === jt.keyboardControls.OFF)
|
|
66434
66444
|
return;
|
|
66435
|
-
const t = n.playerOptions.keyboardControls ===
|
|
66445
|
+
const t = n.playerOptions.keyboardControls === jt.keyboardControls.ARROW_KEYS_DISABLED, r = Tz(n, e)(), i = (o) => {
|
|
66436
66446
|
if (
|
|
66437
66447
|
// Keyboard controls should only fire if the player is in focus
|
|
66438
66448
|
!(n.target === o.target || n.target.contains(o.target)) || // Ignore keyboard controls if actively focused on a button or input
|
|
@@ -66586,40 +66596,40 @@ const l3 = ({ element: n, Hide: e }) => {
|
|
|
66586
66596
|
});
|
|
66587
66597
|
};
|
|
66588
66598
|
}
|
|
66589
|
-
}, zme = "
|
|
66599
|
+
}, zme = "_container_1q9a2_1", jme = "_autohide_1q9a2_41", $me = "_seek_1q9a2_162", Hme = "_controls_1q9a2_195", qme = "_time_1q9a2_209", Vme = "_spacer_1q9a2_259", Gme = "_watermark_1q9a2_271", Wme = "_fadein_1q9a2_1", Kme = "_menu_1q9a2_37", Fn = {
|
|
66590
66600
|
container: zme,
|
|
66591
|
-
"container--default-controls": "_container--default-
|
|
66592
|
-
"bottom-controls-container": "_bottom-controls-
|
|
66601
|
+
"container--default-controls": "_container--default-controls_1q9a2_33",
|
|
66602
|
+
"bottom-controls-container": "_bottom-controls-container_1q9a2_37",
|
|
66593
66603
|
autohide: jme,
|
|
66594
|
-
"info-container": "_info-
|
|
66595
|
-
"bottom-controls-container--autohide": "_bottom-controls-container--
|
|
66596
|
-
"icon-button": "_icon-
|
|
66597
|
-
"icon-button-active": "_icon-button-
|
|
66598
|
-
"info-image-container": "_info-image-
|
|
66599
|
-
"info-image": "_info-
|
|
66600
|
-
"info-text": "_info-
|
|
66601
|
-
"info-headers": "_info-
|
|
66602
|
-
"info-description": "_info-
|
|
66603
|
-
"info-title": "_info-
|
|
66604
|
-
"info-subtitle": "_info-
|
|
66605
|
-
"center-play-button": "_center-play-
|
|
66606
|
-
"center-play-button--hidden": "_center-play-button--
|
|
66604
|
+
"info-container": "_info-container_1q9a2_44",
|
|
66605
|
+
"bottom-controls-container--autohide": "_bottom-controls-container--autohide_1q9a2_45",
|
|
66606
|
+
"icon-button": "_icon-button_1q9a2_51",
|
|
66607
|
+
"icon-button-active": "_icon-button-active_1q9a2_65",
|
|
66608
|
+
"info-image-container": "_info-image-container_1q9a2_94",
|
|
66609
|
+
"info-image": "_info-image_1q9a2_94",
|
|
66610
|
+
"info-text": "_info-text_1q9a2_110",
|
|
66611
|
+
"info-headers": "_info-headers_1q9a2_119",
|
|
66612
|
+
"info-description": "_info-description_1q9a2_129",
|
|
66613
|
+
"info-title": "_info-title_1q9a2_135",
|
|
66614
|
+
"info-subtitle": "_info-subtitle_1q9a2_140",
|
|
66615
|
+
"center-play-button": "_center-play-button_1q9a2_148",
|
|
66616
|
+
"center-play-button--hidden": "_center-play-button--hidden_1q9a2_155",
|
|
66607
66617
|
seek: $me,
|
|
66608
|
-
"bottom-controls-gradient": "_bottom-controls-
|
|
66618
|
+
"bottom-controls-gradient": "_bottom-controls-gradient_1q9a2_182",
|
|
66609
66619
|
controls: Hme,
|
|
66610
|
-
"play-pause-button": "_play-pause-
|
|
66620
|
+
"play-pause-button": "_play-pause-button_1q9a2_205",
|
|
66611
66621
|
time: qme,
|
|
66612
|
-
"live-indicator": "_live-
|
|
66613
|
-
"collection-button-container": "_collection-button-
|
|
66614
|
-
"collection-button-text": "_collection-button-
|
|
66615
|
-
"collection-button-container--loading": "_collection-button-container--
|
|
66622
|
+
"live-indicator": "_live-indicator_1q9a2_219",
|
|
66623
|
+
"collection-button-container": "_collection-button-container_1q9a2_229",
|
|
66624
|
+
"collection-button-text": "_collection-button-text_1q9a2_234",
|
|
66625
|
+
"collection-button-container--loading": "_collection-button-container--loading_1q9a2_243",
|
|
66616
66626
|
spacer: Vme,
|
|
66617
|
-
"floating-volume-toggle": "_floating-volume-
|
|
66627
|
+
"floating-volume-toggle": "_floating-volume-toggle_1q9a2_263",
|
|
66618
66628
|
watermark: Gme,
|
|
66619
|
-
"content-verified-badge": "_content-verified-
|
|
66620
|
-
"content-verification-menu-button": "_content-verification-menu-
|
|
66629
|
+
"content-verified-badge": "_content-verified-badge_1q9a2_282",
|
|
66630
|
+
"content-verification-menu-button": "_content-verification-menu-button_1q9a2_283",
|
|
66621
66631
|
fadein: Wme,
|
|
66622
|
-
"menu-control-container": "_menu-control-
|
|
66632
|
+
"menu-control-container": "_menu-control-container_1q9a2_297",
|
|
66623
66633
|
menu: Kme
|
|
66624
66634
|
}, Fz = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> <circle cx="16" cy="16" r="16" fill="currentColor"/> <path d="M22 15.5L13.75 21.1292L13.75 9.87083L22 15.5Z" fill="black"/></svg>', Bz = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play"><polygon points="5 3 19 12 5 21 5 3"></polygon></svg>', zz = '<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve"><circle cx="16" cy="16" r="16" fill="currentColor"/><path d="M22.8,16l-11.6,7V9L22.8,16z" fill="black"/></svg>', Yme = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pause"><rect x="6" y="4" width="4" height="16"></rect><rect x="14" y="4" width="4" height="16"></rect></svg>', jz = '<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve"><circle cx="16" cy="16" r="16" fill="currentColor"/><g> <rect x="10.4" y="9" width="4.5" height="14.1" fill="black"/> <rect x="17.5" y="9" width="4.5" height="14.1" fill="black"/></g></svg>', Jme = '<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.46154 18.9985L5.84615 18.9942C6.03997 18.9942 6.22584 18.9172 6.36289 18.7801C6.49993 18.6431 6.57692 18.4572 6.57692 18.2634C6.57692 18.0696 6.49993 17.8837 6.36289 17.7467C6.22584 17.6096 6.03997 17.5326 5.84615 17.5326L1.46154 17.537V13.1538C1.46154 12.96 1.38455 12.7742 1.2475 12.6371C1.11046 12.5001 0.924581 12.4231 0.730769 12.4231C0.536957 12.4231 0.351083 12.5001 0.214037 12.6371C0.0769915 12.7742 0 12.96 0 13.1538V19H1.46154V18.9985ZM1.46154 0.00146249V3.57628e-07H0V5.84615C0 6.03997 0.0769915 6.22584 0.214037 6.36289C0.351083 6.49993 0.536957 6.57692 0.730769 6.57692C0.924581 6.57692 1.11046 6.49993 1.2475 6.36289C1.38455 6.22584 1.46154 6.03997 1.46154 5.84615V1.463L5.84615 1.46738C6.03997 1.46738 6.22584 1.39039 6.36289 1.25335C6.49993 1.1163 6.57692 0.930427 6.57692 0.736615C6.57692 0.542803 6.49993 0.35693 6.36289 0.219884C6.22584 0.0828385 6.03997 0.00584609 5.84615 0.00584609L1.46154 0.00146249V0.00146249ZM17.5385 18.9985V19H19V13.1538C19 12.96 18.923 12.7742 18.786 12.6371C18.6489 12.5001 18.463 12.4231 18.2692 12.4231C18.0754 12.4231 17.8895 12.5001 17.7525 12.6371C17.6155 12.7742 17.5385 12.96 17.5385 13.1538V17.537L13.1538 17.5326C12.96 17.5326 12.7742 17.6096 12.6371 17.7467C12.5001 17.8837 12.4231 18.0696 12.4231 18.2634C12.4231 18.4572 12.5001 18.6431 12.6371 18.7801C12.7742 18.9172 12.96 18.9942 13.1538 18.9942L17.5385 18.9985V18.9985ZM17.5385 0.00146249L13.1538 0.00584609C12.96 0.00584609 12.7742 0.0828385 12.6371 0.219884C12.5001 0.35693 12.4231 0.542803 12.4231 0.736615C12.4231 0.930427 12.5001 1.1163 12.6371 1.25335C12.7742 1.39039 12.96 1.46738 13.1538 1.46738L17.5385 1.463V5.84615C17.5385 6.03997 17.6155 6.22584 17.7525 6.36289C17.8895 6.49993 18.0754 6.57692 18.2692 6.57692C18.463 6.57692 18.6489 6.49993 18.786 6.36289C18.923 6.22584 19 6.03997 19 5.84615V3.57628e-07H17.5385V0.00146249V0.00146249Z" fill="currentColor"/></svg>', Qme = '<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51.94 50.82"><defs><style>.cls-1{fill:none;stroke:#fff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:4px;}</style></defs><polyline class="cls-1" points="12.1 49.82 12.1 35.59 1 35.59"/><polyline class="cls-1" points="39.84 1 39.84 15.22 50.94 15.22"/><polyline class="cls-1" points="12.1 1 12.1 15.22 1 15.22"/><polyline class="cls-1" points="39.84 49.82 39.84 35.59 50.94 35.59"/></svg>', Zme = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_363_9540)"><path d="M16.0889 9.77734C12.6223 9.77734 9.8667 12.5329 9.8667 15.9996C9.8667 19.4662 12.6223 22.2218 16.0889 22.2218C19.5556 22.2218 22.3111 19.4662 22.3111 15.9996C22.3111 12.5329 19.5556 9.77734 16.0889 9.77734ZM16.0889 20.444C13.6 20.444 11.6445 18.4885 11.6445 15.9996C11.6445 13.5107 13.6 11.5551 16.0889 11.5551C18.5778 11.5551 20.5334 13.5107 20.5334 15.9996C20.5334 18.4885 18.5778 20.444 16.0889 20.444Z" fill="currentColor"/><path d="M29.1556 13.0662L26.6667 12.2662L26.1334 10.9329L27.3778 8.62179C27.6445 8.08845 27.5556 7.37734 27.1112 6.9329L24.9778 4.79957C24.5334 4.35512 23.8223 4.26623 23.2889 4.5329L20.9778 5.77734L19.6445 5.24401L18.8445 2.75512C18.6667 2.22179 18.1334 1.77734 17.5112 1.77734H14.4889C13.8667 1.77734 13.3334 2.22179 13.2445 2.84401L12.4445 5.3329C11.9112 5.42179 11.4667 5.59957 11.0223 5.86623L8.71117 4.62179C8.17783 4.35512 7.46672 4.44401 7.02228 4.88845L4.88894 7.02179C4.4445 7.46623 4.35561 8.17734 4.62228 8.71068L5.77783 10.9329C5.60005 11.3773 5.42228 11.9107 5.2445 12.3551L2.75561 13.1551C2.22228 13.3329 1.77783 13.8662 1.77783 14.4885V17.5107C1.77783 18.1329 2.22228 18.6662 2.8445 18.844L5.33339 19.644L5.86672 20.9773L4.62228 23.2885C4.35561 23.8218 4.4445 24.5329 4.88894 24.9773L7.02228 27.1107C7.46672 27.5551 8.17783 27.644 8.71117 27.3773L11.0223 26.1329L12.3556 26.6662L13.1556 29.244C13.3334 29.7773 13.8667 30.2218 14.4889 30.2218H17.5112C18.1334 30.2218 18.6667 29.7773 18.8445 29.244L19.6445 26.6662L20.9778 26.1329L23.2889 27.3773C23.8223 27.644 24.5334 27.5551 24.9778 27.1107L27.1112 24.9773C27.5556 24.5329 27.6445 23.8218 27.3778 23.2885L26.1334 20.9773L26.6667 19.644L29.2445 18.844C29.7778 18.6662 30.2223 18.1329 30.2223 17.5107V14.4885C30.2223 13.8662 29.7778 13.244 29.1556 13.0662ZM28.4445 17.244L25.2445 18.2218L25.1556 18.6662L24.3556 20.5329L24.0889 20.9773L25.6889 23.9107L23.9112 25.6885L20.9778 24.0885L20.5334 24.3551C19.9112 24.7107 19.2889 24.9773 18.6667 25.1551L18.2223 25.244L17.2445 28.444H14.7556L13.7778 25.244L13.3334 25.1551L11.4667 24.3551L11.0223 24.0885L8.08894 25.6885L6.31117 23.9107L7.91117 20.9773L7.6445 20.5329C7.28894 19.9107 7.02228 19.2885 6.8445 18.6662L6.75561 18.2218L3.55561 17.244V14.7551L6.57783 13.8662L6.75561 13.4218C6.93339 12.7107 7.20005 12.0885 7.55561 11.4662L7.82228 11.0218L6.31117 8.08846L8.08894 6.31068L10.9334 7.91068L11.3778 7.64401C12.0001 7.28846 12.6223 7.02179 13.3334 6.84401L13.7778 6.66623L14.7556 3.55512H17.2445L18.2223 6.66623L18.6667 6.84401C19.2889 7.02179 19.9112 7.28846 20.5334 7.64401L20.9778 7.91068L23.9112 6.31068L25.6889 8.08846L24.0889 11.0218L24.3556 11.4662C24.7112 12.0885 24.9778 12.7107 25.1556 13.3329L25.2445 13.7773L28.4445 14.7551V17.244Z" fill="currentColor"/></g><defs><clipPath id="clip0_363_9540"><rect width="32" height="32" fill="currentColor"/></clipPath></defs></svg>', pk = '<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 13 12" style="enable-background:new 0 0 10.2 12;" xml:space="preserve"><path d="M5.3,1.4c0.1,0,0.1,0.1,0.2,0.2c0,0.1,0.1,0.2,0.1,0.2v7.4c0,0.1,0,0.2-0.1,0.2c0,0.1-0.1,0.1-0.2,0.2c-0.1,0-0.2,0.1-0.3,0 c-0.1,0-0.2,0-0.2-0.1L2.6,7.8H0.5c-0.1,0-0.2,0-0.3-0.1C0,7.6,0,7.5,0,7.4V3.7c0-0.1,0-0.2,0.1-0.3c0.1-0.1,0.2-0.1,0.3-0.1h2.1 l2.2-1.7C4.9,1.4,4.9,1.4,5,1.4C5.1,1.4,5.2,1.4,5.3,1.4L5.3,1.4z" fill="currentColor"/><g> <rect x="7.7" y="3.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.4992 7.4586)" width="1.2" height="4.2" fill="currentColor"/> <rect x="6.1" y="4.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.5119 7.4281)" width="4.2" height="1.2" fill="currentColor"/></g></svg>', $z = '<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 13 12" style="enable-background:new 0 0 10.2 12;" xml:space="preserve"><path d="M7.1,8.5C7.5,8.1,7.8,7.6,8,7.1c0.2-0.5,0.3-1,0.3-1.6C8.3,5,8.2,4.5,8,4C7.8,3.4,7.5,3,7.1,2.6L6.5,3.3 c0.3,0.3,0.5,0.7,0.7,1c0.2,0.4,0.2,0.8,0.2,1.2c0,0.4-0.1,0.8-0.2,1.2C7,7.2,6.8,7.5,6.5,7.8L7.1,8.5z M5.3,1.4 c0.1,0,0.1,0.1,0.2,0.2c0,0.1,0.1,0.2,0.1,0.2v7.4c0,0.1,0,0.2-0.1,0.2c0,0.1-0.1,0.1-0.2,0.2c-0.1,0-0.2,0.1-0.3,0 c-0.1,0-0.2,0-0.2-0.1L2.6,7.8H0.5c-0.1,0-0.2,0-0.3-0.1C0,7.6,0,7.5,0,7.4V3.7c0-0.1,0-0.2,0.1-0.3c0.1-0.1,0.2-0.1,0.3-0.1h2.1 l2.2-1.7C4.9,1.4,4.9,1.4,5,1.4C5.1,1.4,5.2,1.4,5.3,1.4L5.3,1.4z" fill="currentColor"/></svg>', Xme = '<?xml version="1.0" encoding="utf-8"?><!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 13 12" style="enable-background:new 0 0 10.2 12;" xml:space="preserve"><path d="M8.4,9.8c0.6-0.6,1-1.2,1.3-1.9c0.3-0.7,0.5-1.5,0.5-2.3c0-0.8-0.2-1.6-0.5-2.3C9.4,2.5,9,1.9,8.4,1.3L7.8,2 c0.5,0.5,0.8,1,1.1,1.6c0.3,0.6,0.4,1.3,0.4,1.9c0,0.7-0.1,1.3-0.4,1.9C8.6,8.1,8.2,8.7,7.8,9.1L8.4,9.8z" fill="currentColor"/><path d="M7.1,8.5C7.5,8.1,7.8,7.6,8,7.1c0.2-0.5,0.3-1,0.3-1.6C8.3,5,8.2,4.5,8,4C7.8,3.4,7.5,3,7.1,2.6L6.5,3.3 c0.3,0.3,0.5,0.7,0.7,1c0.2,0.4,0.2,0.8,0.2,1.2c0,0.4-0.1,0.8-0.2,1.2C7,7.2,6.8,7.5,6.5,7.8L7.1,8.5z M5.3,1.4 c0.1,0,0.1,0.1,0.2,0.2c0,0.1,0.1,0.2,0.1,0.2v7.4c0,0.1,0,0.2-0.1,0.2c0,0.1-0.1,0.1-0.2,0.2c-0.1,0-0.2,0.1-0.3,0 c-0.1,0-0.2,0-0.2-0.1L2.6,7.8H0.5c-0.1,0-0.2,0-0.3-0.1C0,7.6,0,7.5,0,7.4V3.7c0-0.1,0-0.2,0.1-0.3c0.1-0.1,0.2-0.1,0.3-0.1h2.1 l2.2-1.7C4.9,1.4,4.9,1.4,5,1.4C5.1,1.4,5.2,1.4,5.3,1.4L5.3,1.4z" fill="currentColor"/></svg>', u2 = '<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.71196 11.08C10.4407 10.3533 11.0186 9.4898 11.4125 8.53906C11.8064 7.58832 12.0085 6.56911 12.0072 5.54C12.0085 4.51089 11.8064 3.49168 11.4125 2.54094C11.0186 1.5902 10.4407 0.726679 9.71196 0L9.05933 0.65171C9.7023 1.2929 10.2122 2.05484 10.5598 2.89374C10.9073 3.73264 11.0856 4.63196 11.0845 5.54C11.0845 7.44904 10.3102 9.17741 9.05933 10.4283L9.71196 11.08V11.08Z" fill="currentColor"/><path d="M8.40781 9.77644C8.96502 9.2207 9.40692 8.56034 9.70812 7.83329C10.0093 7.10624 10.1639 6.32683 10.1629 5.53986C10.1639 4.75289 10.0093 3.97349 9.70812 3.24644C9.40692 2.51939 8.96502 1.85902 8.40781 1.30328L7.7561 1.95499C8.22759 2.42525 8.60149 2.98403 8.85634 3.59924C9.11119 4.21445 9.24195 4.87396 9.24112 5.53986C9.2422 6.20586 9.11164 6.8655 8.85694 7.48087C8.60225 8.09625 8.22845 8.65522 7.75703 9.12565L8.40781 9.77644Z" fill="currentColor"/><path d="M7.10429 8.47307C7.49005 8.08831 7.79596 7.6311 8.00446 7.12773C8.21296 6.62436 8.31993 6.08475 8.31922 5.53991C8.31993 4.99507 8.21296 4.45546 8.00446 3.95209C7.79596 3.44872 7.49005 2.99152 7.10429 2.60675L6.45258 3.25846C6.75261 3.55774 6.99054 3.91337 7.15269 4.30489C7.31483 4.69642 7.39801 5.11614 7.39742 5.53991C7.39795 5.96368 7.31476 6.38338 7.15261 6.7749C6.99047 7.16642 6.75257 7.52205 6.45258 7.82136L7.10429 8.47307ZM5.26991 1.43791C5.348 1.47553 5.4139 1.53441 5.46004 1.60778C5.50618 1.68115 5.5307 1.76605 5.53078 1.85272V9.2271C5.53066 9.31383 5.50607 9.39876 5.45984 9.47214C5.4136 9.54551 5.34761 9.60436 5.26943 9.64191C5.19125 9.67945 5.10407 9.69418 5.01789 9.6844C4.93172 9.67462 4.85005 9.64072 4.78228 9.5866L2.60408 7.8444H0.460899C0.338661 7.8444 0.221429 7.79585 0.134994 7.70941C0.0485588 7.62298 0 7.50574 0 7.38351V3.69632C0 3.57408 0.0485588 3.45685 0.134994 3.37041C0.221429 3.28398 0.338661 3.23542 0.460899 3.23542H2.60408L4.78228 1.49322C4.8501 1.43901 4.93185 1.40506 5.01812 1.39527C5.1044 1.38549 5.19168 1.40027 5.26991 1.43791V1.43791Z" fill="currentColor"/></svg>', ege = '<svg width="25" height="16" viewBox="0 0 25 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1.5 8L24 8" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M8.5 1L1.5 8L8.5 15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>', jP = '<svg width="91" height="92" viewBox="0 0 91 92" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M62.8896 63.918L62.8897 28.2377L34.8552 46.0779L62.8896 63.918Z" fill="currentColor"/><path d="M45.3281 63.918L45.3281 28.2377L17.2937 46.0779L45.3281 63.918Z" fill="currentColor"/></svg>', tge = '<svg width="91" height="92" viewBox="0 0 91 92" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="45.2374" cy="45.798" r="45.2374" fill="currentColor"/><path d="M62.8896 63.918L62.8897 28.2377L34.8552 46.0779L62.8896 63.918Z" fill="black"/><path d="M45.3281 63.918L45.3281 28.2377L17.2937 46.0779L45.3281 63.918Z" fill="black"/></svg>', $P = '<svg width="91" height="92" viewBox="0 0 91 92" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M26.8555 28.9512V64.6314L54.8899 46.7913L26.8555 28.9512Z" fill="currentColor"/><path d="M44.417 28.9512V64.6314L72.4515 46.7913L44.417 28.9512Z" fill="currentColor"/></svg>', nge = '<svg width="91" height="92" viewBox="0 0 91 92" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="45.7169" cy="45.796" r="45.2374" fill="currentColor"/><path d="M26.8555 28.9512V64.6314L54.8899 46.7913L26.8555 28.9512Z" fill="black"/><path d="M44.417 28.9512V64.6314L72.4515 46.7913L44.417 28.9512Z" fill="black"/></svg>', hk = '<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30.8 32" style="enable-background:new 0 0 30.8 32;" xml:space="preserve"><g> <path d="M3.1,16L30.8,0v32L3.1,16z" fill="currentColor"/> <rect y="3.7" width="6.2" height="24.6" fill="currentColor"/></g></svg>', yk = '<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30.8 32" style="enable-background:new 0 0 30.8 32;" xml:space="preserve"><g> <path d="M27.7,16L0,32V0L27.7,16z" fill="currentColor"/> <rect x="24.6" y="3.7" width="6.2" height="24.6" fill="currentColor"/></g></svg>', Hz = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>', Iy = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>', rge = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><polyline points="20 6 9 17 4 12"></polyline></svg>', age = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-badge-cc" width="48" height="48" viewBox="0 0 24 24" stroke="black" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <rect x="3" y="5" width="18" height="14" rx="2" stroke="currentColor"></rect> <path d="M10 10.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0" stroke="currentColor"></path> <path d="M17 10.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0" stroke="currentColor"></path></svg>', ige = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-badge-cc" width="48" height="48" viewBox="0 0 24 24" stroke="black" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <rect x="3" y="5" width="18" height="14" rx="2" stroke="currentColor"></rect> <path d="M10 10.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0" stroke="currentColor"></path> <path d="M17 10.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0" stroke="currentColor"></path> <path d="M3 3l18 18" stroke="currentColor"></path></svg>', sge = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rotate-cw"><polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path></svg>', l2 = '<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 27.5C15 27.5 25 22.5 25 15V6.25L15 2.5L5 6.25V15C5 22.5 15 27.5 15 27.5Z" stroke="currentColor" stroke-width="2.14286" stroke-linecap="round" stroke-linejoin="round"/><path d="M19.715 11.3574L13.8221 17.8396L11.1436 14.8931" stroke="currentColor" stroke-width="2.14286" stroke-linecap="round" stroke-linejoin="round"/></svg>', HP = '<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M23.7508 12.9997V23.7508H13.0003C7.05943 23.7508 2.24919 18.9406 2.24919 12.9997C2.24919 7.05888 7.05943 2.24864 13.0003 2.24864C18.9411 2.24864 23.7508 7.05888 23.7508 12.9997ZM0 12.9997C0 5.82396 5.82396 0 12.9997 0C20.1755 0 26 5.82396 26 12.9997V25.9995H13.0003C5.82396 25.9995 0 20.1755 0 12.9997ZM5.174 13.5197C5.174 16.1976 6.98078 18.4599 9.85371 18.4599C12.2198 18.4599 13.8185 16.9 14.2084 14.8589H11.8686C11.5698 15.7951 10.8155 16.367 9.85371 16.367C8.39758 16.367 7.44886 15.2227 7.44886 13.5202C7.44886 11.8178 8.39813 10.6735 9.85371 10.6735C10.7899 10.6735 11.5305 11.2066 11.8429 12.0903H14.1959C13.7797 10.1011 12.1941 8.58055 9.85371 8.58055C6.96822 8.58001 5.174 10.8418 5.174 13.5197ZM17.3419 8.83999H15.132V18.2131H17.4331V13.3253C17.4331 12.4022 17.6931 11.8041 18.1349 11.4273C18.5249 11.0761 19.0318 10.8942 19.8642 10.8942H20.4491V8.72256H19.8773C18.668 8.72256 17.8624 9.16442 17.3424 9.8406V8.82633V8.83999H17.3419Z" fill="currentColor"/></svg>', oge = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>';
|
|
66625
66635
|
(function(n, e) {
|
|
@@ -66742,7 +66752,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66742
66752
|
"copy-button": "_copy-button_7th3b_564",
|
|
66743
66753
|
"copy-button--copied": "_copy-button--copied_7th3b_567",
|
|
66744
66754
|
fadeout: pge
|
|
66745
|
-
}, Ob = ({ light: n, className: e = "" }) => /* @__PURE__ */
|
|
66755
|
+
}, Ob = ({ light: n, className: e = "" }) => /* @__PURE__ */ Le.jsx("div", { className: `${e} ${Ot.spinner} ${n ? Ot["spinner--light"] : ""}`, children: /* @__PURE__ */ Le.jsx("div", { className: Ot["spinner-inner"] }) }), bd = ({ icon: n, className: e = "" }) => /* @__PURE__ */ Le.jsx("div", { className: `${Ot.svg} ${e}`, dangerouslySetInnerHTML: { __html: n } }), qP = {
|
|
66746
66756
|
[Pn.PLAY]: Bz,
|
|
66747
66757
|
[Pn.PAUSE]: Yme,
|
|
66748
66758
|
[Pn.MUTE]: pk,
|
|
@@ -66759,8 +66769,8 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66759
66769
|
[Pn.PLAY_NEXT]: yk
|
|
66760
66770
|
}, hge = ({ action: n }) => {
|
|
66761
66771
|
if (!(!n || !qP[n.action]))
|
|
66762
|
-
return /* @__PURE__ */
|
|
66763
|
-
/* @__PURE__ */
|
|
66772
|
+
return /* @__PURE__ */ Le.jsxs("div", { className: Ot["user-action-indicator-container"], children: [
|
|
66773
|
+
/* @__PURE__ */ Le.jsx("div", { className: Ot["user-action-indicator"], children: /* @__PURE__ */ Le.jsx(
|
|
66764
66774
|
bd,
|
|
66765
66775
|
{
|
|
66766
66776
|
icon: qP[n.action],
|
|
@@ -66768,7 +66778,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66768
66778
|
className: Ot["user-action-indicator-icon"]
|
|
66769
66779
|
}
|
|
66770
66780
|
) }),
|
|
66771
|
-
n.text ? /* @__PURE__ */
|
|
66781
|
+
n.text ? /* @__PURE__ */ Le.jsx("div", { className: Ot["user-action-indicator-text"], children: n.text }) : null
|
|
66772
66782
|
] });
|
|
66773
66783
|
}, Vz = ({ player: n, videoState: e, setRecentUserAction: t, className: r = "" }) => {
|
|
66774
66784
|
const [i, o] = Ct.useState(n.video.currentTime), [u, c] = Ct.useState(0), [p, h] = Ct.useState(void 0);
|
|
@@ -66778,8 +66788,8 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66778
66788
|
return () => {
|
|
66779
66789
|
m && m(), w && w();
|
|
66780
66790
|
};
|
|
66781
|
-
}, []), n.isLive ? null : /* @__PURE__ */
|
|
66782
|
-
/* @__PURE__ */
|
|
66791
|
+
}, []), n.isLive && !n.dvrEnabled ? null : /* @__PURE__ */ Le.jsxs("div", { className: `${r} ${Ot["seek-container"]} ${r}`, children: [
|
|
66792
|
+
/* @__PURE__ */ Le.jsx(
|
|
66783
66793
|
"progress",
|
|
66784
66794
|
{
|
|
66785
66795
|
max: 1,
|
|
@@ -66787,7 +66797,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66787
66797
|
className: Ot["seek-buffer"]
|
|
66788
66798
|
}
|
|
66789
66799
|
),
|
|
66790
|
-
/* @__PURE__ */
|
|
66800
|
+
/* @__PURE__ */ Le.jsx(
|
|
66791
66801
|
"progress",
|
|
66792
66802
|
{
|
|
66793
66803
|
max: 1,
|
|
@@ -66795,7 +66805,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66795
66805
|
className: Ot["seek-playhead"]
|
|
66796
66806
|
}
|
|
66797
66807
|
),
|
|
66798
|
-
/* @__PURE__ */
|
|
66808
|
+
/* @__PURE__ */ Le.jsx(
|
|
66799
66809
|
"input",
|
|
66800
66810
|
{
|
|
66801
66811
|
"aria-label": "Seek slider",
|
|
@@ -66810,8 +66820,8 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66810
66820
|
}
|
|
66811
66821
|
)
|
|
66812
66822
|
] });
|
|
66813
|
-
}, yge = ({ player: n, videoState: e }) => /* @__PURE__ */
|
|
66814
|
-
/* @__PURE__ */
|
|
66823
|
+
}, yge = ({ player: n, videoState: e }) => /* @__PURE__ */ Le.jsxs("div", { className: Ot["volume-controls"], children: [
|
|
66824
|
+
/* @__PURE__ */ Le.jsx(
|
|
66815
66825
|
qc,
|
|
66816
66826
|
{
|
|
66817
66827
|
"aria-label": e.muted ? "Unmute" : "Mute",
|
|
@@ -66821,8 +66831,8 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66821
66831
|
},
|
|
66822
66832
|
"mute-button"
|
|
66823
66833
|
),
|
|
66824
|
-
/* @__PURE__ */
|
|
66825
|
-
/* @__PURE__ */
|
|
66834
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["volume-slider"], children: [
|
|
66835
|
+
/* @__PURE__ */ Le.jsx(
|
|
66826
66836
|
"progress",
|
|
66827
66837
|
{
|
|
66828
66838
|
max: 1,
|
|
@@ -66830,7 +66840,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66830
66840
|
className: Ot["volume-progress"]
|
|
66831
66841
|
}
|
|
66832
66842
|
),
|
|
66833
|
-
/* @__PURE__ */
|
|
66843
|
+
/* @__PURE__ */ Le.jsx(
|
|
66834
66844
|
"input",
|
|
66835
66845
|
{
|
|
66836
66846
|
"aria-label": "Volume slider",
|
|
@@ -66886,21 +66896,21 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66886
66896
|
}
|
|
66887
66897
|
};
|
|
66888
66898
|
let m;
|
|
66889
|
-
return r ? m = /* @__PURE__ */
|
|
66890
|
-
/* @__PURE__ */
|
|
66899
|
+
return r ? m = /* @__PURE__ */ Le.jsxs("div", { role: "menu", className: `${Ot.menu} ${Ot.submenu} ${t}`, children: [
|
|
66900
|
+
/* @__PURE__ */ Le.jsxs(
|
|
66891
66901
|
"button",
|
|
66892
66902
|
{
|
|
66893
66903
|
onClick: () => p(void 0),
|
|
66894
66904
|
"aria-label": "Back to settings menu",
|
|
66895
66905
|
className: `${Ot["menu-option"]} ${Ot["menu-option-back"]}`,
|
|
66896
66906
|
children: [
|
|
66897
|
-
/* @__PURE__ */
|
|
66898
|
-
/* @__PURE__ */
|
|
66907
|
+
/* @__PURE__ */ Le.jsx("div", { dangerouslySetInnerHTML: { __html: ege }, className: Ot["menu-option-back-icon"] }),
|
|
66908
|
+
/* @__PURE__ */ Le.jsx("div", { children: h[r].label })
|
|
66899
66909
|
]
|
|
66900
66910
|
}
|
|
66901
66911
|
),
|
|
66902
66912
|
o[r].options.map(
|
|
66903
|
-
(w) => /* @__PURE__ */
|
|
66913
|
+
(w) => /* @__PURE__ */ Le.jsxs(
|
|
66904
66914
|
"button",
|
|
66905
66915
|
{
|
|
66906
66916
|
role: "menuitemradio",
|
|
@@ -66913,14 +66923,14 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66913
66923
|
className: `${Ot["menu-option"]} ${w.active ? Ot["menu-option-active"] : ""}`,
|
|
66914
66924
|
children: [
|
|
66915
66925
|
w.label || "",
|
|
66916
|
-
w.active ? /* @__PURE__ */
|
|
66926
|
+
w.active ? /* @__PURE__ */ Le.jsx(bd, { icon: rge, className: Ot["menu-option-icon"] }) : null
|
|
66917
66927
|
]
|
|
66918
66928
|
},
|
|
66919
66929
|
`option-${w.index}`
|
|
66920
66930
|
)
|
|
66921
66931
|
)
|
|
66922
|
-
] }, "submenu") : m = /* @__PURE__ */
|
|
66923
|
-
o.hasQualityOptions ? /* @__PURE__ */
|
|
66932
|
+
] }, "submenu") : m = /* @__PURE__ */ Le.jsxs("div", { role: "menu", className: `${Ot.menu} ${t}`, children: [
|
|
66933
|
+
o.hasQualityOptions ? /* @__PURE__ */ Le.jsxs(
|
|
66924
66934
|
"button",
|
|
66925
66935
|
{
|
|
66926
66936
|
autoFocus: !0,
|
|
@@ -66929,27 +66939,27 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66929
66939
|
className: Ot["menu-option"],
|
|
66930
66940
|
children: [
|
|
66931
66941
|
`${h.quality.label}: ${o.quality.active && o.quality.active.activeLabel || ""}`,
|
|
66932
|
-
/* @__PURE__ */
|
|
66942
|
+
/* @__PURE__ */ Le.jsx(bd, { icon: Iy, className: Ot["menu-option-icon"] })
|
|
66933
66943
|
]
|
|
66934
66944
|
}
|
|
66935
66945
|
) : null,
|
|
66936
|
-
o.hasAudioOptions ? /* @__PURE__ */
|
|
66946
|
+
o.hasAudioOptions ? /* @__PURE__ */ Le.jsxs("button", { autoFocus: !o.hasQualityOptions, role: "menuitem", onClick: () => p("audio"), className: Ot["menu-option"], children: [
|
|
66937
66947
|
`${h.audio.label}: ${o.audio.active && o.audio.active.label || ""}`,
|
|
66938
|
-
/* @__PURE__ */
|
|
66948
|
+
/* @__PURE__ */ Le.jsx(bd, { icon: Iy, className: Ot["menu-option-icon"] })
|
|
66939
66949
|
] }) : null,
|
|
66940
|
-
o.hasTextOptions ? /* @__PURE__ */
|
|
66950
|
+
o.hasTextOptions ? /* @__PURE__ */ Le.jsxs("button", { autoFocus: !o.hasQualityOptions && !o.hasAudioOptions, role: "menuitem", onClick: () => p("text"), className: Ot["menu-option"], children: [
|
|
66941
66951
|
`${h.text.label}: ${o.text.active && o.text.active.label || ""}`,
|
|
66942
|
-
/* @__PURE__ */
|
|
66952
|
+
/* @__PURE__ */ Le.jsx(bd, { icon: Iy, className: Ot["menu-option-icon"] })
|
|
66943
66953
|
] }) : null,
|
|
66944
|
-
o.hasProfileOptons ? /* @__PURE__ */
|
|
66954
|
+
o.hasProfileOptons ? /* @__PURE__ */ Le.jsxs("button", { autoFocus: !o.hasQualityOptions && !o.hasAudioOptions && !o.hasTextOptions, role: "menuitem", onClick: () => p("profile"), className: Ot["menu-option"], children: [
|
|
66945
66955
|
`${h.profile.label}: ${o.profile.active && o.profile.active.label || ""}`,
|
|
66946
|
-
/* @__PURE__ */
|
|
66956
|
+
/* @__PURE__ */ Le.jsx(bd, { icon: Iy, className: Ot["menu-option-icon"] })
|
|
66947
66957
|
] }) : null,
|
|
66948
|
-
o.hasRateOptions ? /* @__PURE__ */
|
|
66958
|
+
o.hasRateOptions ? /* @__PURE__ */ Le.jsxs("button", { autoFocus: !o.hasQualityOptions && !o.hasAudioOptions && !o.hasTextOptions && !o.hasProfileOptons, role: "menuitem", onClick: () => p("rate"), className: Ot["menu-option"], children: [
|
|
66949
66959
|
`${h.rate.label}: ${o.rate.active && o.rate.active.label || ""}`,
|
|
66950
|
-
/* @__PURE__ */
|
|
66960
|
+
/* @__PURE__ */ Le.jsx(bd, { icon: Iy, className: Ot["menu-option-icon"] })
|
|
66951
66961
|
] }) : null
|
|
66952
|
-
] }, "menu"), /* @__PURE__ */
|
|
66962
|
+
] }, "menu"), /* @__PURE__ */ Le.jsx("div", { ref: c, children: m });
|
|
66953
66963
|
}, mge = async (n) => {
|
|
66954
66964
|
try {
|
|
66955
66965
|
n = (n || "").toString(), await navigator.clipboard.writeText(n);
|
|
@@ -66959,7 +66969,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66959
66969
|
}
|
|
66960
66970
|
}, gge = ({ label: n, value: e, className: t = "" }) => {
|
|
66961
66971
|
const [r, i] = Ct.useState(!1);
|
|
66962
|
-
return /* @__PURE__ */
|
|
66972
|
+
return /* @__PURE__ */ Le.jsx(
|
|
66963
66973
|
"button",
|
|
66964
66974
|
{
|
|
66965
66975
|
onClick: () => {
|
|
@@ -66970,13 +66980,13 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66970
66980
|
title: `Copy ${n}`
|
|
66971
66981
|
}
|
|
66972
66982
|
);
|
|
66973
|
-
}, Tu = ({ label: n, value: e, copyable: t }) => e ? /* @__PURE__ */
|
|
66974
|
-
/* @__PURE__ */
|
|
66983
|
+
}, Tu = ({ label: n, value: e, copyable: t }) => e ? /* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__detail"], children: [
|
|
66984
|
+
/* @__PURE__ */ Le.jsxs("label", { className: Ot["verification-menu__detail-label"], children: [
|
|
66975
66985
|
n,
|
|
66976
66986
|
":"
|
|
66977
66987
|
] }),
|
|
66978
|
-
/* @__PURE__ */
|
|
66979
|
-
t ? /* @__PURE__ */
|
|
66988
|
+
/* @__PURE__ */ Le.jsx("div", { className: Ot["verification-menu__detail-value"], children: e }),
|
|
66989
|
+
t ? /* @__PURE__ */ Le.jsx(
|
|
66980
66990
|
gge,
|
|
66981
66991
|
{
|
|
66982
66992
|
label: n,
|
|
@@ -67002,72 +67012,72 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67002
67012
|
}, [r]), !i)
|
|
67003
67013
|
return null;
|
|
67004
67014
|
let m;
|
|
67005
|
-
return u ? m = /* @__PURE__ */
|
|
67006
|
-
/* @__PURE__ */
|
|
67007
|
-
/* @__PURE__ */
|
|
67008
|
-
/* @__PURE__ */
|
|
67009
|
-
/* @__PURE__ */
|
|
67010
|
-
/* @__PURE__ */
|
|
67015
|
+
return u ? m = /* @__PURE__ */ Le.jsxs(Le.Fragment, { children: [
|
|
67016
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group"], children: [
|
|
67017
|
+
/* @__PURE__ */ Le.jsx("div", { dangerouslySetInnerHTML: { __html: l2 }, className: Ot["verification-menu__group-icon"] }),
|
|
67018
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group-text"], children: [
|
|
67019
|
+
/* @__PURE__ */ Le.jsx("div", { className: Ot["verification-menu__group-title"], children: "This content has been verified as authentic" }),
|
|
67020
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group-subtitle"], children: [
|
|
67011
67021
|
"Last Verified: ",
|
|
67012
67022
|
new Date(i.verifiedAt).toLocaleTimeString(navigator.language || "en-us", { year: "numeric", month: "long", day: "numeric" })
|
|
67013
67023
|
] })
|
|
67014
67024
|
] })
|
|
67015
67025
|
] }),
|
|
67016
|
-
/* @__PURE__ */
|
|
67017
|
-
/* @__PURE__ */
|
|
67018
|
-
/* @__PURE__ */
|
|
67019
|
-
/* @__PURE__ */
|
|
67020
|
-
/* @__PURE__ */
|
|
67026
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group"], children: [
|
|
67027
|
+
/* @__PURE__ */ Le.jsx("div", { dangerouslySetInnerHTML: { __html: HP }, className: [Ot["verification-menu__group-icon"], Ot["verification-menu__group-icon--cc"]].join(" ") }),
|
|
67028
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group-text"], children: [
|
|
67029
|
+
/* @__PURE__ */ Le.jsx("button", { onClick: () => c(!0), className: Ot["verification-menu__group-title"], children: "Content Credentials" }),
|
|
67030
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group-subtitle"], children: [
|
|
67021
67031
|
"Issued by the",
|
|
67022
|
-
/* @__PURE__ */
|
|
67032
|
+
/* @__PURE__ */ Le.jsx("a", { href: "https://main.net955305.contentfabric.io/config", target: "_blank", rel: "noreferrer", children: "Content Fabric" })
|
|
67023
67033
|
] })
|
|
67024
67034
|
] })
|
|
67025
67035
|
] }),
|
|
67026
|
-
/* @__PURE__ */
|
|
67027
|
-
/* @__PURE__ */
|
|
67028
|
-
/* @__PURE__ */
|
|
67029
|
-
/* @__PURE__ */
|
|
67030
|
-
/* @__PURE__ */
|
|
67031
|
-
/* @__PURE__ */
|
|
67036
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__details"], children: [
|
|
67037
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Content Fabric Object ID", value: i.details.objectId, copyable: !0 }),
|
|
67038
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Organization Address", value: i.details.tenantAddress, copyable: !0 }),
|
|
67039
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Organization Name", value: i.details.tenantName && i.details.tenantName.toString() }),
|
|
67040
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Owner Address", value: i.details.ownerAddress, copyable: !0 }),
|
|
67041
|
+
/* @__PURE__ */ Le.jsx(
|
|
67032
67042
|
Tu,
|
|
67033
67043
|
{
|
|
67034
67044
|
label: "Content Object Contract Address",
|
|
67035
|
-
value: i.details.explorerUrl ? /* @__PURE__ */
|
|
67045
|
+
value: i.details.explorerUrl ? /* @__PURE__ */ Le.jsx("a", { href: i.details.explorerUrl, target: "_blank", rel: "noreferrer", children: i.details.address }) : i.details.address,
|
|
67036
67046
|
copyable: !0
|
|
67037
67047
|
}
|
|
67038
67048
|
),
|
|
67039
|
-
/* @__PURE__ */
|
|
67040
|
-
/* @__PURE__ */
|
|
67041
|
-
i.details.lastCommittedAt ? /* @__PURE__ */
|
|
67042
|
-
/* @__PURE__ */
|
|
67043
|
-
/* @__PURE__ */
|
|
67049
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Versions", value: i.details.versionCount }),
|
|
67050
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Content Version Hash", value: i.details.versionHash, copyable: !0 }),
|
|
67051
|
+
i.details.lastCommittedAt ? /* @__PURE__ */ Le.jsx(Tu, { label: "Latest Commit", value: new Date(i.details.lastCommittedAt).toLocaleTimeString(navigator.language || "en-us", { year: "numeric", month: "long", day: "numeric" }) }) : null,
|
|
67052
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Latest Version Hash", value: i.details.latestVersionHash, copyable: !0 }),
|
|
67053
|
+
/* @__PURE__ */ Le.jsx(
|
|
67044
67054
|
Tu,
|
|
67045
67055
|
{
|
|
67046
67056
|
label: "Latest Transaction",
|
|
67047
|
-
value: i.details._state !== "full" ? /* @__PURE__ */
|
|
67057
|
+
value: i.details._state !== "full" ? /* @__PURE__ */ Le.jsx(Ob, { className: Ot["verification-menu__loader"] }) : i.details.latestTransactionHashUrl ? /* @__PURE__ */ Le.jsx("a", { href: i.details.latestTransactionHashUrl, target: "_blank", rel: "noreferrer", children: i.details.latestTransactionHash && i.details.latestTransactionHash.toString() }) : void 0
|
|
67048
67058
|
}
|
|
67049
67059
|
),
|
|
67050
|
-
/* @__PURE__ */
|
|
67060
|
+
/* @__PURE__ */ Le.jsx(Tu, { label: "Signature Algorithm", value: i.details.signatureMethod })
|
|
67051
67061
|
] }, `details-${i.details._state}`)
|
|
67052
|
-
] }) : m = /* @__PURE__ */
|
|
67053
|
-
/* @__PURE__ */
|
|
67054
|
-
/* @__PURE__ */
|
|
67055
|
-
/* @__PURE__ */
|
|
67056
|
-
/* @__PURE__ */
|
|
67057
|
-
/* @__PURE__ */
|
|
67062
|
+
] }) : m = /* @__PURE__ */ Le.jsxs(Le.Fragment, { children: [
|
|
67063
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group"], children: [
|
|
67064
|
+
/* @__PURE__ */ Le.jsx("div", { dangerouslySetInnerHTML: { __html: l2 }, className: Ot["verification-menu__group-icon"] }),
|
|
67065
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group-text"], children: [
|
|
67066
|
+
/* @__PURE__ */ Le.jsx("div", { className: Ot["verification-menu__group-title"], children: "This content has been verified as authentic" }),
|
|
67067
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group-subtitle"], children: [
|
|
67058
67068
|
"Last Verified: ",
|
|
67059
67069
|
new Date(i.verifiedAt).toLocaleTimeString(navigator.language || "en-us", { year: "numeric", month: "long", day: "numeric" })
|
|
67060
67070
|
] })
|
|
67061
67071
|
] })
|
|
67062
67072
|
] }),
|
|
67063
|
-
/* @__PURE__ */
|
|
67064
|
-
/* @__PURE__ */
|
|
67065
|
-
/* @__PURE__ */
|
|
67073
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Ot["verification-menu__group"], children: [
|
|
67074
|
+
/* @__PURE__ */ Le.jsx("div", { dangerouslySetInnerHTML: { __html: HP }, className: [Ot["verification-menu__group-icon"], Ot["verification-menu__group-icon--cc"]].join(" ") }),
|
|
67075
|
+
/* @__PURE__ */ Le.jsx("div", { className: Ot["verification-menu__group-text"], children: /* @__PURE__ */ Le.jsxs("button", { onClick: () => c(!0), className: Ot["verification-menu__group-title"], children: [
|
|
67066
67076
|
"View Content Credentials",
|
|
67067
|
-
/* @__PURE__ */
|
|
67077
|
+
/* @__PURE__ */ Le.jsx("div", { className: Ot["verification-menu__inline-icon"], dangerouslySetInnerHTML: { __html: Iy } })
|
|
67068
67078
|
] }) })
|
|
67069
67079
|
] })
|
|
67070
|
-
] }), /* @__PURE__ */
|
|
67080
|
+
] }), /* @__PURE__ */ Le.jsx("div", { ref: r, children: /* @__PURE__ */ Le.jsx("div", { role: "menu", className: `${Ot.menu} ${Ot["verification-menu"]} ${u ? Ot["verification-menu--details"] : ""} ${t}`, children: m }, "menu") });
|
|
67071
67081
|
}, Kz = ({ player: n, Hide: e, className: t = "" }) => {
|
|
67072
67082
|
const r = Ct.createRef(), [i, o] = Ct.useState(void 0);
|
|
67073
67083
|
if (Ct.useEffect(() => {
|
|
@@ -67085,9 +67095,9 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67085
67095
|
const u = (c) => {
|
|
67086
67096
|
n.controls.CollectionPlay({ mediaIndex: c }), e();
|
|
67087
67097
|
};
|
|
67088
|
-
return /* @__PURE__ */
|
|
67089
|
-
/* @__PURE__ */
|
|
67090
|
-
i.content.map((c) => /* @__PURE__ */
|
|
67098
|
+
return /* @__PURE__ */ Le.jsxs("div", { role: "menu", className: `${Ot.menu} ${Ot["collection-menu"]} ${t}`, ref: r, children: [
|
|
67099
|
+
/* @__PURE__ */ Le.jsx("div", { className: `${Ot["menu-option"]} ${Ot["menu-header"]}`, children: i.title }),
|
|
67100
|
+
i.content.map((c) => /* @__PURE__ */ Le.jsx(
|
|
67091
67101
|
"button",
|
|
67092
67102
|
{
|
|
67093
67103
|
"aria-label": `${c.title || c.mediaId} ${c.active ? "(active)" : ""}`,
|
|
@@ -67101,12 +67111,13 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67101
67111
|
`collection-item-${c.mediaId}`
|
|
67102
67112
|
))
|
|
67103
67113
|
] }, "menu");
|
|
67104
|
-
}, qc = ({ icon: n, className: e = "", ...t }) => /* @__PURE__ */
|
|
67114
|
+
}, qc = ({ icon: n, className: e = "", ...t }) => /* @__PURE__ */ Le.jsx("button", { ...t, className: `${Fn["icon-button"]} ${e}`, dangerouslySetInnerHTML: { __html: n } }), vge = ({ player: n, videoState: e }) => {
|
|
67105
67115
|
const [t, r] = Ct.useState(n.video.currentTime);
|
|
67106
67116
|
return Ct.useEffect(() => {
|
|
67107
67117
|
const i = dk({ video: n.video, setCurrentTime: r, rate: 10 });
|
|
67108
67118
|
return () => i && i();
|
|
67109
|
-
}, []), n.isLive ? /* @__PURE__ */
|
|
67119
|
+
}, []), n.isLive && !n.dvrEnabled ? /* @__PURE__ */ Le.jsx("div", { className: Fn["live-indicator"], children: "Live" }) : /* @__PURE__ */ Le.jsxs("div", { className: Fn.time, children: [
|
|
67120
|
+
n.isLive ? /* @__PURE__ */ Le.jsx("button", { onClick: () => n.controls.Seek({ time: n.controls.GetDuration() - 2 }), className: Fn["live-indicator"], children: "Live" }) : null,
|
|
67110
67121
|
a2(t, e.duration),
|
|
67111
67122
|
" / ",
|
|
67112
67123
|
a2(e.duration, e.duration)
|
|
@@ -67116,25 +67127,25 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67116
67127
|
if (!e || e.mediaLength === 0 || !e.isPlaylist)
|
|
67117
67128
|
return null;
|
|
67118
67129
|
const t = e.content[e.mediaIndex - 1], r = e.content[e.mediaIndex + 1], i = n.controls.IsReady();
|
|
67119
|
-
return /* @__PURE__ */
|
|
67120
|
-
t ? /* @__PURE__ */
|
|
67130
|
+
return /* @__PURE__ */ Le.jsxs(Le.Fragment, { children: [
|
|
67131
|
+
t ? /* @__PURE__ */ Le.jsxs(
|
|
67121
67132
|
"div",
|
|
67122
67133
|
{
|
|
67123
|
-
className: `${
|
|
67134
|
+
className: `${Fn["collection-button-container"]} ${i ? "" : Fn["collection-button-container--loading"]}`,
|
|
67124
67135
|
children: [
|
|
67125
|
-
/* @__PURE__ */
|
|
67126
|
-
/* @__PURE__ */
|
|
67136
|
+
/* @__PURE__ */ Le.jsx(qc, { "aria-label": `Play Previous: ${t.title}`, disabled: !i, icon: hk, onClick: () => n.controls.CollectionPlayPrevious() }),
|
|
67137
|
+
/* @__PURE__ */ Le.jsx("div", { className: Fn["collection-button-text"], children: t.title })
|
|
67127
67138
|
]
|
|
67128
67139
|
},
|
|
67129
67140
|
`media-previous-${e.mediaIndex}`
|
|
67130
67141
|
) : null,
|
|
67131
|
-
r ? /* @__PURE__ */
|
|
67142
|
+
r ? /* @__PURE__ */ Le.jsxs(
|
|
67132
67143
|
"div",
|
|
67133
67144
|
{
|
|
67134
|
-
className: `${
|
|
67145
|
+
className: `${Fn["collection-button-container"]} ${i ? "" : Fn["collection-button-container--loading"]}`,
|
|
67135
67146
|
children: [
|
|
67136
|
-
/* @__PURE__ */
|
|
67137
|
-
/* @__PURE__ */
|
|
67147
|
+
/* @__PURE__ */ Le.jsx(qc, { "aria-label": `Play Next: ${r.title}`, disabled: !i, icon: yk, onClick: () => n.controls.CollectionPlayNext() }),
|
|
67148
|
+
/* @__PURE__ */ Le.jsx("div", { className: Fn["collection-button-text"], children: r.title })
|
|
67138
67149
|
]
|
|
67139
67150
|
},
|
|
67140
67151
|
`media-next-${e.mediaIndex}`
|
|
@@ -67142,8 +67153,8 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67142
67153
|
] });
|
|
67143
67154
|
}, z4 = ({ label: n, icon: e, player: t, MenuComponent: r, className: i = "" }) => {
|
|
67144
67155
|
const [o, u] = Ct.useState(!1);
|
|
67145
|
-
return /* @__PURE__ */
|
|
67146
|
-
/* @__PURE__ */
|
|
67156
|
+
return /* @__PURE__ */ Le.jsxs("div", { className: [Fn["menu-control-container"], i].join(" "), children: [
|
|
67157
|
+
/* @__PURE__ */ Le.jsx(
|
|
67147
67158
|
qc,
|
|
67148
67159
|
{
|
|
67149
67160
|
"aria-label": o ? `Hide ${n} Menu` : n,
|
|
@@ -67152,10 +67163,10 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67152
67163
|
onClick: () => {
|
|
67153
67164
|
t.controls.__ToggleMenu(!o), u(!o);
|
|
67154
67165
|
},
|
|
67155
|
-
className: o ?
|
|
67166
|
+
className: o ? Fn["icon-button-active"] : ""
|
|
67156
67167
|
}
|
|
67157
67168
|
),
|
|
67158
|
-
o ? /* @__PURE__ */
|
|
67169
|
+
o ? /* @__PURE__ */ Le.jsx(
|
|
67159
67170
|
r,
|
|
67160
67171
|
{
|
|
67161
67172
|
player: t,
|
|
@@ -67169,15 +67180,15 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67169
67180
|
const [e, t] = Ct.useState(void 0), { title: r, subtitle: i, description: o, image: u, headers: c } = n.controls.GetContentInfo() || {};
|
|
67170
67181
|
return Ct.useEffect(() => {
|
|
67171
67182
|
t(void 0), u && fk({ player: n, pathOrUrl: u, width: 200 }).then((p) => t(p));
|
|
67172
|
-
}, [u]), !r || n.playerOptions.title ===
|
|
67173
|
-
e ? /* @__PURE__ */
|
|
67174
|
-
/* @__PURE__ */
|
|
67175
|
-
c.length === 0 ? null : /* @__PURE__ */
|
|
67176
|
-
(p, h) => /* @__PURE__ */
|
|
67183
|
+
}, [u]), !r || n.playerOptions.title === jt.title.FULLSCREEN_ONLY && !n.controls.IsFullscreen() || n.playerOptions.title === jt.title.OFF ? null : /* @__PURE__ */ Le.jsxs("div", { className: Fn["info-container"], children: [
|
|
67184
|
+
e ? /* @__PURE__ */ Le.jsx("div", { className: Fn["info-image-container"], children: /* @__PURE__ */ Le.jsx("img", { src: e, alt: "Image", className: Fn["info-image"] }) }) : null,
|
|
67185
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Fn["info-text"], children: [
|
|
67186
|
+
c.length === 0 ? null : /* @__PURE__ */ Le.jsx("div", { className: Fn["info-headers"], children: c.map(
|
|
67187
|
+
(p, h) => /* @__PURE__ */ Le.jsx("div", { className: Fn["info-header"], children: p }, `header-${h}`)
|
|
67177
67188
|
) }),
|
|
67178
|
-
r ? /* @__PURE__ */
|
|
67179
|
-
i ? /* @__PURE__ */
|
|
67180
|
-
o ? /* @__PURE__ */
|
|
67189
|
+
r ? /* @__PURE__ */ Le.jsx("div", { className: Fn["info-title"], children: r }) : null,
|
|
67190
|
+
i ? /* @__PURE__ */ Le.jsx("div", { className: Fn["info-subtitle"], children: i }) : null,
|
|
67191
|
+
o ? /* @__PURE__ */ Le.jsx("div", { className: Fn["info-description"], children: o }) : null
|
|
67181
67192
|
] })
|
|
67182
67193
|
] });
|
|
67183
67194
|
}, _ge = ({ player: n }) => {
|
|
@@ -67187,16 +67198,16 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67187
67198
|
r();
|
|
67188
67199
|
const i = n.controls.RegisterSettingsListener(r);
|
|
67189
67200
|
return () => i && i();
|
|
67190
|
-
}, []), e ? /* @__PURE__ */
|
|
67191
|
-
/* @__PURE__ */
|
|
67192
|
-
/* @__PURE__ */
|
|
67201
|
+
}, []), e ? /* @__PURE__ */ Le.jsxs(Le.Fragment, { children: [
|
|
67202
|
+
/* @__PURE__ */ Le.jsx("div", { className: Fn["content-verified-badge"], children: "VERIFIED" }),
|
|
67203
|
+
/* @__PURE__ */ Le.jsx(
|
|
67193
67204
|
z4,
|
|
67194
67205
|
{
|
|
67195
67206
|
label: "Content Verification Menu",
|
|
67196
67207
|
icon: l2,
|
|
67197
67208
|
player: n,
|
|
67198
67209
|
MenuComponent: Wz,
|
|
67199
|
-
className:
|
|
67210
|
+
className: Fn["content-verification-menu-button"]
|
|
67200
67211
|
}
|
|
67201
67212
|
)
|
|
67202
67213
|
] }) : null;
|
|
@@ -67210,27 +67221,27 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67210
67221
|
};
|
|
67211
67222
|
}, []), !u)
|
|
67212
67223
|
return null;
|
|
67213
|
-
const b = n.controls.GetCollectionInfo(), g = r || !e || m, S = !g && n.playerOptions.controls ===
|
|
67214
|
-
return n.__SetControlsVisibility(!S), /* @__PURE__ */
|
|
67224
|
+
const b = n.controls.GetCollectionInfo(), g = r || !e || m, S = !g && n.playerOptions.controls === jt.controls.AUTO_HIDE;
|
|
67225
|
+
return n.__SetControlsVisibility(!S), /* @__PURE__ */ Le.jsxs(
|
|
67215
67226
|
"div",
|
|
67216
67227
|
{
|
|
67217
67228
|
onClick: p,
|
|
67218
67229
|
className: [
|
|
67219
67230
|
o,
|
|
67220
|
-
|
|
67221
|
-
g ? "" :
|
|
67222
|
-
n.playerOptions.controls !==
|
|
67231
|
+
Fn.container,
|
|
67232
|
+
g ? "" : Fn.autohide,
|
|
67233
|
+
n.playerOptions.controls !== jt.controls.DEFAULT ? "" : Fn["container--default-controls"],
|
|
67223
67234
|
n.controls.IsMenuVisible() ? "menu-active" : ""
|
|
67224
67235
|
].join(" "),
|
|
67225
67236
|
children: [
|
|
67226
|
-
/* @__PURE__ */
|
|
67237
|
+
/* @__PURE__ */ Le.jsx(wge, { player: n }, `content-info-${b && b.mediaIndex}`),
|
|
67227
67238
|
// Main bottom control bar
|
|
67228
67239
|
[
|
|
67229
|
-
|
|
67230
|
-
|
|
67231
|
-
|
|
67232
|
-
].includes(n.playerOptions.controls) ? null : /* @__PURE__ */
|
|
67233
|
-
/* @__PURE__ */
|
|
67240
|
+
jt.controls.DEFAULT,
|
|
67241
|
+
jt.controls.OFF,
|
|
67242
|
+
jt.controls.OFF_WITH_VOLUME_TOGGLE
|
|
67243
|
+
].includes(n.playerOptions.controls) ? null : /* @__PURE__ */ Le.jsxs(Le.Fragment, { children: [
|
|
67244
|
+
/* @__PURE__ */ Le.jsx(
|
|
67234
67245
|
qc,
|
|
67235
67246
|
{
|
|
67236
67247
|
"aria-label": "Play",
|
|
@@ -67239,28 +67250,28 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67239
67250
|
onClick: () => {
|
|
67240
67251
|
n.controls.Play(), n.target.firstChild.focus();
|
|
67241
67252
|
},
|
|
67242
|
-
className: `${
|
|
67253
|
+
className: `${Fn["center-play-button"]} ${t && !e ? "" : Fn["center-play-button--hidden"]}`
|
|
67243
67254
|
}
|
|
67244
67255
|
),
|
|
67245
|
-
/* @__PURE__ */
|
|
67246
|
-
/* @__PURE__ */
|
|
67247
|
-
/* @__PURE__ */
|
|
67248
|
-
/* @__PURE__ */
|
|
67249
|
-
/* @__PURE__ */
|
|
67256
|
+
/* @__PURE__ */ Le.jsxs("div", { className: `${Fn["bottom-controls-container"]} ${S ? Fn["bottom-controls-container--autohide"] : ""}`, children: [
|
|
67257
|
+
/* @__PURE__ */ Le.jsx("div", { className: Fn["bottom-controls-gradient"] }),
|
|
67258
|
+
/* @__PURE__ */ Le.jsx(Vz, { player: n, videoState: u, setRecentUserAction: i, className: Fn.seek }),
|
|
67259
|
+
/* @__PURE__ */ Le.jsxs("div", { className: Fn.controls, children: [
|
|
67260
|
+
/* @__PURE__ */ Le.jsx(
|
|
67250
67261
|
qc,
|
|
67251
67262
|
{
|
|
67252
67263
|
"aria-label": u.playing ? "Pause" : "Play",
|
|
67253
67264
|
icon: u.playing ? jz : zz,
|
|
67254
67265
|
onClick: () => n.controls.TogglePlay(),
|
|
67255
|
-
className:
|
|
67266
|
+
className: Fn["play-pause-button"]
|
|
67256
67267
|
}
|
|
67257
67268
|
),
|
|
67258
|
-
/* @__PURE__ */
|
|
67259
|
-
/* @__PURE__ */
|
|
67260
|
-
/* @__PURE__ */
|
|
67261
|
-
/* @__PURE__ */
|
|
67262
|
-
/* @__PURE__ */
|
|
67263
|
-
b ? /* @__PURE__ */
|
|
67269
|
+
/* @__PURE__ */ Le.jsx(bge, { player: n }),
|
|
67270
|
+
/* @__PURE__ */ Le.jsx(yge, { player: n, videoState: u }),
|
|
67271
|
+
/* @__PURE__ */ Le.jsx(vge, { player: n, videoState: u }),
|
|
67272
|
+
/* @__PURE__ */ Le.jsx("div", { className: Fn.spacer }),
|
|
67273
|
+
/* @__PURE__ */ Le.jsx(_ge, { player: n }),
|
|
67274
|
+
b ? /* @__PURE__ */ Le.jsx(
|
|
67264
67275
|
z4,
|
|
67265
67276
|
{
|
|
67266
67277
|
label: "Collection Menu",
|
|
@@ -67269,16 +67280,16 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67269
67280
|
MenuComponent: Kz
|
|
67270
67281
|
}
|
|
67271
67282
|
) : null,
|
|
67272
|
-
n.controls.IsRotatable() ? /* @__PURE__ */
|
|
67283
|
+
n.controls.IsRotatable() ? /* @__PURE__ */ Le.jsx(
|
|
67273
67284
|
qc,
|
|
67274
67285
|
{
|
|
67275
67286
|
"aria-label": "Rotate Video",
|
|
67276
67287
|
icon: sge,
|
|
67277
67288
|
onClick: () => n.controls.SetAllowRotation(!n.controls.AllowRotation()),
|
|
67278
|
-
className:
|
|
67289
|
+
className: Fn["right-control-button"]
|
|
67279
67290
|
}
|
|
67280
67291
|
) : null,
|
|
67281
|
-
n.controls.GetOptions().hasAnyOptions ? /* @__PURE__ */
|
|
67292
|
+
n.controls.GetOptions().hasAnyOptions ? /* @__PURE__ */ Le.jsx(
|
|
67282
67293
|
z4,
|
|
67283
67294
|
{
|
|
67284
67295
|
label: "Settings Menu",
|
|
@@ -67287,31 +67298,31 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67287
67298
|
MenuComponent: Gz
|
|
67288
67299
|
}
|
|
67289
67300
|
) : null,
|
|
67290
|
-
/* @__PURE__ */
|
|
67301
|
+
/* @__PURE__ */ Le.jsx(
|
|
67291
67302
|
qc,
|
|
67292
67303
|
{
|
|
67293
67304
|
"aria-label": u.fullscreen ? "Exit Fullscreen" : "Fullscreen",
|
|
67294
67305
|
icon: u.fullscreen ? Qme : Jme,
|
|
67295
67306
|
onClick: () => n.controls.ToggleFullscreen(),
|
|
67296
|
-
className:
|
|
67307
|
+
className: Fn["right-control-button"]
|
|
67297
67308
|
}
|
|
67298
67309
|
)
|
|
67299
67310
|
] })
|
|
67300
67311
|
] })
|
|
67301
67312
|
] }),
|
|
67302
67313
|
// Floating volume control for 'off with volume toggle' setting
|
|
67303
|
-
n.playerOptions.controls !==
|
|
67314
|
+
n.playerOptions.controls !== jt.controls.OFF_WITH_VOLUME_TOGGLE ? null : /* @__PURE__ */ Le.jsx("div", { className: Fn["floating-volume-toggle"], children: /* @__PURE__ */ Le.jsx(
|
|
67304
67315
|
qc,
|
|
67305
67316
|
{
|
|
67306
67317
|
"aria-label": u.muted ? "Unmute" : "Mute",
|
|
67307
67318
|
icon: u.muted || u.volume === 0 ? pk : u2,
|
|
67308
67319
|
onClick: () => n.controls.ToggleMuted(),
|
|
67309
|
-
className:
|
|
67320
|
+
className: Fn["volume-button"]
|
|
67310
67321
|
},
|
|
67311
67322
|
"mute-button"
|
|
67312
67323
|
) }),
|
|
67313
67324
|
// Watermark
|
|
67314
|
-
n.playerOptions.watermark ===
|
|
67325
|
+
n.playerOptions.watermark === jt.watermark.OFF ? null : /* @__PURE__ */ Le.jsx("div", { className: Fn.watermark, children: /* @__PURE__ */ Le.jsx("img", { src: qz, alt: "Eluvio" }) })
|
|
67315
67326
|
]
|
|
67316
67327
|
}
|
|
67317
67328
|
);
|
|
@@ -67356,7 +67367,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67356
67367
|
});
|
|
67357
67368
|
R(q), o && L({ client: q, code: o });
|
|
67358
67369
|
});
|
|
67359
|
-
}, []), m ? /* @__PURE__ */
|
|
67370
|
+
}, []), m ? /* @__PURE__ */ Le.jsx(
|
|
67360
67371
|
"div",
|
|
67361
67372
|
{
|
|
67362
67373
|
role: "complementary",
|
|
@@ -67367,9 +67378,9 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67367
67378
|
"--portal-height": `${e.height}px`
|
|
67368
67379
|
},
|
|
67369
67380
|
className: [wi["ticket-form-container"], wi[`size-${e.size}`], wi[`orientation-${e.orientation}`]].join(" "),
|
|
67370
|
-
children: /* @__PURE__ */
|
|
67381
|
+
children: /* @__PURE__ */ Le.jsx("div", { className: wi["ticket-form-overlay"], children: /* @__PURE__ */ Le.jsx(Ob, { className: wi.spinner }) })
|
|
67371
67382
|
}
|
|
67372
|
-
) : /* @__PURE__ */
|
|
67383
|
+
) : /* @__PURE__ */ Le.jsx(
|
|
67373
67384
|
"div",
|
|
67374
67385
|
{
|
|
67375
67386
|
role: "complementary",
|
|
@@ -67380,7 +67391,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67380
67391
|
"--portal-height": `${e.height}px`
|
|
67381
67392
|
},
|
|
67382
67393
|
className: [wi["ticket-form-container"], wi[`size-${e.size}`], wi[`orientation-${e.orientation}`]].join(" "),
|
|
67383
|
-
children: /* @__PURE__ */
|
|
67394
|
+
children: /* @__PURE__ */ Le.jsx("div", { className: wi["ticket-form-overlay"], children: /* @__PURE__ */ Le.jsxs(
|
|
67384
67395
|
"form",
|
|
67385
67396
|
{
|
|
67386
67397
|
onSubmit: (D) => {
|
|
@@ -67388,12 +67399,12 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67388
67399
|
},
|
|
67389
67400
|
className: wi["ticket-form"],
|
|
67390
67401
|
children: [
|
|
67391
|
-
/* @__PURE__ */
|
|
67392
|
-
/* @__PURE__ */
|
|
67393
|
-
/* @__PURE__ */
|
|
67402
|
+
/* @__PURE__ */ Le.jsxs("div", { className: wi.text, children: [
|
|
67403
|
+
/* @__PURE__ */ Le.jsx("h2", { className: wi.title, children: n.clientOptions.ticketTitle || "This content requires a code to view" }),
|
|
67404
|
+
/* @__PURE__ */ Le.jsx("p", { className: wi.description, children: n.clientOptions.ticketDescription || "Please enter your code below" })
|
|
67394
67405
|
] }),
|
|
67395
|
-
/* @__PURE__ */
|
|
67396
|
-
/* @__PURE__ */
|
|
67406
|
+
/* @__PURE__ */ Le.jsxs("div", { className: wi.inputs, children: [
|
|
67407
|
+
/* @__PURE__ */ Le.jsx(
|
|
67397
67408
|
"input",
|
|
67398
67409
|
{
|
|
67399
67410
|
disabled: c,
|
|
@@ -67411,18 +67422,18 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67411
67422
|
className: wi.input
|
|
67412
67423
|
}
|
|
67413
67424
|
),
|
|
67414
|
-
/* @__PURE__ */
|
|
67425
|
+
/* @__PURE__ */ Le.jsx(
|
|
67415
67426
|
"button",
|
|
67416
67427
|
{
|
|
67417
67428
|
type: "submit",
|
|
67418
67429
|
"aria-label": "Submit Code",
|
|
67419
67430
|
disabled: !p || !T || c,
|
|
67420
67431
|
className: wi.submit,
|
|
67421
|
-
children: b ? /* @__PURE__ */
|
|
67432
|
+
children: b ? /* @__PURE__ */ Le.jsx(Ob, { light: !0 }) : "Submit"
|
|
67422
67433
|
}
|
|
67423
67434
|
)
|
|
67424
67435
|
] }),
|
|
67425
|
-
/* @__PURE__ */
|
|
67436
|
+
/* @__PURE__ */ Le.jsxs("div", { className: wi["error-message"], children: [
|
|
67426
67437
|
S,
|
|
67427
67438
|
" "
|
|
67428
67439
|
] })
|
|
@@ -67431,7 +67442,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67431
67442
|
) })
|
|
67432
67443
|
}
|
|
67433
67444
|
);
|
|
67434
|
-
}, Oge = "_container_o1vpa_1", Lge = "_autohide_o1vpa_34", Nge = "_fadein_o1vpa_1", Pge = "_title_o1vpa_134", Ige = "_spacer_o1vpa_310", Dge = "_watermark_o1vpa_314", Uge = "_menu_o1vpa_145",
|
|
67445
|
+
}, Oge = "_container_o1vpa_1", Lge = "_autohide_o1vpa_34", Nge = "_fadein_o1vpa_1", Pge = "_title_o1vpa_134", Ige = "_spacer_o1vpa_310", Dge = "_watermark_o1vpa_314", Uge = "_menu_o1vpa_145", cn = {
|
|
67435
67446
|
container: Oge,
|
|
67436
67447
|
"container--default-controls": "_container--default-controls_o1vpa_29",
|
|
67437
67448
|
autohide: Lge,
|
|
@@ -67472,69 +67483,69 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67472
67483
|
spacer: Ige,
|
|
67473
67484
|
watermark: Dge,
|
|
67474
67485
|
menu: Uge
|
|
67475
|
-
}, Xp = ({ icon: n, ...e }) => /* @__PURE__ */
|
|
67486
|
+
}, Xp = ({ icon: n, ...e }) => /* @__PURE__ */ Le.jsx("button", { ...e, className: `${cn["icon-button"]} ${e.className || ""}`, dangerouslySetInnerHTML: { __html: n } }), Fge = ({ player: n, videoState: e }) => {
|
|
67476
67487
|
const [t, r] = Ct.useState(n.video.currentTime);
|
|
67477
67488
|
return Ct.useEffect(() => {
|
|
67478
67489
|
const i = dk({ video: n.video, setCurrentTime: r, rate: 10 });
|
|
67479
67490
|
return () => i && i();
|
|
67480
|
-
}, []), n.isLive ? null : /* @__PURE__ */
|
|
67481
|
-
/* @__PURE__ */
|
|
67482
|
-
/* @__PURE__ */
|
|
67483
|
-
/* @__PURE__ */
|
|
67491
|
+
}, []), n.isLive && !n.dvrEnabled ? null : /* @__PURE__ */ Le.jsxs("div", { className: cn["time-container"], children: [
|
|
67492
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn.time, children: a2(t, e.duration) }),
|
|
67493
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn.spacer }),
|
|
67494
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn.time, children: a2(e.duration, e.duration) })
|
|
67484
67495
|
] });
|
|
67485
67496
|
}, Bge = ({ player: n, videoState: e }) => {
|
|
67486
67497
|
const t = n.controls.GetCollectionInfo(), r = t && t.isPlaylist && t.content[t.mediaIndex - 1], i = t && t.isPlaylist && t.content[t.mediaIndex + 1], o = n.controls.IsReady();
|
|
67487
|
-
return /* @__PURE__ */
|
|
67488
|
-
!r && !i ? null : /* @__PURE__ */
|
|
67498
|
+
return /* @__PURE__ */ Le.jsxs("div", { className: cn["center-buttons"], children: [
|
|
67499
|
+
!r && !i ? null : /* @__PURE__ */ Le.jsx(
|
|
67489
67500
|
Xp,
|
|
67490
67501
|
{
|
|
67491
67502
|
disabled: !o || !r,
|
|
67492
67503
|
icon: hk,
|
|
67493
67504
|
onClick: () => n.controls.CollectionPlayPrevious(),
|
|
67494
|
-
className: `${
|
|
67505
|
+
className: `${cn["track-button"]} ${cn["icon-button--drop-shadow-focus"]}`
|
|
67495
67506
|
}
|
|
67496
67507
|
),
|
|
67497
|
-
/* @__PURE__ */
|
|
67508
|
+
/* @__PURE__ */ Le.jsx(
|
|
67498
67509
|
Xp,
|
|
67499
67510
|
{
|
|
67500
67511
|
"aria-label": "Back 10 Seconds",
|
|
67501
67512
|
icon: tge,
|
|
67502
67513
|
onClick: () => n.controls.Seek({ relativeSeconds: -10 }),
|
|
67503
|
-
className:
|
|
67514
|
+
className: cn["icon-button--drop-shadow-focus"]
|
|
67504
67515
|
}
|
|
67505
67516
|
),
|
|
67506
|
-
/* @__PURE__ */
|
|
67517
|
+
/* @__PURE__ */ Le.jsx(
|
|
67507
67518
|
Xp,
|
|
67508
67519
|
{
|
|
67509
67520
|
"aria-label": e.playing ? "Pause" : "Play",
|
|
67510
67521
|
icon: e.playing ? jz : zz,
|
|
67511
67522
|
onClick: () => n.controls.TogglePlay(),
|
|
67512
|
-
className: `${
|
|
67523
|
+
className: `${cn["play-pause-button"]} ${cn["icon-button--drop-shadow-focus"]}`
|
|
67513
67524
|
}
|
|
67514
67525
|
),
|
|
67515
|
-
/* @__PURE__ */
|
|
67526
|
+
/* @__PURE__ */ Le.jsx(
|
|
67516
67527
|
Xp,
|
|
67517
67528
|
{
|
|
67518
67529
|
"aria-label": "Forward 10 Seconds",
|
|
67519
67530
|
icon: nge,
|
|
67520
67531
|
onClick: () => n.controls.Seek({ relativeSeconds: 10 }),
|
|
67521
|
-
className:
|
|
67532
|
+
className: cn["icon-button--drop-shadow-focus"]
|
|
67522
67533
|
}
|
|
67523
67534
|
),
|
|
67524
|
-
!r && !i ? null : /* @__PURE__ */
|
|
67535
|
+
!r && !i ? null : /* @__PURE__ */ Le.jsx(
|
|
67525
67536
|
Xp,
|
|
67526
67537
|
{
|
|
67527
67538
|
disabled: !o || !i,
|
|
67528
67539
|
icon: yk,
|
|
67529
67540
|
onClick: () => n.controls.CollectionPlayNext(),
|
|
67530
|
-
className: `${
|
|
67541
|
+
className: `${cn["track-button"]} ${cn["icon-button--drop-shadow-focus"]}`
|
|
67531
67542
|
}
|
|
67532
67543
|
)
|
|
67533
67544
|
] });
|
|
67534
67545
|
}, j4 = ({ label: n, icon: e, children: t, player: r, MenuComponent: i }) => {
|
|
67535
67546
|
const [o, u] = Ct.useState(!1);
|
|
67536
|
-
return /* @__PURE__ */
|
|
67537
|
-
e ? /* @__PURE__ */
|
|
67547
|
+
return /* @__PURE__ */ Le.jsxs("div", { className: cn["menu-control-container"], children: [
|
|
67548
|
+
e ? /* @__PURE__ */ Le.jsx(
|
|
67538
67549
|
Xp,
|
|
67539
67550
|
{
|
|
67540
67551
|
"aria-label": o ? `Hide ${n} Menu` : n,
|
|
@@ -67543,26 +67554,26 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67543
67554
|
onClick: () => {
|
|
67544
67555
|
r.controls.__ToggleMenu(!o), u(!o);
|
|
67545
67556
|
},
|
|
67546
|
-
className: `${
|
|
67557
|
+
className: `${cn["icon-button--circle-focus"]} ${o ? cn["icon-button-active"] : ""}`
|
|
67547
67558
|
}
|
|
67548
|
-
) : /* @__PURE__ */
|
|
67559
|
+
) : /* @__PURE__ */ Le.jsx(
|
|
67549
67560
|
"button",
|
|
67550
67561
|
{
|
|
67551
67562
|
onClick: () => {
|
|
67552
67563
|
r.controls.__ToggleMenu(!o), u(!o);
|
|
67553
67564
|
},
|
|
67554
|
-
className: `${
|
|
67565
|
+
className: `${cn["text-button"]} ${o ? cn["text-button--active"] : ""}`,
|
|
67555
67566
|
children: t
|
|
67556
67567
|
}
|
|
67557
67568
|
),
|
|
67558
|
-
o ? /* @__PURE__ */
|
|
67569
|
+
o ? /* @__PURE__ */ Le.jsx(
|
|
67559
67570
|
i,
|
|
67560
67571
|
{
|
|
67561
67572
|
player: r,
|
|
67562
67573
|
Hide: () => {
|
|
67563
67574
|
r.controls.__ToggleMenu(!1), u(!1);
|
|
67564
67575
|
},
|
|
67565
|
-
className:
|
|
67576
|
+
className: cn.menu
|
|
67566
67577
|
}
|
|
67567
67578
|
) : null
|
|
67568
67579
|
] });
|
|
@@ -67575,34 +67586,34 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67575
67586
|
h && (h.key || "").toLowerCase() === "escape" && e();
|
|
67576
67587
|
};
|
|
67577
67588
|
return document.body.addEventListener("keydown", p), () => document.body.removeEventListener("keydown", p);
|
|
67578
|
-
}, []), /* @__PURE__ */
|
|
67579
|
-
/* @__PURE__ */
|
|
67589
|
+
}, []), /* @__PURE__ */ Le.jsxs("div", { className: cn["info-box-container"], children: [
|
|
67590
|
+
/* @__PURE__ */ Le.jsx(
|
|
67580
67591
|
"button",
|
|
67581
67592
|
{
|
|
67582
67593
|
autoFocus: !0,
|
|
67583
67594
|
onClick: () => e(),
|
|
67584
|
-
className: `${
|
|
67595
|
+
className: `${cn["info-box-button"]} ${cn["info-box-button--info"]}`,
|
|
67585
67596
|
children: "Info"
|
|
67586
67597
|
}
|
|
67587
67598
|
),
|
|
67588
|
-
/* @__PURE__ */
|
|
67589
|
-
t ? /* @__PURE__ */
|
|
67590
|
-
/* @__PURE__ */
|
|
67591
|
-
!c || c.length === 0 ? null : /* @__PURE__ */
|
|
67592
|
-
(p, h) => /* @__PURE__ */
|
|
67599
|
+
/* @__PURE__ */ Le.jsxs("div", { className: cn["info-box"], children: [
|
|
67600
|
+
t ? /* @__PURE__ */ Le.jsx("div", { className: cn["info-box-image-container"], children: /* @__PURE__ */ Le.jsx("img", { src: t, alt: "Image", className: cn["info-box-image"] }) }) : null,
|
|
67601
|
+
/* @__PURE__ */ Le.jsxs("div", { className: `${cn["info-box-text"]} ${t && c && c.length === 0 ? cn["info-box-text--top-padding"] : ""}`, children: [
|
|
67602
|
+
!c || c.length === 0 ? null : /* @__PURE__ */ Le.jsx("div", { className: cn["info-box-headers"], children: c.map(
|
|
67603
|
+
(p, h) => /* @__PURE__ */ Le.jsx("div", { className: cn["info-box-header"], children: p }, `header-${h}`)
|
|
67593
67604
|
) }),
|
|
67594
|
-
/* @__PURE__ */
|
|
67595
|
-
/* @__PURE__ */
|
|
67605
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn["info-box-title"], children: i || "" }),
|
|
67606
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn["info-box-description"], children: o || "" })
|
|
67596
67607
|
] }),
|
|
67597
|
-
/* @__PURE__ */
|
|
67608
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn["info-box-actions"], children: /* @__PURE__ */ Le.jsxs(
|
|
67598
67609
|
"button",
|
|
67599
67610
|
{
|
|
67600
67611
|
onClick: () => {
|
|
67601
67612
|
n.controls.Seek({ time: 0 }), e();
|
|
67602
67613
|
},
|
|
67603
|
-
className: `${
|
|
67614
|
+
className: `${cn["info-box-button"]} ${cn["info-box-button--restart"]}`,
|
|
67604
67615
|
children: [
|
|
67605
|
-
/* @__PURE__ */
|
|
67616
|
+
/* @__PURE__ */ Le.jsx(bd, { icon: Bz }),
|
|
67606
67617
|
"From Beginning"
|
|
67607
67618
|
]
|
|
67608
67619
|
}
|
|
@@ -67614,14 +67625,14 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67614
67625
|
return Ct.useEffect(() => {
|
|
67615
67626
|
const r = () => t(n.controls.ContentVerified());
|
|
67616
67627
|
r(), n.controls.RegisterSettingsListener(r);
|
|
67617
|
-
}, []), e ? /* @__PURE__ */
|
|
67628
|
+
}, []), e ? /* @__PURE__ */ Le.jsx(
|
|
67618
67629
|
j4,
|
|
67619
67630
|
{
|
|
67620
67631
|
label: "Content Verification Menu",
|
|
67621
67632
|
icon: l2,
|
|
67622
67633
|
player: n,
|
|
67623
67634
|
MenuComponent: Wz,
|
|
67624
|
-
className:
|
|
67635
|
+
className: cn["content-verification-menu-button"],
|
|
67625
67636
|
children: "Verified"
|
|
67626
67637
|
}
|
|
67627
67638
|
) : null;
|
|
@@ -67633,20 +67644,20 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67633
67644
|
return () => T && T();
|
|
67634
67645
|
}, []), !u)
|
|
67635
67646
|
return null;
|
|
67636
|
-
const { title: b } = n.controls.GetContentInfo() || {}, g = n.controls.GetCollectionInfo(), S = r || !e || n.controls.IsMenuVisible(), A = !S && n.playerOptions.controls ===
|
|
67637
|
-
return n.__SetControlsVisibility(!A), /* @__PURE__ */
|
|
67647
|
+
const { title: b } = n.controls.GetContentInfo() || {}, g = n.controls.GetCollectionInfo(), S = r || !e || n.controls.IsMenuVisible(), A = !S && n.playerOptions.controls === jt.controls.AUTO_HIDE;
|
|
67648
|
+
return n.__SetControlsVisibility(!A), /* @__PURE__ */ Le.jsxs(
|
|
67638
67649
|
"div",
|
|
67639
67650
|
{
|
|
67640
67651
|
onClick: p,
|
|
67641
67652
|
className: [
|
|
67642
67653
|
o,
|
|
67643
|
-
|
|
67644
|
-
S ? "" :
|
|
67645
|
-
n.playerOptions.controls !==
|
|
67654
|
+
cn.container,
|
|
67655
|
+
S ? "" : cn.autohide,
|
|
67656
|
+
n.playerOptions.controls !== jt.controls.DEFAULT ? "" : cn["container--default-controls"],
|
|
67646
67657
|
n.controls.IsMenuVisible() ? "menu-active" : ""
|
|
67647
67658
|
].join(" "),
|
|
67648
67659
|
children: [
|
|
67649
|
-
/* @__PURE__ */
|
|
67660
|
+
/* @__PURE__ */ Le.jsx(
|
|
67650
67661
|
Xp,
|
|
67651
67662
|
{
|
|
67652
67663
|
"aria-label": "Play",
|
|
@@ -67655,16 +67666,16 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67655
67666
|
onClick: () => {
|
|
67656
67667
|
n.controls.Play(), n.target.firstChild.focus();
|
|
67657
67668
|
},
|
|
67658
|
-
className: `${
|
|
67669
|
+
className: `${cn["center-play-button"]} ${cn["icon-button--drop-shadow-focus"]} ${t && !e ? "" : cn["center-play-button--hidden"]}`
|
|
67659
67670
|
}
|
|
67660
67671
|
),
|
|
67661
|
-
m ? /* @__PURE__ */
|
|
67662
|
-
/* @__PURE__ */
|
|
67663
|
-
/* @__PURE__ */
|
|
67664
|
-
/* @__PURE__ */
|
|
67665
|
-
/* @__PURE__ */
|
|
67666
|
-
n.isLive ? /* @__PURE__ */
|
|
67667
|
-
g ? /* @__PURE__ */
|
|
67672
|
+
m ? /* @__PURE__ */ Le.jsx(zge, { player: n, Hide: () => w(!1) }) : /* @__PURE__ */ Le.jsxs("div", { className: `${cn["bottom-controls-container"]} ${A ? cn["bottom-controls-container--autohide"] : ""}`, children: [
|
|
67673
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn["bottom-controls-gradient"] }),
|
|
67674
|
+
/* @__PURE__ */ Le.jsxs("div", { className: cn["title-container"], children: [
|
|
67675
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn.title, children: n.playerOptions.title === jt.title.OFF || n.playerOptions.title === jt.title.FULLSCREEN_ONLY && !n.controls.IsFullscreen() ? "" : b || "" }),
|
|
67676
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn.spacer }),
|
|
67677
|
+
n.isLive ? n.dvrEnabled ? /* @__PURE__ */ Le.jsx("button", { onClick: () => n.controls.Seek({ time: n.controls.GetDuration() - 2 }), className: cn["live-indicator"], children: "Live" }) : /* @__PURE__ */ Le.jsx("div", { className: cn["live-indicator"], children: "Live" }) : null,
|
|
67678
|
+
g ? /* @__PURE__ */ Le.jsx(
|
|
67668
67679
|
j4,
|
|
67669
67680
|
{
|
|
67670
67681
|
label: "Collection Menu",
|
|
@@ -67674,14 +67685,14 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67674
67685
|
}
|
|
67675
67686
|
) : null
|
|
67676
67687
|
] }),
|
|
67677
|
-
/* @__PURE__ */
|
|
67678
|
-
/* @__PURE__ */
|
|
67679
|
-
/* @__PURE__ */
|
|
67680
|
-
/* @__PURE__ */
|
|
67681
|
-
/* @__PURE__ */
|
|
67682
|
-
/* @__PURE__ */
|
|
67683
|
-
/* @__PURE__ */
|
|
67684
|
-
n.controls.GetOptions().hasAnyOptions ? /* @__PURE__ */
|
|
67688
|
+
/* @__PURE__ */ Le.jsx(Vz, { player: n, videoState: u, setRecentUserAction: i }),
|
|
67689
|
+
/* @__PURE__ */ Le.jsx(Fge, { player: n, videoState: u }),
|
|
67690
|
+
/* @__PURE__ */ Le.jsxs("div", { className: cn["bottom-controls"], children: [
|
|
67691
|
+
/* @__PURE__ */ Le.jsx("div", { className: cn["bottom-left-controls"], children: !b || n.playerOptions.title === jt.title.OFF ? null : /* @__PURE__ */ Le.jsx("button", { className: cn["text-button"], onClick: () => w(!0), children: "Info" }) }),
|
|
67692
|
+
/* @__PURE__ */ Le.jsx(Bge, { player: n, videoState: u }),
|
|
67693
|
+
/* @__PURE__ */ Le.jsxs("div", { className: cn["bottom-right-controls"], children: [
|
|
67694
|
+
/* @__PURE__ */ Le.jsx(jge, { player: n }),
|
|
67695
|
+
n.controls.GetOptions().hasAnyOptions ? /* @__PURE__ */ Le.jsx(
|
|
67685
67696
|
j4,
|
|
67686
67697
|
{
|
|
67687
67698
|
label: "Settings",
|
|
@@ -67695,7 +67706,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67695
67706
|
] })
|
|
67696
67707
|
] }),
|
|
67697
67708
|
// Watermark
|
|
67698
|
-
n.playerOptions.watermark ===
|
|
67709
|
+
n.playerOptions.watermark === jt.watermark.OFF ? null : /* @__PURE__ */ Le.jsx("div", { className: cn.watermark, children: /* @__PURE__ */ Le.jsx("img", { src: qz, alt: "Eluvio" }) })
|
|
67699
67710
|
]
|
|
67700
67711
|
},
|
|
67701
67712
|
"controls"
|
|
@@ -67725,27 +67736,27 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67725
67736
|
const h = async (m) => {
|
|
67726
67737
|
m.preventDefault();
|
|
67727
67738
|
try {
|
|
67728
|
-
o(!0), await n.controls.SetPlayerProfile({ profile: "custom",
|
|
67739
|
+
o(!0), await n.controls.SetPlayerProfile({ profile: "custom", customOptions: JSON.parse(t) }), e();
|
|
67729
67740
|
} catch (w) {
|
|
67730
67741
|
c(w.toString()), o(!1);
|
|
67731
67742
|
}
|
|
67732
67743
|
};
|
|
67733
|
-
return /* @__PURE__ */
|
|
67744
|
+
return /* @__PURE__ */ Le.jsx(
|
|
67734
67745
|
"div",
|
|
67735
67746
|
{
|
|
67736
67747
|
role: "complementary",
|
|
67737
67748
|
tabIndex: -1,
|
|
67738
67749
|
className: co.container,
|
|
67739
|
-
children: /* @__PURE__ */
|
|
67750
|
+
children: /* @__PURE__ */ Le.jsx("div", { className: co.overlay, children: /* @__PURE__ */ Le.jsxs(
|
|
67740
67751
|
"form",
|
|
67741
67752
|
{
|
|
67742
67753
|
onSubmit: h,
|
|
67743
67754
|
className: co.form,
|
|
67744
67755
|
ref: p,
|
|
67745
67756
|
children: [
|
|
67746
|
-
/* @__PURE__ */
|
|
67747
|
-
/* @__PURE__ */
|
|
67748
|
-
/* @__PURE__ */
|
|
67757
|
+
/* @__PURE__ */ Le.jsx("h2", { className: co.header, children: "Custom hls.js Options" }),
|
|
67758
|
+
/* @__PURE__ */ Le.jsxs("div", { className: co["input-container"], children: [
|
|
67759
|
+
/* @__PURE__ */ Le.jsx(
|
|
67749
67760
|
"textarea",
|
|
67750
67761
|
{
|
|
67751
67762
|
disabled: i,
|
|
@@ -67767,16 +67778,16 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67767
67778
|
className: `${co.input} ${u ? co["input--invalid"] : ""}`
|
|
67768
67779
|
}
|
|
67769
67780
|
),
|
|
67770
|
-
/* @__PURE__ */
|
|
67771
|
-
/* @__PURE__ */
|
|
67772
|
-
/* @__PURE__ */
|
|
67781
|
+
/* @__PURE__ */ Le.jsxs("div", { className: co["player-info"], children: [
|
|
67782
|
+
/* @__PURE__ */ Le.jsx("a", { tabIndex: 0, href: "https://github.com/video-dev/hls.js/blob/master/docs/API.md", rel: "noreferrer", target: "_blank", className: co["api-link"], children: "API Docs" }),
|
|
67783
|
+
/* @__PURE__ */ Le.jsxs("div", { className: co["player-version"], children: [
|
|
67773
67784
|
"hls.js ",
|
|
67774
67785
|
n.HLS.version
|
|
67775
67786
|
] })
|
|
67776
67787
|
] })
|
|
67777
67788
|
] }),
|
|
67778
|
-
/* @__PURE__ */
|
|
67779
|
-
/* @__PURE__ */
|
|
67789
|
+
/* @__PURE__ */ Le.jsxs("div", { className: co.actions, children: [
|
|
67790
|
+
/* @__PURE__ */ Le.jsx(
|
|
67780
67791
|
"button",
|
|
67781
67792
|
{
|
|
67782
67793
|
type: "button",
|
|
@@ -67786,14 +67797,14 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67786
67797
|
children: "Cancel"
|
|
67787
67798
|
}
|
|
67788
67799
|
),
|
|
67789
|
-
/* @__PURE__ */
|
|
67800
|
+
/* @__PURE__ */ Le.jsx(
|
|
67790
67801
|
"button",
|
|
67791
67802
|
{
|
|
67792
67803
|
type: "submit",
|
|
67793
67804
|
"aria-label": "Submit",
|
|
67794
67805
|
disabled: !!u,
|
|
67795
67806
|
className: co.submit,
|
|
67796
|
-
children: i ? /* @__PURE__ */
|
|
67807
|
+
children: i ? /* @__PURE__ */ Le.jsx(Ob, { light: !0 }) : "Submit"
|
|
67797
67808
|
}
|
|
67798
67809
|
)
|
|
67799
67810
|
] })
|
|
@@ -67806,7 +67817,7 @@ const qz = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67806
67817
|
const [e, t] = Ct.useState(void 0), { posterImage: r } = n.controls.GetContentInfo() || {};
|
|
67807
67818
|
return Ct.useEffect(() => {
|
|
67808
67819
|
t(void 0), r && fk({ player: n, pathOrUrl: r, width: 200 }).then((i) => t(i));
|
|
67809
|
-
}, [r]), e ? /* @__PURE__ */
|
|
67820
|
+
}, [r]), e ? /* @__PURE__ */ Le.jsx(
|
|
67810
67821
|
"img",
|
|
67811
67822
|
{
|
|
67812
67823
|
alt: "Video Poster",
|
|
@@ -67875,7 +67886,7 @@ const tve = ({ target: n, parameters: e, InitCallback: t, ErrorCallback: r, Unmo
|
|
|
67875
67886
|
O(void 0);
|
|
67876
67887
|
}, 1e3));
|
|
67877
67888
|
}, [x]), e.clientOptions.promptTicket && !p)
|
|
67878
|
-
return /* @__PURE__ */
|
|
67889
|
+
return /* @__PURE__ */ Le.jsx(
|
|
67879
67890
|
Rge,
|
|
67880
67891
|
{
|
|
67881
67892
|
parameters: e,
|
|
@@ -67883,8 +67894,8 @@ const tve = ({ target: n, parameters: e, InitCallback: t, ErrorCallback: r, Unmo
|
|
|
67883
67894
|
onComplete: (k) => h(k)
|
|
67884
67895
|
}
|
|
67885
67896
|
);
|
|
67886
|
-
const N = e.playerOptions.ui ===
|
|
67887
|
-
return /* @__PURE__ */
|
|
67897
|
+
const N = e.playerOptions.ui === jt.ui.WEB && u && u.controls.IsRotatable() && z;
|
|
67898
|
+
return /* @__PURE__ */ Le.jsxs(
|
|
67888
67899
|
"div",
|
|
67889
67900
|
{
|
|
67890
67901
|
role: "complementary",
|
|
@@ -67897,23 +67908,23 @@ const tve = ({ target: n, parameters: e, InitCallback: t, ErrorCallback: r, Unmo
|
|
|
67897
67908
|
},
|
|
67898
67909
|
className: [Al["player-container"], N ? Al["player-container--rotated"] : "", `__eluvio-player--size-${m}`, `__eluvio-player--orientation-${b}`].join(" "),
|
|
67899
67910
|
children: [
|
|
67900
|
-
!Ce || !L ? null : /* @__PURE__ */
|
|
67901
|
-
/* @__PURE__ */
|
|
67911
|
+
!Ce || !L ? null : /* @__PURE__ */ Le.jsx(Zge, { player: u, Close: () => u.controls.HidePlayerProfileForm() }),
|
|
67912
|
+
/* @__PURE__ */ Le.jsx(
|
|
67902
67913
|
"video",
|
|
67903
67914
|
{
|
|
67904
67915
|
playsInline: !0,
|
|
67905
67916
|
disablePictureInPicture: !0,
|
|
67906
67917
|
ref: j,
|
|
67907
|
-
muted: [
|
|
67908
|
-
controls: e.playerOptions.controls ===
|
|
67909
|
-
loop: e.playerOptions.loop ===
|
|
67918
|
+
muted: [jt.muted.ON, jt.muted.WHEN_NOT_VISIBLE].includes(e.playerOptions.muted),
|
|
67919
|
+
controls: e.playerOptions.controls === jt.controls.DEFAULT,
|
|
67920
|
+
loop: e.playerOptions.loop === jt.loop.ON,
|
|
67910
67921
|
className: Al.video
|
|
67911
67922
|
}
|
|
67912
67923
|
),
|
|
67913
|
-
!u || q || !de ? null : /* @__PURE__ */
|
|
67914
|
-
L || T ? null : /* @__PURE__ */
|
|
67915
|
-
T ? /* @__PURE__ */
|
|
67916
|
-
u ? e.playerOptions.ui ===
|
|
67924
|
+
!u || q || !de ? null : /* @__PURE__ */ Le.jsx(Xge, { player: u }),
|
|
67925
|
+
L || T || !e.playerOptions.showLoader ? null : /* @__PURE__ */ Le.jsx("div", { className: Al["spinner-container"], children: /* @__PURE__ */ Le.jsx(Ob, { className: Al.spinner }) }),
|
|
67926
|
+
T ? /* @__PURE__ */ Le.jsx("div", { className: Al["error-message"], children: T }) : null,
|
|
67927
|
+
u ? e.playerOptions.ui === jt.ui.WEB ? /* @__PURE__ */ Le.jsx(
|
|
67917
67928
|
xge,
|
|
67918
67929
|
{
|
|
67919
67930
|
player: u,
|
|
@@ -67923,7 +67934,7 @@ const tve = ({ target: n, parameters: e, InitCallback: t, ErrorCallback: r, Unmo
|
|
|
67923
67934
|
setRecentUserAction: ae,
|
|
67924
67935
|
className: Al.controls
|
|
67925
67936
|
}
|
|
67926
|
-
) : /* @__PURE__ */
|
|
67937
|
+
) : /* @__PURE__ */ Le.jsx(
|
|
67927
67938
|
$ge,
|
|
67928
67939
|
{
|
|
67929
67940
|
player: u,
|
|
@@ -67934,7 +67945,7 @@ const tve = ({ target: n, parameters: e, InitCallback: t, ErrorCallback: r, Unmo
|
|
|
67934
67945
|
className: Al.controls
|
|
67935
67946
|
}
|
|
67936
67947
|
) : null,
|
|
67937
|
-
x ? /* @__PURE__ */
|
|
67948
|
+
x ? /* @__PURE__ */ Le.jsx(
|
|
67938
67949
|
hge,
|
|
67939
67950
|
{
|
|
67940
67951
|
action: x
|
|
@@ -67957,7 +67968,7 @@ const tve = ({ target: n, parameters: e, InitCallback: t, ErrorCallback: r, Unmo
|
|
|
67957
67968
|
}, mve = (n, e) => (n.innerHTML = "", n.classList.add(qG.reset), n.classList.add(Al["player-target"]), e = Oz(e), e.playerOptions && e.playerOptions.backgroundColor && (n.style.backgroundColor = e.playerOptions.backgroundColor), new Promise((t, r) => {
|
|
67958
67969
|
const i = Vv.createRoot(n);
|
|
67959
67970
|
i.render(
|
|
67960
|
-
/* @__PURE__ */
|
|
67971
|
+
/* @__PURE__ */ Le.jsx(zG.StrictMode, { children: /* @__PURE__ */ Le.jsx(
|
|
67961
67972
|
nve,
|
|
67962
67973
|
{
|
|
67963
67974
|
target: n,
|
|
@@ -67977,7 +67988,7 @@ const tve = ({ target: n, parameters: e, InitCallback: t, ErrorCallback: r, Unmo
|
|
|
67977
67988
|
}));
|
|
67978
67989
|
export {
|
|
67979
67990
|
mve as I,
|
|
67980
|
-
|
|
67991
|
+
jt as P,
|
|
67981
67992
|
V4 as a,
|
|
67982
67993
|
Za as b,
|
|
67983
67994
|
dW as c,
|