@mjhls/mjh-framework 1.0.790 → 1.0.791-auth-test-v2

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 (261) hide show
  1. package/README.md +170 -170
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +15 -15
  4. package/dist/cjs/AD300x250x600.js +15 -15
  5. package/dist/cjs/AD728x90.js +16 -16
  6. package/dist/cjs/ADFloatingFooter.js +14 -14
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +14 -14
  9. package/dist/cjs/{ADInfeed-1e53d7db.js → ADInfeed-e7aecdf9.js} +1 -1
  10. package/dist/cjs/ADSkyscraper.js +14 -14
  11. package/dist/cjs/ADSponsoredResources.js +14 -14
  12. package/dist/cjs/ADWebcast.js +14 -14
  13. package/dist/cjs/ADWelcome.js +14 -14
  14. package/dist/cjs/{ADlgInfeed-2494fd17.js → ADlgInfeed-0941023e.js} +1 -1
  15. package/dist/cjs/AccordionPanel.js +5 -5
  16. package/dist/cjs/AdSlot.js +16 -16
  17. package/dist/cjs/AdSlotsProvider.js +10 -10
  18. package/dist/cjs/AlphabeticList.js +9 -9
  19. package/dist/cjs/ArticleCarousel.js +11 -11
  20. package/dist/cjs/ArticleProgramLandingPage.js +24 -25
  21. package/dist/cjs/ArticleSeriesLandingPage.js +24 -24
  22. package/dist/cjs/ArticleSeriesListing.js +17 -17
  23. package/dist/cjs/Auth.js +210 -789
  24. package/dist/cjs/AuthWrapper.js +2948 -0
  25. package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-c21aac7f.js} +1 -1
  26. package/dist/cjs/Beam.js +7 -7
  27. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-36e54d77.js} +34 -34
  28. package/dist/cjs/Breadcrumbs.js +5 -5
  29. package/dist/cjs/CMEDeck.js +14 -14
  30. package/dist/cjs/Column2.js +11 -11
  31. package/dist/cjs/Column3.js +20 -20
  32. package/dist/cjs/ConferenceArticleCard.js +16 -16
  33. package/dist/cjs/DeckContent.js +31 -31
  34. package/dist/cjs/DeckQueue.js +21 -21
  35. package/dist/cjs/{Dfp-6d140494.js → Dfp-3f0ed4c8.js} +8 -8
  36. package/dist/cjs/EventsDeck.js +36 -36
  37. package/dist/cjs/ExternalResources.js +25 -26
  38. package/dist/cjs/Feature.js +3 -3
  39. package/dist/cjs/ForbesHero.js +7 -7
  40. package/dist/cjs/GridContent.js +30 -30
  41. package/dist/cjs/GridHero.js +7 -7
  42. package/dist/cjs/GroupDeck.js +9 -9
  43. package/dist/cjs/HamMagazine.js +21 -21
  44. package/dist/cjs/Hero.js +1 -1
  45. package/dist/cjs/HorizontalArticleListing.js +24 -25
  46. package/dist/cjs/HorizontalHero.js +1 -1
  47. package/dist/cjs/IssueContentDeck.js +7 -7
  48. package/dist/cjs/IssueDeck.js +10 -10
  49. package/dist/cjs/IssueLanding.js +49 -49
  50. package/dist/cjs/KMTracker.js +15 -15
  51. package/dist/cjs/LeftNav.js +14 -14
  52. package/dist/cjs/MasterDeck.js +32 -32
  53. package/dist/cjs/MediaSeriesLanding.js +408 -400
  54. package/dist/cjs/NavDvm.js +7 -7
  55. package/dist/cjs/NavMagazine.js +21 -21
  56. package/dist/cjs/NavNative.js +26 -26
  57. package/dist/cjs/NavNormal.js +7 -7
  58. package/dist/cjs/OncliveHero.js +1 -1
  59. package/dist/cjs/OncliveLargeHero.js +7 -7
  60. package/dist/cjs/PageFilter.js +5 -5
  61. package/dist/cjs/PartnerDetailListing.js +28 -29
  62. package/dist/cjs/PopUpModal.js +5 -5
  63. package/dist/cjs/PubSection.js +20 -20
  64. package/dist/cjs/PubToc.js +7 -7
  65. package/dist/cjs/PublicationDeck.js +2 -2
  66. package/dist/cjs/PublicationLanding.js +49 -49
  67. package/dist/cjs/QueueDeckExpanded.js +22 -22
  68. package/dist/cjs/RecentNews.js +1 -1
  69. package/dist/cjs/RelatedContent.js +29 -29
  70. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  71. package/dist/cjs/Search.js +5 -5
  72. package/dist/cjs/Segment.js +6 -6
  73. package/dist/cjs/SeriesListingDeck.js +12 -12
  74. package/dist/cjs/{SeriesSlider-49577417.js → SeriesSlider-c022ce04.js} +12 -12
  75. package/dist/cjs/SideFooter.js +13 -13
  76. package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-31afe61f.js} +6 -6
  77. package/dist/cjs/TaxonomyCard.js +5 -5
  78. package/dist/cjs/TaxonomyDescription.js +24 -25
  79. package/dist/cjs/TemplateNormal.js +19 -19
  80. package/dist/cjs/ThumbnailCard.js +1 -1
  81. package/dist/cjs/Ustream.js +7 -7
  82. package/dist/cjs/VerticalHero.js +1 -1
  83. package/dist/cjs/VideoProgramLandingPage.js +24 -25
  84. package/dist/cjs/VideoSeriesCard.js +8 -8
  85. package/dist/cjs/VideoSeriesFilter.js +7 -7
  86. package/dist/cjs/VideoSeriesLandingPage.js +24 -24
  87. package/dist/cjs/VideoSeriesListing.js +17 -17
  88. package/dist/cjs/View.js +39 -40
  89. package/dist/cjs/YahooHero.js +7 -7
  90. package/dist/cjs/YoutubeGroup.js +19 -19
  91. package/dist/cjs/{_is-array-63ae4740.js → _is-array-6128bd56.js} +1 -1
  92. package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-55a5657a.js} +8 -8
  93. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  94. package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-a175b4a9.js} +1 -1
  95. package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-8fe5a54f.js} +2 -2
  96. package/dist/cjs/{_to-object-821a2927.js → _to-object-6de10e57.js} +4 -4
  97. package/dist/cjs/{asyncToGenerator-b6a175bf.js → asyncToGenerator-58c289d9.js} +30 -30
  98. package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f474eacc.js} +2 -2
  99. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  100. package/dist/cjs/{define-property-aff11f8a.js → define-property-c88be878.js} +6 -6
  101. package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-0cb76d99.js} +1 -1
  102. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  103. package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-c2573ffd.js} +5 -5
  104. package/dist/cjs/{extends-1e24fc8d.js → extends-29bdbc6d.js} +8 -7
  105. package/dist/cjs/faundadb.js +206 -0
  106. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  107. package/dist/cjs/getRelatedArticle.js +11 -9
  108. package/dist/cjs/getRootDocGroup.js +6 -6
  109. package/dist/cjs/getSerializers.js +24 -25
  110. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-45b91c88.js} +11 -11
  111. package/dist/cjs/getTargeting.js +8 -8
  112. package/dist/cjs/{index-d450e2d5.js → index-70cfabd2.js} +338 -88
  113. package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
  114. package/dist/cjs/{index-4d74ffd6.js → index-f86bb269.js} +4 -4
  115. package/dist/cjs/index.js +37 -37
  116. package/dist/cjs/{inherits-2eb23889.js → inherits-c2065b95.js} +22 -19
  117. package/dist/cjs/inheritsLoose-b17eb2a8.js +18 -0
  118. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  119. package/dist/cjs/keys-7f2c2108.js +25 -0
  120. package/dist/cjs/{lodash-4ef21f0f.js → lodash-f0783643.js} +57 -9
  121. package/dist/cjs/{main-dc082238.js → main-025fdc78.js} +184 -109
  122. package/dist/cjs/md5-e1ca5797.js +323 -0
  123. package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-5d1bc3b3.js} +14 -14
  124. package/dist/cjs/stringify-c9ac1214.js +17 -0
  125. package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-ddb70795.js} +9 -9
  126. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  127. package/dist/cjs/{typeof-97065d40.js → typeof-88a668c5.js} +34 -34
  128. package/dist/cjs/urlFor.js +1 -1
  129. package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-46657b5c.js} +2 -2
  130. package/dist/esm/AD.js +1 -1
  131. package/dist/esm/AD300x250.js +15 -15
  132. package/dist/esm/AD300x250x600.js +15 -15
  133. package/dist/esm/AD728x90.js +16 -16
  134. package/dist/esm/ADFloatingFooter.js +14 -14
  135. package/dist/esm/ADFooter.js +5 -5
  136. package/dist/esm/ADGutter.js +14 -14
  137. package/dist/esm/{ADInfeed-94817c40.js → ADInfeed-e1e18f87.js} +1 -1
  138. package/dist/esm/ADSkyscraper.js +14 -14
  139. package/dist/esm/ADSponsoredResources.js +14 -14
  140. package/dist/esm/ADWebcast.js +14 -14
  141. package/dist/esm/ADWelcome.js +14 -14
  142. package/dist/esm/{ADlgInfeed-6124ee3c.js → ADlgInfeed-c6d2831b.js} +1 -1
  143. package/dist/esm/AccordionPanel.js +5 -5
  144. package/dist/esm/AdSlot.js +16 -16
  145. package/dist/esm/AdSlotsProvider.js +10 -10
  146. package/dist/esm/AlphabeticList.js +9 -9
  147. package/dist/esm/ArticleCarousel.js +11 -11
  148. package/dist/esm/ArticleProgramLandingPage.js +24 -25
  149. package/dist/esm/ArticleSeriesLandingPage.js +24 -24
  150. package/dist/esm/ArticleSeriesListing.js +17 -17
  151. package/dist/esm/Auth.js +208 -787
  152. package/dist/esm/AuthWrapper.js +2942 -0
  153. package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-5ae7409f.js} +1 -1
  154. package/dist/esm/Beam.js +7 -7
  155. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-52cf21c5.js} +34 -34
  156. package/dist/esm/Breadcrumbs.js +5 -5
  157. package/dist/esm/CMEDeck.js +14 -14
  158. package/dist/esm/Column2.js +11 -11
  159. package/dist/esm/Column3.js +20 -20
  160. package/dist/esm/ConferenceArticleCard.js +16 -16
  161. package/dist/esm/DeckContent.js +31 -31
  162. package/dist/esm/DeckQueue.js +21 -21
  163. package/dist/esm/{Dfp-313e4ebe.js → Dfp-a304d96c.js} +8 -8
  164. package/dist/esm/EventsDeck.js +36 -36
  165. package/dist/esm/ExternalResources.js +25 -26
  166. package/dist/esm/Feature.js +3 -3
  167. package/dist/esm/ForbesHero.js +7 -7
  168. package/dist/esm/GridContent.js +30 -30
  169. package/dist/esm/GridHero.js +7 -7
  170. package/dist/esm/GroupDeck.js +9 -9
  171. package/dist/esm/HamMagazine.js +21 -21
  172. package/dist/esm/Hero.js +1 -1
  173. package/dist/esm/HorizontalArticleListing.js +24 -25
  174. package/dist/esm/HorizontalHero.js +1 -1
  175. package/dist/esm/IssueContentDeck.js +7 -7
  176. package/dist/esm/IssueDeck.js +10 -10
  177. package/dist/esm/IssueLanding.js +49 -49
  178. package/dist/esm/KMTracker.js +15 -15
  179. package/dist/esm/LeftNav.js +14 -14
  180. package/dist/esm/MasterDeck.js +32 -32
  181. package/dist/esm/MediaSeriesLanding.js +404 -396
  182. package/dist/esm/NavDvm.js +7 -7
  183. package/dist/esm/NavMagazine.js +21 -21
  184. package/dist/esm/NavNative.js +26 -26
  185. package/dist/esm/NavNormal.js +7 -7
  186. package/dist/esm/OncliveHero.js +1 -1
  187. package/dist/esm/OncliveLargeHero.js +7 -7
  188. package/dist/esm/PageFilter.js +5 -5
  189. package/dist/esm/PartnerDetailListing.js +28 -29
  190. package/dist/esm/PopUpModal.js +5 -5
  191. package/dist/esm/PubSection.js +20 -20
  192. package/dist/esm/PubToc.js +7 -7
  193. package/dist/esm/PublicationDeck.js +2 -2
  194. package/dist/esm/PublicationLanding.js +49 -49
  195. package/dist/esm/QueueDeckExpanded.js +22 -22
  196. package/dist/esm/RecentNews.js +1 -1
  197. package/dist/esm/RelatedContent.js +29 -29
  198. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  199. package/dist/esm/Search.js +5 -5
  200. package/dist/esm/Segment.js +6 -6
  201. package/dist/esm/SeriesListingDeck.js +12 -12
  202. package/dist/esm/{SeriesSlider-291e1c9e.js → SeriesSlider-8414085b.js} +12 -12
  203. package/dist/esm/SideFooter.js +13 -13
  204. package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-116b1d5d.js} +6 -6
  205. package/dist/esm/TaxonomyCard.js +5 -5
  206. package/dist/esm/TaxonomyDescription.js +24 -25
  207. package/dist/esm/TemplateNormal.js +19 -19
  208. package/dist/esm/ThumbnailCard.js +1 -1
  209. package/dist/esm/Ustream.js +7 -7
  210. package/dist/esm/VerticalHero.js +1 -1
  211. package/dist/esm/VideoProgramLandingPage.js +24 -25
  212. package/dist/esm/VideoSeriesCard.js +8 -8
  213. package/dist/esm/VideoSeriesFilter.js +7 -7
  214. package/dist/esm/VideoSeriesLandingPage.js +24 -24
  215. package/dist/esm/VideoSeriesListing.js +17 -17
  216. package/dist/esm/View.js +39 -40
  217. package/dist/esm/YahooHero.js +7 -7
  218. package/dist/esm/YoutubeGroup.js +19 -19
  219. package/dist/esm/{_is-array-674f71ec.js → _is-array-3e99e06e.js} +1 -1
  220. package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-7e5e5ce2.js} +8 -8
  221. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  222. package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-f353c2a9.js} +1 -1
  223. package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-0f197f89.js} +2 -2
  224. package/dist/esm/{_to-object-97770c52.js → _to-object-b50e61c3.js} +4 -4
  225. package/dist/esm/{asyncToGenerator-585841c0.js → asyncToGenerator-7f8f9219.js} +30 -30
  226. package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-133dfacd.js} +2 -2
  227. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  228. package/dist/esm/{define-property-ec6d528d.js → define-property-fe54dc9f.js} +6 -6
  229. package/dist/esm/{defineProperty-ea516b15.js → defineProperty-f5ff6f5a.js} +1 -1
  230. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  231. package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-bc33758b.js} +5 -5
  232. package/dist/esm/{extends-31d65aba.js → extends-60e0e1c6.js} +8 -8
  233. package/dist/esm/faundadb.js +200 -0
  234. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  235. package/dist/esm/getRelatedArticle.js +11 -9
  236. package/dist/esm/getRootDocGroup.js +6 -6
  237. package/dist/esm/getSerializers.js +24 -25
  238. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-d0d71a56.js} +11 -11
  239. package/dist/esm/getTargeting.js +8 -8
  240. package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
  241. package/dist/esm/{index-f4fe5a50.js → index-613fdebe.js} +337 -86
  242. package/dist/esm/{index-ccb770c7.js → index-79cfd25c.js} +4 -4
  243. package/dist/esm/index.js +37 -37
  244. package/dist/esm/{inherits-5906fbea.js → inherits-a41fe93f.js} +20 -20
  245. package/dist/esm/inheritsLoose-8f901617.js +16 -0
  246. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  247. package/dist/esm/{keys-a0b0c7a4.js → keys-7a3adabf.js} +6 -6
  248. package/dist/esm/{lodash-ad27652f.js → lodash-f97fd99a.js} +57 -9
  249. package/dist/esm/{main-1450d277.js → main-b5c5aac1.js} +178 -103
  250. package/dist/esm/md5-4e42248e.js +321 -0
  251. package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-be2f7a22.js} +14 -14
  252. package/dist/esm/stringify-59c8f690.js +15 -0
  253. package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-6d9a4616.js} +9 -9
  254. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  255. package/dist/esm/{typeof-e9cea9e8.js → typeof-a286cf0c.js} +34 -34
  256. package/dist/esm/urlFor.js +1 -1
  257. package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4109ff68.js} +2 -2
  258. package/package.json +111 -108
  259. package/dist/cjs/keys-95c064c9.js +0 -25
  260. package/dist/cjs/stringify-01cf47f7.js +0 -17
  261. package/dist/esm/stringify-d4839bab.js +0 -15
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
2
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-cdeaee08.js';
2
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
3
3
  import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
