@lanaco/lnc-react-ui 4.0.151 → 4.0.153
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/AdBannerSection.cjs +3 -3
- package/dist/AdBannerSection.js +16 -16
- package/dist/BannerSectionBasic.cjs +4 -4
- package/dist/BannerSectionBasic.js +33 -32
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +33 -33
- package/dist/BlogCardsSponsoredSection.cjs +3 -3
- package/dist/BlogCardsSponsoredSection.js +15 -15
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -12
- package/dist/BlogExploreSection.cjs +4 -4
- package/dist/BlogExploreSection.js +30 -30
- package/dist/BlogListSection.cjs +2 -2
- package/dist/BlogListSection.js +28 -28
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +20 -19
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +22 -22
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +24 -24
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{DailyMotion-CPQ6kDJJ.cjs → DailyMotion-BaFUcQKQ.cjs} +1 -1
- package/dist/{DailyMotion-BrbMSyj1.js → DailyMotion-ByXblnua.js} +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
- package/dist/DetailedProductsInfinitiveSection.js +41 -41
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/{Facebook-Dw3my9_4.js → Facebook-BCqiOWZO.js} +1 -1
- package/dist/{Facebook-DKhRiODC.cjs → Facebook-D9wwecSW.cjs} +1 -1
- package/dist/FaqSection.cjs +2 -2
- package/dist/FaqSection.js +2 -2
- package/dist/FieldOfInterestsMasonrySection.cjs +6 -6
- package/dist/FieldOfInterestsMasonrySection.js +65 -48
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +3 -3
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +27 -25
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +10 -9
- package/dist/FieldOfInterestsWithTagsCardsSection.js +77 -65
- package/dist/{FilePlayer-DlCyGLHB.cjs → FilePlayer-DB6jnpeC.cjs} +1 -1
- package/dist/{FilePlayer-Ckx8dmB0.js → FilePlayer-ktaNhf3p.js} +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +9 -9
- package/dist/GeneralWithTagsCardsSection.js +15 -15
- package/dist/{Kaltura-31Xm8S1J.cjs → Kaltura-CCdXLzOa.cjs} +1 -1
- package/dist/{Kaltura-qHdDvnjZ.js → Kaltura-CvlN0HDg.js} +1 -1
- package/dist/LoanCalculatorSection.cjs +2 -2
- package/dist/LoanCalculatorSection.js +89 -88
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/{Mixcloud-DvH0vfg5.js → Mixcloud-Bb8MTclI.js} +1 -1
- package/dist/{Mixcloud-CP9Zq_TX.cjs → Mixcloud-nG_VyBNt.cjs} +1 -1
- package/dist/{Mux-BlblTeid.cjs → Mux-BgB2a8kM.cjs} +1 -1
- package/dist/{Mux--JeF6dPG.js → Mux-DfYpGTiP.js} +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +5 -5
- package/dist/OverlayGeneralCardsSection.js +11 -11
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/QuattroCardsSection.cjs +5 -5
- package/dist/QuattroCardsSection.js +7 -7
- package/dist/QuizSection.cjs +7 -7
- package/dist/QuizSection.js +51 -51
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +2 -1
- package/dist/SearchSection-BcbHP6QF.cjs +161 -0
- package/dist/{SearchSection-CsfURtvf.js → SearchSection-DDQ_K98T.js} +52 -52
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/{SoundCloud-1hd9TBSO.cjs → SoundCloud-C86xwUG6.cjs} +1 -1
- package/dist/{SoundCloud-CKaavZky.js → SoundCloud-DG91z39R.js} +1 -1
- package/dist/StatsSection.cjs +5 -5
- package/dist/StatsSection.js +22 -22
- package/dist/{Streamable-DLxq1ZNX.cjs → Streamable-4uAnb3WN.cjs} +1 -1
- package/dist/{Streamable-CZEPghiG.js → Streamable-BAIWLgyD.js} +1 -1
- package/dist/ToggleSection.cjs +3 -3
- package/dist/ToggleSection.js +10 -10
- package/dist/{Twitch-Bb8e342z.cjs → Twitch-CVAj24ti.cjs} +1 -1
- package/dist/{Twitch-BJeGquex.js → Twitch-DfXeW5Xs.js} +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{Vidyard-WNQdOeK1.cjs → Vidyard-DaCcaaH4.cjs} +1 -1
- package/dist/{Vidyard-CuGoX_VE.js → Vidyard-De3pges0.js} +1 -1
- package/dist/{Vimeo-Da2vBv-V.cjs → Vimeo-8wXdCXGs.cjs} +1 -1
- package/dist/{Vimeo-B9eKoxWn.js → Vimeo-N6I2qi_h.js} +1 -1
- package/dist/{Wistia-ZPcGhh1L.cjs → Wistia-BrUzHQoq.cjs} +1 -1
- package/dist/{Wistia-BB50IUif.js → Wistia-dlV6n6tO.js} +1 -1
- package/dist/{YouTube-4RMnpdLL.cjs → YouTube-Cfsj4ZaP.cjs} +1 -1
- package/dist/{YouTube-CG6JL2_w.js → YouTube-DNJxWqRm.js} +1 -1
- package/dist/{index-DzYKmmn2.js → index-BGY3PSA-.js} +18 -18
- package/dist/{index-Djw_s9eq.js → index-C0SKNFzP.js} +15 -15
- package/dist/{index-cd9auaNr.cjs → index-CLoINIGC.cjs} +3 -3
- package/dist/{index-GxCvHDwv.cjs → index-ELUMKl0N.cjs} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{suspense-categories-card-simple-DuKEj9IU.js → suspense-categories-card-simple-BGj475Ca.js} +11 -10
- package/dist/{suspense-categories-card-simple-DaA0JGJJ.cjs → suspense-categories-card-simple-CjGtzfzp.cjs} +1 -1
- package/dist/suspense-product-card-detailed-BJ-HBkBc.js +577 -0
- package/dist/suspense-product-card-detailed-wPRUytSf.cjs +263 -0
- package/dist/{suspense-product-card-simple-D2m3NcrV.js → suspense-product-card-simple-CLJjab5B.js} +1 -1
- package/dist/{suspense-product-card-simple-BWxWMag0.cjs → suspense-product-card-simple-CrqjSxHI.cjs} +1 -1
- package/dist/{tag-CtleOqEC.js → tag-cRMfP-SZ.js} +9 -9
- package/dist/{tag-Bov1gw34.cjs → tag-yputMSpE.cjs} +4 -4
- package/package.json +1 -1
- package/dist/SearchSection-BGK1Fxaj.cjs +0 -161
- package/dist/suspense-product-card-detailed-C-ZCjG5p.js +0 -538
- package/dist/suspense-product-card-detailed-FuxsUusc.cjs +0 -260
|
@@ -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 ye } 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;
|
|
@@ -76,7 +76,7 @@ const at = G.div`
|
|
|
76
76
|
}
|
|
77
77
|
`, K = q(
|
|
78
78
|
({ tags: e = [], selectedTagCode: t = null, onSelectTag: r = () => {
|
|
79
|
-
} }, n) => /* @__PURE__ */ c(at, { children: e == null ? void 0 : e.map((a, o) => /* @__PURE__ */ c(
|
|
79
|
+
} }, n) => /* @__PURE__ */ c(at, { ref: n, children: e == null ? void 0 : e.map((a, o) => /* @__PURE__ */ c(
|
|
80
80
|
Qe,
|
|
81
81
|
{
|
|
82
82
|
label: a == null ? void 0 : a.name,
|
|
@@ -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 y = "onload" in o ? oe : st;
|
|
102
|
+
y(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]" || yt(e);
|
|
129
129
|
}
|
|
130
130
|
var pt = typeof Symbol == "function" && Symbol.for, dt = pt ? Symbol.for("react.element") : 60103;
|
|
131
|
-
function
|
|
131
|
+
function yt(e) {
|
|
132
132
|
return e.$$typeof === dt;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ft(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(ft(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 fe(e, t) {
|
|
160
160
|
try {
|
|
161
161
|
return t in e;
|
|
162
162
|
} catch {
|
|
@@ -164,14 +164,14 @@ function ye(e, t) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
function gt(e, t) {
|
|
167
|
-
return
|
|
167
|
+
return fe(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) || (fe(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) {
|
|
@@ -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 y = V(r);
|
|
261
|
+
return y && a(y) ? Promise.resolve(y) : new Promise((f, u) => {
|
|
262
262
|
if (O[t]) {
|
|
263
|
-
O[t].push({ resolve:
|
|
263
|
+
O[t].push({ resolve: f, reject: u });
|
|
264
264
|
return;
|
|
265
265
|
}
|
|
266
|
-
O[t] = [{ resolve:
|
|
266
|
+
O[t] = [{ resolve: f, reject: u }];
|
|
267
267
|
const w = (v) => {
|
|
268
268
|
O[t].forEach((M) => M.resolve(v));
|
|
269
269
|
};
|
|
@@ -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-DNJxWqRm.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-DG91z39R.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-N6I2qi_h.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-DfYpGTiP.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-BCqiOWZO.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-BAIWLgyD.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-dlV6n6tO.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-DfXeW5Xs.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-ByXblnua.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-Bb8MTclI.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-De3pges0.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-CvlN0HDg.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-ktaNhf3p.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 y() {
|
|
511
|
+
for (var f = [], u = 0; u < arguments.length; u++)
|
|
512
|
+
f[u] = arguments[u];
|
|
513
|
+
return o && r === this && t(f, n) || (a = e.apply(this, f), o = !0, r = this, n = f), a;
|
|
514
514
|
}
|
|
515
|
-
return
|
|
515
|
+
return y;
|
|
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" })), yr = /* @__PURE__ */ et(dr);
|
|
521
|
+
var fr = 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 yr = 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 ? fr(_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
|
|
@@ -776,7 +776,7 @@ var Tr = 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(ye), 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: y, pip: f, 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 && f && this.player.enablePIP && this.player.enablePIP(), t.pip && !f && 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 !== y && this.player.setPlaybackRate && this.player.setPlaybackRate(y), 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(yr), pe = N(ye), 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: y, oEmbedUrl: f, 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: y,
|
|
989
989
|
previewAriaLabel: u,
|
|
990
|
-
oEmbedUrl:
|
|
990
|
+
oEmbedUrl: f,
|
|
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: y, fallback: f, 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: y }, ...v }, /* @__PURE__ */ C.default.createElement(Gr, { fallback: f }, 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), ya = "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: ya, 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 fa = G.div`
|
|
1063
1063
|
display: flex;
|
|
1064
1064
|
justify-content: space-between;
|
|
1065
1065
|
align-items: center;
|
|
@@ -1162,9 +1162,9 @@ const ya = G.div`
|
|
|
1162
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__ */ T(
|
|
1165
|
+
video: y,
|
|
1166
|
+
thumbnail: f
|
|
1167
|
+
}, u) => /* @__PURE__ */ T(fa, { ref: u, children: [
|
|
1168
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(
|
|
@@ -1194,7 +1194,7 @@ const ya = G.div`
|
|
|
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: y, thumbnail: f }) })
|
|
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-BcbHP6QF.cjs");module.exports=e.SearchSection;
|
package/dist/SearchSection.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),s=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),q=require("./useDetectMobile-zkbzoOGV.cjs"),d=require("./utils-Dl9xPH4c.cjs"),k=require("./style-CyHewQxg.cjs"),v=require("./Button.cjs"),p=require("./suspense-categories-card-simple-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),s=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),q=require("./useDetectMobile-zkbzoOGV.cjs"),d=require("./utils-Dl9xPH4c.cjs"),k=require("./style-CyHewQxg.cjs"),v=require("./Button.cjs"),p=require("./suspense-categories-card-simple-CjGtzfzp.cjs"),M=w.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${a=>"repeat(6, minmax(0, 1fr))"};
|
|
4
4
|
gap: 2rem;
|
|
@@ -6,7 +6,7 @@ import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
|
|
|
6
6
|
import { k as p } from "./utils-BdsZgOUE.js";
|
|
7
7
|
import { R as I } from "./style-DFPWLJBr.js";
|
|
8
8
|
import R from "./Button.js";
|
|
9
|
-
import { C as B, S as L } from "./suspense-categories-card-simple-
|
|
9
|
+
import { C as B, S as L } from "./suspense-categories-card-simple-BGj475Ca.js";
|
|
10
10
|
const P = M.div`
|
|
11
11
|
display: grid;
|
|
12
12
|
grid-template-columns: ${(l) => "repeat(6, minmax(0, 1fr))"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),s=require("react"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),U=require("./index-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("react"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),U=require("./index-CLoINIGC.cjs"),F=require("./index-CSgGox95.cjs"),N=require("./suspense-product-card-simple-CrqjSxHI.cjs"),v=C.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: repeat(6, 1fr);
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -3,9 +3,9 @@ import { memo as U, forwardRef as F, useMemo as N } from "react";
|
|
|
3
3
|
import { s as T } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as v } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as B } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { S as I } from "./index-
|
|
6
|
+
import { S as I } from "./index-BGY3PSA-.js";
|
|
7
7
|
import { T as L } from "./index-DK8dqEUQ.js";
|
|
8
|
-
import { S as j } from "./suspense-product-card-simple-
|
|
8
|
+
import { S as j } from "./suspense-product-card-simple-CLJjab5B.js";
|
|
9
9
|
const z = T.div`
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: repeat(6, 1fr);
|
|
@@ -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-BcbHP6QF.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-DDQ_K98T.js";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
package/dist/StatsSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("react"),s=require("./index-BpbMKBf_.cjs"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./consts-goSZX3xP.cjs"),m=require("./utils-Dl9xPH4c.cjs"),g=a.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
@media (max-width: ${
|
|
49
|
+
@media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
|
|
50
50
|
display: grid;
|
|
51
51
|
grid-template-columns: repeat(2, 1fr);
|
|
52
52
|
gap: 0.75rem;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
`,
|
|
70
|
+
`,l=o.forwardRef(({items:i=[]},r)=>e.jsx(g,{ref:r,children:i==null?void 0:i.map((t,n)=>e.jsxs("div",{className:"section__card",children:[e.jsx("div",{children:e.jsx("img",{src:t==null?void 0:t.image,alt:`Stats Card ${n+1}`,className:"section__image"})}),e.jsxs("div",{children:[e.jsx("div",{className:"section__title",children:t==null?void 0:t.title}),e.jsx("div",{className:"section__description",children:t==null?void 0:t.description})]})]},`stats-section-item__${n+1}`))}));l.propTypes={items:s.PropTypes.array};const h=a.styled.div`
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
justify-content: center;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
@media (max-width: ${
|
|
100
|
+
@media (max-width: ${c.MOBILE_SIZE_PX+"px"}) {
|
|
101
101
|
text-align: center;
|
|
102
102
|
|
|
103
103
|
& .section__heading {
|
|
@@ -114,4 +114,4 @@
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,d=o.forwardRef(({title:i,description:r,items:t=[]},n)=>e.jsxs(h,{ref:n,children:[e.jsxs("div",{className:"section__heading",children:[i&&e.jsx("div",{className:"section__title",children:i}),r&&e.jsx("div",{className:"section__description",children:r})]}),e.jsx(l,{items:t})]}));d.propTypes={title:s.PropTypes.string,description:s.PropTypes.string,items:s.PropTypes.array};module.exports=d;
|
package/dist/StatsSection.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { P as
|
|
4
|
-
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { M as
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as s } from "react";
|
|
3
|
+
import { P as o } from "./index-CblbdqjE.js";
|
|
4
|
+
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { M as l } from "./consts-BuFChS64.js";
|
|
6
6
|
import { p as m } from "./utils-BdsZgOUE.js";
|
|
7
|
-
const g =
|
|
7
|
+
const g = c.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
justify-content: center;
|
|
10
10
|
align-items: center;
|
|
@@ -52,7 +52,7 @@ const g = s.div`
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
@media (max-width: ${
|
|
55
|
+
@media (max-width: ${l + "px"}) {
|
|
56
56
|
display: grid;
|
|
57
57
|
grid-template-columns: repeat(2, 1fr);
|
|
58
58
|
gap: 0.75rem;
|
|
@@ -73,24 +73,24 @@ const g = s.div`
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
`,
|
|
76
|
+
`, d = s(({ items: i = [] }, r) => /* @__PURE__ */ t(g, { ref: r, children: i == null ? void 0 : i.map((e, n) => /* @__PURE__ */ a("div", { className: "section__card", children: [
|
|
77
77
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
78
78
|
"img",
|
|
79
79
|
{
|
|
80
80
|
src: e == null ? void 0 : e.image,
|
|
81
|
-
alt: `Stats Card ${
|
|
81
|
+
alt: `Stats Card ${n + 1}`,
|
|
82
82
|
className: "section__image"
|
|
83
83
|
}
|
|
84
84
|
) }),
|
|
85
|
-
/* @__PURE__ */
|
|
85
|
+
/* @__PURE__ */ a("div", { children: [
|
|
86
86
|
/* @__PURE__ */ t("div", { className: "section__title", children: e == null ? void 0 : e.title }),
|
|
87
87
|
/* @__PURE__ */ t("div", { className: "section__description", children: e == null ? void 0 : e.description })
|
|
88
88
|
] })
|
|
89
|
-
] }, `stats-section-item__${
|
|
90
|
-
|
|
91
|
-
items:
|
|
89
|
+
] }, `stats-section-item__${n + 1}`)) }));
|
|
90
|
+
d.propTypes = {
|
|
91
|
+
items: o.array
|
|
92
92
|
};
|
|
93
|
-
const h =
|
|
93
|
+
const h = c.div`
|
|
94
94
|
display: flex;
|
|
95
95
|
flex-direction: column;
|
|
96
96
|
justify-content: center;
|
|
@@ -120,7 +120,7 @@ const h = s.div`
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
@media (max-width: ${
|
|
123
|
+
@media (max-width: ${l + "px"}) {
|
|
124
124
|
text-align: center;
|
|
125
125
|
|
|
126
126
|
& .section__heading {
|
|
@@ -137,17 +137,17 @@ const h = s.div`
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
`, p =
|
|
141
|
-
/* @__PURE__ */
|
|
140
|
+
`, p = s(({ title: i, description: r, items: e = [] }, n) => /* @__PURE__ */ a(h, { ref: n, children: [
|
|
141
|
+
/* @__PURE__ */ a("div", { className: "section__heading", children: [
|
|
142
142
|
i && /* @__PURE__ */ t("div", { className: "section__title", children: i }),
|
|
143
|
-
|
|
143
|
+
r && /* @__PURE__ */ t("div", { className: "section__description", children: r })
|
|
144
144
|
] }),
|
|
145
|
-
/* @__PURE__ */ t(
|
|
145
|
+
/* @__PURE__ */ t(d, { items: e })
|
|
146
146
|
] }));
|
|
147
147
|
p.propTypes = {
|
|
148
|
-
title:
|
|
149
|
-
description:
|
|
150
|
-
items:
|
|
148
|
+
title: o.string,
|
|
149
|
+
description: o.string,
|
|
150
|
+
items: o.array
|
|
151
151
|
};
|
|
152
152
|
export {
|
|
153
153
|
p as default
|
|
@@ -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-BcbHP6QF.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 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-DDQ_K98T.js";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
package/dist/ToggleSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("react"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("react"),t=require("./index-BpbMKBf_.cjs"),T=require("./Chip.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-goSZX3xP.cjs"),b=require("./useDetectMobile-zkbzoOGV.cjs"),_=require("./Button.cjs"),j=g.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
|
|
4
4
|
border: 1px solid var(--gray-200, #e4e9f0);
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
`,y=d.forwardRef(({options:
|
|
194
|
+
`,y=d.forwardRef(({options:r=[],selectedOptionCode:a=null,onSelectOption:s=()=>{}},l)=>e.jsx(j,{ref:l,children:r==null?void 0:r.map((c,o)=>e.jsx(T,{label:c,borderRadius:"curved",color:"neutral",className:`options__item ${a===o?"active":""}`,onClick:()=>{s(o)}},`toggle-section-tag__${o+1}`))}));y.propTypes={options:t.PropTypes.array,selectedOptionCode:t.PropTypes.any,onSelectOption:t.PropTypes.func};const u=({title:r,description:a,image:s,learnMoreText:l,onSelectItem:c=()=>{}})=>e.jsxs(S,{onClick:c,children:[e.jsxs("div",{className:"card__content",children:[e.jsx("img",{src:s,alt:`Card ${r}`,className:"card__image"}),e.jsxs("div",{className:"card__text",children:[e.jsx("div",{className:"card__title",children:r}),e.jsx("div",{className:"card__divider"}),e.jsx("div",{className:"card__description",children:a})]})]}),e.jsx(_,{text:l,btnType:"basic",color:"neutral",className:"section__show-more learn-more"})]}),w=d.forwardRef(({items:r=[],showMoreText:a,learnMoreText:s,onSelectItem:l=()=>{}},c)=>{const o=b.useDetectMobile(),[f,h]=d.useState(!1),p=()=>{h(n=>!n)},i=d.useMemo(()=>r==null?void 0:r.map((n,x)=>e.jsx(u,{title:n==null?void 0:n.title,description:n==null?void 0:n.description,image:n==null?void 0:n.image,learnMoreText:s,onSelectItem:()=>l(n)},`toggle-section-item__${x+1}`)),[r]);return e.jsx(P,{ref:c,children:o?f?i:e.jsxs(e.Fragment,{children:[i==null?void 0:i.slice(0,4),(i==null?void 0:i.length)>4&&e.jsx(_,{text:a,btnType:"basic",color:"neutral",className:"section__show-more",onClick:p})]}):i})});u.propTypes={title:t.PropTypes.string,description:t.PropTypes.string,image:t.PropTypes.string,learnMoreText:t.PropTypes.string,onSelectItem:t.PropTypes.func};w.propTypes={items:t.PropTypes.array,showMoreText:t.PropTypes.string,learnMoreText:t.PropTypes.string,onSelectItem:t.PropTypes.func};const M=g.styled.div`
|
|
195
195
|
display: flex;
|
|
196
196
|
flex-direction: column;
|
|
197
197
|
align-items: center;
|
|
@@ -245,4 +245,4 @@
|
|
|
245
245
|
text-align: left;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
`,v=d.forwardRef(({title:
|
|
248
|
+
`,v=d.forwardRef(({title:r,description:a,showMoreText:s="Show more",learnMoreText:l="Learn more",options:c=[],items:o=[],onSelectItem:f=()=>{}},h)=>{const[p,i]=d.useState(0),n=x=>{i(x)};return e.jsxs(M,{ref:h,children:[e.jsxs("div",{className:"section__heading",children:[r&&e.jsx("div",{className:"section__title",children:r}),a&&e.jsx("div",{className:"section__description",children:a})]}),e.jsx(y,{options:c,selectedOptionCode:p,onSelectOption:n}),e.jsx(w,{items:o==null?void 0:o[p],showMoreText:s,learnMoreText:l,onSelectItem:f},`toggle-section-items__${p}`)]})});v.propTypes={title:t.PropTypes.string,description:t.PropTypes.string,options:t.PropTypes.array,items:t.PropTypes.array,showMoreText:t.PropTypes.string,learnMoreText:t.PropTypes.string,onSelectItem:t.PropTypes.func};module.exports=v;
|