@mjhls/mjh-framework 1.0.813 → 1.0.814-beta.0

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 (312) hide show
  1. package/dist/cjs/AD.js +9 -10
  2. package/dist/cjs/AD300x250.js +30 -30
  3. package/dist/cjs/AD300x250x600.js +30 -30
  4. package/dist/cjs/AD728x90.js +33 -33
  5. package/dist/cjs/ADFloatingFooter.js +32 -32
  6. package/dist/cjs/ADFooter.js +14 -15
  7. package/dist/cjs/ADGutter.js +32 -32
  8. package/dist/cjs/{ADInfeed-7cf51090.js → ADInfeed-7c4b33b3.js} +13 -15
  9. package/dist/cjs/ADSkyscraper.js +32 -32
  10. package/dist/cjs/ADSponsoredResources.js +32 -32
  11. package/dist/cjs/ADWebcast.js +32 -32
  12. package/dist/cjs/ADWelcome.js +33 -33
  13. package/dist/cjs/{ADlgInfeed-bf24708d.js → ADlgInfeed-563e0168.js} +10 -11
  14. package/dist/cjs/AccordionPanel.js +29 -31
  15. package/dist/cjs/AdSlot.js +35 -35
  16. package/dist/cjs/AdSlotsProvider.js +912 -20
  17. package/dist/cjs/AlgoliaSearch.js +14122 -60
  18. package/dist/cjs/AlphabeticList.js +25 -26
  19. package/dist/cjs/ArticleCarousel.js +23 -24
  20. package/dist/cjs/ArticleProgramLandingPage.js +58 -58
  21. package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
  22. package/dist/cjs/ArticleSeriesListing.js +61 -61
  23. package/dist/cjs/Auth.js +462 -686
  24. package/dist/cjs/AuthWrapper.js +268 -310
  25. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
  26. package/dist/cjs/Beam.js +8 -8
  27. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
  28. package/dist/cjs/Breadcrumbs.js +27 -29
  29. package/dist/cjs/CMEDeck.js +84 -83
  30. package/dist/cjs/Column1.js +11 -14
  31. package/dist/cjs/Column2.js +33 -36
  32. package/dist/cjs/Column3.js +59 -61
  33. package/dist/cjs/ConferenceArticleCard.js +23 -24
  34. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  35. package/dist/cjs/DeckContent.js +96 -99
  36. package/dist/cjs/DeckQueue.js +89 -92
  37. package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-26baccf1.js} +34 -34
  38. package/dist/cjs/EventsDeck.js +135 -142
  39. package/dist/cjs/ExternalResources.js +80 -80
  40. package/dist/cjs/Feature.js +25 -27
  41. package/dist/cjs/ForbesHero.js +40 -41
  42. package/dist/cjs/GridContent.js +279 -187
  43. package/dist/cjs/GridHero.js +42 -43
  44. package/dist/cjs/GroupDeck.js +58 -59
  45. package/dist/cjs/HamMagazine.js +131 -136
  46. package/dist/cjs/Header.js +12 -14
  47. package/dist/cjs/Hero.js +12 -13
  48. package/dist/cjs/HighlightenVideo.js +17 -18
  49. package/dist/cjs/HorizontalArticleListing.js +71 -71
  50. package/dist/cjs/HorizontalHero.js +26 -27
  51. package/dist/cjs/IssueContentDeck.js +72 -77
  52. package/dist/cjs/IssueDeck.js +71 -76
  53. package/dist/cjs/IssueLanding.js +72 -43
  54. package/dist/cjs/LeftNav.js +39 -40
  55. package/dist/cjs/MasterDeck.js +72 -72
  56. package/dist/cjs/MediaSeriesLanding.js +1092 -1183
  57. package/dist/cjs/NavDvm.js +74 -79
  58. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  59. package/dist/cjs/NavMagazine.js +138 -143
  60. package/dist/cjs/NavNative.js +130 -138
  61. package/dist/cjs/NavNormal.js +48 -53
  62. package/dist/cjs/OncliveHero.js +20 -20
  63. package/dist/cjs/OncliveLargeHero.js +66 -67
  64. package/dist/cjs/PageFilter.js +14 -15
  65. package/dist/cjs/PartnerDetailListing.js +110 -110
  66. package/dist/cjs/PdfDownload.js +9 -10
  67. package/dist/cjs/PopUpModal.js +19 -21
  68. package/dist/cjs/PubSection.js +42 -42
  69. package/dist/cjs/PubToc.js +15 -16
  70. package/dist/cjs/PublicationDeck.js +61 -66
  71. package/dist/cjs/PublicationLanding.js +108 -112
  72. package/dist/cjs/QueueDeckExpanded.js +295 -294
  73. package/dist/cjs/RecentNews.js +24 -25
  74. package/dist/cjs/RelatedContent.js +24 -25
  75. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  76. package/dist/cjs/RolesDeck.js +27 -32
  77. package/dist/cjs/Search.js +18 -22
  78. package/dist/cjs/Segment.js +6 -6
  79. package/dist/cjs/SeriesListingDeck.js +39 -38
  80. package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-4abb21b4.js} +37 -38
  81. package/dist/cjs/SetCookie.js +1 -1
  82. package/dist/cjs/SideFooter.js +36 -37
  83. package/dist/cjs/SocialIcons.js +9 -10
  84. package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-cea213aa.js} +36 -40
  85. package/dist/cjs/SocialShare.js +29 -31
  86. package/dist/cjs/TaxonomyCard.js +58 -63
  87. package/dist/cjs/TaxonomyDescription.js +55 -55
  88. package/dist/cjs/TemplateNormal.js +76 -76
  89. package/dist/cjs/ThumbnailCard.js +20 -22
  90. package/dist/cjs/Ustream.js +30 -31
  91. package/dist/cjs/VerticalHero.js +17 -18
  92. package/dist/cjs/VideoProgramLandingPage.js +73 -76
  93. package/dist/cjs/VideoSeriesCard.js +32 -33
  94. package/dist/cjs/VideoSeriesFilter.js +18 -18
  95. package/dist/cjs/VideoSeriesLandingPage.js +50 -50
  96. package/dist/cjs/VideoSeriesListing.js +78 -78
  97. package/dist/cjs/View.js +261 -263
  98. package/dist/cjs/YahooHero.js +39 -40
  99. package/dist/cjs/YoutubeGroup.js +62 -63
  100. package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
  101. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
  102. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  103. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
  104. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
  105. package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
  106. package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
  107. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  108. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
  109. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  110. package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
  111. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
  112. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  113. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  114. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
  115. package/dist/cjs/events-1b438fe7.js +469 -0
  116. package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
  117. package/dist/cjs/faundadb.js +7 -7
  118. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  119. package/dist/cjs/getRelatedArticle.js +20 -20
  120. package/dist/cjs/getRootDocGroup.js +6 -6
  121. package/dist/cjs/getSerializers.js +45 -44
  122. package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-021d644c.js} +3 -3
  123. package/dist/cjs/getTargeting.js +8 -8
  124. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
  125. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  126. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  127. package/dist/cjs/{index-0e4427c8.js → index-98e01cb9.js} +13 -479
  128. package/dist/cjs/{index-70971c54.js → index-a8c4e3fd.js} +995 -1018
  129. package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
  130. package/dist/cjs/index-e2e62963.js +89 -0
  131. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  132. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
  133. package/dist/cjs/{index.esm-9225638f.js → index.esm-66ffa47a.js} +10 -5
  134. package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
  135. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
  136. package/dist/cjs/index.js +163 -166
  137. package/dist/cjs/{inherits-c2065b95.js → inherits-9953db94.js} +22 -22
  138. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  139. package/dist/cjs/keys-a586b7a0.js +25 -0
  140. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  141. package/dist/cjs/main-02daeefe.js +862 -0
  142. package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
  143. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  144. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  145. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
  146. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  147. package/dist/cjs/stringify-7c5aff47.js +17 -0
  148. package/dist/cjs/timeDifferenceCalc.js +1 -1
  149. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
  150. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  151. package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
  152. package/dist/cjs/urlFor.js +2 -2
  153. package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
  154. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  155. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  156. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
  157. package/dist/esm/AD.js +1 -1
  158. package/dist/esm/AD300x250.js +24 -23
  159. package/dist/esm/AD300x250x600.js +24 -23
  160. package/dist/esm/AD728x90.js +27 -26
  161. package/dist/esm/ADFloatingFooter.js +23 -22
  162. package/dist/esm/ADFooter.js +6 -6
  163. package/dist/esm/ADGutter.js +23 -22
  164. package/dist/esm/{ADInfeed-f7d00a9a.js → ADInfeed-31055afd.js} +6 -6
  165. package/dist/esm/ADSkyscraper.js +23 -22
  166. package/dist/esm/ADSponsoredResources.js +23 -22
  167. package/dist/esm/ADWebcast.js +23 -22
  168. package/dist/esm/ADWelcome.js +20 -19
  169. package/dist/esm/{ADlgInfeed-db64f46d.js → ADlgInfeed-dcb27a6c.js} +4 -4
  170. package/dist/esm/AccordionPanel.js +8 -8
  171. package/dist/esm/AdSlot.js +24 -23
  172. package/dist/esm/AdSlotsProvider.js +909 -16
  173. package/dist/esm/AlgoliaSearch.js +14091 -28
  174. package/dist/esm/AlphabeticList.js +10 -10
  175. package/dist/esm/ArticleCarousel.js +17 -17
  176. package/dist/esm/ArticleProgramLandingPage.js +49 -48
  177. package/dist/esm/ArticleSeriesLandingPage.js +33 -32
  178. package/dist/esm/ArticleSeriesListing.js +34 -33
  179. package/dist/esm/Auth.js +375 -595
  180. package/dist/esm/AuthWrapper.js +246 -287
  181. package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
  182. package/dist/esm/Beam.js +8 -8
  183. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
  184. package/dist/esm/Breadcrumbs.js +7 -7
  185. package/dist/esm/CMEDeck.js +25 -24
  186. package/dist/esm/Column1.js +4 -4
  187. package/dist/esm/Column2.js +21 -21
  188. package/dist/esm/Column3.js +39 -38
  189. package/dist/esm/ConferenceArticleCard.js +7 -7
  190. package/dist/esm/DeckContent.js +49 -48
  191. package/dist/esm/DeckQueue.js +48 -47
  192. package/dist/esm/{Dfp-be030f2a.js → Dfp-b7236041.js} +15 -14
  193. package/dist/esm/EventsDeck.js +50 -50
  194. package/dist/esm/ExternalResources.js +48 -47
  195. package/dist/esm/Feature.js +4 -4
  196. package/dist/esm/ForbesHero.js +11 -11
  197. package/dist/esm/GridContent.js +181 -85
  198. package/dist/esm/GridHero.js +12 -12
  199. package/dist/esm/GroupDeck.js +13 -13
  200. package/dist/esm/HamMagazine.js +29 -29
  201. package/dist/esm/Hero.js +3 -3
  202. package/dist/esm/HighlightenVideo.js +2 -2
  203. package/dist/esm/HorizontalArticleListing.js +46 -45
  204. package/dist/esm/HorizontalHero.js +5 -5
  205. package/dist/esm/IssueContentDeck.js +26 -26
  206. package/dist/esm/IssueDeck.js +36 -36
  207. package/dist/esm/IssueLanding.js +65 -35
  208. package/dist/esm/LeftNav.js +22 -21
  209. package/dist/esm/MasterDeck.js +37 -36
  210. package/dist/esm/MediaSeriesLanding.js +644 -732
  211. package/dist/esm/NavDvm.js +16 -16
  212. package/dist/esm/NavMagazine.js +34 -34
  213. package/dist/esm/NavNative.js +34 -34
  214. package/dist/esm/NavNormal.js +18 -18
  215. package/dist/esm/OncliveHero.js +5 -4
  216. package/dist/esm/OncliveLargeHero.js +12 -12
  217. package/dist/esm/PageFilter.js +6 -6
  218. package/dist/esm/PartnerDetailListing.js +58 -57
  219. package/dist/esm/PdfDownload.js +2 -2
  220. package/dist/esm/PopUpModal.js +6 -6
  221. package/dist/esm/PubSection.js +34 -33
  222. package/dist/esm/PubToc.js +8 -8
  223. package/dist/esm/PublicationDeck.js +23 -23
  224. package/dist/esm/PublicationLanding.js +49 -49
  225. package/dist/esm/QueueDeckExpanded.js +38 -37
  226. package/dist/esm/RecentNews.js +6 -6
  227. package/dist/esm/RelatedContent.js +6 -6
  228. package/dist/esm/RolesDeck.js +12 -12
  229. package/dist/esm/Search.js +8 -8
  230. package/dist/esm/Segment.js +6 -6
  231. package/dist/esm/SeriesListingDeck.js +20 -19
  232. package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-36be7223.js} +10 -10
  233. package/dist/esm/SetCookie.js +1 -1
  234. package/dist/esm/SideFooter.js +15 -15
  235. package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-03c3e869.js} +12 -12
  236. package/dist/esm/TaxonomyCard.js +24 -24
  237. package/dist/esm/TaxonomyDescription.js +46 -45
  238. package/dist/esm/TemplateNormal.js +51 -50
  239. package/dist/esm/ThumbnailCard.js +6 -6
  240. package/dist/esm/Ustream.js +14 -14
  241. package/dist/esm/VerticalHero.js +3 -3
  242. package/dist/esm/VideoProgramLandingPage.js +53 -52
  243. package/dist/esm/VideoSeriesCard.js +12 -12
  244. package/dist/esm/VideoSeriesFilter.js +9 -9
  245. package/dist/esm/VideoSeriesLandingPage.js +38 -37
  246. package/dist/esm/VideoSeriesListing.js +35 -34
  247. package/dist/esm/View.js +91 -89
  248. package/dist/esm/YahooHero.js +14 -14
  249. package/dist/esm/YoutubeGroup.js +21 -21
  250. package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
  251. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
  252. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  253. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
  254. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
  255. package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
  256. package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
  257. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
  258. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
  259. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  260. package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
  261. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
  262. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  263. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  264. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
  265. package/dist/esm/events-6c3a7a63.js +467 -0
  266. package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
  267. package/dist/esm/faundadb.js +7 -7
  268. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  269. package/dist/esm/getRelatedArticle.js +14 -14
  270. package/dist/esm/getRootDocGroup.js +6 -6
  271. package/dist/esm/getSerializers.js +45 -44
  272. package/dist/esm/{getTargeting-05c216d6.js → getTargeting-82e86707.js} +2 -2
  273. package/dist/esm/getTargeting.js +8 -8
  274. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  275. package/dist/esm/{index-5cc7b406.js → index-41a678ea.js} +4 -469
  276. package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
  277. package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
  278. package/dist/esm/{index-a30e3b71.js → index-782e414a.js} +616 -632
  279. package/dist/esm/index-aaa2dae0.js +85 -0
  280. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  281. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  282. package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
  283. package/dist/esm/{index.esm-e874e770.js → index.esm-b08f4b04.js} +10 -5
  284. package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
  285. package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
  286. package/dist/esm/index.js +120 -120
  287. package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.js} +19 -19
  288. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  289. package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
  290. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  291. package/dist/esm/main-e4a934b2.js +851 -0
  292. package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
  293. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  294. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
  295. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
  296. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  297. package/dist/esm/stringify-4330ccdc.js +15 -0
  298. package/dist/esm/timeDifferenceCalc.js +1 -1
  299. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
  300. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  301. package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
  302. package/dist/esm/urlFor.js +1 -1
  303. package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
  304. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  305. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
  306. package/package.json +1 -1
  307. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  308. package/dist/cjs/keys-7f2c2108.js +0 -25
  309. package/dist/cjs/main-f1c77adb.js +0 -973
  310. package/dist/cjs/stringify-c9ac1214.js +0 -17
  311. package/dist/esm/main-d4165069.js +0 -961
  312. package/dist/esm/stringify-59c8f690.js +0 -15
