@lanaco/lnc-react-ui 4.0.115 → 4.0.116
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/ContactSection.cjs +1 -1
- package/dist/ContactSection.js +46 -46
- package/dist/{DailyMotion-CUHIuSln.js → DailyMotion-BrbMSyj1.js} +1 -1
- package/dist/{DailyMotion-D46sLmkS.cjs → DailyMotion-CPQ6kDJJ.cjs} +1 -1
- package/dist/{Facebook-R53Rry9l.cjs → Facebook-DKhRiODC.cjs} +1 -1
- package/dist/{Facebook-aEQQxj-r.js → Facebook-Dw3my9_4.js} +1 -1
- package/dist/FaqSection.cjs +5 -5
- package/dist/FaqSection.js +66 -66
- package/dist/{FilePlayer-9FdL9kM0.js → FilePlayer-Ckx8dmB0.js} +1 -1
- package/dist/{FilePlayer-D9up8eWZ.cjs → FilePlayer-DlCyGLHB.cjs} +1 -1
- package/dist/{Kaltura-C170sgeD.cjs → Kaltura-31Xm8S1J.cjs} +1 -1
- package/dist/{Kaltura-Dziqci9-.js → Kaltura-qHdDvnjZ.js} +1 -1
- package/dist/{Mixcloud-Towpm_ct.cjs → Mixcloud-CP9Zq_TX.cjs} +1 -1
- package/dist/{Mixcloud-Cfn28kqf.js → Mixcloud-DvH0vfg5.js} +1 -1
- package/dist/{Mux-D0MPDKkM.js → Mux--JeF6dPG.js} +1 -1
- package/dist/{Mux-yqNOmuss.cjs → Mux-BlblTeid.cjs} +1 -1
- package/dist/{SearchSection-BUD-hnQA.cjs → SearchSection-BGK1Fxaj.cjs} +2 -2
- package/dist/{SearchSection-xe0nvARV.js → SearchSection-CsfURtvf.js} +77 -77
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/{SoundCloud-YZlcPffr.cjs → SoundCloud-1hd9TBSO.cjs} +1 -1
- package/dist/{SoundCloud-D85Da68L.js → SoundCloud-CKaavZky.js} +1 -1
- package/dist/{Streamable-Zj4FOeBP.js → Streamable-CZEPghiG.js} +1 -1
- package/dist/{Streamable-CJQf8evZ.cjs → Streamable-DLxq1ZNX.cjs} +1 -1
- package/dist/{Twitch-DC97YrR8.js → Twitch-BJeGquex.js} +1 -1
- package/dist/{Twitch-Ba2O5gTX.cjs → Twitch-Bb8e342z.cjs} +1 -1
- package/dist/{Vidyard-D9vYqvNv.js → Vidyard-CuGoX_VE.js} +1 -1
- package/dist/{Vidyard-BdNB5Wka.cjs → Vidyard-WNQdOeK1.cjs} +1 -1
- package/dist/{Vimeo-23LnW4uS.js → Vimeo-B9eKoxWn.js} +1 -1
- package/dist/{Vimeo-DatJiKS5.cjs → Vimeo-Da2vBv-V.cjs} +1 -1
- package/dist/{Wistia-d2TQ3m-s.js → Wistia-BB50IUif.js} +1 -1
- package/dist/{Wistia-D--UDN6c.cjs → Wistia-ZPcGhh1L.cjs} +1 -1
- package/dist/{YouTube-BEkcZxN7.cjs → YouTube-4RMnpdLL.cjs} +1 -1
- package/dist/{YouTube-x5-hc3s6.js → YouTube-CG6JL2_w.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as c, jsxs as
|
|
1
|
+
import { jsx as c, jsxs as T } from "react/jsx-runtime";
|
|
2
2
|
import Z, { forwardRef as q } from "react";
|
|
3
3
|
import { P as b, p as Ze } from "./index-CblbdqjE.js";
|
|
4
4
|
import qe from "./TextInput.js";
|
|
@@ -7,7 +7,7 @@ import Qe from "./Chip.js";
|
|
|
7
7
|
import { s as G } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
8
|
import { M as de } from "./consts-BuFChS64.js";
|
|
9
9
|
import { a as et, c as z, g as tt } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
10
|
-
import { r as
|
|
10
|
+
import { r as fe } from "./index-wlx30R-h.js";
|
|
11
11
|
import { u as rt } from "./useDetectMobile-Bkvj0VMa.js";
|
|
12
12
|
const at = G.div`
|
|
13
13
|
display: flex;
|
|
@@ -98,8 +98,8 @@ var ot = function(t, r, n) {
|
|
|
98
98
|
var a = document.head || document.getElementsByTagName("head")[0], o = document.createElement("script");
|
|
99
99
|
typeof r == "function" && (n = r, r = {}), r = r || {}, n = n || function() {
|
|
100
100
|
}, o.type = r.type || "text/javascript", o.charset = r.charset || "utf8", o.async = "async" in r ? !!r.async : !0, o.src = t, r.attrs && it(o, r.attrs), r.text && (o.text = "" + r.text);
|
|
101
|
-
var
|
|
102
|
-
|
|
101
|
+
var f = "onload" in o ? oe : st;
|
|
102
|
+
f(o, n), o.onload || oe(o, n), a.appendChild(o);
|
|
103
103
|
};
|
|
104
104
|
function it(e, t) {
|
|
105
105
|
for (var r in t)
|
|
@@ -125,17 +125,17 @@ function ct(e) {
|
|
|
125
125
|
}
|
|
126
126
|
function ut(e) {
|
|
127
127
|
var t = Object.prototype.toString.call(e);
|
|
128
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
128
|
+
return t === "[object RegExp]" || t === "[object Date]" || ft(e);
|
|
129
129
|
}
|
|
130
130
|
var pt = typeof Symbol == "function" && Symbol.for, dt = pt ? Symbol.for("react.element") : 60103;
|
|
131
|
-
function
|
|
131
|
+
function ft(e) {
|
|
132
132
|
return e.$$typeof === dt;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function yt(e) {
|
|
135
135
|
return Array.isArray(e) ? [] : {};
|
|
136
136
|
}
|
|
137
137
|
function I(e, t) {
|
|
138
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? E(
|
|
138
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? E(yt(e), e, t) : e;
|
|
139
139
|
}
|
|
140
140
|
function ht(e, t, r) {
|
|
141
141
|
return e.concat(t).map(function(n) {
|
|
@@ -156,7 +156,7 @@ function _t(e) {
|
|
|
156
156
|
function ie(e) {
|
|
157
157
|
return Object.keys(e).concat(_t(e));
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function ye(e, t) {
|
|
160
160
|
try {
|
|
161
161
|
return t in e;
|
|
162
162
|
} catch {
|
|
@@ -164,14 +164,14 @@ function fe(e, t) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
function gt(e, t) {
|
|
167
|
-
return
|
|
167
|
+
return ye(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
168
168
|
}
|
|
169
169
|
function Pt(e, t, r) {
|
|
170
170
|
var n = {};
|
|
171
171
|
return r.isMergeableObject(e) && ie(e).forEach(function(a) {
|
|
172
172
|
n[a] = I(e[a], r);
|
|
173
173
|
}), ie(t).forEach(function(a) {
|
|
174
|
-
gt(e, a) || (
|
|
174
|
+
gt(e, a) || (ye(e, a) && r.isMergeableObject(t[a]) ? n[a] = mt(a, r)(e[a], t[a], r) : n[a] = I(t[a], r));
|
|
175
175
|
}), n;
|
|
176
176
|
}
|
|
177
177
|
function E(e, t, r) {
|
|
@@ -186,15 +186,15 @@ E.all = function(t, r) {
|
|
|
186
186
|
return E(n, a, r);
|
|
187
187
|
}, {});
|
|
188
188
|
};
|
|
189
|
-
var bt = E, he = bt, vt = Object.create, j = Object.defineProperty, wt = Object.getOwnPropertyDescriptor, Ot = Object.getOwnPropertyNames,
|
|
189
|
+
var bt = E, he = bt, vt = Object.create, j = Object.defineProperty, wt = Object.getOwnPropertyDescriptor, Ot = Object.getOwnPropertyNames, St = Object.getPrototypeOf, Tt = Object.prototype.hasOwnProperty, Ct = (e, t) => {
|
|
190
190
|
for (var r in t)
|
|
191
191
|
j(e, r, { get: t[r], enumerable: !0 });
|
|
192
192
|
}, me = (e, t, r, n) => {
|
|
193
193
|
if (t && typeof t == "object" || typeof t == "function")
|
|
194
194
|
for (let a of Ot(t))
|
|
195
|
-
!
|
|
195
|
+
!Tt.call(e, a) && a !== r && j(e, a, { get: () => t[a], enumerable: !(n = wt(t, a)) || n.enumerable });
|
|
196
196
|
return e;
|
|
197
|
-
}, Q = (e, t, r) => (r = e != null ? vt(
|
|
197
|
+
}, Q = (e, t, r) => (r = e != null ? vt(St(e)) : {}, me(
|
|
198
198
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
199
199
|
// file that has been converted to a CommonJS file using a Babel-
|
|
200
200
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
@@ -257,13 +257,13 @@ function V(e) {
|
|
|
257
257
|
return window[e] ? window[e] : window.exports && window.exports[e] ? window.exports[e] : window.module && window.module.exports && window.module.exports[e] ? window.module.exports[e] : null;
|
|
258
258
|
}
|
|
259
259
|
const O = {}, Ht = function(t, r, n = null, a = () => !0, o = At.default) {
|
|
260
|
-
const
|
|
261
|
-
return
|
|
260
|
+
const f = V(r);
|
|
261
|
+
return f && a(f) ? Promise.resolve(f) : new Promise((y, u) => {
|
|
262
262
|
if (O[t]) {
|
|
263
|
-
O[t].push({ resolve:
|
|
263
|
+
O[t].push({ resolve: y, reject: u });
|
|
264
264
|
return;
|
|
265
265
|
}
|
|
266
|
-
O[t] = [{ resolve:
|
|
266
|
+
O[t] = [{ resolve: y, reject: u }];
|
|
267
267
|
const w = (v) => {
|
|
268
268
|
O[t].forEach((M) => M.resolve(v));
|
|
269
269
|
};
|
|
@@ -320,12 +320,12 @@ Zt(Pe, {
|
|
|
320
320
|
HLS_EXTENSIONS: () => ae,
|
|
321
321
|
MATCH_URL_DAILYMOTION: () => Ae,
|
|
322
322
|
MATCH_URL_FACEBOOK: () => Oe,
|
|
323
|
-
MATCH_URL_FACEBOOK_WATCH: () =>
|
|
323
|
+
MATCH_URL_FACEBOOK_WATCH: () => Se,
|
|
324
324
|
MATCH_URL_KALTURA: () => Ie,
|
|
325
325
|
MATCH_URL_MIXCLOUD: () => xe,
|
|
326
326
|
MATCH_URL_MUX: () => we,
|
|
327
327
|
MATCH_URL_SOUNDCLOUD: () => be,
|
|
328
|
-
MATCH_URL_STREAMABLE: () =>
|
|
328
|
+
MATCH_URL_STREAMABLE: () => Te,
|
|
329
329
|
MATCH_URL_TWITCH_CHANNEL: () => Me,
|
|
330
330
|
MATCH_URL_TWITCH_VIDEO: () => Ee,
|
|
331
331
|
MATCH_URL_VIDYARD: () => Re,
|
|
@@ -336,7 +336,7 @@ Zt(Pe, {
|
|
|
336
336
|
canPlay: () => er
|
|
337
337
|
});
|
|
338
338
|
var Qt = Gt(Pe), se = D;
|
|
339
|
-
const W = /(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//, be = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/, ve = /vimeo\.com\/(?!progressive_redirect).+/, we = /stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/, Oe = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,
|
|
339
|
+
const W = /(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//, be = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/, ve = /vimeo\.com\/(?!progressive_redirect).+/, we = /stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/, Oe = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/, Se = /^https?:\/\/fb\.watch\/.+$/, Te = /streamable\.com\/([a-z0-9]+)$/, Ce = /(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/, Ee = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/, Me = /(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/, Ae = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/, xe = /mixcloud\.com\/([^/]+\/[^/]+)/, Re = /vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/, Ie = /^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/, te = /\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i, re = /\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i, ae = /\.(m3u8)($|\?)/i, $e = /\.(mpd)($|\?)/i, Le = /\.(flv)($|\?)/i, Y = (e) => {
|
|
340
340
|
if (e instanceof Array) {
|
|
341
341
|
for (const t of e)
|
|
342
342
|
if (typeof t == "string" && Y(t) || Y(t.src))
|
|
@@ -349,8 +349,8 @@ const W = /(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|w
|
|
|
349
349
|
soundcloud: (e) => be.test(e) && !te.test(e),
|
|
350
350
|
vimeo: (e) => ve.test(e) && !re.test(e) && !ae.test(e),
|
|
351
351
|
mux: (e) => we.test(e),
|
|
352
|
-
facebook: (e) => Oe.test(e) ||
|
|
353
|
-
streamable: (e) =>
|
|
352
|
+
facebook: (e) => Oe.test(e) || Se.test(e),
|
|
353
|
+
streamable: (e) => Te.test(e),
|
|
354
354
|
wistia: (e) => Ce.test(e),
|
|
355
355
|
twitch: (e) => Ee.test(e) || Me.test(e),
|
|
356
356
|
dailymotion: (e) => Ae.test(e),
|
|
@@ -378,7 +378,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
378
378
|
canPlay: m.canPlay.youtube,
|
|
379
379
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
380
380
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
381
|
-
"./YouTube-
|
|
381
|
+
"./YouTube-CG6JL2_w.js"
|
|
382
382
|
).then((e) => e.Y))
|
|
383
383
|
},
|
|
384
384
|
{
|
|
@@ -387,7 +387,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
387
387
|
canPlay: m.canPlay.soundcloud,
|
|
388
388
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
389
389
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
390
|
-
"./SoundCloud-
|
|
390
|
+
"./SoundCloud-CKaavZky.js"
|
|
391
391
|
).then((e) => e.S))
|
|
392
392
|
},
|
|
393
393
|
{
|
|
@@ -396,7 +396,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
396
396
|
canPlay: m.canPlay.vimeo,
|
|
397
397
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
398
398
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
399
|
-
"./Vimeo-
|
|
399
|
+
"./Vimeo-B9eKoxWn.js"
|
|
400
400
|
).then((e) => e.V))
|
|
401
401
|
},
|
|
402
402
|
{
|
|
@@ -405,7 +405,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
405
405
|
canPlay: m.canPlay.mux,
|
|
406
406
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
407
407
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
408
|
-
"./Mux
|
|
408
|
+
"./Mux--JeF6dPG.js"
|
|
409
409
|
).then((e) => e.M))
|
|
410
410
|
},
|
|
411
411
|
{
|
|
@@ -414,7 +414,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
414
414
|
canPlay: m.canPlay.facebook,
|
|
415
415
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
416
416
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
417
|
-
"./Facebook-
|
|
417
|
+
"./Facebook-Dw3my9_4.js"
|
|
418
418
|
).then((e) => e.F))
|
|
419
419
|
},
|
|
420
420
|
{
|
|
@@ -423,7 +423,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
423
423
|
canPlay: m.canPlay.streamable,
|
|
424
424
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
425
425
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
426
|
-
"./Streamable-
|
|
426
|
+
"./Streamable-CZEPghiG.js"
|
|
427
427
|
).then((e) => e.S))
|
|
428
428
|
},
|
|
429
429
|
{
|
|
@@ -432,7 +432,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
432
432
|
canPlay: m.canPlay.wistia,
|
|
433
433
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
434
434
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
435
|
-
"./Wistia-
|
|
435
|
+
"./Wistia-BB50IUif.js"
|
|
436
436
|
).then((e) => e.W))
|
|
437
437
|
},
|
|
438
438
|
{
|
|
@@ -441,7 +441,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
441
441
|
canPlay: m.canPlay.twitch,
|
|
442
442
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
443
443
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
444
|
-
"./Twitch-
|
|
444
|
+
"./Twitch-BJeGquex.js"
|
|
445
445
|
).then((e) => e.T))
|
|
446
446
|
},
|
|
447
447
|
{
|
|
@@ -450,7 +450,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
450
450
|
canPlay: m.canPlay.dailymotion,
|
|
451
451
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
452
452
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
453
|
-
"./DailyMotion-
|
|
453
|
+
"./DailyMotion-BrbMSyj1.js"
|
|
454
454
|
).then((e) => e.D))
|
|
455
455
|
},
|
|
456
456
|
{
|
|
@@ -459,7 +459,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
459
459
|
canPlay: m.canPlay.mixcloud,
|
|
460
460
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
461
461
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
462
|
-
"./Mixcloud-
|
|
462
|
+
"./Mixcloud-DvH0vfg5.js"
|
|
463
463
|
).then((e) => e.M))
|
|
464
464
|
},
|
|
465
465
|
{
|
|
@@ -468,7 +468,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
468
468
|
canPlay: m.canPlay.vidyard,
|
|
469
469
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
470
470
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
471
|
-
"./Vidyard-
|
|
471
|
+
"./Vidyard-CuGoX_VE.js"
|
|
472
472
|
).then((e) => e.V))
|
|
473
473
|
},
|
|
474
474
|
{
|
|
@@ -477,7 +477,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
477
477
|
canPlay: m.canPlay.kaltura,
|
|
478
478
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
479
479
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
480
|
-
"./Kaltura-
|
|
480
|
+
"./Kaltura-qHdDvnjZ.js"
|
|
481
481
|
).then((e) => e.K))
|
|
482
482
|
},
|
|
483
483
|
{
|
|
@@ -487,7 +487,7 @@ var sr = ir(Ne), g = D, m = Qt, lr = [
|
|
|
487
487
|
canEnablePIP: (e) => m.canPlay.file(e) && (document.pictureInPictureEnabled || (0, g.supportsWebKitPresentationMode)()) && !m.AUDIO_EXTENSIONS.test(e),
|
|
488
488
|
lazyPlayer: (0, g.lazy)(() => import(
|
|
489
489
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
490
|
-
"./FilePlayer-
|
|
490
|
+
"./FilePlayer-Ckx8dmB0.js"
|
|
491
491
|
).then((e) => e.F))
|
|
492
492
|
}
|
|
493
493
|
], le = Number.isNaN || function(t) {
|
|
@@ -507,18 +507,18 @@ function ur(e, t) {
|
|
|
507
507
|
function pr(e, t) {
|
|
508
508
|
t === void 0 && (t = ur);
|
|
509
509
|
var r, n = [], a, o = !1;
|
|
510
|
-
function
|
|
511
|
-
for (var
|
|
512
|
-
|
|
513
|
-
return o && r === this && t(
|
|
510
|
+
function f() {
|
|
511
|
+
for (var y = [], u = 0; u < arguments.length; u++)
|
|
512
|
+
y[u] = arguments[u];
|
|
513
|
+
return o && r === this && t(y, n) || (a = e.apply(this, y), o = !0, r = this, n = y), a;
|
|
514
514
|
}
|
|
515
|
-
return
|
|
515
|
+
return f;
|
|
516
516
|
}
|
|
517
517
|
const dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
518
518
|
__proto__: null,
|
|
519
519
|
default: pr
|
|
520
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
521
|
-
var
|
|
520
|
+
}, Symbol.toStringTag, { value: "Module" })), fr = /* @__PURE__ */ et(dr);
|
|
521
|
+
var yr = Object.create, U = Object.defineProperty, hr = Object.getOwnPropertyDescriptor, mr = Object.getOwnPropertyNames, _r = Object.getPrototypeOf, gr = Object.prototype.hasOwnProperty, Pr = (e, t) => {
|
|
522
522
|
for (var r in t)
|
|
523
523
|
U(e, r, { get: t[r], enumerable: !0 });
|
|
524
524
|
}, je = (e, t, r, n) => {
|
|
@@ -526,7 +526,7 @@ var fr = Object.create, U = Object.defineProperty, hr = Object.getOwnPropertyDes
|
|
|
526
526
|
for (let a of mr(t))
|
|
527
527
|
!gr.call(e, a) && a !== r && U(e, a, { get: () => t[a], enumerable: !(n = hr(t, a)) || n.enumerable });
|
|
528
528
|
return e;
|
|
529
|
-
}, br = (e, t, r) => (r = e != null ?
|
|
529
|
+
}, br = (e, t, r) => (r = e != null ? yr(_r(e)) : {}, je(
|
|
530
530
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
531
531
|
// file that has been converted to a CommonJS file using a Babel-
|
|
532
532
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
@@ -535,28 +535,28 @@ var fr = Object.create, U = Object.defineProperty, hr = Object.getOwnPropertyDes
|
|
|
535
535
|
e
|
|
536
536
|
)), vr = (e) => je(U({}, "__esModule", { value: !0 }), e), De = {};
|
|
537
537
|
Pr(De, {
|
|
538
|
-
defaultProps: () =>
|
|
538
|
+
defaultProps: () => Sr,
|
|
539
539
|
propTypes: () => Or
|
|
540
540
|
});
|
|
541
541
|
var Ue = vr(De), wr = br(Ze);
|
|
542
|
-
const { string: p, bool: _, number:
|
|
542
|
+
const { string: p, bool: _, number: S, array: F, oneOfType: A, shape: P, object: h, func: l, node: ce } = wr.default, Or = {
|
|
543
543
|
url: A([p, F, h]),
|
|
544
544
|
playing: _,
|
|
545
545
|
loop: _,
|
|
546
546
|
controls: _,
|
|
547
|
-
volume:
|
|
547
|
+
volume: S,
|
|
548
548
|
muted: _,
|
|
549
|
-
playbackRate:
|
|
550
|
-
width: A([p,
|
|
551
|
-
height: A([p,
|
|
549
|
+
playbackRate: S,
|
|
550
|
+
width: A([p, S]),
|
|
551
|
+
height: A([p, S]),
|
|
552
552
|
style: h,
|
|
553
|
-
progressInterval:
|
|
553
|
+
progressInterval: S,
|
|
554
554
|
playsinline: _,
|
|
555
555
|
pip: _,
|
|
556
556
|
stopOnUnmount: _,
|
|
557
557
|
light: A([_, p, h]),
|
|
558
558
|
playIcon: ce,
|
|
559
|
-
previewTabIndex:
|
|
559
|
+
previewTabIndex: S,
|
|
560
560
|
previewAriaLabel: p,
|
|
561
561
|
fallback: ce,
|
|
562
562
|
oEmbedUrl: p,
|
|
@@ -639,7 +639,7 @@ const { string: p, bool: _, number: T, array: F, oneOfType: A, shape: P, object:
|
|
|
639
639
|
onEnablePIP: l,
|
|
640
640
|
onDisablePIP: l
|
|
641
641
|
}, d = () => {
|
|
642
|
-
},
|
|
642
|
+
}, Sr = {
|
|
643
643
|
playing: !1,
|
|
644
644
|
loop: !1,
|
|
645
645
|
controls: !1,
|
|
@@ -757,7 +757,7 @@ const { string: p, bool: _, number: T, array: F, oneOfType: A, shape: P, object:
|
|
|
757
757
|
onEnablePIP: d,
|
|
758
758
|
onDisablePIP: d
|
|
759
759
|
};
|
|
760
|
-
var
|
|
760
|
+
var Tr = Object.create, $ = Object.defineProperty, Cr = Object.getOwnPropertyDescriptor, Er = Object.getOwnPropertyNames, Mr = Object.getPrototypeOf, Ar = Object.prototype.hasOwnProperty, xr = (e, t, r) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rr = (e, t) => {
|
|
761
761
|
for (var r in t)
|
|
762
762
|
$(e, r, { get: t[r], enumerable: !0 });
|
|
763
763
|
}, ke = (e, t, r, n) => {
|
|
@@ -765,7 +765,7 @@ var Sr = Object.create, $ = Object.defineProperty, Cr = Object.getOwnPropertyDes
|
|
|
765
765
|
for (let a of Er(t))
|
|
766
766
|
!Ar.call(e, a) && a !== r && $(e, a, { get: () => t[a], enumerable: !(n = Cr(t, a)) || n.enumerable });
|
|
767
767
|
return e;
|
|
768
|
-
}, He = (e, t, r) => (r = e != null ?
|
|
768
|
+
}, He = (e, t, r) => (r = e != null ? Tr(Mr(e)) : {}, ke(
|
|
769
769
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
770
770
|
// file that has been converted to a CommonJS file using a Babel-
|
|
771
771
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
@@ -776,7 +776,7 @@ var Sr = Object.create, $ = Object.defineProperty, Cr = Object.getOwnPropertyDes
|
|
|
776
776
|
Rr(ze, {
|
|
777
777
|
default: () => k
|
|
778
778
|
});
|
|
779
|
-
var $r = Ir(ze), ue = He(Z), Lr = He(
|
|
779
|
+
var $r = Ir(ze), ue = He(Z), Lr = He(fe), Ve = Ue, Nr = D;
|
|
780
780
|
const jr = 5e3;
|
|
781
781
|
class k extends ue.Component {
|
|
782
782
|
constructor() {
|
|
@@ -832,7 +832,7 @@ class k extends ue.Component {
|
|
|
832
832
|
componentDidUpdate(t) {
|
|
833
833
|
if (!this.player)
|
|
834
834
|
return;
|
|
835
|
-
const { url: r, playing: n, volume: a, muted: o, playbackRate:
|
|
835
|
+
const { url: r, playing: n, volume: a, muted: o, playbackRate: f, pip: y, loop: u, activePlayer: w, disableDeferredLoading: v } = this.props;
|
|
836
836
|
if (!(0, Lr.default)(t.url, r)) {
|
|
837
837
|
if (this.isLoading && !w.forceLoad && !v && !(0, Nr.isMediaStream)(r)) {
|
|
838
838
|
console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`), this.loadOnReady = r;
|
|
@@ -840,7 +840,7 @@ class k extends ue.Component {
|
|
|
840
840
|
}
|
|
841
841
|
this.isLoading = !0, this.startOnPlay = !0, this.onDurationCalled = !1, this.player.load(r, this.isReady);
|
|
842
842
|
}
|
|
843
|
-
!t.playing && n && !this.isPlaying && this.player.play(), t.playing && !n && this.isPlaying && this.player.pause(), !t.pip &&
|
|
843
|
+
!t.playing && n && !this.isPlaying && this.player.play(), t.playing && !n && this.isPlaying && this.player.pause(), !t.pip && y && this.player.enablePIP && this.player.enablePIP(), t.pip && !y && this.player.disablePIP && this.player.disablePIP(), t.volume !== a && a !== null && this.player.setVolume(a), t.muted !== o && (o ? this.player.mute() : (this.player.unmute(), a !== null && setTimeout(() => this.player.setVolume(a)))), t.playbackRate !== f && this.player.setPlaybackRate && this.player.setPlaybackRate(f), t.loop !== u && this.player.setLoop && this.player.setLoop(u);
|
|
844
844
|
}
|
|
845
845
|
getDuration() {
|
|
846
846
|
return this.isReady ? this.player.getDuration() : null;
|
|
@@ -908,7 +908,7 @@ var Dr = Object.create, L = Object.defineProperty, Ur = Object.getOwnPropertyDes
|
|
|
908
908
|
Fr(Be, {
|
|
909
909
|
createReactPlayer: () => Qr
|
|
910
910
|
});
|
|
911
|
-
var Kr = Br(Be), C = N(Z), Xr = N(he), B = N(
|
|
911
|
+
var Kr = Br(Be), C = N(Z), Xr = N(he), B = N(fr), pe = N(fe), R = Ue, Ke = D, Wr = N($r);
|
|
912
912
|
const Yr = (0, Ke.lazy)(() => import(
|
|
913
913
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
914
914
|
"./Preview-CO6WSP5f.js"
|
|
@@ -978,23 +978,23 @@ const Yr = (0, Ke.lazy)(() => import(
|
|
|
978
978
|
renderPreview(n) {
|
|
979
979
|
if (!n)
|
|
980
980
|
return null;
|
|
981
|
-
const { light: a, playIcon: o, previewTabIndex:
|
|
981
|
+
const { light: a, playIcon: o, previewTabIndex: f, oEmbedUrl: y, previewAriaLabel: u } = this.props;
|
|
982
982
|
return /* @__PURE__ */ C.default.createElement(
|
|
983
983
|
Yr,
|
|
984
984
|
{
|
|
985
985
|
url: n,
|
|
986
986
|
light: a,
|
|
987
987
|
playIcon: o,
|
|
988
|
-
previewTabIndex:
|
|
988
|
+
previewTabIndex: f,
|
|
989
989
|
previewAriaLabel: u,
|
|
990
|
-
oEmbedUrl:
|
|
990
|
+
oEmbedUrl: y,
|
|
991
991
|
onClick: this.handleClickPreview
|
|
992
992
|
}
|
|
993
993
|
);
|
|
994
994
|
}
|
|
995
995
|
render() {
|
|
996
|
-
const { url: n, style: a, width: o, height:
|
|
997
|
-
return /* @__PURE__ */ C.default.createElement(u, { ref: M, style: { ...a, width: o, height:
|
|
996
|
+
const { url: n, style: a, width: o, height: f, fallback: y, wrapper: u } = this.props, { showPreview: w } = this.state, v = this.getAttributes(n), M = typeof u == "string" ? this.references.wrapper : void 0;
|
|
997
|
+
return /* @__PURE__ */ C.default.createElement(u, { ref: M, style: { ...a, width: o, height: f }, ...v }, /* @__PURE__ */ C.default.createElement(Gr, { fallback: y }, w ? this.renderPreview(n) : this.renderActivePlayer(n)));
|
|
998
998
|
}
|
|
999
999
|
}, i(r, "displayName", "ReactPlayer"), i(r, "propTypes", R.propTypes), i(r, "defaultProps", R.defaultProps), i(r, "addCustomPlayer", (n) => {
|
|
1000
1000
|
x.push(n);
|
|
@@ -1034,9 +1034,9 @@ oa(We, {
|
|
|
1034
1034
|
var la = sa(We), J = ia(sr), ca = Kr;
|
|
1035
1035
|
const ua = J.default[J.default.length - 1];
|
|
1036
1036
|
var pa = (0, ca.createReactPlayer)(J.default, ua);
|
|
1037
|
-
const da = /* @__PURE__ */ tt(la),
|
|
1037
|
+
const da = /* @__PURE__ */ tt(la), fa = "data:image/svg+xml,%3csvg%20width='65'%20height='65'%20viewBox='0%200%2065%2065'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='0.253906'%20y='0.5'%20width='64'%20height='64'%20rx='32'%20fill='url(%23paint0_linear_59350_95007)'/%3e%3cpath%20d='M21.0039%2047.5001C20.6724%2047.5001%2020.3544%2047.3684%2020.12%2047.134C19.8856%2046.8996%2019.7539%2046.5816%2019.7539%2046.2501V18.7501C19.7539%2018.5329%2019.8105%2018.3194%2019.9181%2018.1307C20.0257%2017.942%2020.1807%2017.7846%2020.3677%2017.674C20.5546%2017.5635%2020.7672%2017.5035%2020.9844%2017.5002C21.2016%2017.4968%2021.4159%2017.55%2021.6063%2017.6547L46.6063%2031.4047C46.8024%2031.5126%2046.966%2031.6711%2047.0799%2031.8638C47.1939%2032.0565%2047.254%2032.2762%2047.254%2032.5C47.254%2032.7239%2047.1939%2032.9436%2047.0799%2033.1363C46.966%2033.3289%2046.8024%2033.4875%2046.6063%2033.5953L21.6063%2047.3453C21.4217%2047.4468%2021.2145%2047.5001%2021.0039%2047.5001Z'%20fill='white'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_59350_95007'%20x1='32.2539'%20y1='64.5'%20x2='32.254'%20y2='0.499999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF7621'/%3e%3cstop%20offset='1'%20stop-color='%23FF9706'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Ye = ({ thumbnail: e }) => /* @__PURE__ */ T(nt, { children: [
|
|
1038
1038
|
/* @__PURE__ */ c("img", { src: e, className: "section__thumbnail", alt: "Thumbnail" }),
|
|
1039
|
-
/* @__PURE__ */ c("img", { src:
|
|
1039
|
+
/* @__PURE__ */ c("img", { src: fa, className: "section__play", alt: "Play" })
|
|
1040
1040
|
] }), Je = q(({ video: e, thumbnail: t }, r) => {
|
|
1041
1041
|
const n = rt();
|
|
1042
1042
|
return /* @__PURE__ */ c(
|
|
@@ -1059,7 +1059,7 @@ Je.propTypes = {
|
|
|
1059
1059
|
video: b.string,
|
|
1060
1060
|
thumbnail: b.string
|
|
1061
1061
|
};
|
|
1062
|
-
const
|
|
1062
|
+
const ya = G.div`
|
|
1063
1063
|
display: flex;
|
|
1064
1064
|
justify-content: space-between;
|
|
1065
1065
|
align-items: center;
|
|
@@ -1158,14 +1158,14 @@ const fa = G.div`
|
|
|
1158
1158
|
({
|
|
1159
1159
|
title: e,
|
|
1160
1160
|
description: t,
|
|
1161
|
-
suggestedText: r,
|
|
1162
|
-
searchPlaceholderText: n,
|
|
1161
|
+
suggestedText: r = "Suggested",
|
|
1162
|
+
searchPlaceholderText: n = "Search for rules, tempates, forms and more",
|
|
1163
1163
|
tags: a = [],
|
|
1164
1164
|
includeSearch: o = !1,
|
|
1165
|
-
video:
|
|
1166
|
-
thumbnail:
|
|
1167
|
-
}, u) => /* @__PURE__ */
|
|
1168
|
-
o ? /* @__PURE__ */
|
|
1165
|
+
video: f,
|
|
1166
|
+
thumbnail: y
|
|
1167
|
+
}, u) => /* @__PURE__ */ T(ya, { ref: u, children: [
|
|
1168
|
+
o ? /* @__PURE__ */ T("div", { className: "section__left search", children: [
|
|
1169
1169
|
/* @__PURE__ */ c("div", { children: e && /* @__PURE__ */ c("div", { className: "section__title", children: e }) }),
|
|
1170
1170
|
/* @__PURE__ */ c(
|
|
1171
1171
|
qe,
|
|
@@ -1183,18 +1183,18 @@ const fa = G.div`
|
|
|
1183
1183
|
color: "neutral"
|
|
1184
1184
|
}
|
|
1185
1185
|
),
|
|
1186
|
-
/* @__PURE__ */
|
|
1186
|
+
/* @__PURE__ */ T("div", { className: "section__tags", children: [
|
|
1187
1187
|
/* @__PURE__ */ c("div", { className: "section__suggested", children: r }),
|
|
1188
1188
|
/* @__PURE__ */ c(K, { tags: a })
|
|
1189
1189
|
] })
|
|
1190
|
-
] }) : /* @__PURE__ */
|
|
1191
|
-
/* @__PURE__ */
|
|
1190
|
+
] }) : /* @__PURE__ */ T("div", { className: "section__left", children: [
|
|
1191
|
+
/* @__PURE__ */ T("div", { children: [
|
|
1192
1192
|
e && /* @__PURE__ */ c("div", { className: "section__title", children: e }),
|
|
1193
1193
|
t && /* @__PURE__ */ c("div", { className: "section__description", children: t })
|
|
1194
1194
|
] }),
|
|
1195
1195
|
/* @__PURE__ */ c("div", { className: "section__tags", children: /* @__PURE__ */ c(K, { tags: a }) })
|
|
1196
1196
|
] }),
|
|
1197
|
-
/* @__PURE__ */ c("div", { className: "section__right", children: /* @__PURE__ */ c(Je, { video:
|
|
1197
|
+
/* @__PURE__ */ c("div", { className: "section__right", children: /* @__PURE__ */ c(Je, { video: f, thumbnail: y }) })
|
|
1198
1198
|
] })
|
|
1199
1199
|
);
|
|
1200
1200
|
ha.propTypes = {
|
package/dist/SearchSection.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");require("react");require("./index-BpbMKBf_.cjs");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("react");require("./index-BpbMKBf_.cjs");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-BGK1Fxaj.cjs");module.exports=e.SearchSection;
|
package/dist/SearchSection.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-
|
|
1
|
+
"use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-BGK1Fxaj.cjs");function v(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const a=Object.getOwnPropertyDescriptor(s,o);a&&Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O=Object.create,l=Object.defineProperty,S=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,w=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,D=(t,e,r)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,E=(t,e)=>{for(var r in e)l(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of j(e))!C.call(t,o)&&o!==r&&l(t,o,{get:()=>e[o],enumerable:!(s=S(e,o))||s.enumerable});return t},L=(t,e,r)=>(r=t!=null?O(w(t)):{},h(!t||!t.__esModule?l(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>h(l({},"__esModule",{value:!0}),t),n=(t,e,r)=>(D(t,typeof e!="symbol"?e+"":e,r),r),f={};E(f,{default:()=>u});var _=R(f),p=L(b),c=d.utils,M=d.patterns;const T="https://w.soundcloud.com/player/api.js",N="SC";class u extends p.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"duration",null),n(this,"currentTime",null),n(this,"fractionLoaded",null),n(this,"mute",()=>{this.setVolume(0)}),n(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),n(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,r){(0,c.getSDK)(T,N).then(s=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:a,PAUSE:y,FINISH:m,ERROR:P}=s.Widget.Events;r||(this.player=s.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(y,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(a,i=>{this.currentTime=i.currentPosition/1e3,this.fractionLoaded=i.loadedProgress}),this.player.bind(m,()=>this.props.onEnded()),this.player.bind(P,i=>this.props.onError(i))),this.player.load(e,{...this.props.config.options,callback:()=>{this.player.getDuration(i=>{this.duration=i/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("seekTo",e*1e3),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return p.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:r,frameBorder:0,allow:"autoplay"})}}n(u,"displayName","SoundCloud");n(u,"canPlay",M.canPlay.soundcloud);n(u,"loopOnEnded",!0);const A=g.getDefaultExportFromCjs(_),x=v({__proto__:null,default:A},[_]);exports.SoundCloud=x;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as P } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { u as b, p as v } from "./SearchSection-
|
|
3
|
+
import { u as b, p as v } from "./SearchSection-CsfURtvf.js";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as m } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { u as _, p as b } from "./SearchSection-
|
|
3
|
+
import { u as _, p as b } from "./SearchSection-CsfURtvf.js";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-
|
|
1
|
+
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-BGK1Fxaj.cjs");function b(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in t)){const l=Object.getOwnPropertyDescriptor(s,a);l&&Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,O=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty,j=(t,e,r)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,L=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of v(e))!S.call(t,a)&&a!==r&&n(t,a,{get:()=>e[a],enumerable:!(s=g(e,a))||s.enumerable});return t},w=(t,e,r)=>(r=t!=null?P(O(t)):{},h(!t||!t.__esModule?n(r,"default",{value:t,enumerable:!0}):r,t)),M=t=>h(n({},"__esModule",{value:!0}),t),o=(t,e,r)=>(j(t,typeof e!="symbol"?e+"":e,r),r),y={};L(y,{default:()=>i});var d=M(y),p=w(f),u=c.utils,m=c.patterns;const D="https://cdn.embed.ly/player-0.1.0.min.js",T="playerjs";class i extends p.Component{constructor(){super(...arguments),o(this,"callPlayer",u.callPlayer),o(this,"duration",null),o(this,"currentTime",null),o(this,"secondsLoaded",null),o(this,"mute",()=>{this.callPlayer("mute")}),o(this,"unmute",()=>{this.callPlayer("unmute")}),o(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,u.getSDK)(D,T).then(r=>{this.iframe&&(this.player=new r.Player(this.iframe),this.player.setLoop(this.props.loop),this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seeked",this.props.onSeek),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({duration:s,seconds:a})=>{this.duration=s,this.currentTime=a}),this.player.on("buffered",({percent:s})=>{this.duration&&(this.secondsLoaded=this.duration*s)}),this.props.muted&&this.player.mute())},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("setCurrentTime",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e=this.props.url.match(m.MATCH_URL_STREAMABLE)[1],r={width:"100%",height:"100%"};return p.default.createElement("iframe",{ref:this.ref,src:`https://streamable.com/o/${e}`,frameBorder:"0",scrolling:"no",style:r,allow:"encrypted-media; autoplay; fullscreen;"})}}o(i,"displayName","Streamable");o(i,"canPlay",m.canPlay.streamable);const E=_.getDefaultExportFromCjs(d),A=b({__proto__:null,default:E},[d]);exports.Streamable=A;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as w } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import D from "react";
|
|
3
|
-
import { u as C, p as N } from "./SearchSection-
|
|
3
|
+
import { u as C, p as N } from "./SearchSection-CsfURtvf.js";
|
|
4
4
|
function I(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const D=require("./_commonjsHelpers-DwTZ_eVU.cjs"),C=require("react"),_=require("./SearchSection-
|
|
1
|
+
"use strict";const D=require("./_commonjsHelpers-DwTZ_eVU.cjs"),C=require("react"),_=require("./SearchSection-BGK1Fxaj.cjs");function N(t,e){for(var r=0;r<e.length;r++){const a=e[r];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in t)){const o=Object.getOwnPropertyDescriptor(a,s);o&&Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var S=Object.create,l=Object.defineProperty,j=Object.getOwnPropertyDescriptor,I=Object.getOwnPropertyNames,M=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty,H=(t,e,r)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,R=(t,e)=>{for(var r in e)l(t,r,{get:e[r],enumerable:!0})},P=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of I(e))!A.call(t,s)&&s!==r&&l(t,s,{get:()=>e[s],enumerable:!(a=j(e,s))||a.enumerable});return t},F=(t,e,r)=>(r=t!=null?S(M(t)):{},P(!t||!t.__esModule?l(r,"default",{value:t,enumerable:!0}):r,t)),U=t=>P(l({},"__esModule",{value:!0}),t),n=(t,e,r)=>(H(t,typeof e!="symbol"?e+"":e,r),r),f={};R(f,{default:()=>h});var v=U(f),y=F(C),c=_.utils,u=_.patterns;const x="https://player.twitch.tv/js/embed/v1.js",K="Twitch",V="twitch-player-";class h extends y.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"playerID",this.props.config.playerId||`${V}${(0,c.randomString)()}`),n(this,"mute",()=>{this.callPlayer("setMuted",!0)}),n(this,"unmute",()=>{this.callPlayer("setMuted",!1)})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,r){const{playsinline:a,onError:s,config:o,controls:g}=this.props,i=u.MATCH_URL_TWITCH_CHANNEL.test(e),p=i?e.match(u.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(u.MATCH_URL_TWITCH_VIDEO)[1];if(r){i?this.player.setChannel(p):this.player.setVideo("v"+p);return}(0,c.getSDK)(x,K).then(d=>{this.player=new d.Player(this.playerID,{video:i?"":p,channel:i?p:"",height:"100%",width:"100%",playsinline:a,autoplay:this.props.playing,muted:this.props.muted,controls:i?!0:g,time:(0,c.parseStartTime)(e),...o.options});const{READY:m,PLAYING:E,PAUSE:O,ENDED:L,ONLINE:b,OFFLINE:w,SEEK:T}=d.Player;this.player.addEventListener(m,this.props.onReady),this.player.addEventListener(E,this.props.onPlay),this.player.addEventListener(O,this.props.onPause),this.player.addEventListener(L,this.props.onEnded),this.player.addEventListener(T,this.props.onSeek),this.player.addEventListener(b,this.props.onLoaded),this.player.addEventListener(w,this.props.onLoaded)},s)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){this.callPlayer("pause")}seekTo(e,r=!0){this.callPlayer("seek",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentTime")}getSecondsLoaded(){return null}render(){const e={width:"100%",height:"100%"};return y.default.createElement("div",{style:e,id:this.playerID})}}n(h,"displayName","Twitch");n(h,"canPlay",u.canPlay.twitch);n(h,"loopOnEnded",!0);const $=D.getDefaultExportFromCjs(v),q=N({__proto__:null,default:$},[v]);exports.Twitch=q;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import v from "react";
|
|
3
|
-
import { u as b, p as O } from "./SearchSection-
|
|
3
|
+
import { u as b, p as O } from "./SearchSection-CsfURtvf.js";
|
|
4
4
|
function V(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const v=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),h=require("./SearchSection-
|
|
1
|
+
"use strict";const v=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),h=require("./SearchSection-BGK1Fxaj.cjs");function O(t,e){for(var r=0;r<e.length;r++){const o=e[r];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in t)){const n=Object.getOwnPropertyDescriptor(o,a);n&&Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>o[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var V=Object.create,i=Object.defineProperty,D=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyNames,j=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,M=(t,e,r)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,A=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},_=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of S(e))!w.call(t,a)&&a!==r&&i(t,a,{get:()=>e[a],enumerable:!(o=D(e,a))||o.enumerable});return t},L=(t,e,r)=>(r=t!=null?V(j(t)):{},_(!t||!t.__esModule?i(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>_(i({},"__esModule",{value:!0}),t),s=(t,e,r)=>(M(t,typeof e!="symbol"?e+"":e,r),r),f={};A(f,{default:()=>d});var P=R(f),c=L(b),y=h.utils,m=h.patterns;const E="https://play.vidyard.com/embed/v4.js",C="VidyardV4",N="onVidyardAPI";class d extends c.Component{constructor(){super(...arguments),s(this,"callPlayer",y.callPlayer),s(this,"mute",()=>{this.setVolume(0)}),s(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),s(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const{playing:r,config:o,onError:a,onDuration:n}=this.props,l=e&&e.match(m.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,y.getSDK)(E,C,N).then(p=>{this.container&&(p.api.addReadyListener((u,g)=>{this.player||(this.player=g,this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seek",this.props.onSeek),this.player.on("playerComplete",this.props.onEnded))},l),p.api.renderPlayer({uuid:l,container:this.container,autoplay:r?1:0,...o.options}),p.api.getPlayerMetadata(l).then(u=>{this.duration=u.length_in_seconds,n(u.length_in_seconds)}))},a)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){window.VidyardV4.api.destroyPlayer(this.player)}seekTo(e,r=!0){this.callPlayer("seek",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setPlaybackRate(e){this.callPlayer("setPlaybackSpeed",e)}getDuration(){return this.duration}getCurrentTime(){return this.callPlayer("currentTime")}getSecondsLoaded(){return null}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return c.default.createElement("div",{style:r},c.default.createElement("div",{ref:this.ref}))}}s(d,"displayName","Vidyard");s(d,"canPlay",m.canPlay.vidyard);const T=v.getDefaultExportFromCjs(P),k=O({__proto__:null,default:T},[P]);exports.Vidyard=k;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as d } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { u as m, p as _ } from "./SearchSection-
|
|
3
|
+
import { u as m, p as _ } from "./SearchSection-CsfURtvf.js";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const a = e[r];
|