@lanaco/lnc-react-ui 4.0.112 → 4.0.114

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 (296) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +1 -1
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +1 -1
  7. package/dist/ActionsToolbar.cjs +1 -1
  8. package/dist/ActionsToolbar.js +1 -1
  9. package/dist/Alert.cjs +1 -1
  10. package/dist/Alert.js +1 -1
  11. package/dist/Avatar.cjs +1 -1
  12. package/dist/Avatar.js +1 -1
  13. package/dist/Badge.cjs +1 -1
  14. package/dist/Badge.js +1 -1
  15. package/dist/BannerSectionCarousel.cjs +1 -1
  16. package/dist/BannerSectionCarousel.js +3 -3
  17. package/dist/BannerSectionWithListImage.cjs +2 -2
  18. package/dist/BannerSectionWithListImage.js +9 -9
  19. package/dist/BlogCardsSponsoredSection.cjs +25 -14
  20. package/dist/BlogCardsSponsoredSection.js +59 -47
  21. package/dist/BlogListSection.cjs +37 -9
  22. package/dist/BlogListSection.js +127 -70
  23. package/dist/BlogsSectionDetailed.cjs +11 -6
  24. package/dist/BlogsSectionDetailed.js +7 -2
  25. package/dist/BlogsSectionSimple.cjs +2 -2
  26. package/dist/BlogsSectionSimple.js +1 -1
  27. package/dist/BlogsSectionSimpleCentered.cjs +3 -2
  28. package/dist/BlogsSectionSimpleCentered.js +1 -0
  29. package/dist/BlogsSectionWithFilters.cjs +2 -2
  30. package/dist/BlogsSectionWithFilters.js +15 -15
  31. package/dist/BrandHitsSection.cjs +11 -11
  32. package/dist/BrandHitsSection.js +40 -38
  33. package/dist/Breadcrumbs.cjs +1 -1
  34. package/dist/Breadcrumbs.js +1 -1
  35. package/dist/Button.cjs +1 -1
  36. package/dist/Button.js +2 -2
  37. package/dist/ButtonGroup.cjs +1 -1
  38. package/dist/ButtonGroup.js +1 -1
  39. package/dist/CalorieCalculatorSection.cjs +1 -1
  40. package/dist/CalorieCalculatorSection.js +1 -1
  41. package/dist/CheckBoxInput.cjs +1 -1
  42. package/dist/CheckBoxInput.js +1 -1
  43. package/dist/Chip.cjs +1 -1
  44. package/dist/Chip.js +1 -1
  45. package/dist/ColorInput.cjs +1 -1
  46. package/dist/ColorInput.js +2 -2
  47. package/dist/ConfirmationForm.cjs +1 -1
  48. package/dist/ConfirmationForm.js +1 -1
  49. package/dist/ContactSection.cjs +303 -0
  50. package/dist/ContactSection.js +1614 -0
  51. package/dist/Content.cjs +1 -1
  52. package/dist/Content.js +1 -1
  53. package/dist/{CustomStyles-DtKDPOdk.cjs → CustomStyles-D3JePSNK.cjs} +1 -1
  54. package/dist/{CustomStyles-Dd8IsVV6.js → CustomStyles-DpKzWczC.js} +2 -2
  55. package/dist/DailyMotion-CUHIuSln.js +136 -0
  56. package/dist/DailyMotion-D46sLmkS.cjs +1 -0
  57. package/dist/DataView.cjs +1 -1
  58. package/dist/DataView.js +1 -1
  59. package/dist/DateInput.cjs +4 -4
  60. package/dist/DateInput.js +496 -552
  61. package/dist/DecimalInput.cjs +1 -1
  62. package/dist/DecimalInput.js +2 -2
  63. package/dist/DecimalInputV2.cjs +1 -1
  64. package/dist/DecimalInputV2.js +1 -1
  65. package/dist/DetailedProductsSection.cjs +2 -2
  66. package/dist/DetailedProductsSection.js +6 -6
  67. package/dist/DetailsView.cjs +1 -1
  68. package/dist/DetailsView.js +1 -1
  69. package/dist/DoubleRangeSlider.cjs +1 -1
  70. package/dist/DoubleRangeSlider.js +1 -1
  71. package/dist/DragAndDropFile.cjs +1 -1
  72. package/dist/DragAndDropFile.js +1 -1
  73. package/dist/DragDropFiles.cjs +1 -1
  74. package/dist/DragDropFiles.js +1 -1
  75. package/dist/Drawer.cjs +1 -1
  76. package/dist/Drawer.js +2 -2
  77. package/dist/Dropdown.cjs +1 -1
  78. package/dist/Dropdown.js +5 -5
  79. package/dist/DropdownItem.cjs +1 -1
  80. package/dist/DropdownItem.js +1 -1
  81. package/dist/DropdownLookup.cjs +1 -1
  82. package/dist/DropdownLookup.js +4 -4
  83. package/dist/DropdownMenu.cjs +1 -1
  84. package/dist/DropdownMenu.js +1 -1
  85. package/dist/EditableTable.cjs +1 -1
  86. package/dist/EditableTable.js +1 -1
  87. package/dist/Facebook-R53Rry9l.cjs +1 -0
  88. package/dist/Facebook-aEQQxj-r.js +121 -0
  89. package/dist/FaqSection.cjs +219 -0
  90. package/dist/FaqSection.js +481 -0
  91. package/dist/FeedbackSection.cjs +3 -3
  92. package/dist/FeedbackSection.js +9 -9
  93. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +7 -7
  94. package/dist/FieldOfInterestsWithTagsCardsSection.js +24 -23
  95. package/dist/FileInput.cjs +1 -1
  96. package/dist/FileInput.js +1 -1
  97. package/dist/FilePlayer-9FdL9kM0.js +202 -0
  98. package/dist/FilePlayer-D9up8eWZ.cjs +1 -0
  99. package/dist/FlexBox.cjs +1 -1
  100. package/dist/FlexBox.js +1 -1
  101. package/dist/FlexGrid.cjs +1 -1
  102. package/dist/FlexGrid.js +1 -1
  103. package/dist/FlexGridItem.cjs +1 -1
  104. package/dist/FlexGridItem.js +1 -1
  105. package/dist/Footer.cjs +1 -1
  106. package/dist/Footer.js +1 -1
  107. package/dist/FormField.cjs +1 -1
  108. package/dist/FormField.js +1 -1
  109. package/dist/FormView.cjs +1 -1
  110. package/dist/FormView.js +1 -1
  111. package/dist/GiftCardsSection.cjs +2 -2
  112. package/dist/GiftCardsSection.js +9 -9
  113. package/dist/Grid.cjs +1 -1
  114. package/dist/Grid.js +1 -1
  115. package/dist/GridItem.cjs +1 -1
  116. package/dist/GridItem.js +1 -1
  117. package/dist/Header.cjs +1 -1
  118. package/dist/Header.js +1 -1
  119. package/dist/HelpBannerSection.cjs +62 -0
  120. package/dist/HelpBannerSection.js +81 -0
  121. package/dist/Icon.cjs +1 -1
  122. package/dist/Icon.js +1 -1
  123. package/dist/IconButton.cjs +1 -1
  124. package/dist/IconButton.js +1 -1
  125. package/dist/Kaltura-C170sgeD.cjs +1 -0
  126. package/dist/Kaltura-Dziqci9-.js +121 -0
  127. package/dist/Kanban.cjs +1 -1
  128. package/dist/Kanban.js +5 -5
  129. package/dist/KanbanActionsToolbar.cjs +1 -1
  130. package/dist/KanbanActionsToolbar.js +1 -1
  131. package/dist/{KanbanCard-CXRQQu4S.cjs → KanbanCard-CP60mpJO.cjs} +1 -1
  132. package/dist/{KanbanCard-CIscpYlR.js → KanbanCard-Crf-cTxA.js} +2 -2
  133. package/dist/KanbanCard.cjs +1 -1
  134. package/dist/KanbanCard.js +2 -2
  135. package/dist/KanbanFooter.cjs +1 -1
  136. package/dist/KanbanFooter.js +1 -1
  137. package/dist/KanbanHeader.cjs +1 -1
  138. package/dist/KanbanHeader.js +1 -1
  139. package/dist/KanbanView.cjs +1 -1
  140. package/dist/KanbanView.js +2 -2
  141. package/dist/Link.cjs +1 -1
  142. package/dist/Link.js +1 -1
  143. package/dist/LocationSearchSection.cjs +1 -1
  144. package/dist/LocationSearchSection.js +1 -1
  145. package/dist/MenuItem.cjs +1 -1
  146. package/dist/MenuItem.js +1 -1
  147. package/dist/Mixcloud-Cfn28kqf.js +113 -0
  148. package/dist/Mixcloud-Towpm_ct.cjs +1 -0
  149. package/dist/Modal.cjs +1 -1
  150. package/dist/Modal.js +2 -2
  151. package/dist/MultiSelectDropdown.cjs +1 -1
  152. package/dist/MultiSelectDropdown.js +3 -3
  153. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  154. package/dist/MultiSelectDropdownLookup.js +3 -3
  155. package/dist/Mux-D0MPDKkM.js +165 -0
  156. package/dist/Mux-yqNOmuss.cjs +1 -0
  157. package/dist/NestedDropdownItem.cjs +1 -1
  158. package/dist/NestedDropdownItem.js +1 -1
  159. package/dist/NestedMenuItem.cjs +1 -1
  160. package/dist/NestedMenuItem.js +1 -1
  161. package/dist/Notification.cjs +1 -1
  162. package/dist/Notification.js +1 -1
  163. package/dist/NotificationContainer.cjs +1 -1
  164. package/dist/NotificationContainer.js +2 -2
  165. package/dist/NotificationMessage.cjs +1 -1
  166. package/dist/NotificationMessage.js +1 -1
  167. package/dist/NumberInput.cjs +1 -1
  168. package/dist/NumberInput.js +2 -2
  169. package/dist/PageLayout.cjs +1 -1
  170. package/dist/PageLayout.js +1 -1
  171. package/dist/Pagination.cjs +1 -1
  172. package/dist/Pagination.js +1 -1
  173. package/dist/PasswordInput.cjs +1 -1
  174. package/dist/PasswordInput.js +2 -2
  175. package/dist/Popover.cjs +1 -1
  176. package/dist/Popover.js +1 -1
  177. package/dist/PopoverContent.cjs +1 -1
  178. package/dist/PopoverContent.js +2 -2
  179. package/dist/PopoverDescription.cjs +1 -1
  180. package/dist/PopoverDescription.js +1 -1
  181. package/dist/PopoverHeading.cjs +1 -1
  182. package/dist/PopoverHeading.js +1 -1
  183. package/dist/PopoverTrigger.cjs +1 -1
  184. package/dist/PopoverTrigger.js +2 -2
  185. package/dist/Preview-B8HyPnfR.cjs +1 -0
  186. package/dist/Preview-CO6WSP5f.js +127 -0
  187. package/dist/ProgressBar.cjs +1 -1
  188. package/dist/ProgressBar.js +1 -1
  189. package/dist/QuattroCardsSection.cjs +5 -5
  190. package/dist/QuattroCardsSection.js +7 -7
  191. package/dist/RadioGroup.cjs +1 -1
  192. package/dist/RadioGroup.js +1 -1
  193. package/dist/RadioInput.cjs +1 -1
  194. package/dist/RadioInput.js +1 -1
  195. package/dist/RangeSlider.cjs +1 -1
  196. package/dist/RangeSlider.js +1 -1
  197. package/dist/ReviewsSection.cjs +1 -1
  198. package/dist/ReviewsSection.js +1 -1
  199. package/dist/SalesCampaignsSection.cjs +1 -1
  200. package/dist/SalesCampaignsSection.js +1 -1
  201. package/dist/SearchBar.cjs +1 -1
  202. package/dist/SearchBar.js +3 -3
  203. package/dist/SearchSection-BUD-hnQA.cjs +161 -0
  204. package/dist/SearchSection-xe0nvARV.js +1214 -0
  205. package/dist/SearchSection.cjs +1 -0
  206. package/dist/SearchSection.js +9 -0
  207. package/dist/Separator.cjs +1 -1
  208. package/dist/Separator.js +1 -1
  209. package/dist/ShopCardsSection.cjs +1 -1
  210. package/dist/ShopCardsSection.js +3 -2
  211. package/dist/Sidebar.cjs +1 -1
  212. package/dist/Sidebar.js +1 -1
  213. package/dist/SimpleCategoriesSection.cjs +2 -2
  214. package/dist/SimpleCategoriesSection.js +4 -4
  215. package/dist/SoundCloud-D85Da68L.js +123 -0
  216. package/dist/SoundCloud-YZlcPffr.cjs +1 -0
  217. package/dist/Spinner.cjs +1 -1
  218. package/dist/Spinner.js +2 -2
  219. package/dist/StatsSection.cjs +117 -0
  220. package/dist/StatsSection.js +154 -0
  221. package/dist/Streamable-CJQf8evZ.cjs +1 -0
  222. package/dist/Streamable-Zj4FOeBP.js +115 -0
  223. package/dist/Surface.cjs +1 -1
  224. package/dist/Surface.js +1 -1
  225. package/dist/SwipeableDrawer.cjs +1 -1
  226. package/dist/SwipeableDrawer.js +1 -1
  227. package/dist/TabItem.cjs +1 -1
  228. package/dist/TabItem.js +1 -1
  229. package/dist/Table.cjs +1 -1
  230. package/dist/Table.js +3 -3
  231. package/dist/TableView.cjs +1 -1
  232. package/dist/TableView.js +1 -1
  233. package/dist/Tabs.cjs +1 -1
  234. package/dist/Tabs.js +1 -1
  235. package/dist/TextAreaInput.cjs +1 -1
  236. package/dist/TextAreaInput.js +2 -2
  237. package/dist/TextInput.cjs +1 -1
  238. package/dist/TextInput.js +2 -2
  239. package/dist/ThemeProvider.cjs +1 -1
  240. package/dist/ThemeProvider.js +2 -2
  241. package/dist/TimeInput.cjs +1 -1
  242. package/dist/TimeInput.js +2 -2
  243. package/dist/Toggle.cjs +1 -1
  244. package/dist/Toggle.js +1 -1
  245. package/dist/TreeMenu.cjs +1 -1
  246. package/dist/TreeMenu.js +1 -1
  247. package/dist/TreeMenuSeparator.cjs +1 -1
  248. package/dist/TreeMenuSeparator.js +1 -1
  249. package/dist/Twitch-Ba2O5gTX.cjs +1 -0
  250. package/dist/Twitch-DC97YrR8.js +117 -0
  251. package/dist/UploadedFile.cjs +1 -1
  252. package/dist/UploadedFile.js +1 -1
  253. package/dist/UrgentSaleProductsSection.cjs +1 -1
  254. package/dist/UrgentSaleProductsSection.js +5 -5
  255. package/dist/Vidyard-BdNB5Wka.cjs +1 -0
  256. package/dist/Vidyard-D9vYqvNv.js +113 -0
  257. package/dist/Vimeo-23LnW4uS.js +146 -0
  258. package/dist/Vimeo-DatJiKS5.cjs +1 -0
  259. package/dist/Wistia-D--UDN6c.cjs +1 -0
  260. package/dist/Wistia-d2TQ3m-s.js +124 -0
  261. package/dist/YouTube-BEkcZxN7.cjs +1 -0
  262. package/dist/YouTube-x5-hc3s6.js +176 -0
  263. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  264. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
  265. package/dist/{emotion-react.browser.esm-1R69UXoj.cjs → emotion-react.browser.esm-Cvnp-zmB.cjs} +1 -1
  266. package/dist/{emotion-react.browser.esm-C6iWxXPG.js → emotion-react.browser.esm-DUVZ5oEL.js} +1 -1
  267. package/dist/{floating-ui.react.esm-h3qa3pb9.js → floating-ui.react.esm-CfpRzwmn.js} +1 -1
  268. package/dist/{floating-ui.react.esm-Bb1ww976.cjs → floating-ui.react.esm-CiYofNnh.cjs} +1 -1
  269. package/dist/{hoist-non-react-statics.cjs-Dr-ytKVG.cjs → hoist-non-react-statics.cjs-DGqlkKoS.cjs} +1 -1
  270. package/dist/{hoist-non-react-statics.cjs-CAHiRNzQ.js → hoist-non-react-statics.cjs-NQME298B.js} +1 -1
  271. package/dist/{index-EeoArxOx.cjs → index-41nUb2kP.cjs} +1 -1
  272. package/dist/{index-BlxaTV-D.js → index-6RFrSPs_.js} +1 -1
  273. package/dist/{index-64mXPFBC.js → index-B1vKwsDE.js} +1 -1
  274. package/dist/{index-Bq3leL2e.js → index-BXrmgzsU.js} +1 -1
  275. package/dist/{index-gY9e_8LL.cjs → index-BZnmT78f.cjs} +1 -1
  276. package/dist/{index-CQLF61YV.js → index-BgRyIsRu.js} +1 -1
  277. package/dist/{index-BPVoEhTF.cjs → index-BpbMKBf_.cjs} +1 -1
  278. package/dist/index-CDGmG-qk.cjs +1 -0
  279. package/dist/{index-S5Cd7WrG.js → index-CblbdqjE.js} +1 -1
  280. package/dist/{index-DaiUAQVF.cjs → index-Cp66dWMi.cjs} +1 -1
  281. package/dist/{index-DAOBjHnD.cjs → index-DA7SIHV1.cjs} +1 -1
  282. package/dist/{index-C1DkD2ug.cjs → index-DCFJmN23.cjs} +1 -1
  283. package/dist/{index-CkWvbrVT.js → index-Dt62UGku.js} +1 -1
  284. package/dist/index-wlx30R-h.js +62 -0
  285. package/dist/index.cjs +1 -1
  286. package/dist/index.js +60 -50
  287. package/dist/{react-toastify.esm--2awuizG.js → react-toastify.esm-BLQznunb.js} +1 -1
  288. package/dist/{react-toastify.esm-Dq1k28O7.cjs → react-toastify.esm-BoMuFZcq.cjs} +1 -1
  289. package/dist/{styled-components.browser.esm-CMTEDJ_5.cjs → styled-components.browser.esm-CvykQBGY.cjs} +1 -1
  290. package/dist/{styled-components.browser.esm-C9FYANiy.js → styled-components.browser.esm-D-n22PJk.js} +1 -1
  291. package/dist/usePopover.cjs +1 -1
  292. package/dist/usePopover.js +1 -1
  293. package/package.json +8 -2
  294. package/vite.config.js +14 -0
  295. package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
  296. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
@@ -0,0 +1 @@
1
+ "use strict";const v=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),h=require("./SearchSection-BUD-hnQA.cjs");function O(t,e){for(var r=0;r<e.length;r++){const o=e[r];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in t)){const n=Object.getOwnPropertyDescriptor(o,a);n&&Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>o[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var V=Object.create,i=Object.defineProperty,D=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyNames,j=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,M=(t,e,r)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,A=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},_=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of S(e))!w.call(t,a)&&a!==r&&i(t,a,{get:()=>e[a],enumerable:!(o=D(e,a))||o.enumerable});return t},L=(t,e,r)=>(r=t!=null?V(j(t)):{},_(!t||!t.__esModule?i(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>_(i({},"__esModule",{value:!0}),t),s=(t,e,r)=>(M(t,typeof e!="symbol"?e+"":e,r),r),f={};A(f,{default:()=>d});var P=R(f),c=L(b),y=h.utils,m=h.patterns;const E="https://play.vidyard.com/embed/v4.js",C="VidyardV4",N="onVidyardAPI";class d extends c.Component{constructor(){super(...arguments),s(this,"callPlayer",y.callPlayer),s(this,"mute",()=>{this.setVolume(0)}),s(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),s(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const{playing:r,config:o,onError:a,onDuration:n}=this.props,l=e&&e.match(m.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,y.getSDK)(E,C,N).then(p=>{this.container&&(p.api.addReadyListener((u,g)=>{this.player||(this.player=g,this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seek",this.props.onSeek),this.player.on("playerComplete",this.props.onEnded))},l),p.api.renderPlayer({uuid:l,container:this.container,autoplay:r?1:0,...o.options}),p.api.getPlayerMetadata(l).then(u=>{this.duration=u.length_in_seconds,n(u.length_in_seconds)}))},a)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){window.VidyardV4.api.destroyPlayer(this.player)}seekTo(e,r=!0){this.callPlayer("seek",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setPlaybackRate(e){this.callPlayer("setPlaybackSpeed",e)}getDuration(){return this.duration}getCurrentTime(){return this.callPlayer("currentTime")}getSecondsLoaded(){return null}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return c.default.createElement("div",{style:r},c.default.createElement("div",{ref:this.ref}))}}s(d,"displayName","Vidyard");s(d,"canPlay",m.canPlay.vidyard);const T=v.getDefaultExportFromCjs(P),k=O({__proto__:null,default:T},[P]);exports.Vidyard=k;
@@ -0,0 +1,113 @@
1
+ import { g } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import v from "react";
3
+ import { u as b, p as O } from "./SearchSection-xe0nvARV.js";
4
+ function V(t, e) {
5
+ for (var r = 0; r < e.length; r++) {
6
+ const o = e[r];
7
+ if (typeof o != "string" && !Array.isArray(o)) {
8
+ for (const a in o)
9
+ if (a !== "default" && !(a in t)) {
10
+ const i = Object.getOwnPropertyDescriptor(o, a);
11
+ i && Object.defineProperty(t, a, i.get ? i : {
12
+ enumerable: !0,
13
+ get: () => o[a]
14
+ });
15
+ }
16
+ }
17
+ }
18
+ return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
19
+ }
20
+ var D = Object.create, n = Object.defineProperty, j = Object.getOwnPropertyDescriptor, w = Object.getOwnPropertyNames, S = Object.getPrototypeOf, M = Object.prototype.hasOwnProperty, A = (t, e, r) => e in t ? n(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, L = (t, e) => {
21
+ for (var r in e)
22
+ n(t, r, { get: e[r], enumerable: !0 });
23
+ }, h = (t, e, r, o) => {
24
+ if (e && typeof e == "object" || typeof e == "function")
25
+ for (let a of w(e))
26
+ !M.call(t, a) && a !== r && n(t, a, { get: () => e[a], enumerable: !(o = j(e, a)) || o.enumerable });
27
+ return t;
28
+ }, R = (t, e, r) => (r = t != null ? D(S(t)) : {}, h(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ !t || !t.__esModule ? n(r, "default", { value: t, enumerable: !0 }) : r,
34
+ t
35
+ )), E = (t) => h(n({}, "__esModule", { value: !0 }), t), s = (t, e, r) => (A(t, typeof e != "symbol" ? e + "" : e, r), r), _ = {};
36
+ L(_, {
37
+ default: () => d
38
+ });
39
+ var f = E(_), c = R(v), y = b, P = O;
40
+ const C = "https://play.vidyard.com/embed/v4.js", N = "VidyardV4", x = "onVidyardAPI";
41
+ class d extends c.Component {
42
+ constructor() {
43
+ super(...arguments), s(this, "callPlayer", y.callPlayer), s(this, "mute", () => {
44
+ this.setVolume(0);
45
+ }), s(this, "unmute", () => {
46
+ this.props.volume !== null && this.setVolume(this.props.volume);
47
+ }), s(this, "ref", (e) => {
48
+ this.container = e;
49
+ });
50
+ }
51
+ componentDidMount() {
52
+ this.props.onMount && this.props.onMount(this);
53
+ }
54
+ load(e) {
55
+ const { playing: r, config: o, onError: a, onDuration: i } = this.props, l = e && e.match(P.MATCH_URL_VIDYARD)[1];
56
+ this.player && this.stop(), (0, y.getSDK)(C, N, x).then((p) => {
57
+ this.container && (p.api.addReadyListener((u, m) => {
58
+ this.player || (this.player = m, this.player.on("ready", this.props.onReady), this.player.on("play", this.props.onPlay), this.player.on("pause", this.props.onPause), this.player.on("seek", this.props.onSeek), this.player.on("playerComplete", this.props.onEnded));
59
+ }, l), p.api.renderPlayer({
60
+ uuid: l,
61
+ container: this.container,
62
+ autoplay: r ? 1 : 0,
63
+ ...o.options
64
+ }), p.api.getPlayerMetadata(l).then((u) => {
65
+ this.duration = u.length_in_seconds, i(u.length_in_seconds);
66
+ }));
67
+ }, a);
68
+ }
69
+ play() {
70
+ this.callPlayer("play");
71
+ }
72
+ pause() {
73
+ this.callPlayer("pause");
74
+ }
75
+ stop() {
76
+ window.VidyardV4.api.destroyPlayer(this.player);
77
+ }
78
+ seekTo(e, r = !0) {
79
+ this.callPlayer("seek", e), r || this.pause();
80
+ }
81
+ setVolume(e) {
82
+ this.callPlayer("setVolume", e);
83
+ }
84
+ setPlaybackRate(e) {
85
+ this.callPlayer("setPlaybackSpeed", e);
86
+ }
87
+ getDuration() {
88
+ return this.duration;
89
+ }
90
+ getCurrentTime() {
91
+ return this.callPlayer("currentTime");
92
+ }
93
+ getSecondsLoaded() {
94
+ return null;
95
+ }
96
+ render() {
97
+ const { display: e } = this.props, r = {
98
+ width: "100%",
99
+ height: "100%",
100
+ display: e
101
+ };
102
+ return /* @__PURE__ */ c.default.createElement("div", { style: r }, /* @__PURE__ */ c.default.createElement("div", { ref: this.ref }));
103
+ }
104
+ }
105
+ s(d, "displayName", "Vidyard");
106
+ s(d, "canPlay", P.canPlay.vidyard);
107
+ const T = /* @__PURE__ */ g(f), F = /* @__PURE__ */ V({
108
+ __proto__: null,
109
+ default: T
110
+ }, [f]);
111
+ export {
112
+ F as V
113
+ };
@@ -0,0 +1,146 @@
1
+ import { g as d } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import f from "react";
3
+ import { u as m, p as _ } from "./SearchSection-xe0nvARV.js";
4
+ function P(t, e) {
5
+ for (var r = 0; r < e.length; r++) {
6
+ const a = e[r];
7
+ if (typeof a != "string" && !Array.isArray(a)) {
8
+ for (const s in a)
9
+ if (s !== "default" && !(s in t)) {
10
+ const o = Object.getOwnPropertyDescriptor(a, s);
11
+ o && Object.defineProperty(t, s, o.get ? o : {
12
+ enumerable: !0,
13
+ get: () => a[s]
14
+ });
15
+ }
16
+ }
17
+ }
18
+ return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
19
+ }
20
+ var g = Object.create, n = Object.defineProperty, b = Object.getOwnPropertyDescriptor, v = Object.getOwnPropertyNames, O = Object.getPrototypeOf, D = Object.prototype.hasOwnProperty, w = (t, e, r) => e in t ? n(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, M = (t, e) => {
21
+ for (var r in e)
22
+ n(t, r, { get: e[r], enumerable: !0 });
23
+ }, h = (t, e, r, a) => {
24
+ if (e && typeof e == "object" || typeof e == "function")
25
+ for (let s of v(e))
26
+ !D.call(t, s) && s !== r && n(t, s, { get: () => e[s], enumerable: !(a = b(e, s)) || a.enumerable });
27
+ return t;
28
+ }, j = (t, e, r) => (r = t != null ? g(O(t)) : {}, h(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ !t || !t.__esModule ? n(r, "default", { value: t, enumerable: !0 }) : r,
34
+ t
35
+ )), L = (t) => h(n({}, "__esModule", { value: !0 }), t), i = (t, e, r) => (w(t, typeof e != "symbol" ? e + "" : e, r), r), c = {};
36
+ M(c, {
37
+ default: () => l
38
+ });
39
+ var y = L(c), p = j(f), u = m, S = _;
40
+ const V = "https://player.vimeo.com/api/player.js", E = "Vimeo", k = (t) => t.replace("/manage/videos", "");
41
+ class l extends p.Component {
42
+ constructor() {
43
+ super(...arguments), i(this, "callPlayer", u.callPlayer), i(this, "duration", null), i(this, "currentTime", null), i(this, "secondsLoaded", null), i(this, "mute", () => {
44
+ this.setMuted(!0);
45
+ }), i(this, "unmute", () => {
46
+ this.setMuted(!1);
47
+ }), i(this, "ref", (e) => {
48
+ this.container = e;
49
+ });
50
+ }
51
+ componentDidMount() {
52
+ this.props.onMount && this.props.onMount(this);
53
+ }
54
+ load(e) {
55
+ this.duration = null, (0, u.getSDK)(V, E).then((r) => {
56
+ if (!this.container)
57
+ return;
58
+ const { playerOptions: a, title: s } = this.props.config;
59
+ this.player = new r.Player(this.container, {
60
+ url: k(e),
61
+ autoplay: this.props.playing,
62
+ muted: this.props.muted,
63
+ loop: this.props.loop,
64
+ playsinline: this.props.playsinline,
65
+ controls: this.props.controls,
66
+ ...a
67
+ }), this.player.ready().then(() => {
68
+ const o = this.container.querySelector("iframe");
69
+ o.style.width = "100%", o.style.height = "100%", s && (o.title = s);
70
+ }).catch(this.props.onError), this.player.on("loaded", () => {
71
+ this.props.onReady(), this.refreshDuration();
72
+ }), this.player.on("play", () => {
73
+ this.props.onPlay(), this.refreshDuration();
74
+ }), this.player.on("pause", this.props.onPause), this.player.on("seeked", (o) => this.props.onSeek(o.seconds)), this.player.on("ended", this.props.onEnded), this.player.on("error", this.props.onError), this.player.on("timeupdate", ({ seconds: o }) => {
75
+ this.currentTime = o;
76
+ }), this.player.on("progress", ({ seconds: o }) => {
77
+ this.secondsLoaded = o;
78
+ }), this.player.on("bufferstart", this.props.onBuffer), this.player.on("bufferend", this.props.onBufferEnd), this.player.on("playbackratechange", (o) => this.props.onPlaybackRateChange(o.playbackRate));
79
+ }, this.props.onError);
80
+ }
81
+ refreshDuration() {
82
+ this.player.getDuration().then((e) => {
83
+ this.duration = e;
84
+ });
85
+ }
86
+ play() {
87
+ const e = this.callPlayer("play");
88
+ e && e.catch(this.props.onError);
89
+ }
90
+ pause() {
91
+ this.callPlayer("pause");
92
+ }
93
+ stop() {
94
+ this.callPlayer("unload");
95
+ }
96
+ seekTo(e, r = !0) {
97
+ this.callPlayer("setCurrentTime", e), r || this.pause();
98
+ }
99
+ setVolume(e) {
100
+ this.callPlayer("setVolume", e);
101
+ }
102
+ setMuted(e) {
103
+ this.callPlayer("setMuted", e);
104
+ }
105
+ setLoop(e) {
106
+ this.callPlayer("setLoop", e);
107
+ }
108
+ setPlaybackRate(e) {
109
+ this.callPlayer("setPlaybackRate", e);
110
+ }
111
+ getDuration() {
112
+ return this.duration;
113
+ }
114
+ getCurrentTime() {
115
+ return this.currentTime;
116
+ }
117
+ getSecondsLoaded() {
118
+ return this.secondsLoaded;
119
+ }
120
+ render() {
121
+ const { display: e } = this.props, r = {
122
+ width: "100%",
123
+ height: "100%",
124
+ overflow: "hidden",
125
+ display: e
126
+ };
127
+ return /* @__PURE__ */ p.default.createElement(
128
+ "div",
129
+ {
130
+ key: this.props.url,
131
+ ref: this.ref,
132
+ style: r
133
+ }
134
+ );
135
+ }
136
+ }
137
+ i(l, "displayName", "Vimeo");
138
+ i(l, "canPlay", S.canPlay.vimeo);
139
+ i(l, "forceLoad", !0);
140
+ const R = /* @__PURE__ */ d(y), x = /* @__PURE__ */ P({
141
+ __proto__: null,
142
+ default: R
143
+ }, [y]);
144
+ export {
145
+ x as V
146
+ };
@@ -0,0 +1 @@
1
+ "use strict";const f=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("react"),c=require("./SearchSection-BUD-hnQA.cjs");function _(t,e){for(var r=0;r<e.length;r++){const a=e[r];if(typeof a!="string"&&!Array.isArray(a)){for(const o in a)if(o!=="default"&&!(o in t)){const s=Object.getOwnPropertyDescriptor(a,o);s&&Object.defineProperty(t,o,s.get?s:{enumerable:!0,get:()=>a[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,v=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,D=(t,e,r)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,j=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of b(e))!O.call(t,o)&&o!==r&&n(t,o,{get:()=>e[o],enumerable:!(a=g(e,o))||a.enumerable});return t},w=(t,e,r)=>(r=t!=null?P(v(t)):{},h(!t||!t.__esModule?n(r,"default",{value:t,enumerable:!0}):r,t)),M=t=>h(n({},"__esModule",{value:!0}),t),i=(t,e,r)=>(D(t,typeof e!="symbol"?e+"":e,r),r),y={};j(y,{default:()=>l});var d=M(y),p=w(m),u=c.utils,S=c.patterns;const L="https://player.vimeo.com/api/player.js",V="Vimeo",E=t=>t.replace("/manage/videos","");class l extends p.Component{constructor(){super(...arguments),i(this,"callPlayer",u.callPlayer),i(this,"duration",null),i(this,"currentTime",null),i(this,"secondsLoaded",null),i(this,"mute",()=>{this.setMuted(!0)}),i(this,"unmute",()=>{this.setMuted(!1)}),i(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){this.duration=null,(0,u.getSDK)(L,V).then(r=>{if(!this.container)return;const{playerOptions:a,title:o}=this.props.config;this.player=new r.Player(this.container,{url:E(e),autoplay:this.props.playing,muted:this.props.muted,loop:this.props.loop,playsinline:this.props.playsinline,controls:this.props.controls,...a}),this.player.ready().then(()=>{const s=this.container.querySelector("iframe");s.style.width="100%",s.style.height="100%",o&&(s.title=o)}).catch(this.props.onError),this.player.on("loaded",()=>{this.props.onReady(),this.refreshDuration()}),this.player.on("play",()=>{this.props.onPlay(),this.refreshDuration()}),this.player.on("pause",this.props.onPause),this.player.on("seeked",s=>this.props.onSeek(s.seconds)),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({seconds:s})=>{this.currentTime=s}),this.player.on("progress",({seconds:s})=>{this.secondsLoaded=s}),this.player.on("bufferstart",this.props.onBuffer),this.player.on("bufferend",this.props.onBufferEnd),this.player.on("playbackratechange",s=>this.props.onPlaybackRateChange(s.playbackRate))},this.props.onError)}refreshDuration(){this.player.getDuration().then(e=>{this.duration=e})}play(){const e=this.callPlayer("play");e&&e.catch(this.props.onError)}pause(){this.callPlayer("pause")}stop(){this.callPlayer("unload")}seekTo(e,r=!0){this.callPlayer("setCurrentTime",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setMuted(e){this.callPlayer("setMuted",e)}setLoop(e){this.callPlayer("setLoop",e)}setPlaybackRate(e){this.callPlayer("setPlaybackRate",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const{display:e}=this.props,r={width:"100%",height:"100%",overflow:"hidden",display:e};return p.default.createElement("div",{key:this.props.url,ref:this.ref,style:r})}}i(l,"displayName","Vimeo");i(l,"canPlay",S.canPlay.vimeo);i(l,"forceLoad",!0);const k=f.getDefaultExportFromCjs(d),R=_({__proto__:null,default:k},[d]);exports.Vimeo=R;
@@ -0,0 +1 @@
1
+ "use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),v=require("react"),y=require("./SearchSection-BUD-hnQA.cjs");function w(t,e){for(var a=0;a<e.length;a++){const s=e[a];if(typeof s!="string"&&!Array.isArray(s)){for(const r in s)if(r!=="default"&&!(r in t)){const o=Object.getOwnPropertyDescriptor(s,r);o&&Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>s[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O=Object.create,i=Object.defineProperty,C=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyNames,k=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty,R=(t,e,a)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,E=(t,e)=>{for(var a in e)i(t,a,{get:e[a],enumerable:!0})},d=(t,e,a,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of S(e))!D.call(t,r)&&r!==a&&i(t,r,{get:()=>e[r],enumerable:!(s=C(e,r))||s.enumerable});return t},j=(t,e,a)=>(a=t!=null?O(k(t)):{},d(!t||!t.__esModule?i(a,"default",{value:t,enumerable:!0}):a,t)),I=t=>d(i({},"__esModule",{value:!0}),t),n=(t,e,a)=>(R(t,typeof e!="symbol"?e+"":e,a),a),_={};E(_,{default:()=>l});var P=I(_),h=j(v),c=y.utils,b=y.patterns;const M="https://fast.wistia.com/assets/external/E-v1.js",W="Wistia",q="wistia-player-";class l extends h.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"playerID",this.props.config.playerId||`${q}${(0,c.randomString)()}`),n(this,"onPlay",(...e)=>this.props.onPlay(...e)),n(this,"onPause",(...e)=>this.props.onPause(...e)),n(this,"onSeek",(...e)=>this.props.onSeek(...e)),n(this,"onEnded",(...e)=>this.props.onEnded(...e)),n(this,"onPlaybackRateChange",(...e)=>this.props.onPlaybackRateChange(...e)),n(this,"mute",()=>{this.callPlayer("mute")}),n(this,"unmute",()=>{this.callPlayer("unmute")})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const{playing:a,muted:s,controls:r,onReady:o,config:p,onError:f}=this.props;(0,c.getSDK)(M,W).then(m=>{p.customControls&&p.customControls.forEach(u=>m.defineControl(u)),window._wq=window._wq||[],window._wq.push({id:this.playerID,options:{autoPlay:a,silentAutoPlay:"allow",muted:s,controlsVisibleOnLoad:r,fullscreenButton:r,playbar:r,playbackRateControl:r,qualityControl:r,volumeControl:r,settingsControl:r,smallPlayButton:r,...p.options},onReady:u=>{this.player=u,this.unbind(),this.player.bind("play",this.onPlay),this.player.bind("pause",this.onPause),this.player.bind("seek",this.onSeek),this.player.bind("end",this.onEnded),this.player.bind("playbackratechange",this.onPlaybackRateChange),o()}})},f)}unbind(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){this.unbind(),this.callPlayer("remove")}seekTo(e,a=!0){this.callPlayer("time",e),a||this.pause()}setVolume(e){this.callPlayer("volume",e)}setPlaybackRate(e){this.callPlayer("playbackRate",e)}getDuration(){return this.callPlayer("duration")}getCurrentTime(){return this.callPlayer("time")}getSecondsLoaded(){return null}render(){const{url:e}=this.props,a=e&&e.match(b.MATCH_URL_WISTIA)[1],s=`wistia_embed wistia_async_${a}`,r={width:"100%",height:"100%"};return h.default.createElement("div",{id:this.playerID,key:a,className:s,style:r})}}n(l,"displayName","Wistia");n(l,"canPlay",b.canPlay.wistia);n(l,"loopOnEnded",!0);const A=g.getDefaultExportFromCjs(P),L=w({__proto__:null,default:A},[P]);exports.Wistia=L;
@@ -0,0 +1,124 @@
1
+ import { g as m } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import g from "react";
3
+ import { u as v, p as w } from "./SearchSection-xe0nvARV.js";
4
+ function O(t, e) {
5
+ for (var a = 0; a < e.length; a++) {
6
+ const s = e[a];
7
+ if (typeof s != "string" && !Array.isArray(s)) {
8
+ for (const r in s)
9
+ if (r !== "default" && !(r in t)) {
10
+ const o = Object.getOwnPropertyDescriptor(s, r);
11
+ o && Object.defineProperty(t, r, o.get ? o : {
12
+ enumerable: !0,
13
+ get: () => s[r]
14
+ });
15
+ }
16
+ }
17
+ }
18
+ return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
19
+ }
20
+ var C = Object.create, i = Object.defineProperty, k = Object.getOwnPropertyDescriptor, D = Object.getOwnPropertyNames, R = Object.getPrototypeOf, S = Object.prototype.hasOwnProperty, E = (t, e, a) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, j = (t, e) => {
21
+ for (var a in e)
22
+ i(t, a, { get: e[a], enumerable: !0 });
23
+ }, h = (t, e, a, s) => {
24
+ if (e && typeof e == "object" || typeof e == "function")
25
+ for (let r of D(e))
26
+ !S.call(t, r) && r !== a && i(t, r, { get: () => e[r], enumerable: !(s = k(e, r)) || s.enumerable });
27
+ return t;
28
+ }, I = (t, e, a) => (a = t != null ? C(R(t)) : {}, h(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ !t || !t.__esModule ? i(a, "default", { value: t, enumerable: !0 }) : a,
34
+ t
35
+ )), M = (t) => h(i({}, "__esModule", { value: !0 }), t), n = (t, e, a) => (E(t, typeof e != "symbol" ? e + "" : e, a), a), d = {};
36
+ j(d, {
37
+ default: () => l
38
+ });
39
+ var _ = M(d), y = I(g), c = v, P = w;
40
+ const W = "https://fast.wistia.com/assets/external/E-v1.js", A = "Wistia", L = "wistia-player-";
41
+ class l extends y.Component {
42
+ constructor() {
43
+ super(...arguments), n(this, "callPlayer", c.callPlayer), n(this, "playerID", this.props.config.playerId || `${L}${(0, c.randomString)()}`), n(this, "onPlay", (...e) => this.props.onPlay(...e)), n(this, "onPause", (...e) => this.props.onPause(...e)), n(this, "onSeek", (...e) => this.props.onSeek(...e)), n(this, "onEnded", (...e) => this.props.onEnded(...e)), n(this, "onPlaybackRateChange", (...e) => this.props.onPlaybackRateChange(...e)), n(this, "mute", () => {
44
+ this.callPlayer("mute");
45
+ }), n(this, "unmute", () => {
46
+ this.callPlayer("unmute");
47
+ });
48
+ }
49
+ componentDidMount() {
50
+ this.props.onMount && this.props.onMount(this);
51
+ }
52
+ load(e) {
53
+ const { playing: a, muted: s, controls: r, onReady: o, config: p, onError: b } = this.props;
54
+ (0, c.getSDK)(W, A).then((f) => {
55
+ p.customControls && p.customControls.forEach((u) => f.defineControl(u)), window._wq = window._wq || [], window._wq.push({
56
+ id: this.playerID,
57
+ options: {
58
+ autoPlay: a,
59
+ silentAutoPlay: "allow",
60
+ muted: s,
61
+ controlsVisibleOnLoad: r,
62
+ fullscreenButton: r,
63
+ playbar: r,
64
+ playbackRateControl: r,
65
+ qualityControl: r,
66
+ volumeControl: r,
67
+ settingsControl: r,
68
+ smallPlayButton: r,
69
+ ...p.options
70
+ },
71
+ onReady: (u) => {
72
+ this.player = u, this.unbind(), this.player.bind("play", this.onPlay), this.player.bind("pause", this.onPause), this.player.bind("seek", this.onSeek), this.player.bind("end", this.onEnded), this.player.bind("playbackratechange", this.onPlaybackRateChange), o();
73
+ }
74
+ });
75
+ }, b);
76
+ }
77
+ unbind() {
78
+ this.player.unbind("play", this.onPlay), this.player.unbind("pause", this.onPause), this.player.unbind("seek", this.onSeek), this.player.unbind("end", this.onEnded), this.player.unbind("playbackratechange", this.onPlaybackRateChange);
79
+ }
80
+ play() {
81
+ this.callPlayer("play");
82
+ }
83
+ pause() {
84
+ this.callPlayer("pause");
85
+ }
86
+ stop() {
87
+ this.unbind(), this.callPlayer("remove");
88
+ }
89
+ seekTo(e, a = !0) {
90
+ this.callPlayer("time", e), a || this.pause();
91
+ }
92
+ setVolume(e) {
93
+ this.callPlayer("volume", e);
94
+ }
95
+ setPlaybackRate(e) {
96
+ this.callPlayer("playbackRate", e);
97
+ }
98
+ getDuration() {
99
+ return this.callPlayer("duration");
100
+ }
101
+ getCurrentTime() {
102
+ return this.callPlayer("time");
103
+ }
104
+ getSecondsLoaded() {
105
+ return null;
106
+ }
107
+ render() {
108
+ const { url: e } = this.props, a = e && e.match(P.MATCH_URL_WISTIA)[1], s = `wistia_embed wistia_async_${a}`, r = {
109
+ width: "100%",
110
+ height: "100%"
111
+ };
112
+ return /* @__PURE__ */ y.default.createElement("div", { id: this.playerID, key: a, className: s, style: r });
113
+ }
114
+ }
115
+ n(l, "displayName", "Wistia");
116
+ n(l, "canPlay", P.canPlay.wistia);
117
+ n(l, "loopOnEnded", !0);
118
+ const N = /* @__PURE__ */ m(_), q = /* @__PURE__ */ O({
119
+ __proto__: null,
120
+ default: N
121
+ }, [_]);
122
+ export {
123
+ q as W
124
+ };
@@ -0,0 +1 @@
1
+ "use strict";const I=require("./_commonjsHelpers-DwTZ_eVU.cjs"),L=require("react"),v=require("./SearchSection-BUD-hnQA.cjs");function M(a,e){for(var t=0;t<e.length;t++){const o=e[t];if(typeof o!="string"&&!Array.isArray(o)){for(const r in o)if(r!=="default"&&!(r in a)){const n=Object.getOwnPropertyDescriptor(o,r);n&&Object.defineProperty(a,r,n.get?n:{enumerable:!0,get:()=>o[r]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var Y=Object.create,u=Object.defineProperty,j=Object.getOwnPropertyDescriptor,k=Object.getOwnPropertyNames,N=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,B=(a,e,t)=>e in a?u(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,H=(a,e)=>{for(var t in e)u(a,t,{get:e[t],enumerable:!0})},S=(a,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of k(e))!V.call(a,r)&&r!==t&&u(a,r,{get:()=>e[r],enumerable:!(o=j(e,r))||o.enumerable});return a},K=(a,e,t)=>(t=a!=null?Y(N(a)):{},S(!a||!a.__esModule?u(t,"default",{value:a,enumerable:!0}):t,a)),F=a=>S(u({},"__esModule",{value:!0}),a),s=(a,e,t)=>(B(a,typeof e!="symbol"?e+"":e,t),t),w={};H(w,{default:()=>O});var D=F(w),b=K(L),c=v.utils,E=v.patterns;const x="https://www.youtube.com/iframe_api",T="YT",G="onYouTubeIframeAPIReady",f=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,m=/user\/([a-zA-Z0-9_-]+)\/?/,q=/youtube-nocookie\.com/,z="https://www.youtube-nocookie.com";class O extends b.Component{constructor(){super(...arguments),s(this,"callPlayer",c.callPlayer),s(this,"parsePlaylist",e=>{if(e instanceof Array)return{listType:"playlist",playlist:e.map(this.getID).join(",")};if(f.test(e)){const[,t]=e.match(f);return{listType:"playlist",list:t.replace(/^UC/,"UU")}}if(m.test(e)){const[,t]=e.match(m);return{listType:"user_uploads",list:t}}return{}}),s(this,"onStateChange",e=>{const{data:t}=e,{onPlay:o,onPause:r,onBuffer:n,onBufferEnd:P,onEnded:_,onReady:g,loop:y,config:{playerVars:l,onUnstarted:h}}=this.props,{UNSTARTED:d,PLAYING:p,PAUSED:i,BUFFERING:A,ENDED:C,CUED:R}=window[T].PlayerState;if(t===d&&h(),t===p&&(o(),P()),t===i&&r(),t===A&&n(),t===C){const U=!!this.callPlayer("getPlaylist");y&&!U&&(l.start?this.seekTo(l.start):this.play()),_()}t===R&&g()}),s(this,"mute",()=>{this.callPlayer("mute")}),s(this,"unmute",()=>{this.callPlayer("unMute")}),s(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}getID(e){return!e||e instanceof Array||f.test(e)?null:e.match(E.MATCH_URL_YOUTUBE)[1]}load(e,t){const{playing:o,muted:r,playsinline:n,controls:P,loop:_,config:g,onError:y}=this.props,{playerVars:l,embedOptions:h}=g,d=this.getID(e);if(t){if(f.test(e)||m.test(e)||e instanceof Array){this.player.loadPlaylist(this.parsePlaylist(e));return}this.player.cueVideoById({videoId:d,startSeconds:(0,c.parseStartTime)(e)||l.start,endSeconds:(0,c.parseEndTime)(e)||l.end});return}(0,c.getSDK)(x,T,G,p=>p.loaded).then(p=>{this.container&&(this.player=new p.Player(this.container,{width:"100%",height:"100%",videoId:d,playerVars:{autoplay:o?1:0,mute:r?1:0,controls:P?1:0,start:(0,c.parseStartTime)(e),end:(0,c.parseEndTime)(e),origin:window.location.origin,playsinline:n?1:0,...this.parsePlaylist(e),...l},events:{onReady:()=>{_&&this.player.setLoop(!0),this.props.onReady()},onPlaybackRateChange:i=>this.props.onPlaybackRateChange(i.data),onPlaybackQualityChange:i=>this.props.onPlaybackQualityChange(i),onStateChange:this.onStateChange,onError:i=>y(i.data)},host:q.test(e)?z:void 0,...h}))},y),h.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer’s callback props instead, eg onReady, onPlay, onPause")}play(){this.callPlayer("playVideo")}pause(){this.callPlayer("pauseVideo")}stop(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}seekTo(e,t=!1){this.callPlayer("seekTo",e),!t&&!this.props.playing&&this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}setPlaybackRate(e){this.callPlayer("setPlaybackRate",e)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentTime")}getSecondsLoaded(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}render(){const{display:e}=this.props,t={width:"100%",height:"100%",display:e};return b.default.createElement("div",{style:t},b.default.createElement("div",{ref:this.ref}))}}s(O,"displayName","YouTube");s(O,"canPlay",E.canPlay.youtube);const Q=I.getDefaultExportFromCjs(D),Z=M({__proto__:null,default:Q},[D]);exports.YouTube=Z;
@@ -0,0 +1,176 @@
1
+ import { g as U } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import I from "react";
3
+ import { u as L, p as M } from "./SearchSection-xe0nvARV.js";
4
+ function Y(a, e) {
5
+ for (var t = 0; t < e.length; t++) {
6
+ const o = e[t];
7
+ if (typeof o != "string" && !Array.isArray(o)) {
8
+ for (const r in o)
9
+ if (r !== "default" && !(r in a)) {
10
+ const n = Object.getOwnPropertyDescriptor(o, r);
11
+ n && Object.defineProperty(a, r, n.get ? n : {
12
+ enumerable: !0,
13
+ get: () => o[r]
14
+ });
15
+ }
16
+ }
17
+ }
18
+ return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
19
+ }
20
+ var k = Object.create, u = Object.defineProperty, N = Object.getOwnPropertyDescriptor, j = Object.getOwnPropertyNames, V = Object.getPrototypeOf, B = Object.prototype.hasOwnProperty, K = (a, e, t) => e in a ? u(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, x = (a, e) => {
21
+ for (var t in e)
22
+ u(a, t, { get: e[t], enumerable: !0 });
23
+ }, v = (a, e, t, o) => {
24
+ if (e && typeof e == "object" || typeof e == "function")
25
+ for (let r of j(e))
26
+ !B.call(a, r) && r !== t && u(a, r, { get: () => e[r], enumerable: !(o = N(e, r)) || o.enumerable });
27
+ return a;
28
+ }, F = (a, e, t) => (t = a != null ? k(V(a)) : {}, v(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ !a || !a.__esModule ? u(t, "default", { value: a, enumerable: !0 }) : t,
34
+ a
35
+ )), H = (a) => v(u({}, "__esModule", { value: !0 }), a), s = (a, e, t) => (K(a, typeof e != "symbol" ? e + "" : e, t), t), w = {};
36
+ x(w, {
37
+ default: () => O
38
+ });
39
+ var S = H(w), m = F(I), p = L, D = M;
40
+ const G = "https://www.youtube.com/iframe_api", T = "YT", z = "onYouTubeIframeAPIReady", f = /[?&](?:list|channel)=([a-zA-Z0-9_-]+)/, b = /user\/([a-zA-Z0-9_-]+)\/?/, Q = /youtube-nocookie\.com/, Z = "https://www.youtube-nocookie.com";
41
+ class O extends m.Component {
42
+ constructor() {
43
+ super(...arguments), s(this, "callPlayer", p.callPlayer), s(this, "parsePlaylist", (e) => {
44
+ if (e instanceof Array)
45
+ return {
46
+ listType: "playlist",
47
+ playlist: e.map(this.getID).join(",")
48
+ };
49
+ if (f.test(e)) {
50
+ const [, t] = e.match(f);
51
+ return {
52
+ listType: "playlist",
53
+ list: t.replace(/^UC/, "UU")
54
+ };
55
+ }
56
+ if (b.test(e)) {
57
+ const [, t] = e.match(b);
58
+ return {
59
+ listType: "user_uploads",
60
+ list: t
61
+ };
62
+ }
63
+ return {};
64
+ }), s(this, "onStateChange", (e) => {
65
+ const { data: t } = e, { onPlay: o, onPause: r, onBuffer: n, onBufferEnd: P, onEnded: _, onReady: g, loop: y, config: { playerVars: l, onUnstarted: d } } = this.props, { UNSTARTED: h, PLAYING: c, PAUSED: i, BUFFERING: E, ENDED: A, CUED: C } = window[T].PlayerState;
66
+ if (t === h && d(), t === c && (o(), P()), t === i && r(), t === E && n(), t === A) {
67
+ const R = !!this.callPlayer("getPlaylist");
68
+ y && !R && (l.start ? this.seekTo(l.start) : this.play()), _();
69
+ }
70
+ t === C && g();
71
+ }), s(this, "mute", () => {
72
+ this.callPlayer("mute");
73
+ }), s(this, "unmute", () => {
74
+ this.callPlayer("unMute");
75
+ }), s(this, "ref", (e) => {
76
+ this.container = e;
77
+ });
78
+ }
79
+ componentDidMount() {
80
+ this.props.onMount && this.props.onMount(this);
81
+ }
82
+ getID(e) {
83
+ return !e || e instanceof Array || f.test(e) ? null : e.match(D.MATCH_URL_YOUTUBE)[1];
84
+ }
85
+ load(e, t) {
86
+ const { playing: o, muted: r, playsinline: n, controls: P, loop: _, config: g, onError: y } = this.props, { playerVars: l, embedOptions: d } = g, h = this.getID(e);
87
+ if (t) {
88
+ if (f.test(e) || b.test(e) || e instanceof Array) {
89
+ this.player.loadPlaylist(this.parsePlaylist(e));
90
+ return;
91
+ }
92
+ this.player.cueVideoById({
93
+ videoId: h,
94
+ startSeconds: (0, p.parseStartTime)(e) || l.start,
95
+ endSeconds: (0, p.parseEndTime)(e) || l.end
96
+ });
97
+ return;
98
+ }
99
+ (0, p.getSDK)(G, T, z, (c) => c.loaded).then((c) => {
100
+ this.container && (this.player = new c.Player(this.container, {
101
+ width: "100%",
102
+ height: "100%",
103
+ videoId: h,
104
+ playerVars: {
105
+ autoplay: o ? 1 : 0,
106
+ mute: r ? 1 : 0,
107
+ controls: P ? 1 : 0,
108
+ start: (0, p.parseStartTime)(e),
109
+ end: (0, p.parseEndTime)(e),
110
+ origin: window.location.origin,
111
+ playsinline: n ? 1 : 0,
112
+ ...this.parsePlaylist(e),
113
+ ...l
114
+ },
115
+ events: {
116
+ onReady: () => {
117
+ _ && this.player.setLoop(!0), this.props.onReady();
118
+ },
119
+ onPlaybackRateChange: (i) => this.props.onPlaybackRateChange(i.data),
120
+ onPlaybackQualityChange: (i) => this.props.onPlaybackQualityChange(i),
121
+ onStateChange: this.onStateChange,
122
+ onError: (i) => y(i.data)
123
+ },
124
+ host: Q.test(e) ? Z : void 0,
125
+ ...d
126
+ }));
127
+ }, y), d.events && console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer’s callback props instead, eg onReady, onPlay, onPause");
128
+ }
129
+ play() {
130
+ this.callPlayer("playVideo");
131
+ }
132
+ pause() {
133
+ this.callPlayer("pauseVideo");
134
+ }
135
+ stop() {
136
+ document.body.contains(this.callPlayer("getIframe")) && this.callPlayer("stopVideo");
137
+ }
138
+ seekTo(e, t = !1) {
139
+ this.callPlayer("seekTo", e), !t && !this.props.playing && this.pause();
140
+ }
141
+ setVolume(e) {
142
+ this.callPlayer("setVolume", e * 100);
143
+ }
144
+ setPlaybackRate(e) {
145
+ this.callPlayer("setPlaybackRate", e);
146
+ }
147
+ setLoop(e) {
148
+ this.callPlayer("setLoop", e);
149
+ }
150
+ getDuration() {
151
+ return this.callPlayer("getDuration");
152
+ }
153
+ getCurrentTime() {
154
+ return this.callPlayer("getCurrentTime");
155
+ }
156
+ getSecondsLoaded() {
157
+ return this.callPlayer("getVideoLoadedFraction") * this.getDuration();
158
+ }
159
+ render() {
160
+ const { display: e } = this.props, t = {
161
+ width: "100%",
162
+ height: "100%",
163
+ display: e
164
+ };
165
+ return /* @__PURE__ */ m.default.createElement("div", { style: t }, /* @__PURE__ */ m.default.createElement("div", { ref: this.ref }));
166
+ }
167
+ }
168
+ s(O, "displayName", "YouTube");
169
+ s(O, "canPlay", D.canPlay.youtube);
170
+ const $ = /* @__PURE__ */ U(S), X = /* @__PURE__ */ Y({
171
+ __proto__: null,
172
+ default: $
173
+ }, [S]);
174
+ export {
175
+ X as Y
176
+ };
@@ -0,0 +1,28 @@
1
+ var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function f(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ function l(e) {
6
+ if (e.__esModule) return e;
7
+ var r = e.default;
8
+ if (typeof r == "function") {
9
+ var t = function o() {
10
+ return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
11
+ };
12
+ t.prototype = r.prototype;
13
+ } else t = {};
14
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
15
+ var n = Object.getOwnPropertyDescriptor(e, o);
16
+ Object.defineProperty(t, o, n.get ? n : {
17
+ enumerable: !0,
18
+ get: function() {
19
+ return e[o];
20
+ }
21
+ });
22
+ }), t;
23
+ }
24
+ export {
25
+ l as a,
26
+ u as c,
27
+ f as g
28
+ };
@@ -0,0 +1 @@
1
+ "use strict";var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}exports.commonjsGlobal=u;exports.getAugmentedNamespace=l;exports.getDefaultExportFromCjs=f;
@@ -1 +1 @@
1
- "use strict";const l=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),y=require("react");require("./hoist-non-react-statics.cjs-Dr-ytKVG.cjs");function h(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,t.get?t:{enumerable:!0,get:()=>n[r]})}}return e.default=n,Object.freeze(e)}const u=h(y);exports.jsx=function(e,r){var t=arguments;if(r==null||!l.hasOwn.call(r,"css"))return u.createElement.apply(void 0,t);var a=t.length,i=new Array(a);i[0]=l.Emotion$1,i[1]=l.createEmotionProps(e,r);for(var s=2;s<a;s++)i[s]=t[s];return u.createElement.apply(null,i)};(function(n){var e;e||(e=n.JSX||(n.JSX={}))})(exports.jsx||(exports.jsx={}));function g(){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return l.serializeStyles(e)}function S(){var n=g.apply(void 0,arguments),e="animation-"+n.name;return{name:e,styles:"@keyframes "+e+"{"+n.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var b=function n(e){for(var r=e.length,t=0,a="";t<r;t++){var i=e[t];if(i!=null){var s=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))s=n(i);else{s="";for(var o in i)i[o]&&o&&(s&&(s+=" "),s+=o)}break}default:s=i}s&&(a&&(a+=" "),a+=s)}}return a};function E(n,e,r){var t=[],a=l.getRegisteredStyles(n,t,r);return t.length<2?r:a+e(t)}var p=function(e){var r=e.cache,t=e.serializedArr;return l.useInsertionEffectAlwaysWithSyncFallback(function(){for(var a=0;a<t.length;a++)l.insertStyles(r,t[a],!1)}),null},w=l.withEmotionCache(function(n,e){var r=[],t=function(){for(var f=arguments.length,m=new Array(f),c=0;c<f;c++)m[c]=arguments[c];var v=l.serializeStyles(m,e.registered);return r.push(v),l.registerStyles(e,v,!1),e.key+"-"+v.name},a=function(){for(var f=arguments.length,m=new Array(f),c=0;c<f;c++)m[c]=arguments[c];return E(e.registered,t,b(m))},i={css:t,cx:a,theme:u.useContext(l.ThemeContext)},s=n.children(i);return u.createElement(u.Fragment,null,u.createElement(p,{cache:e,serializedArr:r}),s)});exports.ClassNames=w;exports.css=g;exports.keyframes=S;
1
+ "use strict";const l=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),y=require("react");require("./hoist-non-react-statics.cjs-DGqlkKoS.cjs");function h(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,t.get?t:{enumerable:!0,get:()=>n[r]})}}return e.default=n,Object.freeze(e)}const u=h(y);exports.jsx=function(e,r){var t=arguments;if(r==null||!l.hasOwn.call(r,"css"))return u.createElement.apply(void 0,t);var a=t.length,i=new Array(a);i[0]=l.Emotion$1,i[1]=l.createEmotionProps(e,r);for(var s=2;s<a;s++)i[s]=t[s];return u.createElement.apply(null,i)};(function(n){var e;e||(e=n.JSX||(n.JSX={}))})(exports.jsx||(exports.jsx={}));function g(){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return l.serializeStyles(e)}function S(){var n=g.apply(void 0,arguments),e="animation-"+n.name;return{name:e,styles:"@keyframes "+e+"{"+n.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var b=function n(e){for(var r=e.length,t=0,a="";t<r;t++){var i=e[t];if(i!=null){var s=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))s=n(i);else{s="";for(var o in i)i[o]&&o&&(s&&(s+=" "),s+=o)}break}default:s=i}s&&(a&&(a+=" "),a+=s)}}return a};function E(n,e,r){var t=[],a=l.getRegisteredStyles(n,t,r);return t.length<2?r:a+e(t)}var p=function(e){var r=e.cache,t=e.serializedArr;return l.useInsertionEffectAlwaysWithSyncFallback(function(){for(var a=0;a<t.length;a++)l.insertStyles(r,t[a],!1)}),null},w=l.withEmotionCache(function(n,e){var r=[],t=function(){for(var f=arguments.length,m=new Array(f),c=0;c<f;c++)m[c]=arguments[c];var v=l.serializeStyles(m,e.registered);return r.push(v),l.registerStyles(e,v,!1),e.key+"-"+v.name},a=function(){for(var f=arguments.length,m=new Array(f),c=0;c<f;c++)m[c]=arguments[c];return E(e.registered,t,b(m))},i={css:t,cx:a,theme:u.useContext(l.ThemeContext)},s=n.children(i);return u.createElement(u.Fragment,null,u.createElement(p,{cache:e,serializedArr:r}),s)});exports.ClassNames=w;exports.css=g;exports.keyframes=S;
@@ -1,6 +1,6 @@
1
1
  import { s as g, h, E as y, c as E, w as S, T as w, r as p, a as x, i as b, g as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
2
2
  import * as u from "react";
3
- import "./hoist-non-react-statics.cjs-CAHiRNzQ.js";
3
+ import "./hoist-non-react-statics.cjs-NQME298B.js";
4
4
  var v = function(e, r) {
5
5
  var n = arguments;
6
6
  if (r == null || !h.call(r, "css"))