@@ -1,39 +1,39 @@
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import { _ as _export, a as _core } from './_to-object-a4107da3.js';
3
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
4
+ import { _ as _extends$1, b as _extends$2 } from './extends-6f2fcc99.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-cf8dde54.js';
6
+ import { _ as _typeof } from './typeof-6435ba1c.js';
1
7
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
2
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
3
- import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
4
- import { i as imageUrlBuilder } from './index-0dbff1d1.js';
5
- import { l as lib_3 } from './index-5cc7b406.js';
6
- import Router, { useRouter } from 'next/router';
7
- import { g as getYoutubeId } from './index-c7e2ac95.js';
8
+ import { l as lib_3 } from './index-41a678ea.js';
8
9
  import PropTypes from 'prop-types';
9
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
10
- import { u as util } from './util-3ab476bf.js';
11
- import Beam from './Beam.js';
12
- import Segment from './Segment.js';
13
- import { d as main_18, b as main_42, m as main_43 } from './main-d4165069.js';
14
- import { B as BlockContent } from './BlockContent-c99c9a8d.js';
15
- import { _ as _extends, b as _extends$1 } from './extends-60e0e1c6.js';
16
- import { L as LazyLoad } from './index-755f2cc2.js';
17
- import { _ as _typeof$1 } from './typeof-a286cf0c.js';
18
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
19
- import GroupDeck from './GroupDeck.js';
20
- import { m as moment } from './moment-bc12cb97.js';
21
- import SocialShare from './SocialShare.js';
22
- import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
23
- import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
24
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-6d9a4616.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-932b50cf.js';
28
- import DFPAdSlot from './AdSlot.js';
29
10
  import Row$1 from 'react-bootstrap/Row';
30
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 { i as imageUrlBuilder } from './index-73819142.js';
15
+ import { L as LazyLoad } from './index-5f7e79e7.js';
16
+ import { d as main_16, b as main_35, m as main_36 } from './main-e4a934b2.js';
17
+ import { h as html_decode_1 } from './entities-7cc3bf45.js';
18
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.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';
24
+ import { g as getYoutubeId } from './index-c7e2ac95.js';
25
+ 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';
31
30
  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-a41fe93f.js';
33
- import { d as IoIosArrowDropupCircle } from './index.esm-f6156a57.js';
34
- import Figure$2 from 'react-bootstrap/Figure';
31
+ import SocialShare from './SocialShare.js';
32
+ import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
33
+ import Pagination$1 from 'react-bootstrap/Pagination';
34
+ import Figure$1$1 from 'react-bootstrap/Figure';
35
35
 
36
- var urlFor$4 = function urlFor(source, builder) {
36
+ var urlFor = function urlFor(source, builder) {
37
37
  return builder.image(source).auto('format');
38
38
  };
39
39
 
@@ -43,7 +43,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
43
43
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
44
44
  };
45
45
 
