@platform-x/hcltechx-mfe-wrapper 2.0.50 → 2.0.52
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/{ArticleVodList-Bqxg7IhU.mjs → ArticleVodList-Cj_nAPnG.mjs} +380 -138
- package/ArticleVodListComponent-COHApmSr.mjs +37 -0
- package/{ChallengeDetailComponent-DqAtkTfr.mjs → ChallengeDetailComponent-kF-tb095.mjs} +52 -44
- package/CommonContentComponent-F8B9Upz1.mjs +80 -0
- package/{DailyMotion-CXUu6PG2.mjs → DailyMotion-0-c2CjmZ.mjs} +3 -3
- package/{EngagementHomeComponent-38V_tA69.mjs → EngagementHomeComponent-B6LFyKjA.mjs} +60 -52
- package/{EventDetailComponent-BIP4ORuv.mjs → EventDetailComponent-Cl8k2wJl.mjs} +42 -34
- package/{EventList-Dl3X73Bh.mjs → EventList-CxFoCi9G.mjs} +1282 -470
- package/EventListComponent-C3kGym6X.mjs +93 -0
- package/{Facebook-CqkX0iWt.mjs → Facebook-D3mBmxJ4.mjs} +1 -1
- package/{FilePlayer-DnO2C4yT.mjs → FilePlayer-ChxlE7Mq.mjs} +3 -3
- package/{FilterModal-CcBUM-si.mjs → FilterModal-Co-pXytt.mjs} +211 -82
- package/{IndividualChallengeComponent-C7V3IIXr.mjs → IndividualChallengeComponent-lcfNvAG2.mjs} +48 -40
- package/{Kaltura-Cv56BaXW.mjs → Kaltura-CVM_RV_2.mjs} +1 -1
- package/{Mixcloud-Dl4FADxu.mjs → Mixcloud-CrAs0_VC.mjs} +1 -1
- package/{Mux-BOhOsoTR.mjs → Mux-DUOqA2mZ.mjs} +1 -1
- package/PageComponent-C1KnYfvg.mjs +101 -0
- package/{Preview-DWu7kh4u.mjs → Preview-BAaYuYFo.mjs} +1 -1
- package/RecentCarousel-Ijkg2aEl.mjs +342 -0
- package/Share-DxWLmWXU.mjs +1938 -0
- package/{SoundCloud-Cwhb-VLv.mjs → SoundCloud-CJSQ2ZP7.mjs} +3 -3
- package/{Streamable-fhJbKu3n.mjs → Streamable-CcMyPRKJ.mjs} +1 -1
- package/{Twitch-Cgt9Rrqo.mjs → Twitch-zIalaDyC.mjs} +4 -4
- package/{Vidyard-Zto8uUsP.mjs → Vidyard-DYZnDhS1.mjs} +3 -3
- package/{Vimeo-CrH4DAeh.mjs → Vimeo-B9h2Hwv0.mjs} +1 -1
- package/{Wistia-BUEAgZNS.mjs → Wistia-iTgHdNz1.mjs} +1 -1
- package/{YouTube-CFwrK-Ik.mjs → YouTube-jcHqrx6u.mjs} +15 -15
- package/{index-B-14G1yk.mjs → index-CFrb1iB4.mjs} +113475 -102227
- package/index-DpnyhOiJ.mjs +1235 -0
- package/index.mjs +2 -2
- package/package.json +2 -2
- package/ArticleVodListComponent-CTkahLKx.mjs +0 -29
- package/CommonContentComponent-D-4qdsGD.mjs +0 -72
- package/EventListComponent-BtfiiaEJ.mjs +0 -85
- package/PageComponent-CoPpBb5X.mjs +0 -73
- package/RecentCarousel--5EYC5V8.mjs +0 -247
- package/Share-BGwFzMRX.mjs +0 -1578
- package/index-AGK0xX7s.mjs +0 -704
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as P, a0 as g, a1 as b } from "./index-CFrb1iB4.mjs";
|
|
2
2
|
import v from "react";
|
|
3
3
|
function O(t, e) {
|
|
4
4
|
for (var r = 0; r < e.length; r++) {
|
|
@@ -113,10 +113,10 @@ class u extends p.Component {
|
|
|
113
113
|
a(u, "displayName", "SoundCloud");
|
|
114
114
|
a(u, "canPlay", T.canPlay.soundcloud);
|
|
115
115
|
a(u, "loopOnEnded", !0);
|
|
116
|
-
const x = /* @__PURE__ */ P(f),
|
|
116
|
+
const x = /* @__PURE__ */ P(f), I = /* @__PURE__ */ O({
|
|
117
117
|
__proto__: null,
|
|
118
118
|
default: x
|
|
119
119
|
}, [f]);
|
|
120
120
|
export {
|
|
121
|
-
|
|
121
|
+
I as S
|
|
122
122
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as w, a0 as D, a1 as C } from "./index-CFrb1iB4.mjs";
|
|
2
2
|
import N from "react";
|
|
3
3
|
function I(t, e) {
|
|
4
4
|
for (var r = 0; r < e.length; r++) {
|
|
@@ -36,10 +36,10 @@ x(P, {
|
|
|
36
36
|
default: () => h
|
|
37
37
|
});
|
|
38
38
|
var f = U(P), y = F(N), c = D, u = C;
|
|
39
|
-
const
|
|
39
|
+
const K = "https://player.twitch.tv/js/embed/v1.js", V = "Twitch", $ = "twitch-player-";
|
|
40
40
|
class h extends y.Component {
|
|
41
41
|
constructor() {
|
|
42
|
-
super(...arguments), o(this, "callPlayer", c.callPlayer), o(this, "playerID", this.props.config.playerId || `${
|
|
42
|
+
super(...arguments), o(this, "callPlayer", c.callPlayer), o(this, "playerID", this.props.config.playerId || `${$}${(0, c.randomString)()}`), o(this, "mute", () => {
|
|
43
43
|
this.callPlayer("setMuted", !0);
|
|
44
44
|
}), o(this, "unmute", () => {
|
|
45
45
|
this.callPlayer("setMuted", !1);
|
|
@@ -54,7 +54,7 @@ class h extends y.Component {
|
|
|
54
54
|
i ? this.player.setChannel(p) : this.player.setVideo("v" + p);
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
(0, c.getSDK)(
|
|
57
|
+
(0, c.getSDK)(K, V).then((d) => {
|
|
58
58
|
this.player = new d.Player(this.playerID, {
|
|
59
59
|
video: i ? "" : p,
|
|
60
60
|
channel: i ? p : "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as g, a0 as v, a1 as b } from "./index-CFrb1iB4.mjs";
|
|
2
2
|
import O from "react";
|
|
3
3
|
function V(t, e) {
|
|
4
4
|
for (var r = 0; r < e.length; r++) {
|
|
@@ -103,10 +103,10 @@ class d extends c.Component {
|
|
|
103
103
|
}
|
|
104
104
|
s(d, "displayName", "Vidyard");
|
|
105
105
|
s(d, "canPlay", P.canPlay.vidyard);
|
|
106
|
-
const T = /* @__PURE__ */ g(f),
|
|
106
|
+
const T = /* @__PURE__ */ g(f), B = /* @__PURE__ */ V({
|
|
107
107
|
__proto__: null,
|
|
108
108
|
default: T
|
|
109
109
|
}, [f]);
|
|
110
110
|
export {
|
|
111
|
-
|
|
111
|
+
B as V
|
|
112
112
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as U, a0 as I, a1 as L } from "./index-CFrb1iB4.mjs";
|
|
2
2
|
import M from "react";
|
|
3
3
|
function Y(a, e) {
|
|
4
4
|
for (var t = 0; t < e.length; t++) {
|
|
@@ -35,11 +35,11 @@ var k = Object.create, u = Object.defineProperty, N = Object.getOwnPropertyDescr
|
|
|
35
35
|
x(w, {
|
|
36
36
|
default: () => O
|
|
37
37
|
});
|
|
38
|
-
var S = H(w), m = F(M),
|
|
39
|
-
const G = "https://www.youtube.com/iframe_api", T = "YT", z = "onYouTubeIframeAPIReady", f = /[?&](?:list|channel)=([a-zA-Z0-9_-]+)/, b = /user\/([a-zA-Z0-9_-]+)\/?/,
|
|
38
|
+
var S = H(w), m = F(M), c = I, D = L;
|
|
39
|
+
const G = "https://www.youtube.com/iframe_api", T = "YT", z = "onYouTubeIframeAPIReady", f = /[?&](?:list|channel)=([a-zA-Z0-9_-]+)/, b = /user\/([a-zA-Z0-9_-]+)\/?/, Q = /youtube-nocookie\.com/, Z = "https://www.youtube-nocookie.com";
|
|
40
40
|
class O extends m.Component {
|
|
41
41
|
constructor() {
|
|
42
|
-
super(...arguments), s(this, "callPlayer",
|
|
42
|
+
super(...arguments), s(this, "callPlayer", c.callPlayer), s(this, "parsePlaylist", (e) => {
|
|
43
43
|
if (e instanceof Array)
|
|
44
44
|
return {
|
|
45
45
|
listType: "playlist",
|
|
@@ -61,8 +61,8 @@ class O extends m.Component {
|
|
|
61
61
|
}
|
|
62
62
|
return {};
|
|
63
63
|
}), s(this, "onStateChange", (e) => {
|
|
64
|
-
const { data: t } = e, { onPlay: o, onPause: r, onBuffer: n, onBufferEnd: P, onEnded: _, onReady: g, loop: y, config: { playerVars: l, onUnstarted: d } } = this.props, { UNSTARTED: h, PLAYING:
|
|
65
|
-
if (t === h && d(), t ===
|
|
64
|
+
const { data: t } = e, { onPlay: o, onPause: r, onBuffer: n, onBufferEnd: P, onEnded: _, onReady: g, loop: y, config: { playerVars: l, onUnstarted: d } } = this.props, { UNSTARTED: h, PLAYING: p, PAUSED: i, BUFFERING: E, ENDED: A, CUED: C } = window[T].PlayerState;
|
|
65
|
+
if (t === h && d(), t === p && (o(), P()), t === i && r(), t === E && n(), t === A) {
|
|
66
66
|
const R = !!this.callPlayer("getPlaylist");
|
|
67
67
|
y && !R && (l.start ? this.seekTo(l.start) : this.play()), _();
|
|
68
68
|
}
|
|
@@ -90,13 +90,13 @@ class O extends m.Component {
|
|
|
90
90
|
}
|
|
91
91
|
this.player.cueVideoById({
|
|
92
92
|
videoId: h,
|
|
93
|
-
startSeconds: (0,
|
|
94
|
-
endSeconds: (0,
|
|
93
|
+
startSeconds: (0, c.parseStartTime)(e) || l.start,
|
|
94
|
+
endSeconds: (0, c.parseEndTime)(e) || l.end
|
|
95
95
|
});
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
|
-
(0,
|
|
99
|
-
this.container && (this.player = new
|
|
98
|
+
(0, c.getSDK)(G, T, z, (p) => p.loaded).then((p) => {
|
|
99
|
+
this.container && (this.player = new p.Player(this.container, {
|
|
100
100
|
width: "100%",
|
|
101
101
|
height: "100%",
|
|
102
102
|
videoId: h,
|
|
@@ -104,8 +104,8 @@ class O extends m.Component {
|
|
|
104
104
|
autoplay: o ? 1 : 0,
|
|
105
105
|
mute: r ? 1 : 0,
|
|
106
106
|
controls: P ? 1 : 0,
|
|
107
|
-
start: (0,
|
|
108
|
-
end: (0,
|
|
107
|
+
start: (0, c.parseStartTime)(e),
|
|
108
|
+
end: (0, c.parseEndTime)(e),
|
|
109
109
|
origin: window.location.origin,
|
|
110
110
|
playsinline: n ? 1 : 0,
|
|
111
111
|
...this.parsePlaylist(e),
|
|
@@ -120,7 +120,7 @@ class O extends m.Component {
|
|
|
120
120
|
onStateChange: this.onStateChange,
|
|
121
121
|
onError: (i) => y(i.data)
|
|
122
122
|
},
|
|
123
|
-
host:
|
|
123
|
+
host: Q.test(e) ? Z : void 0,
|
|
124
124
|
...d
|
|
125
125
|
}));
|
|
126
126
|
}, y), d.events && console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer’s callback props instead, eg onReady, onPlay, onPause");
|
|
@@ -166,9 +166,9 @@ class O extends m.Component {
|
|
|
166
166
|
}
|
|
167
167
|
s(O, "displayName", "YouTube");
|
|
168
168
|
s(O, "canPlay", D.canPlay.youtube);
|
|
169
|
-
const
|
|
169
|
+
const $ = /* @__PURE__ */ U(S), W = /* @__PURE__ */ Y({
|
|
170
170
|
__proto__: null,
|
|
171
|
-
default:
|
|
171
|
+
default: $
|
|
172
172
|
}, [S]);
|
|
173
173
|
export {
|
|
174
174
|
W as Y
|