@lanaco/lnc-react-ui 4.0.115 → 4.0.117

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.
Files changed (40) hide show
  1. package/dist/ContactSection.cjs +1 -1
  2. package/dist/ContactSection.js +46 -46
  3. package/dist/{DailyMotion-CUHIuSln.js → DailyMotion-BrbMSyj1.js} +1 -1
  4. package/dist/{DailyMotion-D46sLmkS.cjs → DailyMotion-CPQ6kDJJ.cjs} +1 -1
  5. package/dist/{Facebook-R53Rry9l.cjs → Facebook-DKhRiODC.cjs} +1 -1
  6. package/dist/{Facebook-aEQQxj-r.js → Facebook-Dw3my9_4.js} +1 -1
  7. package/dist/FaqSection.cjs +5 -5
  8. package/dist/FaqSection.js +66 -66
  9. package/dist/{FilePlayer-9FdL9kM0.js → FilePlayer-Ckx8dmB0.js} +1 -1
  10. package/dist/{FilePlayer-D9up8eWZ.cjs → FilePlayer-DlCyGLHB.cjs} +1 -1
  11. package/dist/{Kaltura-C170sgeD.cjs → Kaltura-31Xm8S1J.cjs} +1 -1
  12. package/dist/{Kaltura-Dziqci9-.js → Kaltura-qHdDvnjZ.js} +1 -1
  13. package/dist/{Mixcloud-Towpm_ct.cjs → Mixcloud-CP9Zq_TX.cjs} +1 -1
  14. package/dist/{Mixcloud-Cfn28kqf.js → Mixcloud-DvH0vfg5.js} +1 -1
  15. package/dist/{Mux-D0MPDKkM.js → Mux--JeF6dPG.js} +1 -1
  16. package/dist/{Mux-yqNOmuss.cjs → Mux-BlblTeid.cjs} +1 -1
  17. package/dist/{SearchSection-BUD-hnQA.cjs → SearchSection-BGK1Fxaj.cjs} +2 -2
  18. package/dist/{SearchSection-xe0nvARV.js → SearchSection-CsfURtvf.js} +77 -77
  19. package/dist/SearchSection.cjs +1 -1
  20. package/dist/SearchSection.js +1 -1
  21. package/dist/{SoundCloud-YZlcPffr.cjs → SoundCloud-1hd9TBSO.cjs} +1 -1
  22. package/dist/{SoundCloud-D85Da68L.js → SoundCloud-CKaavZky.js} +1 -1
  23. package/dist/{Streamable-Zj4FOeBP.js → Streamable-CZEPghiG.js} +1 -1
  24. package/dist/{Streamable-CJQf8evZ.cjs → Streamable-DLxq1ZNX.cjs} +1 -1
  25. package/dist/ToggleSection.cjs +248 -0
  26. package/dist/ToggleSection.js +397 -0
  27. package/dist/{Twitch-DC97YrR8.js → Twitch-BJeGquex.js} +1 -1
  28. package/dist/{Twitch-Ba2O5gTX.cjs → Twitch-Bb8e342z.cjs} +1 -1
  29. package/dist/{Vidyard-D9vYqvNv.js → Vidyard-CuGoX_VE.js} +1 -1
  30. package/dist/{Vidyard-BdNB5Wka.cjs → Vidyard-WNQdOeK1.cjs} +1 -1
  31. package/dist/{Vimeo-23LnW4uS.js → Vimeo-B9eKoxWn.js} +1 -1
  32. package/dist/{Vimeo-DatJiKS5.cjs → Vimeo-Da2vBv-V.cjs} +1 -1
  33. package/dist/{Wistia-d2TQ3m-s.js → Wistia-BB50IUif.js} +1 -1
  34. package/dist/{Wistia-D--UDN6c.cjs → Wistia-ZPcGhh1L.cjs} +1 -1
  35. package/dist/{YouTube-BEkcZxN7.cjs → YouTube-4RMnpdLL.cjs} +1 -1
  36. package/dist/{YouTube-x5-hc3s6.js → YouTube-CG6JL2_w.js} +1 -1
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.js +18 -16
  39. package/package.json +3 -2
  40. package/vite.config.js +4 -0
