@lanaco/lnc-react-ui 4.0.206 → 4.0.207

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 (321) hide show
  1. package/BREAKPOINTS.md +148 -0
  2. package/dist/Accordion.cjs +1 -1
  3. package/dist/Accordion.js +6 -6
  4. package/dist/AccordionSummary.cjs +1 -1
  5. package/dist/AccordionSummary.js +8 -8
  6. package/dist/ActionsToolbar.cjs +15 -4
  7. package/dist/ActionsToolbar.js +58 -46
  8. package/dist/AdBannerSection.cjs +4 -4
  9. package/dist/AdBannerSection.js +5 -5
  10. package/dist/Alert.cjs +1 -1
  11. package/dist/Alert.js +1 -1
  12. package/dist/Avatar.cjs +1 -1
  13. package/dist/Avatar.js +12 -12
  14. package/dist/Badge.cjs +1 -1
  15. package/dist/Badge.js +5 -5
  16. package/dist/BannerNextSection.cjs +2 -2
  17. package/dist/BannerNextSection.js +13 -13
  18. package/dist/BannerSectionBasic.cjs +4 -4
  19. package/dist/BannerSectionBasic.js +22 -22
  20. package/dist/BannerSectionCarousel.cjs +27 -6
  21. package/dist/BannerSectionCarousel.js +71 -50
  22. package/dist/BannerSectionGrid.cjs +3 -3
  23. package/dist/BannerSectionGrid.js +13 -13
  24. package/dist/BannerSectionSimple.cjs +15 -15
  25. package/dist/BannerSectionSimple.js +40 -40
  26. package/dist/BannerSectionWithList.cjs +7 -7
  27. package/dist/BannerSectionWithList.js +20 -20
  28. package/dist/BannerSectionWithListImage.cjs +6 -9
  29. package/dist/BannerSectionWithListImage.js +17 -20
  30. package/dist/BlogCardsSponsoredSection.cjs +7 -5
  31. package/dist/BlogCardsSponsoredSection.js +32 -30
  32. package/dist/BlogCategoryCardsSection.cjs +1 -1
  33. package/dist/BlogCategoryCardsSection.js +2 -2
  34. package/dist/BlogExploreSection.cjs +4 -4
  35. package/dist/BlogExploreSection.js +60 -60
  36. package/dist/BlogImagePathSection.cjs +3 -14
  37. package/dist/BlogImagePathSection.js +27 -39
  38. package/dist/BlogListSection.cjs +6 -6
  39. package/dist/BlogListSection.js +32 -32
  40. package/dist/BlogProductCardsSection.cjs +1 -1
  41. package/dist/BlogProductCardsSection.js +3 -3
  42. package/dist/BlogShopCardsSection.cjs +1 -1
  43. package/dist/BlogShopCardsSection.js +3 -3
  44. package/dist/BlogSingleSection.cjs +3 -3
  45. package/dist/BlogSingleSection.js +12 -12
  46. package/dist/BlogsSectionDetailed.cjs +14 -6
  47. package/dist/BlogsSectionDetailed.js +53 -45
  48. package/dist/BlogsSectionLarge.cjs +13 -5
  49. package/dist/BlogsSectionLarge.js +48 -40
  50. package/dist/BlogsSectionSimple.cjs +14 -9
  51. package/dist/BlogsSectionSimple.js +43 -38
  52. package/dist/BlogsSectionSimpleCentered.cjs +17 -8
  53. package/dist/BlogsSectionSimpleCentered.js +68 -59
  54. package/dist/BlogsSectionWithFilters.cjs +16 -11
  55. package/dist/BlogsSectionWithFilters.js +43 -38
  56. package/dist/BrandHitsSection.cjs +7 -7
  57. package/dist/BrandHitsSection.js +13 -13
  58. package/dist/Breadcrumbs.cjs +1 -1
  59. package/dist/Breadcrumbs.js +16 -16
  60. package/dist/Button.cjs +1 -1
  61. package/dist/Button.js +1 -1
  62. package/dist/ButtonGroup.cjs +1 -1
  63. package/dist/ButtonGroup.js +1 -1
  64. package/dist/CalorieCalculatorSection.cjs +15 -15
  65. package/dist/CalorieCalculatorSection.js +84 -84
  66. package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
  67. package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
  68. package/dist/CheckBoxInput.cjs +1 -1
  69. package/dist/CheckBoxInput.js +1 -1
  70. package/dist/Chip.cjs +1 -1
  71. package/dist/Chip.js +1 -1
  72. package/dist/ColorInput.cjs +1 -1
  73. package/dist/ColorInput.js +14 -14
  74. package/dist/ConfirmationForm.cjs +1 -1
  75. package/dist/ConfirmationForm.js +5 -5
  76. package/dist/ContactSection.cjs +4 -4
  77. package/dist/ContactSection.js +72 -72
  78. package/dist/CustomLoanMapSection.cjs +3 -3
  79. package/dist/CustomLoanMapSection.js +67 -67
  80. package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
  81. package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
  82. package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
  83. package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
  84. package/dist/DateInput.cjs +6 -6
  85. package/dist/DateInput.js +646 -645
  86. package/dist/DecimalInput.cjs +1 -1
  87. package/dist/DecimalInput.js +1 -1
  88. package/dist/DecimalInputV2.cjs +1 -1
  89. package/dist/DecimalInputV2.js +1 -1
  90. package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
  91. package/dist/DetailedProductsInfinitiveSection.js +71 -65
  92. package/dist/DetailedProductsSection.cjs +7 -3
  93. package/dist/DetailedProductsSection.js +55 -51
  94. package/dist/DetailsView.cjs +1 -1
  95. package/dist/DetailsView.js +1 -1
  96. package/dist/DoubleRangeSlider.cjs +1 -1
  97. package/dist/DoubleRangeSlider.js +1 -1
  98. package/dist/DragAndDropFile.cjs +1 -1
  99. package/dist/DragAndDropFile.js +1 -1
  100. package/dist/DragDropFiles.cjs +1 -1
  101. package/dist/DragDropFiles.js +13 -13
  102. package/dist/Drawer.cjs +1 -1
  103. package/dist/Drawer.js +1 -1
  104. package/dist/Dropdown.cjs +1 -1
  105. package/dist/Dropdown.js +2 -2
  106. package/dist/DropdownItem.cjs +1 -1
  107. package/dist/DropdownItem.js +1 -1
  108. package/dist/DropdownLookup.cjs +1 -1
  109. package/dist/DropdownLookup.js +1 -1
  110. package/dist/DropdownMenu.cjs +1 -1
  111. package/dist/DropdownMenu.js +7 -7
  112. package/dist/EditableTable.cjs +1 -1
  113. package/dist/EditableTable.js +8 -8
  114. package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
  115. package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
  116. package/dist/FaqSection.cjs +3 -3
  117. package/dist/FaqSection.js +52 -52
  118. package/dist/FeedbackSection.cjs +3 -3
  119. package/dist/FeedbackSection.js +15 -15
  120. package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
  121. package/dist/FieldOfInterestsMasonrySection.js +73 -67
  122. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
  123. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
  124. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
  125. package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
  126. package/dist/FileInput.cjs +1 -1
  127. package/dist/FileInput.js +1 -1
  128. package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
  129. package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
  130. package/dist/FlexGridItem.cjs +1 -1
  131. package/dist/FlexGridItem.js +1 -1
  132. package/dist/FormField.cjs +1 -1
  133. package/dist/FormField.js +1 -1
  134. package/dist/FormView.cjs +1 -1
  135. package/dist/FormView.js +1 -1
  136. package/dist/GeneralWithTagsCardsSection.cjs +14 -8
  137. package/dist/GeneralWithTagsCardsSection.js +31 -25
  138. package/dist/GiftCardsSection.cjs +15 -7
  139. package/dist/GiftCardsSection.js +44 -36
  140. package/dist/HelpBannerSection.cjs +3 -3
  141. package/dist/HelpBannerSection.js +4 -4
  142. package/dist/Icon.cjs +1 -1
  143. package/dist/Icon.js +4 -4
  144. package/dist/IconButton.cjs +1 -1
  145. package/dist/IconButton.js +1 -1
  146. package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
  147. package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
  148. package/dist/Kanban.cjs +1 -1
  149. package/dist/Kanban.js +1 -1
  150. package/dist/KanbanActionsToolbar.cjs +1 -1
  151. package/dist/KanbanActionsToolbar.js +5 -5
  152. package/dist/KanbanView.cjs +1 -1
  153. package/dist/KanbanView.js +9 -9
  154. package/dist/Link.cjs +1 -1
  155. package/dist/Link.js +1 -1
  156. package/dist/LoanCalculatorSection.cjs +3 -3
  157. package/dist/LoanCalculatorSection.js +17 -17
  158. package/dist/LocationFinderSection.cjs +1 -1
  159. package/dist/LocationFinderSection.js +1 -1
  160. package/dist/LocationSearchSection.cjs +13 -6
  161. package/dist/LocationSearchSection.js +34 -27
  162. package/dist/MasonryGeneralCardsSection.cjs +13 -9
  163. package/dist/MasonryGeneralCardsSection.js +34 -30
  164. package/dist/MenuItem.cjs +1 -1
  165. package/dist/MenuItem.js +14 -14
  166. package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
  167. package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
  168. package/dist/Modal.cjs +1 -1
  169. package/dist/Modal.js +1 -1
  170. package/dist/MultiSelectDropdown.cjs +1 -1
  171. package/dist/MultiSelectDropdown.js +1 -1
  172. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  173. package/dist/MultiSelectDropdownLookup.js +1 -1
  174. package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
  175. package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
  176. package/dist/NestedDropdownItem.cjs +1 -1
  177. package/dist/NestedDropdownItem.js +9 -9
  178. package/dist/NestedMenuItem.cjs +1 -1
  179. package/dist/NestedMenuItem.js +7 -7
  180. package/dist/NotificationContainer.cjs +1 -1
  181. package/dist/NotificationContainer.js +1 -1
  182. package/dist/NotificationMessage.cjs +1 -1
  183. package/dist/NotificationMessage.js +5 -5
  184. package/dist/NumberInput.cjs +1 -1
  185. package/dist/NumberInput.js +8 -8
  186. package/dist/OverlayGeneralCardsSection.cjs +19 -31
  187. package/dist/OverlayGeneralCardsSection.js +51 -63
  188. package/dist/PartnerBannerSection.cjs +2 -2
  189. package/dist/PartnerBannerSection.js +2 -2
  190. package/dist/PartnerBrandsSection.cjs +2 -2
  191. package/dist/PartnerBrandsSection.js +24 -17
  192. package/dist/PartnerCardsSection.cjs +3 -3
  193. package/dist/PartnerCardsSection.js +18 -18
  194. package/dist/PartnerStatsSection.cjs +2 -2
  195. package/dist/PartnerStatsSection.js +3 -3
  196. package/dist/PasswordInput.cjs +1 -1
  197. package/dist/PasswordInput.js +19 -19
  198. package/dist/PopoverContent.cjs +1 -1
  199. package/dist/PopoverContent.js +1 -1
  200. package/dist/ProductsWithBannerSection.cjs +20 -10
  201. package/dist/ProductsWithBannerSection.js +79 -69
  202. package/dist/ProgressBar.cjs +1 -1
  203. package/dist/ProgressBar.js +5 -5
  204. package/dist/QuattroCardsSection.cjs +8 -6
  205. package/dist/QuattroCardsSection.js +19 -17
  206. package/dist/QuizSection.cjs +9 -9
  207. package/dist/QuizSection.js +56 -56
  208. package/dist/RadioInput.cjs +1 -1
  209. package/dist/RadioInput.js +1 -1
  210. package/dist/RangeSlider.cjs +1 -1
  211. package/dist/RangeSlider.js +1 -1
  212. package/dist/ReviewsSection.cjs +24 -16
  213. package/dist/ReviewsSection.js +56 -48
  214. package/dist/SalesCampaignsSection.cjs +25 -21
  215. package/dist/SalesCampaignsSection.js +248 -241
  216. package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
  217. package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
  218. package/dist/SearchSection.cjs +1 -1
  219. package/dist/SearchSection.js +1 -1
  220. package/dist/Separator.cjs +1 -1
  221. package/dist/Separator.js +3 -3
  222. package/dist/SeparatorSection.cjs +3 -3
  223. package/dist/SeparatorSection.js +4 -4
  224. package/dist/ShopCardsSection.cjs +11 -5
  225. package/dist/ShopCardsSection.js +40 -34
  226. package/dist/Sidebar.cjs +1 -1
  227. package/dist/Sidebar.js +1 -1
  228. package/dist/SimpleCategoriesSection.cjs +9 -5
  229. package/dist/SimpleCategoriesSection.js +61 -57
  230. package/dist/SimpleProductsSection.cjs +44 -11
  231. package/dist/SimpleProductsSection.js +100 -67
  232. package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
  233. package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
  234. package/dist/Spinner.cjs +1 -1
  235. package/dist/Spinner.js +1 -1
  236. package/dist/StatsSection.cjs +3 -3
  237. package/dist/StatsSection.js +11 -11
  238. package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
  239. package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
  240. package/dist/Surface.cjs +1 -1
  241. package/dist/Surface.js +1 -1
  242. package/dist/SwipeableDrawer.cjs +1 -1
  243. package/dist/SwipeableDrawer.js +1 -1
  244. package/dist/TabItem.cjs +1 -1
  245. package/dist/TabItem.js +1 -1
  246. package/dist/Table.cjs +54 -49
  247. package/dist/Table.js +417 -401
  248. package/dist/TableView.cjs +10 -2
  249. package/dist/TableView.js +84 -75
  250. package/dist/TextAreaInput.cjs +1 -1
  251. package/dist/TextAreaInput.js +1 -1
  252. package/dist/TextInput.cjs +1 -1
  253. package/dist/TextInput.js +1 -1
  254. package/dist/ThemeProvider.cjs +4 -4
  255. package/dist/ThemeProvider.js +11 -10
  256. package/dist/TimeInput.cjs +1 -1
  257. package/dist/TimeInput.js +1 -1
  258. package/dist/Toggle.cjs +1 -1
  259. package/dist/Toggle.js +1 -1
  260. package/dist/ToggleSection.cjs +7 -7
  261. package/dist/ToggleSection.js +38 -38
  262. package/dist/TreeMenuSeparator.cjs +1 -1
  263. package/dist/TreeMenuSeparator.js +3 -3
  264. package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
  265. package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
  266. package/dist/UploadedFile.cjs +1 -1
  267. package/dist/UploadedFile.js +7 -7
  268. package/dist/UrgentSaleProductsSection.cjs +10 -4
  269. package/dist/UrgentSaleProductsSection.js +67 -61
  270. package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
  271. package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
  272. package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
  273. package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
  274. package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
  275. package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
  276. package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
  277. package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
  278. package/dist/breakpoints-CcVm-gVm.cjs +1 -0
  279. package/dist/breakpoints-ff0SIcV3.js +91 -0
  280. package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
  281. package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
  282. package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
  283. package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
  284. package/dist/index-B_ilx3wM.cjs +16 -0
  285. package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
  286. package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
  287. package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
  288. package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
  289. package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
  290. package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
  291. package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
  292. package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
  293. package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
  294. package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
  295. package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
  296. package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
  297. package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
  298. package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
  299. package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
  300. package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
  301. package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
  302. package/dist/index.cjs +1 -1
  303. package/dist/index.js +213 -194
  304. package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
  305. package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
  306. package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
  307. package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
  308. package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
  309. package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
  310. package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
  311. package/dist/theme-Q3WOGKWQ.cjs +1 -0
  312. package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
  313. package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
  314. package/dist/utils-B2fsQ6PS.js +334 -0
  315. package/dist/utils-CITgSxXe.cjs +51 -0
  316. package/package.json +1 -1
  317. package/dist/consts-BuFChS64.js +0 -7
  318. package/dist/consts-goSZX3xP.cjs +0 -1
  319. package/dist/index-D-3I_Ppj.cjs +0 -16
  320. package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
  321. package/dist/utils-RnrgDDZP.cjs +0 -51