4
- import { i as imageUrlBuilder } from './index-3f5c03b2.js';
4
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
5
5
  import { l as lib_3 } from './index-888f9253.js';
6
6
  import Router, { useRouter } from 'next/router';
7
7
  import { g as getYoutubeId } from './index-c7e2ac95.js';
@@ -10,18 +10,18 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
10
10
  import { u as util } from './util-3ab476bf.js';
11
11
  import Beam from './Beam.js';
12
12
  import Segment from './Segment.js';
13
- import { d as main_16, b as main_39, m as main_40 } from './main-1450d277.js';
14
- import { B as BlockContent } from './BlockContent-d8cd739c.js';
15
- import { _ as _extends } from './extends-31d65aba.js';
13
+ import { d as main_18, b as main_42, m as main_43 } from './main-b5c5aac1.js';
14
+ import { B as BlockContent } from './BlockContent-52cf21c5.js';
15
+ import { _ as _extends, b as _extends$1 } from './extends-60e0e1c6.js';
16
16
  import { L as LazyLoad } from './index-35bdcc81.js';
17
- import { _ as _typeof$1 } from './typeof-e9cea9e8.js';
17
+ import { _ as _typeof$1 } from './typeof-a286cf0c.js';
18
18
  import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-b43c695a.js';
19
19
  import GroupDeck from './GroupDeck.js';
