@mjhls/mjh-framework 1.0.702-beta-v1 → 1.0.702

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 (268) hide show
  1. package/dist/cjs/AD.js +1 -1
  2. package/dist/cjs/AD300x250.js +19 -17
  3. package/dist/cjs/AD300x250x600.js +19 -17
  4. package/dist/cjs/AD728x90.js +20 -18
  5. package/dist/cjs/ADFloatingFooter.js +18 -16
  6. package/dist/cjs/ADFooter.js +5 -5
  7. package/dist/cjs/ADGutter.js +18 -16
  8. package/dist/cjs/{ADInfeed-38066a36.js → ADInfeed-ede153e2.js} +2 -2
  9. package/dist/cjs/ADSkyscraper.js +18 -16
  10. package/dist/cjs/ADSponsoredResources.js +18 -16
  11. package/dist/cjs/ADWebcast.js +18 -16
  12. package/dist/cjs/ADWelcome.js +18 -16
  13. package/dist/cjs/{ADlgInfeed-d95c9027.js → ADlgInfeed-6a121a0d.js} +2 -2
  14. package/dist/cjs/AccordionPanel.js +6 -6
  15. package/dist/cjs/AdSlot.js +19 -17
  16. package/dist/cjs/AdSlotsProvider.js +4 -2
  17. package/dist/cjs/AlphabeticList.js +9 -9
  18. package/dist/cjs/ArticleCarousel.js +16 -13
  19. package/dist/cjs/ArticleSeriesListing.js +27 -24
  20. package/dist/cjs/Auth.js +768 -486
  21. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-d19285ed.js} +1 -1
  22. package/dist/cjs/Beam.js +19 -19
  23. package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-e53217a7.js} +23 -25
  24. package/dist/cjs/Breadcrumbs.js +5 -5
  25. package/dist/cjs/BrowseVideosListing.js +17 -14
  26. package/dist/cjs/CMEDeck.js +26 -23
  27. package/dist/cjs/Column2.js +15 -13
  28. package/dist/cjs/Column3.js +24 -22
  29. package/dist/cjs/ConferenceArticleCard.js +2 -2
  30. package/dist/cjs/DeckContent.js +33 -30
  31. package/dist/cjs/DeckQueue.js +32 -29
  32. package/dist/cjs/{Dfp-390337bf.js → Dfp-13ff07b4.js} +13 -10
  33. package/dist/cjs/EventsDeck.js +35 -34
  34. package/dist/cjs/ExternalResources.js +35 -32
  35. package/dist/cjs/Feature.js +4 -3
  36. package/dist/cjs/ForbesHero.js +12 -9
  37. package/dist/cjs/GridContent.js +45 -42
  38. package/dist/cjs/GridHero.js +12 -9
  39. package/dist/cjs/GroupDeck.js +13 -13
  40. package/dist/cjs/HamMagazine.js +19 -17
  41. package/dist/cjs/Hero.js +1 -1
  42. package/dist/cjs/HighlightenVideo.js +1 -1
  43. package/dist/cjs/HorizontalHero.js +3 -3
  44. package/dist/cjs/IssueContentDeck.js +12 -9
  45. package/dist/cjs/IssueDeck.js +15 -12
  46. package/dist/cjs/IssueLanding.js +29 -26
  47. package/dist/cjs/LeftNav.js +18 -16
  48. package/dist/cjs/MasterDeck.js +37 -34
  49. package/dist/cjs/NavDvm.js +9 -9
  50. package/dist/cjs/NavMagazine.js +19 -17
  51. package/dist/cjs/NavNative.js +16 -14
  52. package/dist/cjs/NavNormal.js +10 -10
  53. package/dist/cjs/OncliveHero.js +2 -3
  54. package/dist/cjs/OncliveLargeHero.js +12 -9
  55. package/dist/cjs/PageFilter.js +5 -5
  56. package/dist/cjs/PartnerDetailListing.js +45 -1239
  57. package/dist/cjs/PdfDownload.js +1 -1
  58. package/dist/cjs/PopUpModal.js +5 -5
  59. package/dist/cjs/PublicationDeck.js +8 -5
  60. package/dist/cjs/PublicationLanding.js +60 -57
  61. package/dist/cjs/QueueDeckExpanded.js +36 -33
  62. package/dist/cjs/RecentNews.js +3 -3
  63. package/dist/cjs/RelatedContent.js +6 -3
  64. package/dist/cjs/Search.js +5 -5
  65. package/dist/cjs/Segment.js +20 -20
  66. package/dist/cjs/SetCookie.js +2 -2
  67. package/dist/cjs/SideFooter.js +16 -14
  68. package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-1ef1e6fb.js} +7 -7
  69. package/dist/cjs/TaxonomyCard.js +10 -7
  70. package/dist/cjs/TemplateNormal.js +33 -31
  71. package/dist/cjs/ThumbnailCard.js +5 -2
  72. package/dist/cjs/Ustream.js +10 -9
  73. package/dist/cjs/VerticalHero.js +2 -2
  74. package/dist/cjs/VideoSeriesCard.js +13 -10
  75. package/dist/cjs/VideoSeriesFilter.js +11 -11
  76. package/dist/cjs/VideoSeriesListing.js +27 -24
  77. package/dist/cjs/View.js +51 -48
  78. package/dist/cjs/YahooHero.js +12 -9
  79. package/dist/cjs/YoutubeGroup.js +17 -14
  80. package/dist/cjs/{_to-object-329a650b.js → _export-a917dedd.js} +31 -31
  81. package/dist/cjs/{_is-array-754e012d.js → _is-array-a82382b4.js} +11 -11
  82. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-671c90bd.js} +10 -10
  83. package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
  84. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
  85. package/dist/cjs/_object-sap-947ef6fb.js +16 -0
  86. package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
  87. package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
  88. package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
  89. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-47156c42.js} +17 -17
  90. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-fd8e35e7.js} +69 -69
  91. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
  92. package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
  93. package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
  94. package/dist/cjs/{define-property-f4d12f4e.js → define-property-9b6df20e.js} +4 -4
  95. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d3c0cfc0.js} +2 -2
  96. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e5f4ce45.js} +34 -34
  97. package/dist/cjs/{extends-60837c34.js → extends-5fde0677.js} +11 -11
  98. package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
  99. package/dist/cjs/getRelatedArticle.js +426 -15
  100. package/dist/cjs/getSerializers.js +33 -30
  101. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-5ca9bfaf.js} +2 -2
  102. package/dist/cjs/getTargeting.js +8 -8
  103. package/dist/cjs/{index-da796b8c.js → index-29e3f3a9.js} +11 -12
  104. package/dist/cjs/{index-3294d3bc.js → index-949261b4.js} +18 -19
  105. package/dist/cjs/{index-58dae365.js → index-b1ee7cd9.js} +335 -329
  106. package/dist/cjs/index-bd6c9f56.js +211 -0
  107. package/dist/cjs/{index-099d45ae.js → index-d7577df6.js} +12 -16
  108. package/dist/cjs/{index-39beccb3.js → index-ff69979f.js} +26 -21
  109. package/dist/cjs/{index.es-9110add6.js → index.es-e9d84959.js} +23 -5
  110. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  111. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  112. package/dist/cjs/{index.esm-4d410430.js → index.esm-8a8fa078.js} +3 -4
  113. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  114. package/dist/cjs/index.js +61 -57
  115. package/dist/cjs/{inherits-513d81cd.js → inherits-02a27fbf.js} +16 -16
  116. package/dist/cjs/{isSymbol-04666465.js → isSymbol-a0d5eb50.js} +5 -5
  117. package/dist/cjs/{js.cookie-a511c430.js → js.cookie-e4684873.js} +1 -1
  118. package/dist/cjs/{keys-a586b7a0.js → keys-1a65eb47.js} +5 -5
  119. package/dist/cjs/{lodash-7fd85bcf.js → lodash-257df6c4.js} +1 -1
  120. package/dist/cjs/{main-03ffa84c.js → main-1442052b.js} +90 -57
  121. package/dist/cjs/{moment-575fe24c.js → moment-29403f08.js} +11 -8
  122. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-5604d0d1.js} +11 -13
  123. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-d0ac47b9.js} +10 -10
  124. package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-03c20c7d.js} +1 -1
  125. package/dist/cjs/{stringify-7c5aff47.js → stringify-e064b7d0.js} +2 -2
  126. package/dist/cjs/timeDifferenceCalc.js +1 -1
  127. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-d47f0c64.js} +13 -13
  128. package/dist/cjs/{typeof-725500bc.js → typeof-5763a25b.js} +84 -84
  129. package/dist/cjs/urlFor.js +1 -1
  130. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-ede0bc7b.js} +5 -6
  131. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-cd8a9ccb.js} +10 -10
  132. package/dist/esm/AD.js +1 -1
  133. package/dist/esm/AD300x250.js +21 -19
  134. package/dist/esm/AD300x250x600.js +21 -19
  135. package/dist/esm/AD728x90.js +22 -20
  136. package/dist/esm/ADFloatingFooter.js +20 -18
  137. package/dist/esm/ADFooter.js +5 -5
  138. package/dist/esm/ADGutter.js +20 -18
  139. package/dist/esm/{ADInfeed-7b1b2fcb.js → ADInfeed-d890d5ca.js} +4 -4
  140. package/dist/esm/ADSkyscraper.js +20 -18
  141. package/dist/esm/ADSponsoredResources.js +20 -18
  142. package/dist/esm/ADWebcast.js +20 -18
  143. package/dist/esm/ADWelcome.js +20 -18
  144. package/dist/esm/{ADlgInfeed-2afe92e6.js → ADlgInfeed-1d006b36.js} +4 -4
  145. package/dist/esm/AccordionPanel.js +6 -6
  146. package/dist/esm/AdSlot.js +19 -17
  147. package/dist/esm/AdSlotsProvider.js +4 -2
  148. package/dist/esm/AlphabeticList.js +9 -9
  149. package/dist/esm/ArticleCarousel.js +16 -13
  150. package/dist/esm/ArticleSeriesListing.js +27 -24
  151. package/dist/esm/Auth.js +763 -481
  152. package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-8ffb1deb.js} +1 -1
  153. package/dist/esm/Beam.js +19 -19
  154. package/dist/esm/{BlockContent-c409aca5.js → BlockContent-e6f64e62.js} +23 -21
  155. package/dist/esm/Breadcrumbs.js +5 -5
  156. package/dist/esm/BrowseVideosListing.js +17 -14
  157. package/dist/esm/CMEDeck.js +26 -23
  158. package/dist/esm/Column2.js +15 -13
  159. package/dist/esm/Column3.js +24 -22
  160. package/dist/esm/ConferenceArticleCard.js +2 -2
  161. package/dist/esm/DeckContent.js +33 -30
  162. package/dist/esm/DeckQueue.js +32 -29
  163. package/dist/esm/{Dfp-741c01be.js → Dfp-7db56716.js} +13 -10
  164. package/dist/esm/EventsDeck.js +35 -34
  165. package/dist/esm/ExternalResources.js +35 -32
  166. package/dist/esm/Feature.js +4 -3
  167. package/dist/esm/ForbesHero.js +12 -9
  168. package/dist/esm/GridContent.js +45 -42
  169. package/dist/esm/GridHero.js +12 -9
  170. package/dist/esm/GroupDeck.js +13 -13
  171. package/dist/esm/HamMagazine.js +19 -17
  172. package/dist/esm/Hero.js +1 -1
  173. package/dist/esm/HighlightenVideo.js +1 -1
  174. package/dist/esm/HorizontalHero.js +3 -3
  175. package/dist/esm/IssueContentDeck.js +12 -9
  176. package/dist/esm/IssueDeck.js +15 -12
  177. package/dist/esm/IssueLanding.js +29 -26
  178. package/dist/esm/LeftNav.js +18 -16
  179. package/dist/esm/MasterDeck.js +37 -34
  180. package/dist/esm/NavDvm.js +9 -9
  181. package/dist/esm/NavMagazine.js +19 -17
  182. package/dist/esm/NavNative.js +16 -14
  183. package/dist/esm/NavNormal.js +10 -10
  184. package/dist/esm/OncliveHero.js +2 -3
  185. package/dist/esm/OncliveLargeHero.js +12 -9
  186. package/dist/esm/PageFilter.js +5 -5
  187. package/dist/esm/PartnerDetailListing.js +45 -1238
  188. package/dist/esm/PdfDownload.js +1 -1
  189. package/dist/esm/PopUpModal.js +5 -5
  190. package/dist/esm/PublicationDeck.js +8 -5
  191. package/dist/esm/PublicationLanding.js +60 -57
  192. package/dist/esm/QueueDeckExpanded.js +36 -33
  193. package/dist/esm/RecentNews.js +3 -3
  194. package/dist/esm/RelatedContent.js +6 -3
  195. package/dist/esm/Search.js +5 -5
  196. package/dist/esm/Segment.js +20 -20
  197. package/dist/esm/SetCookie.js +2 -2
  198. package/dist/esm/SideFooter.js +16 -14
  199. package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-4eae0149.js} +7 -7
  200. package/dist/esm/TaxonomyCard.js +10 -7
  201. package/dist/esm/TemplateNormal.js +35 -33
  202. package/dist/esm/ThumbnailCard.js +5 -2
  203. package/dist/esm/Ustream.js +10 -9
  204. package/dist/esm/VerticalHero.js +2 -2
  205. package/dist/esm/VideoSeriesCard.js +13 -10
  206. package/dist/esm/VideoSeriesFilter.js +11 -11
  207. package/dist/esm/VideoSeriesListing.js +27 -24
  208. package/dist/esm/View.js +56 -53
  209. package/dist/esm/YahooHero.js +12 -9
  210. package/dist/esm/YoutubeGroup.js +17 -14
  211. package/dist/esm/{_to-object-ded78eb9.js → _export-f7ec2adf.js} +3 -3
  212. package/dist/esm/{_is-array-49698029.js → _is-array-5bea6006.js} +10 -10
  213. package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-65720de7.js} +8 -8
  214. package/dist/esm/_library-90219a8d.js +3 -0
  215. package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-8e2f6c3a.js} +1 -1
  216. package/dist/esm/_object-sap-146241c9.js +14 -0
  217. package/dist/esm/_prop-types_commonjs-external-9481d338.js +5 -0
  218. package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +5 -0
  219. package/dist/esm/_react_commonjs-external-22b61490.js +5 -0
  220. package/dist/esm/{_set-species-cede29f8.js → _set-species-26ee5c2a.js} +14 -14
  221. package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-0c61f551.js} +69 -69
  222. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e761d404.js} +4 -3
  223. package/dist/esm/core.get-iterator-method-dbbb346b.js +36 -0
  224. package/dist/esm/{debounce-1a993acf.js → debounce-7b569c00.js} +6 -6
  225. package/dist/esm/{define-property-de3fc946.js → define-property-7a40a451.js} +4 -4
  226. package/dist/esm/{defineProperty-b798470d.js → defineProperty-a2ac5d3d.js} +2 -2
  227. package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-13b94db0.js} +27 -27
  228. package/dist/esm/{extends-cc5da797.js → extends-8e0228d5.js} +11 -11
  229. package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
  230. package/dist/esm/getRelatedArticle.js +426 -15
  231. package/dist/esm/getSerializers.js +33 -30
  232. package/dist/esm/{getTargeting-2acdec91.js → getTargeting-d97a1e83.js} +2 -2
  233. package/dist/esm/getTargeting.js +8 -8
  234. package/dist/esm/{index-ef6d5dcf.js → index-1295881c.js} +16 -17
  235. package/dist/esm/{index-3f4dd6f2.js → index-17490425.js} +12 -12
  236. package/dist/esm/{index-7779a6df.js → index-4540328d.js} +338 -332
  237. package/dist/esm/{index-5f9f807a.js → index-a4e850af.js} +11 -8
  238. package/dist/esm/index-db3bb315.js +207 -0
  239. package/dist/esm/{index-3849e3fe.js → index-f7fdcc91.js} +26 -21
  240. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  241. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  242. package/dist/esm/{index.esm-fd746768.js → index.esm-4838a32e.js} +3 -4
  243. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  244. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  245. package/dist/esm/index.js +60 -56
  246. package/dist/esm/{inherits-7ee3e0c1.js → inherits-d1948b66.js} +16 -16
  247. package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
  248. package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
  249. package/dist/esm/{keys-fc2d4c34.js → keys-e091cb65.js} +5 -5
  250. package/dist/esm/{lodash-ec8c6b48.js → lodash-2b866578.js} +1 -1
  251. package/dist/esm/{main-35ff7b4f.js → main-140f99b4.js} +88 -52
  252. package/dist/esm/{moment-e2f9b20c.js → moment-8797a4d3.js} +11 -9
  253. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-40e8d28f.js} +11 -9
  254. package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-8818fe95.js} +10 -10
  255. package/dist/esm/{stringify-008c8802.js → stringify-dedf4a20.js} +2 -2
  256. package/dist/esm/timeDifferenceCalc.js +1 -1
  257. package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-02217419.js} +13 -13
  258. package/dist/esm/{typeof-08f2c380.js → typeof-a10a5616.js} +85 -85
  259. package/dist/esm/urlFor.js +1 -1
  260. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-7b6316cf.js} +5 -3
  261. package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-c3ba4d37.js} +10 -10
  262. package/package.json +3 -3
  263. package/dist/cjs/_object-sap-5e74ba08.js +0 -16
  264. package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
  265. package/dist/esm/_library-528f1934.js +0 -3
  266. package/dist/esm/_object-sap-4d59d5bd.js +0 -14
  267. package/dist/esm/core.get-iterator-method-54d2e411.js +0 -36
  268. /package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-2d74941c.js} +0 -0