@@ -1,15 +1,15 @@
1
1
  import { jsx as c, jsxs as S } from "react/jsx-runtime";
2
2
  import Y, { forwardRef as J } from "react";
3
- import We from "./TextInput.js";
3
+ import Xe from "./TextInput.js";
4
4
  import Ye from "./Icon.js";
5
5
  import Je from "./Chip.js";
6
- import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
- import { M as pe } from "./consts-BuFChS64.js";
8
- import { a as Ze, c as H, g as qe } from "./_commonjsHelpers-BkfeUUK-.js";
6
+ import { s as q } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
+ import { d as pe } from "./breakpoints-ff0SIcV3.js";
8
+ import { a as qe, c as H, g as Ze } from "./_commonjsHelpers-BkfeUUK-.js";
9
9
  import { r as de } from "./index-wlx30R-h.js";
10
10
  import { p as Ge } from "./index-CblbdqjE.js";
11
- import { u as Qe } from "./useDetectMobile-Bkvj0VMa.js";
12
- const et = Z.div`
11
+ import { u as Qe } from "./useDetectMobile-CcVo3PNi.js";
12
+ const et = q.div`
13
13
  display: flex;
14
14
  gap: 0.5rem;
15
15
  align-content: center;
@@ -33,7 +33,7 @@ const et = Z.div`
33
33
  }
34
34
  }
35
35
 
36
- @media (max-width: ${pe + "px"}) {
36
+ @media ${pe("S")} {
37
37
  width: 100%;
38
38
  overflow-x: auto;
39
39
  white-space: nowrap;
@@ -52,7 +52,7 @@ const et = Z.div`
52
52
  /* Safari and Chrome */
53
53
  }
54
54
  }
55
- `, tt = Z.div`
55
+ `, tt = q.div`
56
56
  position: relative;
57
57
  display: flex;
58
58
  justify-content: center;
@@ -190,7 +190,7 @@ var _t = C, ye = _t, Pt = Object.create, N = Object.defineProperty, gt = Object.
190
190
  for (let a of bt(t))
191
191
  !wt.call(e, a) && a !== r && N(e, a, { get: () => t[a], enumerable: !(n = gt(t, a)) || n.enumerable });
192
192
  return e;