46
- var Slideshow$1 = function Slideshow(_ref) {
46
+ var Slideshow = function Slideshow(_ref) {
47
47
  var slides = _ref.slides,
48
48
  client = _ref.client,
49
49
  pageview = _ref.pageview;
@@ -84,7 +84,7 @@ var Slideshow$1 = function Slideshow(_ref) {
84
84
  return React__default.createElement(
85
85
  Carousel.Item,
86
86
  { key: slide._key },
87
- React__default.createElement('img', { src: slide.asset && urlFor$4(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
87
+ React__default.createElement('img', { src: slide.asset && urlFor(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
88
88
  slide.caption && React__default.createElement(
89
89
  'p',
90
90
  { className: 'p-2' },
@@ -96,18 +96,21 @@ var Slideshow$1 = function Slideshow(_ref) {
96
96
  );
97
97
  };
98
98
 
99
- // do not edit .js files directly - edit src/index.jst
100
-
101
-
99
+ var isArray = Array.isArray;
100
+ var keyList = Object.keys;
101
+ var hasProp = Object.prototype.hasOwnProperty;
102
102
 
103
103
  var fastDeepEqual = function equal(a, b) {
104
104
  if (a === b) return true;
105
105
 
106
106
  if (a && b && typeof a == 'object' && typeof b == 'object') {
107
- if (a.constructor !== b.constructor) return false;
107
+ var arrA = isArray(a)
108
+ , arrB = isArray(b)
109
+ , i
110
+ , length
111
+ , key;
108
112
 
109
- var length, i, keys;
110
- if (Array.isArray(a)) {
113
+ if (arrA && arrB) {
111
114
  length = a.length;
112
115
  if (length != b.length) return false;
113
116
  for (i = length; i-- !== 0;)
@@ -115,29 +118,35 @@ var fastDeepEqual = function equal(a, b) {
115
118
  return true;
116
119
  }
117
120
 
121
+ if (arrA != arrB) return false;
118
122
 
123
+ var dateA = a instanceof Date
124
+ , dateB = b instanceof Date;
125
+ if (dateA != dateB) return false;
126
+ if (dateA && dateB) return a.getTime() == b.getTime();
119
127
 
120
- if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
121
- if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
122
- if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
128
+ var regexpA = a instanceof RegExp
129
+ , regexpB = b instanceof RegExp;
130
+ if (regexpA != regexpB) return false;
131
+ if (regexpA && regexpB) return a.toString() == b.toString();
123
132
 
124
- keys = Object.keys(a);
133
+ var keys = keyList(a);
125
134
  length = keys.length;
126
- if (length !== Object.keys(b).length) return false;
135
+
136
+ if (length !== keyList(b).length)
137
+ return false;
127
138
 
128
139
  for (i = length; i-- !== 0;)
129
- if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
140
+ if (!hasProp.call(b, keys[i])) return false;
130
141
 
131
142
  for (i = length; i-- !== 0;) {
132
- var key = keys[i];
133
-
143
+ key = keys[i];
134
144
  if (!equal(a[key], b[key])) return false;
135
145
  }
136
146
 
137
147
  return true;
138
148
  }
139
149
 
140
- // true if both NaN, false otherwise
141
150
  return a!==a && b!==b;
142
151
  };
143
152
 
@@ -675,14 +684,14 @@ function coerce(val) {
675
684
  return val;
676
685
  }
677
686
  });
678
- debug.coerce;
679
- debug.disable;
680
- debug.enable;
681
- debug.enabled;
682
- debug.humanize;
683
- debug.names;
684
- debug.skips;
685
- debug.formatters;
687
+ var debug_1 = debug.coerce;
688
+ var debug_2 = debug.disable;
689
+ var debug_3 = debug.enable;
690
+ var debug_4 = debug.enabled;
691
+ var debug_5 = debug.humanize;
692
+ var debug_6 = debug.names;
693
+ var debug_7 = debug.skips;
694
+ var debug_8 = debug.formatters;
686
695
 
687
696
  var browser = createCommonjsModule(function (module, exports) {
688
697
  /**
@@ -871,13 +880,13 @@ function localstorage() {
871
880
  } catch (e) {}
872
881
  }
873
882
  });
874
- browser.log;
875
- browser.formatArgs;
876
- browser.save;
877
- browser.load;
878
- browser.useColors;
879
- browser.storage;
880
- browser.colors;
883
+ var browser_1 = browser.log;
884
+ var browser_2 = browser.formatArgs;
885
+ var browser_3 = browser.save;
886
+ var browser_4 = browser.load;
887
+ var browser_5 = browser.useColors;
888
+ var browser_6 = browser.storage;
889
+ var browser_7 = browser.colors;
881
890
 
882
891
  // MIT lisence
883
892
  // from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
@@ -1152,14 +1161,14 @@ function init (debug) {
1152
1161
 
1153
1162
  exports.enable(load());
1154
1163
  });
1155
- node.init;
1156
- node.log;
1157
- node.formatArgs;
1158
- node.save;
1159
- node.load;
1160
- node.useColors;
1161
- node.colors;
1162
- node.inspectOpts;
1164
+ var node_1 = node.init;
1165
+ var node_2 = node.log;
1166
+ var node_3 = node.formatArgs;
1167
+ var node_4 = node.save;
1168
+ var node_5 = node.load;
1169
+ var node_6 = node.useColors;
1170
+ var node_7 = node.colors;
1171
+ var node_8 = node.inspectOpts;
1163
1172
 
1164
1173
  var src = createCommonjsModule(function (module) {
1165
1174
  /**
@@ -1560,239 +1569,199 @@ module.exports = exports['default'];
1560
1569
 
1561
1570
  var youTubePlayer = unwrapExports(dist);
1562
1571
 
1563
- 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); }
1564
-
1565
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1566
-
1567
- 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); } }
1568
-
1569
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1570
-
1571
- 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); }
1572
-
1573
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1574
-
1575
- 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); }; }
1576
-
1577
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
1578
-
1579
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1572
+ 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; }; }();
1580
1573
 
1581
- 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; } }
1574
+ 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; };
1582
1575
 
1583
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1576
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1584
1577
 
1585
- 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; }
1578
+ 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; }
1586
1579
 
1587
- 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; }
1580
+ 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; }
1588
1581
 
1589
- 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; }
1590
- /**
1591
- * Check whether a `props` change should result in the video being updated.
1592
- *
1593
- * @param {Object} prevProps
1594
- * @param {Object} props
1582
+ /**
1583
+ * Check whether a `props` change should result in the video being updated.
1584
+ *
1585
+ * @param {Object} prevProps
1586
+ * @param {Object} props
1595
1587
  */
1596
-
1597
1588
  function shouldUpdateVideo(prevProps, props) {
1598
1589
  // A changing video should always trigger an update
1599
1590
  if (prevProps.videoId !== props.videoId) {
1600
1591
  return true;
1601
- } // Otherwise, a change in the start/end time playerVars also requires a player
1602
- // update.
1603
-
1592
+ }
1604
1593
 
1594
+ // Otherwise, a change in the start/end time playerVars also requires a player
1595
+ // update.
1605
1596
  var prevVars = prevProps.opts.playerVars || {};
1606
1597
  var vars = props.opts.playerVars || {};
1598
+
1607
1599
  return prevVars.start !== vars.start || prevVars.end !== vars.end;
1608
1600
  }
1609
- /**
1610
- * Neutralize API options that only require a video update, leaving only options
1611
- * that require a player reset. The results can then be compared to see if a
1612
- * player reset is necessary.
1613
- *
1614
- * @param {Object} opts
1615
- */
1616
-
1617
1601
 
1602
+ /**
1603
+ * Neutralise API options that only require a video update, leaving only options
1604
+ * that require a player reset. The results can then be compared to see if a
1605
+ * player reset is necessary.
1606
+ *
1607
+ * @param {Object} opts
1608
+ */
1618
1609
  function filterResetOptions(opts) {
1619
- return _objectSpread(_objectSpread({}, opts), {}, {
1620
- playerVars: _objectSpread({
1610
+ return _extends({}, opts, {
1611
+ playerVars: _extends({}, opts.playerVars, {
1621
1612
  autoplay: 0,
1622
1613
  start: 0,
1623
1614
  end: 0
1624
- }, opts.playerVars)
1615
+ })
1625
1616
  });
1626
1617
  }
1627
- /**
1628
- * Check whether a `props` change should result in the player being reset.
1629
- * The player is reset when the `props.opts` change, except if the only change
1630
- * is in the `start` and `end` playerVars, because a video update can deal with
1631
- * those.
1632
- *
1633
- * @param {Object} prevProps
1634
- * @param {Object} props
1635
- */
1636
-
1637
1618
 
1619
+ /**
1620
+ * Check whether a `props` change should result in the player being reset.
1621
+ * The player is reset when the `props.opts` change, except if the only change
1622
+ * is in the `start` and `end` playerVars, because a video update can deal with
1623
+ * those.
1624
+ *
1625
+ * @param {Object} prevProps
1626
+ * @param {Object} props
1627
+ */
1638
1628
  function shouldResetPlayer(prevProps, props) {
1639
1629
  return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1640
1630
  }
1641
- /**
1642
- * Check whether a props change should result in an id or className update.
1643
- *
1644
- * @param {Object} prevProps
1645
- * @param {Object} props
1646
- */
1647
-
1648
1631
 
1632
+ /**
1633
+ * Check whether a props change should result in an id or className update.
1634
+ *
1635
+ * @param {Object} prevProps
1636
+ * @param {Object} props
1637
+ */
1649
1638
  function shouldUpdatePlayer(prevProps, props) {
1650
1639
  return prevProps.id !== props.id || prevProps.className !== props.className;
1651
1640
  }
1652
1641
 
1653
- var YouTube = /*#__PURE__*/function (_React$Component) {
1642
+ var YouTube = function (_React$Component) {
1654
1643
  _inherits(YouTube, _React$Component);
1655
1644
 
1656
- var _super = _createSuper(YouTube);
1657
-
1658
- /**
1659
- * Expose PlayerState constants for convenience. These constants can also be
1660
- * accessed through the global YT object after the YouTube IFrame API is instantiated.
1661
- * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1662
- */
1663
1645
  function YouTube(props) {
1664
- var _this;
1665
-
1666
1646
  _classCallCheck(this, YouTube);
1667
1647
 
1668
- _this = _super.call(this, props);
1648
+ var _this = _possibleConstructorReturn(this, (YouTube.__proto__ || Object.getPrototypeOf(YouTube)).call(this, props));
1669
1649
 
1670
- _defineProperty(_assertThisInitialized(_this), "onPlayerReady", function (event) {
1650
+ _this.onPlayerReady = function (event) {
1671
1651
  return _this.props.onReady(event);
1672
- });
1652
+ };
1673
1653
 
1674
- _defineProperty(_assertThisInitialized(_this), "onPlayerError", function (event) {
1654
+ _this.onPlayerError = function (event) {
1675
1655
  return _this.props.onError(event);
1676
- });
1656
+ };
1677
1657
 
1678
- _defineProperty(_assertThisInitialized(_this), "onPlayerStateChange", function (event) {
1658
+ _this.onPlayerStateChange = function (event) {
1679
1659
  _this.props.onStateChange(event);
1680
-
1681
1660
  switch (event.data) {
1661
+
1682
1662
  case YouTube.PlayerState.ENDED:
1683
1663
  _this.props.onEnd(event);
1684
-
1685
1664
  break;
1686
1665
 
1687
1666
  case YouTube.PlayerState.PLAYING:
1688
1667
  _this.props.onPlay(event);
1689
-
1690
1668
  break;
1691
1669
 
1692
1670
  case YouTube.PlayerState.PAUSED:
1693
1671
  _this.props.onPause(event);
1694
-
1695
1672
  break;
1696
1673
  }
1697
- });
1674
+ };
1698
1675
 
1699
- _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackRateChange", function (event) {
1676
+ _this.onPlayerPlaybackRateChange = function (event) {
1700
1677
  return _this.props.onPlaybackRateChange(event);
1701
- });
1678
+ };
1702
1679
 
1703
- _defineProperty(_assertThisInitialized(_this), "onPlayerPlaybackQualityChange", function (event) {
1680
+ _this.onPlayerPlaybackQualityChange = function (event) {
1704
1681
  return _this.props.onPlaybackQualityChange(event);
1705
- });
1682
+ };
1706
1683
 
1707
- _defineProperty(_assertThisInitialized(_this), "createPlayer", function () {
1684
+ _this.createPlayer = function () {
1708
1685
  // do not attempt to create a player server-side, it won't work
1709
- if (typeof document === 'undefined') return; // create player
1710
-
1711
- var playerOpts = _objectSpread(_objectSpread({}, _this.props.opts), {}, {
1686
+ if (typeof document === 'undefined') return;
1687
+ // create player
1688
+ var playerOpts = _extends({}, _this.props.opts, {
1712
1689
  // preload the `videoId` video if one is already given
1713
1690
  videoId: _this.props.videoId
1714
1691
  });
1715
-
1716
- _this.internalPlayer = youTubePlayer(_this.container, playerOpts); // attach event handlers
1717
-
1692
+ _this.internalPlayer = youTubePlayer(_this.container, playerOpts);
1693
+ // attach event handlers
1718
1694
  _this.internalPlayer.on('ready', _this.onPlayerReady);
1719
-
1720
1695
  _this.internalPlayer.on('error', _this.onPlayerError);
1721
-
1722
1696
  _this.internalPlayer.on('stateChange', _this.onPlayerStateChange);
1723
-
1724
1697
  _this.internalPlayer.on('playbackRateChange', _this.onPlayerPlaybackRateChange);
1725
-
1726
1698
  _this.internalPlayer.on('playbackQualityChange', _this.onPlayerPlaybackQualityChange);
1727
- });
1699
+ };
1728
1700
 
1729
- _defineProperty(_assertThisInitialized(_this), "resetPlayer", function () {
1701
+ _this.resetPlayer = function () {
1730
1702
  return _this.internalPlayer.destroy().then(_this.createPlayer);
1731
- });
1703
+ };
1732
1704
 
1733
- _defineProperty(_assertThisInitialized(_this), "updatePlayer", function () {
1705
+ _this.updatePlayer = function () {
1734
1706
  _this.internalPlayer.getIframe().then(function (iframe) {
1735
1707
  if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
1736
1708
  if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
1737
1709
  });
1738
- });
1739
-
1740
- _defineProperty(_assertThisInitialized(_this), "getInternalPlayer", function () {
1741
- return _this.internalPlayer;
1742
- });
1710
+ };
1743
1711
 
1744
- _defineProperty(_assertThisInitialized(_this), "updateVideo", function () {
1712
+ _this.updateVideo = function () {
1745
1713
  if (typeof _this.props.videoId === 'undefined' || _this.props.videoId === null) {
1746
1714
  _this.internalPlayer.stopVideo();
1747
-
1748
1715
  return;
1749
- } // set queueing options
1750
-
1716
+ }
1751
1717
 
1718
+ // set queueing options
1752
1719
  var autoplay = false;
1753
1720
  var opts = {
1754
1721
  videoId: _this.props.videoId
1755
1722
  };
1756
-
1757
1723
  if ('playerVars' in _this.props.opts) {
1758
1724
  autoplay = _this.props.opts.playerVars.autoplay === 1;
1759
-
1760
1725
  if ('start' in _this.props.opts.playerVars) {
1761
1726
  opts.startSeconds = _this.props.opts.playerVars.start;
1762
1727
  }
1763
-
1764
1728
  if ('end' in _this.props.opts.playerVars) {
1765
1729
  opts.endSeconds = _this.props.opts.playerVars.end;
1766
1730
  }
1767
- } // if autoplay is enabled loadVideoById
1768
-
1731
+ }
1769
1732
 
1733
+ // if autoplay is enabled loadVideoById
1770
1734
  if (autoplay) {
1771
1735
  _this.internalPlayer.loadVideoById(opts);
1772
-
1773
1736
  return;
1774
- } // default behaviour just cues the video
1775
-
1776
-
1737
+ }
1738
+ // default behaviour just cues the video
1777
1739
  _this.internalPlayer.cueVideoById(opts);
1778
- });
1740
+ };
1779
1741
 
1780
- _defineProperty(_assertThisInitialized(_this), "refContainer", function (container) {
1742
+ _this.refContainer = function (container) {
1781
1743
  _this.container = container;
1782
- });
1744
+ };
1783
1745
 
1784
1746
  _this.container = null;
1785
1747
  _this.internalPlayer = null;
1786
1748
  return _this;
1787
1749
  }
1788
1750
 
1751
+ /**
1752
+ * Expose PlayerState constants for convenience. These constants can also be
1753
+ * accessed through the global YT object after the YouTube IFrame API is instantiated.
1754
+ * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1755
+ */
1756
+
1757
+
1789
1758
  _createClass(YouTube, [{
1790
- key: "componentDidMount",
1759
+ key: 'componentDidMount',
1791
1760
  value: function componentDidMount() {
1792
1761
  this.createPlayer();
1793
1762
  }
1794
1763
  }, {
1795
- key: "componentDidUpdate",
1764
+ key: 'componentDidUpdate',
1796
1765
  value: function componentDidUpdate(prevProps) {
1797
1766
  if (shouldUpdatePlayer(prevProps, this.props)) {
1798
1767
  this.updatePlayer();
@@ -1807,58 +1776,112 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
1807
1776
  }
1808
1777
  }
1809
1778
  }, {
1810
- key: "componentWillUnmount",
1779
+ key: 'componentWillUnmount',
1811
1780
  value: function componentWillUnmount() {
1812
- /**
1813
- * Note: The `youtube-player` package that is used promisifies all YouTube
1814
- * Player API calls, which introduces a delay of a tick before it actually
1815
- * gets destroyed. Since React attempts to remove the element instantly
1816
- * this method isn't quick enough to reset the container element.
1781
+ /**
1782
+ * Note: The `youtube-player` package that is used promisifies all Youtube
1783
+ * Player API calls, which introduces a delay of a tick before it actually
1784
+ * gets destroyed. Since React attempts to remove the element instantly
1785
+ * this method isn't quick enough to reset the container element.
1817
1786
  */
1818
1787
  this.internalPlayer.destroy();
1819
1788
  }
1820
- /**
1821
- * https://developers.google.com/youtube/iframe_api_reference#onReady
1822
- *
1823
- * @param {Object} event
1824
- * @param {Object} target - player object
1789
+
1790
+ /**
1791
+ * https://developers.google.com/youtube/iframe_api_reference#onReady
1792
+ *
1793
+ * @param {Object} event
1794
+ * @param {Object} target - player object
1795
+ */
1796
+
1797
+
1798
+ /**
1799
+ * https://developers.google.com/youtube/iframe_api_reference#onError
1800
+ *
1801
+ * @param {Object} event
1802
+ * @param {Integer} data - error type
1803
+ * @param {Object} target - player object
1804
+ */
1805
+
1806
+
1807
+ /**
1808
+ * https://developers.google.com/youtube/iframe_api_reference#onStateChange
1809
+ *
1810
+ * @param {Object} event
1811
+ * @param {Integer} data - status change type
1812
+ * @param {Object} target - actual YT player
1813
+ */
1814
+
1815
+
1816
+ /**
1817
+ * https://developers.google.com/youtube/iframe_api_reference#onPlaybackRateChange
1818
+ *
1819
+ * @param {Object} event
1820
+ * @param {Float} data - playback rate
1821
+ * @param {Object} target - actual YT player
1822
+ */
1823
+
1824
+
1825
+ /**
1826
+ * https://developers.google.com/youtube/iframe_api_reference#onPlaybackQualityChange
1827
+ *
1828
+ * @param {Object} event
1829
+ * @param {String} data - playback quality
1830
+ * @param {Object} target - actual YT player
1831
+ */
1832
+
1833
+
1834
+ /**
1835
+ * Initialize the Youtube Player API on the container and attach event handlers
1836
+ */
1837
+
1838
+
1839
+ /**
1840
+ * Shorthand for destroying and then re-creating the Youtube Player
1841
+ */
1842
+
1843
+
1844
+ /**
1845
+ * Method to update the id and class of the Youtube Player iframe.
1846
+ * React should update this automatically but since the Youtube Player API
1847
+ * replaced the DIV that is mounted by React we need to do this manually.
1848
+ */
1849
+
1850
+
1851
+ /**
1852
+ * Call Youtube Player API methods to update the currently playing video.
1853
+ * Depeding on the `opts.playerVars.autoplay` this function uses one of two
1854
+ * Youtube Player API methods to update the video.
1825
1855
  */
1826
1856
 
1827
1857
  }, {
1828
- key: "render",
1858
+ key: 'render',
1829
1859
  value: function render() {
1830
- return /*#__PURE__*/React__default.createElement("div", {
1831
- className: this.props.containerClassName
1832
- }, /*#__PURE__*/React__default.createElement("div", {
1833
- id: this.props.id,
1834
- className: this.props.className,
1835
- ref: this.refContainer
1836
- }));
1860
+ return React__default.createElement(
1861
+ 'div',
1862
+ { className: this.props.containerClassName },
1863
+ React__default.createElement('div', { id: this.props.id, className: this.props.className, ref: this.refContainer })
1864
+ );
1837
1865
  }
1838
1866
  }]);
1839
1867
 
1840
1868
  return YouTube;
1841
1869
  }(React__default.Component);
1842
1870
 
1843
- _defineProperty(YouTube, "PlayerState", {
1844
- UNSTARTED: -1,
1845
- ENDED: 0,
1846
- PLAYING: 1,
1847
- PAUSED: 2,
1848
- BUFFERING: 3,
1849
- CUED: 5
1850
- });
1851
-
1852
1871
  YouTube.propTypes = {
1853
1872
  videoId: PropTypes.string,
1873
+
1854
1874
  // custom ID for player element
1855
1875
  id: PropTypes.string,
1876
+
1856
1877
  // custom class name for player element
1857
1878
  className: PropTypes.string,
1858
1879
  // custom class name for player container element
1859
1880
  containerClassName: PropTypes.string,
1881
+
1860
1882
  // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
1861
1883
  opts: PropTypes.objectOf(PropTypes.any),
1884
+
1862
1885
  // event subscriptions
1863
1886
  onReady: PropTypes.func,
1864
1887
  onError: PropTypes.func,
@@ -1870,7 +1893,6 @@ YouTube.propTypes = {
1870
1893
  onPlaybackQualityChange: PropTypes.func
1871
1894
  };
1872
1895
  YouTube.defaultProps = {
1873
- videoId: null,
1874
1896
  id: null,
1875
1897
  className: null,
1876
1898
  opts: {},
@@ -1884,6 +1906,14 @@ YouTube.defaultProps = {
1884
1906
  onPlaybackRateChange: function onPlaybackRateChange() {},
1885
1907
  onPlaybackQualityChange: function onPlaybackQualityChange() {}
1886
1908
  };
1909
+ YouTube.PlayerState = {
1910
+ UNSTARTED: -1,
1911
+ ENDED: 0,
1912
+ PLAYING: 1,
1913
+ PAUSED: 2,
1914
+ BUFFERING: 3,
1915
+ CUED: 5
1916
+ };
1887
1917
 
1888
1918
  var YouTubePlayer = function YouTubePlayer(_ref) {
1889
1919
  var url = _ref.url,
@@ -1922,8 +1952,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1922
1952
  var duration = player.getDuration();
1923
1953
  var queue = Math.floor(duration / 10);
1924
1954
  var segment = Math.floor(current / queue);
1925
- Beam.report_beam_video('Ready', main_18, duration, current, segment);
1926
- Segment.report_video_event('Video Ready', main_18, duration, current, segment);
1955
+ Beam.report_beam_video('Ready', main_16, duration, current, segment);
1956
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment);
1927
1957
  };
1928
1958
 
1929
1959
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1933,8 +1963,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1933
1963
  var segment = Math.floor(current / queue);
1934
1964
 
1935
1965
  if (!queueProgress.includes(segment)) {
1936
- Beam.report_beam_video('Segment', main_18, duration, current, segment);
1937
- Segment.report_video_event('Video Segment', main_18, duration, current, segment);
1966
+ Beam.report_beam_video('Segment', main_16, duration, current, segment);
1967
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment);
1938
1968
  queueProgress.push(segment);
1939
1969
  }
1940
1970
  };
@@ -1947,8 +1977,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1947
1977
  var queue = Math.floor(duration / 10);
1948
1978
  var segment = Math.floor(current / queue);
1949
1979
 
1950
- Beam.report_beam_video('Play', main_18, duration, current, segment);
1951
- Segment.report_video_event('Video Play', main_18, duration, current, segment);
1980
+ Beam.report_beam_video('Play', main_16, duration, current, segment);
1981
+ Segment.report_video_event('Video Play', main_16, duration, current, segment);
1952
1982
 
1953
1983
  if (!playReported) {
1954
1984
  setPlayReported(true);
@@ -1967,8 +1997,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1967
1997
  var queue = Math.floor(duration / 10);
1968
1998
  var segment = Math.floor(current / queue);
1969
1999
 
1970
- Beam.report_beam_video('End', main_18, duration, current, segment);
1971
- Segment.report_video_event('Video End', main_18, duration, current, segment);
2000
+ Beam.report_beam_video('End', main_16, duration, current, segment);
2001
+ Segment.report_video_event('Video End', main_16, duration, current, segment);
1972
2002
  setEndReported(true);
1973
2003
  clearInterval(intervalID);
1974
2004
  }
@@ -1981,8 +2011,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1981
2011
  var queue = Math.floor(duration / 10);
1982
2012
  var segment = Math.floor(current / queue);
1983
2013
 
1984
- Beam.report_beam_video('Pause', main_18, duration, current, segment);
1985
- Segment.report_video_event('Video Pause', main_18, duration, current, segment);
2014
+ Beam.report_beam_video('Pause', main_16, duration, current, segment);
2015
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment);
1986
2016
  };
1987
2017
 
1988
2018
  return React__default.createElement(
@@ -2149,7 +2179,7 @@ var Media = function Media(_ref) {
2149
2179
  React__default.createElement(
2150
2180
  LazyLoad,
2151
2181
  { once: true },
2152
- React__default.createElement(Figure$1.Image, _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor(poster).url() }, alt && { alt: alt }))
2182
+ React__default.createElement(Figure$1.Image, _extends$1({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor(poster).url() }, alt && { alt: alt }))
2153
2183
  ),
2154
2184
  caption && React__default.createElement(
2155
2185
  Figure$1.Caption,
@@ -2161,7 +2191,7 @@ var Media = function Media(_ref) {
2161
2191
  } else if (caption && caption !== '') {
2162
2192
  return React__default.createElement(
2163
2193
  'a',
2164
- _extends({}, uploadDoc.downloadMedia ? {
2194
+ _extends$1({}, uploadDoc.downloadMedia ? {
2165
2195
  href: uploadDoc.asset.url + '?dl='
2166
2196
  } : { href: uploadDoc.asset.url, target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
2167
2197
  style: { paddingLeft: '4px', paddingRight: '4px' },
@@ -2216,8 +2246,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2216
2246
  var duration = player.duration;
2217
2247
  var queue = Math.floor(duration / 10);
2218
2248
  var segment = Math.floor(current / queue);
2219
- Beam.report_beam_video('Ready', main_18, duration, current, segment, 'MP4');
2220
- Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2249
+ Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
2250
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2221
2251
  };
2222
2252
 
2223
2253
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2226,8 +2256,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2226
2256
  var queue = Math.floor(duration / 10);
2227
2257
  var segment = Math.floor(current / queue);
2228
2258
  if (!queueProgress.includes(segment)) {
2229
- Beam.report_beam_video('Segment', main_18, duration, current, segment, 'MP4');
2230
- Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2259
+ Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
2260
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2231
2261
  queueProgress.push(segment);
2232
2262
  }
2233
2263
  };
@@ -2239,8 +2269,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2239
2269
  var duration = player.duration;
2240
2270
  var queue = Math.floor(duration / 10);
2241
2271
  var segment = Math.floor(current / queue);
2242
- Beam.report_beam_video('Play', main_18, duration, current, segment, 'MP4');
2243
- Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2272
+ Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
2273
+ Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2244
2274
 
2245
2275
  if (!playReported) {
2246
2276
  event.persist();
@@ -2260,8 +2290,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2260
2290
  var queue = Math.floor(duration / 10);
2261
2291
  var segment = Math.floor(current / queue);
2262
2292
 
2263
- Beam.report_beam_video('End', main_18, duration, current, segment, 'MP4');
2264
- Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2293
+ Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
2294
+ Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2265
2295
  setEndReported(true);
2266
2296
  clearInterval(intervalID);
2267
2297
  }
@@ -2273,8 +2303,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2273
2303
  var duration = player.duration - current;
2274
2304
  var queue = Math.floor(duration / 10);
2275
2305
  var segment = Math.floor(current / queue);
2276
- Beam.report_beam_video('Pause', main_18, duration, current, segment, 'MP4');
2277
- Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2306
+ Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
2307
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2278
2308
  };
2279
2309
 
2280
2310
  return React__default.createElement(
@@ -2335,7 +2365,7 @@ var Video = function Video(_ref) {
2335
2365
  var onVideoSuccess = function onVideoSuccess(success) {
2336
2366
  //console.log('success:', success.ref)
2337
2367
  var player = success.ref;
2338
- if (_typeof$1(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2368
+ if (_typeof(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
2339
2369
  player.ima3.settings.debug = true;
2340
2370
  if (targeting.content_placement && targeting.document_url) {
2341
2371
  player.ima3.settings.serverUrl = player.ima3.settings.serverUrl + '&cust_params=' + encodeURIComponent('content_placement=' + targeting.content_placement + '&document_url=' + targeting.document_url);
@@ -2363,8 +2393,8 @@ var Video = function Video(_ref) {
2363
2393
  player.pause();
2364
2394
  }
2365
2395
 
2366
- Beam.report_beam_video('Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2367
- Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2396
+ Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2397
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2368
2398
  });
2369
2399
 
2370
2400
  // play
@@ -2373,8 +2403,8 @@ var Video = function Video(_ref) {
2373
2403
  var current = player.currentTime();
2374
2404
  var queue = Math.floor(duration / 10);
2375
2405
  var segment = Math.floor(current / queue);
2376
- Beam.report_beam_video('Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2377
- Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2406
+ Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2407
+ Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2378
2408
  });
2379
2409
 
2380
2410
  // pause
@@ -2383,8 +2413,8 @@ var Video = function Video(_ref) {
2383
2413
  var current = player.currentTime();
2384
2414
  var queue = Math.floor(duration / 10);
2385
2415
  var segment = Math.floor(current / queue);
2386
- Beam.report_beam_video('Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2387
- Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2416
+ Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2417
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2388
2418
  });
2389
2419
 
2390
2420
  // end
@@ -2393,8 +2423,8 @@ var Video = function Video(_ref) {
2393
2423
  var current = player.currentTime();
2394
2424
  var queue = Math.floor(duration / 10);
2395
2425
  var segment = Math.floor(current / queue);
2396
- Beam.report_beam_video('End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2397
- Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2426
+ Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2427
+ Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2398
2428
  autoplayNextVideo(evt);
2399
2429
  });
2400
2430
 
@@ -2405,8 +2435,8 @@ var Video = function Video(_ref) {
2405
2435
  var queue = Math.floor(duration / 10);
2406
2436
  var segment = Math.floor(current / queue);
2407
2437
  if (!queueProgress.includes(segment)) {
2408
- Beam.report_beam_video('Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2409
- Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2438
+ Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2439
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2410
2440
  queueProgress.push(segment);
2411
2441
  }
2412
2442
  });
@@ -2417,8 +2447,8 @@ var Video = function Video(_ref) {
2417
2447
  var id = player.ads.ad.id;
2418
2448
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2419
2449
 
2420
- Beam.report_beam_ad('AD Started', main_18, '', '', '', '', '', adType, duration, id);
2421
- Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2450
+ Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
2451
+ Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2422
2452
  });
2423
2453
 
2424
2454
  // ad ended
@@ -2426,8 +2456,8 @@ var Video = function Video(_ref) {
2426
2456
  var duration = player.ads.ad.duration;
2427
2457
  var id = player.ads.ad.id;
2428
2458
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2429
- Beam.report_beam_ad('AD Ended', main_18, '', '', '', '', '', adType, duration, id);
2430
- Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2459
+ Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
2460
+ Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2431
2461
  });
2432
2462
  };
2433
2463
 
@@ -2690,9 +2720,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
2690
2720
  });
2691
2721
 
2692
2722
  unwrapExports(props);
2693
- props.DEPRECATED_CONFIG_PROPS;
2694
- props.defaultProps;
2695
- props.propTypes;
2723
+ var props_1 = props.DEPRECATED_CONFIG_PROPS;
2724
+ var props_2 = props.defaultProps;
2725
+ var props_3 = props.propTypes;
2696
2726
 
2697
2727
  var isMergeableObject = function isMergeableObject(value) {
2698
2728
  return isNonNullObject(value)
@@ -2857,17 +2887,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2857
2887
 
2858
2888
  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; }
2859
2889
 
2860
- 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; } } }; }
2861
-
2862
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2863
-
2864
- 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."); }
2865
-
2866
- 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); }
2890
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
2867
2891
 
2868
- 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; }
2892
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
2869
2893
 
2870
- 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; }
2894
+ 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; }
2871
2895
 
2872
2896
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2873
2897
 
@@ -2997,12 +3021,12 @@ function getSDK(url, sdkGlobal) {
2997
3021
 
2998
3022
  function getConfig(props$1, defaultProps, showWarning) {
2999
3023
  var config = (0, _deepmerge["default"])(defaultProps.config, props$1.config);
3000
-
3001
- var _iterator = _createForOfIteratorHelper(props.DEPRECATED_CONFIG_PROPS),
3002
- _step;
3024
+ var _iteratorNormalCompletion = true;
3025
+ var _didIteratorError = false;
3026
+ var _iteratorError = undefined;
3003
3027
 
3004
3028
  try {
3005
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
3029
+ for (var _iterator = props.DEPRECATED_CONFIG_PROPS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
3006
3030
  var p = _step.value;
3007
3031
 
3008
3032
  if (props$1[p]) {
@@ -3017,9 +3041,18 @@ function getConfig(props$1, defaultProps, showWarning) {
3017
3041
  }
3018
3042
  }
3019
3043
  } catch (err) {
3020
- _iterator.e(err);
3044
+ _didIteratorError = true;
3045
+ _iteratorError = err;
3021
3046
  } finally {
3022
- _iterator.f();
3047
+ try {
3048
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
3049
+ _iterator["return"]();
3050
+ }
3051
+ } finally {
3052
+ if (_didIteratorError) {
3053
+ throw _iteratorError;
3054
+ }
3055
+ }
3023
3056
  }
3024
3057
 
3025
3058
  return config;
@@ -3127,17 +3160,17 @@ function isMediaStream(url) {
3127
3160
  });
3128
3161
 
3129
3162
  unwrapExports(utils);
3130
- utils.parseStartTime;
3131
- utils.parseEndTime;
3132
- utils.randomString;
3133
- utils.queryString;
3134
- utils.getSDK;
3135
- utils.getConfig;
3136
- utils.omit;
3137
- utils.callPlayer;
3138
- utils.isObject;
3139
- utils.isEqual;
3140
- utils.isMediaStream;
3163
+ var utils_1 = utils.parseStartTime;
3164
+ var utils_2 = utils.parseEndTime;
3165
+ var utils_3 = utils.randomString;
3166
+ var utils_4 = utils.queryString;
3167
+ var utils_5 = utils.getSDK;
3168
+ var utils_6 = utils.getConfig;
3169
+ var utils_7 = utils.omit;
3170
+ var utils_8 = utils.callPlayer;
3171
+ var utils_9 = utils.isObject;
3172
+ var utils_10 = utils.isEqual;
3173
+ var utils_11 = utils.isMediaStream;
3141
3174
 
3142
3175
  var Player_1 = createCommonjsModule(function (module, exports) {
3143
3176
 
@@ -3166,16 +3199,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3166
3199
 
3167
3200
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3168
3201
 
3169
- 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); }; }
3170
-
3171
3202
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3172
3203
 
3173
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3174
-
3175
- 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; } }
3176
-
3177
3204
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3178
3205
 
3206
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3207
+
3179
3208
  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); }
3180
3209
 
3181
3210
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3184,12 +3213,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
3184
3213
 
3185
3214
  var SEEK_ON_PLAY_EXPIRY = 5000;
3186
3215
 
3187
- var Player = /*#__PURE__*/function (_Component) {
3216
+ var Player =
3217
+ /*#__PURE__*/
3218
+ function (_Component) {
3188
3219
  _inherits(Player, _Component);
3189
3220
 
3190
- var _super = _createSuper(Player);
3191
-
3192
3221
  function Player() {
3222
+ var _getPrototypeOf2;
3223
+
3193
3224
  var _this;
3194
3225
 
3195
3226
  _classCallCheck(this, Player);
@@ -3198,7 +3229,7 @@ var Player = /*#__PURE__*/function (_Component) {
3198
3229
  _args[_key] = arguments[_key];
3199
3230
  }
3200
3231
 
3201
- _this = _super.call.apply(_super, [this].concat(_args));
3232
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Player)).call.apply(_getPrototypeOf2, [this].concat(_args)));
3202
3233
 
3203
3234
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
3204
3235
 
@@ -3523,7 +3554,7 @@ var Player = /*#__PURE__*/function (_Component) {
3523
3554
  return null;
3524
3555
  }
3525
3556
 
3526
- return /*#__PURE__*/_react["default"].createElement(Player, _extends({}, this.props, {
3557
+ return _react["default"].createElement(Player, _extends({}, this.props, {
3527
3558
  ref: this.ref,
3528
3559
  onReady: this.handleReady,
3529
3560
  onPlay: this.handlePlay,
@@ -3584,16 +3615,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3584
3615
 
3585
3616
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3586
3617
 
3587
- 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); }; }
3588
-
3589
3618
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3590
3619
 
3591
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3592
-
3593
- 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; } }
3594
-
3595
3620
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3596
3621
 
3622
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3623
+
3597
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); }
3598
3625
 