@@ -2,64 +2,66 @@
2
2
 
3
3
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
4
 
5
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
- require('./_to-object-329a650b.js');
7
- require('./es6.string.iterator-cc0bbaa4.js');
8
- require('./_library-dd23b178.js');
9
- require('./_iter-detect-60b2f026.js');
10
- require('./toConsumableArray-9a3476fe.js');
11
- require('./core.get-iterator-method-f62321d4.js');
12
- require('./_object-pie-68c5bcbc.js');
13
- var _extends = require('./extends-60837c34.js');
14
- require('./_object-sap-5e74ba08.js');
15
- require('./inherits-513d81cd.js');
16
- require('./define-property-f4d12f4e.js');
17
- require('./web.dom.iterable-a0e279c1.js');
18
- require('./typeof-725500bc.js');
19
- require('./_is-array-754e012d.js');
5
+ require('./_commonjsHelpers-06173234.js');
6
+ require('./_export-a917dedd.js');
7
+ require('./es6.string.iterator-e5f4ce45.js');
8
+ require('./_library-4360b4e4.js');
9
+ require('./_iter-detect-671c90bd.js');
10
+ require('./toConsumableArray-d47f0c64.js');
11
+ require('./core.get-iterator-method-07b02ac3.js');
12
+ require('./_object-pie-6bed508e.js');
13
+ var _extends = require('./extends-5fde0677.js');
14
+ require('./_object-sap-947ef6fb.js');
15
+ require('./inherits-02a27fbf.js');
16
+ require('./define-property-9b6df20e.js');
17
+ require('./web.dom.iterable-cd8a9ccb.js');
18
+ require('./typeof-5763a25b.js');
19
+ require('./_is-array-a82382b4.js');
20
20
  var React = require('react');
