@mjhls/mjh-framework 1.0.819 → 1.0.820

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 (289) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +24 -23
  4. package/dist/cjs/AD300x250x600.js +24 -23
  5. package/dist/cjs/AD728x90.js +27 -26
  6. package/dist/cjs/ADFloatingFooter.js +23 -22
  7. package/dist/cjs/ADFooter.js +6 -6
  8. package/dist/cjs/ADGutter.js +23 -22
  9. package/dist/cjs/{ADInfeed-98f6bd26.js → ADInfeed-8b336c67.js} +4 -4
  10. package/dist/cjs/ADSkyscraper.js +23 -22
  11. package/dist/cjs/ADSponsoredResources.js +23 -22
  12. package/dist/cjs/ADWebcast.js +23 -22
  13. package/dist/cjs/ADWelcome.js +20 -19
  14. package/dist/cjs/{ADlgInfeed-6055cb1b.js → ADlgInfeed-aedd5e18.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +8 -8
  16. package/dist/cjs/AdSlot.js +24 -23
  17. package/dist/cjs/AdSlotsProvider.js +14 -13
  18. package/dist/cjs/AlgoliaSearch.js +14114 -32
  19. package/dist/cjs/AlphabeticList.js +10 -10
  20. package/dist/cjs/ArticleCarousel.js +18 -17
  21. package/dist/cjs/ArticleProgramLandingPage.js +49 -47
  22. package/dist/cjs/ArticleSeriesLandingPage.js +33 -32
  23. package/dist/cjs/ArticleSeriesListing.js +34 -32
  24. package/dist/cjs/Auth.js +519 -348
  25. package/dist/cjs/AuthWrapper.js +19 -19
  26. package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
  29. package/dist/cjs/Breadcrumbs.js +8 -8
  30. package/dist/cjs/CMEDeck.js +25 -24
  31. package/dist/cjs/Column2.js +16 -16
  32. package/dist/cjs/Column3.js +33 -32
  33. package/dist/cjs/ConferenceArticleCard.js +10 -15
  34. package/dist/cjs/DeckContent.js +41 -46
  35. package/dist/cjs/DeckQueue.js +37 -43
  36. package/dist/cjs/{Dfp-82f75e49.js → Dfp-93399f8c.js} +15 -14
  37. package/dist/cjs/EventsDeck.js +28 -28
  38. package/dist/cjs/ExternalResources.js +48 -46
  39. package/dist/cjs/Feature.js +8 -12
  40. package/dist/cjs/ForbesHero.js +21 -23
  41. package/dist/cjs/GridContent.js +64 -69
  42. package/dist/cjs/GridHero.js +20 -29
  43. package/dist/cjs/GroupDeck.js +16 -20
  44. package/dist/cjs/HamMagazine.js +27 -27
  45. package/dist/cjs/Hero.js +5 -16
  46. package/dist/cjs/HighlightenVideo.js +2 -2
  47. package/dist/cjs/HorizontalArticleListing.js +46 -44
  48. package/dist/cjs/HorizontalHero.js +8 -9
  49. package/dist/cjs/IssueContentDeck.js +21 -38
  50. package/dist/cjs/IssueDeck.js +25 -27
  51. package/dist/cjs/IssueLanding.js +55 -53
  52. package/dist/cjs/LeftNav.js +22 -21
  53. package/dist/cjs/MasterDeck.js +35 -34
  54. package/dist/cjs/MediaSeriesLanding.js +606 -695
  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/NavNormal.js +14 -14
  59. package/dist/cjs/OncliveHero.js +8 -9
  60. package/dist/cjs/OncliveLargeHero.js +31 -32
  61. package/dist/cjs/PageFilter.js +6 -6
  62. package/dist/cjs/PartnerDetailListing.js +60 -63
  63. package/dist/cjs/PdfDownload.js +1 -1
  64. package/dist/cjs/PopUpModal.js +6 -6
  65. package/dist/cjs/PubSection.js +35 -33
  66. package/dist/cjs/PubToc.js +8 -8
  67. package/dist/cjs/PublicationDeck.js +16 -18
  68. package/dist/cjs/PublicationLanding.js +30 -33
  69. package/dist/cjs/QueueDeckExpanded.js +103 -101
  70. package/dist/cjs/RecentNews.js +4 -7
  71. package/dist/cjs/RelatedContent.js +11 -14
  72. package/dist/cjs/Search.js +8 -8
  73. package/dist/cjs/Segment.js +6 -6
  74. package/dist/cjs/SeriesListingDeck.js +21 -19
  75. package/dist/cjs/{SeriesSlider-b79e7df9.js → SeriesSlider-d54fa925.js} +11 -16
  76. package/dist/cjs/SetCookie.js +1 -1
  77. package/dist/cjs/SideFooter.js +15 -15
  78. package/dist/cjs/{SocialSearchComponent-560a666e.js → SocialSearchComponent-ecb4f972.js} +10 -10
  79. package/dist/cjs/TaxonomyCard.js +18 -21
  80. package/dist/cjs/TaxonomyDescription.js +46 -44
  81. package/dist/cjs/TemplateNormal.js +48 -47
  82. package/dist/cjs/ThumbnailCard.js +10 -14
  83. package/dist/cjs/Ustream.js +13 -13
  84. package/dist/cjs/VerticalHero.js +5 -9
  85. package/dist/cjs/VideoProgramLandingPage.js +52 -50
  86. package/dist/cjs/VideoSeriesCard.js +18 -17
  87. package/dist/cjs/VideoSeriesFilter.js +9 -9
  88. package/dist/cjs/VideoSeriesLandingPage.js +39 -37
  89. package/dist/cjs/VideoSeriesListing.js +35 -33
  90. package/dist/cjs/View.js +97 -97
  91. package/dist/cjs/YahooHero.js +23 -25
  92. package/dist/cjs/YoutubeGroup.js +24 -28
  93. package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
  94. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
  95. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  96. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
  97. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
  98. package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
  99. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
  100. package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-a195642e.js} +5 -4
  101. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
  102. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  103. package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
  104. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
  105. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  106. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  107. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
  108. package/dist/cjs/events-1b438fe7.js +469 -0
  109. package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
  110. package/dist/cjs/faundadb.js +7 -7
  111. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  112. package/dist/cjs/getRelatedArticle.js +14 -14
  113. package/dist/cjs/getRootDocGroup.js +6 -6
  114. package/dist/cjs/getSerializers.js +45 -43
  115. package/dist/cjs/{getTargeting-ea2ea5e7.js → getTargeting-be6168ad.js} +2 -2
  116. package/dist/cjs/getTargeting.js +8 -8
  117. package/dist/cjs/{index-35099a60.js → index-179d21a3.js} +203 -247
  118. package/dist/cjs/index-8041a4eb.js +99 -0
  119. package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
  120. package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
  121. package/dist/cjs/{index-5be2866f.js → index-f86bb269.js} +44 -45
  122. package/dist/cjs/{index-e08f00ce.js → index-fc2f1ca2.js} +5 -470
  123. package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
  124. package/dist/cjs/{index.esm-3ffa049c.js → index.esm-8123cf40.js} +1 -1
  125. package/dist/cjs/index.js +138 -151
  126. package/dist/cjs/{inherits-0c7830c5.js → inherits-c2065b95.js} +19 -19
  127. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  128. package/dist/cjs/keys-7f2c2108.js +25 -0
  129. package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
  130. package/dist/cjs/{main-11ec04d2.js → main-025fdc78.js} +240 -161
  131. package/dist/cjs/{moment-66a6a284.js → moment-aca40de1.js} +11 -9
  132. package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
  133. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  134. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  135. package/dist/cjs/stringify-c9ac1214.js +17 -0
  136. package/dist/cjs/timeDifferenceCalc.js +1 -1
  137. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  138. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  139. package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
  140. package/dist/cjs/urlFor.js +35 -3
  141. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
  142. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  143. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  144. package/dist/esm/AD.js +1 -1
  145. package/dist/esm/AD300x250.js +24 -23
  146. package/dist/esm/AD300x250x600.js +24 -23
  147. package/dist/esm/AD728x90.js +27 -26
  148. package/dist/esm/ADFloatingFooter.js +23 -22
  149. package/dist/esm/ADFooter.js +6 -6
  150. package/dist/esm/ADGutter.js +23 -22
  151. package/dist/esm/{ADInfeed-ba59666b.js → ADInfeed-28b1e946.js} +4 -4
  152. package/dist/esm/ADSkyscraper.js +23 -22
  153. package/dist/esm/ADSponsoredResources.js +23 -22
  154. package/dist/esm/ADWebcast.js +23 -22
  155. package/dist/esm/ADWelcome.js +20 -19
  156. package/dist/esm/{ADlgInfeed-995322a1.js → ADlgInfeed-0b474b02.js} +4 -4
  157. package/dist/esm/AccordionPanel.js +8 -8
  158. package/dist/esm/AdSlot.js +24 -23
  159. package/dist/esm/AdSlotsProvider.js +14 -13
  160. package/dist/esm/AlgoliaSearch.js +14108 -26
  161. package/dist/esm/AlphabeticList.js +10 -10
  162. package/dist/esm/ArticleCarousel.js +18 -17
  163. package/dist/esm/ArticleProgramLandingPage.js +49 -47
  164. package/dist/esm/ArticleSeriesLandingPage.js +33 -32
  165. package/dist/esm/ArticleSeriesListing.js +34 -32
  166. package/dist/esm/Auth.js +519 -348
  167. package/dist/esm/AuthWrapper.js +19 -19
  168. package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-5ae7409f.js} +1 -1
  169. package/dist/esm/Beam.js +8 -8
  170. package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-52cf21c5.js} +34 -34
  171. package/dist/esm/Breadcrumbs.js +7 -7
  172. package/dist/esm/CMEDeck.js +25 -24
  173. package/dist/esm/Column2.js +16 -16
  174. package/dist/esm/Column3.js +33 -32
  175. package/dist/esm/ConferenceArticleCard.js +10 -15
  176. package/dist/esm/DeckContent.js +39 -44
  177. package/dist/esm/DeckQueue.js +35 -41
  178. package/dist/esm/{Dfp-cde02d85.js → Dfp-43f121ff.js} +15 -14
  179. package/dist/esm/EventsDeck.js +26 -26
  180. package/dist/esm/ExternalResources.js +48 -46
  181. package/dist/esm/Feature.js +8 -12
  182. package/dist/esm/ForbesHero.js +16 -18
  183. package/dist/esm/GridContent.js +51 -56
  184. package/dist/esm/GridHero.js +15 -24
  185. package/dist/esm/GroupDeck.js +16 -20
  186. package/dist/esm/HamMagazine.js +27 -27
  187. package/dist/esm/Hero.js +5 -16
  188. package/dist/esm/HighlightenVideo.js +2 -2
  189. package/dist/esm/HorizontalArticleListing.js +46 -44
  190. package/dist/esm/HorizontalHero.js +8 -9
  191. package/dist/esm/IssueContentDeck.js +21 -38
  192. package/dist/esm/IssueDeck.js +24 -26
  193. package/dist/esm/IssueLanding.js +55 -53
  194. package/dist/esm/LeftNav.js +22 -21
  195. package/dist/esm/MasterDeck.js +35 -34
  196. package/dist/esm/MediaSeriesLanding.js +328 -417
  197. package/dist/esm/NavDvm.js +13 -13
  198. package/dist/esm/NavMagazine.js +30 -30
  199. package/dist/esm/NavNative.js +30 -30
  200. package/dist/esm/NavNormal.js +14 -14
  201. package/dist/esm/OncliveHero.js +8 -9
  202. package/dist/esm/OncliveLargeHero.js +19 -20
  203. package/dist/esm/PageFilter.js +6 -6
  204. package/dist/esm/PartnerDetailListing.js +60 -63
  205. package/dist/esm/PdfDownload.js +1 -1
  206. package/dist/esm/PopUpModal.js +6 -6
  207. package/dist/esm/PubSection.js +35 -33
  208. package/dist/esm/PubToc.js +8 -8
  209. package/dist/esm/PublicationDeck.js +15 -17
  210. package/dist/esm/PublicationLanding.js +29 -32
  211. package/dist/esm/QueueDeckExpanded.js +58 -56
  212. package/dist/esm/RecentNews.js +4 -7
  213. package/dist/esm/RelatedContent.js +8 -11
  214. package/dist/esm/Search.js +7 -7
  215. package/dist/esm/Segment.js +6 -6
  216. package/dist/esm/SeriesListingDeck.js +21 -19
  217. package/dist/esm/{SeriesSlider-1fa61a74.js → SeriesSlider-8f2aca58.js} +11 -16
  218. package/dist/esm/SetCookie.js +1 -1
  219. package/dist/esm/SideFooter.js +15 -15
  220. package/dist/esm/{SocialSearchComponent-82ac7d6d.js → SocialSearchComponent-cd38ae60.js} +9 -9
  221. package/dist/esm/TaxonomyCard.js +16 -19
  222. package/dist/esm/TaxonomyDescription.js +46 -44
  223. package/dist/esm/TemplateNormal.js +48 -47
  224. package/dist/esm/ThumbnailCard.js +8 -12
  225. package/dist/esm/Ustream.js +13 -13
  226. package/dist/esm/VerticalHero.js +5 -9
  227. package/dist/esm/VideoProgramLandingPage.js +51 -49
  228. package/dist/esm/VideoSeriesCard.js +15 -14
  229. package/dist/esm/VideoSeriesFilter.js +9 -9
  230. package/dist/esm/VideoSeriesLandingPage.js +39 -37
  231. package/dist/esm/VideoSeriesListing.js +35 -33
  232. package/dist/esm/View.js +96 -96
  233. package/dist/esm/YahooHero.js +19 -21
  234. package/dist/esm/YoutubeGroup.js +24 -28
  235. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  236. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  237. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  238. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  239. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  240. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  241. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  242. package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-b43c695a.js} +5 -4
  243. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  244. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  245. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  246. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  247. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  248. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  249. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  250. package/dist/esm/events-6c3a7a63.js +467 -0
  251. package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
  252. package/dist/esm/faundadb.js +7 -7
  253. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  254. package/dist/esm/getRelatedArticle.js +14 -14
  255. package/dist/esm/getRootDocGroup.js +6 -6
  256. package/dist/esm/getSerializers.js +45 -43
  257. package/dist/esm/{getTargeting-831bc794.js → getTargeting-68291ce9.js} +2 -2
  258. package/dist/esm/getTargeting.js +8 -8
  259. package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
  260. package/dist/esm/{index-acfb8079.js → index-2446af28.js} +4 -469
  261. package/dist/esm/{index-6c12bdd5.js → index-35bdcc81.js} +6 -6
  262. package/dist/esm/{index-e887f3d1.js → index-5cc7293b.js} +179 -223
  263. package/dist/esm/index-67e1773f.js +94 -0
  264. package/dist/esm/{index-d2f90501.js → index-79cfd25c.js} +44 -45
  265. package/dist/esm/{index.es-7dda2f0a.js → index.es-c6222053.js} +20 -4
  266. package/dist/esm/{index.esm-8ee5ff72.js → index.esm-8016b507.js} +1 -1
  267. package/dist/esm/index.js +119 -131
  268. package/dist/esm/{inherits-75d45541.js → inherits-a41fe93f.js} +19 -19
  269. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  270. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  271. package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
  272. package/dist/esm/{main-aef58dbc.js → main-b5c5aac1.js} +235 -156
  273. package/dist/esm/{moment-12415288.js → moment-bc12cb97.js} +11 -9
  274. package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-91f9716f.js} +16 -16
  275. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  276. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  277. package/dist/esm/stringify-59c8f690.js +15 -0
  278. package/dist/esm/timeDifferenceCalc.js +1 -1
  279. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  280. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  281. package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
  282. package/dist/esm/urlFor.js +35 -3
  283. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
  284. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  285. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  286. package/package.json +1 -1
  287. package/dist/cjs/keys-a586b7a0.js +0 -25
  288. package/dist/cjs/stringify-7c5aff47.js +0 -17
  289. package/dist/esm/stringify-4330ccdc.js +0 -15