3599
3626
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -3605,12 +3632,14 @@ var SUPPORTED_PROPS = Object.keys(props.propTypes);
3605
3632
  function createSinglePlayer(activePlayer) {
3606
3633
  var _class, _temp;
3607
3634
 
3608
- return _temp = _class = /*#__PURE__*/function (_Component) {
3635
+ return _temp = _class =
3636
+ /*#__PURE__*/
3637
+ function (_Component) {
3609
3638
  _inherits(SinglePlayer, _Component);
3610
3639
 
3611
- var _super = _createSuper(SinglePlayer);
3612
-
3613
3640
  function SinglePlayer() {
3641
+ var _getPrototypeOf2;
3642
+
3614
3643
  var _this;
3615
3644
 
3616
3645
  _classCallCheck(this, SinglePlayer);
@@ -3619,7 +3648,7 @@ function createSinglePlayer(activePlayer) {
3619
3648
  args[_key] = arguments[_key];
3620
3649
  }
3621
3650
 
3622
- _this = _super.call.apply(_super, [this].concat(args));
3651
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SinglePlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
3623
3652
 
3624
3653
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
3625
3654
 
@@ -3687,12 +3716,12 @@ function createSinglePlayer(activePlayer) {
3687
3716
  height = _this$props.height,
3688
3717
  Wrapper = _this$props.wrapper;
3689
3718
  var otherProps = (0, utils.omit)(this.props, SUPPORTED_PROPS, props.DEPRECATED_CONFIG_PROPS);
3690
- return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
3719
+ return _react["default"].createElement(Wrapper, _extends({
3691
3720
  style: _objectSpread({}, style, {
3692
3721
  width: width,
3693
3722
  height: height
3694
3723
  })
3695
- }, otherProps), /*#__PURE__*/_react["default"].createElement(_Player["default"], _extends({}, this.props, {
3724
+ }, otherProps), _react["default"].createElement(_Player["default"], _extends({}, this.props, {
3696
3725
  ref: this.ref,
3697
3726
  activePlayer: activePlayer,
3698
3727
  config: this.config
@@ -3738,31 +3767,23 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
3738
3767
 
3739
3768
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3740
3769
 
3741
- 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); }; }
3742
-
3743
3770
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3744
3771
 
3745
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3746
-
3747
- 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; } }
3748
-
3749
3772
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3750
3773
 
3774
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3775
+
3751
3776
  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); }
3752
3777
 
3753
3778
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
3754
3779
 
3755
3780
  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; }
3756
3781
 
3757
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3758
-
3759
- 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."); }
3760
-
3761
- 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); }
3782
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
3762
3783
 
3763
- 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; }
3784
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
3764
3785
 
3765
- 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; }
3786
+ 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; }
3766
3787
 
3767
3788
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3768
3789
 