20
20
  import { m as moment } from './moment-bc12cb97.js';
21
21
  import SocialShare from './SocialShare.js';
22
- import { _ as _export, a as _core } from './_to-object-97770c52.js';
23
- import { _ as _objectToArray } from './_object-to-array-8f409e54.js';
24
- import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
22
+ import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
23
+ import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
24
+ import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
25
25
  import Pagination from 'react-bootstrap/Pagination';
26
26
  import Button$1 from 'react-bootstrap/Button';
27
27
  import { h as html_decode_1 } from './entities-932b50cf.js';
@@ -29,12 +29,11 @@ import DFPAdSlot from './AdSlot.js';
29
29
  import Row$1 from 'react-bootstrap/Row';
30
30
  import Col$1 from 'react-bootstrap/Col';
31
31
  import Head from 'next/head';
32
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-5906fbea.js';
32
+ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a41fe93f.js';
33
33
  import { d as IoIosArrowDropupCircle } from './index.esm-3fdda599.js';
34
34
  import Figure$2 from 'react-bootstrap/Figure';
35
- import ScriptTag from 'react-script-tag';
36
35
 
37
- var urlFor = function urlFor(source, builder) {
36
+ var urlFor$4 = function urlFor(source, builder) {
38
37
  return builder.image(source).auto('format');
39
38
  };
40
39
 
@@ -44,7 +43,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
44
43
  Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
45
44
  };