@@ -1,51 +1,53 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-5d49a330.js';
6
- import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
- import './core.get-iterator-method-e1de7503.js';
8
- import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-6f2fcc99.js';
10
- import './_object-sap-964b6feb.js';
11
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.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';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
2
+ import { _ as _extends } from './extends-60e0e1c6.js';
3
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
16
4
  import React from 'react';
17
- import { l as lib_3 } from './index-acfb8079.js';
18
- import 'prop-types';
5
+ import { l as lib_3 } from './index-2446af28.js';
19
6
  import Container from 'react-bootstrap/Container';
20
7
  import Row from 'react-bootstrap/Row';
21
8
  import Col from 'react-bootstrap/Col';
22
9
  import Card from 'react-bootstrap/Card';
23
- import { m as moment } from './moment-12415288.js';
24
- import { withRouter } from 'next/router';
25
- import './isSymbol-1981418f.js';
26
- import { d as debounce_1 } from './debounce-9207d8ee.js';
27
- import './toNumber-2f7a84cd.js';
28
- import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
29
- import 'react-dom';
30
10
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
31
- import { i as imageUrlBuilder } from './index-51a80699.js';
32
- import { L as LazyLoad } from './index-6c12bdd5.js';
33
- import { m as main_39 } from './main-aef58dbc.js';
34
- import { c as clean_html_1 } from './entities-7cc3bf45.js';
35
- import './slicedToArray-641f241f.js';
36
- import './stringify-4330ccdc.js';
37
- import './asyncToGenerator-fc1c2e29.js';
38
- import './Segment.js';
39
- import './Beam.js';
40
- import './AdSlot.js';
41
- import { A as ADInfeed } from './ADInfeed-ba59666b.js';
42
- import { l as lodash } from './lodash-ec8c6b48.js';
43
- import { A as ADlgInfeed } from './ADlgInfeed-995322a1.js';
11
+ import { m as moment } from './moment-bc12cb97.js';
12
+ import { withRouter } from 'next/router';
13
+ import { L as LazyLoad } from './index-35bdcc81.js';
14
+ import { c as clean_html_1 } from './entities-932b50cf.js';
15
+ import { A as ADInfeed } from './ADInfeed-28b1e946.js';
16
+ import { l as lodash } from './lodash-f97fd99a.js';
17
+ import { A as ADlgInfeed } from './ADlgInfeed-0b474b02.js';
44
18
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
45
- import { g as get_1 } from './get-1e515072.js';
46
- import './eq-b470f743.js';
19
+ import { g as get_1 } from './get-3c308da4.js';
20
+ import { d as debounce_1 } from './debounce-533d9748.js';
21
+ import { I as InfiniteScroll } from './index.es-c6222053.js';
22
+ import urlFor from './urlFor.js';
23
+ import { m as main_43 } from './main-b5c5aac1.js';
47
24
  import './AD.js';