@@ -3787,12 +3808,14 @@ function parsePlaylist(url) {
3787
3808
  return {};
3788
3809
  }
3789
3810
 
3790
- var YouTube = /*#__PURE__*/function (_Component) {
3811
+ var YouTube =
3812
+ /*#__PURE__*/
3813
+ function (_Component) {
3791
3814
  _inherits(YouTube, _Component);
3792
3815
 
3793
- var _super = _createSuper(YouTube);
3794
-
3795
3816
  function YouTube() {
3817
+ var _getPrototypeOf2;
3818
+
3796
3819
  var _this;
3797
3820
 
3798
3821
  _classCallCheck(this, YouTube);
@@ -3801,7 +3824,7 @@ var YouTube = /*#__PURE__*/function (_Component) {
3801
3824
  args[_key] = arguments[_key];
3802
3825
  }
3803
3826
 
3804
- _this = _super.call.apply(_super, [this].concat(args));
3827
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(YouTube)).call.apply(_getPrototypeOf2, [this].concat(args)));
3805
3828
 
3806
3829
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
3807
3830
 
@@ -3989,9 +4012,9 @@ var YouTube = /*#__PURE__*/function (_Component) {
3989
4012
  height: '100%',
3990
4013
  display: display
3991
4014
  };
3992
- return /*#__PURE__*/_react["default"].createElement("div", {
4015
+ return _react["default"].createElement("div", {
3993
4016
  style: style
3994
- }, /*#__PURE__*/_react["default"].createElement("div", {
4017
+ }, _react["default"].createElement("div", {
3995
4018
  ref: this.ref
3996
4019
  }));
3997
4020
  }
@@ -4014,7 +4037,7 @@ exports["default"] = _default;
4014
4037
  });
4015
4038
 
4016
4039
  unwrapExports(YouTube_1);
4017
- YouTube_1.YouTube;
4040
+ var YouTube_2 = YouTube_1.YouTube;
4018
4041
 
4019
4042
  var SoundCloud_1 = createCommonjsModule(function (module, exports) {
4020
4043
 
@@ -4047,16 +4070,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4047
4070
 
4048
4071
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4049
4072
 
4050
- 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); }; }
4051
-
4052
4073
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4053
4074
 
4054
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4055
-
4056
- 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; } }
4057
-
4058
4075
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4059
4076
 
4077
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4078
+
4060
4079
  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); }
4061
4080
 
4062
4081
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4065,14 +4084,16 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
4065
4084
 
4066
4085
  var SDK_URL = 'https://w.soundcloud.com/player/api.js';
4067
4086
  var SDK_GLOBAL = 'SC';
4068
- var MATCH_URL = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/;
4087
+ var MATCH_URL = /(soundcloud\.com|snd\.sc)\/.+$/;
4069
4088
 
4070
- var SoundCloud = /*#__PURE__*/function (_Component) {
4089
+ var SoundCloud =
4090
+ /*#__PURE__*/
4091
+ function (_Component) {
4071
4092
  _inherits(SoundCloud, _Component);
4072
4093
 
4073
- var _super = _createSuper(SoundCloud);
4074
-
4075
4094
  function SoundCloud() {
4095
+ var _getPrototypeOf2;
4096
+
4076
4097
  var _this;
4077
4098
 
4078
4099
  _classCallCheck(this, SoundCloud);
@@ -4081,7 +4102,7 @@ var SoundCloud = /*#__PURE__*/function (_Component) {
4081
4102
  args[_key] = arguments[_key];
4082
4103
  }
4083
4104
 
4084
- _this = _super.call.apply(_super, [this].concat(args));
4105
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(SoundCloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
4085
4106
 
4086
4107
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4087
4108
 
@@ -4202,7 +4223,7 @@ var SoundCloud = /*#__PURE__*/function (_Component) {
4202
4223
  height: '100%',
4203
4224
  display: display
4204
4225
  };
4205
- return /*#__PURE__*/_react["default"].createElement("iframe", {
4226
+ return _react["default"].createElement("iframe", {
4206
4227
  ref: this.ref,
4207
4228
  src: "https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),
4208
4229
  style: style,
@@ -4231,7 +4252,7 @@ exports["default"] = _default;
4231
4252
  });
4232
4253
 
4233
4254
  unwrapExports(SoundCloud_1);
4234
- SoundCloud_1.SoundCloud;
4255
+ var SoundCloud_2 = SoundCloud_1.SoundCloud;
4235
4256
 
4236
4257
  var Vimeo_1 = createCommonjsModule(function (module, exports) {
4237
4258
 
@@ -4264,16 +4285,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4264
4285
 
4265
4286
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4266
4287
 
4267
- 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); }; }
4268
-
4269
4288
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4270
4289
 
4271
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4272
-
4273
- 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; } }
4274
-
4275
4290
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4276
4291
 
4292
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4293
+
4277
4294
  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); }
4278
4295
 
4279
4296
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4285,12 +4302,14 @@ var SDK_GLOBAL = 'Vimeo';
4285
4302
  var MATCH_URL = /vimeo\.com\/.+/;
4286
4303
  var MATCH_FILE_URL = /vimeo\.com\/external\/[0-9]+\..+/;
4287
4304
 
4288
- var Vimeo = /*#__PURE__*/function (_Component) {
4305
+ var Vimeo =
4306
+ /*#__PURE__*/
4307
+ function (_Component) {
4289
4308
  _inherits(Vimeo, _Component);
4290
4309
 
4291
- var _super = _createSuper(Vimeo);
4292
-
4293
4310
  function Vimeo() {
4311
+ var _getPrototypeOf2;
4312
+
4294
4313
  var _this;
4295
4314
 
4296
4315
  _classCallCheck(this, Vimeo);
@@ -4299,7 +4318,7 @@ var Vimeo = /*#__PURE__*/function (_Component) {
4299
4318
  args[_key] = arguments[_key];
4300
4319
  }
4301
4320
 
4302
- _this = _super.call.apply(_super, [this].concat(args));
4321
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Vimeo)).call.apply(_getPrototypeOf2, [this].concat(args)));
4303
4322
 
4304
4323
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4305
4324
 
@@ -4456,7 +4475,7 @@ var Vimeo = /*#__PURE__*/function (_Component) {
4456
4475
  overflow: 'hidden',
4457
4476
  display: display
4458
4477
  };
4459
- return /*#__PURE__*/_react["default"].createElement("div", {
4478
+ return _react["default"].createElement("div", {
4460
4479
  key: this.props.url,
4461
4480
  ref: this.ref,
4462
4481
  style: style
@@ -4487,7 +4506,7 @@ exports["default"] = _default;
4487
4506
  });
4488
4507
 
4489
4508
  unwrapExports(Vimeo_1);
4490
- Vimeo_1.Vimeo;
4509
+ var Vimeo_2 = Vimeo_1.Vimeo;
4491
4510
 
4492
4511
  var Facebook_1 = createCommonjsModule(function (module, exports) {
4493
4512
 
@@ -4516,16 +4535,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4516
4535
 
4517
4536
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4518
4537
 
4519
- 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); }; }
4520
-
4521
4538
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4522
4539
 
4523
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4524
-
4525
- 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; } }
4526
-
4527
4540
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4528
4541
 
4542
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4543
+
4529
4544
  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); }
4530
4545
 
4531
4546
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4538,12 +4553,14 @@ var SDK_GLOBAL_READY = 'fbAsyncInit';
4538
4553
  var MATCH_URL = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;
4539
4554
  var PLAYER_ID_PREFIX = 'facebook-player-';
4540
4555
 
4541
- var Facebook = /*#__PURE__*/function (_Component) {
4556
+ var Facebook =
4557
+ /*#__PURE__*/
4558
+ function (_Component) {
4542
4559
  _inherits(Facebook, _Component);
4543
4560
 
4544
- var _super = _createSuper(Facebook);
4545
-
4546
4561
  function Facebook() {
4562
+ var _getPrototypeOf2;
4563
+
4547
4564
  var _this;
4548
4565
 
4549
4566
  _classCallCheck(this, Facebook);
@@ -4552,7 +4569,7 @@ var Facebook = /*#__PURE__*/function (_Component) {
4552
4569
  args[_key] = arguments[_key];
4553
4570
  }
4554
4571
 
4555
- _this = _super.call.apply(_super, [this].concat(args));
4572
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Facebook)).call.apply(_getPrototypeOf2, [this].concat(args)));
4556
4573
 
4557
4574
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4558
4575
 
@@ -4668,7 +4685,7 @@ var Facebook = /*#__PURE__*/function (_Component) {
4668
4685
  width: '100%',
4669
4686
  height: '100%'
4670
4687
  };
4671
- return /*#__PURE__*/_react["default"].createElement("div", {
4688
+ return _react["default"].createElement("div", {
4672
4689
  style: style,
4673
4690
  id: this.playerID,
4674
4691
  className: "fb-video",
@@ -4699,7 +4716,7 @@ exports["default"] = _default;
4699
4716
  });
4700
4717
 
4701
4718
  unwrapExports(Facebook_1);
4702
- Facebook_1.Facebook;
4719
+ var Facebook_2 = Facebook_1.Facebook;
4703
4720
 
4704
4721
  var Streamable_1 = createCommonjsModule(function (module, exports) {
4705
4722
 
@@ -4728,16 +4745,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4728
4745
 
4729
4746
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4730
4747
 
4731
- 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); }; }
4732
-
4733
4748
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4734
4749
 
4735
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4736
-
4737
- 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; } }
4738
-
4739
4750
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4740
4751
 
4752
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4753
+
4741
4754
  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); }
4742
4755
 
4743
4756
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4748,12 +4761,14 @@ var SDK_URL = 'https://cdn.embed.ly/player-0.1.0.min.js';
4748
4761
  var SDK_GLOBAL = 'playerjs';
4749
4762
  var MATCH_URL = /streamable\.com\/([a-z0-9]+)$/;
4750
4763
 
4751
- var Streamable = /*#__PURE__*/function (_Component) {
4764
+ var Streamable =
4765
+ /*#__PURE__*/
4766
+ function (_Component) {
4752
4767
  _inherits(Streamable, _Component);
4753
4768
 
4754
- var _super = _createSuper(Streamable);
4755
-
4756
4769
  function Streamable() {
4770
+ var _getPrototypeOf2;
4771
+
4757
4772
  var _this;
4758
4773
 
4759
4774
  _classCallCheck(this, Streamable);
@@ -4762,7 +4777,7 @@ var Streamable = /*#__PURE__*/function (_Component) {
4762
4777
  args[_key] = arguments[_key];
4763
4778
  }
4764
4779
 
4765
- _this = _super.call.apply(_super, [this].concat(args));
4780
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Streamable)).call.apply(_getPrototypeOf2, [this].concat(args)));
4766
4781
 
4767
4782
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4768
4783
 
@@ -4882,7 +4897,7 @@ var Streamable = /*#__PURE__*/function (_Component) {
4882
4897
  width: '100%',
4883
4898
  height: '100%'
4884
4899
  };
4885
- return /*#__PURE__*/_react["default"].createElement("iframe", {
4900
+ return _react["default"].createElement("iframe", {
4886
4901
  ref: this.ref,
4887
4902
  src: "https://streamable.com/o/".concat(id),
4888
4903
  frameBorder: "0",
@@ -4910,7 +4925,7 @@ exports["default"] = _default;
4910
4925
  });
4911
4926
 
4912
4927
  unwrapExports(Streamable_1);
4913
- Streamable_1.Streamable;
4928
+ var Streamable_2 = Streamable_1.Streamable;
4914
4929
 
4915
4930
  var Wistia_1 = createCommonjsModule(function (module, exports) {
4916
4931
 
@@ -4943,16 +4958,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
4943
4958
 
4944
4959
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4945
4960
 
4946
- 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); }; }
4947
-
4948
4961
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4949
4962
 
4950
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4951
-
4952
- 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; } }
4953
-
4954
4963
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4955
4964
 
4965
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4966
+
4956
4967
  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); }
4957
4968
 
4958
4969
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -4963,48 +4974,26 @@ var SDK_URL = 'https://fast.wistia.com/assets/external/E-v1.js';
4963
4974
  var SDK_GLOBAL = 'Wistia';
4964
4975
  var MATCH_URL = /(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/;
4965
4976
 
4966
- var Wistia = /*#__PURE__*/function (_Component) {
4977
+ var Wistia =
4978
+ /*#__PURE__*/
4979
+ function (_Component) {
4967
4980
  _inherits(Wistia, _Component);
4968
4981
 
4969
- var _super = _createSuper(Wistia);
4970
-
4971
4982
  function Wistia() {
4983
+ var _getPrototypeOf2;
4984
+
4972
4985
  var _this;
4973
4986
 
4974
4987
  _classCallCheck(this, Wistia);
4975
4988
 
4976
- for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {
4977
- _args[_key] = arguments[_key];
4989
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4990
+ args[_key] = arguments[_key];
4978
4991
  }
4979
4992
 
4980
- _this = _super.call.apply(_super, [this].concat(_args));
4993
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Wistia)).call.apply(_getPrototypeOf2, [this].concat(args)));
4981
4994
 
4982
4995
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
4983
4996
 
4984
- _defineProperty(_assertThisInitialized(_this), "onPlay", function () {
4985
- var _this$props;
4986
-
4987
- return (_this$props = _this.props).onPlay.apply(_this$props, arguments);
4988
- });
4989
-
4990
- _defineProperty(_assertThisInitialized(_this), "onPause", function () {
4991
- var _this$props2;
4992
-
4993
- return (_this$props2 = _this.props).onPause.apply(_this$props2, arguments);
4994
- });
4995
-
4996
- _defineProperty(_assertThisInitialized(_this), "onSeek", function () {
4997
- var _this$props3;
4998
-
4999
- return (_this$props3 = _this.props).onSeek.apply(_this$props3, arguments);
5000
- });
5001
-
5002
- _defineProperty(_assertThisInitialized(_this), "onEnded", function () {
5003
- var _this$props4;
5004
-
5005
- return (_this$props4 = _this.props).onEnded.apply(_this$props4, arguments);
5006
- });
5007
-
5008
4997
  _defineProperty(_assertThisInitialized(_this), "mute", function () {
5009
4998
  _this.callPlayer('mute');
5010
4999
  });
@@ -5026,13 +5015,17 @@ var Wistia = /*#__PURE__*/function (_Component) {
5026
5015
  value: function load(url) {
5027
5016
  var _this2 = this;
5028
5017
 
5029
- var _this$props5 = this.props,
5030
- playing = _this$props5.playing,
5031
- muted = _this$props5.muted,
5032
- controls = _this$props5.controls,
5033
- _onReady = _this$props5.onReady,
5034
- config = _this$props5.config,
5035
- onError = _this$props5.onError;
5018
+ var _this$props = this.props,
5019
+ playing = _this$props.playing,
5020
+ muted = _this$props.muted,
5021
+ controls = _this$props.controls,
5022
+ _onReady = _this$props.onReady,
5023
+ onPlay = _this$props.onPlay,
5024
+ onPause = _this$props.onPause,
5025
+ onSeek = _this$props.onSeek,
5026
+ onEnded = _this$props.onEnded,
5027
+ config = _this$props.config,
5028
+ onError = _this$props.onError;
5036
5029
  (0, utils.getSDK)(SDK_URL, SDK_GLOBAL).then(function () {
5037
5030
  window._wq = window._wq || [];
5038
5031
 
@@ -5049,28 +5042,19 @@ var Wistia = /*#__PURE__*/function (_Component) {
5049
5042
 
5050
5043
  _this2.unbind();
5051
5044
 
5052
- _this2.player.bind('play', _this2.onPlay);
5045
+ _this2.player.bind('play', onPlay);
5053
5046
 
5054
- _this2.player.bind('pause', _this2.onPause);
5047
+ _this2.player.bind('pause', onPause);
5055
5048
 
5056
- _this2.player.bind('seek', _this2.onSeek);
5049
+ _this2.player.bind('seek', onSeek);
5057
5050
 
5058
- _this2.player.bind('end', _this2.onEnded);
5051
+ _this2.player.bind('end', onEnded);
5059
5052
 
5060
5053
  _onReady();
5061
5054
  }
5062
5055
  });
5063
5056
  }, onError);
5064
5057
  }
