@mjhls/mjh-framework 1.0.816-beta.0 → 1.0.816

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