46
45
 
47
- var Slideshow = function Slideshow(_ref) {
46
+ var Slideshow$1 = function Slideshow(_ref) {
48
47
  var slides = _ref.slides,
49
48
  client = _ref.client,
50
49
  pageview = _ref.pageview;
@@ -85,7 +84,7 @@ var Slideshow = function Slideshow(_ref) {
85
84
  return React.createElement(
86
85
  Carousel.Item,
87
86
  { key: slide._key },
88
- React.createElement('img', { src: slide.asset && urlFor(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
87
+ React.createElement('img', { src: slide.asset && urlFor$4(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
89
88
  slide.caption && React.createElement(
90
89
  'p',
91
90
  { className: 'p-2' },
@@ -1923,8 +1922,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1923
1922
  var duration = player.getDuration();
1924
1923
  var queue = Math.floor(duration / 10);
1925
1924
  var segment = Math.floor(current / queue);
1926
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
1927
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
1925
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
1926
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
1928
1927
  };
1929
1928
 
1930
1929
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1934,8 +1933,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1934
1933
  var segment = Math.floor(current / queue);
1935
1934
 
1936
1935
  if (!queueProgress.includes(segment)) {
1937
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
1938
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
1936
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
1937
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
1939
1938
  queueProgress.push(segment);
1940
1939
  }
1941
1940
  };
@@ -1948,8 +1947,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1948
1947
  var queue = Math.floor(duration / 10);
1949
1948
  var segment = Math.floor(current / queue);
1950
1949
 
1951
- Beam.report_beam_video('Play', main_16, duration, current, segment);
1952
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
1950
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
1951
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
1953
1952
 
1954
1953
  if (!playReported) {
1955
1954
  setPlayReported(true);
@@ -1968,8 +1967,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1968
1967
  var queue = Math.floor(duration / 10);
1969
1968
  var segment = Math.floor(current / queue);
1970
1969
 
1971
- Beam.report_beam_video('End', main_16, duration, current, segment);
1972
- Segment.report_video_event('Video End', main_16, duration, current, segment);
1970
+ Beam.report_beam_video('End', main_18, duration, current, segment);
1971
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
1973
1972
  setEndReported(true);
1974
1973
  clearInterval(intervalID);
1975
1974
  }
@@ -1982,8 +1981,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1982
1981
  var queue = Math.floor(duration / 10);
1983
1982
  var segment = Math.floor(current / queue);
1984
1983
 
1985
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
1986
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
1984
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
1985
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
1987
1986
  };
1988
1987
 
1989
1988
  return React.createElement(
@@ -2217,8 +2216,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2217
2216
  var duration = player.duration;
2218
2217
  var queue = Math.floor(duration / 10);
2219
2218
  var segment = Math.floor(current / queue);
2220
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
2221
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
2219
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'MP4');
2220
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
2222
2221
  };
2223
2222
 
2224
2223
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -2227,8 +2226,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2227
2226
  var queue = Math.floor(duration / 10);
2228
2227
  var segment = Math.floor(current / queue);
2229
2228
  if (!queueProgress.includes(segment)) {
2230
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
2231
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
2229
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'MP4');
2230
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
2232
2231
  queueProgress.push(segment);
2233
2232
  }
2234
2233
  };
@@ -2240,8 +2239,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2240
2239
  var duration = player.duration;
2241
2240
  var queue = Math.floor(duration / 10);
2242
2241
  var segment = Math.floor(current / queue);
2243
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
2244
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
2242
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'MP4');
2243
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
2245
2244
 
2246
2245
  if (!playReported) {
2247
2246
  event.persist();
@@ -2261,8 +2260,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2261
2260
  var queue = Math.floor(duration / 10);
2262
2261
  var segment = Math.floor(current / queue);
2263
2262
 
2264
- Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
2265
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
2263
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'MP4');
2264
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
2266
2265
  setEndReported(true);
2267
2266
  clearInterval(intervalID);
2268
2267
  }
@@ -2274,8 +2273,8 @@ var VideoMp4 = function VideoMp4(_ref) {
2274
2273
  var duration = player.duration - current;
2275
2274
  var queue = Math.floor(duration / 10);
2276
2275
  var segment = Math.floor(current / queue);
2277
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
2278
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
2276
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'MP4');
2277
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
2279
2278
  };
2280
2279
 
2281
2280
  return React.createElement(
@@ -2364,8 +2363,8 @@ var Video = function Video(_ref) {
2364
2363
  player.pause();
2365
2364
  }
2366
2365
 
2367
- Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2368
- Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2366
+ Beam.report_beam_video('Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2367
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2369
2368
  });
2370
2369
 
2371
2370
  // play
@@ -2374,8 +2373,8 @@ var Video = function Video(_ref) {
2374
2373
  var current = player.currentTime();
2375
2374
  var queue = Math.floor(duration / 10);
2376
2375
  var segment = Math.floor(current / queue);
2377
- Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2378
- Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2376
+ Beam.report_beam_video('Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2377
+ Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2379
2378
  });
2380
2379
 
2381
2380
  // pause
@@ -2384,8 +2383,8 @@ var Video = function Video(_ref) {
2384
2383
  var current = player.currentTime();
2385
2384
  var queue = Math.floor(duration / 10);
2386
2385
  var segment = Math.floor(current / queue);
2387
- Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2388
- Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2386
+ Beam.report_beam_video('Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2387
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2389
2388
  });
2390
2389
 
2391
2390
  // end
@@ -2394,8 +2393,8 @@ var Video = function Video(_ref) {
2394
2393
  var current = player.currentTime();
2395
2394
  var queue = Math.floor(duration / 10);
2396
2395
  var segment = Math.floor(current / queue);
2397
- Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2398
- Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2396
+ Beam.report_beam_video('End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2397
+ Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2399
2398
  autoplayNextVideo(evt);
2400
2399
  });
2401
2400
 
@@ -2406,8 +2405,8 @@ var Video = function Video(_ref) {
2406
2405
  var queue = Math.floor(duration / 10);
2407
2406
  var segment = Math.floor(current / queue);
2408
2407
  if (!queueProgress.includes(segment)) {
2409
- Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2410
- Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2408
+ Beam.report_beam_video('Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2409
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2411
2410
  queueProgress.push(segment);
2412
2411
  }
2413
2412
  });
@@ -2418,8 +2417,8 @@ var Video = function Video(_ref) {
2418
2417
  var id = player.ads.ad.id;
2419
2418
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2420
2419
 
2421
- Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
2422
- Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2420
+ Beam.report_beam_ad('AD Started', main_18, '', '', '', '', '', adType, duration, id);
2421
+ Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2423
2422
  });
2424
2423
 
2425
2424
  // ad ended
@@ -2427,8 +2426,8 @@ var Video = function Video(_ref) {
2427
2426
  var duration = player.ads.ad.duration;
2428
2427
  var id = player.ads.ad.id;
2429
2428
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2430
- Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
2431
- Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2429
+ Beam.report_beam_ad('AD Ended', main_18, '', '', '', '', '', adType, duration, id);
2430
+ Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2432
2431
  });