5065
- }, {
5066
- key: "unbind",
5067
- value: function unbind() {
5068
- this.player.unbind('play', this.onPlay);
5069
- this.player.unbind('pause', this.onPause);
5070
- this.player.unbind('seek', this.onSeek);
5071
- this.player.unbind('end', this.onEnded);
5072
- } // Proxy methods to prevent listener leaks
5073
-
5074
5058
  }, {
5075
5059
  key: "play",
5076
5060
  value: function play() {
@@ -5081,6 +5065,19 @@ var Wistia = /*#__PURE__*/function (_Component) {
5081
5065
  value: function pause() {
5082
5066
  this.callPlayer('pause');
5083
5067
  }
5068
+ }, {
5069
+ key: "unbind",
5070
+ value: function unbind() {
5071
+ var _this$props2 = this.props,
5072
+ onPlay = _this$props2.onPlay,
5073
+ onPause = _this$props2.onPause,
5074
+ onSeek = _this$props2.onSeek,
5075
+ onEnded = _this$props2.onEnded;
5076
+ this.player.unbind('play', onPlay);
5077
+ this.player.unbind('pause', onPause);
5078
+ this.player.unbind('seek', onSeek);
5079
+ this.player.unbind('end', onEnded);
5080
+ }
5084
5081
  }, {
5085
5082
  key: "stop",
5086
5083
  value: function stop() {
@@ -5126,7 +5123,7 @@ var Wistia = /*#__PURE__*/function (_Component) {
5126
5123
  width: '100%',
5127
5124
  height: '100%'
5128
5125
  };
5129
- return /*#__PURE__*/_react["default"].createElement("div", {
5126
+ return _react["default"].createElement("div", {
5130
5127
  key: id,
5131
5128
  className: className,
5132
5129
  style: style
@@ -5153,7 +5150,7 @@ exports["default"] = _default;
5153
5150
  });
5154
5151
 
5155
5152
  unwrapExports(Wistia_1);
5156
- Wistia_1.Wistia;
5153
+ var Wistia_2 = Wistia_1.Wistia;
5157
5154
 
5158
5155
  var Twitch_1 = createCommonjsModule(function (module, exports) {
5159
5156
 
@@ -5186,16 +5183,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5186
5183
 
5187
5184
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5188
5185
 
5189
- 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); }; }
5190
-
5191
5186
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5192
5187
 
5193
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5194
-
5195
- 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; } }
5196
-
5197
5188
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5198
5189
 
5190
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5191
+
5199
5192
  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); }
5200
5193
 
5201
5194
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5208,12 +5201,14 @@ var MATCH_VIDEO_URL = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;
5208
5201
  var MATCH_CHANNEL_URL = /(?:www\.|go\.)?twitch\.tv\/([a-z0-9_]+)($|\?)/;
5209
5202
  var PLAYER_ID_PREFIX = 'twitch-player-';
5210
5203
 
5211
- var Twitch = /*#__PURE__*/function (_Component) {
5204
+ var Twitch =
5205
+ /*#__PURE__*/
5206
+ function (_Component) {
5212
5207
  _inherits(Twitch, _Component);
5213
5208
 
5214
- var _super = _createSuper(Twitch);
5215
-
5216
5209
  function Twitch() {
5210
+ var _getPrototypeOf2;
5211
+
5217
5212
  var _this;
5218
5213
 
5219
5214
  _classCallCheck(this, Twitch);
@@ -5222,7 +5217,7 @@ var Twitch = /*#__PURE__*/function (_Component) {
5222
5217
  args[_key] = arguments[_key];
5223
5218
  }
5224
5219
 
5225
- _this = _super.call.apply(_super, [this].concat(args));
5220
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Twitch)).call.apply(_getPrototypeOf2, [this].concat(args)));
5226
5221
 
5227
5222
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5228
5223
 
@@ -5343,7 +5338,7 @@ var Twitch = /*#__PURE__*/function (_Component) {
5343
5338
  width: '100%',
5344
5339
  height: '100%'
5345
5340
  };
5346
- return /*#__PURE__*/_react["default"].createElement("div", {
5341
+ return _react["default"].createElement("div", {
5347
5342
  style: style,
5348
5343
  id: this.playerID
5349
5344
  });
@@ -5369,7 +5364,7 @@ exports["default"] = _default;
5369
5364
  });
5370
5365
 
5371
5366
  unwrapExports(Twitch_1);
5372
- Twitch_1.Twitch;
5367
+ var Twitch_2 = Twitch_1.Twitch;
5373
5368
 
5374
5369
  var DailyMotion_1 = createCommonjsModule(function (module, exports) {
5375
5370
 
@@ -5396,15 +5391,11 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5396
5391
 
5397
5392
  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; }
5398
5393
 
5399
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5394
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
5400
5395
 
5401
- 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."); }
5396
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
5402
5397
 
5403
- 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); }
5404
-
5405
- 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; }
5406
-
5407
- 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; }
5398
+ 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; }
5408
5399
 
5409
5400
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
5410
5401
 
@@ -5414,16 +5405,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5414
5405
 
5415
5406
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5416
5407
 
5417
- 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); }; }
5418
-
5419
5408
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5420
5409
 
5421
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5422
-
5423
- 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; } }
5424
-
5425
5410
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5426
5411
 
5412
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5413
+
5427
5414
  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); }
5428
5415
 
5429
5416
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5435,12 +5422,14 @@ var SDK_GLOBAL = 'DM';
5435
5422
  var SDK_GLOBAL_READY = 'dmAsyncInit';
5436
5423
  var MATCH_URL = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;
5437
5424
 
5438
- var DailyMotion = /*#__PURE__*/function (_Component) {
5425
+ var DailyMotion =
5426
+ /*#__PURE__*/
5427
+ function (_Component) {
5439
5428
  _inherits(DailyMotion, _Component);
5440
5429
 
5441
- var _super = _createSuper(DailyMotion);
5442
-
5443
5430
  function DailyMotion() {
5431
+ var _getPrototypeOf2;
5432
+
5444
5433
  var _this;
5445
5434
 
5446
5435
  _classCallCheck(this, DailyMotion);
@@ -5449,7 +5438,7 @@ var DailyMotion = /*#__PURE__*/function (_Component) {
5449
5438
  args[_key] = arguments[_key];
5450
5439
  }
5451
5440
 
5452
- _this = _super.call.apply(_super, [this].concat(args));
5441
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(DailyMotion)).call.apply(_getPrototypeOf2, [this].concat(args)));
5453
5442
 
5454
5443
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5455
5444
 
@@ -5578,9 +5567,9 @@ var DailyMotion = /*#__PURE__*/function (_Component) {
5578
5567
  height: '100%',
5579
5568
  display: display
5580
5569
  };
5581
- return /*#__PURE__*/_react["default"].createElement("div", {
5570
+ return _react["default"].createElement("div", {
5582
5571
  style: style
5583
- }, /*#__PURE__*/_react["default"].createElement("div", {
5572
+ }, _react["default"].createElement("div", {
5584
5573
  ref: this.ref
5585
5574
  }));
5586
5575
  }
@@ -5605,7 +5594,7 @@ exports["default"] = _default;
5605
5594
  });
5606
5595
 
5607
5596
  unwrapExports(DailyMotion_1);
5608
- DailyMotion_1.DailyMotion;
5597
+ var DailyMotion_2 = DailyMotion_1.DailyMotion;
5609
5598
 
5610
5599
  var Mixcloud_1 = createCommonjsModule(function (module, exports) {
5611
5600
 
@@ -5638,16 +5627,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5638
5627
 
5639
5628
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5640
5629
 
5641
- 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); }; }
5642
-
5643
5630
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5644
5631
 
5645
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5646
-
5647
- 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; } }
5648
-
5649
5632
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5650
5633
 
5634
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5635
+
5651
5636
  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); }
5652
5637
 
5653
5638
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -5658,12 +5643,14 @@ var SDK_URL = 'https://widget.mixcloud.com/media/js/widgetApi.js';
5658
5643
  var SDK_GLOBAL = 'Mixcloud';
5659
5644
  var MATCH_URL = /mixcloud\.com\/([^/]+\/[^/]+)/;
5660
5645
 
5661
- var Mixcloud = /*#__PURE__*/function (_Component) {
5646
+ var Mixcloud =
5647
+ /*#__PURE__*/
5648
+ function (_Component) {
5662
5649
  _inherits(Mixcloud, _Component);
5663
5650
 
5664
- var _super = _createSuper(Mixcloud);
5665
-
5666
5651
  function Mixcloud() {
5652
+ var _getPrototypeOf2;
5653
+
5667
5654
  var _this;
5668
5655
 
5669
5656
  _classCallCheck(this, Mixcloud);
@@ -5672,7 +5659,7 @@ var Mixcloud = /*#__PURE__*/function (_Component) {
5672
5659
  args[_key] = arguments[_key];
5673
5660
  }
5674
5661
 
5675
- _this = _super.call.apply(_super, [this].concat(args));
5662
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Mixcloud)).call.apply(_getPrototypeOf2, [this].concat(args)));
5676
5663
 
5677
5664
  _defineProperty(_assertThisInitialized(_this), "callPlayer", utils.callPlayer);
5678
5665
 
@@ -5775,7 +5762,7 @@ var Mixcloud = /*#__PURE__*/function (_Component) {
5775
5762
  })); // We have to give the iframe a key here to prevent a
5776
5763
  // weird dialog appearing when loading a new track
5777
5764
 
5778
- return /*#__PURE__*/_react["default"].createElement("iframe", {
5765
+ return _react["default"].createElement("iframe", {
5779
5766
  key: id,
5780
5767
  ref: this.ref,
5781
5768
  style: style,
@@ -5804,7 +5791,7 @@ exports["default"] = _default;
5804
5791
  });
5805
5792
 
5806
5793
  unwrapExports(Mixcloud_1);
5807
- Mixcloud_1.Mixcloud;
5794
+ var Mixcloud_2 = Mixcloud_1.Mixcloud;
5808
5795
 
5809
5796
  var FilePlayer_1 = createCommonjsModule(function (module, exports) {
5810
5797
 
@@ -5835,33 +5822,23 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5835
5822
 
5836
5823
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
5837
5824
 
5838
- 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); }; }
5839
-
5840
5825
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
5841
5826
 
5842
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5843
-
5844
- 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; } }
5845
-
5846
5827
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
5847
5828
 
5829
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
5830
+
5848
5831
  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); }
5849
5832
 
5850
5833
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
5851
5834
 
5852
5835
  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; }
5853
5836
 
5854
- 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; } } }; }
5855
-
5856
- 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); }
5857
-
5858
- 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; }
5859
-
5860
5837
  var IOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
5861
5838
  var AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;
5862
5839
  var VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;
5863
5840
  var HLS_EXTENSIONS = /\.(m3u8)($|\?)/i;
5864
- var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js';
5841
+ var HLS_SDK_URL = 'https://cdn.jsdelivr.net/npm/hls.js@VERSION';
5865
5842
  var HLS_GLOBAL = 'Hls';
5866
5843
  var DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
5867
5844
  var DASH_SDK_URL = 'https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js';
@@ -5870,11 +5847,12 @@ var MATCH_DROPBOX_URL = /www\.dropbox\.com\/.+/;
5870
5847
 