193
- }, q = (e, t, r) => (r = e != null ? Pt(vt(e)) : {}, he(
193
+ }, Z = (e, t, r) => (r = e != null ? Pt(vt(e)) : {}, he(
194
194
  // If the importer is in node compatibility mode or this is not an ESM
195
195
  // file that has been converted to a CommonJS file using a Babel-
196
196
  // compatible transform (i.e. "__esModule" has not been set), then set
@@ -207,12 +207,12 @@ Ot(me, {
207
207
  lazy: () => Mt,
208
208
  omit: () => kt,
209
209
  parseEndTime: () => Lt,
210
- parseStartTime: () => $t,
210
+ parseStartTime: () => It,
211
211
  queryString: () => jt,
212
212
  randomString: () => Nt,
213
213
  supportsWebKitPresentationMode: () => Ft
214
214
  });
215
- var j = St(me), Tt = q(Y), Ct = q(rt), Et = q(ye);
215
+ var j = St(me), Tt = Z(Y), Ct = Z(rt), Et = Z(ye);
216
216
  const Mt = (e) => Tt.default.lazy(async () => {
217
217
  const t = await e();
218
218
  return typeof t.default == "function" ? t : t.default;
@@ -224,12 +224,12 @@ function _e(e, t) {
224
224
  if (r) {
225
225
  const n = r[1];
226
226
  if (n.match(B))
227
- return It(n);
227
+ return $t(n);
228
228
  if (xt.test(n))
229
229
  return parseInt(n);
230
230
  }
231
231
  }
232
- function It(e) {
232
+ function $t(e) {
233
233
  let t = 0, r = B.exec(e);
234
234
  for (; r !== null; ) {
235
235
  const [, n, a] = r;
@@ -237,7 +237,7 @@ function It(e) {
237
237
  }
238
238
  return t;
239
239
  }
240
- function $t(e) {
240
+ function It(e) {
241
241
  return _e(e, At);
242
242
  }
243
243
  function Lt(e) {
@@ -300,19 +300,19 @@ function Ft(e = document.createElement("video")) {
300
300
  const t = /iPhone|iPod/.test(navigator.userAgent) === !1;
301
301
  return e.webkitSupportsPresentationMode && typeof e.webkitSetPresentationMode == "function" && t;
302
302
  }
303
- var G = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Kt = Object.getOwnPropertyNames, Xt = Object.prototype.hasOwnProperty, Wt = (e, t) => {
303
+ var G = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Kt = Object.getOwnPropertyNames, Wt = Object.prototype.hasOwnProperty, Xt = (e, t) => {
304
304
  for (var r in t)
305
305
  G(e, r, { get: t[r], enumerable: !0 });
306
306
  }, Yt = (e, t, r, n) => {
307
307
  if (t && typeof t == "object" || typeof t == "function")
308
308
  for (let a of Kt(t))
309
- !Xt.call(e, a) && a !== r && G(e, a, { get: () => t[a], enumerable: !(n = Bt(t, a)) || n.enumerable });
309
+ !Wt.call(e, a) && a !== r && G(e, a, { get: () => t[a], enumerable: !(n = Bt(t, a)) || n.enumerable });
310
310
  return e;
311
311
  }, Jt = (e) => Yt(G({}, "__esModule", { value: !0 }), e), Pe = {};
312
- Wt(Pe, {
312
+ Xt(Pe, {
313
313
  AUDIO_EXTENSIONS: () => Q,
314
- DASH_EXTENSIONS: () => Ie,
315
- FLV_EXTENSIONS: () => $e,
314
+ DASH_EXTENSIONS: () => $e,
315
+ FLV_EXTENSIONS: () => Ie,
316
316
  HLS_EXTENSIONS: () => te,
317
317
  MATCH_URL_DAILYMOTION: () => Me,
318
318
  MATCH_URL_FACEBOOK: () => we,
@@ -329,18 +329,18 @@ Wt(Pe, {
329
329
  MATCH_URL_WISTIA: () => Te,
330
330
  MATCH_URL_YOUTUBE: () => K,
331
331
  VIDEO_EXTENSIONS: () => ee,
332
- canPlay: () => qt
332
+ canPlay: () => Zt
333
333
  });
334
- var Zt = Jt(Pe), ie = j;
335
- const K = /(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//, ge = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/, be = /vimeo\.com\/(?!progressive_redirect).+/, ve = /stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/, we = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/, Oe = /^https?:\/\/fb\.watch\/.+$/, Se = /streamable\.com\/([a-z0-9]+)$/, Te = /(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/, Ce = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/, Ee = /(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/, Me = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/, Ae = /mixcloud\.com\/([^/]+\/[^/]+)/, Re = /vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/, xe = /^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-_].*)$/, Q = /\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i, ee = /\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i, te = /\.(m3u8)($|\?)/i, Ie = /\.(mpd)($|\?)/i, $e = /\.(flv)($|\?)/i, X = (e) => {
334
+ var qt = Jt(Pe), ie = j;
335
+ const K = /(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//, ge = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/, be = /vimeo\.com\/(?!progressive_redirect).+/, ve = /stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/, we = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/, Oe = /^https?:\/\/fb\.watch\/.+$/, Se = /streamable\.com\/([a-z0-9]+)$/, Te = /(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/, Ce = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/, Ee = /(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/, Me = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/, Ae = /mixcloud\.com\/([^/]+\/[^/]+)/, Re = /vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/, xe = /^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-_].*)$/, Q = /\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i, ee = /\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i, te = /\.(m3u8)($|\?)/i, $e = /\.(mpd)($|\?)/i, Ie = /\.(flv)($|\?)/i, W = (e) => {
336
336
  if (e instanceof Array) {
337
337
  for (const t of e)
338
- if (typeof t == "string" && X(t) || X(t.src))
338
+ if (typeof t == "string" && W(t) || W(t.src))
339
339
  return !0;
340
340
  return !1;
341
341
  }
342
- return (0, ie.isMediaStream)(e) || (0, ie.isBlobUrl)(e) ? !0 : Q.test(e) || ee.test(e) || te.test(e) || Ie.test(e) || $e.test(e);
343
- }, qt = {
342
+ return (0, ie.isMediaStream)(e) || (0, ie.isBlobUrl)(e) ? !0 : Q.test(e) || ee.test(e) || te.test(e) || $e.test(e) || Ie.test(e);
343
+ }, Zt = {
344
344
  youtube: (e) => e instanceof Array ? e.every((t) => K.test(t)) : K.test(e),
345
345
  soundcloud: (e) => ge.test(e) && !Q.test(e),
346
346
  vimeo: (e) => be.test(e) && !ee.test(e) && !te.test(e),
@@ -353,7 +353,7 @@ const K = /(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|w
353
353
  mixcloud: (e) => Ae.test(e),
354
354
  vidyard: (e) => Re.test(e),
355
355
  kaltura: (e) => xe.test(e),
356
- file: X
356
+ file: W
357
357
  };
358
358
  var re = Object.defineProperty, Gt = Object.getOwnPropertyDescriptor, Qt = Object.getOwnPropertyNames, er = Object.prototype.hasOwnProperty, tr = (e, t) => {
359
359
  for (var r in t)
@@ -367,14 +367,14 @@ var re = Object.defineProperty, Gt = Object.getOwnPropertyDescriptor, Qt = Objec
367
367
  tr(Le, {
368
368
  default: () => or
369
369
  });
370
- var nr = ar(Le), P = j, m = Zt, or = [
370
+ var nr = ar(Le), P = j, m = qt, or = [
371
371
  {
372
372
  key: "youtube",
373
373
  name: "YouTube",
374
374
  canPlay: m.canPlay.youtube,
375
375
  lazyPlayer: (0, P.lazy)(() => import(
376
376
  /* webpackChunkName: 'reactPlayerYouTube' */
377
- "./YouTube-BKyipPZx.js"
377
+ "./YouTube-XoIB4ATQ.js"
378
378
  ).then((e) => e.Y))
379
379
  },
380
380
  {
@@ -383,7 +383,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
383
383
  canPlay: m.canPlay.soundcloud,
384
384
  lazyPlayer: (0, P.lazy)(() => import(
385
385
  /* webpackChunkName: 'reactPlayerSoundCloud' */
386
- "./SoundCloud-lO8wg_0s.js"
386
+ "./SoundCloud-Cfaj1Ze1.js"
387
387
  ).then((e) => e.S))
388
388
  },
389
389
  {
@@ -392,7 +392,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
392
392
  canPlay: m.canPlay.vimeo,
393
393
  lazyPlayer: (0, P.lazy)(() => import(
394
394
  /* webpackChunkName: 'reactPlayerVimeo' */
395
- "./Vimeo-kzHz4Gco.js"
395
+ "./Vimeo-5bkeYCV4.js"
396
396
  ).then((e) => e.V))
397
397
  },
398
398
  {
@@ -401,7 +401,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
401
401
  canPlay: m.canPlay.mux,
402
402
  lazyPlayer: (0, P.lazy)(() => import(
403
403
  /* webpackChunkName: 'reactPlayerMux' */
404
- "./Mux-BGTG_Tvc.js"
404
+ "./Mux-C6szci3w.js"
405
405
  ).then((e) => e.M))
406
406
  },
407
407
  {
@@ -410,7 +410,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
410
410
  canPlay: m.canPlay.facebook,
411
411
  lazyPlayer: (0, P.lazy)(() => import(
412
412
  /* webpackChunkName: 'reactPlayerFacebook' */
413
- "./Facebook-BSWPEXjA.js"
413
+ "./Facebook-vhbBr0rd.js"
414
414
  ).then((e) => e.F))
415
415
  },
416
416
  {
@@ -419,7 +419,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
419
419
  canPlay: m.canPlay.streamable,
420
420
  lazyPlayer: (0, P.lazy)(() => import(
421
421
  /* webpackChunkName: 'reactPlayerStreamable' */
422
- "./Streamable-Dwa5ZEK4.js"
422
+ "./Streamable-CG8_-_w7.js"
423
423
  ).then((e) => e.S))
424
424
  },
425
425
  {
@@ -428,7 +428,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
428
428
  canPlay: m.canPlay.wistia,
429
429
  lazyPlayer: (0, P.lazy)(() => import(
430
430
  /* webpackChunkName: 'reactPlayerWistia' */
431
- "./Wistia-w4jnqd7y.js"
431
+ "./Wistia-gOZBV0XZ.js"
432
432
  ).then((e) => e.W))
433
433
  },
434
434
  {
@@ -437,7 +437,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
437
437
  canPlay: m.canPlay.twitch,
438
438
  lazyPlayer: (0, P.lazy)(() => import(
439
439
  /* webpackChunkName: 'reactPlayerTwitch' */
440
- "./Twitch-C73-dwWo.js"
440
+ "./Twitch-CbU_0Tx9.js"
441
441
  ).then((e) => e.T))
442
442
  },
443
443
  {
@@ -446,7 +446,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
446
446
  canPlay: m.canPlay.dailymotion,
447
447
  lazyPlayer: (0, P.lazy)(() => import(
448
448
  /* webpackChunkName: 'reactPlayerDailyMotion' */
449
- "./DailyMotion-BBcJkMo_.js"
449
+ "./DailyMotion-P9S-WhTX.js"
450
450
  ).then((e) => e.D))
451
451
  },
452
452
  {
@@ -455,7 +455,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
455
455
  canPlay: m.canPlay.mixcloud,
456
456
  lazyPlayer: (0, P.lazy)(() => import(
457
457
  /* webpackChunkName: 'reactPlayerMixcloud' */
458
- "./Mixcloud-zAh6j7Ha.js"
458
+ "./Mixcloud-Cn5M-EIT.js"
459
459
  ).then((e) => e.M))
460
460
  },
461
461
  {
@@ -464,7 +464,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
464
464
  canPlay: m.canPlay.vidyard,
465
465
  lazyPlayer: (0, P.lazy)(() => import(
466
466
  /* webpackChunkName: 'reactPlayerVidyard' */
467
- "./Vidyard-B6GdBHsM.js"
467
+ "./Vidyard-S6Fl_F78.js"
468
468
  ).then((e) => e.V))
469
469
  },
470
470
  {
@@ -473,7 +473,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
473
473
  canPlay: m.canPlay.kaltura,
474
474
  lazyPlayer: (0, P.lazy)(() => import(
475
475
  /* webpackChunkName: 'reactPlayerKaltura' */
476
- "./Kaltura-BDqlEQpd.js"
476
+ "./Kaltura-CRGK2EP7.js"
477
477
  ).then((e) => e.K))
478
478
  },
479
479
  {
@@ -483,7 +483,7 @@ var nr = ar(Le), P = j, m = Zt, or = [
483
483
  canEnablePIP: (e) => m.canPlay.file(e) && (document.pictureInPictureEnabled || (0, P.supportsWebKitPresentationMode)()) && !m.AUDIO_EXTENSIONS.test(e),
484
484
  lazyPlayer: (0, P.lazy)(() => import(
485
485
  /* webpackChunkName: 'reactPlayerFilePlayer' */
486
- "./FilePlayer-BtGpIWnK.js"
486
+ "./FilePlayer-CXTLAokk.js"
487
487
  ).then((e) => e.F))
488
488
  }
489
489
  ], se = Number.isNaN || function(t) {
@@ -513,7 +513,7 @@ function lr(e, t) {
513
513
  const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
514
514
  __proto__: null,
515
515
  default: lr
516
- }, Symbol.toStringTag, { value: "Module" })), ur = /* @__PURE__ */ Ze(cr);
516
+ }, Symbol.toStringTag, { value: "Module" })), ur = /* @__PURE__ */ qe(cr);
517
517
  var pr = Object.create, D = Object.defineProperty, dr = Object.getOwnPropertyDescriptor, fr = Object.getOwnPropertyNames, yr = Object.getPrototypeOf, hr = Object.prototype.hasOwnProperty, mr = (e, t) => {
518
518
  for (var r in t)
519
519
  D(e, r, { get: t[r], enumerable: !0 });
@@ -753,27 +753,27 @@ const { string: p, bool: _, number: O, array: V, oneOfType: M, shape: g, object:
753
753
  onEnablePIP: d,
754
754
  onDisablePIP: d
755
755
  };
756
- var wr = Object.create, I = Object.defineProperty, Or = Object.getOwnPropertyDescriptor, Sr = Object.getOwnPropertyNames, Tr = Object.getPrototypeOf, Cr = Object.prototype.hasOwnProperty, Er = (e, t, r) => t in e ? I(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mr = (e, t) => {
756
+ var wr = Object.create, $ = Object.defineProperty, Or = Object.getOwnPropertyDescriptor, Sr = Object.getOwnPropertyNames, Tr = Object.getPrototypeOf, Cr = Object.prototype.hasOwnProperty, Er = (e, t, r) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mr = (e, t) => {
757
757
  for (var r in t)
758
- I(e, r, { get: t[r], enumerable: !0 });
758
+ $(e, r, { get: t[r], enumerable: !0 });
759
759
  }, Ue = (e, t, r, n) => {
760
760
  if (t && typeof t == "object" || typeof t == "function")
761
761
  for (let a of Sr(t))
762
- !Cr.call(e, a) && a !== r && I(e, a, { get: () => t[a], enumerable: !(n = Or(t, a)) || n.enumerable });
762
+ !Cr.call(e, a) && a !== r && $(e, a, { get: () => t[a], enumerable: !(n = Or(t, a)) || n.enumerable });
763
763
  return e;
764
764
  }, ke = (e, t, r) => (r = e != null ? wr(Tr(e)) : {}, Ue(
765
765
  // If the importer is in node compatibility mode or this is not an ESM
766
766
  // file that has been converted to a CommonJS file using a Babel-
767
767
  // compatible transform (i.e. "__esModule" has not been set), then set
768
768
  // "default" to the CommonJS "module.exports" for node compatibility.
769
- !e || !e.__esModule ? I(r, "default", { value: e, enumerable: !0 }) : r,
769
+ !e || !e.__esModule ? $(r, "default", { value: e, enumerable: !0 }) : r,
770
770
  e
771
- )), Ar = (e) => Ue(I({}, "__esModule", { value: !0 }), e), s = (e, t, r) => (Er(e, typeof t != "symbol" ? t + "" : t, r), r), He = {};
771
+ )), Ar = (e) => Ue($({}, "__esModule", { value: !0 }), e), s = (e, t, r) => (Er(e, typeof t != "symbol" ? t + "" : t, r), r), He = {};
772
772
  Mr(He, {
773
773
  default: () => U
774
774
  });
775
- var Rr = Ar(He), ce = ke(Y), xr = ke(de), ze = De, Ir = j;
776
- const $r = 5e3;
775
+ var Rr = Ar(He), ce = ke(Y), xr = ke(de), ze = De, $r = j;
776
+ const Ir = 5e3;
777
777
  class U extends ce.Component {
778
778
  constructor() {
779
779
  super(...arguments), s(this, "mounted", !1), s(this, "isReady", !1), s(this, "isPlaying", !1), s(this, "isLoading", !0), s(this, "loadOnReady", null), s(this, "startOnPlay", !0), s(this, "seekOnPlay", null), s(this, "onDurationCalled", !1), s(this, "handlePlayerMount", (t) => {
@@ -830,7 +830,7 @@ class U extends ce.Component {
830
830
  return;
831
831
  const { url: r, playing: n, volume: a, muted: o, playbackRate: f, pip: y, loop: u, activePlayer: v, disableDeferredLoading: b } = this.props;
832
832
  if (!(0, xr.default)(t.url, r)) {
833
- if (this.isLoading && !v.forceLoad && !b && !(0, Ir.isMediaStream)(r)) {
833
+ if (this.isLoading && !v.forceLoad && !b && !(0, $r.isMediaStream)(r)) {
834
834
  console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`), this.loadOnReady = r;
835
835
  return;
836
836
  }
@@ -851,7 +851,7 @@ class U extends ce.Component {
851
851
  if (!this.isReady) {
852
852
  t !== 0 && (this.seekOnPlay = t, setTimeout(() => {
853
853
  this.seekOnPlay = null;
854
- }, $r));
854
+ }, Ir));
855
855
  return;
856
856
  }
857
857
  if (r ? r === "fraction" : t > 0 && t < 1) {
@@ -885,30 +885,30 @@ class U extends ce.Component {
885
885
  s(U, "displayName", "Player");
886
886
  s(U, "propTypes", ze.propTypes);
887
887
  s(U, "defaultProps", ze.defaultProps);
888
- var Lr = Object.create, $ = Object.defineProperty, Nr = Object.getOwnPropertyDescriptor, jr = Object.getOwnPropertyNames, Dr = Object.getPrototypeOf, Ur = Object.prototype.hasOwnProperty, kr = (e, t, r) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hr = (e, t) => {
888
+ var Lr = Object.create, I = Object.defineProperty, Nr = Object.getOwnPropertyDescriptor, jr = Object.getOwnPropertyNames, Dr = Object.getPrototypeOf, Ur = Object.prototype.hasOwnProperty, kr = (e, t, r) => t in e ? I(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hr = (e, t) => {
889
889
  for (var r in t)
890
- $(e, r, { get: t[r], enumerable: !0 });
890
+ I(e, r, { get: t[r], enumerable: !0 });
891
891
  }, Ve = (e, t, r, n) => {
892
892
  if (t && typeof t == "object" || typeof t == "function")
893
893
  for (let a of jr(t))
894
- !Ur.call(e, a) && a !== r && $(e, a, { get: () => t[a], enumerable: !(n = Nr(t, a)) || n.enumerable });
894
+ !Ur.call(e, a) && a !== r && I(e, a, { get: () => t[a], enumerable: !(n = Nr(t, a)) || n.enumerable });
895
895
  return e;
896
896
  }, L = (e, t, r) => (r = e != null ? Lr(Dr(e)) : {}, Ve(
897
897
  // If the importer is in node compatibility mode or this is not an ESM
898
898
  // file that has been converted to a CommonJS file using a Babel-
899
899
  // compatible transform (i.e. "__esModule" has not been set), then set
900
900
  // "default" to the CommonJS "module.exports" for node compatibility.
901
- !e || !e.__esModule ? $(r, "default", { value: e, enumerable: !0 }) : r,
901
+ !e || !e.__esModule ? I(r, "default", { value: e, enumerable: !0 }) : r,
902
902
  e
903
- )), zr = (e) => Ve($({}, "__esModule", { value: !0 }), e), i = (e, t, r) => (kr(e, typeof t != "symbol" ? t + "" : t, r), r), Fe = {};
903
+ )), zr = (e) => Ve(I({}, "__esModule", { value: !0 }), e), i = (e, t, r) => (kr(e, typeof t != "symbol" ? t + "" : t, r), r), Fe = {};
904
904
  Hr(Fe, {
905
- createReactPlayer: () => Zr
905
+ createReactPlayer: () => qr
906
906
  });
907
907
  var Vr = zr(Fe), T = L(Y), Fr = L(ye), F = L(ur), ue = L(de), R = De, Be = j, Br = L(Rr);
908
908
  const Kr = (0, Be.lazy)(() => import(
909
909
  /* webpackChunkName: 'reactPlayerPreview' */
910
910
  "./Preview-CO6WSP5f.js"
911
- ).then((e) => e.P)), Xr = typeof window < "u" && window.document && typeof document < "u", Wr = typeof H < "u" && H.window && H.window.document, Yr = Object.keys(R.propTypes), Jr = Xr || Wr ? T.Suspense : () => null, A = [], Zr = (e, t) => {
911
+ ).then((e) => e.P)), Wr = typeof window < "u" && window.document && typeof document < "u", Xr = typeof H < "u" && H.window && H.window.document, Yr = Object.keys(R.propTypes), Jr = Wr || Xr ? T.Suspense : () => null, A = [], qr = (e, t) => {
912
912
  var r;
913
913
  return r = class extends T.Component {
914
914
  constructor() {
@@ -1008,7 +1008,7 @@ const Kr = (0, Be.lazy)(() => import(
1008
1008
  return !1;
1009
1009
  }), r;
1010
1010
  };
1011
- var qr = Object.create, k = Object.defineProperty, Gr = Object.getOwnPropertyDescriptor, Qr = Object.getOwnPropertyNames, ea = Object.getPrototypeOf, ta = Object.prototype.hasOwnProperty, ra = (e, t) => {
1011
+ var Zr = Object.create, k = Object.defineProperty, Gr = Object.getOwnPropertyDescriptor, Qr = Object.getOwnPropertyNames, ea = Object.getPrototypeOf, ta = Object.prototype.hasOwnProperty, ra = (e, t) => {
1012
1012
  for (var r in t)
1013
1013
  k(e, r, { get: t[r], enumerable: !0 });
1014
1014
  }, Ke = (e, t, r, n) => {
@@ -1016,21 +1016,21 @@ var qr = Object.create, k = Object.defineProperty, Gr = Object.getOwnPropertyDes
1016
1016
  for (let a of Qr(t))
1017
1017
  !ta.call(e, a) && a !== r && k(e, a, { get: () => t[a], enumerable: !(n = Gr(t, a)) || n.enumerable });
1018
1018
  return e;
1019
- }, aa = (e, t, r) => (r = e != null ? qr(ea(e)) : {}, Ke(
1019
+ }, aa = (e, t, r) => (r = e != null ? Zr(ea(e)) : {}, Ke(
1020
1020
  // If the importer is in node compatibility mode or this is not an ESM
1021
1021
  // file that has been converted to a CommonJS file using a Babel-
1022
1022
  // compatible transform (i.e. "__esModule" has not been set), then set
1023
1023
  // "default" to the CommonJS "module.exports" for node compatibility.
1024
1024
  !e || !e.__esModule ? k(r, "default", { value: e, enumerable: !0 }) : r,
1025
1025
  e
1026
- )), na = (e) => Ke(k({}, "__esModule", { value: !0 }), e), Xe = {};
1027
- ra(Xe, {
1026
+ )), na = (e) => Ke(k({}, "__esModule", { value: !0 }), e), We = {};
1027
+ ra(We, {
1028
1028
  default: () => la
1029
1029
  });
1030
- var oa = na(Xe), W = aa(nr), ia = Vr;
1031
- const sa = W.default[W.default.length - 1];
1032
- var la = (0, ia.createReactPlayer)(W.default, sa);
1033
- const ca = /* @__PURE__ */ qe(oa), ua = "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", pa = ({ thumbnail: e }) => /* @__PURE__ */ S(tt, { children: [
1030
+ var oa = na(We), X = aa(nr), ia = Vr;
1031
+ const sa = X.default[X.default.length - 1];
1032
+ var la = (0, ia.createReactPlayer)(X.default, sa);
1033
+ const ca = /* @__PURE__ */ Ze(oa), ua = "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", pa = ({ thumbnail: e }) => /* @__PURE__ */ S(tt, { children: [
1034
1034
  /* @__PURE__ */ c("img", { src: e, className: "section__thumbnail", alt: "Thumbnail" }),
1035
1035
  /* @__PURE__ */ c("img", { src: ua, className: "section__play", alt: "Play" })
1036
1036
  ] }), da = J(({ video: e, thumbnail: t }, r) => {
@@ -1047,7 +1047,7 @@ const ca = /* @__PURE__ */ qe(oa), ua = "data:image/svg+xml,%3csvg%20width='65'%
1047
1047
  playIcon: /* @__PURE__ */ c(pa, { thumbnail: t })
1048
1048
  }
1049
1049
  );
1050
- }), fa = Z.div`
1050
+ }), fa = q.div`
1051
1051
  display: flex;
1052
1052
  justify-content: space-between;
1053
1053
  align-items: center;
@@ -1125,7 +1125,7 @@ const ca = /* @__PURE__ */ qe(oa), ua = "data:image/svg+xml,%3csvg%20width='65'%
1125
1125
  }
1126
1126
  }
1127
1127
 
1128
- @media (max-width: ${pe + "px"}) {
1128
+ @media ${pe("S")} {
1129
1129
  flex-direction: column;
1130
1130
  gap: 1.5rem;
1131
1131
 
@@ -1156,7 +1156,7 @@ const ca = /* @__PURE__ */ qe(oa), ua = "data:image/svg+xml,%3csvg%20width='65'%
1156
1156
  o ? /* @__PURE__ */ S("div", { className: "section__left search", children: [
1157
1157
  /* @__PURE__ */ c("div", { children: e && /* @__PURE__ */ c("div", { className: "section__title", children: e }) }),
1158
1158
  /* @__PURE__ */ c(
1159
- We,
1159
+ Xe,
1160
1160
  {
1161
1161
  className: "section__text-input",
1162
1162
  placeholder: n,
@@ -1187,6 +1187,6 @@ const ca = /* @__PURE__ */ qe(oa), ua = "data:image/svg+xml,%3csvg%20width='65'%
1187
1187
  );
1188
1188
  export {
1189
1189
  Ta as S,
1190
- Zt as p,
1190
+ qt as p,
1191
1191
  j as u
1192
1192
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),x=require("react"),Xe=require("./TextInput.cjs"),Ke=require("./Icon.cjs"),We=require("./Chip.cjs"),W=require("./emotion-styled.browser.esm-BtEseadx.cjs"),ce=require("./consts-goSZX3xP.cjs"),j=require("./_commonjsHelpers-DwTZ_eVU.cjs"),ue=require("./index-CDGmG-qk.cjs"),Ye=require("./index-BpbMKBf_.cjs"),Je=require("./useDetectMobile-zkbzoOGV.cjs"),Ze=W.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),x=require("react"),Ke=require("./TextInput.cjs"),We=require("./Icon.cjs"),Xe=require("./Chip.cjs"),X=require("./emotion-styled.browser.esm-BtEseadx.cjs"),ce=require("./breakpoints-CcVm-gVm.cjs"),j=require("./_commonjsHelpers-DwTZ_eVU.cjs"),ue=require("./index-CDGmG-qk.cjs"),Ye=require("./index-BpbMKBf_.cjs"),Je=require("./useDetectMobile-DYV6V1yw.cjs"),Ge=X.styled.div`
2
2
  display: flex;
3
3
  gap: 0.5rem;
4
4
  align-content: center;
@@ -22,7 +22,7 @@
22
22
  }
23
23
  }
24
24
 
25
- @media (max-width: ${ce.MOBILE_SIZE_PX+"px"}) {
25
+ @media ${ce.down("S")} {
26
26
  width: 100%;
27
27
  overflow-x: auto;
28
28
  white-space: nowrap;
@@ -41,7 +41,7 @@
41
41
  /* Safari and Chrome */
42
42
  }
43
43
  }
44
- `,Ge=W.styled.div`
44
+ `,Ze=X.styled.div`
45
45
  position: relative;
46
46
  display: flex;
47
47
  justify-content: center;
@@ -63,7 +63,7 @@
63
63
  & .section__play {
64
64
  position: absolute;
65
65
  }
66
- `,te=x.forwardRef(({tags:e=[],selectedTagCode:t=null,onSelectTag:r=()=>{}},n)=>i.jsx(Ze,{ref:n,children:e==null?void 0:e.map((a,o)=>i.jsx(We,{label:a==null?void 0:a.name,borderRadius:"curved",color:"neutral",className:`tags__item ${t===(a==null?void 0:a.code)?"active":""}`,onClick:()=>{r(a)}},`search-section-tag__${o+1}`))}));var Qe=function(t,r,n){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");typeof r=="function"&&(n=r,r={}),r=r||{},n=n||function(){},o.type=r.type||"text/javascript",o.charset=r.charset||"utf8",o.async="async"in r?!!r.async:!0,o.src=t,r.attrs&&et(o,r.attrs),r.text&&(o.text=""+r.text);var y="onload"in o?re:tt;y(o,n),o.onload||re(o,n),a.appendChild(o)};function et(e,t){for(var r in t)e.setAttribute(r,t[r])}function re(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function tt(e,t){e.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,t(null,e))}}var rt=function(t){return at(t)&&!nt(t)};function at(e){return!!e&&typeof e=="object"}function nt(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||st(e)}var ot=typeof Symbol=="function"&&Symbol.for,it=ot?Symbol.for("react.element"):60103;function st(e){return e.$$typeof===it}function lt(e){return Array.isArray(e)?[]:{}}function R(e,t){return t.clone!==!1&&t.isMergeableObject(e)?T(lt(e),e,t):e}function ct(e,t,r){return e.concat(t).map(function(n){return R(n,r)})}function ut(e,t){if(!t.customMerge)return T;var r=t.customMerge(e);return typeof r=="function"?r:T}function pt(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ae(e){return Object.keys(e).concat(pt(e))}function pe(e,t){try{return t in e}catch{return!1}}function dt(e,t){return pe(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function yt(e,t,r){var n={};return r.isMergeableObject(e)&&ae(e).forEach(function(a){n[a]=R(e[a],r)}),ae(t).forEach(function(a){dt(e,a)||(pe(e,a)&&r.isMergeableObject(t[a])?n[a]=ut(a,r)(e[a],t[a],r):n[a]=R(t[a],r))}),n}function T(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ct,r.isMergeableObject=r.isMergeableObject||rt,r.cloneUnlessOtherwiseSpecified=R;var n=Array.isArray(t),a=Array.isArray(e),o=n===a;return o?n?r.arrayMerge(e,t,r):yt(e,t,r):R(t,r)}T.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return T(n,a,r)},{})};var ft=T,de=ft,ht=Object.create,D=Object.defineProperty,_t=Object.getOwnPropertyDescriptor,mt=Object.getOwnPropertyNames,Pt=Object.getPrototypeOf,vt=Object.prototype.hasOwnProperty,bt=(e,t)=>{for(var r in t)D(e,r,{get:t[r],enumerable:!0})},ye=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of mt(t))!vt.call(e,a)&&a!==r&&D(e,a,{get:()=>t[a],enumerable:!(n=_t(t,a))||n.enumerable});return e},Y=(e,t,r)=>(r=e!=null?ht(Pt(e)):{},ye(!e||!e.__esModule?D(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>ye(D({},"__esModule",{value:!0}),e),fe={};bt(fe,{callPlayer:()=>Dt,getConfig:()=>Lt,getSDK:()=>$t,isBlobUrl:()=>kt,isMediaStream:()=>Ut,lazy:()=>Tt,omit:()=>Nt,parseEndTime:()=>jt,parseStartTime:()=>At,queryString:()=>It,randomString:()=>Rt,supportsWebKitPresentationMode:()=>Ht});var I=gt(fe),wt=Y(x),Ot=Y(Qe),St=Y(de);const Tt=e=>wt.default.lazy(async()=>{const t=await e();return typeof t.default=="function"?t:t.default}),xt=/[?&#](?:start|t)=([0-9hms]+)/,Ct=/[?&#]end=([0-9hms]+)/,F=/(\d+)(h|m|s)/g,Et=/^\d+$/;function he(e,t){if(e instanceof Array)return;const r=e.match(t);if(r){const n=r[1];if(n.match(F))return Mt(n);if(Et.test(n))return parseInt(n)}}function Mt(e){let t=0,r=F.exec(e);for(;r!==null;){const[,n,a]=r;a==="h"&&(t+=parseInt(n,10)*60*60),a==="m"&&(t+=parseInt(n,10)*60),a==="s"&&(t+=parseInt(n,10)),r=F.exec(e)}return t}function At(e){return he(e,xt)}function jt(e){return he(e,Ct)}function Rt(){return Math.random().toString(36).substr(2,5)}function It(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function z(e){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}const w={},$t=function(t,r,n=null,a=()=>!0,o=Ot.default){const y=z(r);return y&&a(y)?Promise.resolve(y):new Promise((f,u)=>{if(w[t]){w[t].push({resolve:f,reject:u});return}w[t]=[{resolve:f,reject:u}];const g=b=>{w[t].forEach(C=>C.resolve(b))};if(n){const b=window[n];window[n]=function(){b&&b(),g(z(r))}}o(t,b=>{b?(w[t].forEach(C=>C.reject(b)),w[t]=null):n||g(z(r))})})};function Lt(e,t){return(0,St.default)(t.config,e.config)}function Nt(e,...t){const r=[].concat(...t),n={},a=Object.keys(e);for(const o of a)r.indexOf(o)===-1&&(n[o]=e[o]);return n}function Dt(e,...t){if(!this.player||!this.player[e]){let r=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c – `;return this.player?this.player[e]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}return this.player[e](...t)}function Ut(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function kt(e){return/^blob:/.test(e)}function Ht(e=document.createElement("video")){const t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var J=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Vt=Object.getOwnPropertyNames,qt=Object.prototype.hasOwnProperty,Ft=(e,t)=>{for(var r in t)J(e,r,{get:t[r],enumerable:!0})},Bt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Vt(t))!qt.call(e,a)&&a!==r&&J(e,a,{get:()=>t[a],enumerable:!(n=zt(t,a))||n.enumerable});return e},Xt=e=>Bt(J({},"__esModule",{value:!0}),e),_e={};Ft(_e,{AUDIO_EXTENSIONS:()=>Z,DASH_EXTENSIONS:()=>je,FLV_EXTENSIONS:()=>Re,HLS_EXTENSIONS:()=>Q,MATCH_URL_DAILYMOTION:()=>Ce,MATCH_URL_FACEBOOK:()=>ge,MATCH_URL_FACEBOOK_WATCH:()=>we,MATCH_URL_KALTURA:()=>Ae,MATCH_URL_MIXCLOUD:()=>Ee,MATCH_URL_MUX:()=>be,MATCH_URL_SOUNDCLOUD:()=>Pe,MATCH_URL_STREAMABLE:()=>Oe,MATCH_URL_TWITCH_CHANNEL:()=>xe,MATCH_URL_TWITCH_VIDEO:()=>Te,MATCH_URL_VIDYARD:()=>Me,MATCH_URL_VIMEO:()=>ve,MATCH_URL_WISTIA:()=>Se,MATCH_URL_YOUTUBE:()=>B,VIDEO_EXTENSIONS:()=>G,canPlay:()=>Kt});var me=Xt(_e),ne=I;const B=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,Pe=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,ve=/vimeo\.com\/(?!progressive_redirect).+/,be=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,ge=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,we=/^https?:\/\/fb\.watch\/.+$/,Oe=/streamable\.com\/([a-z0-9]+)$/,Se=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,Te=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,xe=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,Ce=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,Ee=/mixcloud\.com\/([^/]+\/[^/]+)/,Me=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,Ae=/^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-_].*)$/,Z=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,G=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,Q=/\.(m3u8)($|\?)/i,je=/\.(mpd)($|\?)/i,Re=/\.(flv)($|\?)/i,X=e=>{if(e instanceof Array){for(const t of e)if(typeof t=="string"&&X(t)||X(t.src))return!0;return!1}return(0,ne.isMediaStream)(e)||(0,ne.isBlobUrl)(e)?!0:Z.test(e)||G.test(e)||Q.test(e)||je.test(e)||Re.test(e)},Kt={youtube:e=>e instanceof Array?e.every(t=>B.test(t)):B.test(e),soundcloud:e=>Pe.test(e)&&!Z.test(e),vimeo:e=>ve.test(e)&&!G.test(e)&&!Q.test(e),mux:e=>be.test(e),facebook:e=>ge.test(e)||we.test(e),streamable:e=>Oe.test(e),wistia:e=>Se.test(e),twitch:e=>Te.test(e)||xe.test(e),dailymotion:e=>Ce.test(e),mixcloud:e=>Ee.test(e),vidyard:e=>Me.test(e),kaltura:e=>Ae.test(e),file:X};var ee=Object.defineProperty,Wt=Object.getOwnPropertyDescriptor,Yt=Object.getOwnPropertyNames,Jt=Object.prototype.hasOwnProperty,Zt=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Gt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Yt(t))!Jt.call(e,a)&&a!==r&&ee(e,a,{get:()=>t[a],enumerable:!(n=Wt(t,a))||n.enumerable});return e},Qt=e=>Gt(ee({},"__esModule",{value:!0}),e),Ie={};Zt(Ie,{default:()=>tr});var er=Qt(Ie),P=I,_=me,tr=[{key:"youtube",name:"YouTube",canPlay:_.canPlay.youtube,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./YouTube-BAYKouHS.cjs")).then(e=>e.YouTube))},{key:"soundcloud",name:"SoundCloud",canPlay:_.canPlay.soundcloud,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./SoundCloud-C6R6E6Zc.cjs")).then(e=>e.SoundCloud))},{key:"vimeo",name:"Vimeo",canPlay:_.canPlay.vimeo,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Vimeo-J1l_SU2E.cjs")).then(e=>e.Vimeo))},{key:"mux",name:"Mux",canPlay:_.canPlay.mux,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Mux-C6TwZeaq.cjs")).then(e=>e.Mux))},{key:"facebook",name:"Facebook",canPlay:_.canPlay.facebook,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Facebook-DoKw-XxT.cjs")).then(e=>e.Facebook))},{key:"streamable",name:"Streamable",canPlay:_.canPlay.streamable,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Streamable-DZO95CiT.cjs")).then(e=>e.Streamable))},{key:"wistia",name:"Wistia",canPlay:_.canPlay.wistia,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Wistia-CudQyDHM.cjs")).then(e=>e.Wistia))},{key:"twitch",name:"Twitch",canPlay:_.canPlay.twitch,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Twitch-B17oKtD0.cjs")).then(e=>e.Twitch))},{key:"dailymotion",name:"DailyMotion",canPlay:_.canPlay.dailymotion,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./DailyMotion-CpZExcrg.cjs")).then(e=>e.DailyMotion))},{key:"mixcloud",name:"Mixcloud",canPlay:_.canPlay.mixcloud,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Mixcloud-C1Boh2Bm.cjs")).then(e=>e.Mixcloud))},{key:"vidyard",name:"Vidyard",canPlay:_.canPlay.vidyard,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Vidyard-s1MMcaRm.cjs")).then(e=>e.Vidyard))},{key:"kaltura",name:"Kaltura",canPlay:_.canPlay.kaltura,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Kaltura-CK6JHUZC.cjs")).then(e=>e.Kaltura))},{key:"file",name:"FilePlayer",canPlay:_.canPlay.file,canEnablePIP:e=>_.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,P.supportsWebKitPresentationMode)())&&!_.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./FilePlayer-D9az_lc_.cjs")).then(e=>e.FilePlayer))}],oe=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function rr(e,t){return!!(e===t||oe(e)&&oe(t))}function ar(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!rr(e[r],t[r]))return!1;return!0}function nr(e,t){t===void 0&&(t=ar);var r,n=[],a,o=!1;function y(){for(var f=[],u=0;u<arguments.length;u++)f[u]=arguments[u];return o&&r===this&&t(f,n)||(a=e.apply(this,f),o=!0,r=this,n=f),a}return y}const or=Object.freeze(Object.defineProperty({__proto__:null,default:nr},Symbol.toStringTag,{value:"Module"})),ir=j.getAugmentedNamespace(or);var sr=Object.create,U=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,cr=Object.getOwnPropertyNames,ur=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,dr=(e,t)=>{for(var r in t)U(e,r,{get:t[r],enumerable:!0})},$e=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of cr(t))!pr.call(e,a)&&a!==r&&U(e,a,{get:()=>t[a],enumerable:!(n=lr(t,a))||n.enumerable});return e},yr=(e,t,r)=>(r=e!=null?sr(ur(e)):{},$e(!e||!e.__esModule?U(r,"default",{value:e,enumerable:!0}):r,e)),fr=e=>$e(U({},"__esModule",{value:!0}),e),Le={};dr(Le,{defaultProps:()=>mr,propTypes:()=>_r});var Ne=fr(Le),hr=yr(Ye.propTypesExports);const{string:p,bool:m,number:O,array:V,oneOfType:E,shape:v,object:h,func:c,node:ie}=hr.default,_r={url:E([p,V,h]),playing:m,loop:m,controls:m,volume:O,muted:m,playbackRate:O,width:E([p,O]),height:E([p,O]),style:h,progressInterval:O,playsinline:m,pip:m,stopOnUnmount:m,light:E([m,p,h]),playIcon:ie,previewTabIndex:O,previewAriaLabel:p,fallback:ie,oEmbedUrl:p,wrapper:E([p,c,v({render:c.isRequired})]),config:v({soundcloud:v({options:h}),youtube:v({playerVars:h,embedOptions:h,onUnstarted:c}),facebook:v({appId:p,version:p,playerId:p,attributes:h}),dailymotion:v({params:h}),vimeo:v({playerOptions:h,title:p}),mux:v({attributes:h,version:p}),file:v({attributes:h,tracks:V,forceVideo:m,forceAudio:m,forceHLS:m,forceSafariHLS:m,forceDisableHls:m,forceDASH:m,forceFLV:m,hlsOptions:h,hlsVersion:p,dashVersion:p,flvVersion:p}),wistia:v({options:h,playerId:p,customControls:V}),mixcloud:v({options:h}),twitch:v({options:h,playerId:p}),vidyard:v({options:h})}),onReady:c,onStart:c,onPlay:c,onPause:c,onBuffer:c,onBufferEnd:c,onEnded:c,onError:c,onDuration:c,onSeek:c,onPlaybackRateChange:c,onPlaybackQualityChange:c,onProgress:c,onClickPreview:c,onEnablePIP:c,onDisablePIP:c},d=()=>{},mr={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:d},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:d,onStart:d,onPlay:d,onPause:d,onBuffer:d,onBufferEnd:d,onEnded:d,onError:d,onDuration:d,onSeek:d,onPlaybackRateChange:d,onPlaybackQualityChange:d,onProgress:d,onClickPreview:d,onEnablePIP:d,onDisablePIP:d};var Pr=Object.create,$=Object.defineProperty,vr=Object.getOwnPropertyDescriptor,br=Object.getOwnPropertyNames,gr=Object.getPrototypeOf,wr=Object.prototype.hasOwnProperty,Or=(e,t,r)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sr=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},De=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of br(t))!wr.call(e,a)&&a!==r&&$(e,a,{get:()=>t[a],enumerable:!(n=vr(t,a))||n.enumerable});return e},Ue=(e,t,r)=>(r=e!=null?Pr(gr(e)):{},De(!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Tr=e=>De($({},"__esModule",{value:!0}),e),l=(e,t,r)=>(Or(e,typeof t!="symbol"?t+"":t,r),r),ke={};Sr(ke,{default:()=>k});var xr=Tr(ke),se=Ue(x),Cr=Ue(ue.reactFastCompare),He=Ne,Er=I;const Mr=5e3;class k extends se.Component{constructor(){super(...arguments),l(this,"mounted",!1),l(this,"isReady",!1),l(this,"isPlaying",!1),l(this,"isLoading",!0),l(this,"loadOnReady",null),l(this,"startOnPlay",!0),l(this,"seekOnPlay",null),l(this,"onDurationCalled",!1),l(this,"handlePlayerMount",t=>{if(this.player){this.progress();return}this.player=t,this.player.load(this.props.url),this.progress()}),l(this,"getInternalPlayer",t=>this.player?this.player[t]:null),l(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const t=this.getCurrentTime()||0,r=this.getSecondsLoaded(),n=this.getDuration();if(n){const a={playedSeconds:t,played:t/n};r!==null&&(a.loadedSeconds=r,a.loaded=r/n),(a.playedSeconds!==this.prevPlayed||a.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(a),this.prevPlayed=a.playedSeconds,this.prevLoaded=a.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),l(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:t,playing:r,volume:n,muted:a}=this.props;t(),!a&&n!==null&&this.player.setVolume(n),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):r&&this.player.play(),this.handleDurationCheck()}),l(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:t,onPlay:r,playbackRate:n}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&n!==1&&this.player.setPlaybackRate(n),t(),this.startOnPlay=!1),r(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),l(this,"handlePause",t=>{this.isPlaying=!1,this.isLoading||this.props.onPause(t)}),l(this,"handleEnded",()=>{const{activePlayer:t,loop:r,onEnded:n}=this.props;t.loopOnEnded&&r&&this.seekTo(0),r||(this.isPlaying=!1,n())}),l(this,"handleError",(...t)=>{this.isLoading=!1,this.props.onError(...t)}),l(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const t=this.getDuration();t?this.onDurationCalled||(this.props.onDuration(t),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),l(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(t){if(!this.player)return;const{url:r,playing:n,volume:a,muted:o,playbackRate:y,pip:f,loop:u,activePlayer:g,disableDeferredLoading:b}=this.props;if(!(0,Cr.default)(t.url,r)){if(this.isLoading&&!g.forceLoad&&!b&&!(0,Er.isMediaStream)(r)){console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}!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)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(t,r,n){if(!this.isReady){t!==0&&(this.seekOnPlay=t,setTimeout(()=>{this.seekOnPlay=null},Mr));return}if(r?r==="fraction":t>0&&t<1){const o=this.player.getDuration();if(!o){console.warn("ReactPlayer: could not seek using fraction – duration not yet available");return}this.player.seekTo(o*t,n);return}this.player.seekTo(t,n)}render(){const t=this.props.activePlayer;return t?se.default.createElement(t,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}l(k,"displayName","Player");l(k,"propTypes",He.propTypes);l(k,"defaultProps",He.defaultProps);var Ar=Object.create,L=Object.defineProperty,jr=Object.getOwnPropertyDescriptor,Rr=Object.getOwnPropertyNames,Ir=Object.getPrototypeOf,$r=Object.prototype.hasOwnProperty,Lr=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nr=(e,t)=>{for(var r in t)L(e,r,{get:t[r],enumerable:!0})},ze=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Rr(t))!$r.call(e,a)&&a!==r&&L(e,a,{get:()=>t[a],enumerable:!(n=jr(t,a))||n.enumerable});return e},N=(e,t,r)=>(r=e!=null?Ar(Ir(e)):{},ze(!e||!e.__esModule?L(r,"default",{value:e,enumerable:!0}):r,e)),Dr=e=>ze(L({},"__esModule",{value:!0}),e),s=(e,t,r)=>(Lr(e,typeof t!="symbol"?t+"":t,r),r),Ve={};Nr(Ve,{createReactPlayer:()=>Xr});var Ur=Dr(Ve),S=N(x),kr=N(de),q=N(ir),le=N(ue.reactFastCompare),A=Ne,qe=I,Hr=N(xr);const zr=(0,qe.lazy)(()=>Promise.resolve().then(()=>require("./Preview-B8HyPnfR.cjs")).then(e=>e.Preview)),Vr=typeof window<"u"&&window.document&&typeof document<"u",qr=typeof j.commonjsGlobal<"u"&&j.commonjsGlobal.window&&j.commonjsGlobal.window.document,Fr=Object.keys(A.propTypes),Br=Vr||qr?S.Suspense:()=>null,M=[],Xr=(e,t)=>{var r;return r=class extends S.Component{constructor(){super(...arguments),s(this,"state",{showPreview:!!this.props.light}),s(this,"references",{wrapper:n=>{this.wrapper=n},player:n=>{this.player=n}}),s(this,"handleClickPreview",n=>{this.setState({showPreview:!1}),this.props.onClickPreview(n)}),s(this,"showPreview",()=>{this.setState({showPreview:!0})}),s(this,"getDuration",()=>this.player?this.player.getDuration():null),s(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),s(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),s(this,"getInternalPlayer",(n="player")=>this.player?this.player.getInternalPlayer(n):null),s(this,"seekTo",(n,a,o)=>{if(!this.player)return null;this.player.seekTo(n,a,o)}),s(this,"handleReady",()=>{this.props.onReady(this)}),s(this,"getActivePlayer",(0,q.default)(n=>{for(const a of[...M,...e])if(a.canPlay(n))return a;return t||null})),s(this,"getConfig",(0,q.default)((n,a)=>{const{config:o}=this.props;return kr.default.all([A.defaultProps.config,A.defaultProps.config[a]||{},o,o[a]||{}])})),s(this,"getAttributes",(0,q.default)(n=>(0,qe.omit)(this.props,Fr))),s(this,"renderActivePlayer",n=>{if(!n)return null;const a=this.getActivePlayer(n);if(!a)return null;const o=this.getConfig(n,a.key);return S.default.createElement(Hr.default,{...this.props,key:a.key,ref:this.references.player,config:o,activePlayer:a.lazyPlayer||a,onReady:this.handleReady})})}shouldComponentUpdate(n,a){return!(0,le.default)(this.props,n)||!(0,le.default)(this.state,a)}componentDidUpdate(n){const{light:a}=this.props;!n.light&&a&&this.setState({showPreview:!0}),n.light&&!a&&this.setState({showPreview:!1})}renderPreview(n){if(!n)return null;const{light:a,playIcon:o,previewTabIndex:y,oEmbedUrl:f,previewAriaLabel:u}=this.props;return S.default.createElement(zr,{url:n,light:a,playIcon:o,previewTabIndex:y,previewAriaLabel:u,oEmbedUrl:f,onClick:this.handleClickPreview})}render(){const{url:n,style:a,width:o,height:y,fallback:f,wrapper:u}=this.props,{showPreview:g}=this.state,b=this.getAttributes(n),C=typeof u=="string"?this.references.wrapper:void 0;return S.default.createElement(u,{ref:C,style:{...a,width:o,height:y},...b},S.default.createElement(Br,{fallback:f},g?this.renderPreview(n):this.renderActivePlayer(n)))}},s(r,"displayName","ReactPlayer"),s(r,"propTypes",A.propTypes),s(r,"defaultProps",A.defaultProps),s(r,"addCustomPlayer",n=>{M.push(n)}),s(r,"removeCustomPlayers",()=>{M.length=0}),s(r,"canPlay",n=>{for(const a of[...M,...e])if(a.canPlay(n))return!0;return!1}),s(r,"canEnablePIP",n=>{for(const a of[...M,...e])if(a.canEnablePIP&&a.canEnablePIP(n))return!0;return!1}),r};var Kr=Object.create,H=Object.defineProperty,Wr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyNames,Jr=Object.getPrototypeOf,Zr=Object.prototype.hasOwnProperty,Gr=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},Fe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Yr(t))!Zr.call(e,a)&&a!==r&&H(e,a,{get:()=>t[a],enumerable:!(n=Wr(t,a))||n.enumerable});return e},Qr=(e,t,r)=>(r=e!=null?Kr(Jr(e)):{},Fe(!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e)),ea=e=>Fe(H({},"__esModule",{value:!0}),e),Be={};Gr(Be,{default:()=>na});var ta=ea(Be),K=Qr(er),ra=Ur;const aa=K.default[K.default.length-1];var na=(0,ra.createReactPlayer)(K.default,aa);const oa=j.getDefaultExportFromCjs(ta),ia="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",sa=({thumbnail:e})=>i.jsxs(Ge,{children:[i.jsx("img",{src:e,className:"section__thumbnail",alt:"Thumbnail"}),i.jsx("img",{src:ia,className:"section__play",alt:"Play"})]}),la=x.forwardRef(({video:e,thumbnail:t},r)=>{const n=Je.useDetectMobile();return i.jsx(oa,{url:e,playing:!0,controls:!0,width:n?"100%":"31.25rem",height:n?"100%":"18.75rem",light:!0,playIcon:i.jsx(sa,{thumbnail:t})})}),ca=W.styled.div`
66
+ `,te=x.forwardRef(({tags:e=[],selectedTagCode:t=null,onSelectTag:r=()=>{}},n)=>i.jsx(Ge,{ref:n,children:e==null?void 0:e.map((a,o)=>i.jsx(Xe,{label:a==null?void 0:a.name,borderRadius:"curved",color:"neutral",className:`tags__item ${t===(a==null?void 0:a.code)?"active":""}`,onClick:()=>{r(a)}},`search-section-tag__${o+1}`))}));var Qe=function(t,r,n){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");typeof r=="function"&&(n=r,r={}),r=r||{},n=n||function(){},o.type=r.type||"text/javascript",o.charset=r.charset||"utf8",o.async="async"in r?!!r.async:!0,o.src=t,r.attrs&&et(o,r.attrs),r.text&&(o.text=""+r.text);var y="onload"in o?re:tt;y(o,n),o.onload||re(o,n),a.appendChild(o)};function et(e,t){for(var r in t)e.setAttribute(r,t[r])}function re(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function tt(e,t){e.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,t(null,e))}}var rt=function(t){return at(t)&&!nt(t)};function at(e){return!!e&&typeof e=="object"}function nt(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||st(e)}var ot=typeof Symbol=="function"&&Symbol.for,it=ot?Symbol.for("react.element"):60103;function st(e){return e.$$typeof===it}function lt(e){return Array.isArray(e)?[]:{}}function R(e,t){return t.clone!==!1&&t.isMergeableObject(e)?T(lt(e),e,t):e}function ct(e,t,r){return e.concat(t).map(function(n){return R(n,r)})}function ut(e,t){if(!t.customMerge)return T;var r=t.customMerge(e);return typeof r=="function"?r:T}function pt(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ae(e){return Object.keys(e).concat(pt(e))}function pe(e,t){try{return t in e}catch{return!1}}function dt(e,t){return pe(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function yt(e,t,r){var n={};return r.isMergeableObject(e)&&ae(e).forEach(function(a){n[a]=R(e[a],r)}),ae(t).forEach(function(a){dt(e,a)||(pe(e,a)&&r.isMergeableObject(t[a])?n[a]=ut(a,r)(e[a],t[a],r):n[a]=R(t[a],r))}),n}function T(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ct,r.isMergeableObject=r.isMergeableObject||rt,r.cloneUnlessOtherwiseSpecified=R;var n=Array.isArray(t),a=Array.isArray(e),o=n===a;return o?n?r.arrayMerge(e,t,r):yt(e,t,r):R(t,r)}T.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return T(n,a,r)},{})};var ft=T,de=ft,ht=Object.create,D=Object.defineProperty,_t=Object.getOwnPropertyDescriptor,mt=Object.getOwnPropertyNames,Pt=Object.getPrototypeOf,vt=Object.prototype.hasOwnProperty,bt=(e,t)=>{for(var r in t)D(e,r,{get:t[r],enumerable:!0})},ye=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of mt(t))!vt.call(e,a)&&a!==r&&D(e,a,{get:()=>t[a],enumerable:!(n=_t(t,a))||n.enumerable});return e},Y=(e,t,r)=>(r=e!=null?ht(Pt(e)):{},ye(!e||!e.__esModule?D(r,"default",{value:e,enumerable:!0}):r,e)),gt=e=>ye(D({},"__esModule",{value:!0}),e),fe={};bt(fe,{callPlayer:()=>Dt,getConfig:()=>Lt,getSDK:()=>It,isBlobUrl:()=>kt,isMediaStream:()=>Ut,lazy:()=>Tt,omit:()=>Nt,parseEndTime:()=>jt,parseStartTime:()=>At,queryString:()=>$t,randomString:()=>Rt,supportsWebKitPresentationMode:()=>Ht});var $=gt(fe),wt=Y(x),Ot=Y(Qe),St=Y(de);const Tt=e=>wt.default.lazy(async()=>{const t=await e();return typeof t.default=="function"?t:t.default}),xt=/[?&#](?:start|t)=([0-9hms]+)/,Ct=/[?&#]end=([0-9hms]+)/,F=/(\d+)(h|m|s)/g,Mt=/^\d+$/;function he(e,t){if(e instanceof Array)return;const r=e.match(t);if(r){const n=r[1];if(n.match(F))return Et(n);if(Mt.test(n))return parseInt(n)}}function Et(e){let t=0,r=F.exec(e);for(;r!==null;){const[,n,a]=r;a==="h"&&(t+=parseInt(n,10)*60*60),a==="m"&&(t+=parseInt(n,10)*60),a==="s"&&(t+=parseInt(n,10)),r=F.exec(e)}return t}function At(e){return he(e,xt)}function jt(e){return he(e,Ct)}function Rt(){return Math.random().toString(36).substr(2,5)}function $t(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function z(e){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}const w={},It=function(t,r,n=null,a=()=>!0,o=Ot.default){const y=z(r);return y&&a(y)?Promise.resolve(y):new Promise((f,u)=>{if(w[t]){w[t].push({resolve:f,reject:u});return}w[t]=[{resolve:f,reject:u}];const g=b=>{w[t].forEach(C=>C.resolve(b))};if(n){const b=window[n];window[n]=function(){b&&b(),g(z(r))}}o(t,b=>{b?(w[t].forEach(C=>C.reject(b)),w[t]=null):n||g(z(r))})})};function Lt(e,t){return(0,St.default)(t.config,e.config)}function Nt(e,...t){const r=[].concat(...t),n={},a=Object.keys(e);for(const o of a)r.indexOf(o)===-1&&(n[o]=e[o]);return n}function Dt(e,...t){if(!this.player||!this.player[e]){let r=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c – `;return this.player?this.player[e]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}return this.player[e](...t)}function Ut(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function kt(e){return/^blob:/.test(e)}function Ht(e=document.createElement("video")){const t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var J=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Vt=Object.getOwnPropertyNames,qt=Object.prototype.hasOwnProperty,Ft=(e,t)=>{for(var r in t)J(e,r,{get:t[r],enumerable:!0})},Bt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Vt(t))!qt.call(e,a)&&a!==r&&J(e,a,{get:()=>t[a],enumerable:!(n=zt(t,a))||n.enumerable});return e},Kt=e=>Bt(J({},"__esModule",{value:!0}),e),_e={};Ft(_e,{AUDIO_EXTENSIONS:()=>G,DASH_EXTENSIONS:()=>je,FLV_EXTENSIONS:()=>Re,HLS_EXTENSIONS:()=>Q,MATCH_URL_DAILYMOTION:()=>Ce,MATCH_URL_FACEBOOK:()=>ge,MATCH_URL_FACEBOOK_WATCH:()=>we,MATCH_URL_KALTURA:()=>Ae,MATCH_URL_MIXCLOUD:()=>Me,MATCH_URL_MUX:()=>be,MATCH_URL_SOUNDCLOUD:()=>Pe,MATCH_URL_STREAMABLE:()=>Oe,MATCH_URL_TWITCH_CHANNEL:()=>xe,MATCH_URL_TWITCH_VIDEO:()=>Te,MATCH_URL_VIDYARD:()=>Ee,MATCH_URL_VIMEO:()=>ve,MATCH_URL_WISTIA:()=>Se,MATCH_URL_YOUTUBE:()=>B,VIDEO_EXTENSIONS:()=>Z,canPlay:()=>Wt});var me=Kt(_e),ne=$;const B=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,Pe=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,ve=/vimeo\.com\/(?!progressive_redirect).+/,be=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,ge=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,we=/^https?:\/\/fb\.watch\/.+$/,Oe=/streamable\.com\/([a-z0-9]+)$/,Se=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,Te=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,xe=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,Ce=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,Me=/mixcloud\.com\/([^/]+\/[^/]+)/,Ee=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,Ae=/^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-_].*)$/,G=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,Z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,Q=/\.(m3u8)($|\?)/i,je=/\.(mpd)($|\?)/i,Re=/\.(flv)($|\?)/i,K=e=>{if(e instanceof Array){for(const t of e)if(typeof t=="string"&&K(t)||K(t.src))return!0;return!1}return(0,ne.isMediaStream)(e)||(0,ne.isBlobUrl)(e)?!0:G.test(e)||Z.test(e)||Q.test(e)||je.test(e)||Re.test(e)},Wt={youtube:e=>e instanceof Array?e.every(t=>B.test(t)):B.test(e),soundcloud:e=>Pe.test(e)&&!G.test(e),vimeo:e=>ve.test(e)&&!Z.test(e)&&!Q.test(e),mux:e=>be.test(e),facebook:e=>ge.test(e)||we.test(e),streamable:e=>Oe.test(e),wistia:e=>Se.test(e),twitch:e=>Te.test(e)||xe.test(e),dailymotion:e=>Ce.test(e),mixcloud:e=>Me.test(e),vidyard:e=>Ee.test(e),kaltura:e=>Ae.test(e),file:K};var ee=Object.defineProperty,Xt=Object.getOwnPropertyDescriptor,Yt=Object.getOwnPropertyNames,Jt=Object.prototype.hasOwnProperty,Gt=(e,t)=>{for(var r in t)ee(e,r,{get:t[r],enumerable:!0})},Zt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Yt(t))!Jt.call(e,a)&&a!==r&&ee(e,a,{get:()=>t[a],enumerable:!(n=Xt(t,a))||n.enumerable});return e},Qt=e=>Zt(ee({},"__esModule",{value:!0}),e),$e={};Gt($e,{default:()=>tr});var er=Qt($e),P=$,_=me,tr=[{key:"youtube",name:"YouTube",canPlay:_.canPlay.youtube,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./YouTube-BfZRCB6O.cjs")).then(e=>e.YouTube))},{key:"soundcloud",name:"SoundCloud",canPlay:_.canPlay.soundcloud,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./SoundCloud-BsL6Onq6.cjs")).then(e=>e.SoundCloud))},{key:"vimeo",name:"Vimeo",canPlay:_.canPlay.vimeo,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Vimeo-B5jsifNT.cjs")).then(e=>e.Vimeo))},{key:"mux",name:"Mux",canPlay:_.canPlay.mux,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Mux-C-xD7crc.cjs")).then(e=>e.Mux))},{key:"facebook",name:"Facebook",canPlay:_.canPlay.facebook,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Facebook-C8L2KR4O.cjs")).then(e=>e.Facebook))},{key:"streamable",name:"Streamable",canPlay:_.canPlay.streamable,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Streamable-DFtyk9Dt.cjs")).then(e=>e.Streamable))},{key:"wistia",name:"Wistia",canPlay:_.canPlay.wistia,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Wistia-dpbMmx23.cjs")).then(e=>e.Wistia))},{key:"twitch",name:"Twitch",canPlay:_.canPlay.twitch,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Twitch-BIUEEDiE.cjs")).then(e=>e.Twitch))},{key:"dailymotion",name:"DailyMotion",canPlay:_.canPlay.dailymotion,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./DailyMotion-BPdBW5Yv.cjs")).then(e=>e.DailyMotion))},{key:"mixcloud",name:"Mixcloud",canPlay:_.canPlay.mixcloud,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Mixcloud-D09BQNOt.cjs")).then(e=>e.Mixcloud))},{key:"vidyard",name:"Vidyard",canPlay:_.canPlay.vidyard,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Vidyard-QkjVIros.cjs")).then(e=>e.Vidyard))},{key:"kaltura",name:"Kaltura",canPlay:_.canPlay.kaltura,lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./Kaltura-C2fRoaEg.cjs")).then(e=>e.Kaltura))},{key:"file",name:"FilePlayer",canPlay:_.canPlay.file,canEnablePIP:e=>_.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,P.supportsWebKitPresentationMode)())&&!_.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,P.lazy)(()=>Promise.resolve().then(()=>require("./FilePlayer-BVFgHY_f.cjs")).then(e=>e.FilePlayer))}],oe=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function rr(e,t){return!!(e===t||oe(e)&&oe(t))}function ar(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!rr(e[r],t[r]))return!1;return!0}function nr(e,t){t===void 0&&(t=ar);var r,n=[],a,o=!1;function y(){for(var f=[],u=0;u<arguments.length;u++)f[u]=arguments[u];return o&&r===this&&t(f,n)||(a=e.apply(this,f),o=!0,r=this,n=f),a}return y}const or=Object.freeze(Object.defineProperty({__proto__:null,default:nr},Symbol.toStringTag,{value:"Module"})),ir=j.getAugmentedNamespace(or);var sr=Object.create,U=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,cr=Object.getOwnPropertyNames,ur=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,dr=(e,t)=>{for(var r in t)U(e,r,{get:t[r],enumerable:!0})},Ie=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of cr(t))!pr.call(e,a)&&a!==r&&U(e,a,{get:()=>t[a],enumerable:!(n=lr(t,a))||n.enumerable});return e},yr=(e,t,r)=>(r=e!=null?sr(ur(e)):{},Ie(!e||!e.__esModule?U(r,"default",{value:e,enumerable:!0}):r,e)),fr=e=>Ie(U({},"__esModule",{value:!0}),e),Le={};dr(Le,{defaultProps:()=>mr,propTypes:()=>_r});var Ne=fr(Le),hr=yr(Ye.propTypesExports);const{string:p,bool:m,number:O,array:V,oneOfType:M,shape:v,object:h,func:c,node:ie}=hr.default,_r={url:M([p,V,h]),playing:m,loop:m,controls:m,volume:O,muted:m,playbackRate:O,width:M([p,O]),height:M([p,O]),style:h,progressInterval:O,playsinline:m,pip:m,stopOnUnmount:m,light:M([m,p,h]),playIcon:ie,previewTabIndex:O,previewAriaLabel:p,fallback:ie,oEmbedUrl:p,wrapper:M([p,c,v({render:c.isRequired})]),config:v({soundcloud:v({options:h}),youtube:v({playerVars:h,embedOptions:h,onUnstarted:c}),facebook:v({appId:p,version:p,playerId:p,attributes:h}),dailymotion:v({params:h}),vimeo:v({playerOptions:h,title:p}),mux:v({attributes:h,version:p}),file:v({attributes:h,tracks:V,forceVideo:m,forceAudio:m,forceHLS:m,forceSafariHLS:m,forceDisableHls:m,forceDASH:m,forceFLV:m,hlsOptions:h,hlsVersion:p,dashVersion:p,flvVersion:p}),wistia:v({options:h,playerId:p,customControls:V}),mixcloud:v({options:h}),twitch:v({options:h,playerId:p}),vidyard:v({options:h})}),onReady:c,onStart:c,onPlay:c,onPause:c,onBuffer:c,onBufferEnd:c,onEnded:c,onError:c,onDuration:c,onSeek:c,onPlaybackRateChange:c,onPlaybackQualityChange:c,onProgress:c,onClickPreview:c,onEnablePIP:c,onDisablePIP:c},d=()=>{},mr={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:d},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:d,onStart:d,onPlay:d,onPause:d,onBuffer:d,onBufferEnd:d,onEnded:d,onError:d,onDuration:d,onSeek:d,onPlaybackRateChange:d,onPlaybackQualityChange:d,onProgress:d,onClickPreview:d,onEnablePIP:d,onDisablePIP:d};var Pr=Object.create,I=Object.defineProperty,vr=Object.getOwnPropertyDescriptor,br=Object.getOwnPropertyNames,gr=Object.getPrototypeOf,wr=Object.prototype.hasOwnProperty,Or=(e,t,r)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sr=(e,t)=>{for(var r in t)I(e,r,{get:t[r],enumerable:!0})},De=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of br(t))!wr.call(e,a)&&a!==r&&I(e,a,{get:()=>t[a],enumerable:!(n=vr(t,a))||n.enumerable});return e},Ue=(e,t,r)=>(r=e!=null?Pr(gr(e)):{},De(!e||!e.__esModule?I(r,"default",{value:e,enumerable:!0}):r,e)),Tr=e=>De(I({},"__esModule",{value:!0}),e),l=(e,t,r)=>(Or(e,typeof t!="symbol"?t+"":t,r),r),ke={};Sr(ke,{default:()=>k});var xr=Tr(ke),se=Ue(x),Cr=Ue(ue.reactFastCompare),He=Ne,Mr=$;const Er=5e3;class k extends se.Component{constructor(){super(...arguments),l(this,"mounted",!1),l(this,"isReady",!1),l(this,"isPlaying",!1),l(this,"isLoading",!0),l(this,"loadOnReady",null),l(this,"startOnPlay",!0),l(this,"seekOnPlay",null),l(this,"onDurationCalled",!1),l(this,"handlePlayerMount",t=>{if(this.player){this.progress();return}this.player=t,this.player.load(this.props.url),this.progress()}),l(this,"getInternalPlayer",t=>this.player?this.player[t]:null),l(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const t=this.getCurrentTime()||0,r=this.getSecondsLoaded(),n=this.getDuration();if(n){const a={playedSeconds:t,played:t/n};r!==null&&(a.loadedSeconds=r,a.loaded=r/n),(a.playedSeconds!==this.prevPlayed||a.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(a),this.prevPlayed=a.playedSeconds,this.prevLoaded=a.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),l(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:t,playing:r,volume:n,muted:a}=this.props;t(),!a&&n!==null&&this.player.setVolume(n),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):r&&this.player.play(),this.handleDurationCheck()}),l(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:t,onPlay:r,playbackRate:n}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&n!==1&&this.player.setPlaybackRate(n),t(),this.startOnPlay=!1),r(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),l(this,"handlePause",t=>{this.isPlaying=!1,this.isLoading||this.props.onPause(t)}),l(this,"handleEnded",()=>{const{activePlayer:t,loop:r,onEnded:n}=this.props;t.loopOnEnded&&r&&this.seekTo(0),r||(this.isPlaying=!1,n())}),l(this,"handleError",(...t)=>{this.isLoading=!1,this.props.onError(...t)}),l(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const t=this.getDuration();t?this.onDurationCalled||(this.props.onDuration(t),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),l(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(t){if(!this.player)return;const{url:r,playing:n,volume:a,muted:o,playbackRate:y,pip:f,loop:u,activePlayer:g,disableDeferredLoading:b}=this.props;if(!(0,Cr.default)(t.url,r)){if(this.isLoading&&!g.forceLoad&&!b&&!(0,Mr.isMediaStream)(r)){console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}!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)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(t,r,n){if(!this.isReady){t!==0&&(this.seekOnPlay=t,setTimeout(()=>{this.seekOnPlay=null},Er));return}if(r?r==="fraction":t>0&&t<1){const o=this.player.getDuration();if(!o){console.warn("ReactPlayer: could not seek using fraction – duration not yet available");return}this.player.seekTo(o*t,n);return}this.player.seekTo(t,n)}render(){const t=this.props.activePlayer;return t?se.default.createElement(t,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}l(k,"displayName","Player");l(k,"propTypes",He.propTypes);l(k,"defaultProps",He.defaultProps);var Ar=Object.create,L=Object.defineProperty,jr=Object.getOwnPropertyDescriptor,Rr=Object.getOwnPropertyNames,$r=Object.getPrototypeOf,Ir=Object.prototype.hasOwnProperty,Lr=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nr=(e,t)=>{for(var r in t)L(e,r,{get:t[r],enumerable:!0})},ze=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Rr(t))!Ir.call(e,a)&&a!==r&&L(e,a,{get:()=>t[a],enumerable:!(n=jr(t,a))||n.enumerable});return e},N=(e,t,r)=>(r=e!=null?Ar($r(e)):{},ze(!e||!e.__esModule?L(r,"default",{value:e,enumerable:!0}):r,e)),Dr=e=>ze(L({},"__esModule",{value:!0}),e),s=(e,t,r)=>(Lr(e,typeof t!="symbol"?t+"":t,r),r),Ve={};Nr(Ve,{createReactPlayer:()=>Kr});var Ur=Dr(Ve),S=N(x),kr=N(de),q=N(ir),le=N(ue.reactFastCompare),A=Ne,qe=$,Hr=N(xr);const zr=(0,qe.lazy)(()=>Promise.resolve().then(()=>require("./Preview-B8HyPnfR.cjs")).then(e=>e.Preview)),Vr=typeof window<"u"&&window.document&&typeof document<"u",qr=typeof j.commonjsGlobal<"u"&&j.commonjsGlobal.window&&j.commonjsGlobal.window.document,Fr=Object.keys(A.propTypes),Br=Vr||qr?S.Suspense:()=>null,E=[],Kr=(e,t)=>{var r;return r=class extends S.Component{constructor(){super(...arguments),s(this,"state",{showPreview:!!this.props.light}),s(this,"references",{wrapper:n=>{this.wrapper=n},player:n=>{this.player=n}}),s(this,"handleClickPreview",n=>{this.setState({showPreview:!1}),this.props.onClickPreview(n)}),s(this,"showPreview",()=>{this.setState({showPreview:!0})}),s(this,"getDuration",()=>this.player?this.player.getDuration():null),s(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),s(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),s(this,"getInternalPlayer",(n="player")=>this.player?this.player.getInternalPlayer(n):null),s(this,"seekTo",(n,a,o)=>{if(!this.player)return null;this.player.seekTo(n,a,o)}),s(this,"handleReady",()=>{this.props.onReady(this)}),s(this,"getActivePlayer",(0,q.default)(n=>{for(const a of[...E,...e])if(a.canPlay(n))return a;return t||null})),s(this,"getConfig",(0,q.default)((n,a)=>{const{config:o}=this.props;return kr.default.all([A.defaultProps.config,A.defaultProps.config[a]||{},o,o[a]||{}])})),s(this,"getAttributes",(0,q.default)(n=>(0,qe.omit)(this.props,Fr))),s(this,"renderActivePlayer",n=>{if(!n)return null;const a=this.getActivePlayer(n);if(!a)return null;const o=this.getConfig(n,a.key);return S.default.createElement(Hr.default,{...this.props,key:a.key,ref:this.references.player,config:o,activePlayer:a.lazyPlayer||a,onReady:this.handleReady})})}shouldComponentUpdate(n,a){return!(0,le.default)(this.props,n)||!(0,le.default)(this.state,a)}componentDidUpdate(n){const{light:a}=this.props;!n.light&&a&&this.setState({showPreview:!0}),n.light&&!a&&this.setState({showPreview:!1})}renderPreview(n){if(!n)return null;const{light:a,playIcon:o,previewTabIndex:y,oEmbedUrl:f,previewAriaLabel:u}=this.props;return S.default.createElement(zr,{url:n,light:a,playIcon:o,previewTabIndex:y,previewAriaLabel:u,oEmbedUrl:f,onClick:this.handleClickPreview})}render(){const{url:n,style:a,width:o,height:y,fallback:f,wrapper:u}=this.props,{showPreview:g}=this.state,b=this.getAttributes(n),C=typeof u=="string"?this.references.wrapper:void 0;return S.default.createElement(u,{ref:C,style:{...a,width:o,height:y},...b},S.default.createElement(Br,{fallback:f},g?this.renderPreview(n):this.renderActivePlayer(n)))}},s(r,"displayName","ReactPlayer"),s(r,"propTypes",A.propTypes),s(r,"defaultProps",A.defaultProps),s(r,"addCustomPlayer",n=>{E.push(n)}),s(r,"removeCustomPlayers",()=>{E.length=0}),s(r,"canPlay",n=>{for(const a of[...E,...e])if(a.canPlay(n))return!0;return!1}),s(r,"canEnablePIP",n=>{for(const a of[...E,...e])if(a.canEnablePIP&&a.canEnablePIP(n))return!0;return!1}),r};var Wr=Object.create,H=Object.defineProperty,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyNames,Jr=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty,Zr=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},Fe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Yr(t))!Gr.call(e,a)&&a!==r&&H(e,a,{get:()=>t[a],enumerable:!(n=Xr(t,a))||n.enumerable});return e},Qr=(e,t,r)=>(r=e!=null?Wr(Jr(e)):{},Fe(!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e)),ea=e=>Fe(H({},"__esModule",{value:!0}),e),Be={};Zr(Be,{default:()=>na});var ta=ea(Be),W=Qr(er),ra=Ur;const aa=W.default[W.default.length-1];var na=(0,ra.createReactPlayer)(W.default,aa);const oa=j.getDefaultExportFromCjs(ta),ia="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",sa=({thumbnail:e})=>i.jsxs(Ze,{children:[i.jsx("img",{src:e,className:"section__thumbnail",alt:"Thumbnail"}),i.jsx("img",{src:ia,className:"section__play",alt:"Play"})]}),la=x.forwardRef(({video:e,thumbnail:t},r)=>{const n=Je.useDetectMobile();return i.jsx(oa,{url:e,playing:!0,controls:!0,width:n?"100%":"31.25rem",height:n?"100%":"18.75rem",light:!0,playIcon:i.jsx(sa,{thumbnail:t})})}),ca=X.styled.div`
67
67
  display: flex;
68
68
  justify-content: space-between;
69
69
  align-items: center;
@@ -141,7 +141,7 @@
141
141
  }
142
142
  }
143
143
 
144
- @media (max-width: ${ce.MOBILE_SIZE_PX+"px"}) {
144
+ @media ${ce.down("S")} {
145
145
  flex-direction: column;
146
146
  gap: 1.5rem;
147
147
 
@@ -158,4 +158,4 @@
158
158
  width: 100%;
159
159
  }
160
160
  }
161
- `,ua=x.forwardRef(({title:e,description:t,suggestedText:r="Suggested",searchPlaceholderText:n="Search for rules, tempates, forms and more",tags:a=[],includeSearch:o=!1,video:y,thumbnail:f},u)=>i.jsxs(ca,{ref:u,children:[o?i.jsxs("div",{className:"section__left search",children:[i.jsx("div",{children:e&&i.jsx("div",{className:"section__title",children:e})}),i.jsx(Xe,{className:"section__text-input",placeholder:n,prefix:i.jsx(Ke,{icon:" mng-lnc-search",sizeInUnits:"1.25rem",className:"section__prefix"}),color:"neutral"}),i.jsxs("div",{className:"section__tags",children:[i.jsx("div",{className:"section__suggested",children:r}),i.jsx(te,{tags:a})]})]}):i.jsxs("div",{className:"section__left",children:[i.jsxs("div",{children:[e&&i.jsx("div",{className:"section__title",children:e}),t&&i.jsx("div",{className:"section__description",children:t})]}),i.jsx("div",{className:"section__tags",children:i.jsx(te,{tags:a})})]}),i.jsx("div",{className:"section__right",children:i.jsx(la,{video:y,thumbnail:f})})]}));exports.SearchSection=ua;exports.patterns=me;exports.utils=I;
161
+ `,ua=x.forwardRef(({title:e,description:t,suggestedText:r="Suggested",searchPlaceholderText:n="Search for rules, tempates, forms and more",tags:a=[],includeSearch:o=!1,video:y,thumbnail:f},u)=>i.jsxs(ca,{ref:u,children:[o?i.jsxs("div",{className:"section__left search",children:[i.jsx("div",{children:e&&i.jsx("div",{className:"section__title",children:e})}),i.jsx(Ke,{className:"section__text-input",placeholder:n,prefix:i.jsx(We,{icon:" mng-lnc-search",sizeInUnits:"1.25rem",className:"section__prefix"}),color:"neutral"}),i.jsxs("div",{className:"section__tags",children:[i.jsx("div",{className:"section__suggested",children:r}),i.jsx(te,{tags:a})]})]}):i.jsxs("div",{className:"section__left",children:[i.jsxs("div",{children:[e&&i.jsx("div",{className:"section__title",children:e}),t&&i.jsx("div",{className:"section__description",children:t})]}),i.jsx("div",{className:"section__tags",children:i.jsx(te,{tags:a})})]}),i.jsx("div",{className:"section__right",children:i.jsx(la,{video:y,thumbnail:f})})]}));exports.SearchSection=ua;exports.patterns=me;exports.utils=$;
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("react");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-B94YN_6P.cjs");module.exports=e.SearchSection;
1
+ "use strict";require("react/jsx-runtime");require("react");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-DUY61r3k.cjs");module.exports=e.SearchSection;