2433
2432
  };
2434
2433
 
@@ -7280,8 +7279,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7280
7279
  var duration = player.getDuration();
7281
7280
  var queue = Math.floor(duration / 10);
7282
7281
  var segment = Math.floor(current / queue);
7283
- Beam.report_beam_video('Ready', main_16, duration, current, segment);
7284
- Segment.report_video_event('Video Ready', main_16, duration, current, segment);
7282
+ Beam.report_beam_video('Ready', main_18, duration, current, segment);
7283
+ Segment.report_video_event('Video Ready', main_18, duration, current, segment);
7285
7284
  //autoplay
7286
7285
 
7287
7286
  //Small pause before starting next video
@@ -7301,8 +7300,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7301
7300
  var queue = Math.floor(duration / 10);
7302
7301
  var segment = Math.floor(current / queue);
7303
7302
 
7304
- Beam.report_beam_video('End', main_16, duration, current, segment);
7305
- Segment.report_video_event('Video End', main_16, duration, current, segment);
7303
+ Beam.report_beam_video('End', main_18, duration, current, segment);
7304
+ Segment.report_video_event('Video End', main_18, duration, current, segment);
7306
7305
  setEndReported(true);
7307
7306
  clearInterval(intervalID);
7308
7307
  }
@@ -7352,8 +7351,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7352
7351
  var queue = Math.floor(duration / 10);
7353
7352
  var segment = Math.floor(current / queue);
7354
7353
  if (!queueProgress.includes(segment)) {
7355
- Beam.report_beam_video('Segment', main_16, duration, current, segment);
7356
- Segment.report_video_event('Video Segment', main_16, duration, current, segment);
7354
+ Beam.report_beam_video('Segment', main_18, duration, current, segment);
7355
+ Segment.report_video_event('Video Segment', main_18, duration, current, segment);
7357
7356
  queueProgress.push(segment);
7358
7357
  }
7359
7358
  };
@@ -7366,8 +7365,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7366
7365
  var queue = Math.floor(duration / 10);
7367
7366
  var segment = Math.floor(current / queue);
7368
7367
 
7369
- Beam.report_beam_video('Play', main_16, duration, current, segment);
7370
- Segment.report_video_event('Video Play', main_16, duration, current, segment);
7368
+ Beam.report_beam_video('Play', main_18, duration, current, segment);
7369
+ Segment.report_video_event('Video Play', main_18, duration, current, segment);
7371
7370
 
7372
7371
  if (!playReported) {
7373
7372
  setPlayReported(true);
@@ -7385,8 +7384,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7385
7384
  var queue = Math.floor(duration / 10);
7386
7385
  var segment = Math.floor(current / queue);
7387
7386
 
7388
- Beam.report_beam_video('Pause', main_16, duration, current, segment);
7389
- Segment.report_video_event('Video Pause', main_16, duration, current, segment);
7387
+ Beam.report_beam_video('Pause', main_18, duration, current, segment);
7388
+ Segment.report_video_event('Video Pause', main_18, duration, current, segment);
7390
7389
  };
7391
7390
 
7392
7391
  // Youtube Options
@@ -7514,7 +7513,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7514
7513
  );
7515
7514
  };
7516
7515
 