5871
5848
  function canPlay(url) {
5872
5849
  if (url instanceof Array) {
5873
- var _iterator = _createForOfIteratorHelper(url),
5874
- _step;
5850
+ var _iteratorNormalCompletion = true;
5851
+ var _didIteratorError = false;
5852
+ var _iteratorError = undefined;
5875
5853
 
5876
5854
  try {
5877
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
5855
+ for (var _iterator = url[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
5878
5856
  var item = _step.value;
5879
5857
 
5880
5858
  if (typeof item === 'string' && canPlay(item)) {
@@ -5886,9 +5864,18 @@ function canPlay(url) {
5886
5864
  }
5887
5865
  }
5888
5866
  } catch (err) {
5889
- _iterator.e(err);
5867
+ _didIteratorError = true;
5868
+ _iteratorError = err;
5890
5869
  } finally {
5891
- _iterator.f();
5870
+ try {
5871
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
5872
+ _iterator["return"]();
5873
+ }
5874
+ } finally {
5875
+ if (_didIteratorError) {
5876
+ throw _iteratorError;
5877
+ }
5878
+ }
5892
5879
  }
5893
5880
 
5894
5881
  return false;
@@ -5912,12 +5899,14 @@ function canEnablePIP(url) {
5912
5899
  return canPlay(url) && (!!document.pictureInPictureEnabled || supportsWebKitPresentationMode()) && !AUDIO_EXTENSIONS.test(url);
5913
5900
  }
5914
5901
 
5915
- var FilePlayer = /*#__PURE__*/function (_Component) {
5902
+ var FilePlayer =
5903
+ /*#__PURE__*/
5904
+ function (_Component) {
5916
5905
  _inherits(FilePlayer, _Component);
5917
5906
 
5918
- var _super = _createSuper(FilePlayer);
5919
-
5920
5907
  function FilePlayer() {
5908
+ var _getPrototypeOf2;
5909
+
5921
5910
  var _this;
5922
5911
 
5923
5912
  _classCallCheck(this, FilePlayer);
@@ -5926,7 +5915,7 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
5926
5915
  _args[_key] = arguments[_key];
5927
5916
  }
5928
5917
 
5929
- _this = _super.call.apply(_super, [this].concat(_args));
5918
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(FilePlayer)).call.apply(_getPrototypeOf2, [this].concat(_args)));
5930
5919
 
5931
5920
  _defineProperty(_assertThisInitialized(_this), "onReady", function () {
5932
5921
  var _this$props;
@@ -6013,19 +6002,19 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6013
6002
 
6014
6003
  _defineProperty(_assertThisInitialized(_this), "renderSourceElement", function (source, index) {
6015
6004
  if (typeof source === 'string') {
6016
- return /*#__PURE__*/_react["default"].createElement("source", {
6005
+ return _react["default"].createElement("source", {
6017
6006
  key: index,
6018
6007
  src: source
6019
6008
  });
6020
6009
  }
6021
6010
 
6022
- return /*#__PURE__*/_react["default"].createElement("source", _extends({
6011
+ return _react["default"].createElement("source", _extends({
6023
6012
  key: index
6024
6013
  }, source));
6025
6014
  });
6026
6015
 
6027
6016
  _defineProperty(_assertThisInitialized(_this), "renderTrack", function (track, index) {
6028
- return /*#__PURE__*/_react["default"].createElement("track", _extends({
6017
+ return _react["default"].createElement("track", _extends({
6029
6018
  key: index
6030
6019
  }, track));
6031
6020
  });
@@ -6063,10 +6052,6 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6063
6052
  key: "componentWillUnmount",
6064
6053
  value: function componentWillUnmount() {
6065
6054
  this.removeListeners(this.player);
6066
-
6067
- if (this.hls) {
6068
- this.hls.destroy();
6069
- }
6070
6055
  }
6071
6056
  }, {
6072
6057
  key: "addListeners",
@@ -6197,6 +6182,10 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6197
6182
  value: function stop() {
6198
6183
  this.player.removeAttribute('src');
6199
6184
 
6185
+ if (this.hls) {
6186
+ this.hls.destroy();
6187
+ }
6188
+
6200
6189
  if (this.dash) {
6201
6190
  this.dash.reset();
6202
6191
  }
@@ -6308,7 +6297,7 @@ var FilePlayer = /*#__PURE__*/function (_Component) {
6308
6297
  width: width === 'auto' ? width : '100%',
6309
6298
  height: height === 'auto' ? height : '100%'
6310
6299
  };
6311
- return /*#__PURE__*/_react["default"].createElement(Element, _extends({
6300
+ return _react["default"].createElement(Element, _extends({
6312
6301
  ref: this.ref,
6313
6302
  src: this.getSource(url),
6314
6303
  style: style,
@@ -6338,7 +6327,7 @@ exports["default"] = _default;
6338
6327
  });
6339
6328
 
6340
6329
  unwrapExports(FilePlayer_1);
6341
- FilePlayer_1.FilePlayer;
6330
+ var FilePlayer_2 = FilePlayer_1.FilePlayer;
6342
6331
 
6343
6332
  var players = createCommonjsModule(function (module, exports) {
6344
6333
 
@@ -6398,16 +6387,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6398
6387
 
6399
6388
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6400
6389
 
6401
- 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); }; }
6402
-
6403
6390
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6404
6391
 
6405
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6406
-
6407
- 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; } }
6408
-
6409
6392
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6410
6393
 
6394
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6395
+
6411
6396
  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); }
6412
6397
 
6413
6398
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6416,12 +6401,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6416
6401
 
6417
6402
  var ICON_SIZE = '64px';
6418
6403
 
6419
- var Preview = /*#__PURE__*/function (_Component) {
6404
+ var Preview =
6405
+ /*#__PURE__*/
6406
+ function (_Component) {
6420
6407
  _inherits(Preview, _Component);
6421
6408
 
6422
- var _super = _createSuper(Preview);
6423
-
6424
6409
  function Preview() {
6410
+ var _getPrototypeOf2;
6411
+
6425
6412
  var _this;
6426
6413
 
6427
6414
  _classCallCheck(this, Preview);
@@ -6430,7 +6417,7 @@ var Preview = /*#__PURE__*/function (_Component) {
6430
6417
  args[_key] = arguments[_key];
6431
6418
  }
6432
6419
 
6433
- _this = _super.call.apply(_super, [this].concat(args));
6420
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Preview)).call.apply(_getPrototypeOf2, [this].concat(args)));
6434
6421
 
6435
6422
  _defineProperty(_assertThisInitialized(_this), "mounted", false);
6436
6423
 
@@ -6528,15 +6515,15 @@ var Preview = /*#__PURE__*/function (_Component) {
6528
6515
  }
6529
6516
  };
6530
6517
 
6531
- var defaultPlayIcon = /*#__PURE__*/_react["default"].createElement("div", {
6518
+ var defaultPlayIcon = _react["default"].createElement("div", {
6532
6519
  style: styles.shadow,
6533
6520
  className: "react-player__shadow"
6534
- }, /*#__PURE__*/_react["default"].createElement("div", {
6521
+ }, _react["default"].createElement("div", {
6535
6522
  style: styles.playIcon,
6536
6523
  className: "react-player__play-icon"
6537
6524
  }));
6538
6525
 
6539
- return /*#__PURE__*/_react["default"].createElement("div", {
6526
+ return _react["default"].createElement("div", {
6540
6527
  style: styles.preview,
6541
6528
  className: "react-player__preview",
6542
6529
  onClick: onClick
@@ -6573,12 +6560,6 @@ var _Player = _interopRequireDefault(Player_1);
6573
6560
 
6574
6561
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
6575
6562
 
6576
- 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; } } }; }
6577
-
6578
- 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); }
6579
-
6580
- 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; }
6581
-
6582
6563
  var PRELOAD_PLAYERS = [{
6583
6564
  Player: YouTube_1.YouTube,
6584
6565
  configKey: 'youtube',
@@ -6599,16 +6580,16 @@ var PRELOAD_PLAYERS = [{
6599
6580
 
6600
6581
  function renderPreloadPlayers(url, controls, config) {
6601
6582
  var players = [];
6602
-
6603
- var _iterator = _createForOfIteratorHelper(PRELOAD_PLAYERS),
6604
- _step;
6583
+ var _iteratorNormalCompletion = true;
6584
+ var _didIteratorError = false;
6585
+ var _iteratorError = undefined;
6605
6586
 
6606
6587
  try {
6607
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
6588
+ for (var _iterator = PRELOAD_PLAYERS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
6608
6589
  var player = _step.value;
6609
6590
 
6610
6591
  if (!player.Player.canPlay(url) && config[player.configKey].preload) {
6611
- players.push( /*#__PURE__*/_react["default"].createElement(_Player["default"], {
6592
+ players.push(_react["default"].createElement(_Player["default"], {
6612
6593
  key: player.Player.displayName,
6613
6594
  activePlayer: player.Player,
6614
6595
  url: player.url,
@@ -6620,9 +6601,18 @@ function renderPreloadPlayers(url, controls, config) {
6620
6601
  }
6621
6602
  }
6622
6603
  } catch (err) {
6623
- _iterator.e(err);
6604
+ _didIteratorError = true;
6605
+ _iteratorError = err;
6624
6606
  } finally {
6625
- _iterator.f();
6607
+ try {
6608
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
6609
+ _iterator["return"]();
6610
+ }
6611
+ } finally {
6612
+ if (_didIteratorError) {
6613
+ throw _iteratorError;
6614
+ }
6615
+ }
6626
6616
  }
6627
6617
 
6628
6618
  return players;
@@ -6746,17 +6736,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
6746
6736
 
6747
6737
  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); }
6748
6738
 
6749
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
6739
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
6750
6740
 
6751
- 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."); }
6741
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
6752
6742
 
6753
- 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); }
6743
+ function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
6754
6744
 
6755
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
6756
-
6757
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6758
-
6759
- 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; }
6745
+ 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; } }
6760
6746
 
6761
6747
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6762
6748
 
@@ -6764,16 +6750,12 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
6764
6750
 
6765
6751
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
6766
6752
 
6767
- 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); }; }
6768
-
6769
6753
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
6770
6754
 
6771
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6772
-
6773
- 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; } }
6774
-
6775
6755
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
6776
6756
 
6757
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6758
+
6777
6759
  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); }
6778
6760
 
6779
6761
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -6783,12 +6765,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
6783
6765
  var SUPPORTED_PROPS = Object.keys(props.propTypes);
6784
6766
  var customPlayers = [];
6785
6767
 
6786
- var ReactPlayer = /*#__PURE__*/function (_Component) {
6768
+ var ReactPlayer =
6769
+ /*#__PURE__*/
6770
+ function (_Component) {
6787
6771
  _inherits(ReactPlayer, _Component);
6788
6772
 
6789
- var _super = _createSuper(ReactPlayer);
6790
-
6791
6773
  function ReactPlayer() {
6774
+ var _getPrototypeOf2;
6775
+
6792
6776
  var _this;
6793
6777
 
6794
6778
  _classCallCheck(this, ReactPlayer);
@@ -6797,7 +6781,7 @@ var ReactPlayer = /*#__PURE__*/function (_Component) {
6797
6781
  args[_key] = arguments[_key];
6798
6782
  }
6799
6783
 
6800
- _this = _super.call.apply(_super, [this].concat(args));
6784
+ _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(ReactPlayer)).call.apply(_getPrototypeOf2, [this].concat(args)));
6801
6785
 
6802
6786
  _defineProperty(_assertThisInitialized(_this), "config", (0, utils.getConfig)(_this.props, props.defaultProps, true));
6803
6787
 
@@ -6908,7 +6892,7 @@ var ReactPlayer = /*#__PURE__*/function (_Component) {
6908
6892
  key: "renderActivePlayer",
6909
6893
  value: function renderActivePlayer(url, activePlayer) {
6910
6894
  if (!url) return null;
6911
- return /*#__PURE__*/_react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6895
+ return _react["default"].createElement(_Player4["default"], _extends({}, this.props, {
6912
6896
  key: activePlayer.displayName,
6913
6897
  ref: this.activePlayerRef,
6914
6898
  config: this.config,
@@ -6945,14 +6929,14 @@ var ReactPlayer = /*#__PURE__*/function (_Component) {
6945
6929
  var preloadPlayers = (0, _preload["default"])(url, controls, this.config);
6946
6930
  var players = [renderedActivePlayer].concat(_toConsumableArray(preloadPlayers)).sort(this.sortPlayers);
6947
6931
 
6948
- var preview = /*#__PURE__*/_react["default"].createElement(_Preview["default"], {
6932
+ var preview = _react["default"].createElement(_Preview["default"], {
6949
6933
  url: url,
6950
6934
  light: light,
6951
6935
  playIcon: playIcon,
6952
6936
  onClick: this.handleClickPreview
6953
6937
  });
6954
6938
 
6955
- return /*#__PURE__*/_react["default"].createElement(Wrapper, _extends({
6939
+ return _react["default"].createElement(Wrapper, _extends({
6956
6940
  ref: this.wrapperRef,
6957
6941
  style: _objectSpread({}, style, {
6958
6942
  width: width,
@@ -7279,8 +7263,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7279
7263
  var duration = player.getDuration();
7280
7264
  var queue = Math.floor(duration / 10);
7281
7265
  var segment = Math.floor(current / queue);
7282
- Beam.report_beam_video('Ready', main_18, duration, current, segment);
7283
- Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7266
+ Beam.report_beam_video('Ready', main_16, duration, current, segment);
7267
+ Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7284
7268
  //autoplay
7285
7269
 
7286
7270
  //Small pause before starting next video
@@ -7300,8 +7284,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7300
7284
  var queue = Math.floor(duration / 10);
7301
7285
  var segment = Math.floor(current / queue);
7302
7286
 
7303
- Beam.report_beam_video('End', main_18, duration, current, segment);
7304
- Segment.report_video_event('Video End', main_18, duration, current, segment);
7287
+ Beam.report_beam_video('End', main_16, duration, current, segment);
7288
+ Segment.report_video_event('Video End', main_16, duration, current, segment);
7305
7289
  setEndReported(true);
7306
7290
  clearInterval(intervalID);
7307
7291
  }
@@ -7351,8 +7335,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7351
7335
  var queue = Math.floor(duration / 10);
7352
7336
  var segment = Math.floor(current / queue);
7353
7337
  if (!queueProgress.includes(segment)) {
7354
- Beam.report_beam_video('Segment', main_18, duration, current, segment);
7355
- Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7338
+ Beam.report_beam_video('Segment', main_16, duration, current, segment);
7339
+ Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7356
7340
  queueProgress.push(segment);
7357
7341
  }
7358
7342
  };
@@ -7365,8 +7349,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7365
7349
  var queue = Math.floor(duration / 10);
7366
7350
  var segment = Math.floor(current / queue);
7367
7351
 
7368
- Beam.report_beam_video('Play', main_18, duration, current, segment);
7369
- Segment.report_video_event('Video Play', main_18, duration, current, segment);
7352
+ Beam.report_beam_video('Play', main_16, duration, current, segment);
7353
+ Segment.report_video_event('Video Play', main_16, duration, current, segment);
7370
7354
 
7371
7355
  if (!playReported) {
7372
7356
  setPlayReported(true);
@@ -7384,8 +7368,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7384
7368
  var queue = Math.floor(duration / 10);
7385
7369
  var segment = Math.floor(current / queue);
7386
7370
 
7387
- Beam.report_beam_video('Pause', main_18, duration, current, segment);
7388
- Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7371
+ Beam.report_beam_video('Pause', main_16, duration, current, segment);
7372
+ Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7389
7373
  };
7390
7374
 
7391
7375
  // Youtube Options
@@ -7503,7 +7487,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7503
7487
  React__default.createElement(
7504
7488
  'div',
7505
7489
  { className: 'vid-text' },
7506
- 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()))
7490
+ 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()))
7507
7491
  ),
7508
7492
  React__default.createElement(
7509
7493
  'style',
@@ -7513,14 +7497,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7513
7497
  );
7514
7498
  };
7515
7499
 
7516
- var Poll$1 = function Poll(_ref) {
7517
- var node = _ref.node;
7518
- _ref.client;
7519
- _ref.pageview;
7520
- _ref.videoAccountIDs;
7521
- var onVote = _ref.onVote;
7522
- _ref.showVotes;
7523
- var getSerializers = _ref.getSerializers;
7500
+ var Poll = function Poll(_ref) {
7501
+ var node = _ref.node,
7502
+ client = _ref.client,
7503
+ pageview = _ref.pageview,
7504
+ videoAccountIDs = _ref.videoAccountIDs,
7505
+ onVote = _ref.onVote,
7506
+ _ref$showVotes = _ref.showVotes,
7507
+ getSerializers = _ref.getSerializers;
7524
7508
 
7525
7509
  var _useState = useState(null),
7526
7510
  _useState2 = _slicedToArray(_useState, 2),
@@ -7654,22 +7638,22 @@ _export(_export.S, 'Object', {
7654
7638
  }
7655
7639
  });
7656
7640
 
7657
- var values$1 = _core.Object.values;
7641
+ var values = _core.Object.values;
7658
7642
 
7659
- var values = createCommonjsModule(function (module) {
7660
- module.exports = { "default": values$1, __esModule: true };
7643
+ var values$1 = createCommonjsModule(function (module) {
7644
+ module.exports = { "default": values, __esModule: true };
7661
7645
  });
7662
7646
 
7663
- var _Object$values = unwrapExports(values);
7647
+ var _Object$values = unwrapExports(values$1);
7664
7648
 
7665
- var Poll = function Poll(_ref) {
7666
- var node = _ref.node;
7667
- _ref.client;
7668
- _ref.pageview;
7669
- _ref.videoAccountIDs;
7670
- var onVote = _ref.onVote;
7671
- _ref.showVotes;
7672
- var getSerializers = _ref.getSerializers;
7649
+ var Poll$1 = function Poll(_ref) {
7650
+ var node = _ref.node,
7651
+ client = _ref.client,
7652
+ pageview = _ref.pageview,
7653
+ videoAccountIDs = _ref.videoAccountIDs,
7654
+ onVote = _ref.onVote,
7655
+ _ref$showVotes = _ref.showVotes,
7656
+ getSerializers = _ref.getSerializers;
7673
7657
 
7674
7658
  var _useState = useState(null),
7675
7659
  _useState2 = _slicedToArray(_useState, 2),
@@ -7821,7 +7805,7 @@ var Poll = function Poll(_ref) {
7821
7805
  );
7822
7806
  };
7823
7807
 
7824
- var numberOfPaginations = main_42 ? 4 : 10;
7808
+ var numberOfPaginations = main_35 ? 4 : 10;
7825
7809
 
7826
7810
  var Quiz = function Quiz(_ref) {
7827
7811
  var quizzes = _ref.quizzes,
@@ -7940,33 +7924,33 @@ var Quiz = function Quiz(_ref) {
7940
7924
 
7941
7925
  var renderPagination = function renderPagination() {
7942
7926
  return React__default.createElement(
7943
- Pagination,
7944
- { className: 'p-0 m-0', size: main_42 && 'sm' },
7945
- React__default.createElement(Pagination.First, { onClick: function onClick() {
7927
+ Pagination$1,
7928
+ { className: 'p-0 m-0', size: main_35 && 'sm' },
7929
+ React__default.createElement(Pagination$1.First, { onClick: function onClick() {
7946
7930
  return changePage('first');
7947
7931
  }, disabled: currentPage === 1 }),
7948
- React__default.createElement(Pagination.Prev, { onClick: function onClick() {
7932
+ React__default.createElement(Pagination$1.Prev, { onClick: function onClick() {
7949
7933
  return changePage('prev');
7950
7934
  }, disabled: currentPage === 1 }),
7951
- React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7935
+ React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7952
7936
  return renderNewPages('prev');
7953
7937
  }, disabled: !validateIndex(startIndex - numberOfPaginations) }),
7954
7938
  pages.map(function (page) {
7955
7939
  return React__default.createElement(
7956
- Pagination.Item,
7940
+ Pagination$1.Item,
7957
7941
  { key: page, active: page === currentPage, onClick: function onClick() {
7958
7942
  return changePage(page);
7959
7943
  } },
7960
7944
  page
7961
7945
  );
7962
7946
  }),
7963
- React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
7947
+ React__default.createElement(Pagination$1.Ellipsis, { onClick: function onClick() {
7964
7948
  return renderNewPages('next');
7965
7949
  }, disabled: !validateIndex(startIndex + numberOfPaginations) }),
7966
- React__default.createElement(Pagination.Next, { onClick: function onClick() {
7950
+ React__default.createElement(Pagination$1.Next, { onClick: function onClick() {
7967
7951
  return changePage('next');
7968
7952
  }, disabled: currentPage === pageCount }),
7969
- React__default.createElement(Pagination.Last, { onClick: function onClick() {
7953
+ React__default.createElement(Pagination$1.Last, { onClick: function onClick() {
7970
7954
  return changePage('last');
7971
7955
  }, disabled: currentPage === pageCount })
7972
7956
  );
@@ -8111,12 +8095,12 @@ var Leads = function Leads(_ref) {
8111
8095
  );
8112
8096
  };
8113
8097
 
8114
- var urlFor$3 = function urlFor(source, client) {
8098
+ var urlFor$1 = function urlFor(source, client) {
8115
8099
  var builder = imageUrlBuilder(client);
8116
8100
  return builder.image(source).auto('format');
8117
8101
  };
8118
8102
 
8119
- var Slideshow = function Slideshow(_ref) {
8103
+ var Slideshow$1 = function Slideshow(_ref) {
8120
8104
  var slides = _ref.node.slides,
8121
8105
  client = _ref.client,
8122
8106
  pageview = _ref.pageview,
@@ -8128,8 +8112,8 @@ var Slideshow = function Slideshow(_ref) {
8128
8112
 
8129
8113
  var _useState = useState(!pageNumber || isNaN(pageNumber) || pageNumber > slides.length ? 0 : pageNumber - 1),
8130
8114
  _useState2 = _slicedToArray(_useState, 2),
8131
- carouselIndex = _useState2[0];
8132
- _useState2[1];
8115
+ carouselIndex = _useState2[0],
8116
+ setCarouselIndex = _useState2[1];
8133
8117
 
8134
8118
  // useEffect(() => {
8135
8119
  // let itemArr = router.asPath.split('?page=')
@@ -8172,7 +8156,7 @@ var Slideshow = function Slideshow(_ref) {
8172
8156
  React__default.createElement(
8173
8157
  LazyLoad,
8174
8158
  null,
8175
- React__default.createElement('img', { src: urlFor$3(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8159
+ React__default.createElement('img', { src: urlFor$1(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8176
8160
  )
8177
8161
  ),
8178
8162
  React__default.createElement(
@@ -8263,7 +8247,7 @@ var MultiMedia = function MultiMedia(props) {
8263
8247
  { xs: 12, md: 12 / medias.length, key: media._key },
8264
8248
  React__default.createElement(
8265
8249
  'a',
8266
- _extends({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
8250
+ _extends$1({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
8267
8251
  style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
8268
8252
  React__default.createElement(
8269
8253
  'div',
@@ -8555,7 +8539,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8555
8539
 
8556
8540
  var renderAuthorBiography = function renderAuthorBiography(biography) {
8557
8541
  if (biography) {
8558
- return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
8542
+ return React__default.createElement(BlockContent, _extends$1({ serializers: getSerializers, blocks: [biography] }, client.config()));
8559
8543
  }
8560
8544
  };
8561
8545
 
@@ -8641,7 +8625,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8641
8625
  //console.log('useLayoutEffect')
8642
8626
  if (!firstLoad) {
8643
8627
  setUpArrowClicked(false);
8644
- if (main_43) {
8628
+ if (main_36) {
8645
8629
  grabLoadedAds();
8646
8630
  } else {
8647
8631
  scrollToArticle();
@@ -8665,7 +8649,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8665
8649
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8666
8650
  if (pageview) pageview(path);
8667
8651
 
8668
- if (!main_43) {
8652
+ if (!main_36) {
8669
8653
  lib_3.getGoogletag().then(function (googletag) {
8670
8654
  if (window.googletag && googletag.pubadsReady) {
8671
8655
  lib_3.refresh();
@@ -8673,7 +8657,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8673
8657
  });
8674
8658
  }
8675
8659
  //Refresh leaderboard ad on mobile
8676
- if (main_43) {
8660
+ if (main_36) {
8677
8661
  var leaderboardSlotId = '';
8678
8662
  lib_3.getGoogletag().then(function (googletag) {
8679
8663
  if (window.googletag && googletag.pubadsReady) {
@@ -8742,7 +8726,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8742
8726
  React__default.createElement(
8743
8727
  'div',
8744
8728
  { className: 'ad-box', style: { textAlign: 'center' } },
8745
- main_43 && Ads.map(function (ad, index) {
8729
+ main_36 && Ads.map(function (ad, index) {
8746
8730
  if (index === 0) {
8747
8731
  return React__default.createElement(
8748
8732
  'div',
@@ -8833,7 +8817,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8833
8817
  React__default.createElement(
8834
8818
  'div',
8835
8819
  { className: 'mt-2 mb-2' },
8836
- React__default.createElement(BlockContent, _extends({
8820
+ React__default.createElement(BlockContent, _extends$1({
8837
8821
  serializers: getSerializers,
8838
8822
  videoAccountIDs: accountIDs,
8839
8823
  blocks: article.text,
@@ -8864,7 +8848,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8864
8848
  React__default.createElement(
8865
8849
  'div',
8866
8850
  { className: 'ad-box', style: { textAlign: 'center' } },
8867
- main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8851
+ main_36 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8868
8852
  if (innerIndex === 0) {
8869
8853
  return React__default.createElement(
8870
8854
  'div',
@@ -8931,7 +8915,7 @@ var LightBox = function LightBox(_ref) {
8931
8915
  );
8932
8916
  };
8933
8917
 
8934
- var urlFor$1 = function urlFor(source, client) {
8918
+ var urlFor$3 = function urlFor(source, client) {
8935
8919
  var builder = imageUrlBuilder(client);
8936
8920
  return builder.image(source).auto('format');
8937
8921
  };
@@ -8961,10 +8945,10 @@ var FigureImage = React__default.memo(function (_ref2) {
8961
8945
  React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: generateSrcSet(node, client, 1500) }),
8962
8946
  React__default.createElement('source', { media: '(min-width: 600px)', srcSet: generateSrcSet(node, client, 1000) }),
8963
8947
  React__default.createElement('source', { media: '(max-width: 600px)', srcSet: generateSrcSet(node, client, 500) }),
8964
- React__default.createElement('img', _extends({
8948
+ React__default.createElement('img', _extends$1({
8965
8949
  style: figureImageStyle,
8966
8950
  className: 'figure-image',
8967
- src: urlFor$1(node, client).url(),
8951
+ src: urlFor$3(node, client).url(),
8968
8952
  alt: imgAlt ? imgAlt : 'figure image'
8969
8953
  }, !link && {
8970
8954
  onClick: function onClick() {
@@ -9068,7 +9052,7 @@ var FigureComponent = function FigureComponent(props) {
9068
9052
  };
9069
9053
 
9070
9054
  var handleClickFigure = useCallback(function (node, client) {
9071
- setLightboxImgSrc(urlFor$1(node, client).url());
9055
+ setLightboxImgSrc(urlFor$3(node, client).url());
9072
9056
  setShowLightbox(true);
9073
9057
  }, [node, client]);
9074
9058
 
@@ -9076,7 +9060,7 @@ var FigureComponent = function FigureComponent(props) {
9076
9060
  React__default.Fragment,
9077
9061
  null,
9078
9062
  React__default.createElement(
9079
- Figure$2,
9063
+ Figure$1$1,
9080
9064
  { className: '' + class_name, style: figureStyle },
9081
9065
  link ? React__default.createElement(
9082
9066
  'a',
@@ -9108,7 +9092,7 @@ var FigureComponent = function FigureComponent(props) {
9108
9092
 
9109
9093
  var Figure = React__default.memo(FigureComponent, compareProps);
9110
9094
 
9111
- var urlFor = function urlFor(source, client) {
9095
+ var urlFor$4 = function urlFor(source, client) {
9112
9096
  var builder = imageUrlBuilder(client);
9113
9097
  return builder.image(source).auto('format');
9114
9098
  };
@@ -9175,14 +9159,14 @@ var MultiFigure = function MultiFigure(props) {
9175
9159
  { xs: 12, md: 12 / images.length, key: index },
9176
9160
  image.link ? React__default.createElement(
9177
9161
  'a',
9178
- _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9162
+ _extends$1({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
9179
9163
  React__default.createElement(
9180
9164
  'div',
9181
9165
  { className: 'multi-figure-image-container' },
9182
9166
  React__default.createElement(
9183
9167
  LazyLoad,
9184
9168
  { once: true },
9185
- React__default.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor(image.asset, client).url(), alt: image.alt })
9169
+ React__default.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor$4(image.asset, client).url(), alt: image.alt })
9186
9170
  ),
9187
9171
  React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9188
9172
  )
@@ -9195,10 +9179,10 @@ var MultiFigure = function MultiFigure(props) {
9195
9179
  React__default.createElement('img', {
9196
9180
  'images-count': images.length,
9197
9181
  className: 'multi-figure-image',
9198
- src: urlFor(image.asset, client).url(),
9182
+ src: urlFor$4(image.asset, client).url(),
9199
9183
  alt: image.alt,
9200
9184
  onClick: function onClick() {
9201
- setOpenImgSrc(urlFor(image, client).url());
9185
+ setOpenImgSrc(urlFor$4(image, client).url());
9202
9186
  setOpenImg(true);
9203
9187
  }
9204
9188
  })
@@ -9267,7 +9251,7 @@ exports.__esModule = true;
9267
9251
 
9268
9252
 
9269
9253
 
9270
- var _extends3 = _interopRequireDefault(_extends$1);
9254
+ var _extends3 = _interopRequireDefault(_extends$2);
9271
9255
 
9272
9256
 
9273
9257
 
@@ -9436,9 +9420,9 @@ var ScriptTag = function (_Component) {
9436
9420
 
9437
9421
  // The 'isHydrating' prop must NOT be passed to the script tag
9438
9422
  // eslint-disable-next-line no-unused-vars
9439
- var _props3 = this.props;
9440
- _props3.isHydrating;
9441
- var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9423
+ var _props3 = this.props,
9424
+ isHydrating = _props3.isHydrating,
9425
+ tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9442
9426
 
9443
9427
  return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
9444
9428
  return _this2.domRef = tag;
@@ -9580,7 +9564,7 @@ var BlockTable = function BlockTable(props) {
9580
9564
  return React__default.createElement(
9581
9565
  'div',
9582
9566
  { className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
9583
- React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
9567
+ React__default.createElement(BlockContent, _extends$1({ blocks: cell.content, serializers: getSerializers }, client.config()))
9584
9568
  );
9585
9569
  })
9586
9570
  );
@@ -9708,7 +9692,7 @@ var getSerializers = function getSerializers() {
9708
9692
  var node = _ref6.node;
9709
9693
  var slides = node.slides;
9710
9694
 
9711
- return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
9695
+ return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
9712
9696
  },
9713
9697
  sidebar: function sidebar(_ref7) {
9714
9698
  var node = _ref7.node;
@@ -9746,12 +9730,12 @@ var getSerializers = function getSerializers() {
9746
9730
  poll: function poll(_ref13) {
9747
9731
  var node = _ref13.node;
9748
9732
 
9749
- return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9733
+ return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9750
9734
  },
9751
9735
  pollMultiChoice: function pollMultiChoice(_ref14) {
9752
9736
  var node = _ref14.node;
9753
9737
 
9754
- return React__default.createElement(Poll, {
9738
+ return React__default.createElement(Poll$1, {
9755
9739
  node: node,
9756
9740
  client: client,
9757
9741
  pageview: pageview,
@@ -9777,7 +9761,7 @@ var getSerializers = function getSerializers() {
9777
9761
  slideshows: function slideshows(_ref17) {
9778
9762
  var node = _ref17.node;
9779
9763
 
9780
- return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9764
+ return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9781
9765
  },
9782
9766
  nativeAd: function nativeAd(_ref18) {
9783
9767
  var node = _ref18.node;