21
21
  var React__default = _interopDefault(React);
22
- require('./index-099d45ae.js');
23
- var PropTypes = require('prop-types');
24
- var PropTypes__default = _interopDefault(PropTypes);
22
+ require('./index-d7577df6.js');
23
+ require('prop-types');
24
+ require('./_react_commonjs-external-58b78ee1.js');
25
+ require('./_prop-types_commonjs-external-1a8c9893.js');
25
26
  require('react-bootstrap/Row');
26
27
  require('react-bootstrap/Col');
27
28
  require('react-bootstrap/Card');
28
- var moment = require('./moment-575fe24c.js');
29
+ var moment = require('./moment-29403f08.js');
29
30
  require('next/router');
30
- require('./isSymbol-04666465.js');
31
- require('./debounce-eb287781.js');
32
- require('./index.es-9110add6.js');
31
+ require('./isSymbol-a0d5eb50.js');
32
+ require('./debounce-fb3a46a9.js');
33
+ require('./index.es-e9d84959.js');
33
34
  require('react-dom');
34
- require('./visibility-sensor-0c45a583.js');
35
- var index$1 = require('./index-39beccb3.js');
36
- require('./index-da796b8c.js');
37
- require('./main-03ffa84c.js');
35
+ require('./_react-dom_commonjs-external-3c49a59a.js');
36
+ require('./visibility-sensor-ede0bc7b.js');
37
+ var index$1 = require('./index-ff69979f.js');
38
+ require('./index-29e3f3a9.js');
39
+ require('./main-1442052b.js');
38
40
  require('./entities-310b46ee.js');
