@mjhls/mjh-framework 1.0.848 → 1.0.849

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 (287) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +23 -24
  4. package/dist/cjs/AD300x250x600.js +23 -24
  5. package/dist/cjs/AD728x90.js +26 -27
  6. package/dist/cjs/ADFloatingFooter.js +22 -23
  7. package/dist/cjs/ADFooter.js +6 -6
  8. package/dist/cjs/ADGutter.js +22 -23
  9. package/dist/cjs/{ADInfeed-9d179b24.js → ADInfeed-86e987a0.js} +4 -4
  10. package/dist/cjs/ADSkyscraper.js +22 -23
  11. package/dist/cjs/ADSponsoredResources.js +22 -23
  12. package/dist/cjs/ADWebcast.js +22 -23
  13. package/dist/cjs/ADWelcome.js +19 -20
  14. package/dist/cjs/{ADlgInfeed-e1ba988c.js → ADlgInfeed-5d6f91d7.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +8 -8
  16. package/dist/cjs/AdSlot.js +23 -24
  17. package/dist/cjs/AdSlotsProvider.js +13 -14
  18. package/dist/cjs/AlgoliaSearch.js +30 -14111
  19. package/dist/cjs/AlphabeticList.js +10 -10
  20. package/dist/cjs/ArticleCarousel.js +17 -17
  21. package/dist/cjs/ArticleProgramLandingPage.js +50 -50
  22. package/dist/cjs/ArticleSeriesLandingPage.js +31 -32
  23. package/dist/cjs/ArticleSeriesListing.js +32 -33
  24. package/dist/cjs/Auth.js +348 -484
  25. package/dist/cjs/AuthWrapper.js +10 -587
  26. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
  29. package/dist/cjs/Breadcrumbs.js +8 -8
  30. package/dist/cjs/CMEDeck.js +24 -25
  31. package/dist/cjs/Column2.js +16 -16
  32. package/dist/cjs/Column3.js +32 -33
  33. package/dist/cjs/ConferenceArticleCard.js +7 -7
  34. package/dist/cjs/DeckContent.js +33 -34
  35. package/dist/cjs/DeckQueue.js +30 -31
  36. package/dist/cjs/{Dfp-93399f8c.js → Dfp-0bf098b5.js} +14 -15
  37. package/dist/cjs/EventsDeck.js +28 -28
  38. package/dist/cjs/ExternalResources.js +47 -47
  39. package/dist/cjs/Feature.js +4 -4
  40. package/dist/cjs/ForbesHero.js +12 -12
  41. package/dist/cjs/GridContent.js +46 -47
  42. package/dist/cjs/GridHero.js +13 -13
  43. package/dist/cjs/GroupDeck.js +14 -14
  44. package/dist/cjs/HamMagazine.js +27 -27
  45. package/dist/cjs/Hero.js +4 -4
  46. package/dist/cjs/HighlightenVideo.js +2 -2
  47. package/dist/cjs/HorizontalArticleListing.js +47 -47
  48. package/dist/cjs/HorizontalHero.js +4 -4
  49. package/dist/cjs/IssueContentDeck.js +13 -13
  50. package/dist/cjs/IssueDeck.js +16 -16
  51. package/dist/cjs/IssueLanding.js +56 -56
  52. package/dist/cjs/LeftNav.js +21 -22
  53. package/dist/cjs/MasterDeck.js +32 -33
  54. package/dist/cjs/MediaSeriesLanding.js +842 -941
  55. package/dist/cjs/NavDvm.js +13 -13
  56. package/dist/cjs/NavMagazine.js +30 -30
  57. package/dist/cjs/NavNative.js +32 -32
  58. package/dist/cjs/OncliveHero.js +4 -4
  59. package/dist/cjs/OncliveLargeHero.js +13 -13
  60. package/dist/cjs/PageFilter.js +6 -6
  61. package/dist/cjs/PartnerDetailListing.js +1257 -60
  62. package/dist/cjs/PdfDownload.js +1 -1
  63. package/dist/cjs/PopUpModal.js +6 -6
  64. package/dist/cjs/PubSection.js +34 -35
  65. package/dist/cjs/PubToc.js +8 -8
  66. package/dist/cjs/PublicationDeck.js +8 -8
  67. package/dist/cjs/PublicationLanding.js +28 -28
  68. package/dist/cjs/QueueDeckExpanded.js +37 -38
  69. package/dist/cjs/RecentNews.js +3 -3
  70. package/dist/cjs/RelatedContent.js +7 -7
  71. package/dist/cjs/Search.js +8 -8
  72. package/dist/cjs/Segment.js +6 -6
  73. package/dist/cjs/SeriesListingDeck.js +19 -20
  74. package/dist/cjs/{SeriesSlider-cbab9f0f.js → SeriesSlider-60fa1342.js} +10 -10
  75. package/dist/cjs/SetCookie.js +1 -1
  76. package/dist/cjs/SideFooter.js +15 -15
  77. package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-19548e2a.js} +10 -10
  78. package/dist/cjs/TaxonomyCard.js +10 -10
  79. package/dist/cjs/TaxonomyDescription.js +46 -46
  80. package/dist/cjs/TemplateNormal.js +46 -47
  81. package/dist/cjs/ThumbnailCard.js +7 -7
  82. package/dist/cjs/Ustream.js +13 -13
  83. package/dist/cjs/VerticalHero.js +3 -3
  84. package/dist/cjs/VideoProgramLandingPage.js +52 -52
  85. package/dist/cjs/VideoSeriesCard.js +13 -13
  86. package/dist/cjs/VideoSeriesFilter.js +9 -9
  87. package/dist/cjs/VideoSeriesLandingPage.js +37 -38
  88. package/dist/cjs/VideoSeriesListing.js +32 -33
  89. package/dist/cjs/View.js +91 -90
  90. package/dist/cjs/YahooHero.js +15 -15
  91. package/dist/cjs/YoutubeGroup.js +22 -22
  92. package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
  93. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
  94. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  95. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
  96. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
  97. package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
  98. package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
  99. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
  100. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  101. package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
  102. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
  103. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  104. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  105. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
  106. package/dist/cjs/{extends-29bdbc6d.js → extends-60837c34.js} +7 -8
  107. package/dist/cjs/faundadb.js +7 -7
  108. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  109. package/dist/cjs/getQuery.js +2 -2
  110. package/dist/cjs/getRelatedArticle.js +71 -135
  111. package/dist/cjs/getRootDocGroup.js +6 -6
  112. package/dist/cjs/getSerializers.js +46 -46
  113. package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-3e45e4d4.js} +17 -8
  114. package/dist/cjs/getTargeting.js +8 -8
  115. package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
  116. package/dist/cjs/{index-572bb6bc.js → index-80e98193.js} +165 -415
  117. package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
  118. package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
  119. package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
  120. package/dist/cjs/{index.esm-8123cf40.js → index.esm-3ffa049c.js} +1 -1
  121. package/dist/cjs/index.js +137 -138
  122. package/dist/cjs/{inherits-c2065b95.js → inherits-87492b40.js} +19 -22
  123. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  124. package/dist/cjs/keys-a586b7a0.js +25 -0
  125. package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
  126. package/dist/cjs/{main-025fdc78.js → main-7b5e57b0.js} +159 -234
  127. package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
  128. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
  129. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
  130. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  131. package/dist/cjs/stringify-7c5aff47.js +17 -0
  132. package/dist/cjs/timeDifferenceCalc.js +1 -1
  133. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
  134. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  135. package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
  136. package/dist/cjs/urlFor.js +1 -1
  137. package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
  138. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  139. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
  140. package/dist/esm/AD.js +1 -1
  141. package/dist/esm/AD300x250.js +23 -24
  142. package/dist/esm/AD300x250x600.js +23 -24
  143. package/dist/esm/AD728x90.js +26 -27
  144. package/dist/esm/ADFloatingFooter.js +22 -23
  145. package/dist/esm/ADFooter.js +6 -6
  146. package/dist/esm/ADGutter.js +22 -23
  147. package/dist/esm/{ADInfeed-f20eb524.js → ADInfeed-4096aff2.js} +4 -4
  148. package/dist/esm/ADSkyscraper.js +22 -23
  149. package/dist/esm/ADSponsoredResources.js +22 -23
  150. package/dist/esm/ADWebcast.js +22 -23
  151. package/dist/esm/ADWelcome.js +19 -20
  152. package/dist/esm/{ADlgInfeed-c85a91b1.js → ADlgInfeed-8e4fcfbd.js} +4 -4
  153. package/dist/esm/AccordionPanel.js +8 -8
  154. package/dist/esm/AdSlot.js +23 -24
  155. package/dist/esm/AdSlotsProvider.js +13 -14
  156. package/dist/esm/AlgoliaSearch.js +26 -14107
  157. package/dist/esm/AlphabeticList.js +10 -10
  158. package/dist/esm/ArticleCarousel.js +17 -17
  159. package/dist/esm/ArticleProgramLandingPage.js +50 -50
  160. package/dist/esm/ArticleSeriesLandingPage.js +31 -32
  161. package/dist/esm/ArticleSeriesListing.js +32 -33
  162. package/dist/esm/Auth.js +348 -484
  163. package/dist/esm/AuthWrapper.js +9 -587
  164. package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-8ffd4679.js} +1 -1
  165. package/dist/esm/Beam.js +8 -8
  166. package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-d05b5b23.js} +34 -34
  167. package/dist/esm/Breadcrumbs.js +7 -7
  168. package/dist/esm/CMEDeck.js +24 -25
  169. package/dist/esm/Column2.js +16 -16
  170. package/dist/esm/Column3.js +32 -33
  171. package/dist/esm/ConferenceArticleCard.js +7 -7
  172. package/dist/esm/DeckContent.js +33 -34
  173. package/dist/esm/DeckQueue.js +30 -31
  174. package/dist/esm/{Dfp-43f121ff.js → Dfp-85c9513e.js} +14 -15
  175. package/dist/esm/EventsDeck.js +26 -26
  176. package/dist/esm/ExternalResources.js +47 -47
  177. package/dist/esm/Feature.js +4 -4
  178. package/dist/esm/ForbesHero.js +12 -12
  179. package/dist/esm/GridContent.js +46 -47
  180. package/dist/esm/GridHero.js +13 -13
  181. package/dist/esm/GroupDeck.js +14 -14
  182. package/dist/esm/HamMagazine.js +27 -27
  183. package/dist/esm/Hero.js +4 -4
  184. package/dist/esm/HighlightenVideo.js +2 -2
  185. package/dist/esm/HorizontalArticleListing.js +47 -47
  186. package/dist/esm/HorizontalHero.js +4 -4
  187. package/dist/esm/IssueContentDeck.js +13 -13
  188. package/dist/esm/IssueDeck.js +15 -15
  189. package/dist/esm/IssueLanding.js +56 -56
  190. package/dist/esm/LeftNav.js +21 -22
  191. package/dist/esm/MasterDeck.js +32 -33
  192. package/dist/esm/MediaSeriesLanding.js +577 -676
  193. package/dist/esm/NavDvm.js +13 -13
  194. package/dist/esm/NavMagazine.js +30 -30
  195. package/dist/esm/NavNative.js +30 -30
  196. package/dist/esm/OncliveHero.js +4 -4
  197. package/dist/esm/OncliveLargeHero.js +13 -13
  198. package/dist/esm/PageFilter.js +6 -6
  199. package/dist/esm/PartnerDetailListing.js +1255 -59
  200. package/dist/esm/PdfDownload.js +1 -1
  201. package/dist/esm/PopUpModal.js +6 -6
  202. package/dist/esm/PubSection.js +34 -35
  203. package/dist/esm/PubToc.js +8 -8
  204. package/dist/esm/PublicationDeck.js +7 -7
  205. package/dist/esm/PublicationLanding.js +27 -27
  206. package/dist/esm/QueueDeckExpanded.js +37 -38
  207. package/dist/esm/RecentNews.js +3 -3
  208. package/dist/esm/RelatedContent.js +7 -7
  209. package/dist/esm/Search.js +7 -7
  210. package/dist/esm/Segment.js +6 -6
  211. package/dist/esm/SeriesListingDeck.js +19 -20
  212. package/dist/esm/{SeriesSlider-5c62a578.js → SeriesSlider-05ecb544.js} +10 -10
  213. package/dist/esm/SetCookie.js +1 -1
  214. package/dist/esm/SideFooter.js +15 -15
  215. package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-47815365.js} +9 -9
  216. package/dist/esm/TaxonomyCard.js +10 -10
  217. package/dist/esm/TaxonomyDescription.js +46 -46
  218. package/dist/esm/TemplateNormal.js +46 -47
  219. package/dist/esm/ThumbnailCard.js +7 -7
  220. package/dist/esm/Ustream.js +13 -13
  221. package/dist/esm/VerticalHero.js +3 -3
  222. package/dist/esm/VideoProgramLandingPage.js +51 -51
  223. package/dist/esm/VideoSeriesCard.js +13 -13
  224. package/dist/esm/VideoSeriesFilter.js +9 -9
  225. package/dist/esm/VideoSeriesLandingPage.js +37 -38
  226. package/dist/esm/VideoSeriesListing.js +32 -33
  227. package/dist/esm/View.js +90 -89
  228. package/dist/esm/YahooHero.js +15 -15
  229. package/dist/esm/YoutubeGroup.js +22 -22
  230. package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
  231. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
  232. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  233. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
  234. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
  235. package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
  236. package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
  237. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
  238. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  239. package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
  240. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
  241. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  242. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  243. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
  244. package/dist/esm/{extends-60e0e1c6.js → extends-eb69e8ac.js} +8 -8
  245. package/dist/esm/faundadb.js +7 -7
  246. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  247. package/dist/esm/getQuery.js +2 -2
  248. package/dist/esm/getRelatedArticle.js +71 -135
  249. package/dist/esm/getRootDocGroup.js +6 -6
  250. package/dist/esm/getSerializers.js +46 -46
  251. package/dist/esm/{getTargeting-68291ce9.js → getTargeting-9cb7e014.js} +17 -8
  252. package/dist/esm/getTargeting.js +8 -8
  253. package/dist/esm/{index-2446af28.js → index-1819118a.js} +487 -41
  254. package/dist/esm/{index-aa0e654d.js → index-295b6942.js} +160 -411
  255. package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
  256. package/dist/esm/{index-35bdcc81.js → index-6c12bdd5.js} +6 -6
  257. package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
  258. package/dist/esm/{index.esm-8016b507.js → index.esm-8ee5ff72.js} +1 -1
  259. package/dist/esm/index.js +118 -119
  260. package/dist/esm/{inherits-a41fe93f.js → inherits-0d8cda6e.js} +20 -20
  261. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  262. package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
  263. package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
  264. package/dist/esm/{main-b5c5aac1.js → main-747e7d25.js} +153 -228
  265. package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
  266. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-3822f1ce.js} +16 -16
  267. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
  268. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  269. package/dist/esm/stringify-4330ccdc.js +15 -0
  270. package/dist/esm/timeDifferenceCalc.js +1 -1
  271. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
  272. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  273. package/dist/esm/{typeof-a286cf0c.js → typeof-af9c50d8.js} +35 -35
  274. package/dist/esm/urlFor.js +1 -1
  275. package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
  276. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  277. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
  278. package/package.json +1 -1
  279. package/dist/cjs/events-1b438fe7.js +0 -469
  280. package/dist/cjs/index-8041a4eb.js +0 -99
  281. package/dist/cjs/keys-7f2c2108.js +0 -25
  282. package/dist/cjs/stringify-c9ac1214.js +0 -17
  283. package/dist/esm/events-6c3a7a63.js +0 -467
  284. package/dist/esm/index-67e1773f.js +0 -94
  285. package/dist/esm/stringify-59c8f690.js +0 -15
  286. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
  287. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-4abff0b1.js} +1 -1
@@ -1,73 +1,1269 @@
1
- import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7f8f9219.js';
2
- import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
3
- import { _ as _extends } from './extends-60e0e1c6.js';
4
- import React, { useRef, useState, useEffect } from 'react';
5
- import { TwitterTimelineEmbed } from 'react-twitter-embed';
6
- import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
7
- import urlFor from './urlFor.js';
8
- import { m as moment } from './moment-bc12cb97.js';
9
- import QueueDeckExpanded from './QueueDeckExpanded.js';
10
- import Breadcrumbs from './Breadcrumbs.js';
11
- import Feature from './Feature.js';
12
- import { g as getSerializers } from './index-aa0e654d.js';
13
- import { B as BlockContent } from './BlockContent-52cf21c5.js';
14
- import './_commonjsHelpers-0c4b6f40.js';
15
- import './es6.string.iterator-bc33758b.js';
16
- import './_to-object-b50e61c3.js';
17
- import './web.dom.iterable-4109ff68.js';
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
18
4
  import './_library-528f1934.js';
19
- import './core.get-iterator-method-133dfacd.js';
20
- import './_iter-detect-7e5e5ce2.js';
21
- import './_object-pie-133f504a.js';
22
- import './index-0dbff1d1.js';
23
- import './toConsumableArray-6d9a4616.js';
24
- import 'react-bootstrap';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './toConsumableArray-43aa614d.js';
7
+ import './core.get-iterator-method-e1de7503.js';
8
+ import './_object-pie-33c40e79.js';
9
+ import { _ as _extends } from './extends-eb69e8ac.js';
10
+ import './_object-sap-964b6feb.js';
11
+ import './inherits-0d8cda6e.js';
12
+ import './define-property-8af5f002.js';
13
+ import './web.dom.iterable-4439f05a.js';
14
+ import './typeof-af9c50d8.js';
15
+ import './_is-array-58e95429.js';
16
+ import React, { Component, useRef, useState, useEffect } from 'react';
17
+ import './index-1819118a.js';
18
+ import PropTypes from 'prop-types';
19
+ import 'react-bootstrap/Row';
20
+ import 'react-bootstrap/Col';
21
+ import 'react-bootstrap/Card';
22
+ import { m as moment } from './moment-b6f49411.js';
23
+ import 'next/router';
24
+ import './isSymbol-1981418f.js';
25
+ import './debounce-9207d8ee.js';
26
+ import './toNumber-2f7a84cd.js';
25
27
  import './index.es-c6222053.js';
26
- import './visibility-sensor-f40c2564.js';
27
28
  import 'react-dom';
28
- import './index-2446af28.js';
29
- import './events-6c3a7a63.js';
30
- import 'prop-types';
31
- import 'next/router';
32
- import './index-35bdcc81.js';
33
- import './main-b5c5aac1.js';
34
- import './entities-932b50cf.js';
35
- import './ADInfeed-f20eb524.js';
36
- import 'react-bootstrap/Card';
37
- import './AdSlot.js';
38
- import './debounce-533d9748.js';
39
- import './isSymbol-a7e9aafe.js';
40
- import './toNumber-5aeba6e7.js';
41
- import './Beam.js';
42
- import './stringify-59c8f690.js';
29
+ import './visibility-sensor-f40c2564.js';
30
+ import './index-51a80699.js';
31
+ import urlFor from './urlFor.js';
32
+ import './index-6c12bdd5.js';
33
+ import './main-747e7d25.js';
34
+ import './entities-7cc3bf45.js';
35
+ import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
36
+ import './stringify-4330ccdc.js';
37
+ import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-fc1c2e29.js';
43
38
  import './Segment.js';
44
- import './AuthorComponent-5ae7409f.js';
45
- import './lodash-f97fd99a.js';
46
- import './ADlgInfeed-c85a91b1.js';
39
+ import './Beam.js';
40
+ import './AdSlot.js';
41
+ import './ADInfeed-4096aff2.js';
42
+ import './lodash-ec8c6b48.js';
43
+ import './ADlgInfeed-8e4fcfbd.js';
47
44
  import './getContentCategory-15dcc413.js';
48
- import './timeDifferenceCalc.js';
49
- import 'react-bootstrap/Breadcrumb';
50
- import 'react-bootstrap/Carousel';
45
+ import './AuthorComponent-8ffd4679.js';
46
+ import 'react-bootstrap/Button';
47
+ import { B as BlockContent } from './BlockContent-d05b5b23.js';
51
48
  import './index-c7e2ac95.js';
52
- import './util-3ab476bf.js';
53
- import './typeof-a286cf0c.js';
54
- import './_is-array-3e99e06e.js';
55
- import './brightcove-react-player-loader.es-b43c695a.js';
49
+ import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
56
50
  import './GroupDeck.js';
57
- import './SocialShare.js';
51
+ import 'react-bootstrap';
52
+ import './timeDifferenceCalc.js';
53
+ import QueueDeckExpanded from './QueueDeckExpanded.js';
54
+ import './iconBase-602d52fe.js';
55
+ import './index.esm-3fdda599.js';
56
+ import { g as getSerializers } from './index-295b6942.js';
57
+ import './util-7700fc59.js';
58
+ import './brightcove-react-player-loader.es-4abff0b1.js';
58
59
  import 'next/head';
59
60
  import 'react-share';
60
- import './_object-to-array-0f197f89.js';
61
+ import './SocialShare.js';
62
+ import './_object-to-array-7e804fce.js';
61
63
  import 'react-bootstrap/Pagination';