7517
- var Poll = function Poll(_ref) {
7516
+ var Poll$1 = function Poll(_ref) {
7518
7517
  var node = _ref.node;
7519
7518
  _ref.client;
7520
7519
  _ref.pageview;
@@ -7655,15 +7654,15 @@ _export(_export.S, 'Object', {
7655
7654
  }
7656
7655
  });
7657
7656
 
7658
- var values = _core.Object.values;
7657
+ var values$1 = _core.Object.values;
7659
7658
 
7660
- var values$1 = createCommonjsModule(function (module) {
7661
- module.exports = { "default": values, __esModule: true };
7659
+ var values = createCommonjsModule(function (module) {
7660
+ module.exports = { "default": values$1, __esModule: true };
7662
7661
  });
7663
7662
 
7664
- var _Object$values = unwrapExports(values$1);
7663
+ var _Object$values = unwrapExports(values);
7665
7664
 
7666
- var Poll$1 = function Poll(_ref) {
7665
+ var Poll = function Poll(_ref) {
7667
7666
  var node = _ref.node;
7668
7667
  _ref.client;
7669
7668
  _ref.pageview;
@@ -7822,7 +7821,7 @@ var Poll$1 = function Poll(_ref) {
7822
7821
  );
7823
7822
  };
7824
7823
 
7825
- var numberOfPaginations = main_39 ? 4 : 10;
7824
+ var numberOfPaginations = main_42 ? 4 : 10;
7826
7825
 
7827
7826
  var Quiz = function Quiz(_ref) {
7828
7827
  var quizzes = _ref.quizzes,
@@ -7942,7 +7941,7 @@ var Quiz = function Quiz(_ref) {
7942
7941
  var renderPagination = function renderPagination() {
7943
7942
  return React.createElement(
7944
7943
  Pagination,
7945
- { className: 'p-0 m-0', size: main_39 && 'sm' },
7944
+ { className: 'p-0 m-0', size: main_42 && 'sm' },
7946
7945
  React.createElement(Pagination.First, { onClick: function onClick() {
7947
7946
  return changePage('first');
7948
7947
  }, disabled: currentPage === 1 }),
@@ -8112,12 +8111,12 @@ var Leads = function Leads(_ref) {
8112
8111
  );
8113
8112
  };
8114
8113
 
8115
- var urlFor$1 = function urlFor(source, client) {
8114
+ var urlFor$3 = function urlFor(source, client) {
8116
8115
  var builder = imageUrlBuilder(client);
8117
8116
  return builder.image(source).auto('format');
8118
8117
  };
8119
8118
 
8120
- var Slideshow$1 = function Slideshow(_ref) {
8119
+ var Slideshow = function Slideshow(_ref) {
8121
8120
  var slides = _ref.node.slides,
8122
8121
  client = _ref.client,
8123
8122
  pageview = _ref.pageview,
@@ -8173,7 +8172,7 @@ var Slideshow$1 = function Slideshow(_ref) {
8173
8172
  React.createElement(
8174
8173
  LazyLoad,
8175
8174
  null,
8176
- React.createElement('img', { src: urlFor$1(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8175
+ React.createElement('img', { src: urlFor$3(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
8177
8176
  )
8178
8177
  ),
8179
8178
  React.createElement(
@@ -8642,7 +8641,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8642
8641
  //console.log('useLayoutEffect')
8643
8642
  if (!firstLoad) {
8644
8643
  setUpArrowClicked(false);
8645
- if (main_40) {
8644
+ if (main_43) {
8646
8645
  grabLoadedAds();
8647
8646
  } else {
8648
8647
  scrollToArticle();
@@ -8666,7 +8665,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8666
8665
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8667
8666
  if (pageview) pageview(path);
8668
8667
 
8669
- if (!main_40) {
8668
+ if (!main_43) {
8670
8669
  lib_3.getGoogletag().then(function (googletag) {
8671
8670
  if (window.googletag && googletag.pubadsReady) {
8672
8671
  lib_3.refresh();
@@ -8674,7 +8673,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8674
8673
  });
8675
8674
  }
8676
8675
  //Refresh leaderboard ad on mobile
8677
- if (main_40) {
8676
+ if (main_43) {
8678
8677
  var leaderboardSlotId = '';
8679
8678
  lib_3.getGoogletag().then(function (googletag) {
8680
8679
  if (window.googletag && googletag.pubadsReady) {
@@ -8743,7 +8742,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8743
8742
  React.createElement(
8744
8743
  'div',
8745
8744
  { className: 'ad-box', style: { textAlign: 'center' } },
8746
- main_40 && Ads.map(function (ad, index) {
8745
+ main_43 && Ads.map(function (ad, index) {
8747
8746
  if (index === 0) {
8748
8747
  return React.createElement(
8749
8748
  'div',
@@ -8865,7 +8864,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8865
8864
  React.createElement(
8866
8865
  'div',
8867
8866
  { className: 'ad-box', style: { textAlign: 'center' } },
8868
- main_40 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8867
+ main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8869
8868
  if (innerIndex === 0) {
8870
8869
  return React.createElement(
8871
8870
  'div',
@@ -8932,7 +8931,7 @@ var LightBox = function LightBox(_ref) {
8932
8931
  );
8933
8932
  };
8934
8933
 
8935
- var urlFor$3 = function urlFor(source, client) {
8934
+ var urlFor$1 = function urlFor(source, client) {
8936
8935
  var builder = imageUrlBuilder(client);
8937
8936
  return builder.image(source).auto('format');
8938
8937
  };
@@ -9045,7 +9044,7 @@ var FigureComponent = function FigureComponent(props) {
9045
9044
  link ? React.createElement(
9046
9045
  'a',
9047
9046
  { target: blank ? '_blank' : '_self', href: link },
9048
- React.createElement(Figure$2.Image, { style: { maxWidth: '100%' }, className: 'figure-image', src: urlFor$3(node, client).url(), alt: alt && alt }),
9047
+ React.createElement(Figure$2.Image, { style: { maxWidth: '100%' }, className: 'figure-image', src: urlFor$1(node, client).url(), alt: alt && alt }),
9049
9048
  React.createElement(FigureCaption, null)
9050
9049
  ) : React.createElement(
9051
9050
  React.Fragment,
@@ -9053,10 +9052,10 @@ var FigureComponent = function FigureComponent(props) {
9053
9052
  React.createElement(Figure$2.Image, {
9054
9053
  style: { maxWidth: '100%', cursor: 'pointer', width: 'auto' },
9055
9054
  className: 'figure-image',
9056
- src: urlFor$3(node, client).url(),
9055
+ src: urlFor$1(node, client).url(),
9057
9056
  alt: alt && alt,
9058
9057
  onClick: function onClick() {
9059
- setLightboxImgSrc(urlFor$3(node, client).url());
9058
+ setLightboxImgSrc(urlFor$1(node, client).url());
9060
9059
  setShowLightbox(true);
9061
9060
  }
9062
9061
  }),
@@ -9081,7 +9080,7 @@ var FigureComponent = function FigureComponent(props) {
9081
9080
 
9082
9081
  var Figure = React.memo(FigureComponent, compareProps);
9083
9082
 
9084
- var urlFor$4 = function urlFor(source, client) {
9083
+ var urlFor = function urlFor(source, client) {
9085
9084
  var builder = imageUrlBuilder(client);
9086
9085
  return builder.image(source).auto('format');
9087
9086
  };
@@ -9155,7 +9154,7 @@ var MultiFigure = function MultiFigure(props) {
9155
9154
  React.createElement(
9156
9155
  LazyLoad,
9157
9156
  { once: true },
9158
- React.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor$4(image.asset, client).url(), alt: image.alt })
9157
+ React.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor(image.asset, client).url(), alt: image.alt })
9159
9158
  ),
9160
9159
  React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
9161
9160
  )
@@ -9168,10 +9167,10 @@ var MultiFigure = function MultiFigure(props) {
9168
9167
  React.createElement('img', {
9169
9168
  'images-count': images.length,
9170
9169
  className: 'multi-figure-image',
9171
- src: urlFor$4(image.asset, client).url(),
9170
+ src: urlFor(image.asset, client).url(),
9172
9171
  alt: image.alt,
9173
9172
  onClick: function onClick() {
9174
- setOpenImgSrc(urlFor$4(image, client).url());
9173
+ setOpenImgSrc(urlFor(image, client).url());
9175
9174
  setOpenImg(true);
9176
9175
  }
9177
9176
  })
@@ -9215,6 +9214,258 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
9215
9214
  );
9216
9215
  };
9217
9216
 
9217
+ var objectWithoutProperties = createCommonjsModule(function (module, exports) {
9218
+
9219
+ exports.__esModule = true;
9220
+
9221
+ exports.default = function (obj, keys) {
9222
+ var target = {};
9223
+
9224
+ for (var i in obj) {
9225
+ if (keys.indexOf(i) >= 0) continue;
9226
+ if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
9227
+ target[i] = obj[i];
9228
+ }
9229
+
9230
+ return target;
9231
+ };
9232
+ });
9233
+
9234
+ unwrapExports(objectWithoutProperties);
9235
+
9236
+ var ScriptTag_1 = createCommonjsModule(function (module, exports) {
9237
+
9238
+ exports.__esModule = true;
9239
+
9240
+
9241
+
9242
+ var _extends3 = _interopRequireDefault(_extends$1);
9243
+
9244
+
9245
+
9246
+ var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
9247
+
9248
+
9249
+
9250
+ var _classCallCheck3 = _interopRequireDefault(classCallCheck);
9251
+
9252
+
9253
+
9254
+ var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
9255
+
9256
+
9257
+
9258
+ var _inherits3 = _interopRequireDefault(inherits);
9259
+
9260
+
9261
+
9262
+ var _react2 = _interopRequireDefault(React);
9263
+
9264
+
9265
+
9266
+ var _propTypes2 = _interopRequireDefault(PropTypes);
9267
+
9268
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9269
+ var noop = function noop() {};
9270
+
9271
+ var ScriptTag = function (_Component) {
9272
+ (0, _inherits3.default)(ScriptTag, _Component);
9273
+
9274
+ ScriptTag.removeNode = function removeNode(node) {
9275
+ if (node) {
9276
+ node.parentNode.removeChild(node);
9277
+ }
9278
+ };
9279
+
9280
+ function ScriptTag(props, context) {
9281
+ (0, _classCallCheck3.default)(this, ScriptTag);
9282
+
9283
+ var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
9284
+
9285
+ _this.domRef = null;
9286
+ _this.state = {
9287
+ isHydrated: props.isHydrating,
9288
+ additionalNode: null,
9289
+ removeAdditionalNode: null
9290
+ };
9291
+ return _this;
9292
+ }
9293
+
9294
+ ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
9295
+ var _props = this.props,
9296
+ onError = _props.onError,
9297
+ onLoad = _props.onLoad,
9298
+ nonce = _props.nonce;
9299
+
9300
+ // Create a new HTML script element
9301
+
9302
+ var newElement = document.createElement("script");
9303
+
9304
+ // Copy all attribute values
9305
+ for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
9306
+ var attr = this.domRef.attributes[i];
9307
+ if (attr.nodeName === 'nonce') {
9308
+ // The browser clears the nonce value - grab from props
9309
+ newElement.setAttribute(attr.nodeName, nonce);
9310
+ } else {
9311
+ newElement.setAttribute(attr.nodeName, attr.nodeValue);
9312
+ }
9313
+ }
9314
+
9315
+ // Copy the inner script
9316
+ if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
9317
+ newElement.innerHTML = this.domRef.innerHTML;
9318
+ }
9319
+
9320
+ // Bind event listeners
9321
+ newElement.addEventListener('load', onLoad);
9322
+ newElement.addEventListener('error', onError);
9323
+
9324
+ // Append the new script tag
9325
+ this.domRef.parentNode.appendChild(newElement);
9326
+ return newElement;
9327
+ };
9328
+
9329
+ ScriptTag.prototype.componentDidMount = function componentDidMount() {
9330
+ var isHydrated = this.state.isHydrated;
9331
+
9332
+ if (isHydrated) {
9333
+ // was rendered on server, don't replace elements when hydrating
9334
+ return;
9335
+ }
9336
+
9337
+ this.setState({
9338
+ additionalNode: this.appendAdditionalElement(),
9339
+ removeAdditionalNode: null
9340
+ });
9341
+ };
9342
+
9343
+ ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
9344
+ // This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
9345
+ // - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
9346
+
9347
+ // This isn't perfect - but it keeps the component very simple, and should cover most use-cases
9348
+ // Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
9349
+ // -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
9350
+ // and state management will need to be modified to manipulate the DOM script tag based on each prop change.
9351
+ // This really complicates the component - for now we'll leave it as is.
9352
+ var _props2 = this.props,
9353
+ src = _props2.src,
9354
+ dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
9355
+
9356
+ if (src && src === nextProps.src) {
9357
+ // The 'src' attribute has not changed
9358
+ return;
9359
+ }
9360
+
9361
+ if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
9362
+ // The 'dangerouslySetInnerHTML' attribute has not changed
9363
+ return;
9364
+ }
9365
+
9366
+ this.setState({
9367
+ removeAdditionalNode: this.state.additionalNode,
9368
+ additionalNode: null
9369
+ });
9370
+ };
9371
+
9372
+ ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
9373
+ ScriptTag.removeNode(nextState.removeAdditionalNode);
9374
+ };
9375
+
9376
+ ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
9377
+ var _state = this.state,
9378
+ additionalNode = _state.additionalNode,
9379
+ removeAdditionalNode = _state.removeAdditionalNode;
9380
+
9381
+ if (additionalNode === null) {
9382
+ this.setState({
9383
+ additionalNode: this.appendAdditionalElement()
9384
+ });
9385
+ }
9386
+
9387
+ if (removeAdditionalNode !== null) {
9388
+ // Was removed in 'componentWillUpdate', but can not update state there
9389
+ this.setState({
9390
+ removeAdditionalNode: null
9391
+ });
9392
+ }
9393
+ };
9394
+
9395
+ ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
9396
+ ScriptTag.removeNode(this.state.removeAdditionalNode);
9397
+ ScriptTag.removeNode(this.state.additionalNode);
9398
+ };
9399
+
9400
+ ScriptTag.prototype.render = function render() {
9401
+ var _this2 = this;
9402
+
9403
+ var additionalNode = this.state.additionalNode;
9404
+
9405
+ if (additionalNode !== null) {
9406
+ return null;
9407
+ }
9408
+
9409
+ // The 'isHydrating' prop must NOT be passed to the script tag
9410
+ // eslint-disable-next-line no-unused-vars
9411
+ var _props3 = this.props;
9412
+ _props3.isHydrating;
9413
+ var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
9414
+
9415
+ return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
9416
+ return _this2.domRef = tag;
9417
+ } }));
9418
+ };
9419
+
9420
+ return ScriptTag;
9421
+ }(React.Component);
9422
+
9423
+ ScriptTag.propTypes = {
9424
+ /**
9425
+ * True if the <ScriptTag> is being hydrated on the client, otherwise false.
9426
+ */
9427
+ isHydrating: _propTypes2.default.bool,
9428
+
9429
+ // Standard <script> tag props
9430
+ async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
9431
+ crossOrigin: _propTypes2.default.string,
9432
+ defer: _propTypes2.default.bool,
9433
+ integrity: _propTypes2.default.string,
9434
+ nonce: _propTypes2.default.string,
9435
+ src: _propTypes2.default.string,
9436
+ text: _propTypes2.default.string,
9437
+ type: _propTypes2.default.string,
9438
+ dangerouslySetInnerHTML: _propTypes2.default.object,
9439
+
9440
+ // globals
9441
+ onError: _propTypes2.default.func,
9442
+ onLoad: _propTypes2.default.func
9443
+ };
9444
+ ScriptTag.defaultProps = {
9445
+ isHydrating: false,
9446
+ onError: noop,
9447
+ onLoad: noop
9448
+ };
9449
+ exports.default = ScriptTag;
9450
+ });
9451
+
9452
+ unwrapExports(ScriptTag_1);
9453
+
9454
+ var lib = createCommonjsModule(function (module, exports) {
9455
+
9456
+ exports.__esModule = true;
9457
+
9458
+
9459
+
9460
+ var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
9461
+
9462
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9463
+
9464
+ exports.default = _ScriptTag2.default;
9465
+ });
9466
+
9467
+ var ScriptTag = unwrapExports(lib);
9468
+
9218
9469
  var enterpriseDomainName = 'mjhlifesciences';
9219
9470
 
9220
9471
  var FormAssembly = function FormAssembly(_ref) {
@@ -9417,7 +9668,7 @@ var getSerializers = function getSerializers() {
9417
9668
  var node = _ref6.node;
9418
9669
  var slides = node.slides;
9419
9670
 
9420
- return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
9671
+ return React.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
9421
9672
  },
9422
9673
  sidebar: function sidebar(_ref7) {
9423
9674
  var node = _ref7.node;
@@ -9455,12 +9706,12 @@ var getSerializers = function getSerializers() {
9455
9706
  poll: function poll(_ref13) {
9456
9707
  var node = _ref13.node;
9457
9708
 
9458
- return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9709
+ return React.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
9459
9710
  },
9460
9711
  pollMultiChoice: function pollMultiChoice(_ref14) {
9461
9712
  var node = _ref14.node;
9462
9713
 
9463
- return React.createElement(Poll$1, {
9714
+ return React.createElement(Poll, {
9464
9715
  node: node,
9465
9716
  client: client,
9466
9717
  pageview: pageview,
@@ -9486,7 +9737,7 @@ var getSerializers = function getSerializers() {
9486
9737
  slideshows: function slideshows(_ref17) {
9487
9738
  var node = _ref17.node;
9488
9739
 
9489
- return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9740
+ return React.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
9490
9741
  },
9491
9742
  nativeAd: function nativeAd(_ref18) {
9492
9743
  var node = _ref18.node;