39
- require('./stringify-7c5aff47.js');
40
- var slicedToArray = require('./slicedToArray-8f385299.js');
41
- var asyncToGenerator = require('./asyncToGenerator-533d476a.js');
42
- require('./_set-species-f92c67c5.js');
41
+ require('./stringify-e064b7d0.js');
42
+ var slicedToArray = require('./slicedToArray-d0ac47b9.js');
43
+ var asyncToGenerator = require('./asyncToGenerator-fd8e35e7.js');
44
+ require('./_set-species-47156c42.js');
43
45
  require('./Segment.js');
44
46
  require('./Beam.js');
45
47
  require('./AdSlot.js');
46
- require('./ADInfeed-38066a36.js');
47
- require('./lodash-7fd85bcf.js');
48
- require('./ADlgInfeed-d95c9027.js');
48
+ require('./ADInfeed-ede153e2.js');
49
+ require('./lodash-257df6c4.js');
50
+ require('./ADlgInfeed-6a121a0d.js');
49
51
  require('./getContentCategory-f38a4c00.js');
50
- require('./AuthorComponent-bb831b74.js');
51
- var BlockContent = require('./BlockContent-80b15fac.js');
52
- var smoothscroll = require('./smoothscroll-95231a70.js');
52
+ require('./AuthorComponent-d19285ed.js');
53
+ var BlockContent = require('./BlockContent-e53217a7.js');
54
+ var smoothscroll = require('./smoothscroll-03c20c7d.js');
53
55
  require('./GroupDeck.js');
54
56
  require('react-bootstrap');
55
57
  require('./timeDifferenceCalc.js');
56
58
  var QueueDeckExpanded = require('./QueueDeckExpanded.js');
57
59
  require('./iconBase-68959171.js');
58
- require('./index.esm-90433435.js');
60
+ require('./index.esm-974f47d9.js');
59
61
  require('react-bootstrap/Button');
60
- var getSerializers = require('./index-58dae365.js');
62
+ var getSerializers = require('./index-b1ee7cd9.js');
61
63
  require('./util-f2c1b65b.js');
62
- require('./brightcove-react-player-loader.es-156bd4d6.js');
64
+ require('./brightcove-react-player-loader.es-05029198.js');
63
65
  require('react-bootstrap/Pagination');
64
66
  require('next/head');
65
67
  require('react-bootstrap/Figure');
@@ -68,1203 +70,7 @@ var Feature = require('./Feature.js');
68
70
  require('react-bootstrap/Breadcrumb');
69
71
  var Breadcrumbs = require('./Breadcrumbs.js');
70
72
  var urlFor = require('./urlFor.js');