48
- import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
25
+ import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
26
+ import './_commonjsHelpers-0c4b6f40.js';
27
+ import './es6.string.iterator-bc33758b.js';
28
+ import './_to-object-b50e61c3.js';
29
+ import './_iter-detect-7e5e5ce2.js';
30
+ import './core.get-iterator-method-133dfacd.js';
31
+ import './_object-pie-133f504a.js';
32
+ import './_object-sap-f353c2a9.js';
33
+ import './define-property-fe54dc9f.js';
34
+ import './typeof-a286cf0c.js';
35
+ import './web.dom.iterable-4109ff68.js';
36
+ import './_is-array-3e99e06e.js';
37
+ import './_library-528f1934.js';
38
+ import './events-6c3a7a63.js';
39
+ import 'prop-types';
40
+ import 'react-dom';
41
+ import './slicedToArray-be2f7a22.js';
42
+ import './AdSlot.js';
43
+ import './Beam.js';
44
+ import './stringify-59c8f690.js';
45
+ import './asyncToGenerator-7f8f9219.js';
46
+ import './Segment.js';
47
+ import './isSymbol-a7e9aafe.js';
48
+ import './eq-bdcbf886.js';
49
+ import './toNumber-5aeba6e7.js';
50
+ import './index-0dbff1d1.js';
49
51
 