@@ -0,0 +1,248 @@
1
+ "use strict";const e=require("react/jsx-runtime"),d=require("react"),r=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
+ display: flex;
3
+
4
+ border: 1px solid var(--gray-200, #e4e9f0);
5
+ border-radius: 999px;
6
+
7
+ & .options__item {
8
+ display: flex;
9
+ padding: 0.5rem 2rem;
10
+ align-items: center;
11
+ gap: 6px;
12
+
13
+ color: var(--neutral-600, #0f2a46);
14
+ background: var(--gray-100, #f3f6fb);
15
+ border: 1px solid var(--gray-200, #e4e9f0);
16
+ font-size: 1rem;
17
+ font-style: normal;
18
+ font-weight: 500;
19
+ line-height: 1.5rem;
20
+
21
+ &:first-of-type {
22
+ padding-right: 3rem;
23
+ }
24
+
25
+ &:last-of-type {
26
+ padding-left: 3rem;
27
+ }
28
+
29
+ &.active {
30
+ color: var(--white, #fff);
31
+ background: var(--neutral-600, #0f2a46);
32
+ font-weight: 500;
33
+
34
+ &:hover {
35
+ color: var(--white, #fff);
36
+ background: var(--neutral-600, #0f2a46);
37
+ }
38
+
39
+ &:first-of-type {
40
+ margin-right: -1.5rem;
41
+ padding-right: 2rem;
42
+ z-index: 1;
43
+ }
44
+
45
+ &:last-of-type {
46
+ margin-left: -1.5rem;
47
+ padding-left: 2rem;
48
+ z-index: 1;
49
+ }
50
+ }
51
+
52
+ &:hover {
53
+ background: var(--gray-200, #e4e9f0);
54
+ }
55
+
56
+ &:focus {
57
+ outline: none;
58
+ }
59
+ }
60
+
61
+ @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
62
+ width: 100%;
63
+
64
+ & .options__item {
65
+ width: 100%;
66
+ }
67
+ }
68
+ `,P=g.styled.div`
69
+ display: flex;
70
+ gap: 1.25rem;
71
+ flex-wrap: wrap;
72
+ justify-content: center;
73
+ align-items: center;
74
+ width: 100%;
75
+
76
+ & .section__show-more {
77
+ color: var(--neutral-600, #0f2a46);
78
+ font-size: 0.875rem;
79
+ font-style: normal;
80
+ font-weight: 500;
81
+ line-height: 1.25rem;
82
+ letter-spacing: -0.0056rem;
83
+
84
+ &:focus {
85
+ outline: none;
86
+ }
87
+ }
88
+
89
+ @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
90
+ flex-direction: column;
91
+
92
+ & .learn-more {
93
+ display: none;
94
+ }
95
+ }
96
+ `,S=g.styled.div`
97
+ display: flex;
98
+ padding: 2rem 1.25rem 1.25rem 1.25rem;
99
+ flex-direction: column;
100
+ align-items: center;
101
+ gap: 1.5rem;
102
+ border-radius: 0.75rem;
103
+ border: 1px solid var(--gray-200, #e4e9f0);
104
+ background: var(--white, #fff);
105
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
106
+ width: 100%;
107
+ max-width: 17.5rem;
108
+
109
+ &:hover {
110
+ cursor: pointer;
111
+ }
112
+
113
+ & .card__content {
114
+ display: flex;
115
+ flex-direction: column;
116
+ align-items: center;
117
+ gap: 1.25rem;
118
+
119
+ & .card__image {
120
+ max-width: 3.5rem;
121
+ max-height: 3.5rem;
122
+ width: 100%;
123
+ height: 100%;
124
+ aspect-ratio: 1 / 1;
125
+ }
126
+
127
+ & .card__text {
128
+ display: flex;
129
+ flex-direction: column;
130
+ justify-content: center;
131
+ align-items: center;
132
+ gap: 1rem;
133
+
134
+ & .card__title {
135
+ color: var(--gray-900, #0c1520);
136
+ text-align: center;
137
+ font-size: 1.125rem;
138
+ font-style: normal;
139
+ font-weight: 500;
140
+ line-height: 1.5rem;
141
+ }
142
+
143
+ & .card__divider {
144
+ height: 1px;
145
+ width: 100%;
146
+ background: var(--gray-200, #e4e9f0);
147
+ }
148
+
149
+ & .card__description {
150
+ color: var(--gray-600, #5a6573);
151
+ text-align: center;
152
+ font-size: 0.875rem;
153
+ font-style: normal;
154
+ font-weight: 400;
155
+ line-height: 1.25rem;
156
+ letter-spacing: 0.0156rem;
157
+ }
158
+ }
159
+ }
160
+
161
+ @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
162
+ max-width: 100%;
163
+ flex-direction: row;
164
+ padding: 1rem;
165
+
166
+ & .card__content {
167
+ flex-direction: row;
168
+ align-items: flex-start;
169
+
170
+ & .card__image {
171
+ max-width: 2.5rem;
172
+ max-height: 2.5rem;
173
+ }
174
+
175
+ & .card__text {
176
+ align-items: flex-start;
177
+ gap: 0.625rem;
178
+
179
+ & .card__divider {
180
+ display: none;
181
+ }
182
+
183
+ & .card__title {
184
+ text-align: left;
185
+ font-size: 1rem;
186
+ }
187
+
188
+ & .card__description {
189
+ text-align: left;
190
+ }
191
+ }
192
+ }
193
+ }
194
+ `,y=d.forwardRef(({options:t=[],selectedOptionCode:a=null,onSelectOption:s=()=>{}},l)=>e.jsx(j,{children:t==null?void 0:t.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:r.PropTypes.array,selectedOptionCode:r.PropTypes.any,onSelectOption:r.PropTypes.func};const u=({title:t,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 ${t}`,className:"card__image"}),e.jsxs("div",{className:"card__text",children:[e.jsx("div",{className:"card__title",children:t}),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:t=[],showMoreText:a,learnMoreText:s,onSelectItem:l=()=>{}},c)=>{const o=b.useDetectMobile(),[f,h]=d.useState(!1),p=()=>{h(n=>!n)},i=d.useMemo(()=>t==null?void 0:t.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}`)),[t]);return e.jsx(P,{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:r.PropTypes.string,description:r.PropTypes.string,image:r.PropTypes.string,learnMoreText:r.PropTypes.string,onSelectItem:r.PropTypes.func};w.propTypes={items:r.PropTypes.array,showMoreText:r.PropTypes.string,learnMoreText:r.PropTypes.string,onSelectItem:r.PropTypes.func};const M=g.styled.div`
195
+ display: flex;
196
+ flex-direction: column;
197
+ align-items: center;
198
+ gap: 2rem;
199
+
200
+ & .section__heading {
201
+ display: flex;
202
+ flex-direction: column;
203
+ gap: 0.5rem;
204
+ text-align: center;
205
+ width: 100%;
206
+ }
207
+
208
+ & .section__title {
209
+ color: var(--navy-900, #0c1520);
210
+ text-align: center;
211
+ font-size: 1.5rem;
212
+ font-style: normal;
213
+ font-weight: 600;
214
+ line-height: 2rem;
215
+ }
216
+
217
+ & .section__description {
218
+ color: var(--navy-500, #7a8594);
219
+ text-align: center;
220
+ font-size: 1rem;
221
+ font-style: normal;
222
+ font-weight: 500;
223
+ line-height: 1.5rem;
224
+ }
225
+
226
+ @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
227
+ gap: 1.5rem;
228
+
229
+ & .section__heading {
230
+ gap: 0.5rem;
231
+ }
232
+
233
+ & .section__title {
234
+ font-size: 1.375rem;
235
+ font-weight: 600;
236
+ line-height: 1.75rem;
237
+ text-align: left;
238
+ }
239
+
240
+ & .section__description {
241
+ font-size: 0.875rem;
242
+ font-weight: 400;
243
+ line-height: 1.25rem;
244
+ letter-spacing: 0.25px;
245
+ text-align: left;
246
+ }
247
+ }
248
+ `,v=d.forwardRef(({title:t,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:[t&&e.jsx("div",{className:"section__title",children:t}),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:r.PropTypes.string,description:r.PropTypes.string,options:r.PropTypes.array,items:r.PropTypes.array,showMoreText:r.PropTypes.string,learnMoreText:r.PropTypes.string,onSelectItem:r.PropTypes.func};module.exports=v;
@@ -0,0 +1,397 @@
1
+ import { jsx as r, jsxs as d, Fragment as S } from "react/jsx-runtime";
2
+ import { forwardRef as x, useState as u, useMemo as T } from "react";
3
+ import { P as e } from "./index-CblbdqjE.js";
4
+ import M from "./Chip.js";
5
+ import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { M as f } from "./consts-BuFChS64.js";
7
+ import { u as C } from "./useDetectMobile-Bkvj0VMa.js";
8
+ import y from "./Button.js";
9
+ const N = m.div`
10
+ display: flex;
11
+
12
+ border: 1px solid var(--gray-200, #e4e9f0);
13
+ border-radius: 999px;
14
+
15
+ & .options__item {
16
+ display: flex;
17
+ padding: 0.5rem 2rem;
18
+ align-items: center;
19
+ gap: 6px;
20
+
21
+ color: var(--neutral-600, #0f2a46);
22
+ background: var(--gray-100, #f3f6fb);
23
+ border: 1px solid var(--gray-200, #e4e9f0);
24
+ font-size: 1rem;
25
+ font-style: normal;
26
+ font-weight: 500;
27
+ line-height: 1.5rem;
28
+
29
+ &:first-of-type {
30
+ padding-right: 3rem;
31
+ }
32
+
33
+ &:last-of-type {
34
+ padding-left: 3rem;
35
+ }
36
+
37
+ &.active {
38
+ color: var(--white, #fff);
39
+ background: var(--neutral-600, #0f2a46);
40
+ font-weight: 500;
41
+
42
+ &:hover {
43
+ color: var(--white, #fff);
44
+ background: var(--neutral-600, #0f2a46);
45
+ }
46
+
47
+ &:first-of-type {
48
+ margin-right: -1.5rem;
49
+ padding-right: 2rem;
50
+ z-index: 1;
51
+ }
52
+
53
+ &:last-of-type {
54
+ margin-left: -1.5rem;
55
+ padding-left: 2rem;
56
+ z-index: 1;
57
+ }
58
+ }
59
+
60
+ &:hover {
61
+ background: var(--gray-200, #e4e9f0);
62
+ }
63
+
64
+ &:focus {
65
+ outline: none;
66
+ }
67
+ }
68
+
69
+ @media (max-width: ${f + "px"}) {
70
+ width: 100%;
71
+
72
+ & .options__item {
73
+ width: 100%;
74
+ }
75
+ }
76
+ `, O = m.div`
77
+ display: flex;
78
+ gap: 1.25rem;
79
+ flex-wrap: wrap;
80
+ justify-content: center;
81
+ align-items: center;
82
+ width: 100%;
83
+
84
+ & .section__show-more {
85
+ color: var(--neutral-600, #0f2a46);
86
+ font-size: 0.875rem;
87
+ font-style: normal;
88
+ font-weight: 500;
89
+ line-height: 1.25rem;
90
+ letter-spacing: -0.0056rem;
91
+
92
+ &:focus {
93
+ outline: none;
94
+ }
95
+ }
96
+
97
+ @media (max-width: ${f + "px"}) {
98
+ flex-direction: column;
99
+
100
+ & .learn-more {
101
+ display: none;
102
+ }
103
+ }
104
+ `, k = m.div`
105
+ display: flex;
106
+ padding: 2rem 1.25rem 1.25rem 1.25rem;
107
+ flex-direction: column;
108
+ align-items: center;
109
+ gap: 1.5rem;
110
+ border-radius: 0.75rem;
111
+ border: 1px solid var(--gray-200, #e4e9f0);
112
+ background: var(--white, #fff);
113
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
114
+ width: 100%;
115
+ max-width: 17.5rem;
116
+
117
+ &:hover {
118
+ cursor: pointer;
119
+ }
120
+
121
+ & .card__content {
122
+ display: flex;
123
+ flex-direction: column;
124
+ align-items: center;
125
+ gap: 1.25rem;
126
+
127
+ & .card__image {
128
+ max-width: 3.5rem;
129
+ max-height: 3.5rem;
130
+ width: 100%;
131
+ height: 100%;
132
+ aspect-ratio: 1 / 1;
133
+ }
134
+
135
+ & .card__text {
136
+ display: flex;
137
+ flex-direction: column;
138
+ justify-content: center;
139
+ align-items: center;
140
+ gap: 1rem;
141
+
142
+ & .card__title {
143
+ color: var(--gray-900, #0c1520);
144
+ text-align: center;
145
+ font-size: 1.125rem;
146
+ font-style: normal;
147
+ font-weight: 500;
148
+ line-height: 1.5rem;
149
+ }
150
+
151
+ & .card__divider {
152
+ height: 1px;
153
+ width: 100%;
154
+ background: var(--gray-200, #e4e9f0);
155
+ }
156
+
157
+ & .card__description {
158
+ color: var(--gray-600, #5a6573);
159
+ text-align: center;
160
+ font-size: 0.875rem;
161
+ font-style: normal;
162
+ font-weight: 400;
163
+ line-height: 1.25rem;
164
+ letter-spacing: 0.0156rem;
165
+ }
166
+ }
167
+ }
168
+
169
+ @media (max-width: ${f + "px"}) {
170
+ max-width: 100%;
171
+ flex-direction: row;
172
+ padding: 1rem;
173
+
174
+ & .card__content {
175
+ flex-direction: row;
176
+ align-items: flex-start;
177
+
178
+ & .card__image {
179
+ max-width: 2.5rem;
180
+ max-height: 2.5rem;
181
+ }
182
+
183
+ & .card__text {
184
+ align-items: flex-start;
185
+ gap: 0.625rem;
186
+
187
+ & .card__divider {
188
+ display: none;
189
+ }
190
+
191
+ & .card__title {
192
+ text-align: left;
193
+ font-size: 1rem;
194
+ }
195
+
196
+ & .card__description {
197
+ text-align: left;
198
+ }
199
+ }
200
+ }
201
+ }
202
+ `, w = x(
203
+ ({ options: t = [], selectedOptionCode: a = null, onSelectOption: l = () => {
204
+ } }, c) => /* @__PURE__ */ r(N, { children: t == null ? void 0 : t.map((s, o) => /* @__PURE__ */ r(
205
+ M,
206
+ {
207
+ label: s,
208
+ borderRadius: "curved",
209
+ color: "neutral",
210
+ className: `options__item ${a === o ? "active" : ""}`,
211
+ onClick: () => {
212
+ l(o);
213
+ }
214
+ },
215
+ `toggle-section-tag__${o + 1}`
216
+ )) })
217
+ );
218
+ w.propTypes = {
219
+ options: e.array,
220
+ selectedOptionCode: e.any,
221
+ onSelectOption: e.func
222
+ };
223
+ const v = ({
224
+ title: t,
225
+ description: a,
226
+ image: l,
227
+ learnMoreText: c,
228
+ onSelectItem: s = () => {
229
+ }
230
+ }) => /* @__PURE__ */ d(k, { onClick: s, children: [
231
+ /* @__PURE__ */ d("div", { className: "card__content", children: [
232
+ /* @__PURE__ */ r("img", { src: l, alt: `Card ${t}`, className: "card__image" }),
233
+ /* @__PURE__ */ d("div", { className: "card__text", children: [
234
+ /* @__PURE__ */ r("div", { className: "card__title", children: t }),
235
+ /* @__PURE__ */ r("div", { className: "card__divider" }),
236
+ /* @__PURE__ */ r("div", { className: "card__description", children: a })
237
+ ] })
238
+ ] }),
239
+ /* @__PURE__ */ r(
240
+ y,
241
+ {
242
+ text: c,
243
+ btnType: "basic",
244
+ color: "neutral",
245
+ className: "section__show-more learn-more"
246
+ }
247
+ )
248
+ ] }), b = x(
249
+ ({ items: t = [], showMoreText: a, learnMoreText: l, onSelectItem: c = () => {
250
+ } }, s) => {
251
+ const o = C(), [p, h] = u(!1), g = () => {
252
+ h((n) => !n);
253
+ }, i = T(() => t == null ? void 0 : t.map((n, _) => /* @__PURE__ */ r(
254
+ v,
255
+ {
256
+ title: n == null ? void 0 : n.title,
257
+ description: n == null ? void 0 : n.description,
258
+ image: n == null ? void 0 : n.image,
259
+ learnMoreText: l,
260
+ onSelectItem: () => c(n)
261
+ },
262
+ `toggle-section-item__${_ + 1}`
263
+ )), [t]);
264
+ return /* @__PURE__ */ r(O, { children: o ? p ? i : /* @__PURE__ */ d(S, { children: [
265
+ i == null ? void 0 : i.slice(0, 4),
266
+ (i == null ? void 0 : i.length) > 4 && /* @__PURE__ */ r(
267
+ y,
268
+ {
269
+ text: a,
270
+ btnType: "basic",
271
+ color: "neutral",
272
+ className: "section__show-more",
273
+ onClick: g
274
+ }
275
+ )
276
+ ] }) : i });
277
+ }
278
+ );
279
+ v.propTypes = {
280
+ title: e.string,
281
+ description: e.string,
282
+ image: e.string,
283
+ learnMoreText: e.string,
284
+ onSelectItem: e.func
285
+ };
286
+ b.propTypes = {
287
+ items: e.array,
288
+ showMoreText: e.string,
289
+ learnMoreText: e.string,
290
+ onSelectItem: e.func
291
+ };
292
+ const $ = m.div`
293
+ display: flex;
294
+ flex-direction: column;
295
+ align-items: center;
296
+ gap: 2rem;
297
+
298
+ & .section__heading {
299
+ display: flex;
300
+ flex-direction: column;
301
+ gap: 0.5rem;
302
+ text-align: center;
303
+ width: 100%;
304
+ }
305
+
306
+ & .section__title {
307
+ color: var(--navy-900, #0c1520);
308
+ text-align: center;
309
+ font-size: 1.5rem;
310
+ font-style: normal;
311
+ font-weight: 600;
312
+ line-height: 2rem;
313
+ }
314
+
315
+ & .section__description {
316
+ color: var(--navy-500, #7a8594);
317
+ text-align: center;
318
+ font-size: 1rem;
319
+ font-style: normal;
320
+ font-weight: 500;
321
+ line-height: 1.5rem;
322
+ }
323
+
324
+ @media (max-width: ${f + "px"}) {
325
+ gap: 1.5rem;
326
+
327
+ & .section__heading {
328
+ gap: 0.5rem;
329
+ }
330
+
331
+ & .section__title {
332
+ font-size: 1.375rem;
333
+ font-weight: 600;
334
+ line-height: 1.75rem;
335
+ text-align: left;
336
+ }
337
+
338
+ & .section__description {
339
+ font-size: 0.875rem;
340
+ font-weight: 400;
341
+ line-height: 1.25rem;
342
+ letter-spacing: 0.25px;
343
+ text-align: left;
344
+ }
345
+ }
346
+ `, z = x(
347
+ ({
348
+ title: t,
349
+ description: a,
350
+ showMoreText: l = "Show more",
351
+ learnMoreText: c = "Learn more",
352
+ options: s = [],
353
+ items: o = [],
354
+ onSelectItem: p = () => {
355
+ }
356
+ }, h) => {
357
+ const [g, i] = u(0);
358
+ return /* @__PURE__ */ d($, { ref: h, children: [
359
+ /* @__PURE__ */ d("div", { className: "section__heading", children: [
360
+ t && /* @__PURE__ */ r("div", { className: "section__title", children: t }),
361
+ a && /* @__PURE__ */ r("div", { className: "section__description", children: a })
362
+ ] }),
363
+ /* @__PURE__ */ r(
364
+ w,
365
+ {
366
+ options: s,
367
+ selectedOptionCode: g,
368
+ onSelectOption: (_) => {
369
+ i(_);
370
+ }
371
+ }
372
+ ),
373
+ /* @__PURE__ */ r(
374
+ b,
375
+ {
376
+ items: o == null ? void 0 : o[g],
377
+ showMoreText: l,
378
+ learnMoreText: c,
379
+ onSelectItem: p
380
+ },
381
+ `toggle-section-items__${g}`
382
+ )
383
+ ] });
384
+ }
385
+ );
386
+ z.propTypes = {
387
+ title: e.string,
388
+ description: e.string,
389
+ options: e.array,
390
+ items: e.array,
391
+ showMoreText: e.string,
392
+ learnMoreText: e.string,
393
+ onSelectItem: e.func
394
+ };
395
+ export {
396
+ z as default
397
+ };
@@ -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-xe0nvARV.js";
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-BUD-hnQA.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
+ "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-xe0nvARV.js";
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-BUD-hnQA.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
+ "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-xe0nvARV.js";
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];