71
-
72
- function _classCallCheck(instance, Constructor) {
73
- if (!(instance instanceof Constructor)) {
74
- throw new TypeError("Cannot call a class as a function");
75
- }
76
- }
77
-
78
- function _defineProperties(target, props) {
79
- for (var i = 0; i < props.length; i++) {
80
- var descriptor = props[i];
81
- descriptor.enumerable = descriptor.enumerable || false;
82
- descriptor.configurable = true;
83
- if ("value" in descriptor) descriptor.writable = true;
84
- Object.defineProperty(target, descriptor.key, descriptor);
85
- }
86
- }
87
-
88
- function _createClass(Constructor, protoProps, staticProps) {
89
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
90
- if (staticProps) _defineProperties(Constructor, staticProps);
91
- return Constructor;
92
- }
93
-
94
- function _typeof(obj) {
95
- "@babel/helpers - typeof";
96
-
97
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
98
- _typeof = function _typeof(obj) {
99
- return typeof obj;
100
- };
101
- } else {
102
- _typeof = function _typeof(obj) {
103
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
104
- };
105
- }
106
-
107
- return _typeof(obj);
108
- }
109
-
110
- function _assertThisInitialized(self) {
111
- if (self === void 0) {
112
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
113
- }
114
-
115
- return self;
116
- }
117
-
118
- function _possibleConstructorReturn(self, call) {
119
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
120
- return call;
121
- }
122
-
123
- return _assertThisInitialized(self);
124
- }
125
-
126
- function _getPrototypeOf(o) {
127
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
128
- return o.__proto__ || Object.getPrototypeOf(o);
129
- };
130
- return _getPrototypeOf(o);
131
- }
132
-
133
- function _setPrototypeOf(o, p) {
134
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
135
- o.__proto__ = p;
136
- return o;
137
- };
138
-
139
- return _setPrototypeOf(o, p);
140
- }
141
-
142
- function _inherits(subClass, superClass) {
143
- if (typeof superClass !== "function" && superClass !== null) {
144
- throw new TypeError("Super expression must either be null or a function");
145
- }
146
-
147
- subClass.prototype = Object.create(superClass && superClass.prototype, {
148
- constructor: {
149
- value: subClass,
150
- writable: true,
151
- configurable: true
152
- }
153
- });
154
- if (superClass) _setPrototypeOf(subClass, superClass);
155
- }
156
-
157
- function _defineProperty(obj, key, value) {
158
- if (key in obj) {
159
- Object.defineProperty(obj, key, {
160
- value: value,
161
- enumerable: true,
162
- configurable: true,
163
- writable: true
164
- });
165
- } else {
166
- obj[key] = value;
167
- }
168
-
169
- return obj;
170
- }
171
-
172
- var isRequiredIf_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
173
- 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.
174
- }};exports.default=isRequiredIf;
175
-
176
-
177
- });
178
-
179
- var isRequiredIf = _commonjsHelpers.unwrapExports(isRequiredIf_1);
180
-
181
- var exenv = _commonjsHelpers.createCommonjsModule(function (module) {
182
- /*!
183
- Copyright (c) 2015 Jed Watson.
184
- Based on code that is Copyright 2013-2015, Facebook, Inc.
185
- All rights reserved.
186
- */
187
- /* global define */
188
-
189
- (function () {
190
-
191
- var canUseDOM = !!(
192
- typeof window !== 'undefined' &&
193
- window.document &&
194
- window.document.createElement
195
- );
196
-
197
- var ExecutionEnvironment = {
198
-
199
- canUseDOM: canUseDOM,
200
-
201
- canUseWorkers: typeof Worker !== 'undefined',
202
-
203
- canUseEventListeners:
204
- canUseDOM && !!(window.addEventListener || window.attachEvent),
205
-
206
- canUseViewport: canUseDOM && !!window.screen
207
-
208
- };
209
-
210
- if ( module.exports) {
211
- module.exports = ExecutionEnvironment;
212
- } else {
213
- window.ExecutionEnvironment = ExecutionEnvironment;
214
- }
215
-
216
- }());
217
- });
218
-
219
- var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
220
-
221
- var TwitterTimelineEmbed =
222
- /*#__PURE__*/
223
- function (_Component) {
224
- _inherits(TwitterTimelineEmbed, _Component);
225
-
226
- function TwitterTimelineEmbed(props) {
227
- var _this;
228
-
229
- _classCallCheck(this, TwitterTimelineEmbed);
230
-
231
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
232
- _this.state = {
233
- isLoading: true
234
- };
235
- return _this;
236
- }
237
-
238
- _createClass(TwitterTimelineEmbed, [{
239
- key: "buildChromeOptions",
240
- value: function buildChromeOptions(options) {
241
- options.chrome = '';
242
-
243
- if (this.props.noHeader) {
244
- options.chrome = options.chrome + ' noheader';
245
- }
246
-
247
- if (this.props.noFooter) {
248
- options.chrome = options.chrome + ' nofooter';
249
- }
250
-
251
- if (this.props.noBorders) {
252
- options.chrome = options.chrome + ' noborders';
253
- }
254
-
255
- if (this.props.noScrollbar) {
256
- options.chrome = options.chrome + ' noscrollbar';
257
- }
258
-
259
- if (this.props.transparent) {
260
- options.chrome = options.chrome + ' transparent';
261
- }
262
-
263
- return options;
264
- }
265
- }, {
266
- key: "buildOptions",
267
- value: function buildOptions() {
268
- var options = Object.assign({}, this.props.options);
269
-
270
- if (this.props.autoHeight) {
271
- options.height = this.refs.embedContainer.parentNode.offsetHeight;
272
- }
273
-
274
- options = Object.assign({}, options, {
275
- theme: this.props.theme,
276
- linkColor: this.props.linkColor,
277
- borderColor: this.props.borderColor,
278
- lang: this.props.lang
279
- });
280
- return options;
281
- }
282
- }, {
283
- key: "renderWidget",
284
- value: function renderWidget(options) {
285
- var _this2 = this;
286
-
287
- var onLoad = this.props.onLoad;
288
-
289
- if (!this.isMountCanceled) {
290
- window.twttr.widgets.createTimeline({
291
- sourceType: this.props.sourceType,
292
- screenName: this.props.screenName,
293
- userId: this.props.userId,
294
- ownerScreenName: this.props.ownerScreenName,
295
- slug: this.props.slug,
296
- id: this.props.id || this.props.widgetId,
297
- url: this.props.url
298
- }, this.refs.embedContainer, options).then(function (element) {
299
- _this2.setState({
300
- isLoading: false
301
- });
302
-
303
- if (onLoad) {
304
- onLoad(element);
305
- }
306
- });
307
- }
308
- }
309
- }, {
310
- key: "componentDidMount",
311
- value: function componentDidMount() {
312
- var _this3 = this;
313
-
314
- if (exenv.canUseDOM) {
315
- var script = require('scriptjs');
316
-
317
- script(twitterWidgetJs, 'twitter-embed', function () {
318
- if (!window.twttr) {
319
- console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
320
- return;
321
- }
322
-
323
- var options = _this3.buildOptions();
324
- /** Append chrome options */
325
-
326
-
327
- options = _this3.buildChromeOptions(options);
328
-
329
- _this3.renderWidget(options);
330
- });
331
- }
332
- }
333
- }, {
334
- key: "componentWillUnmount",
335
- value: function componentWillUnmount() {
336
- this.isMountCanceled = true;
337
- }
338
- }, {
339
- key: "render",
340
- value: function render() {
341
- var isLoading = this.state.isLoading;
342
- var placeholder = this.props.placeholder;
343
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
344
- ref: "embedContainer"
345
- }));
346
- }
347
- }]);
348
-
349
- return TwitterTimelineEmbed;
350
- }(React.Component);
351
-
352
- _defineProperty(TwitterTimelineEmbed, "propTypes", {
353
- /**
354
- * This can be either of profile, likes, list, collection, URL, widget
355
- */
356
- sourceType: PropTypes__default.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
357
-
358
- /**
359
- * username of twitter handle as String
360
- */
361
- screenName: isRequiredIf(PropTypes__default.string, function (props) {
362
- return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
363
- }),
364
-
365
- /**
366
- * UserId of twitter handle as number
367
- */
368
- userId: isRequiredIf(PropTypes__default.number, function (props) {
369
- return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
370
- }),
371
-
372
- /**
373
- * To show list, used along with slug
374
- */
375
- ownerScreenName: isRequiredIf(PropTypes__default.string, function (props) {
376
- return props.sourceType === 'list' && !props.hasOwnProperty('id');
377
- }),
378
-
379
- /**
380
- * To show list, used along with ownerScreenName
381
- */
382
- slug: isRequiredIf(PropTypes__default.string, function (props) {
383
- return props.sourceType === 'list' && !props.hasOwnProperty('id');
384
- }),
385
-
386
- /**
387
- * To show list, unique list id
388
- * Also used with collections, in that case its valid collection id
389
- */
390
- id: isRequiredIf(PropTypes__default.oneOfType([PropTypes__default.number, PropTypes__default.string]), function (props) {
391
- return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
392
- }),
393
-
394
- /**
395
- * To show twitter content with url.
396
- * Supported content includes profiles, likes, lists, and collections.
397
- */
398
- url: isRequiredIf(PropTypes__default.string, function (props) {
399
- return props.sourceType === 'url';
400
- }),
401
-
402
- /**
403
- * To show custom widget
404
- */
405
- widgetId: isRequiredIf(PropTypes__default.string, function (props) {
406
- return props.sourceType === 'widget';
407
- }),
408
-
409
- /**
410
- * Additional options to pass to twitter widget plugin
411
- */
412
- options: PropTypes__default.object,
413
-
414
- /**
415
- * Automatically fit into parent container height
416
- */
417
- autoHeight: PropTypes__default.bool,
418
-
419
- /**
420
- * With dark or light theme
421
- */
422
- theme: PropTypes__default.oneOf(['dark', 'light']),
423
-
424
- /**
425
- * With custom link colors. Note: Only Hex colors are supported.
426
- */
427
- linkColor: PropTypes__default.string,
428
-
429
- /**
430
- * With custom border colors. Note: Only Hex colors are supported.
431
- */
432
- borderColor: PropTypes__default.string,
433
-
434
- /**
435
- * Hide the header from timeline
436
- */
437
- noHeader: PropTypes__default.bool,
438
-
439
- /**
440
- * Hide the footer from timeline
441
- */
442
- noFooter: PropTypes__default.bool,
443
-
444
- /**
445
- * Hide the border from timeline
446
- */
447
- noBorders: PropTypes__default.bool,
448
-
449
- /**
450
- * Hide the scrollbars
451
- */
452
- noScrollbar: PropTypes__default.bool,
453
-
454
- /**
455
- * Enable Transparancy
456
- */
457
- transparent: PropTypes__default.bool,
458
-
459
- /**
460
- * Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
461
- */
462
- lang: PropTypes__default.string,
463
-
464
- /**
465
- * Placeholder while tweet is loading
466
- */
467
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
468
-
469
- /**
470
- * Function to execute after load, return html element
471
- */
472
- onLoad: PropTypes__default.func
473
- });
474
-
475
- var TwitterShareButton =
476
- /*#__PURE__*/
477
- function (_Component) {
478
- _inherits(TwitterShareButton, _Component);
479
-
480
- function TwitterShareButton(props) {
481
- var _this;
482
-
483
- _classCallCheck(this, TwitterShareButton);
484
-
485
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
486
- _this.state = {
487
- isLoading: true
488
- };
489
- return _this;
490
- }
491
-
492
- _createClass(TwitterShareButton, [{
493
- key: "componentDidMount",
494
- value: function componentDidMount() {
495
- var _this2 = this;
496
-
497
- var onLoad = this.props.onLoad;
498
-
499
- if (exenv.canUseDOM) {
500
- var script = require('scriptjs');
501
-
502
- script(twitterWidgetJs, 'twitter-embed', function () {
503
- if (!window.twttr) {
504
- console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
505
- return;
506
- }
507
-
508
- if (!_this2.isMountCanceled) {
509
- window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
510
- _this2.setState({
511
- isLoading: false
512
- });
513
-
514
- if (onLoad) {
515
- onLoad(element);
516
- }
517
- });
518
- }
519
- });
520
- }
521
- }
522
- }, {
523
- key: "componentWillUnmount",
524
- value: function componentWillUnmount() {
525
- this.isMountCanceled = true;
526
- }
527
- }, {
528
- key: "render",
529
- value: function render() {
530
- var isLoading = this.state.isLoading;
531
- var placeholder = this.props.placeholder;
532
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
533
- ref: "embedContainer"
534
- }));
535
- }
536
- }]);
537
-
538
- return TwitterShareButton;
539
- }(React.Component);
540
-
541
- _defineProperty(TwitterShareButton, "propTypes", {
542
- /**
543
- * Url for sharing
544
- */
545
- url: PropTypes__default.string.isRequired,
546
-
547
- /**
548
- * Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
549
- */
550
- options: PropTypes__default.object,
551
-
552
- /**
553
- * Placeholder while tweet is loading
554
- */
555
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
556
-
557
- /**
558
- * Function to execute after load, return html element
559
- */
560
- onLoad: PropTypes__default.func
561
- });
562
-
563
- var TwitterFollowButton =
564
- /*#__PURE__*/
565
- function (_Component) {
566
- _inherits(TwitterFollowButton, _Component);
567
-
568
- function TwitterFollowButton(props) {
569
- var _this;
570
-
571
- _classCallCheck(this, TwitterFollowButton);
572
-
573
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
574
- _this.state = {
575
- isLoading: true
576
- };
577
- return _this;
578
- }
579
-
580
- _createClass(TwitterFollowButton, [{
581
- key: "componentDidMount",
582
- value: function componentDidMount() {
583
- var _this2 = this;
584
-
585
- var onLoad = this.props.onLoad;
586
-
587
- if (exenv.canUseDOM) {
588
- var script = require('scriptjs');
589
-
590
- script(twitterWidgetJs, 'twitter-embed', function () {
591
- if (!window.twttr) {
592
- console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
593
- return;
594
- }
595
-
596
- if (!_this2.isMountCanceled) {
597
- window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
598
- _this2.setState({
599
- isLoading: false
600
- });
601
-
602
- if (onLoad) {
603
- onLoad(element);
604
- }
605
- });
606
- }
607
- });
608
- }
609
- }
610
- }, {
611
- key: "componentWillUnmount",
612
- value: function componentWillUnmount() {
613
- this.isMountCanceled = true;
614
- }
615
- }, {
616
- key: "render",
617
- value: function render() {
618
- var isLoading = this.state.isLoading;
619
- var placeholder = this.props.placeholder;
620
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
621
- ref: "embedContainer"
622
- }));
623
- }
624
- }]);
625
-
626
- return TwitterFollowButton;
627
- }(React.Component);
628
-
629
- _defineProperty(TwitterFollowButton, "propTypes", {
630
- /**
631
- * Username of twitter user which will be followed on click
632
- */
633
- screenName: PropTypes__default.string.isRequired,
634
-
635
- /**
636
- * Additional options to be added to the button
637
- */
638
- options: PropTypes__default.object,
639
-
640
- /**
641
- * Placeholder while tweet is loading
642
- */
643
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
644
-
645
- /**
646
- * Function to execute after load, return html element
647
- */
648
- onLoad: PropTypes__default.func
649
- });
650
-
651
- var TwitterHashtagButton =
652
- /*#__PURE__*/
653
- function (_Component) {
654
- _inherits(TwitterHashtagButton, _Component);
655
-
656
- function TwitterHashtagButton(props) {
657
- var _this;
658
-
659
- _classCallCheck(this, TwitterHashtagButton);
660
-
661
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
662
- _this.state = {
663
- isLoading: true
664
- };
665
- return _this;
666
- }
667
-
668
- _createClass(TwitterHashtagButton, [{
669
- key: "componentDidMount",
670
- value: function componentDidMount() {
671
- var _this2 = this;
672
-
673
- var onLoad = this.props.onLoad;
674
-
675
- if (exenv.canUseDOM) {
676
- var script = require('scriptjs');
677
-
678
- script(twitterWidgetJs, 'twitter-embed', function () {
679
- if (!window.twttr) {
680
- console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
681
- return;
682
- }
683
-
684
- if (!_this2.isMountCanceled) {
685
- window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
686
- _this2.setState({
687
- isLoading: false
688
- });
689
-
690
- if (onLoad) {
691
- onLoad(element);
692
- }
693
- });
694
- }
695
- });
696
- }
697
- }
698
- }, {
699
- key: "componentWillUnmount",
700
- value: function componentWillUnmount() {
701
- this.isMountCanceled = true;
702
- }
703
- }, {
704
- key: "render",
705
- value: function render() {
706
- var isLoading = this.state.isLoading;
707
- var placeholder = this.props.placeholder;
708
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
709
- ref: "embedContainer"
710
- }));
711
- }
712
- }]);
713
-
714
- return TwitterHashtagButton;
715
- }(React.Component);
716
-
717
- _defineProperty(TwitterHashtagButton, "propTypes", {
718
- /**
719
- * Tag name for hashtag button
720
- */
721
- tag: PropTypes__default.string.isRequired,
722
-
723
- /**
724
- * Additional options to be added to the button
725
- */
726
- options: PropTypes__default.object,
727
-
728
- /**
729
- * Placeholder while tweet is loading
730
- */
731
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
732
-
733
- /**
734
- * Function to execute after load, return html element
735
- */
736
- onLoad: PropTypes__default.func
737
- });
738
-
739
- var TwitterMentionButton =
740
- /*#__PURE__*/
741
- function (_Component) {
742
- _inherits(TwitterMentionButton, _Component);
743
-
744
- function TwitterMentionButton(props) {
745
- var _this;
746
-
747
- _classCallCheck(this, TwitterMentionButton);
748
-
749
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
750
- _this.state = {
751
- isLoading: true
752
- };
753
- return _this;
754
- }
755
-
756
- _createClass(TwitterMentionButton, [{
757
- key: "componentDidMount",
758
- value: function componentDidMount() {
759
- var _this2 = this;
760
-
761
- var onLoad = this.props.onLoad;
762
-
763
- if (exenv.canUseDOM) {
764
- var script = require('scriptjs');
765
-
766
- script(twitterWidgetJs, 'twitter-embed', function () {
767
- if (!window.twttr) {
768
- console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
769
- return;
770
- }
771
-
772
- if (!_this2.isMountCanceled) {
773
- window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
774
- _this2.setState({
775
- isLoading: false
776
- });
777
-
778
- if (onLoad) {
779
- onLoad(element);
780
- }
781
- });
782
- }
783
- });
784
- }
785
- }
786
- }, {
787
- key: "componentWillUnmount",
788
- value: function componentWillUnmount() {
789
- this.isMountCanceled = true;
790
- }
791
- }, {
792
- key: "render",
793
- value: function render() {
794
- var isLoading = this.state.isLoading;
795
- var placeholder = this.props.placeholder;
796
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
797
- ref: "embedContainer"
798
- }));
799
- }
800
- }]);
801
-
802
- return TwitterMentionButton;
803
- }(React.Component);
804
-
805
- _defineProperty(TwitterMentionButton, "propTypes", {
806
- /**
807
- * Username to which you will need to tweet
808
- */
809
- screenName: PropTypes__default.string.isRequired,
810
-
811
- /**
812
- * Additional options for overriding config.
813
- */
814
- options: PropTypes__default.object,
815
-
816
- /**
817
- * Placeholder while tweet is loading
818
- */
819
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
820
-
821
- /**
822
- * Function to execute after load, return html element
823
- */
824
- onLoad: PropTypes__default.func
825
- });
826
-
827
- var TwitterTweetEmbed =
828
- /*#__PURE__*/
829
- function (_Component) {
830
- _inherits(TwitterTweetEmbed, _Component);
831
-
832
- function TwitterTweetEmbed(props) {
833
- var _this;
834
-
835
- _classCallCheck(this, TwitterTweetEmbed);
836
-
837
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
838
- _this.state = {
839
- isLoading: true
840
- };
841
- return _this;
842
- }
843
-
844
- _createClass(TwitterTweetEmbed, [{
845
- key: "renderWidget",
846
- value: function renderWidget() {
847
- var _this2 = this;
848
-
849
- var onLoad = this.props.onLoad;
850
-
851
- if (!window.twttr) {
852
- console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
853
- return;
854
- }
855
-
856
- if (!this.isMountCanceled) {
857
- window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
858
- _this2.setState({
859
- isLoading: false
860
- });
861
-
862
- if (onLoad) {
863
- onLoad(element);
864
- }
865
- });
866
- }
867
- }
868
- }, {
869
- key: "componentDidMount",
870
- value: function componentDidMount() {
871
- var _this3 = this;
872
-
873
- if (exenv.canUseDOM) {
874
- var script = require('scriptjs');
875
-
876
- script(twitterWidgetJs, 'twitter-embed', function () {
877
- _this3.renderWidget();
878
- });
879
- }
880
- }
881
- }, {
882
- key: "componentWillUnmount",
883
- value: function componentWillUnmount() {
884
- this.isMountCanceled = true;
885
- }
886
- }, {
887
- key: "render",
888
- value: function render() {
889
- var isLoading = this.state.isLoading;
890
- var placeholder = this.props.placeholder;
891
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
892
- ref: "embedContainer"
893
- }));
894
- }
895
- }]);
896
-
897
- return TwitterTweetEmbed;
898
- }(React.Component);
899
-
900
- _defineProperty(TwitterTweetEmbed, "propTypes", {
901
- /**
902
- * Tweet id that needs to be shown
903
- */
904
- tweetId: PropTypes__default.string.isRequired,
905
-
906
- /**
907
- * Additional options to pass to twitter widget plugin
908
- */
909
- options: PropTypes__default.object,
910
-
911
- /**
912
- * Placeholder while tweet is loading
913
- */
914
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
915
-
916
- /**
917
- * Function to execute after load, return html element
918
- */
919
- onLoad: PropTypes__default.func
920
- });
921
-
922
- var TwitterMomentShare =
923
- /*#__PURE__*/
924
- function (_Component) {
925
- _inherits(TwitterMomentShare, _Component);
926
-
927
- function TwitterMomentShare(props) {
928
- var _this;
929
-
930
- _classCallCheck(this, TwitterMomentShare);
931
-
932
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
933
- _this.state = {
934
- isLoading: true
935
- };
936
- return _this;
937
- }
938
-
939
- _createClass(TwitterMomentShare, [{
940
- key: "componentDidMount",
941
- value: function componentDidMount() {
942
- var _this2 = this;
943
-
944
- var onLoad = this.props.onLoad;
945
-
946
- if (exenv.canUseDOM) {
947
- var script = require('scriptjs');
948
-
949
- script(twitterWidgetJs, 'twitter-embed', function () {
950
- if (!window.twttr) {
951
- console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
952
- return;
953
- }
954
-
955
- if (!_this2.isMountCanceled) {
956
- window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
957
- _this2.setState({
958
- isLoading: false
959
- });
960
-
961
- if (onLoad) {
962
- onLoad(element);
963
- }
964
- });
965
- }
966
- });
967
- }
968
- }
969
- }, {
970
- key: "componentWillUnmount",
971
- value: function componentWillUnmount() {
972
- this.isMountCanceled = true;
973
- }
974
- }, {
975
- key: "render",
976
- value: function render() {
977
- var isLoading = this.state.isLoading;
978
- var placeholder = this.props.placeholder;
979
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
980
- ref: "shareMoment"
981
- }));
982
- }
983
- }]);
984
-
985
- return TwitterMomentShare;
986
- }(React.Component);
987
-
988
- _defineProperty(TwitterMomentShare, "propTypes", {
989
- /**
990
- * id of Twitter moment to show
991
- */
992
- momentId: PropTypes__default.string.isRequired,
993
-
994
- /**
995
- * Additional options for overriding config.
996
- */
997
- options: PropTypes__default.object,
998
-
999
- /**
1000
- * Placeholder while tweet is loading
1001
- */
1002
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
1003
-
1004
- /**
1005
- * Function to execute after load, return html element
1006
- */
1007
- onLoad: PropTypes__default.func
1008
- });
1009
-
1010
- var TwitterDMButton =
1011
- /*#__PURE__*/
1012
- function (_Component) {
1013
- _inherits(TwitterDMButton, _Component);
1014
-
1015
- function TwitterDMButton(props) {
1016
- var _this;
1017
-
1018
- _classCallCheck(this, TwitterDMButton);
1019
-
1020
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
1021
- _this.state = {
1022
- isLoading: true
1023
- };
1024
- return _this;
1025
- }
1026
-
1027
- _createClass(TwitterDMButton, [{
1028
- key: "componentDidMount",
1029
- value: function componentDidMount() {
1030
- var _this2 = this;
1031
-
1032
- var onLoad = this.props.onLoad;
1033
-
1034
- if (exenv.canUseDOM) {
1035
- var script = require('scriptjs');
1036
-
1037
- script(twitterWidgetJs, 'twitter-embed', function () {
1038
- if (!window.twttr) {
1039
- console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
1040
- return;
1041
- }
1042
-
1043
- if (!_this2.isMountCanceled) {
1044
- window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1045
- _this2.setState({
1046
- isLoading: false
1047
- });
1048
-
1049
- if (onLoad) {
1050
- onLoad(element);
1051
- }
1052
- });
1053
- }
1054
- });
1055
- }
1056
- }
1057
- }, {
1058
- key: "componentWillUnmount",
1059
- value: function componentWillUnmount() {
1060
- this.isMountCanceled = true;
1061
- }
1062
- }, {
1063
- key: "render",
1064
- value: function render() {
1065
- var isLoading = this.state.isLoading;
1066
- var placeholder = this.props.placeholder;
1067
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1068
- ref: "embedContainer"
1069
- }));
1070
- }
1071
- }]);
1072
-
1073
- return TwitterDMButton;
1074
- }(React.Component);
1075
-
1076
- _defineProperty(TwitterDMButton, "propTypes", {
1077
- /**
1078
- * Twitter user id for DM button
1079
- */
1080
- id: PropTypes__default.number.isRequired,
1081
-
1082
- /**
1083
- * Additional options to be added to the button
1084
- */
1085
- options: PropTypes__default.object,
1086
-
1087
- /**
1088
- * Placeholder while tweet is loading
1089
- */
1090
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
1091
-
1092
- /**
1093
- * Function to execute after load, return html element
1094
- */
1095
- onLoad: PropTypes__default.func
1096
- });
1097
-
1098
- var TwitterVideoEmbed =
1099
- /*#__PURE__*/
1100
- function (_Component) {
1101
- _inherits(TwitterVideoEmbed, _Component);
1102
-
1103
- function TwitterVideoEmbed(props) {
1104
- var _this;
1105
-
1106
- _classCallCheck(this, TwitterVideoEmbed);
1107
-
1108
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
1109
- _this.state = {
1110
- isLoading: true
1111
- };
1112
- return _this;
1113
- }
1114
-
1115
- _createClass(TwitterVideoEmbed, [{
1116
- key: "componentDidMount",
1117
- value: function componentDidMount() {
1118
- var _this2 = this;
1119
-
1120
- var onLoad = this.props.onLoad;
1121
-
1122
- if (exenv.canUseDOM) {
1123
- var script = require('scriptjs');
1124
-
1125
- script(twitterWidgetJs, 'twitter-embed', function () {
1126
- if (!window.twttr) {
1127
- console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
1128
- return;
1129
- }
1130
-
1131
- if (!_this2.isMountCanceled) {
1132
- window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
1133
- _this2.setState({
1134
- isLoading: false
1135
- });
1136
-
1137
- if (onLoad) {
1138
- onLoad(element);
1139
- }
1140
- });
1141
- }
1142
- });
1143
- }
1144
- }
1145
- }, {
1146
- key: "componentWillUnmount",
1147
- value: function componentWillUnmount() {
1148
- this.isMountCanceled = true;
1149
- }
1150
- }, {
1151
- key: "render",
1152
- value: function render() {
1153
- var isLoading = this.state.isLoading;
1154
- var placeholder = this.props.placeholder;
1155
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1156
- ref: "embedContainer"
1157
- }));
1158
- }
1159
- }]);
1160
-
1161
- return TwitterVideoEmbed;
1162
- }(React.Component);
1163
-
1164
- _defineProperty(TwitterVideoEmbed, "propTypes", {
1165
- /**
1166
- * Id of video tweet.
1167
- */
1168
- id: PropTypes__default.string.isRequired,
1169
-
1170
- /**
1171
- * Placeholder while tweet is loading
1172
- */
1173
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
1174
-
1175
- /**
1176
- * Function to execute after load, return html element
1177
- */
1178
- onLoad: PropTypes__default.func
1179
- });
1180
-
1181
- var TwitterOnAirButton =
1182
- /*#__PURE__*/
1183
- function (_Component) {
1184
- _inherits(TwitterOnAirButton, _Component);
1185
-
1186
- function TwitterOnAirButton(props) {
1187
- var _this;
1188
-
1189
- _classCallCheck(this, TwitterOnAirButton);
1190
-
1191
- _this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
1192
- _this.state = {
1193
- isLoading: true
1194
- };
1195
- return _this;
1196
- }
1197
-
1198
- _createClass(TwitterOnAirButton, [{
1199
- key: "componentDidMount",
1200
- value: function componentDidMount() {
1201
- var _this2 = this;
1202
-
1203
- var onLoad = this.props.onLoad;
1204
-
1205
- if (exenv.canUseDOM) {
1206
- var script = require('scriptjs');
1207
-
1208
- script(twitterWidgetJs, 'twitter-embed', function () {
1209
- if (!window.twttr) {
1210
- console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
1211
- return;
1212
- }
1213
-
1214
- if (!_this2.isMountCanceled) {
1215
- window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
1216
- _this2.setState({
1217
- isLoading: false
1218
- });
1219
-
1220
- if (onLoad) {
1221
- onLoad(element);
1222
- }
1223
- });
1224
- }
1225
- });
1226
- }
1227
- }
1228
- }, {
1229
- key: "componentWillUnmount",
1230
- value: function componentWillUnmount() {
1231
- this.isMountCanceled = true;
1232
- }
1233
- }, {
1234
- key: "render",
1235
- value: function render() {
1236
- var isLoading = this.state.isLoading;
1237
- var placeholder = this.props.placeholder;
1238
- return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
1239
- ref: "embedContainer"
1240
- }));
1241
- }
1242
- }]);
1243
-
1244
- return TwitterOnAirButton;
1245
- }(React.Component);
1246
-
1247
- _defineProperty(TwitterOnAirButton, "propTypes", {
1248
- /**
1249
- * Username for which you require periscope on air button
1250
- */
1251
- username: PropTypes__default.string.isRequired,
1252
-
1253
- /**
1254
- * Additional options for overriding config.
1255
- */
1256
- options: PropTypes__default.object,
1257
-
1258
- /**
1259
- * Placeholder while tweet is loading
1260
- */
1261
- placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
1262
-
1263
- /**
1264
- * Function to execute after load, return html element
1265
- */
1266
- onLoad: PropTypes__default.func
1267
- });
73
+ var reactTwitterEmbed = require('react-twitter-embed');
1268
74
 