50
52
  var GridContent = function (_React$Component) {
51
53
  _inherits(GridContent, _React$Component);
@@ -61,7 +63,7 @@ var GridContent = function (_React$Component) {
61
63
  args[_key] = arguments[_key];
62
64
  }
63
65
 
64
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = GridContent.__proto__ || _Object$getPrototypeOf(GridContent)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.state = {
66
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = GridContent.__proto__ || _Object$getPrototypeOf(GridContent)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.client = _this.props.client, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.state = {
65
67
  data: _this.data,
66
68
  per: _this.params ? _this.params.to : 2,
67
69
  page: _this.props.currentPage || 1,
@@ -148,25 +150,18 @@ var GridContent = function (_React$Component) {
148
150
  }
149
151
  });
150
152
  });
151
- }, _this.urlFor = function (source) {
152
- var client = _this.props.client;
153
-
154
- var builder = imageUrlBuilder(client);
155
- return builder.image(source).auto('format');
156
153
  }, _this.renderCardImage = function (row, page) {
157
154
  if (row.thumbnail && row.thumbnail.asset) {
158
- var url = _this.urlFor(row.thumbnail);
159
- if (_this.props.imageHeight) url = url.height(_this.props.imageHeight);
160
- if (_this.props.imageWidth) url = url.width(_this.props.imageWidth);
161
- return url.url();
155
+ var url = urlFor({ client: _this.client, source: row.thumbnail, imageHeight: _this.props.imageHeight || null, imageWidth: _this.props.imageWidth || null, imageFit: _this.props.imageFit || null });
156
+ return url;
162
157
  } else {
163
158
  return _this.defaultImage;
164
159
  }
165
160
  }, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
