@mjhls/mjh-framework 1.0.876-beta.0 → 1.0.877-v1pageviewfix

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 (313) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +10 -9
  3. package/dist/cjs/AD300x250.js +29 -28
  4. package/dist/cjs/AD300x250x600.js +29 -28
  5. package/dist/cjs/AD728x90.js +32 -31
  6. package/dist/cjs/ADFloatingFooter.js +31 -30
  7. package/dist/cjs/ADFooter.js +13 -12
  8. package/dist/cjs/ADGutter.js +31 -30
  9. package/dist/cjs/{ADInfeed-c628363f.js → ADInfeed-b6b7b0ec.js} +15 -13
  10. package/dist/cjs/ADSkyscraper.js +31 -30
  11. package/dist/cjs/ADSponsoredResources.js +31 -30
  12. package/dist/cjs/ADWebcast.js +31 -30
  13. package/dist/cjs/ADWelcome.js +32 -31
  14. package/dist/cjs/{ADlgInfeed-a827d389.js → ADlgInfeed-8e290400.js} +11 -10
  15. package/dist/cjs/AccordionPanel.js +29 -27
  16. package/dist/cjs/AdSlot.js +34 -33
  17. package/dist/cjs/AdSlotsProvider.js +18 -909
  18. package/dist/cjs/AlgoliaSearch.js +1490 -1306
  19. package/dist/cjs/AlphabeticList.js +24 -23
  20. package/dist/cjs/ArticleCarousel.js +20 -19
  21. package/dist/cjs/ArticleProgramLandingPage.js +61 -60
  22. package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
  23. package/dist/cjs/ArticleSeriesListing.js +60 -59
  24. package/dist/cjs/Auth.js +680 -1504
  25. package/dist/cjs/AuthWrapper.js +1637 -419
  26. package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-9ebd251f.js} +56 -55
  29. package/dist/cjs/Breadcrumbs.js +27 -25
  30. package/dist/cjs/CMEDeck.js +81 -81
  31. package/dist/cjs/Column1.js +14 -11
  32. package/dist/cjs/Column2.js +34 -31
  33. package/dist/cjs/Column3.js +60 -57
  34. package/dist/cjs/ConferenceArticleCard.js +41 -40
  35. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  36. package/dist/cjs/DeckContent.js +105 -101
  37. package/dist/cjs/DeckQueue.js +91 -87
  38. package/dist/cjs/{Dfp-14d2455c.js → Dfp-9be904d5.js} +33 -32
  39. package/dist/cjs/EventsDeck.js +157 -150
  40. package/dist/cjs/ExternalResources.js +79 -78
  41. package/dist/cjs/Feature.js +29 -27
  42. package/dist/cjs/ForbesHero.js +41 -40
  43. package/dist/cjs/GridContent.js +236 -231
  44. package/dist/cjs/GridHero.js +43 -42
  45. package/dist/cjs/GroupDeck.js +58 -57
  46. package/dist/cjs/HamMagazine.js +144 -139
  47. package/dist/cjs/Header.js +14 -12
  48. package/dist/cjs/Hero.js +16 -15
  49. package/dist/cjs/HighlightenVideo.js +18 -17
  50. package/dist/cjs/HorizontalArticleListing.js +72 -71
  51. package/dist/cjs/HorizontalHero.js +29 -28
  52. package/dist/cjs/IssueContentDeck.js +76 -71
  53. package/dist/cjs/IssueDeck.js +75 -70
  54. package/dist/cjs/IssueLanding.js +94 -91
  55. package/dist/cjs/KMTracker.js +15 -15
  56. package/dist/cjs/LeftNav.js +39 -37
  57. package/dist/cjs/MasterDeck.js +79 -78
  58. package/dist/cjs/MediaSeriesLanding.js +1233 -1138
  59. package/dist/cjs/NavDvm.js +77 -72
  60. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  61. package/dist/cjs/NavMagazine.js +151 -146
  62. package/dist/cjs/NavNative.js +145 -137
  63. package/dist/cjs/OncliveHero.js +22 -22
  64. package/dist/cjs/OncliveLargeHero.js +71 -70
  65. package/dist/cjs/PageFilter.js +13 -12
  66. package/dist/cjs/PartnerDetailListing.js +304 -1476
  67. package/dist/cjs/PdfDownload.js +10 -9
  68. package/dist/cjs/PopUpModal.js +19 -17
  69. package/dist/cjs/PubSection.js +41 -38
  70. package/dist/cjs/PubToc.js +14 -13
  71. package/dist/cjs/PublicationDeck.js +70 -65
  72. package/dist/cjs/PublicationLanding.js +141 -133
  73. package/dist/cjs/QueueDeckExpanded.js +1172 -1052
  74. package/dist/cjs/RecentNews.js +23 -22
  75. package/dist/cjs/RelatedContent.js +58 -57
  76. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  77. package/dist/cjs/RolesDeck.js +32 -27
  78. package/dist/cjs/Search.js +20 -16
  79. package/dist/cjs/Segment.js +4 -5
  80. package/dist/cjs/SeriesListingDeck.js +36 -36
  81. package/dist/cjs/{SeriesSlider-49b81b0b.js → SeriesSlider-ba0c5d1a.js} +40 -39
  82. package/dist/cjs/SetCookie.js +1 -1
  83. package/dist/cjs/SideFooter.js +37 -36
  84. package/dist/cjs/SocialIcons.js +10 -9
  85. package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-4942ddfc.js} +40 -36
  86. package/dist/cjs/SocialShare.js +31 -29
  87. package/dist/cjs/TaxonomyCard.js +66 -61
  88. package/dist/cjs/TaxonomyDescription.js +54 -53
  89. package/dist/cjs/TemplateNormal.js +73 -72
  90. package/dist/cjs/ThumbnailCard.js +26 -24
  91. package/dist/cjs/Ustream.js +29 -28
  92. package/dist/cjs/VerticalHero.js +20 -19
  93. package/dist/cjs/VideoProgramLandingPage.js +78 -74
  94. package/dist/cjs/VideoSeriesCard.js +33 -32
  95. package/dist/cjs/VideoSeriesFilter.js +16 -16
  96. package/dist/cjs/VideoSeriesLandingPage.js +50 -49
  97. package/dist/cjs/VideoSeriesListing.js +77 -76
  98. package/dist/cjs/View.js +280 -273
  99. package/dist/cjs/YahooHero.js +40 -39
  100. package/dist/cjs/YoutubeGroup.js +68 -67
  101. package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
  102. package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
  103. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  104. package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
  105. package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
  106. package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
  107. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  108. package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
  109. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  110. package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
  111. package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
  112. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  113. package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
  114. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  115. package/dist/cjs/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
  116. package/dist/cjs/faundadb.js +19 -19
  117. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  118. package/dist/cjs/getRelatedArticle.js +16 -16
  119. package/dist/cjs/getRootDocGroup.js +6 -6
  120. package/dist/cjs/getSerializers.js +43 -43
  121. package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
  122. package/dist/cjs/getTargeting.js +6 -6
  123. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  124. package/dist/cjs/{index-e2e62963.js → index-50be6759.js} +26 -10
  125. package/dist/cjs/{index-cdacba23.js → index-602af93b.js} +1091 -1065
  126. package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
  127. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  128. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  129. package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
  130. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  131. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  132. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  133. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-c1e16606.js} +4 -7
  134. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  135. package/dist/cjs/index.js +171 -164
  136. package/dist/cjs/{inherits-cba9c846.js → inherits-de66ea16.js} +19 -19
  137. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  138. package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
  139. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  140. package/dist/cjs/main-f1c77adb.js +973 -0
  141. package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
  142. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  143. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  144. package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
  145. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  146. package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
  147. package/dist/cjs/timeDifferenceCalc.js +1 -1
  148. package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
  149. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  150. package/dist/cjs/typeof-1358762e.js +33 -0
  151. package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
  152. package/dist/cjs/urlFor.js +6 -6
  153. package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
  154. package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
  155. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  156. package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
  157. package/dist/esm/AD.js +1 -1
  158. package/dist/esm/AD300x250.js +22 -22
  159. package/dist/esm/AD300x250x600.js +22 -22
  160. package/dist/esm/AD728x90.js +25 -25
  161. package/dist/esm/ADFloatingFooter.js +21 -21
  162. package/dist/esm/ADFooter.js +4 -4
  163. package/dist/esm/ADGutter.js +21 -21
  164. package/dist/esm/{ADInfeed-35a2a91f.js → ADInfeed-19675d06.js} +6 -6
  165. package/dist/esm/ADSkyscraper.js +21 -21
  166. package/dist/esm/ADSponsoredResources.js +21 -21
  167. package/dist/esm/ADWebcast.js +21 -21
  168. package/dist/esm/ADWelcome.js +18 -18
  169. package/dist/esm/{ADlgInfeed-fd34a881.js → ADlgInfeed-970ed008.js} +4 -4
  170. package/dist/esm/AccordionPanel.js +6 -6
  171. package/dist/esm/AdSlot.js +22 -22
  172. package/dist/esm/AdSlotsProvider.js +14 -906
  173. package/dist/esm/AlgoliaSearch.js +717 -534
  174. package/dist/esm/AlphabeticList.js +8 -8
  175. package/dist/esm/ArticleCarousel.js +13 -13
  176. package/dist/esm/ArticleProgramLandingPage.js +48 -48
  177. package/dist/esm/ArticleSeriesLandingPage.js +30 -30
  178. package/dist/esm/ArticleSeriesListing.js +32 -32
  179. package/dist/esm/Auth.js +591 -1419
  180. package/dist/esm/AuthWrapper.js +1609 -392
  181. package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-11adff02.js} +1 -1
  182. package/dist/esm/Beam.js +8 -8
  183. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-1e73bd2c.js} +34 -34
  184. package/dist/esm/Breadcrumbs.js +5 -5
  185. package/dist/esm/CMEDeck.js +22 -22
  186. package/dist/esm/Column1.js +4 -4
  187. package/dist/esm/Column2.js +19 -19
  188. package/dist/esm/Column3.js +37 -37
  189. package/dist/esm/ConferenceArticleCard.js +25 -25
  190. package/dist/esm/DeckContent.js +55 -55
  191. package/dist/esm/DeckQueue.js +47 -47
  192. package/dist/esm/{Dfp-f867d061.js → Dfp-102f0beb.js} +13 -13
  193. package/dist/esm/EventsDeck.js +65 -65
  194. package/dist/esm/ExternalResources.js +46 -46
  195. package/dist/esm/Feature.js +7 -7
  196. package/dist/esm/ForbesHero.js +10 -10
  197. package/dist/esm/GridContent.js +88 -88
  198. package/dist/esm/GridHero.js +11 -11
  199. package/dist/esm/GroupDeck.js +12 -12
  200. package/dist/esm/HamMagazine.js +37 -37
  201. package/dist/esm/Hero.js +7 -7
  202. package/dist/esm/HighlightenVideo.js +2 -2
  203. package/dist/esm/HorizontalArticleListing.js +46 -46
  204. package/dist/esm/HorizontalHero.js +8 -8
  205. package/dist/esm/IssueContentDeck.js +25 -25
  206. package/dist/esm/IssueDeck.js +35 -35
  207. package/dist/esm/IssueLanding.js +82 -80
  208. package/dist/esm/KMTracker.js +15 -15
  209. package/dist/esm/LeftNav.js +20 -20
  210. package/dist/esm/MasterDeck.js +43 -43
  211. package/dist/esm/MediaSeriesLanding.js +752 -660
  212. package/dist/esm/NavDvm.js +14 -14
  213. package/dist/esm/NavMagazine.js +42 -42
  214. package/dist/esm/NavNative.js +41 -41
  215. package/dist/esm/OncliveHero.js +7 -8
  216. package/dist/esm/OncliveLargeHero.js +11 -11
  217. package/dist/esm/PageFilter.js +4 -4
  218. package/dist/esm/PartnerDetailListing.js +210 -1383
  219. package/dist/esm/PdfDownload.js +2 -2
  220. package/dist/esm/PopUpModal.js +4 -4
  221. package/dist/esm/PubSection.js +32 -30
  222. package/dist/esm/PubToc.js +6 -6
  223. package/dist/esm/PublicationDeck.js +27 -27
  224. package/dist/esm/PublicationLanding.js +78 -74
  225. package/dist/esm/QueueDeckExpanded.js +1104 -984
  226. package/dist/esm/RecentNews.js +4 -4
  227. package/dist/esm/RelatedContent.js +38 -38
  228. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  229. package/dist/esm/RolesDeck.js +12 -12
  230. package/dist/esm/Search.js +6 -6
  231. package/dist/esm/Segment.js +4 -5
  232. package/dist/esm/SeriesListingDeck.js +18 -18
  233. package/dist/esm/{SeriesSlider-d555a1d2.js → SeriesSlider-45adb8dc.js} +14 -14
  234. package/dist/esm/SetCookie.js +1 -1
  235. package/dist/esm/SideFooter.js +15 -15
  236. package/dist/esm/{SocialSearchComponent-d240935c.js → SocialSearchComponent-8e0fcf66.js} +12 -12
  237. package/dist/esm/TaxonomyCard.js +27 -27
  238. package/dist/esm/TaxonomyDescription.js +44 -44
  239. package/dist/esm/TemplateNormal.js +48 -48
  240. package/dist/esm/ThumbnailCard.js +10 -10
  241. package/dist/esm/Ustream.js +12 -12
  242. package/dist/esm/VerticalHero.js +6 -6
  243. package/dist/esm/VideoProgramLandingPage.js +52 -52
  244. package/dist/esm/VideoSeriesCard.js +14 -14
  245. package/dist/esm/VideoSeriesFilter.js +7 -7
  246. package/dist/esm/VideoSeriesLandingPage.js +36 -36
  247. package/dist/esm/VideoSeriesListing.js +33 -33
  248. package/dist/esm/View.js +102 -99
  249. package/dist/esm/YahooHero.js +13 -13
  250. package/dist/esm/YoutubeGroup.js +21 -21
  251. package/dist/esm/{_is-array-4df618a6.js → _is-array-8d21b9e3.js} +6 -6
  252. package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-98db3b07.js} +7 -7
  253. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  254. package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-7cee6f84.js} +1 -1
  255. package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-2300e51b.js} +2 -2
  256. package/dist/esm/{asyncToGenerator-64812e90.js → asyncToGenerator-5ef104a7.js} +31 -31
  257. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  258. package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-ea258bb1.js} +36 -36
  259. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  260. package/dist/esm/define-property-5f1bda73.js +18 -0
  261. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  262. package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8c30428f.js} +1 -1
  263. package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
  264. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  265. package/dist/esm/{extends-5b1796d4.js → extends-6d8e3924.js} +7 -7
  266. package/dist/esm/faundadb.js +5 -5
  267. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  268. package/dist/esm/getRelatedArticle.js +11 -11
  269. package/dist/esm/getRootDocGroup.js +4 -4
  270. package/dist/esm/getSerializers.js +43 -43
  271. package/dist/esm/{getTargeting-277c801e.js → getTargeting-4061f839.js} +11 -11
  272. package/dist/esm/getTargeting.js +6 -6
  273. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  274. package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
  275. package/dist/esm/{index-604589b2.js → index-51694988.js} +655 -639
  276. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  277. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  278. package/dist/esm/{index-aaa2dae0.js → index-98ca9cec.js} +26 -11
  279. package/dist/esm/{index-41a678ea.js → index-f0fc23eb.js} +4 -4
  280. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  281. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  282. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-9b042655.js} +4 -7
  283. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  284. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  285. package/dist/esm/index.js +126 -122
  286. package/dist/esm/{inherits-2409637d.js → inherits-a6ba2ec4.js} +18 -18
  287. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  288. package/dist/esm/{keys-69989821.js → keys-31dcdb31.js} +6 -6
  289. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  290. package/dist/esm/main-1894c974.js +961 -0
  291. package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
  292. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  293. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  294. package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-6ebcbfea.js} +12 -12
  295. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  296. package/dist/esm/stringify-2b084bee.js +15 -0
  297. package/dist/esm/timeDifferenceCalc.js +1 -1
  298. package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-f7074d7c.js} +7 -7
  299. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  300. package/dist/esm/typeof-2f07d0e8.js +30 -0
  301. package/dist/esm/{typeof-c05a82ba.js → typeof-e9fc0c5d.js} +35 -35
  302. package/dist/esm/urlFor.js +4 -4
  303. package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-d3714624.js} +4 -4
  304. package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
  305. package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-ab4dea5c.js} +2 -2
  306. package/package.json +111 -112
  307. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  308. package/dist/cjs/inherits-8d29278d.js +0 -110
  309. package/dist/cjs/main-02daeefe.js +0 -862
  310. package/dist/esm/define-property-6d26cb48.js +0 -18
  311. package/dist/esm/inherits-77d5e4fc.js +0 -101
  312. package/dist/esm/main-e4a934b2.js +0 -851
  313. package/dist/esm/stringify-70b72959.js +0 -15
@@ -1,40 +1,40 @@
1
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { _ as _export, a as _core } from './core.get-iterator-method-86d4db69.js';
3
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-32282905.js';
4
- import { _ as _extends$1, b as _extends$2 } from './extends-5b1796d4.js';
5
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-2409637d.js';
6
- import { _ as _typeof } from './typeof-c05a82ba.js';
1
+ import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
7
2
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
8
- import { l as lib_3 } from './index-41a678ea.js';
9
- import PropTypes from 'prop-types';
10
- import Row$1 from 'react-bootstrap/Row';
11
- import Col$1 from 'react-bootstrap/Col';
12
- import { m as moment } from './moment-e2f9b20c.js';
13
- import Router, { useRouter } from 'next/router';
14
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-67a08c9c.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
4
+ import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
15
5
  import urlFor from './urlFor.js';
16
- import { L as LazyLoad } from './index-5f7e79e7.js';
17
- import { d as main_16, b as main_35, m as main_36 } from './main-e4a934b2.js';
18
- import { h as html_decode_1 } from './entities-7cc3bf45.js';
19
- import Segment from './Segment.js';
20
- import Beam from './Beam.js';
21
- import DFPAdSlot from './AdSlot.js';
22
- import Button$1 from 'react-bootstrap/Button';
23
- import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
+ import Router, { useRouter } from 'next/router';
24
8
  import { g as getYoutubeId } from './index-c7e2ac95.js';
9
+ import PropTypes from 'prop-types';
10
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
11
+ import { u as util } from './util-8ed16d48.js';
12
+ import './Beam.js';
13
+ import Segment from './Segment.js';
14
+ import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
15
+ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
+ import { L as LazyLoad } from './index-755f2cc2.js';
17
+ import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
18
+ import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
25
19
  import GroupDeck from './GroupDeck.js';
26
- import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
27
- import { d as IoIosArrowDropupCircle } from './index.esm-29e48d38.js';
28
- import { u as util } from './util-7700fc59.js';
29
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-83f53e4e.js';
30
- import Head from 'next/head';
20
+ import { m as moment } from './moment-bc12cb97.js';
31
21
  import SocialShare from './SocialShare.js';
32
- import { _ as _objectToArray } from './_object-to-array-c54dd835.js';
33
- import Pagination$1 from 'react-bootstrap/Pagination';
34
- import Figure$1$1 from 'react-bootstrap/Figure';
22
+ import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
23
+ import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
24
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
25
+ import Pagination from 'react-bootstrap/Pagination';
26
+ import Button$1 from 'react-bootstrap/Button';
27
+ import { h as html_decode_1 } from './entities-6d9154b4.js';
28
+ import DFPAdSlot from './AdSlot.js';
29
+ import Row$1 from 'react-bootstrap/Row';
30
+ import Col$1 from 'react-bootstrap/Col';
31
+ import Head from 'next/head';
32
+ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a6ba2ec4.js';
33
+ import { d as IoIosArrowDropupCircle } from './index.esm-f6156a57.js';
34
+ import Figure$2 from 'react-bootstrap/Figure';
35
35
  import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
36
- import Tooltip$1 from 'react-bootstrap/Tooltip';
37
- import Popover$1 from 'react-bootstrap/Popover';
36
+ import Tooltip from 'react-bootstrap/Tooltip';
37
+ import Popover from 'react-bootstrap/Popover';
38
38
 
39
39
  var onChangeSlide = function onChangeSlide(selectedIndex, router) {
40
40
  var pageNumber = selectedIndex + 1;
@@ -42,7 +42,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
42
42
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
43
43
  };
44
44
 
45
- var Slideshow = function Slideshow(_ref) {
45
+ var Slideshow$1 = function Slideshow(_ref) {
46
46
  var slides = _ref.slides,
47
47
  client = _ref.client,
48
48
  pageview = _ref.pageview;
@@ -100,21 +100,18 @@ var Slideshow = function Slideshow(_ref) {
100
100
  );
101
101
  };
102
102
 
103
- var isArray = Array.isArray;
104
- var keyList = Object.keys;
105
- var hasProp = Object.prototype.hasOwnProperty;
103
+ // do not edit .js files directly - edit src/index.jst
104
+
105
+
106
106
 
107
107
  var fastDeepEqual = function equal(a, b) {
108
108
  if (a === b) return true;
109
109
 
110
110
  if (a && b && typeof a == 'object' && typeof b == 'object') {
111
- var arrA = isArray(a)
112
- , arrB = isArray(b)
113
- , i
114
- , length
115
- , key;
111
+ if (a.constructor !== b.constructor) return false;
116
112
 
117
- if (arrA && arrB) {
113
+ var length, i, keys;
114
+ if (Array.isArray(a)) {
118
115
  length = a.length;
119
116
  if (length != b.length) return false;
120
117
  for (i = length; i-- !== 0;)
@@ -122,35 +119,29 @@ var fastDeepEqual = function equal(a, b) {
122
119
  return true;
123
120
  }
124
121
 
125
- if (arrA != arrB) return false;
126
122
 
127
- var dateA = a instanceof Date
128
- , dateB = b instanceof Date;
129
- if (dateA != dateB) return false;
130
- if (dateA && dateB) return a.getTime() == b.getTime();
131
123
 
132
- var regexpA = a instanceof RegExp
133
- , regexpB = b instanceof RegExp;
134
- if (regexpA != regexpB) return false;
135
- if (regexpA && regexpB) return a.toString() == b.toString();
124
+ if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
125
+ if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
126
+ if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
136
127
 
137
- var keys = keyList(a);
128
+ keys = Object.keys(a);
138
129
  length = keys.length;
139
-
140
- if (length !== keyList(b).length)
141
- return false;
130
+ if (length !== Object.keys(b).length) return false;
142
131
 
143
132
  for (i = length; i-- !== 0;)
144
- if (!hasProp.call(b, keys[i])) return false;
133
+ if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
145
134
 
146
135
  for (i = length; i-- !== 0;) {
147
- key = keys[i];
136
+ var key = keys[i];
137
+
148
138
  if (!equal(a[key], b[key])) return false;
149
139
  }
150
140
 
151
141
  return true;
152
142
  }
153
143
 
144
+ // true if both NaN, false otherwise
154
145
  return a!==a && b!==b;
155
146
  };
156
147
 
@@ -688,14 +679,14 @@ function coerce(val) {
688
679
  return val;
689
680
  }
690
681
  });
691
- var debug_1 = debug.coerce;
692
- var debug_2 = debug.disable;
693
- var debug_3 = debug.enable;
694
- var debug_4 = debug.enabled;
695
- var debug_5 = debug.humanize;
696
- var debug_6 = debug.names;
697
- var debug_7 = debug.skips;
698
- var debug_8 = debug.formatters;
682
+ debug.coerce;
683
+ debug.disable;
684
+ debug.enable;
685
+ debug.enabled;
686
+ debug.humanize;
687
+ debug.names;
688
+ debug.skips;
689
+ debug.formatters;
699
690
 
700
691
  var browser = createCommonjsModule(function (module, exports) {
701
692
  /**
@@ -884,13 +875,13 @@ function localstorage() {
884
875
  } catch (e) {}
885
876
  }
886
877
  });
887
- var browser_1 = browser.log;
888
- var browser_2 = browser.formatArgs;
889
- var browser_3 = browser.save;
890
- var browser_4 = browser.load;
891
- var browser_5 = browser.useColors;
892
- var browser_6 = browser.storage;
893
- var browser_7 = browser.colors;
878
+ browser.log;
879
+ browser.formatArgs;
880
+ browser.save;
881
+ browser.load;
882
+ browser.useColors;
883
+ browser.storage;
884
+ browser.colors;
894
885
 
895
886
  // MIT lisence
896
887
  // from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
@@ -1165,14 +1156,14 @@ function init (debug) {
1165
1156
 
1166
1157
  exports.enable(load());
1167
1158
  });
1168
- var node_1 = node.init;
1169
- var node_2 = node.log;
1170
- var node_3 = node.formatArgs;
1171
- var node_4 = node.save;
1172
- var node_5 = node.load;
1173
- var node_6 = node.useColors;
1174
- var node_7 = node.colors;
1175
- var node_8 = node.inspectOpts;
1159
+ node.init;
1160
+ node.log;
1161
+ node.formatArgs;
1162
+ node.save;
1163
+ node.load;
1164
+ node.useColors;
1165
+ node.colors;
1166
+ node.inspectOpts;
1176
1167
 
1177
1168
  var src = createCommonjsModule(function (module) {
1178
1169
  /**
@@ -1573,199 +1564,239 @@ module.exports = exports['default'];
1573
1564
 
1574
1565
  var youTubePlayer = unwrapExports(dist);
1575
1566
 
1576
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
1577
-
1578
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
1567
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1579
1568
 
1580
1569
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1581
1570
 
1582
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
1571
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1572
+
1573
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1574
+
1575
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
1576
+
1577
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1578
+
1579
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1580
+
1581
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
1582
+
1583
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1584
+
1585
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
1583
1586
 
1584
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
1587
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1585
1588
 
1586
- /**
1587
- * Check whether a `props` change should result in the video being updated.
1588
- *
1589
- * @param {Object} prevProps
1590
- * @param {Object} props
1589
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
1590
+
1591
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
1592
+
1593
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1594
+ /**
1595
+ * Check whether a `props` change should result in the video being updated.
1596
+ *
1597
+ * @param {Object} prevProps
1598
+ * @param {Object} props
1591
1599
  */
1600
+
1592
1601
  function shouldUpdateVideo(prevProps, props) {
1593
1602
  // A changing video should always trigger an update
1594
1603
  if (prevProps.videoId !== props.videoId) {
1595
1604
  return true;
1596
- }
1597
-
1598
- // Otherwise, a change in the start/end time playerVars also requires a player
1605
+ } // Otherwise, a change in the start/end time playerVars also requires a player
1599
1606
  // update.
1607
+
1608
+
1600
1609
  var prevVars = prevProps.opts.playerVars || {};
1601
1610
  var vars = props.opts.playerVars || {};
1602
-
1603
1611
  return prevVars.start !== vars.start || prevVars.end !== vars.end;
1604
1612
  }
1605
-
1606
- /**
1607
- * Neutralise API options that only require a video update, leaving only options
1608
- * that require a player reset. The results can then be compared to see if a
1609
- * player reset is necessary.
1610
- *
1611
- * @param {Object} opts
1613
+ /**
1614
+ * Neutralize API options that only require a video update, leaving only options
1615
+ * that require a player reset. The results can then be compared to see if a
1616
+ * player reset is necessary.
1617
+ *
1618
+ * @param {Object} opts
1612
1619
  */
1620
+
1621
+
1613
1622
  function filterResetOptions(opts) {
1614
- return _extends({}, opts, {
1615
- playerVars: _extends({}, opts.playerVars, {
1623
+ return _objectSpread(_objectSpread({}, opts), {}, {
1624
+ playerVars: _objectSpread({
1616
1625
  autoplay: 0,
1617
1626
  start: 0,
1618
1627
  end: 0
1619
- })
1628
+ }, opts.playerVars)
1620
1629
  });
1621
1630
  }
1622
-
1623
- /**
1624
- * Check whether a `props` change should result in the player being reset.
1625
- * The player is reset when the `props.opts` change, except if the only change
1626
- * is in the `start` and `end` playerVars, because a video update can deal with
1627
- * those.
1628
- *
1629
- * @param {Object} prevProps
1630
- * @param {Object} props
1631
+ /**
1632
+ * Check whether a `props` change should result in the player being reset.
1633
+ * The player is reset when the `props.opts` change, except if the only change
1634
+ * is in the `start` and `end` playerVars, because a video update can deal with
1635
+ * those.
1636
+ *
1637
+ * @param {Object} prevProps
1638
+ * @param {Object} props
1631
1639
  */
1640
+
1641
+
1632
1642
  function shouldResetPlayer(prevProps, props) {
1633
1643
  return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1634
1644
  }
1635
-
1636
- /**
1637
- * Check whether a props change should result in an id or className update.
1638
- *
1639
- * @param {Object} prevProps
1640
- * @param {Object} props
1645
+ /**
1646
+ * Check whether a props change should result in an id or className update.
1647
+ *
1648
+ * @param {Object} prevProps
1649
+ * @param {Object} props
1641
1650
  */
1651
+
1652
+
1642
1653
  function shouldUpdatePlayer(prevProps, props) {
1643
1654
  return prevProps.id !== props.id || prevProps.className !== props.className;
1644
1655
  }
1645
1656
 
1646
- var YouTube = function (_React$Component) {
1657
+ var YouTube = /*#__PURE__*/function (_React$Component) {
1647
1658
  _inherits(YouTube, _React$Component);
1648
1659
 
1660
+ var _super = _createSuper(YouTube);
1661
+
1662
+ /**
1663
+ * Expose PlayerState constants for convenience. These constants can also be
1664
+ * accessed through the global YT object after the YouTube IFrame API is instantiated.
1665
+ * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1666
+ */
1649
1667
  function YouTube(props) {
1668
+ var _this;
1669
+
1650
1670
  _classCallCheck(this, YouTube);
1651
1671
 
1652
- var _this = _possibleConstructorReturn(this, (YouTube.__proto__ || Object.getPrototypeOf(YouTube)).call(this, props));
1672
+ _this = _super.call(this, props);
1653
1673
 
1654
- _this.onPlayerReady = function (event) {
1674
+ _defineProperty(_assertThisInitialized(_this), "onPlayerReady", function (event) {
1655
1675
  return _this.props.onReady(event);
1656
- };
1676
+ });
1657
1677
 
1658
- _this.onPlayerError = function (event) {
1678
+ _defineProperty(_assertThisInitialized(_this), "onPlayerError", function (event) {
1659
1679
  return _this.props.onError(event);
1660
- };
1680
+ });
1661
1681
 
1662
- _this.onPlayerStateChange = function (event) {
1682
+ _defineProperty(_assertThisInitialized(_this), "onPlayerStateChange", function (event) {
1663
1683
  _this.props.onStateChange(event);
1664
- switch (event.data) {
1665
1684
 
1685
+ switch (event.data) {
1666
1686
  case YouTube.PlayerState.ENDED:
1667
1687
  _this.props.onEnd(event);
1688
+
1668
1689
  break;
1669
1690
 
1670
1691
  case YouTube.PlayerState.PLAYING:
1671
1692
  _this.props.onPlay(event);
1693
+
1672
1694
  break;
1673
1695
 
1674
1696
  case YouTube.PlayerState.PAUSED:
1675
1697
  _this.props.onPause(event);
1698
+
1676
1699
  break;
1677
1700
  }
1678
- };
1701
+ });
1679
1702
 
1680
- _this.onPlayerPlaybackRateChange = function (event) {
1703
+ _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackRateChange", function (event) {
1681
1704
  return _this.props.onPlaybackRateChange(event);
1682
- };
1705
+ });
1683
1706
 
1684
- _this.onPlayerPlaybackQualityChange = function (event) {
1707
+ _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackQualityChange", function (event) {
1685
1708
  return _this.props.onPlaybackQualityChange(event);
1686
- };
1709
+ });
1687
1710
 
1688
- _this.createPlayer = function () {
1711
+ _defineProperty(_assertThisInitialized(_this), "createPlayer", function () {
1689
1712
  // do not attempt to create a player server-side, it won't work
1690
- if (typeof document === 'undefined') return;
1691
- // create player
1692
- var playerOpts = _extends({}, _this.props.opts, {
1713
+ if (typeof document === 'undefined') return; // create player
1714
+
1715
+ var playerOpts = _objectSpread(_objectSpread({}, _this.props.opts), {}, {
1693
1716
  // preload the `videoId` video if one is already given
1694
1717
  videoId: _this.props.videoId
1695
1718
  });
1696
- _this.internalPlayer = youTubePlayer(_this.container, playerOpts);
1697
- // attach event handlers
1719
+
1720
+ _this.internalPlayer = youTubePlayer(_this.container, playerOpts); // attach event handlers
1721
+
1698
1722
  _this.internalPlayer.on('ready', _this.onPlayerReady);
1723
+
1699
1724
  _this.internalPlayer.on('error', _this.onPlayerError);
1725
+
1700
1726
  _this.internalPlayer.on('stateChange', _this.onPlayerStateChange);
1727
+
1701
1728
  _this.internalPlayer.on('playbackRateChange', _this.onPlayerPlaybackRateChange);
1729
+
1702
1730
  _this.internalPlayer.on('playbackQualityChange', _this.onPlayerPlaybackQualityChange);
1703
- };
1731
+ });
1704
1732
 
1705
- _this.resetPlayer = function () {
1733
+ _defineProperty(_assertThisInitialized(_this), "resetPlayer", function () {
1706
1734
  return _this.internalPlayer.destroy().then(_this.createPlayer);
1707
- };
1735
+ });
1708
1736
 
1709
- _this.updatePlayer = function () {
1737
+ _defineProperty(_assertThisInitialized(_this), "updatePlayer", function () {
1710
1738
  _this.internalPlayer.getIframe().then(function (iframe) {
1711
1739
  if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
1712
1740
  if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
1713
1741
  });
1714
- };
1742
+ });
1743
+
1744
+ _defineProperty(_assertThisInitialized(_this), "getInternalPlayer", function () {
1745
+ return _this.internalPlayer;
1746
+ });
1715
1747
 
1716
- _this.updateVideo = function () {
1748
+ _defineProperty(_assertThisInitialized(_this), "updateVideo", function () {
1717
1749
  if (typeof _this.props.videoId === 'undefined' || _this.props.videoId === null) {
1718
1750
  _this.internalPlayer.stopVideo();
1751
+
1719
1752
  return;
1720
- }
1753
+ } // set queueing options
1754
+
1721
1755
 
1722
- // set queueing options
1723
1756
  var autoplay = false;
1724
1757
  var opts = {
1725
1758
  videoId: _this.props.videoId
1726
1759
  };
1760
+
1727
1761
  if ('playerVars' in _this.props.opts) {
1728
1762
  autoplay = _this.props.opts.playerVars.autoplay === 1;
1763
+
1729
1764
  if ('start' in _this.props.opts.playerVars) {
1730
1765
  opts.startSeconds = _this.props.opts.playerVars.start;
1731
1766
  }
1767
+
1732
1768
  if ('end' in _this.props.opts.playerVars) {
1733
1769
  opts.endSeconds = _this.props.opts.playerVars.end;
1734
1770
  }
1735
- }
1771
+ } // if autoplay is enabled loadVideoById
1772
+
1736
1773
 
1737
- // if autoplay is enabled loadVideoById
1738
1774
  if (autoplay) {
1739
1775
  _this.internalPlayer.loadVideoById(opts);
1776
+
1740
1777
  return;
1741
- }
1742
- // default behaviour just cues the video
1778
+ } // default behaviour just cues the video
1779
+
1780
+
1743
1781
  _this.internalPlayer.cueVideoById(opts);
1744
- };
1782
+ });
1745
1783
 
1746
- _this.refContainer = function (container) {
1784
+ _defineProperty(_assertThisInitialized(_this), "refContainer", function (container) {
1747
1785
  _this.container = container;
1748
- };
1786
+ });
1749
1787
 
1750
1788
  _this.container = null;
1751
1789
  _this.internalPlayer = null;
1752
1790
  return _this;
1753
1791
  }
1754
1792
 
1755
- /**
1756
- * Expose PlayerState constants for convenience. These constants can also be
1757
- * accessed through the global YT object after the YouTube IFrame API is instantiated.
1758
- * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1759
- */
1760
-
1761
-
1762
1793
  _createClass(YouTube, [{
1763
- key: 'componentDidMount',
1794
+ key: "componentDidMount",
1764
1795
  value: function componentDidMount() {
1765
1796
  this.createPlayer();
1766
1797
  }
1767
1798
  }, {
1768
- key: 'componentDidUpdate',
1799
+ key: "componentDidUpdate",
1769
1800
  value: function componentDidUpdate(prevProps) {
1770
1801
  if (shouldUpdatePlayer(prevProps, this.props)) {
1771
1802
  this.updatePlayer();
@@ -1780,112 +1811,58 @@ var YouTube = function (_React$Component) {
1780
1811
  }
1781
1812
  }
1782
1813
  }, {
1783
- key: 'componentWillUnmount',
1814
+ key: "componentWillUnmount",
1784
1815
  value: function componentWillUnmount() {
1785
- /**
1786
- * Note: The `youtube-player` package that is used promisifies all Youtube
1787
- * Player API calls, which introduces a delay of a tick before it actually
1788
- * gets destroyed. Since React attempts to remove the element instantly
1789
- * this method isn't quick enough to reset the container element.
1816
+ /**
1817
+ * Note: The `youtube-player` package that is used promisifies all YouTube
1818
+ * Player API calls, which introduces a delay of a tick before it actually
1819
+ * gets destroyed. Since React attempts to remove the element instantly
1820
+ * this method isn't quick enough to reset the container element.
1790
1821
  */
1791
1822
  this.internalPlayer.destroy();
1792
1823
  }
1793
-
1794
- /**
1795
- * https://developers.google.com/youtube/iframe_api_reference#onReady
1796
- *
1797
- * @param {Object} event
1798
- * @param {Object} target - player object
1799
- */
1800
-
1801
-
1802
- /**
1803
- * https://developers.google.com/youtube/iframe_api_reference#onError
1804
- *
1805
- * @param {Object} event
1806
- * @param {Integer} data - error type
1807
- * @param {Object} target - player object
1808
- */
1809
-
1810
-
1811
- /**
1812
- * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1813
- *
1814
- * @param {Object} event
1815
- * @param {Integer} data - status change type
1816
- * @param {Object} target - actual YT player
1817
- */
1818
-
1819
-
1820
- /**
1821
- * https://developers.google.com/youtube/iframe_api_reference#onPlaybackRateChange
1822
- *
1823
- * @param {Object} event
1824
- * @param {Float} data - playback rate
1825
- * @param {Object} target - actual YT player
1826
- */
1827
-
1828
-
1829
- /**
1830
- * https://developers.google.com/youtube/iframe_api_reference#onPlaybackQualityChange
1831
- *
1832
- * @param {Object} event
1833
- * @param {String} data - playback quality
1834
- * @param {Object} target - actual YT player
1835
- */
1836
-
1837
-
1838
- /**
1839
- * Initialize the Youtube Player API on the container and attach event handlers
1840
- */
1841
-
1842
-
1843
- /**
1844
- * Shorthand for destroying and then re-creating the Youtube Player
1845
- */
1846
-
1847
-
1848
- /**
1849
- * Method to update the id and class of the Youtube Player iframe.
1850
- * React should update this automatically but since the Youtube Player API
1851
- * replaced the DIV that is mounted by React we need to do this manually.
1852
- */
1853
-
1854
-
1855
- /**
1856
- * Call Youtube Player API methods to update the currently playing video.
1857
- * Depeding on the `opts.playerVars.autoplay` this function uses one of two
1858
- * Youtube Player API methods to update the video.
1824
+ /**
1825
+ * https://developers.google.com/youtube/iframe_api_reference#onReady
1826
+ *
1827
+ * @param {Object} event
1828
+ * @param {Object} target - player object
1859
1829
  */
1860
1830
 
1861
1831
  }, {
1862
- key: 'render',
1832
+ key: "render",
1863
1833
  value: function render() {
1864
- return React__default.createElement(
1865
- 'div',
1866
- { className: this.props.containerClassName },
1867
- React__default.createElement('div', { id: this.props.id, className: this.props.className, ref: this.refContainer })
1868
- );
1834
+ return /*#__PURE__*/React__default.createElement("div", {
1835
+ className: this.props.containerClassName
1836
+ }, /*#__PURE__*/React__default.createElement("div", {
1837
+ id: this.props.id,
1838
+ className: this.props.className,
1839
+ ref: this.refContainer
1840
+ }));
1869
1841
  }
1870
1842
  }]);
1871
1843
 
1872
1844
  return YouTube;
1873
1845
  }(React__default.Component);
1874
1846
 
1847
+ _defineProperty(YouTube, "PlayerState", {
1848
+ UNSTARTED: -1,
1849
+ ENDED: 0,
1850
+ PLAYING: 1,
1851
+ PAUSED: 2,
1852
+ BUFFERING: 3,
1853
+ CUED: 5
1854
+ });
1855
+
1875
1856
  YouTube.propTypes = {
1876
1857
  videoId: PropTypes.string,
1877
-
1878
1858
  // custom ID for player element
1879
1859
  id: PropTypes.string,
1880
-
1881
1860
  // custom class name for player element
1882
1861
  className: PropTypes.string,
1883
1862
  // custom class name for player container element
1884
1863
  containerClassName: PropTypes.string,
1885
-
1886
1864
  // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
1887
1865
  opts: PropTypes.objectOf(PropTypes.any),
1888
-
1889
1866
  // event subscriptions
1890
1867
  onReady: PropTypes.func,
1891
1868
  onError: PropTypes.func,
@@ -1897,6 +1874,7 @@ YouTube.propTypes = {
1897
1874
  onPlaybackQualityChange: PropTypes.func
1898
1875
  };
1899
1876
  YouTube.defaultProps = {
1877
+ videoId: null,
1900
1878
  id: null,
1901
1879
  className: null,
1902
1880
  opts: {},
@@ -1910,14 +1888,6 @@ YouTube.defaultProps = {
1910
1888
  onPlaybackRateChange: function onPlaybackRateChange() {},
1911
1889
  onPlaybackQualityChange: function onPlaybackQualityChange() {}
1912
1890
  };
1913
- YouTube.PlayerState = {
1914
- UNSTARTED: -1,
1915
- ENDED: 0,
1916
- PLAYING: 1,
1917
- PAUSED: 2,
1918
- BUFFERING: 3,
1919
- CUED: 5
1920
- };
1921
1891
 
1922
1892
  var YouTubePlayer = function YouTubePlayer(_ref) {
1923
1893
  var url = _ref.url,
@@ -1956,8 +1926,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1956
1926
  var duration = player.getDuration();
1957
1927
  var queue = Math.floor(duration / 10);
1958
1928
  var segment = Math.floor(current / queue);
1959
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
1960
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
1929
+ //Beam.report_beam_video('Ready', deviceType, duration, current, segment)
1930
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
1961
1931
  };
1962
1932
 
1963
1933
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1967,8 +1937,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1967
1937
  var segment = Math.floor(current / queue);
1968
1938
 
1969
1939
  if (!queueProgress.includes(segment)) {
1970
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
1971
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
1940
+ //Beam.report_beam_video('Segment', deviceType, duration, current, segment)
1941
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
1972
1942
  queueProgress.push(segment);
1973
1943
  }
1974
1944
  };
@@ -1981,8 +1951,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1981
1951
  var queue = Math.floor(duration / 10);
1982
1952
  var segment = Math.floor(current / queue);
1983
1953
 
1984
- Beam.report_beam_video('Play', main_16, duration, current, segment);
1985
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
1954
+ //Beam.report_beam_video('Play', deviceType, duration, current, segment)
1955
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
1986
1956
 
1987
1957
  if (!playReported) {
1988
1958
  setPlayReported(true);
@@ -2001,8 +1971,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
2001
1971
  var queue = Math.floor(duration / 10);
2002
1972
  var segment = Math.floor(current / queue);
2003
1973
 
2004
- Beam.report_beam_video('End', main_16, duration, current, segment);
2005
- Segment.report_video_event('Video End', main_16, duration, current, segment);
1974
+ //Beam.report_beam_video('End', deviceType, duration, current, segment)
1975
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
2006
1976
  setEndReported(true);
2007
1977
  clearInterval(intervalID);
2008
1978
  }
@@ -2015,8 +1985,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
2015
1985
  var queue = Math.floor(duration / 10);
2016
1986
  var segment = Math.floor(current / queue);
2017
1987
 
2018
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
2019
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
1988
+ //Beam.report_beam_video('Pause', deviceType, duration, current, segment)
1989
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
2020
1990
  };
2021
1991
 
2022
1992
  return React__default.createElement(
@@ -2205,7 +2175,7 @@ var Media = function Media(_ref) {
2205
2175
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
2206
2176
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
2207
2177
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
2208
- React__default.createElement('img', _extends$1({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
2178
+ React__default.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
2209
2179
  )
2210
2180
  ),
2211
2181
  caption && React__default.createElement(
@@ -2218,7 +2188,7 @@ var Media = function Media(_ref) {
2218
2188
  } else if (caption && caption !== '') {
2219
2189
  return React__default.createElement(
2220
2190
  'a',
2221
- _extends$1({}, uploadDoc.downloadMedia ? {
2191
+ _extends({}, uploadDoc.downloadMedia ? {
2222
2192
  href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
2223
2193
  } : { href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
2224
2194
  style: { paddingLeft: '4px', paddingRight: '4px' },
@@ -2273,8 +2243,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2273
2243
  var duration = player.duration;
2274
2244
  var queue = Math.floor(duration / 10);
2275
2245
  var segment = Math.floor(current / queue);
2276
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
2277
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2246
+ //Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
2247
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2278
2248
  };
2279
2249
 
2280
2250
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2283,8 +2253,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2283
2253
  var queue = Math.floor(duration / 10);
2284
2254
  var segment = Math.floor(current / queue);
2285
2255
  if (!queueProgress.includes(segment)) {
2286
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
2287
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2256
+ //Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
2257
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2288
2258
  queueProgress.push(segment);
2289
2259
  }
2290
2260
  };
@@ -2296,8 +2266,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2296
2266
  var duration = player.duration;
2297
2267
  var queue = Math.floor(duration / 10);
2298
2268
  var segment = Math.floor(current / queue);
2299
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
2300
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2269
+ //Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
2270
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2301
2271
 
2302
2272
  if (!playReported) {
2303
2273
  event.persist();
@@ -2317,8 +2287,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2317
2287
  var queue = Math.floor(duration / 10);
2318
2288
  var segment = Math.floor(current / queue);
2319
2289
 
2320
- Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
2321
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2290
+ //Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
2291
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2322
2292
  setEndReported(true);
2323
2293
  clearInterval(intervalID);
2324
2294
  }
@@ -2330,8 +2300,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2330
2300
  var duration = player.duration - current;
2331
2301
  var queue = Math.floor(duration / 10);
2332
2302
  var segment = Math.floor(current / queue);
2333
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
2334
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2303
+ //Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
2304
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2335
2305
  };
2336
2306
 
2337
2307
  return React__default.createElement(
@@ -2392,7 +2362,7 @@ var Video = function Video(_ref) {
2392
2362
  var onVideoSuccess = function onVideoSuccess(success) {
2393
2363
  //console.log('success:', success.ref)
2394
2364
  var player = success.ref;
2395
- if (_typeof(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2365
+ if (_typeof$1(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2396
2366
  player.ima3.settings.debug = true;
2397
2367
  if (targeting.content_placement && targeting.document_url) {
2398
2368
  player.ima3.settings.serverUrl = player.ima3.settings.serverUrl + '&cust_params=' + encodeURIComponent('content_placement=' + targeting.content_placement + '&document_url=' + targeting.document_url);
@@ -2420,8 +2390,8 @@ var Video = function Video(_ref) {
2420
2390
  player.pause();
2421
2391
  }
2422
2392
 
2423
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2424
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2393
+ //Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2394
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2425
2395
  });
2426
2396
 
2427
2397
  // play
@@ -2430,8 +2400,8 @@ var Video = function Video(_ref) {
2430
2400
  var current = player.currentTime();
2431
2401
  var queue = Math.floor(duration / 10);
2432
2402
  var segment = Math.floor(current / queue);
2433
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2434
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2403
+ //Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2404
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2435
2405
  });
2436
2406
 
2437
2407
  // pause
@@ -2440,8 +2410,8 @@ var Video = function Video(_ref) {
2440
2410
  var current = player.currentTime();
2441
2411
  var queue = Math.floor(duration / 10);
2442
2412
  var segment = Math.floor(current / queue);
2443
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2444
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2413
+ //Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2414
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2445
2415
  });
2446
2416
 
2447
2417
  // end
@@ -2450,8 +2420,8 @@ var Video = function Video(_ref) {
2450
2420
  var current = player.currentTime();
2451
2421
  var queue = Math.floor(duration / 10);
2452
2422
  var segment = Math.floor(current / queue);
2453
- Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2454
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2423
+ //Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2424
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2455
2425
  autoplayNextVideo(evt);
2456
2426
  });
2457
2427
 
@@ -2462,8 +2432,8 @@ var Video = function Video(_ref) {
2462
2432
  var queue = Math.floor(duration / 10);
2463
2433
  var segment = Math.floor(current / queue);
2464
2434
  if (!queueProgress.includes(segment)) {
2465
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2466
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2435
+ //Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
2436
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2467
2437
  queueProgress.push(segment);
2468
2438
  }
2469
2439
  });
@@ -2471,20 +2441,20 @@ var Video = function Video(_ref) {
2471
2441
  // ad impression
2472
2442
  player.on('ads-ad-started', function (evt) {
2473
2443
  var duration = player.ads.ad.duration;
2474
- var id = player.ads.ad.id;
2444
+ player.ads.ad.id;
2475
2445
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2476
2446
 
2477
- Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
2478
- Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2447
+ //Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
2448
+ Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2479
2449
  });
2480
2450
 
2481
2451
  // ad ended
2482
2452
  player.on('ads-ad-ended', function (evt) {
2483
2453
  var duration = player.ads.ad.duration;
2484
- var id = player.ads.ad.id;
2454
+ player.ads.ad.id;
2485
2455
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2486
- Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
2487
- Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2456
+ //Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
2457
+ Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2488
2458
  });
2489
2459
  };
2490
2460
 
@@ -2747,9 +2717,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
2747
2717
  });
2748
2718
 
2749
2719
  unwrapExports(props);
2750
- var props_1 = props.DEPRECATED_CONFIG_PROPS;
2751
- var props_2 = props.defaultProps;
2752
- var props_3 = props.propTypes;
2720
+ props.DEPRECATED_CONFIG_PROPS;
2721
+ props.defaultProps;
2722
+ props.propTypes;
2753
2723
 
2754
2724
  var isMergeableObject = function isMergeableObject(value) {
2755
2725
  return isNonNullObject(value)
@@ -2914,11 +2884,17 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2914
2884
 
2915
2885
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2916
2886
 
2917
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
2887
+ function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
2918
2888
 
2919
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
2889
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2920
2890
 
2921
- function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2891
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
2892
+
2893
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
2894
+
2895
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
2896
+
2897
+ function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2922
2898
 
2923
2899
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2924
2900
 
@@ -3048,12 +3024,12 @@ function getSDK(url, sdkGlobal) {
3048
3024
 
3049
3025
  function getConfig(props$1, defaultProps, showWarning) {
3050
3026
  var config = (0, _deepmerge["default"])(defaultProps.config, props$1.config);
3051
- var _iteratorNormalCompletion = true;
3052
- var _didIteratorError = false;
3053
- var _iteratorError = undefined;
3027
+
3028
+ var _iterator = _createForOfIteratorHelper(props.DEPRECATED_CONFIG_PROPS),
3029
+ _step;
3054
3030
 
3055
3031
  try {
3056
- for (var _iterator = props.DEPRECATED_CONFIG_PROPS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
3032
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
3057
3033
  var p = _step.value;
3058
3034
 
3059
3035
  if (props$1[p]) {
@@ -3068,18 +3044,9 @@ function getConfig(props$1, defaultProps, showWarning) {
3068
3044
  }
3069
3045
  }
3070
3046
  } catch (err) {
3071
- _didIteratorError = true;
3072
- _iteratorError = err;
3047
+ _iterator.e(err);
3073
3048
  } finally {
3074
- try {
3075
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
3076
- _iterator["return"]();
3077
- }
3078
- } finally {
3079
- if (_didIteratorError) {
3080
- throw _iteratorError;
3081
- }
3082
- }
3049
+ _iterator.f();
3083
3050
  }
3084
3051
 
3085
3052
  return config;
@@ -3187,17 +3154,17 @@ function isMediaStream(url) {
3187
3154
  });
3188
3155
 
3189
3156
  unwrapExports(utils);
3190
- var utils_1 = utils.parseStartTime;
3191
- var utils_2 = utils.parseEndTime;
3192
- var utils_3 = utils.randomString;
3193
- var utils_4 = utils.queryString;
3194
- var utils_5 = utils.getSDK;
3195
- var utils_6 = utils.getConfig;
3196
- var utils_7 = utils.omit;
3197
- var utils_8 = utils.callPlayer;
3198
- var utils_9 = utils.isObject;
3199
- var utils_10 = utils.isEqual;
3200
- var utils_11 = utils.isMediaStream;
3157
+ utils.parseStartTime;
3158
+ utils.parseEndTime;
3159
+ utils.randomString;
3160
+ utils.queryString;
3161
+ utils.getSDK;
3162
+ utils.getConfig;
3163
+ utils.omit;
3164
+ utils.callPlayer;
3165
+ utils.isObject;
3166
+ utils.isEqual;
3167
+ utils.isMediaStream;
3201
3168
 
3202
3169
  var Player_1 = createCommonjsModule(function (module, exports) {
3203
3170
 
@@ -3226,12 +3193,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3226
3193
 
3227
3194
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3228
3195
 
3229
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3196
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
3230
3197
 
3231
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3198
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3232
3199
 
3233
3200
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3234
3201
 
3202
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
3203
+
3204
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3205
+
3235
3206
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
3236
3207
 
3237
3208
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3240,14 +3211,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
3240
3211
 
3241
3212
  var SEEK_ON_PLAY_EXPIRY = 5000;
3242
3213
 
3243
- var Player =
3244
- /*#__PURE__*/
3245
- function (_Component) {
3214
+ var Player = /*#__PURE__*/function (_Component) {
3246
3215
  _inherits(Player, _Component);
3247
3216
 
3248
- function Player() {
3249
- var _getPrototypeOf2;
3217
+ var _super = _createSuper(Player);
3250
3218
 
3219
+ function Player() {
3251
3220
  var _this;
3252
3221
 
3253
3222
  _classCallCheck(this, Player);
@@ -3256,7 +3225,7 @@ function (_Component) {
3256
3225
  _args[_key] = arguments[_key];
3257
3226
  }
3258
3227
 
3259
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Player)).call.apply(_getPrototypeOf2, [this].concat(_args)));
3228
+ _this = _super.call.apply(_super, [this].concat(_args));
3260
3229
 
3261
3230
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
3262
3231
 
@@ -3581,7 +3550,7 @@ function (_Component) {
3581
3550
  return null;
3582
3551
  }
3583
3552
 
3584
- return _react["default"].createElement(Player, _extends({}, this.props, {
3553
+ return /*#__PURE__*/_react["default"].createElement(Player, _extends({}, this.props, {
3585
3554
  ref: this.ref,
3586
3555
  onReady: this.handleReady,
3587
3556
  onPlay: this.handlePlay,
@@ -3642,12 +3611,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3642
3611
 
3643
3612
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3644
3613
 
3645
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3614
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
3646
3615
 
3647
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3616
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3648
3617
 
3649
3618
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3650
3619
 
3620
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
3621
+
3622
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3623
+
3651
3624
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
3652
3625
 
3653
3626
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3659,14 +3632,12 @@ var SUPPORTED_PROPS = Object.keys(props.propTypes);
3659
3632
  function createSinglePlayer(activePlayer) {
3660
3633
  var _class, _temp;
3661
3634
 
3662
- return _temp = _class =
3663
- /*#__PURE__*/
3664
- function (_Component) {
3635
+ return _temp = _class = /*#__PURE__*/function (_Component) {
3665
3636
  _inherits(SinglePlayer, _Component);
3666
3637
 
3667
- function SinglePlayer() {
3668
- var _getPrototypeOf2;
3638
+ var _super = _createSuper(SinglePlayer);
3669
3639
 
3640
+ function SinglePlayer() {
3670
3641
  var _this;
3671
3642
 
3672
3643
  _classCallCheck(this, SinglePlayer);
@@ -3675,7 +3646,7 @@ function createSinglePlayer(activePlayer) {
3675
3646
  args[_key] = arguments[_key];
3676
3647
  }
3677
3648
 
3678
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SinglePlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
3649
+ _this = _super.call.apply(_super, [this].concat(args));
3679
3650
 
3680
3651
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
3681
3652
 
@@ -3743,12 +3714,12 @@ function createSinglePlayer(activePlayer) {
3743
3714
  height = _this$props.height,
3744
3715
  Wrapper = _this$props.wrapper;
3745
3716
  var otherProps = (0, utils.omit)(this.props, SUPPORTED_PROPS, props.DEPRECATED_CONFIG_PROPS);
3746
- return _react["default"].createElement(Wrapper, _extends({
3717
+ return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
3747
3718
  style: _objectSpread({}, style, {
3748
3719
  width: width,
3749
3720
  height: height
3750
3721
  })
3751
- }, otherProps), _react["default"].createElement(_Player["default"], _extends({}, this.props, {
3722
+ }, otherProps), /*#__PURE__*/_react["default"].createElement(_Player["default"], _extends({}, this.props, {
3752
3723
  ref: this.ref,
3753
3724
  activePlayer: activePlayer,
3754
3725
  config: this.config
@@ -3794,23 +3765,31 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3794
3765
 
3795
3766
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3796
3767
 
3797
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3768
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
3798
3769
 
3799
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3770
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3800
3771
 
3801
3772
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3802
3773
 
3774
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
3775
+
3776
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3777
+
3803
3778
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
3804
3779
 
3805
3780
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
3806
3781
 
3807
3782
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3808
3783
 
3809
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
3784
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3785
+
3786
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3810
3787
 
3811
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
3788
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
3812
3789
 
3813
- function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
3790
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
3791
+
3792
+ function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
3814
3793
 
3815
3794
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3816
3795
 
@@ -3835,14 +3814,12 @@ function parsePlaylist(url) {
3835
3814
  return {};
3836
3815
  }
3837
3816
 
3838
- var YouTube =
3839
- /*#__PURE__*/
3840
- function (_Component) {
3817
+ var YouTube = /*#__PURE__*/function (_Component) {
3841
3818
  _inherits(YouTube, _Component);
3842
3819
 
3843
- function YouTube() {
3844
- var _getPrototypeOf2;
3820
+ var _super = _createSuper(YouTube);
3845
3821
 
3822
+ function YouTube() {
3846
3823
  var _this;
3847
3824
 
3848
3825
  _classCallCheck(this, YouTube);
@@ -3851,7 +3828,7 @@ function (_Component) {
3851
3828
  args[_key] = arguments[_key];
3852
3829
  }
3853
3830
 
3854
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(YouTube)).call.apply(_getPrototypeOf2, [this].concat(args)));
3831
+ _this = _super.call.apply(_super, [this].concat(args));
3855
3832
 
3856
3833
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
3857
3834
 
@@ -4039,9 +4016,9 @@ function (_Component) {
4039
4016
  height: '100%',
4040
4017
  display: display
4041
4018
  };
4042
- return _react["default"].createElement("div", {
4019
+ return /*#__PURE__*/_react["default"].createElement("div", {
4043
4020
  style: style
4044
- }, _react["default"].createElement("div", {
4021
+ }, /*#__PURE__*/_react["default"].createElement("div", {
4045
4022
  ref: this.ref
4046
4023
  }));
4047
4024
  }
@@ -4064,7 +4041,7 @@ exports["default"] = _default;
4064
4041
  });
4065
4042
 
4066
4043
  unwrapExports(YouTube_1);
4067
- var YouTube_2 = YouTube_1.YouTube;
4044
+ YouTube_1.YouTube;
4068
4045
 
4069
4046
  var SoundCloud_1 = createCommonjsModule(function (module, exports) {
4070
4047
 
@@ -4097,12 +4074,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4097
4074
 
4098
4075
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4099
4076
 
4100
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4077
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4101
4078
 
4102
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4079
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4103
4080
 
4104
4081
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4105
4082
 
4083
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4084
+
4085
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4086
+
4106
4087
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4107
4088
 
4108
4089
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4111,16 +4092,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
4111
4092
 
4112
4093
  var SDK_URL = 'https://w.soundcloud.com/player/api.js';
4113
4094
  var SDK_GLOBAL = 'SC';
4114
- var MATCH_URL = /(soundcloud\.com|snd\.sc)\/.+$/;
4095
+ var MATCH_URL = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/;
4115
4096
 
4116
- var SoundCloud =
4117
- /*#__PURE__*/
4118
- function (_Component) {
4097
+ var SoundCloud = /*#__PURE__*/function (_Component) {
4119
4098
  _inherits(SoundCloud, _Component);
4120
4099
 
4121
- function SoundCloud() {
4122
- var _getPrototypeOf2;
4100
+ var _super = _createSuper(SoundCloud);
4123
4101
 
4102
+ function SoundCloud() {
4124
4103
  var _this;
4125
4104
 
4126
4105
  _classCallCheck(this, SoundCloud);
@@ -4129,7 +4108,7 @@ function (_Component) {
4129
4108
  args[_key] = arguments[_key];
4130
4109
  }
4131
4110
 
4132
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SoundCloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
4111
+ _this = _super.call.apply(_super, [this].concat(args));
4133
4112
 
4134
4113
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4135
4114
 
@@ -4250,7 +4229,7 @@ function (_Component) {
4250
4229
  height: '100%',
4251
4230
  display: display
4252
4231
  };
4253
- return _react["default"].createElement("iframe", {
4232
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
4254
4233
  ref: this.ref,
4255
4234
  src: "https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),
4256
4235
  style: style,
@@ -4279,7 +4258,7 @@ exports["default"] = _default;
4279
4258
  });
4280
4259
 
4281
4260
  unwrapExports(SoundCloud_1);
4282
- var SoundCloud_2 = SoundCloud_1.SoundCloud;
4261
+ SoundCloud_1.SoundCloud;
4283
4262
 
4284
4263
  var Vimeo_1 = createCommonjsModule(function (module, exports) {
4285
4264
 
@@ -4312,12 +4291,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4312
4291
 
4313
4292
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4314
4293
 
4315
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4294
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4316
4295
 
4317
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4296
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4318
4297
 
4319
4298
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4320
4299
 
4300
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4301
+
4302
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4303
+
4321
4304
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4322
4305
 
4323
4306
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4329,14 +4312,12 @@ var SDK_GLOBAL = 'Vimeo';
4329
4312
  var MATCH_URL = /vimeo\.com\/.+/;
4330
4313
  var MATCH_FILE_URL = /vimeo\.com\/external\/[0-9]+\..+/;
4331
4314
 
4332
- var Vimeo =
4333
- /*#__PURE__*/
4334
- function (_Component) {
4315
+ var Vimeo = /*#__PURE__*/function (_Component) {
4335
4316
  _inherits(Vimeo, _Component);
4336
4317
 
4337
- function Vimeo() {
4338
- var _getPrototypeOf2;
4318
+ var _super = _createSuper(Vimeo);
4339
4319
 
4320
+ function Vimeo() {
4340
4321
  var _this;
4341
4322
 
4342
4323
  _classCallCheck(this, Vimeo);
@@ -4345,7 +4326,7 @@ function (_Component) {
4345
4326
  args[_key] = arguments[_key];
4346
4327
  }
4347
4328
 
4348
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Vimeo)).call.apply(_getPrototypeOf2, [this].concat(args)));
4329
+ _this = _super.call.apply(_super, [this].concat(args));
4349
4330
 
4350
4331
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4351
4332
 
@@ -4502,7 +4483,7 @@ function (_Component) {
4502
4483
  overflow: 'hidden',
4503
4484
  display: display
4504
4485
  };
4505
- return _react["default"].createElement("div", {
4486
+ return /*#__PURE__*/_react["default"].createElement("div", {
4506
4487
  key: this.props.url,
4507
4488
  ref: this.ref,
4508
4489
  style: style
@@ -4533,7 +4514,7 @@ exports["default"] = _default;
4533
4514
  });
4534
4515
 
4535
4516
  unwrapExports(Vimeo_1);
4536
- var Vimeo_2 = Vimeo_1.Vimeo;
4517
+ Vimeo_1.Vimeo;
4537
4518
 
4538
4519
  var Facebook_1 = createCommonjsModule(function (module, exports) {
4539
4520
 
@@ -4562,12 +4543,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4562
4543
 
4563
4544
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4564
4545
 
4565
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4546
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4566
4547
 
4567
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4548
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4568
4549
 
4569
4550
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4570
4551
 
4552
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4553
+
4554
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4555
+
4571
4556
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4572
4557
 
4573
4558
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4580,14 +4565,12 @@ var SDK_GLOBAL_READY = 'fbAsyncInit';
4580
4565
  var MATCH_URL = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;
4581
4566
  var PLAYER_ID_PREFIX = 'facebook-player-';
4582
4567
 
4583
- var Facebook =
4584
- /*#__PURE__*/
4585
- function (_Component) {
4568
+ var Facebook = /*#__PURE__*/function (_Component) {
4586
4569
  _inherits(Facebook, _Component);
4587
4570
 
4588
- function Facebook() {
4589
- var _getPrototypeOf2;
4571
+ var _super = _createSuper(Facebook);
4590
4572
 
4573
+ function Facebook() {
4591
4574
  var _this;
4592
4575
 
4593
4576
  _classCallCheck(this, Facebook);
@@ -4596,7 +4579,7 @@ function (_Component) {
4596
4579
  args[_key] = arguments[_key];
4597
4580
  }
4598
4581
 
4599
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Facebook)).call.apply(_getPrototypeOf2, [this].concat(args)));
4582
+ _this = _super.call.apply(_super, [this].concat(args));
4600
4583
 
4601
4584
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4602
4585
 
@@ -4712,7 +4695,7 @@ function (_Component) {
4712
4695
  width: '100%',
4713
4696
  height: '100%'
4714
4697
  };
4715
- return _react["default"].createElement("div", {
4698
+ return /*#__PURE__*/_react["default"].createElement("div", {
4716
4699
  style: style,
4717
4700
  id: this.playerID,
4718
4701
  className: "fb-video",
@@ -4743,7 +4726,7 @@ exports["default"] = _default;
4743
4726
  });
4744
4727
 
4745
4728
  unwrapExports(Facebook_1);
4746
- var Facebook_2 = Facebook_1.Facebook;
4729
+ Facebook_1.Facebook;
4747
4730
 
4748
4731
  var Streamable_1 = createCommonjsModule(function (module, exports) {
4749
4732
 
@@ -4772,12 +4755,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4772
4755
 
4773
4756
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4774
4757
 
4775
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4758
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4776
4759
 
4777
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4760
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4778
4761
 
4779
4762
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4780
4763
 
4764
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4765
+
4766
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4767
+
4781
4768
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4782
4769
 
4783
4770
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4788,14 +4775,12 @@ var SDK_URL = 'https://cdn.embed.ly/player-0.1.0.min.js';
4788
4775
  var SDK_GLOBAL = 'playerjs';
4789
4776
  var MATCH_URL = /streamable\.com\/([a-z0-9]+)$/;
4790
4777
 
4791
- var Streamable =
4792
- /*#__PURE__*/
4793
- function (_Component) {
4778
+ var Streamable = /*#__PURE__*/function (_Component) {
4794
4779
  _inherits(Streamable, _Component);
4795
4780
 
4796
- function Streamable() {
4797
- var _getPrototypeOf2;
4781
+ var _super = _createSuper(Streamable);
4798
4782
 
4783
+ function Streamable() {
4799
4784
  var _this;
4800
4785
 
4801
4786
  _classCallCheck(this, Streamable);
@@ -4804,7 +4789,7 @@ function (_Component) {
4804
4789
  args[_key] = arguments[_key];
4805
4790
  }
4806
4791
 
4807
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Streamable)).call.apply(_getPrototypeOf2, [this].concat(args)));
4792
+ _this = _super.call.apply(_super, [this].concat(args));
4808
4793
 
4809
4794
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4810
4795
 
@@ -4924,7 +4909,7 @@ function (_Component) {
4924
4909
  width: '100%',
4925
4910
  height: '100%'
4926
4911
  };
4927
- return _react["default"].createElement("iframe", {
4912
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
4928
4913
  ref: this.ref,
4929
4914
  src: "https://streamable.com/o/".concat(id),
4930
4915
  frameBorder: "0",
@@ -4952,7 +4937,7 @@ exports["default"] = _default;
4952
4937
  });
4953
4938
 
4954
4939
  unwrapExports(Streamable_1);
4955
- var Streamable_2 = Streamable_1.Streamable;
4940
+ Streamable_1.Streamable;
4956
4941
 
4957
4942
  var Wistia_1 = createCommonjsModule(function (module, exports) {
4958
4943
 
@@ -4985,12 +4970,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4985
4970
 
4986
4971
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4987
4972
 
4988
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4973
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4989
4974
 
4990
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4975
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4991
4976
 
4992
4977
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4993
4978
 
4979
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4980
+
4981
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4982
+
4994
4983
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4995
4984
 
4996
4985
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5001,26 +4990,48 @@ var SDK_URL = 'https://fast.wistia.com/assets/external/E-v1.js';
5001
4990
  var SDK_GLOBAL = 'Wistia';
5002
4991
  var MATCH_URL = /(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/;
5003
4992
 
5004
- var Wistia =
5005
- /*#__PURE__*/
5006
- function (_Component) {
4993
+ var Wistia = /*#__PURE__*/function (_Component) {
5007
4994
  _inherits(Wistia, _Component);
5008
4995
 
5009
- function Wistia() {
5010
- var _getPrototypeOf2;
4996
+ var _super = _createSuper(Wistia);
5011
4997
 
4998
+ function Wistia() {
5012
4999
  var _this;
5013
5000
 
5014
5001
  _classCallCheck(this, Wistia);
5015
5002
 
5016
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5017
- args[_key] = arguments[_key];
5003
+ for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {
5004
+ _args[_key] = arguments[_key];
5018
5005
  }
5019
5006
 
5020
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Wistia)).call.apply(_getPrototypeOf2, [this].concat(args)));
5007
+ _this = _super.call.apply(_super, [this].concat(_args));
5021
5008
 
5022
5009
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5023
5010
 
5011
+ _defineProperty(_assertThisInitialized(_this), "onPlay", function () {
5012
+ var _this$props;
5013
+
5014
+ return (_this$props = _this.props).onPlay.apply(_this$props, arguments);
5015
+ });
5016
+
5017
+ _defineProperty(_assertThisInitialized(_this), "onPause", function () {
5018
+ var _this$props2;
5019
+
5020
+ return (_this$props2 = _this.props).onPause.apply(_this$props2, arguments);
5021
+ });
5022
+
5023
+ _defineProperty(_assertThisInitialized(_this), "onSeek", function () {
5024
+ var _this$props3;
5025
+
5026
+ return (_this$props3 = _this.props).onSeek.apply(_this$props3, arguments);
5027
+ });
5028
+
5029
+ _defineProperty(_assertThisInitialized(_this), "onEnded", function () {
5030
+ var _this$props4;
5031
+
5032
+ return (_this$props4 = _this.props).onEnded.apply(_this$props4, arguments);
5033
+ });
5034
+
5024
5035
  _defineProperty(_assertThisInitialized(_this), "mute", function () {
5025
5036
  _this.callPlayer('mute');
5026
5037
  });
@@ -5042,17 +5053,13 @@ function (_Component) {
5042
5053
  value: function load(url) {
5043
5054
  var _this2 = this;
5044
5055
 
5045
- var _this$props = this.props,
5046
- playing = _this$props.playing,
5047
- muted = _this$props.muted,
5048
- controls = _this$props.controls,
5049
- _onReady = _this$props.onReady,
5050
- onPlay = _this$props.onPlay,
5051
- onPause = _this$props.onPause,
5052
- onSeek = _this$props.onSeek,
5053
- onEnded = _this$props.onEnded,
5054
- config = _this$props.config,
5055
- onError = _this$props.onError;
5056
+ var _this$props5 = this.props,
5057
+ playing = _this$props5.playing,
5058
+ muted = _this$props5.muted,
5059
+ controls = _this$props5.controls,
5060
+ _onReady = _this$props5.onReady,
5061
+ config = _this$props5.config,
5062
+ onError = _this$props5.onError;
5056
5063
  (0, utils.getSDK)(SDK_URL, SDK_GLOBAL).then(function () {
5057
5064
  window._wq = window._wq || [];
5058
5065
 
@@ -5069,19 +5076,28 @@ function (_Component) {
5069
5076
 
5070
5077
  _this2.unbind();
5071
5078
 
5072
- _this2.player.bind('play', onPlay);
5079
+ _this2.player.bind('play', _this2.onPlay);
5073
5080
 
5074
- _this2.player.bind('pause', onPause);
5081
+ _this2.player.bind('pause', _this2.onPause);
5075
5082
 
5076
- _this2.player.bind('seek', onSeek);
5083
+ _this2.player.bind('seek', _this2.onSeek);
5077
5084
 
5078
- _this2.player.bind('end', onEnded);
5085
+ _this2.player.bind('end', _this2.onEnded);
5079
5086
 
5080
5087
  _onReady();
5081
5088
  }
5082
5089
  });
5083
5090
  }, onError);
5084
5091
  }
5092
+ }, {
5093
+ key: "unbind",
5094
+ value: function unbind() {
5095
+ this.player.unbind('play', this.onPlay);
5096
+ this.player.unbind('pause', this.onPause);
5097
+ this.player.unbind('seek', this.onSeek);
5098
+ this.player.unbind('end', this.onEnded);
5099
+ } // Proxy methods to prevent listener leaks
5100
+
5085
5101
  }, {
5086
5102
  key: "play",
5087
5103
  value: function play() {
@@ -5092,19 +5108,6 @@ function (_Component) {
5092
5108
  value: function pause() {
5093
5109
  this.callPlayer('pause');
5094
5110
  }
5095
- }, {
5096
- key: "unbind",
5097
- value: function unbind() {
5098
- var _this$props2 = this.props,
5099
- onPlay = _this$props2.onPlay,
5100
- onPause = _this$props2.onPause,
5101
- onSeek = _this$props2.onSeek,
5102
- onEnded = _this$props2.onEnded;
5103
- this.player.unbind('play', onPlay);
5104
- this.player.unbind('pause', onPause);
5105
- this.player.unbind('seek', onSeek);
5106
- this.player.unbind('end', onEnded);
5107
- }
5108
5111
  }, {
5109
5112
  key: "stop",
5110
5113
  value: function stop() {
@@ -5150,7 +5153,7 @@ function (_Component) {
5150
5153
  width: '100%',
5151
5154
  height: '100%'
5152
5155
  };
5153
- return _react["default"].createElement("div", {
5156
+ return /*#__PURE__*/_react["default"].createElement("div", {
5154
5157
  key: id,
5155
5158
  className: className,
5156
5159
  style: style
@@ -5177,7 +5180,7 @@ exports["default"] = _default;
5177
5180
  });
5178
5181
 
5179
5182
  unwrapExports(Wistia_1);
5180
- var Wistia_2 = Wistia_1.Wistia;
5183
+ Wistia_1.Wistia;
5181
5184
 
5182
5185
  var Twitch_1 = createCommonjsModule(function (module, exports) {
5183
5186
 
@@ -5210,12 +5213,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5210
5213
 
5211
5214
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5212
5215
 
5213
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5216
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5214
5217
 
5215
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5218
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5216
5219
 
5217
5220
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5218
5221
 
5222
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5223
+
5224
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5225
+
5219
5226
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5220
5227
 
5221
5228
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5228,14 +5235,12 @@ var MATCH_VIDEO_URL = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;
5228
5235
  var MATCH_CHANNEL_URL = /(?:www\.|go\.)?twitch\.tv\/([a-z0-9_]+)($|\?)/;
5229
5236
  var PLAYER_ID_PREFIX = 'twitch-player-';
5230
5237
 
5231
- var Twitch =
5232
- /*#__PURE__*/
5233
- function (_Component) {
5238
+ var Twitch = /*#__PURE__*/function (_Component) {
5234
5239
  _inherits(Twitch, _Component);
5235
5240
 
5236
- function Twitch() {
5237
- var _getPrototypeOf2;
5241
+ var _super = _createSuper(Twitch);
5238
5242
 
5243
+ function Twitch() {
5239
5244
  var _this;
5240
5245
 
5241
5246
  _classCallCheck(this, Twitch);
@@ -5244,7 +5249,7 @@ function (_Component) {
5244
5249
  args[_key] = arguments[_key];
5245
5250
  }
5246
5251
 
5247
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Twitch)).call.apply(_getPrototypeOf2, [this].concat(args)));
5252
+ _this = _super.call.apply(_super, [this].concat(args));
5248
5253
 
5249
5254
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5250
5255
 
@@ -5365,7 +5370,7 @@ function (_Component) {
5365
5370
  width: '100%',
5366
5371
  height: '100%'
5367
5372
  };
5368
- return _react["default"].createElement("div", {
5373
+ return /*#__PURE__*/_react["default"].createElement("div", {
5369
5374
  style: style,
5370
5375
  id: this.playerID
5371
5376
  });
@@ -5391,7 +5396,7 @@ exports["default"] = _default;
5391
5396
  });
5392
5397
 
5393
5398
  unwrapExports(Twitch_1);
5394
- var Twitch_2 = Twitch_1.Twitch;
5399
+ Twitch_1.Twitch;
5395
5400
 
5396
5401
  var DailyMotion_1 = createCommonjsModule(function (module, exports) {
5397
5402
 
@@ -5418,11 +5423,15 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5418
5423
 
5419
5424
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5420
5425
 
5421
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
5426
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5422
5427
 
5423
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
5428
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5424
5429
 
5425
- function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
5430
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5431
+
5432
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
5433
+
5434
+ function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
5426
5435
 
5427
5436
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
5428
5437
 
@@ -5432,12 +5441,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5432
5441
 
5433
5442
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5434
5443
 
5435
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5444
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5436
5445
 
5437
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5446
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5438
5447
 
5439
5448
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5440
5449
 
5450
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5451
+
5452
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5453
+
5441
5454
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5442
5455
 
5443
5456
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5449,14 +5462,12 @@ var SDK_GLOBAL = 'DM';
5449
5462
  var SDK_GLOBAL_READY = 'dmAsyncInit';
5450
5463
  var MATCH_URL = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;
5451
5464
 
5452
- var DailyMotion =
5453
- /*#__PURE__*/
5454
- function (_Component) {
5465
+ var DailyMotion = /*#__PURE__*/function (_Component) {
5455
5466
  _inherits(DailyMotion, _Component);
5456
5467
 
5457
- function DailyMotion() {
5458
- var _getPrototypeOf2;
5468
+ var _super = _createSuper(DailyMotion);
5459
5469
 
5470
+ function DailyMotion() {
5460
5471
  var _this;
5461
5472
 
5462
5473
  _classCallCheck(this, DailyMotion);
@@ -5465,7 +5476,7 @@ function (_Component) {
5465
5476
  args[_key] = arguments[_key];
5466
5477
  }
5467
5478
 
5468
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(DailyMotion)).call.apply(_getPrototypeOf2, [this].concat(args)));
5479
+ _this = _super.call.apply(_super, [this].concat(args));
5469
5480
 
5470
5481
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5471
5482
 
@@ -5594,9 +5605,9 @@ function (_Component) {
5594
5605
  height: '100%',
5595
5606
  display: display
5596
5607
  };
5597
- return _react["default"].createElement("div", {
5608
+ return /*#__PURE__*/_react["default"].createElement("div", {
5598
5609
  style: style
5599
- }, _react["default"].createElement("div", {
5610
+ }, /*#__PURE__*/_react["default"].createElement("div", {
5600
5611
  ref: this.ref
5601
5612
  }));
5602
5613
  }
@@ -5621,7 +5632,7 @@ exports["default"] = _default;
5621
5632
  });
5622
5633
 
5623
5634
  unwrapExports(DailyMotion_1);
5624
- var DailyMotion_2 = DailyMotion_1.DailyMotion;
5635
+ DailyMotion_1.DailyMotion;
5625
5636
 
5626
5637
  var Mixcloud_1 = createCommonjsModule(function (module, exports) {
5627
5638
 
@@ -5654,12 +5665,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5654
5665
 
5655
5666
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5656
5667
 
5657
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5668
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5658
5669
 
5659
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5670
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5660
5671
 
5661
5672
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5662
5673
 
5674
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5675
+
5676
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5677
+
5663
5678
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5664
5679
 
5665
5680
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5670,14 +5685,12 @@ var SDK_URL = 'https://widget.mixcloud.com/media/js/widgetApi.js';
5670
5685
  var SDK_GLOBAL = 'Mixcloud';
5671
5686
  var MATCH_URL = /mixcloud\.com\/([^/]+\/[^/]+)/;
5672
5687
 
5673
- var Mixcloud =
5674
- /*#__PURE__*/
5675
- function (_Component) {
5688
+ var Mixcloud = /*#__PURE__*/function (_Component) {
5676
5689
  _inherits(Mixcloud, _Component);
5677
5690
 
5678
- function Mixcloud() {
5679
- var _getPrototypeOf2;
5691
+ var _super = _createSuper(Mixcloud);
5680
5692
 
5693
+ function Mixcloud() {
5681
5694
  var _this;
5682
5695
 
5683
5696
  _classCallCheck(this, Mixcloud);
@@ -5686,7 +5699,7 @@ function (_Component) {
5686
5699
  args[_key] = arguments[_key];
5687
5700
  }
5688
5701
 
5689
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Mixcloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
5702
+ _this = _super.call.apply(_super, [this].concat(args));
5690
5703
 
5691
5704
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5692
5705
 
@@ -5789,7 +5802,7 @@ function (_Component) {
5789
5802
  })); // We have to give the iframe a key here to prevent a
5790
5803
  // weird dialog appearing when loading a new track
5791
5804
 
5792
- return _react["default"].createElement("iframe", {
5805
+ return /*#__PURE__*/_react["default"].createElement("iframe", {
5793
5806
  key: id,
5794
5807
  ref: this.ref,
5795
5808
  style: style,
@@ -5818,7 +5831,7 @@ exports["default"] = _default;
5818
5831
  });
5819
5832
 
5820
5833
  unwrapExports(Mixcloud_1);
5821
- var Mixcloud_2 = Mixcloud_1.Mixcloud;
5834
+ Mixcloud_1.Mixcloud;
5822
5835
 
5823
5836
  var FilePlayer_1 = createCommonjsModule(function (module, exports) {
5824
5837
 
@@ -5849,23 +5862,33 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5849
5862
 
5850
5863
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5851
5864
 
5852
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5865
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
5853
5866
 
5854
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5867
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5855
5868
 
5856
5869
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5857
5870
 
5871
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
5872
+
5873
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5874
+
5858
5875
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
5859
5876
 
5860
5877
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
5861
5878
 
5862
5879
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5863
5880
 
5881
+ function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
5882
+
5883
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5884
+
5885
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
5886
+
5864
5887
  var IOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
5865
5888
  var AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;
5866
5889
  var VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;
5867
5890
  var HLS_EXTENSIONS = /\.(m3u8)($|\?)/i;
5868
- var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION';
5891
+ var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js';
5869
5892
  var HLS_GLOBAL = 'Hls';
5870
5893
  var DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
5871
5894
  var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js';
@@ -5874,12 +5897,11 @@ var MATCH_DROPBOX_URL = /www\.dropbox\.com\/.+/;
5874
5897
 
5875
5898
  function canPlay(url) {
5876
5899
  if (url instanceof Array) {
5877
- var _iteratorNormalCompletion = true;
5878
- var _didIteratorError = false;
5879
- var _iteratorError = undefined;
5900
+ var _iterator = _createForOfIteratorHelper(url),
5901
+ _step;
5880
5902
 
5881
5903
  try {
5882
- for (var _iterator = url[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
5904
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
5883
5905
  var item = _step.value;
5884
5906
 
5885
5907
  if (typeof item === 'string' && canPlay(item)) {
@@ -5891,18 +5913,9 @@ function canPlay(url) {
5891
5913
  }
5892
5914
  }
5893
5915
  } catch (err) {
5894
- _didIteratorError = true;
5895
- _iteratorError = err;
5916
+ _iterator.e(err);
5896
5917
  } finally {
5897
- try {
5898
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
5899
- _iterator["return"]();
5900
- }
5901
- } finally {
5902
- if (_didIteratorError) {
5903
- throw _iteratorError;
5904
- }
5905
- }
5918
+ _iterator.f();
5906
5919
  }
5907
5920
 
5908
5921
  return false;
@@ -5926,14 +5939,12 @@ function canEnablePIP(url) {
5926
5939
  return canPlay(url) && (!!document.pictureInPictureEnabled || supportsWebKitPresentationMode()) && !AUDIO_EXTENSIONS.test(url);
5927
5940
  }
5928
5941
 
5929
- var FilePlayer =
5930
- /*#__PURE__*/
5931
- function (_Component) {
5942
+ var FilePlayer = /*#__PURE__*/function (_Component) {
5932
5943
  _inherits(FilePlayer, _Component);
5933
5944
 
5934
- function FilePlayer() {
5935
- var _getPrototypeOf2;
5945
+ var _super = _createSuper(FilePlayer);
5936
5946
 
5947
+ function FilePlayer() {
5937
5948
  var _this;
5938
5949
 
5939
5950
  _classCallCheck(this, FilePlayer);
@@ -5942,7 +5953,7 @@ function (_Component) {
5942
5953
  _args[_key] = arguments[_key];
5943
5954
  }
5944
5955
 
5945
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(FilePlayer)).call.apply(_getPrototypeOf2, [this].concat(_args)));
5956
+ _this = _super.call.apply(_super, [this].concat(_args));
5946
5957
 
5947
5958
  _defineProperty(_assertThisInitialized(_this), "onReady", function () {
5948
5959
  var _this$props;
@@ -6029,19 +6040,19 @@ function (_Component) {
6029
6040
 
6030
6041
  _defineProperty(_assertThisInitialized(_this), "renderSourceElement", function (source, index) {
6031
6042
  if (typeof source === 'string') {
6032
- return _react["default"].createElement("source", {
6043
+ return /*#__PURE__*/_react["default"].createElement("source", {
6033
6044
  key: index,
6034
6045
  src: source
6035
6046
  });
6036
6047
  }
6037
6048
 
6038
- return _react["default"].createElement("source", _extends({
6049
+ return /*#__PURE__*/_react["default"].createElement("source", _extends({
6039
6050
  key: index
6040
6051
  }, source));
6041
6052
  });
6042
6053
 
6043
6054
  _defineProperty(_assertThisInitialized(_this), "renderTrack", function (track, index) {
6044
- return _react["default"].createElement("track", _extends({
6055
+ return /*#__PURE__*/_react["default"].createElement("track", _extends({
6045
6056
  key: index
6046
6057
  }, track));
6047
6058
  });
@@ -6079,6 +6090,10 @@ function (_Component) {
6079
6090
  key: "componentWillUnmount",
6080
6091
  value: function componentWillUnmount() {
6081
6092
  this.removeListeners(this.player);
6093
+
6094
+ if (this.hls) {
6095
+ this.hls.destroy();
6096
+ }
6082
6097
  }
6083
6098
  }, {
6084
6099
  key: "addListeners",
@@ -6209,10 +6224,6 @@ function (_Component) {
6209
6224
  value: function stop() {
6210
6225
  this.player.removeAttribute('src');
6211
6226
 
6212
- if (this.hls) {
6213
- this.hls.destroy();
6214
- }
6215
-
6216
6227
  if (this.dash) {
6217
6228
  this.dash.reset();
6218
6229
  }
@@ -6324,7 +6335,7 @@ function (_Component) {
6324
6335
  width: width === 'auto' ? width : '100%',
6325
6336
  height: height === 'auto' ? height : '100%'
6326
6337
  };
6327
- return _react["default"].createElement(Element, _extends({
6338
+ return /*#__PURE__*/_react["default"].createElement(Element, _extends({
6328
6339
  ref: this.ref,
6329
6340
  src: this.getSource(url),
6330
6341
  style: style,
@@ -6354,7 +6365,7 @@ exports["default"] = _default;
6354
6365
  });
6355
6366
 
6356
6367
  unwrapExports(FilePlayer_1);
6357
- var FilePlayer_2 = FilePlayer_1.FilePlayer;
6368
+ FilePlayer_1.FilePlayer;
6358
6369
 
6359
6370
  var players = createCommonjsModule(function (module, exports) {
6360
6371
 
@@ -6414,12 +6425,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6414
6425
 
6415
6426
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6416
6427
 
6417
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6428
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
6418
6429
 
6419
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6430
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6420
6431
 
6421
6432
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6422
6433
 
6434
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
6435
+
6436
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6437
+
6423
6438
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
6424
6439
 
6425
6440
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6428,14 +6443,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6428
6443
 
6429
6444
  var ICON_SIZE = '64px';
6430
6445
 
6431
- var Preview =
6432
- /*#__PURE__*/
6433
- function (_Component) {
6446
+ var Preview = /*#__PURE__*/function (_Component) {
6434
6447
  _inherits(Preview, _Component);
6435
6448
 
6436
- function Preview() {
6437
- var _getPrototypeOf2;
6449
+ var _super = _createSuper(Preview);
6438
6450
 
6451
+ function Preview() {
6439
6452
  var _this;
6440
6453
 
6441
6454
  _classCallCheck(this, Preview);
@@ -6444,7 +6457,7 @@ function (_Component) {
6444
6457
  args[_key] = arguments[_key];
6445
6458
  }
6446
6459
 
6447
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Preview)).call.apply(_getPrototypeOf2, [this].concat(args)));
6460
+ _this = _super.call.apply(_super, [this].concat(args));
6448
6461
 
6449
6462
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
6450
6463
 
@@ -6542,15 +6555,15 @@ function (_Component) {
6542
6555
  }
6543
6556
  };
6544
6557
 
6545
- var defaultPlayIcon = _react["default"].createElement("div", {
6558
+ var defaultPlayIcon = /*#__PURE__*/_react["default"].createElement("div", {
6546
6559
  style: styles.shadow,
6547
6560
  className: "react-player__shadow"
6548
- }, _react["default"].createElement("div", {
6561
+ }, /*#__PURE__*/_react["default"].createElement("div", {
6549
6562
  style: styles.playIcon,
6550
6563
  className: "react-player__play-icon"
6551
6564
  }));
6552
6565
 
6553
- return _react["default"].createElement("div", {
6566
+ return /*#__PURE__*/_react["default"].createElement("div", {
6554
6567
  style: styles.preview,
6555
6568
  className: "react-player__preview",
6556
6569
  onClick: onClick
@@ -6587,6 +6600,12 @@ var _Player = _interopRequireDefault(Player_1);
6587
6600
 
6588
6601
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
6589
6602
 
6603
+ function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
6604
+
6605
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6606
+
6607
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6608
+
6590
6609
  var PRELOAD_PLAYERS = [{
6591
6610
  Player: YouTube_1.YouTube,
6592
6611
  configKey: 'youtube',
@@ -6607,16 +6626,16 @@ var PRELOAD_PLAYERS = [{
6607
6626
 
6608
6627
  function renderPreloadPlayers(url, controls, config) {
6609
6628
  var players = [];
6610
- var _iteratorNormalCompletion = true;
6611
- var _didIteratorError = false;
6612
- var _iteratorError = undefined;
6629
+
6630
+ var _iterator = _createForOfIteratorHelper(PRELOAD_PLAYERS),
6631
+ _step;
6613
6632
 
6614
6633
  try {
6615
- for (var _iterator = PRELOAD_PLAYERS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
6634
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
6616
6635
  var player = _step.value;
6617
6636
 
6618
6637
  if (!player.Player.canPlay(url) && config[player.configKey].preload) {
6619
- players.push(_react["default"].createElement(_Player["default"], {
6638
+ players.push( /*#__PURE__*/_react["default"].createElement(_Player["default"], {
6620
6639
  key: player.Player.displayName,
6621
6640
  activePlayer: player.Player,
6622
6641
  url: player.url,
@@ -6628,18 +6647,9 @@ function renderPreloadPlayers(url, controls, config) {
6628
6647
  }
6629
6648
  }
6630
6649
  } catch (err) {
6631
- _didIteratorError = true;
6632
- _iteratorError = err;
6650
+ _iterator.e(err);
6633
6651
  } finally {
6634
- try {
6635
- if (!_iteratorNormalCompletion && _iterator["return"] != null) {
6636
- _iterator["return"]();
6637
- }
6638
- } finally {
6639
- if (_didIteratorError) {
6640
- throw _iteratorError;
6641
- }
6642
- }
6652
+ _iterator.f();
6643
6653
  }
6644
6654
 
6645
6655
  return players;
@@ -6763,13 +6773,17 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
6763
6773
 
6764
6774
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6765
6775
 
6766
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
6776
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
6777
+
6778
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6767
6779
 
6768
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
6780
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6769
6781
 
6770
- function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
6782
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
6771
6783
 
6772
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
6784
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6785
+
6786
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6773
6787
 
6774
6788
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6775
6789
 
@@ -6777,12 +6791,16 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6777
6791
 
6778
6792
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6779
6793
 
6780
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6794
+ function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
6781
6795
 
6782
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6796
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6783
6797
 
6784
6798
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6785
6799
 
6800
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
6801
+
6802
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6803
+
6786
6804
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
6787
6805
 
6788
6806
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6792,14 +6810,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6792
6810
  var SUPPORTED_PROPS = Object.keys(props.propTypes);
6793
6811
  var customPlayers = [];
6794
6812
 
6795
- var ReactPlayer =
6796
- /*#__PURE__*/
6797
- function (_Component) {
6813
+ var ReactPlayer = /*#__PURE__*/function (_Component) {
6798
6814
  _inherits(ReactPlayer, _Component);
6799
6815
 
6800
- function ReactPlayer() {
6801
- var _getPrototypeOf2;
6816
+ var _super = _createSuper(ReactPlayer);
6802
6817
 
6818
+ function ReactPlayer() {
6803
6819
  var _this;
6804
6820
 
6805
6821
  _classCallCheck(this, ReactPlayer);
@@ -6808,7 +6824,7 @@ function (_Component) {
6808
6824
  args[_key] = arguments[_key];
6809
6825
  }
6810
6826
 
6811
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(ReactPlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
6827
+ _this = _super.call.apply(_super, [this].concat(args));
6812
6828
 
6813
6829
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
6814
6830
 
@@ -6919,7 +6935,7 @@ function (_Component) {
6919
6935
  key: "renderActivePlayer",
6920
6936
  value: function renderActivePlayer(url, activePlayer) {
6921
6937
  if (!url) return null;
6922
- return _react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6938
+ return /*#__PURE__*/_react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6923
6939
  key: activePlayer.displayName,
6924
6940
  ref: this.activePlayerRef,
6925
6941
  config: this.config,
@@ -6956,14 +6972,14 @@ function (_Component) {
6956
6972
  var preloadPlayers = (0, _preload["default"])(url, controls, this.config);
6957
6973
  var players = [renderedActivePlayer].concat(_toConsumableArray(preloadPlayers)).sort(this.sortPlayers);
6958
6974
 
6959
- var preview = _react["default"].createElement(_Preview["default"], {
6975
+ var preview = /*#__PURE__*/_react["default"].createElement(_Preview["default"], {
6960
6976
  url: url,
6961
6977
  light: light,
6962
6978
  playIcon: playIcon,
6963
6979
  onClick: this.handleClickPreview
6964
6980
  });
6965
6981
 
6966
- return _react["default"].createElement(Wrapper, _extends({
6982
+ return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
6967
6983
  ref: this.wrapperRef,
6968
6984
  style: _objectSpread({}, style, {
6969
6985
  width: width,
@@ -7286,8 +7302,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7286
7302
  var duration = player.getDuration();
7287
7303
  var queue = Math.floor(duration / 10);
7288
7304
  var segment = Math.floor(current / queue);
7289
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
7290
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7305
+ //Beam.report_beam_video('Ready', deviceType, duration, current, segment)
7306
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7291
7307
  //autoplay
7292
7308
 
7293
7309
  //Small pause before starting next video
@@ -7307,8 +7323,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7307
7323
  var queue = Math.floor(duration / 10);
7308
7324
  var segment = Math.floor(current / queue);
7309
7325
 
7310
- Beam.report_beam_video('End', main_16, duration, current, segment);
7311
- Segment.report_video_event('Video End', main_16, duration, current, segment);
7326
+ //Beam.report_beam_video('End', deviceType, duration, current, segment)
7327
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
7312
7328
  setEndReported(true);
7313
7329
  clearInterval(intervalID);
7314
7330
  }
@@ -7358,8 +7374,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7358
7374
  var queue = Math.floor(duration / 10);
7359
7375
  var segment = Math.floor(current / queue);
7360
7376
  if (!queueProgress.includes(segment)) {
7361
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
7362
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7377
+ //Beam.report_beam_video('Segment', deviceType, duration, current, segment)
7378
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7363
7379
  queueProgress.push(segment);
7364
7380
  }
7365
7381
  };
@@ -7372,8 +7388,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7372
7388
  var queue = Math.floor(duration / 10);
7373
7389
  var segment = Math.floor(current / queue);
7374
7390
 
7375
- Beam.report_beam_video('Play', main_16, duration, current, segment);
7376
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
7391
+ //Beam.report_beam_video('Play', deviceType, duration, current, segment)
7392
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
7377
7393
 
7378
7394
  if (!playReported) {
7379
7395
  setPlayReported(true);
@@ -7391,8 +7407,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7391
7407
  var queue = Math.floor(duration / 10);
7392
7408
  var segment = Math.floor(current / queue);
7393
7409
 
7394
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
7395
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7410
+ //Beam.report_beam_video('Pause', deviceType, duration, current, segment)
7411
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7396
7412
  };
7397
7413
 
7398
7414
  // Youtube Options
@@ -7510,7 +7526,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7510
7526
  React__default.createElement(
7511
7527
  'div',
7512
7528
  { className: 'vid-text' },
7513
- Videos[series - 1] && Videos[series - 1].text && React__default.createElement(BlockContent, _extends$1({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
7529
+ Videos[series - 1] && Videos[series - 1].text && React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
7514
7530
  ),
7515
7531
  React__default.createElement(
7516
7532
  'style',
@@ -7520,14 +7536,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7520
7536
  );
7521
7537
  };
7522
7538
 
7523
- var Poll = function Poll(_ref) {
7524
- var node = _ref.node,
7525
- client = _ref.client,
7526
- pageview = _ref.pageview,
7527
- videoAccountIDs = _ref.videoAccountIDs,
7528
- onVote = _ref.onVote,
7529
- _ref$showVotes = _ref.showVotes,
7530
- getSerializers = _ref.getSerializers;
7539
+ var Poll$1 = function Poll(_ref) {
7540
+ var node = _ref.node;
7541
+ _ref.client;
7542
+ _ref.pageview;
7543
+ _ref.videoAccountIDs;
7544
+ var onVote = _ref.onVote;
7545
+ _ref.showVotes;
7546
+ var getSerializers = _ref.getSerializers;
7531
7547
 
7532
7548
  var _useState = useState(null),
7533
7549
  _useState2 = _slicedToArray(_useState, 2),
@@ -7661,22 +7677,22 @@ _export(_export.S, 'Object', {
7661
7677
  }
7662
7678
  });
7663
7679
 
7664
- var values = _core.Object.values;
7680
+ var values$1 = _core.Object.values;
7665
7681
 
7666
- var values$1 = createCommonjsModule(function (module) {
7667
- module.exports = { "default": values, __esModule: true };
7682
+ var values = createCommonjsModule(function (module) {
7683
+ module.exports = { "default": values$1, __esModule: true };
7668
7684
  });
7669
7685
 
7670
- var _Object$values = unwrapExports(values$1);
7686
+ var _Object$values = unwrapExports(values);
7671
7687
 
7672
- var Poll$1 = function Poll(_ref) {
7673
- var node = _ref.node,
7674
- client = _ref.client,
7675
- pageview = _ref.pageview,
7676
- videoAccountIDs = _ref.videoAccountIDs,
7677
- onVote = _ref.onVote,
7678
- _ref$showVotes = _ref.showVotes,
7679
- getSerializers = _ref.getSerializers;
7688
+ var Poll = function Poll(_ref) {
7689
+ var node = _ref.node;
7690
+ _ref.client;
7691
+ _ref.pageview;
7692
+ _ref.videoAccountIDs;
7693
+ var onVote = _ref.onVote;
7694
+ _ref.showVotes;
7695
+ var getSerializers = _ref.getSerializers;
7680
7696
 
7681
7697
  var _useState = useState(null),
7682
7698
  _useState2 = _slicedToArray(_useState, 2),
@@ -7828,7 +7844,7 @@ var Poll$1 = function Poll(_ref) {
7828
7844
  );
7829
7845
  };
7830
7846
 
7831
- var numberOfPaginations = main_35 ? 4 : 10;
7847
+ var numberOfPaginations = main_42 ? 4 : 10;
7832
7848
 
7833
7849
  var Quiz = function Quiz(_ref) {
7834
7850
  var quizzes = _ref.quizzes,
@@ -7947,33 +7963,33 @@ var Quiz = function Quiz(_ref) {
7947
7963
 
7948
7964
  var renderPagination = function renderPagination() {
7949
7965
  return React__default.createElement(
7950
- Pagination$1,
7951
- { className: 'p-0 m-0', size: main_35 && 'sm' },
7952
- React__default.createElement(Pagination$1.First, { onClick: function onClick() {
7966
+ Pagination,
7967
+ { className: 'p-0 m-0', size: main_42 && 'sm' },
7968
+ React__default.createElement(Pagination.First, { onClick: function onClick() {
7953
7969
  return changePage('first');
7954
7970
  }, disabled: currentPage === 1 }),
7955
- React__default.createElement(Pagination$1.Prev, { onClick: function onClick() {
7971
+ React__default.createElement(Pagination.Prev, { onClick: function onClick() {
7956
7972
  return changePage('prev');
7957
7973
  }, disabled: currentPage === 1 }),
7958
- React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7974
+ React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7959
7975
  return renderNewPages('prev');
7960
7976
  }, disabled: !validateIndex(startIndex - numberOfPaginations) }),
7961
7977
  pages.map(function (page) {
7962
7978
  return React__default.createElement(
7963
- Pagination$1.Item,
7979
+ Pagination.Item,
7964
7980
  { key: page, active: page === currentPage, onClick: function onClick() {
7965
7981
  return changePage(page);
7966
7982
  } },
7967
7983
  page
7968
7984
  );
7969
7985
  }),
7970
- React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7986
+ React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7971
7987
  return renderNewPages('next');
7972
7988
  }, disabled: !validateIndex(startIndex + numberOfPaginations) }),
7973
- React__default.createElement(Pagination$1.Next, { onClick: function onClick() {
7989
+ React__default.createElement(Pagination.Next, { onClick: function onClick() {
7974
7990
  return changePage('next');
7975
7991
  }, disabled: currentPage === pageCount }),
7976
- React__default.createElement(Pagination$1.Last, { onClick: function onClick() {
7992
+ React__default.createElement(Pagination.Last, { onClick: function onClick() {
7977
7993
  return changePage('last');
7978
7994
  }, disabled: currentPage === pageCount })
7979
7995
  );
@@ -8123,7 +8139,7 @@ var Leads = function Leads(_ref) {
8123
8139
  );
8124
8140
  };
8125
8141
 
8126
- var Slideshow$1 = function Slideshow(_ref) {
8142
+ var Slideshow = function Slideshow(_ref) {
8127
8143
  var slides = _ref.node.slides,
8128
8144
  client = _ref.client,
8129
8145
  pageview = _ref.pageview,
@@ -8274,7 +8290,7 @@ var MultiMedia = function MultiMedia(props) {
8274
8290
  { xs: 12, md: 12 / medias.length, key: media._key },
8275
8291
  React__default.createElement(
8276
8292
  'a',
8277
- _extends$1({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
8293
+ _extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
8278
8294
  style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
8279
8295
  React__default.createElement(
8280
8296
  'div',
@@ -8569,7 +8585,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8569
8585
 
8570
8586
  var renderAuthorBiography = function renderAuthorBiography(biography) {
8571
8587
  if (biography) {
8572
- return React__default.createElement(BlockContent, _extends$1({ serializers: getSerializers, blocks: [biography] }, client.config()));
8588
+ return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
8573
8589
  }
8574
8590
  };
8575
8591
 
@@ -8655,7 +8671,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8655
8671
  //console.log('useLayoutEffect')
8656
8672
  if (!firstLoad) {
8657
8673
  setUpArrowClicked(false);
8658
- if (main_36) {
8674
+ if (main_43) {
8659
8675
  grabLoadedAds();
8660
8676
  } else {
8661
8677
  scrollToArticle();
@@ -8679,7 +8695,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8679
8695
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8680
8696
  if (pageview) pageview(path);
8681
8697
 
8682
- if (!main_36) {
8698
+ if (!main_43) {
8683
8699
  lib_3.getGoogletag().then(function (googletag) {
8684
8700
  if (window.googletag && googletag.pubadsReady) {
8685
8701
  lib_3.refresh();
@@ -8687,7 +8703,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8687
8703
  });
8688
8704
  }
8689
8705
  //Refresh leaderboard ad on mobile
8690
- if (main_36) {
8706
+ if (main_43) {
8691
8707
  var leaderboardSlotId = '';
8692
8708
  lib_3.getGoogletag().then(function (googletag) {
8693
8709
  if (window.googletag && googletag.pubadsReady) {
@@ -8756,7 +8772,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8756
8772
  React__default.createElement(
8757
8773
  'div',
8758
8774
  { className: 'ad-box', style: { textAlign: 'center' } },
8759
- main_36 && Ads.map(function (ad, index) {
8775
+ main_43 && Ads.map(function (ad, index) {
8760
8776
  if (index === 0) {
8761
8777
  return React__default.createElement(
8762
8778
  'div',
@@ -8847,7 +8863,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8847
8863
  React__default.createElement(
8848
8864
  'div',
8849
8865
  { className: 'mt-2 mb-2' },
8850
- React__default.createElement(BlockContent, _extends$1({
8866
+ React__default.createElement(BlockContent, _extends({
8851
8867
  serializers: getSerializers,
8852
8868
  videoAccountIDs: accountIDs,
8853
8869
  blocks: article.text,
@@ -8878,7 +8894,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8878
8894
  React__default.createElement(
8879
8895
  'div',
8880
8896
  { className: 'ad-box', style: { textAlign: 'center' } },
8881
- main_36 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8897
+ main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8882
8898
  if (innerIndex === 0) {
8883
8899
  return React__default.createElement(
8884
8900
  'div',
@@ -8951,7 +8967,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
8951
8967
  }
8952
8968
  };
8953
8969
 
8954
- var FigureImage = React__default.memo(function (_ref2) {
8970
+ var FigureImage$1 = React__default.memo(function (_ref2) {
8955
8971
  var node = _ref2.node,
8956
8972
  client = _ref2.client,
8957
8973
  imgAlt = _ref2.imgAlt,
@@ -8965,7 +8981,7 @@ var FigureImage = React__default.memo(function (_ref2) {
8965
8981
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
8966
8982
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
8967
8983
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
8968
- React__default.createElement('img', _extends$1({
8984
+ React__default.createElement('img', _extends({
8969
8985
  style: figureImageStyle,
8970
8986
  className: 'figure-image',
8971
8987
  src: urlFor({ source: node, client: client }),
@@ -9017,23 +9033,23 @@ var FigureComponent = function FigureComponent(props) {
9017
9033
  var renderTooltip = function renderTooltip(props) {
9018
9034
  if (infoBox[0].title) {
9019
9035
  return React__default.createElement(
9020
- Popover$1,
9036
+ Popover,
9021
9037
  { id: 'popover-basic-' + infoBox[0].title },
9022
9038
  React__default.createElement(
9023
- Popover$1.Title,
9039
+ Popover.Title,
9024
9040
  { as: 'h3' },
9025
9041
  infoBox[0].title
9026
9042
  ),
9027
9043
  React__default.createElement(
9028
- Popover$1.Content,
9044
+ Popover.Content,
9029
9045
  null,
9030
9046
  React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
9031
9047
  )
9032
9048
  );
9033
9049
  } else {
9034
9050
  return React__default.createElement(
9035
- Tooltip$1,
9036
- _extends$1({ id: 'button-tooltip' }, props),
9051
+ Tooltip,
9052
+ _extends({ id: 'button-tooltip' }, props),
9037
9053
  React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
9038
9054
  );
9039
9055
  }
@@ -9047,32 +9063,32 @@ var FigureComponent = function FigureComponent(props) {
9047
9063
  handleClickFigure = _ref3.handleClickFigure;
9048
9064
 
9049
9065
  var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
9050
- var triggerAction = main_35 ? 'click' : 'hover';
9051
- var placementLocation = main_35 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
9066
+ var triggerAction = main_42 ? 'click' : 'hover';
9067
+ var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
9052
9068
  return React__default.createElement(
9053
9069
  'picture',
9054
9070
  null,
9055
9071
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9056
9072
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9057
9073
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
9058
- main_35 && link ? React__default.createElement('img', _extends$1({
9074
+ main_42 && link ? React__default.createElement('img', _extends({
9059
9075
  style: figureImageStyle,
9060
9076
  className: 'figure-image',
9061
9077
  src: urlFor({ source: node, client: client }),
9062
9078
  alt: imgAlt ? imgAlt : 'figure image'
9063
- }, !link && !main_35 && {
9079
+ }, !link && !main_42 && {
9064
9080
  onClick: function onClick() {
9065
9081
  return handleClickFigure(node, client);
9066
9082
  }
9067
9083
  })) : React__default.createElement(
9068
9084
  OverlayTrigger,
9069
9085
  { trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
9070
- React__default.createElement('img', _extends$1({
9086
+ React__default.createElement('img', _extends({
9071
9087
  style: figureImageStyle,
9072
9088
  className: 'figure-image',
9073
9089
  src: urlFor({ source: node, client: client }),
9074
9090
  alt: imgAlt ? imgAlt : 'figure image'
9075
- }, !link && !main_35 && {
9091
+ }, !link && !main_42 && {
9076
9092
  onClick: function onClick() {
9077
9093
  return handleClickFigure(node, client);
9078
9094
  }
@@ -9148,7 +9164,7 @@ var FigureComponent = function FigureComponent(props) {
9148
9164
  React__default.Fragment,
9149
9165
  null,
9150
9166
  infoBox.length >= 1 ? React__default.createElement(
9151
- Figure$1$1,
9167
+ Figure$2,
9152
9168
  { className: '' + class_name, style: figureStyle },
9153
9169
  link ? React__default.createElement(
9154
9170
  'a',
@@ -9170,17 +9186,17 @@ var FigureComponent = function FigureComponent(props) {
9170
9186
  }
9171
9187
  })
9172
9188
  ) : React__default.createElement(
9173
- Figure$1$1,
9189
+ Figure$2,
9174
9190
  { className: '' + class_name, style: figureStyle },
9175
9191
  link ? React__default.createElement(
9176
9192
  'a',
9177
9193
  { target: blank ? '_blank' : '_self', href: link },
9178
- React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
9194
+ React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
9179
9195
  React__default.createElement(FigureCaption, null)
9180
9196
  ) : React__default.createElement(
9181
9197
  React__default.Fragment,
9182
9198
  null,
9183
- React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
9199
+ React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
9184
9200
  React__default.createElement(FigureCaption, null)
9185
9201
  ),
9186
9202
  React__default.createElement(LightBox, {
@@ -9217,7 +9233,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
9217
9233
  }, [ref]);
9218
9234
  }
9219
9235
 
9220
- var FigureImage$1 = React__default.memo(function (_ref) {
9236
+ var FigureImage = React__default.memo(function (_ref) {
9221
9237
  var imagesCount = _ref.imagesCount,
9222
9238
  image = _ref.image,
9223
9239
  client = _ref.client,
@@ -9231,7 +9247,7 @@ var FigureImage$1 = React__default.memo(function (_ref) {
9231
9247
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9232
9248
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9233
9249
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
9234
- React__default.createElement('img', _extends$1({
9250
+ React__default.createElement('img', _extends({
9235
9251
  'images-count': imagesCount,
9236
9252
  className: 'multi-figure-image',
9237
9253
  src: urlFor({ source: image, client: client }),
@@ -9291,32 +9307,32 @@ var MultiFigure = function MultiFigure(props) {
9291
9307
  link = _ref3.link,
9292
9308
  handleClickFigure = _ref3.handleClickFigure;
9293
9309
 
9294
- var triggerAction = main_35 ? 'click' : 'hover';
9295
- var placementLocation = main_35 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
9310
+ var triggerAction = main_42 ? 'click' : 'hover';
9311
+ var placementLocation = main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
9296
9312
  return React__default.createElement(
9297
9313
  'picture',
9298
9314
  null,
9299
9315
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
9300
9316
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
9301
9317
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
9302
- main_35 && link ? React__default.createElement('img', _extends$1({
9318
+ main_42 && link ? React__default.createElement('img', _extends({
9303
9319
  'images-count': imagesCount,
9304
9320
  className: 'multi-figure-image',
9305
9321
  src: urlFor({ source: image, client: client }),
9306
9322
  alt: imgAlt ? imgAlt : 'multi figure'
9307
- }, !link && !main_35 && {
9323
+ }, !link && !main_42 && {
9308
9324
  onClick: function onClick() {
9309
9325
  return handleClickFigure(image, client);
9310
9326
  }
9311
9327
  })) : React__default.createElement(
9312
9328
  OverlayTrigger,
9313
9329
  { trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
9314
- React__default.createElement('img', _extends$1({
9330
+ React__default.createElement('img', _extends({
9315
9331
  'images-count': imagesCount,
9316
9332
  className: 'multi-figure-image',
9317
9333
  src: urlFor({ source: image, client: client }),
9318
9334
  alt: imgAlt ? imgAlt : 'multi figure'
9319
- }, !link && !main_35 && {
9335
+ }, !link && !main_42 && {
9320
9336
  onClick: function onClick() {
9321
9337
  return handleClickFigure(image, client);
9322
9338
  }
@@ -9328,23 +9344,23 @@ var MultiFigure = function MultiFigure(props) {
9328
9344
  var renderTooltip = function renderTooltip(image) {
9329
9345
  if (image.infoBox[0].title) {
9330
9346
  return React__default.createElement(
9331
- Popover$1,
9347
+ Popover,
9332
9348
  { id: 'popover-basic-' + image.infoBox[0].title },
9333
9349
  React__default.createElement(
9334
- Popover$1.Title,
9350
+ Popover.Title,
9335
9351
  { as: 'h3' },
9336
9352
  image.infoBox[0].title
9337
9353
  ),
9338
9354
  React__default.createElement(
9339
- Popover$1.Content,
9355
+ Popover.Content,
9340
9356
  null,
9341
9357
  React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
9342
9358
  )
9343
9359
  );
9344
9360
  } else {
9345
9361
  return React__default.createElement(
9346
- Tooltip$1,
9347
- _extends$1({ id: 'button-tooltip' }, props),
9362
+ Tooltip,
9363
+ _extends({ id: 'button-tooltip' }, props),
9348
9364
  React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
9349
9365
  );
9350
9366
  }
@@ -9364,7 +9380,7 @@ var MultiFigure = function MultiFigure(props) {
9364
9380
  { xs: 12, md: 12 / images.length, key: index },
9365
9381
  image.link ? React__default.createElement(
9366
9382
  'a',
9367
- _extends$1({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9383
+ _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9368
9384
  React__default.createElement(
9369
9385
  'div',
9370
9386
  { className: 'multi-figure-image-container' },
@@ -9392,14 +9408,14 @@ var MultiFigure = function MultiFigure(props) {
9392
9408
  { xs: 12, md: 12 / images.length, key: index },
9393
9409
  image.link ? React__default.createElement(
9394
9410
  'a',
9395
- _extends$1({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9411
+ _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9396
9412
  React__default.createElement(
9397
9413
  'div',
9398
9414
  { className: 'multi-figure-image-container' },
9399
9415
  React__default.createElement(
9400
9416
  LazyLoad,
9401
9417
  { once: true },
9402
- React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
9418
+ React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
9403
9419
  ),
9404
9420
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9405
9421
  )
@@ -9409,7 +9425,7 @@ var MultiFigure = function MultiFigure(props) {
9409
9425
  React__default.createElement(
9410
9426
  LazyLoad,
9411
9427
  { once: true },
9412
- React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
9428
+ React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
9413
9429
  ),
9414
9430
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9415
9431
  )
@@ -9521,7 +9537,7 @@ exports.__esModule = true;
9521
9537
 
9522
9538
 
9523
9539
 
9524
- var _extends3 = _interopRequireDefault(_extends$2);
9540
+ var _extends3 = _interopRequireDefault(_extends$1);
9525
9541
 
9526
9542
 
9527
9543
 
@@ -9690,9 +9706,9 @@ var ScriptTag = function (_Component) {
9690
9706
 
9691
9707
  // The 'isHydrating' prop must NOT be passed to the script tag
9692
9708
  // eslint-disable-next-line no-unused-vars
9693
- var _props3 = this.props,
9694
- isHydrating = _props3.isHydrating,
9695
- tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9709
+ var _props3 = this.props;
9710
+ _props3.isHydrating;
9711
+ var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9696
9712
 
9697
9713
  return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
9698
9714
  return _this2.domRef = tag;
@@ -9834,7 +9850,7 @@ var BlockTable = function BlockTable(props) {
9834
9850
  return React__default.createElement(
9835
9851
  'div',
9836
9852
  { className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
9837
- React__default.createElement(BlockContent, _extends$1({ blocks: cell.content, serializers: getSerializers }, client.config()))
9853
+ React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
9838
9854
  );
9839
9855
  })
9840
9856
  );
@@ -9962,7 +9978,7 @@ var getSerializers = function getSerializers() {
9962
9978
  var node = _ref6.node;
9963
9979
  var slides = node.slides;
9964
9980
 
9965
- return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
9981
+ return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
9966
9982
  },
9967
9983
  sidebar: function sidebar(_ref7) {
9968
9984
  var node = _ref7.node;
@@ -10000,12 +10016,12 @@ var getSerializers = function getSerializers() {
10000
10016
  poll: function poll(_ref13) {
10001
10017
  var node = _ref13.node;
10002
10018
 
10003
- return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
10019
+ return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
10004
10020
  },
10005
10021
  pollMultiChoice: function pollMultiChoice(_ref14) {
10006
10022
  var node = _ref14.node;
10007
10023
 
10008
- return React__default.createElement(Poll$1, {
10024
+ return React__default.createElement(Poll, {
10009
10025
  node: node,
10010
10026
  client: client,
10011
10027
  pageview: pageview,
@@ -10031,7 +10047,7 @@ var getSerializers = function getSerializers() {
10031
10047
  slideshows: function slideshows(_ref17) {
10032
10048
  var node = _ref17.node;
10033
10049
 
10034
- return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
10050
+ return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
10035
10051
  },
10036
10052
  nativeAd: function nativeAd(_ref18) {
10037
10053
  var node = _ref18.node;
@@ -10106,7 +10122,7 @@ var getSerializers = function getSerializers() {
10106
10122
  var isExernalUrl = checkUrlIsExternal(href);
10107
10123
  return href ? React__default.createElement(
10108
10124
  'a',
10109
- _extends$1({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
10125
+ _extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
10110
10126
  children
10111
10127
  ) : children;
10112
10128
  },