62
- import 'react-bootstrap/Button';
63
- import 'react-bootstrap/Row';
64
- import 'react-bootstrap/Col';
65
- import './inherits-a41fe93f.js';
66
- import './_object-sap-f353c2a9.js';
67
- import './define-property-fe54dc9f.js';
68
- import './index.esm-3fdda599.js';
69
- import './iconBase-602d52fe.js';
70
64
  import 'react-bootstrap/Figure';
65
+ import 'react-script-tag';
66
+ import 'react-bootstrap/Carousel';
67
+ import Feature from './Feature.js';
68
+ import 'react-bootstrap/Breadcrumb';
69
+ import Breadcrumbs from './Breadcrumbs.js';
70
+
71
+ function _classCallCheck(instance, Constructor) {
72
+ if (!(instance instanceof Constructor)) {
73
+ throw new TypeError("Cannot call a class as a function");
74
+ }
75
+ }
76
+
77
+ function _defineProperties(target, props) {
78
+ for (var i = 0; i < props.length; i++) {
79
+ var descriptor = props[i];
80
+ descriptor.enumerable = descriptor.enumerable || false;
81
+ descriptor.configurable = true;
82
+ if ("value" in descriptor) descriptor.writable = true;
83
+ Object.defineProperty(target, descriptor.key, descriptor);
84
+ }
85
+ }
86
+
87
+ function _createClass(Constructor, protoProps, staticProps) {
88
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
89
+ if (staticProps) _defineProperties(Constructor, staticProps);
90
+ return Constructor;
91
+ }
92
+
93
+ function _typeof(obj) {
94
+ "@babel/helpers - typeof";
95
+
96
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
97
+ _typeof = function _typeof(obj) {
98
+ return typeof obj;
99
+ };
100
+ } else {
101
+ _typeof = function _typeof(obj) {
102
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
103
+ };
104
+ }
105
+
106
+ return _typeof(obj);
107
+ }
108
+
109
+ function _assertThisInitialized(self) {
110
+ if (self === void 0) {
111
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
112
+ }
113
+
114
+ return self;
115
+ }
116
+
117
+ function _possibleConstructorReturn(self, call) {
118
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
119
+ return call;
120
+ }
121
+
122
+ return _assertThisInitialized(self);
123
+ }
124
+
125
+ function _getPrototypeOf(o) {
126
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
127
+ return o.__proto__ || Object.getPrototypeOf(o);
128
+ };
129
+ return _getPrototypeOf(o);
130
+ }
131
+
132
+ function _setPrototypeOf(o, p) {
133
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
134
+ o.__proto__ = p;
135
+ return o;
136
+ };
137
+
138
+ return _setPrototypeOf(o, p);
139
+ }
140
+
141
+ function _inherits(subClass, superClass) {
142
+ if (typeof superClass !== "function" && superClass !== null) {
143
+ throw new TypeError("Super expression must either be null or a function");
144
+ }
145
+
146
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
147
+ constructor: {
148
+ value: subClass,
149
+ writable: true,
150
+ configurable: true
151
+ }
152
+ });
153
+ if (superClass) _setPrototypeOf(subClass, superClass);
154
+ }
155
+
156
+ function _defineProperty(obj, key, value) {
157
+ if (key in obj) {
158
+ Object.defineProperty(obj, key, {
159
+ value: value,
160
+ enumerable: true,
161
+ configurable: true,
162
+ writable: true
163
+ });
164
+ } else {
165
+ obj[key] = value;
166
+ }
167
+
168
+ return obj;
169
+ }
170
+
171
+ var isRequiredIf_1 = createCommonjsModule(function (module, exports) {
172
+ Object.defineProperty(exports,'__esModule',{value:!0});var VALIDATOR_ARG_ERROR_MESSAGE='The typeValidator argument must be a function with the signature function(props, propName, componentName).',MESSAGE_ARG_ERROR_MESSAGE='The error message is optional, but must be a string if provided.',propIsRequired=function propIsRequired(a,b,c,d){if('boolean'==typeof a)return a;return 'function'==typeof a?a(b,c,d):!(!0!==!!a)&&!!a},propExists=function propExists(a,b){return Object.hasOwnProperty.call(a,b)},missingPropError=function missingPropError(a,b,c,d){return d?new Error(d):new Error('Required '+a[b]+' `'+b+'`'+(' was not specified in `'+c+'`.'))},guardAgainstInvalidArgTypes=function guardAgainstInvalidArgTypes(a,b){if('function'!=typeof a)throw new TypeError(VALIDATOR_ARG_ERROR_MESSAGE);if(!!b&&'string'!=typeof b)throw new TypeError(MESSAGE_ARG_ERROR_MESSAGE)},isRequiredIf=function isRequiredIf(a,b,c){return guardAgainstInvalidArgTypes(a,c),function(d,e,f){for(var _len=arguments.length,g=Array(3<_len?_len-3:0),_key=3;_key<_len;_key++)g[_key-3]=arguments[_key];return propIsRequired(b,d,e,f)?propExists(d,e)?a.apply(void 0,[d,e,f].concat(g)):missingPropError(d,e,f,c):a.apply(void 0,[d,e,f].concat(g));// Is not required, so just run typeValidator.
173
+ }};exports.default=isRequiredIf;
174
+
175
+
176
+ });
177
+
178
+ var isRequiredIf = unwrapExports(isRequiredIf_1);
179
+
180
+ var exenv = createCommonjsModule(function (module) {
181
+ /*!
182
+ Copyright (c) 2015 Jed Watson.
183
+ Based on code that is Copyright 2013-2015, Facebook, Inc.
184
+ All rights reserved.
185
+ */
186
+ /* global define */
187
+
188
+ (function () {
189
+
190
+ var canUseDOM = !!(
191
+ typeof window !== 'undefined' &&
192
+ window.document &&
193
+ window.document.createElement
194
+ );
195
+
196
+ var ExecutionEnvironment = {
197
+
198
+ canUseDOM: canUseDOM,
199
+
200
+ canUseWorkers: typeof Worker !== 'undefined',
201
+
202
+ canUseEventListeners:
203
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
204
+
205
+ canUseViewport: canUseDOM && !!window.screen
206
+
207
+ };
208
+
209
+ if ( module.exports) {
210
+ module.exports = ExecutionEnvironment;
211
+ } else {
212
+ window.ExecutionEnvironment = ExecutionEnvironment;
213
+ }
214
+
215
+ }());
216
+ });
217
+
218
+ var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
219
+
220
+ var TwitterTimelineEmbed =
221
+ /*#__PURE__*/
222
+ function (_Component) {
223
+ _inherits(TwitterTimelineEmbed, _Component);
224
+
225
+ function TwitterTimelineEmbed(props) {
226
+ var _this;
227
+
228
+ _classCallCheck(this, TwitterTimelineEmbed);
229
+
230
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
231
+ _this.state = {
232
+ isLoading: true
233
+ };
234
+ return _this;
235
+ }
236
+
237
+ _createClass(TwitterTimelineEmbed, [{
238
+ key: "buildChromeOptions",
239
+ value: function buildChromeOptions(options) {
240
+ options.chrome = '';
241
+
242
+ if (this.props.noHeader) {
243
+ options.chrome = options.chrome + ' noheader';
244
+ }
245
+
246
+ if (this.props.noFooter) {
247
+ options.chrome = options.chrome + ' nofooter';
248
+ }
249
+
250
+ if (this.props.noBorders) {
251
+ options.chrome = options.chrome + ' noborders';
252
+ }
253
+
254
+ if (this.props.noScrollbar) {
255
+ options.chrome = options.chrome + ' noscrollbar';
256
+ }
257
+
258
+ if (this.props.transparent) {
259
+ options.chrome = options.chrome + ' transparent';
260
+ }
261
+
262
+ return options;
263
+ }
264
+ }, {
265
+ key: "buildOptions",
266
+ value: function buildOptions() {
267
+ var options = Object.assign({}, this.props.options);
268
+
269
+ if (this.props.autoHeight) {
270
+ options.height = this.refs.embedContainer.parentNode.offsetHeight;
271
+ }
272
+
273
+ options = Object.assign({}, options, {
274
+ theme: this.props.theme,
275
+ linkColor: this.props.linkColor,
276
+ borderColor: this.props.borderColor,
277
+ lang: this.props.lang
278
+ });
279
+ return options;
280
+ }
281
+ }, {
282
+ key: "renderWidget",
283
+ value: function renderWidget(options) {
284
+ var _this2 = this;
285
+
286
+ var onLoad = this.props.onLoad;
287
+
288
+ if (!this.isMountCanceled) {
289
+ window.twttr.widgets.createTimeline({
290
+ sourceType: this.props.sourceType,
291
+ screenName: this.props.screenName,
292
+ userId: this.props.userId,
293
+ ownerScreenName: this.props.ownerScreenName,
294
+ slug: this.props.slug,
295
+ id: this.props.id || this.props.widgetId,
296
+ url: this.props.url
297
+ }, this.refs.embedContainer, options).then(function (element) {
298
+ _this2.setState({
299
+ isLoading: false
300
+ });
301
+
302
+ if (onLoad) {
303
+ onLoad(element);
304
+ }
305
+ });
306
+ }
307
+ }
308
+ }, {
309
+ key: "componentDidMount",
310
+ value: function componentDidMount() {
311
+ var _this3 = this;
312
+
313
+ if (exenv.canUseDOM) {
314
+ var script = require('scriptjs');
315
+
316
+ script(twitterWidgetJs, 'twitter-embed', function () {
317
+ if (!window.twttr) {
318
+ console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
319
+ return;
320
+ }
321
+
322
+ var options = _this3.buildOptions();
323
+ /** Append chrome options */
324
+
325
+
326
+ options = _this3.buildChromeOptions(options);
327
+
328
+ _this3.renderWidget(options);
329
+ });
330
+ }
331
+ }
332
+ }, {
333
+ key: "componentWillUnmount",
334
+ value: function componentWillUnmount() {
335
+ this.isMountCanceled = true;
336
+ }
337
+ }, {
338
+ key: "render",
339
+ value: function render() {
340
+ var isLoading = this.state.isLoading;
341
+ var placeholder = this.props.placeholder;
342
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
343
+ ref: "embedContainer"
344
+ }));
345
+ }
346
+ }]);
347
+
348
+ return TwitterTimelineEmbed;
349
+ }(Component);
350
+
351
+ _defineProperty(TwitterTimelineEmbed, "propTypes", {
352
+ /**
353
+ * This can be either of profile, likes, list, collection, URL, widget
354
+ */
355
+ sourceType: PropTypes.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
356
+
357
+ /**
358
+ * username of twitter handle as String
359
+ */
360
+ screenName: isRequiredIf(PropTypes.string, function (props) {
361
+ return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
362
+ }),
363
+
364
+ /**
365
+ * UserId of twitter handle as number
366
+ */
367
+ userId: isRequiredIf(PropTypes.number, function (props) {
368
+ return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
369
+ }),
370
+
371
+ /**
372
+ * To show list, used along with slug
373
+ */
374
+ ownerScreenName: isRequiredIf(PropTypes.string, function (props) {
375
+ return props.sourceType === 'list' && !props.hasOwnProperty('id');
376
+ }),
377
+
378
+ /**
379
+ * To show list, used along with ownerScreenName
380
+ */
381
+ slug: isRequiredIf(PropTypes.string, function (props) {
382
+ return props.sourceType === 'list' && !props.hasOwnProperty('id');
383
+ }),
384
+
385
+ /**
386
+ * To show list, unique list id
387
+ * Also used with collections, in that case its valid collection id
388
+ */
389
+ id: isRequiredIf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]), function (props) {
390
+ return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
391
+ }),
392
+
393
+ /**
394
+ * To show twitter content with url.
395
+ * Supported content includes profiles, likes, lists, and collections.
396
+ */
397
+ url: isRequiredIf(PropTypes.string, function (props) {
398
+ return props.sourceType === 'url';
399
+ }),
400
+
401
+ /**
402
+ * To show custom widget
403
+ */
404
+ widgetId: isRequiredIf(PropTypes.string, function (props) {
405
+ return props.sourceType === 'widget';
406
+ }),
407
+
408
+ /**
409
+ * Additional options to pass to twitter widget plugin
410
+ */
411
+ options: PropTypes.object,
412
+
413
+ /**
414
+ * Automatically fit into parent container height
415
+ */
416
+ autoHeight: PropTypes.bool,
417
+
418
+ /**
419
+ * With dark or light theme
420
+ */
421
+ theme: PropTypes.oneOf(['dark', 'light']),
422
+
423
+ /**
424
+ * With custom link colors. Note: Only Hex colors are supported.
425
+ */
426
+ linkColor: PropTypes.string,
427
+
428
+ /**
429
+ * With custom border colors. Note: Only Hex colors are supported.
430
+ */
431
+ borderColor: PropTypes.string,
432
+
433
+ /**
434
+ * Hide the header from timeline
435
+ */
436
+ noHeader: PropTypes.bool,
437
+
438
+ /**
439
+ * Hide the footer from timeline
440
+ */
441
+ noFooter: PropTypes.bool,
442
+
443
+ /**
444
+ * Hide the border from timeline
445
+ */
446
+ noBorders: PropTypes.bool,
447
+
448
+ /**
449
+ * Hide the scrollbars
450
+ */
451
+ noScrollbar: PropTypes.bool,
452
+
453
+ /**
454
+ * Enable Transparancy
455
+ */
456
+ transparent: PropTypes.bool,
457
+
458
+ /**
459
+ * Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
460
+ */
461
+ lang: PropTypes.string,
462
+
463
+ /**
464
+ * Placeholder while tweet is loading
465
+ */
466
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
467
+
468
+ /**
469
+ * Function to execute after load, return html element
470
+ */
471
+ onLoad: PropTypes.func
472
+ });
473
+
474
+ var TwitterShareButton =
475
+ /*#__PURE__*/
476
+ function (_Component) {
477
+ _inherits(TwitterShareButton, _Component);
478
+
479
+ function TwitterShareButton(props) {
480
+ var _this;
481
+
482
+ _classCallCheck(this, TwitterShareButton);
483
+
484
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
485
+ _this.state = {
486
+ isLoading: true
487
+ };
488
+ return _this;
489
+ }
490
+
491
+ _createClass(TwitterShareButton, [{
492
+ key: "componentDidMount",
493
+ value: function componentDidMount() {
494
+ var _this2 = this;
495
+
496
+ var onLoad = this.props.onLoad;
497
+
498
+ if (exenv.canUseDOM) {
499
+ var script = require('scriptjs');
500
+
501
+ script(twitterWidgetJs, 'twitter-embed', function () {
502
+ if (!window.twttr) {
503
+ console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
504
+ return;
505
+ }
506
+
507
+ if (!_this2.isMountCanceled) {
508
+ window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
509
+ _this2.setState({
510
+ isLoading: false
511
+ });
512
+
513
+ if (onLoad) {
514
+ onLoad(element);
515
+ }
516
+ });
517
+ }
518
+ });
519
+ }
520
+ }
521
+ }, {
522
+ key: "componentWillUnmount",
523
+ value: function componentWillUnmount() {
524
+ this.isMountCanceled = true;
525
+ }
526
+ }, {
527
+ key: "render",
528
+ value: function render() {
529
+ var isLoading = this.state.isLoading;
530
+ var placeholder = this.props.placeholder;
531
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
532
+ ref: "embedContainer"
533
+ }));
534
+ }
535
+ }]);
536
+
537
+ return TwitterShareButton;
538
+ }(Component);
539
+
540
+ _defineProperty(TwitterShareButton, "propTypes", {
541
+ /**
542
+ * Url for sharing
543
+ */
544
+ url: PropTypes.string.isRequired,
545
+
546
+ /**
547
+ * Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
548
+ */
549
+ options: PropTypes.object,
550
+
551
+ /**
552
+ * Placeholder while tweet is loading
553
+ */
554
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
555
+
556
+ /**
557
+ * Function to execute after load, return html element
558
+ */
559
+ onLoad: PropTypes.func
560
+ });
561
+
562
+ var TwitterFollowButton =
563
+ /*#__PURE__*/
564
+ function (_Component) {
565
+ _inherits(TwitterFollowButton, _Component);
566
+
567
+ function TwitterFollowButton(props) {
568
+ var _this;
569
+
570
+ _classCallCheck(this, TwitterFollowButton);
571
+
572
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
573
+ _this.state = {
574
+ isLoading: true
575
+ };
576
+ return _this;
577
+ }
578
+
579
+ _createClass(TwitterFollowButton, [{
580
+ key: "componentDidMount",
581
+ value: function componentDidMount() {
582
+ var _this2 = this;
583
+
584
+ var onLoad = this.props.onLoad;
585
+
586
+ if (exenv.canUseDOM) {
587
+ var script = require('scriptjs');
588
+
589
+ script(twitterWidgetJs, 'twitter-embed', function () {
590
+ if (!window.twttr) {
591
+ console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
592
+ return;
593
+ }
594
+
595
+ if (!_this2.isMountCanceled) {
596
+ window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
597
+ _this2.setState({
598
+ isLoading: false
599
+ });
600
+
601
+ if (onLoad) {
602
+ onLoad(element);
603
+ }
604
+ });
605
+ }
606
+ });
607
+ }
608
+ }
609
+ }, {
610
+ key: "componentWillUnmount",
611
+ value: function componentWillUnmount() {
612
+ this.isMountCanceled = true;
613
+ }
614
+ }, {
615
+ key: "render",
616
+ value: function render() {
617
+ var isLoading = this.state.isLoading;
618
+ var placeholder = this.props.placeholder;
619
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
620
+ ref: "embedContainer"
621
+ }));
622
+ }
623
+ }]);
624
+
625
+ return TwitterFollowButton;
626
+ }(Component);
627
+
628
+ _defineProperty(TwitterFollowButton, "propTypes", {
629
+ /**
630
+ * Username of twitter user which will be followed on click
631
+ */
632
+ screenName: PropTypes.string.isRequired,
633
+
634
+ /**
635
+ * Additional options to be added to the button
636
+ */
637
+ options: PropTypes.object,
638
+
639
+ /**
640
+ * Placeholder while tweet is loading
641
+ */
642
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
643
+
644
+ /**
645
+ * Function to execute after load, return html element
646
+ */
647
+ onLoad: PropTypes.func
648
+ });
649
+
650
+ var TwitterHashtagButton =
651
+ /*#__PURE__*/
652
+ function (_Component) {
653
+ _inherits(TwitterHashtagButton, _Component);
654
+
655
+ function TwitterHashtagButton(props) {
656
+ var _this;
657
+
658
+ _classCallCheck(this, TwitterHashtagButton);
659
+
660
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
661
+ _this.state = {
662
+ isLoading: true
663
+ };
664
+ return _this;
665
+ }
666
+
667
+ _createClass(TwitterHashtagButton, [{
668
+ key: "componentDidMount",
669
+ value: function componentDidMount() {
670
+ var _this2 = this;
671
+
672
+ var onLoad = this.props.onLoad;
673
+
674
+ if (exenv.canUseDOM) {
675
+ var script = require('scriptjs');
676
+
677
+ script(twitterWidgetJs, 'twitter-embed', function () {
678
+ if (!window.twttr) {
679
+ console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
680
+ return;
681
+ }
682
+
683
+ if (!_this2.isMountCanceled) {
684
+ window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
685
+ _this2.setState({
686
+ isLoading: false
687
+ });
688
+
689
+ if (onLoad) {
690
+ onLoad(element);
691
+ }
692
+ });
693
+ }
694
+ });
695
+ }
696
+ }
697
+ }, {
698
+ key: "componentWillUnmount",
699
+ value: function componentWillUnmount() {
700
+ this.isMountCanceled = true;
701
+ }
702
+ }, {
703
+ key: "render",
704
+ value: function render() {
705
+ var isLoading = this.state.isLoading;
706
+ var placeholder = this.props.placeholder;
707
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
708
+ ref: "embedContainer"
709
+ }));
710
+ }
711
+ }]);
712
+
713
+ return TwitterHashtagButton;
714
+ }(Component);
715
+
716
+ _defineProperty(TwitterHashtagButton, "propTypes", {
717
+ /**
718
+ * Tag name for hashtag button
719
+ */
720
+ tag: PropTypes.string.isRequired,
721
+
722
+ /**
723
+ * Additional options to be added to the button
724
+ */
725
+ options: PropTypes.object,
726
+
727
+ /**
728
+ * Placeholder while tweet is loading
729
+ */
730
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
731
+
732
+ /**
733
+ * Function to execute after load, return html element
734
+ */
735
+ onLoad: PropTypes.func
736
+ });
737
+
738
+ var TwitterMentionButton =
739
+ /*#__PURE__*/
740
+ function (_Component) {
741
+ _inherits(TwitterMentionButton, _Component);
742
+
743
+ function TwitterMentionButton(props) {
744
+ var _this;
745
+
746
+ _classCallCheck(this, TwitterMentionButton);
747
+
748
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
749
+ _this.state = {
750
+ isLoading: true
751
+ };
752
+ return _this;
753
+ }
754
+
755
+ _createClass(TwitterMentionButton, [{
756
+ key: "componentDidMount",
757
+ value: function componentDidMount() {
758
+ var _this2 = this;
759
+
760
+ var onLoad = this.props.onLoad;
761
+
762
+ if (exenv.canUseDOM) {
763
+ var script = require('scriptjs');
764
+
765
+ script(twitterWidgetJs, 'twitter-embed', function () {
766
+ if (!window.twttr) {
767
+ console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
768
+ return;
769
+ }
770
+
771
+ if (!_this2.isMountCanceled) {
772
+ window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
773
+ _this2.setState({
774
+ isLoading: false
775
+ });
776
+
777
+ if (onLoad) {
778
+ onLoad(element);
779
+ }
780
+ });
781
+ }
782
+ });
783
+ }
784
+ }
785
+ }, {
786
+ key: "componentWillUnmount",
787
+ value: function componentWillUnmount() {
788
+ this.isMountCanceled = true;
789
+ }
790
+ }, {
791
+ key: "render",
792
+ value: function render() {
793
+ var isLoading = this.state.isLoading;
794
+ var placeholder = this.props.placeholder;
795
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
796
+ ref: "embedContainer"
797
+ }));
798
+ }
799
+ }]);
800
+
801
+ return TwitterMentionButton;
802
+ }(Component);
803
+
804
+ _defineProperty(TwitterMentionButton, "propTypes", {
805
+ /**
806
+ * Username to which you will need to tweet
807
+ */
808
+ screenName: PropTypes.string.isRequired,
809
+
810
+ /**
811
+ * Additional options for overriding config.
812
+ */
813
+ options: PropTypes.object,
814
+
815
+ /**
816
+ * Placeholder while tweet is loading
817
+ */
818
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
819
+
820
+ /**
821
+ * Function to execute after load, return html element
822
+ */
823
+ onLoad: PropTypes.func
824
+ });
825
+
826
+ var TwitterTweetEmbed =
827
+ /*#__PURE__*/
828
+ function (_Component) {
829
+ _inherits(TwitterTweetEmbed, _Component);
830
+
831
+ function TwitterTweetEmbed(props) {
832
+ var _this;
833
+
834
+ _classCallCheck(this, TwitterTweetEmbed);
835
+
836
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
837
+ _this.state = {
838
+ isLoading: true
839
+ };
840
+ return _this;
841
+ }
842
+
843
+ _createClass(TwitterTweetEmbed, [{
844
+ key: "renderWidget",
845
+ value: function renderWidget() {
846
+ var _this2 = this;
847
+
848
+ var onLoad = this.props.onLoad;
849
+
850
+ if (!window.twttr) {
851
+ console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
852
+ return;
853
+ }
854
+
855
+ if (!this.isMountCanceled) {
856
+ window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
857
+ _this2.setState({
858
+ isLoading: false
859
+ });
860
+
861
+ if (onLoad) {
862
+ onLoad(element);
863
+ }
864
+ });
865
+ }
866
+ }
867
+ }, {
868
+ key: "componentDidMount",
869
+ value: function componentDidMount() {
870
+ var _this3 = this;
871
+
872
+ if (exenv.canUseDOM) {
873
+ var script = require('scriptjs');
874
+
875
+ script(twitterWidgetJs, 'twitter-embed', function () {
876
+ _this3.renderWidget();
877
+ });
878
+ }
879
+ }
880
+ }, {
881
+ key: "componentWillUnmount",
882
+ value: function componentWillUnmount() {
883
+ this.isMountCanceled = true;
884
+ }
885
+ }, {
886
+ key: "render",
887
+ value: function render() {
888
+ var isLoading = this.state.isLoading;
889
+ var placeholder = this.props.placeholder;
890
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
891
+ ref: "embedContainer"
892
+ }));
893
+ }
894
+ }]);
895
+
896
+ return TwitterTweetEmbed;
897
+ }(Component);
898
+
899
+ _defineProperty(TwitterTweetEmbed, "propTypes", {
900
+ /**
901
+ * Tweet id that needs to be shown
902
+ */
903
+ tweetId: PropTypes.string.isRequired,
904
+
905
+ /**
906
+ * Additional options to pass to twitter widget plugin
907
+ */
908
+ options: PropTypes.object,
909
+
910
+ /**
911
+ * Placeholder while tweet is loading
912
+ */
913
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
914
+
915
+ /**
916
+ * Function to execute after load, return html element
917
+ */
918
+ onLoad: PropTypes.func
919
+ });
920
+
921
+ var TwitterMomentShare =
922
+ /*#__PURE__*/
923
+ function (_Component) {
924
+ _inherits(TwitterMomentShare, _Component);
925
+
926
+ function TwitterMomentShare(props) {
927
+ var _this;
928
+
929
+ _classCallCheck(this, TwitterMomentShare);
930
+
931
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
932
+ _this.state = {
933
+ isLoading: true
934
+ };
935
+ return _this;
936
+ }
937
+
938
+ _createClass(TwitterMomentShare, [{
939
+ key: "componentDidMount",
940
+ value: function componentDidMount() {
941
+ var _this2 = this;
942
+
943
+ var onLoad = this.props.onLoad;
944
+
945
+ if (exenv.canUseDOM) {
946
+ var script = require('scriptjs');
947
+
948
+ script(twitterWidgetJs, 'twitter-embed', function () {
949
+ if (!window.twttr) {
950
+ console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
951
+ return;
952
+ }
953
+
954
+ if (!_this2.isMountCanceled) {
955
+ window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
956
+ _this2.setState({
957
+ isLoading: false
958
+ });
959
+
960
+ if (onLoad) {
961
+ onLoad(element);
962
+ }
963
+ });
964
+ }
965
+ });
966
+ }
967
+ }
968
+ }, {
969
+ key: "componentWillUnmount",
970
+ value: function componentWillUnmount() {
971
+ this.isMountCanceled = true;
972
+ }
973
+ }, {
974
+ key: "render",
975
+ value: function render() {
976
+ var isLoading = this.state.isLoading;
977
+ var placeholder = this.props.placeholder;
978
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
979
+ ref: "shareMoment"
980
+ }));
981
+ }
982
+ }]);
983
+
984
+ return TwitterMomentShare;
985
+ }(Component);
986
+
987
+ _defineProperty(TwitterMomentShare, "propTypes", {
988
+ /**
989
+ * id of Twitter moment to show
990
+ */
991
+ momentId: PropTypes.string.isRequired,
992
+
993
+ /**
994
+ * Additional options for overriding config.
995
+ */
996
+ options: PropTypes.object,
997
+
998
+ /**
999
+ * Placeholder while tweet is loading
1000
+ */
1001
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1002
+
1003
+ /**
1004
+ * Function to execute after load, return html element
1005
+ */
1006
+ onLoad: PropTypes.func
1007
+ });
1008
+
1009
+ var TwitterDMButton =
1010
+ /*#__PURE__*/
1011
+ function (_Component) {
1012
+ _inherits(TwitterDMButton, _Component);
1013
+
1014
+ function TwitterDMButton(props) {
1015
+ var _this;
1016
+
1017
+ _classCallCheck(this, TwitterDMButton);
1018
+
1019
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
1020
+ _this.state = {
1021
+ isLoading: true
1022
+ };
1023
+ return _this;
1024
+ }
1025
+
1026
+ _createClass(TwitterDMButton, [{
1027
+ key: "componentDidMount",
1028
+ value: function componentDidMount() {
1029
+ var _this2 = this;
1030
+
1031
+ var onLoad = this.props.onLoad;
1032
+
1033
+ if (exenv.canUseDOM) {
1034
+ var script = require('scriptjs');
1035
+
1036
+ script(twitterWidgetJs, 'twitter-embed', function () {
1037
+ if (!window.twttr) {
1038
+ console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
1039
+ return;
1040
+ }
1041
+
1042
+ if (!_this2.isMountCanceled) {
1043
+ window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1044
+ _this2.setState({
1045
+ isLoading: false
1046
+ });
1047
+
1048
+ if (onLoad) {
1049
+ onLoad(element);
1050
+ }
1051
+ });
1052
+ }
1053
+ });
1054
+ }
1055
+ }
1056
+ }, {
1057
+ key: "componentWillUnmount",
1058
+ value: function componentWillUnmount() {
1059
+ this.isMountCanceled = true;
1060
+ }
1061
+ }, {
1062
+ key: "render",
1063
+ value: function render() {
1064
+ var isLoading = this.state.isLoading;
1065
+ var placeholder = this.props.placeholder;
1066
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
1067
+ ref: "embedContainer"
1068
+ }));
1069
+ }
1070
+ }]);
1071
+
1072
+ return TwitterDMButton;
1073
+ }(Component);
1074
+
1075
+ _defineProperty(TwitterDMButton, "propTypes", {
1076
+ /**
1077
+ * Twitter user id for DM button
1078
+ */
1079
+ id: PropTypes.number.isRequired,
1080
+
1081
+ /**
1082
+ * Additional options to be added to the button
1083
+ */
1084
+ options: PropTypes.object,
1085
+
1086
+ /**
1087
+ * Placeholder while tweet is loading
1088
+ */
1089
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1090
+
1091
+ /**
1092
+ * Function to execute after load, return html element
1093
+ */
1094
+ onLoad: PropTypes.func
1095
+ });
1096
+
1097
+ var TwitterVideoEmbed =
1098
+ /*#__PURE__*/
1099
+ function (_Component) {
1100
+ _inherits(TwitterVideoEmbed, _Component);
1101
+
1102
+ function TwitterVideoEmbed(props) {
1103
+ var _this;
1104
+
1105
+ _classCallCheck(this, TwitterVideoEmbed);
1106
+
1107
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
1108
+ _this.state = {
1109
+ isLoading: true
1110
+ };
1111
+ return _this;
1112
+ }
1113
+
1114
+ _createClass(TwitterVideoEmbed, [{
1115
+ key: "componentDidMount",
1116
+ value: function componentDidMount() {
1117
+ var _this2 = this;
1118
+
1119
+ var onLoad = this.props.onLoad;
1120
+
1121
+ if (exenv.canUseDOM) {
1122
+ var script = require('scriptjs');
1123
+
1124
+ script(twitterWidgetJs, 'twitter-embed', function () {
1125
+ if (!window.twttr) {
1126
+ console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
1127
+ return;
1128
+ }
1129
+
1130
+ if (!_this2.isMountCanceled) {
1131
+ window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
1132
+ _this2.setState({
1133
+ isLoading: false
1134
+ });
1135
+
1136
+ if (onLoad) {
1137
+ onLoad(element);
1138
+ }
1139
+ });
1140
+ }
1141
+ });
1142
+ }
1143
+ }
1144
+ }, {
1145
+ key: "componentWillUnmount",
1146
+ value: function componentWillUnmount() {
1147
+ this.isMountCanceled = true;
1148
+ }
1149
+ }, {
1150
+ key: "render",
1151
+ value: function render() {
1152
+ var isLoading = this.state.isLoading;
1153
+ var placeholder = this.props.placeholder;
1154
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
1155
+ ref: "embedContainer"
1156
+ }));
1157
+ }
1158
+ }]);
1159
+
1160
+ return TwitterVideoEmbed;
1161
+ }(Component);
1162
+
1163
+ _defineProperty(TwitterVideoEmbed, "propTypes", {
1164
+ /**
1165
+ * Id of video tweet.
1166
+ */
1167
+ id: PropTypes.string.isRequired,
1168
+
1169
+ /**
1170
+ * Placeholder while tweet is loading
1171
+ */
1172
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1173
+
1174
+ /**
1175
+ * Function to execute after load, return html element
1176
+ */
1177
+ onLoad: PropTypes.func
1178
+ });
1179
+
1180
+ var TwitterOnAirButton =
1181
+ /*#__PURE__*/
1182
+ function (_Component) {
1183
+ _inherits(TwitterOnAirButton, _Component);
1184
+
1185
+ function TwitterOnAirButton(props) {
1186
+ var _this;
1187
+
1188
+ _classCallCheck(this, TwitterOnAirButton);
1189
+
1190
+ _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
1191
+ _this.state = {
1192
+ isLoading: true
1193
+ };
1194
+ return _this;
1195
+ }
1196
+
1197
+ _createClass(TwitterOnAirButton, [{
1198
+ key: "componentDidMount",
1199
+ value: function componentDidMount() {
1200
+ var _this2 = this;
1201
+
1202
+ var onLoad = this.props.onLoad;
1203
+
1204
+ if (exenv.canUseDOM) {
1205
+ var script = require('scriptjs');
1206
+
1207
+ script(twitterWidgetJs, 'twitter-embed', function () {
1208
+ if (!window.twttr) {
1209
+ console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
1210
+ return;
1211
+ }
1212
+
1213
+ if (!_this2.isMountCanceled) {
1214
+ window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1215
+ _this2.setState({
1216
+ isLoading: false
1217
+ });
1218
+
1219
+ if (onLoad) {
1220
+ onLoad(element);
1221
+ }
1222
+ });
1223
+ }
1224
+ });
1225
+ }
1226
+ }
1227
+ }, {
1228
+ key: "componentWillUnmount",
1229
+ value: function componentWillUnmount() {
1230
+ this.isMountCanceled = true;
1231
+ }
1232
+ }, {
1233
+ key: "render",
1234
+ value: function render() {
1235
+ var isLoading = this.state.isLoading;
1236
+ var placeholder = this.props.placeholder;
1237
+ return React.createElement(React.Fragment, null, isLoading && placeholder, React.createElement("div", {
1238
+ ref: "embedContainer"
1239
+ }));
1240
+ }
1241
+ }]);
1242
+
1243
+ return TwitterOnAirButton;
1244
+ }(Component);
1245
+
1246
+ _defineProperty(TwitterOnAirButton, "propTypes", {
1247
+ /**
1248
+ * Username for which you require periscope on air button
1249
+ */
1250
+ username: PropTypes.string.isRequired,
1251
+
1252
+ /**
1253
+ * Additional options for overriding config.
1254
+ */
1255
+ options: PropTypes.object,
1256
+
1257
+ /**
1258
+ * Placeholder while tweet is loading
1259
+ */
1260
+ placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
1261
+
1262
+ /**
1263
+ * Function to execute after load, return html element
1264
+ */
1265
+ onLoad: PropTypes.func
1266
+ });
71
1267
 
72
1268
  var ImageSlider = function ImageSlider(props) {
73
1269
  var innerSlider = useRef(null);