166
161
  var _this$props2 = _this.props,
167
- seoPaginate = _this$props2.seoPaginate,
168
- pageview = _this$props2.pageview,
169
- router = _this$props2.router;
162
+ seoPaginate = _this$props2.seoPaginate;
163
+ _this$props2.pageview;
164
+ var router = _this$props2.router;
170
165
  var currentPage = _this.state.currentPage;
171
166
 
172
167
  if (seoPaginate) {
@@ -534,7 +529,7 @@ var GridContent = function (_React$Component) {
534
529
  )
535
530
  ),
536
531
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
537
- main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
532
+ main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
538
533
  );
539
534
  } else {
540
535
  return React.createElement(
@@ -598,7 +593,7 @@ var GridContent = function (_React$Component) {
598
593
  )
599
594
  ),
600
595
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
601
- main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
596
+ main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
602
597
  );
603
598
  }
604
599
  } else if (row._type === 'lg-infeed' && row.adUnit) {
@@ -686,7 +681,7 @@ var GridContent = function (_React$Component) {
686
681
  )
687
682
  ),
688
683
  showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
689
- main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
684
+ main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
690
685
  );
691
686
  } else return null;
692
687
  }) : React.createElement(
@@ -1,17 +1,18 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './core.get-iterator-method-e1de7503.js';
5
- import './web.dom.iterable-4439f05a.js';
6
1
  import React from 'react';
7
- import 'prop-types';
8
- import { m as moment } from './moment-12415288.js';
2
+ import { m as moment } from './moment-bc12cb97.js';
3
+ import urlFor from './urlFor.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
+ import { L as LazyLoad } from './index-35bdcc81.js';
6
+ import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
7
+ import './_commonjsHelpers-0c4b6f40.js';
8
+ import './index-0dbff1d1.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-51a80699.js';
11
- import { L as LazyLoad } from './index-6c12bdd5.js';
12
- import { c as clean_html_1 } from './entities-7cc3bf45.js';
13
- import './slicedToArray-641f241f.js';
14
- import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
10
+ import 'prop-types';
11
+ import './slicedToArray-be2f7a22.js';
12
+ import './web.dom.iterable-4109ff68.js';
13
+ import './es6.string.iterator-bc33758b.js';
14
+ import './_to-object-b50e61c3.js';
15
+ import './core.get-iterator-method-133dfacd.js';
15
16
 
16
17
  var GridHero = function GridHero(props) {
17
18
  var topArticle = props.dataRecord[0];
@@ -25,21 +26,11 @@ var GridHero = function GridHero(props) {
25
26
  _props$subHeight = props.subHeight,
26
27
  subHeight = _props$subHeight === undefined ? 270 : _props$subHeight;
27
28
 
28
- var builder = imageUrlBuilder(client);
29
- function urlFor(source) {
30
- var imageWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
31
- var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
32
-
33
- var url = builder.image(source);
34
- if (imageWidth) url = url.width(imageWidth);
35
- if (imageHeight) url = url.height(imageHeight);
36
- return url.auto('format').url();
37
- }
38
29
 
39
30
  var topArticleThumbnail = '';
40
31
  var topArticleAltText = topArticle.title;
41
32
  if (topArticle.thumbnail && topArticle.thumbnail.asset) {
42
- topArticleThumbnail = urlFor(topArticle.thumbnail.asset, topWidth);
33
+ topArticleThumbnail = urlFor({ client: client, source: topArticle.thumbnail.asset, imageWidth: topWidth });
43
34
  topArticleAltText = topArticle.thumbnail.asset.originalFileName;
44
35
  } else if (props.thumbnail) {
45
36
  topArticleThumbnail = props.thumbnail;
@@ -96,7 +87,7 @@ var GridHero = function GridHero(props) {
96
87
  var articleThumbnail = '';
97
88
  var articleAltText = article.title;
98
89
  if (article.thumbnail && article.thumbnail.asset) {
99
- articleThumbnail = urlFor(article.thumbnail.asset, subWidth, subHeight);
90
+ articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: subWidth, imageHeight: subHeight });
100
91
  articleAltText = article.thumbnail.asset.originalFileName;
101
92
  } else if (props.thumbnail) {
102
93
  articleThumbnail = props.thumbnail;
@@ -1,17 +1,18 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './_library-528f1934.js';
5
- import './core.get-iterator-method-e1de7503.js';
6
- import './_object-pie-33c40e79.js';
7
- import './web.dom.iterable-4439f05a.js';
8
- import { _ as _typeof } from './typeof-af9c50d8.js';
9
- import './_is-array-58e95429.js';
1
+ import { _ as _typeof } from './typeof-a286cf0c.js';
2
+ import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
10
3
  import React, { useRef, useState, useEffect } from 'react';
11
- import { i as imageUrlBuilder } from './index-51a80699.js';
12
- import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
13
4
  import { g as getYoutubeId } from './index-c7e2ac95.js';
14
- import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
5
+ import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
+ import urlFor from './urlFor.js';
7
+ import './_commonjsHelpers-0c4b6f40.js';
8
+ import './es6.string.iterator-bc33758b.js';
9
+ import './_to-object-b50e61c3.js';
10
+ import './web.dom.iterable-4109ff68.js';
11
+ import './_is-array-3e99e06e.js';
12
+ import './_object-pie-133f504a.js';
13
+ import './_library-528f1934.js';
14
+ import './core.get-iterator-method-133dfacd.js';
15
+ import './index-0dbff1d1.js';
15
16
 
16
17
  var GroupDeck = function GroupDeck(props) {
17
18
  // Props should be an array of objects containing Thumbnail, title, and URL
@@ -34,11 +35,6 @@ var GroupDeck = function GroupDeck(props) {
34
35
  scrollPosition = _useState6[0],
35
36
  setScrollPosition = _useState6[1];
36
37
 
37
- var urlFor = function urlFor(source, client) {
38
- var builder = imageUrlBuilder(client);
39
- return builder.image(source).auto('format');
40
- };
41
-
42
38
  useEffect(function () {
43
39
  //IE11 Polyfill
44
40
  smoothscroll.polyfill();
@@ -86,7 +82,7 @@ var GroupDeck = function GroupDeck(props) {
86
82
  }
87
83
  };
88
84
 
89
- var get2 = props.get2 ? '/' + props.get2 + '/' : '/view/';
85
+ props.get2 ? '/' + props.get2 + '/' : '/view/';
90
86
 
91
87
  var variant = props.dark ? 'white' : '#383838';
92
88
 
@@ -164,7 +160,7 @@ var GroupDeck = function GroupDeck(props) {
164
160
  var thumbnail = void 0;
165
161
 
166
162
  if (video.thumbnail && video.thumbnail.asset) {
167
- thumbnail = urlFor(video.thumbnail, props.client);
163
+ thumbnail = urlFor({ source: video.thumbnail, client: props.client });
168
164
  } else if (_typeof(video.thumbnail == 'string')) {
169
165
  thumbnail = video.thumbnail;
170
166
  } else {
@@ -238,7 +234,7 @@ var GroupDeck = function GroupDeck(props) {
238
234
  var _url = '' + video.link;
239
235
  var _thumbnail = void 0;
240
236
  if (video.thumbnail && video.thumbnail.asset) {
241
- _thumbnail = urlFor(video.thumbnail, props.client);
237
+ _thumbnail = urlFor({ source: video.thumbnail, client: props.client });
242
238
  } else if (_typeof(video.thumbnail == 'string')) {
243
239
  _thumbnail = video.thumbnail;
244
240
  } else {
@@ -1,31 +1,31 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-5d49a330.js';
6
- import './core.get-iterator-method-e1de7503.js';
7
- import './web.dom.iterable-4439f05a.js';
1
+ import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
8
2
  import React, { useRef, useState, useEffect } from 'react';
9
- import 'prop-types';
10
- import Container from 'react-bootstrap/Container';
11
- import { m as main_39, c as main_40 } from './main-aef58dbc.js';
12
- import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
13
- import './asyncToGenerator-fc1c2e29.js';
14
- import Segment from './Segment.js';
15
- import './react-social-icons-3822f1ce.js';
16
- import './iconBase-602d52fe.js';
17
- import { b as IoMdLogIn } from './index.esm-3fdda599.js';
18
- import 'react-bootstrap/Button';
3
+ import { N as NavFooter } from './NavFooter-c29526b7.js';
4
+ import { S as SocialNavFooter } from './index.esm-8016b507.js';
5
+ import { S as SocialSearchComponent } from './SocialSearchComponent-cd38ae60.js';
19
6
  import 'react-bootstrap/Form';
7
+ import 'react-bootstrap/FormControl';
8
+ import 'react-bootstrap/Button';
9
+ import Segment from './Segment.js';
10
+ import Container from 'react-bootstrap/Container';
20
11
  import Nav from 'react-bootstrap/Nav';
21
12
  import Navbar from 'react-bootstrap/Navbar';
22
13
  import NavDropdown from 'react-bootstrap/NavDropdown';
23
14
  import { M as MdEmail } from './index.esm-d6f88d94.js';
24
- import { N as NavFooter } from './NavFooter-c29526b7.js';
25
- import { S as SocialNavFooter } from './index.esm-8ee5ff72.js';
15
+ import { b as IoMdLogIn } from './index.esm-3fdda599.js';
16
+ import { m as main_43, c as main_44 } from './main-b5c5aac1.js';
17
+ import './_commonjsHelpers-0c4b6f40.js';
18
+ import './web.dom.iterable-4109ff68.js';
19
+ import './es6.string.iterator-bc33758b.js';
20
+ import './_to-object-b50e61c3.js';
21
+ import './core.get-iterator-method-133dfacd.js';
22
+ import './react-social-icons-91f9716f.js';
23
+ import 'prop-types';
24
+ import './iconBase-602d52fe.js';
26
25
  import './SocialIcons.js';
27
- import 'react-bootstrap/FormControl';
28
- import { S as SocialSearchComponent } from './SocialSearchComponent-82ac7d6d.js';
26
+ import './asyncToGenerator-7f8f9219.js';
27
+ import './_library-528f1934.js';
28
+ import './_iter-detect-7e5e5ce2.js';
29
29
 
30
30
  var HamMagazine = function HamMagazine(props) {
31
31
  /*
@@ -52,8 +52,8 @@ var HamMagazine = function HamMagazine(props) {
52
52
  socialFooterNav = _props$socialFooterNa === undefined ? false : _props$socialFooterNa,
53
53
  _props$socialIconVari = props.socialIconVariant,
54
54
  socialIconVariant = _props$socialIconVari === undefined ? 'light' : _props$socialIconVari,
55
- invertedLogo = props.invertedLogo,
56
- settings = props.settings;
55
+ invertedLogo = props.invertedLogo;
56
+ props.settings;
57
57
 
58
58
  var navRef = useRef(null);
59
59
  var topNavRef = useRef(null);
@@ -187,7 +187,7 @@ var HamMagazine = function HamMagazine(props) {
187
187
  }
188
188
  }
189
189
 
190
- if (props.initiallyCollapsed && !main_39) {
190
+ if (props.initiallyCollapsed && !main_43) {
191
191
  navRef.current.style.position = 'fixed';
192
192
  setIsSticky(true);
193
193
  navLinks.style.margin = 'auto';
@@ -217,7 +217,7 @@ var HamMagazine = function HamMagazine(props) {
217
217
 
218
218
  return React.createElement(
219
219
  'header',
220
- { className: !main_39 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
220
+ { className: !main_43 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
221
221
  React.createElement(
222
222
  Navbar,
223
223
  { expand: 'md', ref: topNavRef },
@@ -344,7 +344,7 @@ var HamMagazine = function HamMagazine(props) {
344
344
  'aria-controls': 'basic-navbar-nav',
345
345
  onClick: function onClick() {
346
346
  // Set overflow fix for iPhones safari browsers
347
- if (main_40) {
347
+ if (main_44) {
348
348
  var mainNav = document.querySelector('#navbar-ham');
349
349
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
350
350
  }
@@ -573,7 +573,7 @@ var HamMagazine = function HamMagazine(props) {
573
573
  '\n .navbar .collapse {\n display: block;\n }\n '
574
574
  )
575
575
  ),
576
- main_39 && !main_40 && React.createElement(
576
+ main_43 && !main_44 && React.createElement(
577
577
  'style',
578
578
  { jsx: 'true' },
579
579
  '\n #navbar-ham {\n overflow: hidden;\n overflow-y: scroll;\n margin-bottom: 5rem;\n }\n '
package/dist/esm/Hero.js CHANGED
@@ -1,20 +1,9 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
1
  import React from 'react';
3
- import { i as imageUrlBuilder } from './index-51a80699.js';
4
- import { c as clean_html_1 } from './entities-7cc3bf45.js';
5
2
  import { Card } from 'react-bootstrap';
6
-
7
- var urlFor = function urlFor(source, client) {
8
- var builder = imageUrlBuilder(client);
9
- return builder.image(source).auto('format');
10
- };
11
-
12
- var renderCardImage = function renderCardImage(thumbnail, client, imageHeight, imageWidth) {
13
- var url = urlFor(thumbnail, client);
14
- if (imageHeight) url = url.height(imageHeight);
15
- if (imageWidth) url = url.width(imageWidth);
16
- return url.url();
17
- };
3
+ import urlFor from './urlFor.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
+ import './index-0dbff1d1.js';
6
+ import './_commonjsHelpers-0c4b6f40.js';
18
7
 
19
8
  var Hero = function Hero(_ref) {
20
9
  var data = _ref.data,
@@ -37,7 +26,7 @@ var Hero = function Hero(_ref) {
37
26
  { className: 'h4' },
38
27
  title
39
28
  ),
40
- thumbnail && client && React.createElement(Card.Img, { src: renderCardImage(thumbnail, client, imageHeight, imageWidth) }),
29
+ thumbnail && client && React.createElement(Card.Img, { src: urlFor({ source: thumbnail, client: client, imageHeight: imageHeight, imageWidth: imageWidth }), alt: title }),
41
30
  summary && React.createElement(
42
31
  Card.Footer,
43
32
  { className: 'h6' },
@@ -1,6 +1,6 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
1
  import React from 'react';
3
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-e1c6b0f2.js';
2
+ import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-b43c695a.js';
3
+ import './_commonjsHelpers-0c4b6f40.js';
4
4
 
5
5
  var HighlightenVideo = function HighlightenVideo(_ref) {
6
6
  var highlightVideoOptions = _ref.highlightVideoOptions;
@@ -1,57 +1,59 @@
1
+ import { _ as _extends } from './extends-60e0e1c6.js';
2
+ import React from 'react';
3
+ import ArticleCarousel from './ArticleCarousel.js';
4
+ import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
5
+ import { B as BlockContent } from './BlockContent-52cf21c5.js';
6
+ import { g as getSerializers } from './index-5cc7293b.js';
1
7
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
8
+ import './_to-object-b50e61c3.js';
9
+ import './_object-pie-133f504a.js';
10
+ import './YoutubeGroup.js';
11
+ import './typeof-a286cf0c.js';
12
+ import './es6.string.iterator-bc33758b.js';
13
+ import './web.dom.iterable-4109ff68.js';
14
+ import './_is-array-3e99e06e.js';
4
15
  import './_library-528f1934.js';
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-6f2fcc99.js';
10
- import './_object-sap-964b6feb.js';
11
- import './inherits-75d45541.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 from 'react';
17
- import './index-acfb8079.js';
16
+ import './slicedToArray-be2f7a22.js';
17
+ import './core.get-iterator-method-133dfacd.js';
18
+ import './index-c7e2ac95.js';
19
+ import './index-35bdcc81.js';
20
+ import 'react-dom';
18
21
  import 'prop-types';
19
- import 'react-bootstrap/Row';
20
- import 'react-bootstrap/Col';
21
- import './moment-12415288.js';
22
+ import './smoothscroll-fa4e3f8c.js';
23
+ import './urlFor.js';
24
+ import './index-0dbff1d1.js';
25
+ import './main-b5c5aac1.js';
26
+ import './iconBase-602d52fe.js';
27
+ import 'react-bootstrap';
28
+ import './index-2446af28.js';
29
+ import './events-6c3a7a63.js';
22
30
  import 'next/router';
23
- import './isSymbol-1981418f.js';
24
- import './debounce-9207d8ee.js';
25
- import './toNumber-2f7a84cd.js';
26
- import 'react-dom';
27
- import './index-51a80699.js';
28
- import './index-6c12bdd5.js';
29
- import './main-aef58dbc.js';
30
- import './entities-7cc3bf45.js';
31
- import './slicedToArray-641f241f.js';
32
- import './stringify-4330ccdc.js';
33
- import './asyncToGenerator-fc1c2e29.js';
34
- import './Segment.js';
31
+ import './util-3ab476bf.js';
35
32
  import './Beam.js';
36
- import './AdSlot.js';
37
- import { B as BlockContent } from './BlockContent-d05b5b23.js';
38
- import './index-c7e2ac95.js';
39
- import './smoothscroll-0cd4c7a6.js';
33
+ import './stringify-59c8f690.js';
34
+ import './asyncToGenerator-7f8f9219.js';
35
+ import './_iter-detect-7e5e5ce2.js';
36
+ import './Segment.js';
37
+ import './brightcove-react-player-loader.es-b43c695a.js';
40
38
  import './GroupDeck.js';
41
- import './YoutubeGroup.js';
42
- import 'react-bootstrap';
43
- import './iconBase-602d52fe.js';
44
- import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
45
- import ArticleCarousel from './ArticleCarousel.js';
46
- import { g as getSerializers } from './index-e887f3d1.js';
47
- import './util-7700fc59.js';
48
- import './brightcove-react-player-loader.es-e1c6b0f2.js';
39
+ import './moment-bc12cb97.js';
40
+ import './SocialShare.js';
49
41
  import 'next/head';
50
42
  import 'react-share';
51
- import './SocialShare.js';
52
- import './_object-to-array-7e804fce.js';
43
+ import './_object-to-array-0f197f89.js';
44
+ import './toConsumableArray-6d9a4616.js';
53
45
  import 'react-bootstrap/Pagination';
54
46
  import 'react-bootstrap/Button';
47
+ import './entities-932b50cf.js';
48
+ import './AdSlot.js';
49
+ import './debounce-533d9748.js';
50
+ import './isSymbol-a7e9aafe.js';
51
+ import './toNumber-5aeba6e7.js';
52
+ import 'react-bootstrap/Row';
53
+ import 'react-bootstrap/Col';
54
+ import './inherits-a41fe93f.js';
55
+ import './_object-sap-f353c2a9.js';
56
+ import './define-property-fe54dc9f.js';
55
57
  import 'react-bootstrap/Figure';
56
58
 
57
59
  function HorizontalArticleListing(_ref) {
@@ -1,17 +1,15 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
1
  import React from 'react';
3
- import './moment-12415288.js';
4
- import { i as imageUrlBuilder } from './index-51a80699.js';
5
- import './iconBase-602d52fe.js';
2
+ import './moment-bc12cb97.js';
3
+ import urlFor from './urlFor.js';
6
4
  import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
5
+ import './_commonjsHelpers-0c4b6f40.js';
6
+ import './index-0dbff1d1.js';
7
+ import './iconBase-602d52fe.js';
7
8
 
8
9
  var HorizontalHero = function HorizontalHero(props) {
9
10
  var client = props.client;
10
11
 
11
- var builder = imageUrlBuilder(client);
12
- function urlFor(source) {
13
- return builder.image(source).auto('format');
14
- }
12
+
15
13
  var topArticle = props.dataRecord[0];
16
14
  var subArticles = props.dataRecord.slice(1, props.dataRecord.length);
17
15
  var _props$heroTitle = props.heroTitle,
@@ -23,7 +21,8 @@ var HorizontalHero = function HorizontalHero(props) {
23
21
  var topArticleThumbnail = '';
24
22
  var topArticleAltText = topArticle.title;
25
23
  if (topArticle.thumbnail && topArticle.thumbnail.asset) {
26
- topArticleThumbnail = urlFor(topArticle.thumbnail.asset).width(350).url();
24
+ topArticleThumbnail = urlFor({ client: client, source: topArticle.thumbnail.asset, imageWidth: 350 });
25
+
27
26
  topArticleAltText = topArticle.thumbnail.asset.originalFileName;
28
27
  }
29
28
  if (props.thumbnail) {