1269
75
  var ImageSlider = function ImageSlider(props) {
1270
76
  var innerSlider = React.useRef(null);
@@ -1518,7 +324,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
1518
324
  React__default.createElement(
1519
325
  'div',
1520
326
  { className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
1521
- React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
327
+ React__default.createElement(reactTwitterEmbed.TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
1522
328
  )
1523
329
  ),
1524
330
  React__default.createElement(
@@ -1558,12 +364,12 @@ var PartnerDetails = function PartnerDetails(_ref) {
1558
364
  };
1559
365
 
1560
366
  PartnerDetails.returnGetInitialProps = function () {
1561
- var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(identifier, partnerPageUrl, partnerDocumentGroupID, params, currentPage, client) {
367
+ var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator._regeneratorRuntime.mark(function _callee(identifier, partnerPageUrl, partnerDocumentGroupID, params, currentPage, client) {
1562
368
  var category = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
1563
369
 
1564
370
  var today, featureQuery, partnerQuery, taxonomyQuery, _ref3, _ref4, features, partnerDetails, taxonomyDetails, articlesQuery, articles;
1565
371
 
1566
- return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
372
+ return asyncToGenerator._regeneratorRuntime.wrap(function _callee$(_context) {
1567
373
  while (1) {
1568
374
  switch (_context.prev = _context.next) {
1569
375
  case 0: