@mjhls/mjh-framework 1.0.989-test → 1.0.990-next-12

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 (269) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +1 -2
  4. package/dist/cjs/AD300x250x600.js +1 -2
  5. package/dist/cjs/AD728x90.js +1 -2
  6. package/dist/cjs/ADFloatingFooter.js +1 -2
  7. package/dist/cjs/ADGutter.js +1 -2
  8. package/dist/cjs/ADSkyscraper.js +1 -2
  9. package/dist/cjs/ADSponsoredResources.js +1 -2
  10. package/dist/cjs/ADWebcast.js +1 -2
  11. package/dist/cjs/ADWelcome.js +1 -2
  12. package/dist/cjs/AdSlot.js +1 -2
  13. package/dist/cjs/AdSlotsProvider.js +1 -2
  14. package/dist/cjs/AlgoliaSearch.js +18 -14289
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleProgramLandingPage.js +5 -7
  17. package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
  18. package/dist/cjs/ArticleSeriesListing.js +2 -3
  19. package/dist/cjs/AuthWrapper.js +294 -1476
  20. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-36e54d77.js} +1 -1
  21. package/dist/cjs/CMEDeck.js +2 -7
  22. package/dist/cjs/Column1.js +1 -1
  23. package/dist/cjs/Column2.js +1 -1
  24. package/dist/cjs/Column3.js +2 -3
  25. package/dist/cjs/ConferenceArticleCard.js +16 -16
  26. package/dist/cjs/ContentCardPaginated.js +6 -6
  27. package/dist/cjs/DeckContent.js +12 -13
  28. package/dist/cjs/DeckQueue.js +3 -4
  29. package/dist/cjs/DeckQueuePaginated.js +5 -5
  30. package/dist/cjs/{Dfp-9be904d5.js → Dfp-94f8ccdf.js} +2 -3
  31. package/dist/cjs/EventsDeck.js +17 -17
  32. package/dist/cjs/ExternalResources.js +5 -7
  33. package/dist/cjs/Feature.js +1 -1
  34. package/dist/cjs/ForbesHero.js +1 -1
  35. package/dist/cjs/GridContent.js +6 -7
  36. package/dist/cjs/GridContentPaginated.js +8 -8
  37. package/dist/cjs/GridHero.js +2 -2
  38. package/dist/cjs/GroupDeck.js +1 -1
  39. package/dist/cjs/HamMagazine.js +10 -10
  40. package/dist/cjs/Header.js +1 -1
  41. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  42. package/dist/cjs/Hero.js +2 -2
  43. package/dist/cjs/HorizontalArticleListing.js +5 -7
  44. package/dist/cjs/HorizontalHero.js +1 -1
  45. package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
  46. package/dist/cjs/IssueContentDeck.js +1 -1
  47. package/dist/cjs/IssueDeck.js +1 -1
  48. package/dist/cjs/IssueLanding.js +36 -38
  49. package/dist/cjs/KMTracker.js +15 -15
  50. package/dist/cjs/LeftNav.js +2 -3
  51. package/dist/cjs/MasterDeck.js +12 -13
  52. package/dist/cjs/MasterDeckPaginated.js +13 -13
  53. package/dist/cjs/{MediaSeriesCard-79eac5e7.js → MediaSeriesCard-36eab8b7.js} +433 -458
  54. package/dist/cjs/MediaSeriesLanding.js +14 -17
  55. package/dist/cjs/MediaSeriesLandingPaginated.js +16 -18
  56. package/dist/cjs/NavDvm.js +1 -1
  57. package/dist/cjs/NavMagazine.js +11 -11
  58. package/dist/cjs/NavNative.js +10 -10
  59. package/dist/cjs/OncliveHero.js +1 -1
  60. package/dist/cjs/OncliveLargeHero.js +2 -2
  61. package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
  62. package/dist/cjs/PartnerDetailListing.js +11 -13
  63. package/dist/cjs/PartnerDetailListingPaginated.js +13 -14
  64. package/dist/cjs/PubSection.js +5 -6
  65. package/dist/cjs/PublicationDeck.js +1 -1
  66. package/dist/cjs/PublicationLanding.js +26 -30
  67. package/dist/cjs/QueueDeckExpanded.js +5 -6
  68. package/dist/cjs/QueueDeckExpandedPaginated.js +7 -7
  69. package/dist/cjs/RelatedContent.js +29 -29
  70. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  71. package/dist/cjs/Schema.js +1 -1
  72. package/dist/cjs/SeriesListingDeck.js +3 -4
  73. package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-b94f1dd5.js} +4 -4
  74. package/dist/cjs/SideFooter.js +2 -2
  75. package/dist/cjs/TaxonomyCard.js +2 -2
  76. package/dist/cjs/TaxonomyDescription.js +5 -7
  77. package/dist/cjs/TemplateNormal.js +1 -2
  78. package/dist/cjs/ThumbnailCard.js +2 -2
  79. package/dist/cjs/VerticalHero.js +1 -1
  80. package/dist/cjs/VideoProgramLandingPage.js +5 -7
  81. package/dist/cjs/VideoSeriesCard.js +2 -2
  82. package/dist/cjs/VideoSeriesLandingPage.js +4 -5
  83. package/dist/cjs/VideoSeriesListing.js +2 -3
  84. package/dist/cjs/View.js +13 -20
  85. package/dist/cjs/YahooHero.js +2 -2
  86. package/dist/cjs/YoutubeGroup.js +5 -5
  87. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  88. package/dist/cjs/faundadb.js +321 -4
  89. package/dist/cjs/getPtceActivities.js +23 -10
  90. package/dist/cjs/getRelatedArticle.js +213 -8
  91. package/dist/cjs/getSerializers.js +5 -7
  92. package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
  93. package/dist/cjs/getTargeting.js +1 -1
  94. package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
  95. package/dist/cjs/{index-1d5a3c47.js → index-7361fa72.js} +589 -17
  96. package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
  97. package/dist/cjs/index.js +14 -23
  98. package/dist/cjs/urlFor.js +1 -1
  99. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  100. package/dist/esm/AD.js +2 -2
  101. package/dist/esm/AD300x250.js +9 -10
  102. package/dist/esm/AD300x250x600.js +9 -10
  103. package/dist/esm/AD728x90.js +9 -10
  104. package/dist/esm/ADFloatingFooter.js +9 -10
  105. package/dist/esm/ADFooter.js +4 -4
  106. package/dist/esm/ADGutter.js +9 -10
  107. package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-f684cac9.js} +1 -1
  108. package/dist/esm/ADSkyscraper.js +9 -10
  109. package/dist/esm/ADSponsoredResources.js +9 -10
  110. package/dist/esm/ADWebcast.js +9 -10
  111. package/dist/esm/ADWelcome.js +9 -10
  112. package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-8c438cee.js} +1 -1
  113. package/dist/esm/AccordionPanel.js +4 -4
  114. package/dist/esm/AdSlot.js +9 -10
  115. package/dist/esm/AdSlotsProvider.js +7 -8
  116. package/dist/esm/AlgoliaSearch.js +19 -14290
  117. package/dist/esm/AlphabeticList.js +7 -7
  118. package/dist/esm/ArticleCarousel.js +6 -6
  119. package/dist/esm/ArticleProgramLandingPage.js +21 -23
  120. package/dist/esm/ArticleSeriesLandingPage.js +18 -19
  121. package/dist/esm/ArticleSeriesListing.js +12 -13
  122. package/dist/esm/AuthWrapper.js +292 -1474
  123. package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-defe68b6.js} +1 -1
  124. package/dist/esm/Beam.js +6 -6
  125. package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-c99c9a8d.js} +1 -1
  126. package/dist/esm/Breadcrumbs.js +4 -4
  127. package/dist/esm/CMEDeck.js +10 -15
  128. package/dist/esm/Column1.js +2 -1
  129. package/dist/esm/Column2.js +8 -7
  130. package/dist/esm/Column3.js +12 -12
  131. package/dist/esm/ConferenceArticleCard.js +20 -20
  132. package/dist/esm/ContentCardPaginated.js +20 -20
  133. package/dist/esm/DeckContent.js +26 -27
  134. package/dist/esm/DeckQueue.js +15 -16
  135. package/dist/esm/DeckQueuePaginated.js +18 -18
  136. package/dist/esm/{Dfp-102f0beb.js → Dfp-4b99f79d.js} +5 -6
  137. package/dist/esm/EventsDeck.js +28 -28
  138. package/dist/esm/ExternalResources.js +21 -23
  139. package/dist/esm/Feature.js +5 -5
  140. package/dist/esm/ForbesHero.js +6 -6
  141. package/dist/esm/GridContent.js +21 -22
  142. package/dist/esm/GridContentPaginated.js +23 -23
  143. package/dist/esm/GridHero.js +7 -7
  144. package/dist/esm/GroupDeck.js +7 -7
  145. package/dist/esm/HamMagazine.js +17 -16
  146. package/dist/esm/Header.js +2 -1
  147. package/dist/esm/HealthCareProfessionalModal.js +2 -2
  148. package/dist/esm/Hero.js +6 -6
  149. package/dist/esm/HighlightenVideo.js +1 -1
  150. package/dist/esm/HorizontalArticleListing.js +21 -23
  151. package/dist/esm/HorizontalHero.js +5 -5
  152. package/dist/esm/ImageSlider-eab2fe41.js +176 -0
  153. package/dist/esm/IssueContentDeck.js +6 -6
  154. package/dist/esm/IssueDeck.js +8 -8
  155. package/dist/esm/IssueLanding.js +53 -55
  156. package/dist/esm/KMTracker.js +16 -16
  157. package/dist/esm/LeftNav.js +10 -10
  158. package/dist/esm/MasterDeck.js +26 -27
  159. package/dist/esm/MasterDeckPaginated.js +27 -27
  160. package/dist/esm/{MediaSeriesCard-7d1f45f9.js → MediaSeriesCard-99048e65.js} +149 -174
  161. package/dist/esm/MediaSeriesLanding.js +30 -33
  162. package/dist/esm/MediaSeriesLandingPaginated.js +32 -34
  163. package/dist/esm/NavDvm.js +7 -6
  164. package/dist/esm/NavMagazine.js +18 -17
  165. package/dist/esm/NavNative.js +16 -15
  166. package/dist/esm/OncliveHero.js +5 -5
  167. package/dist/esm/OncliveLargeHero.js +7 -7
  168. package/dist/esm/PageFilter.js +4 -4
  169. package/dist/esm/Pagination-cd21f8c2.js +82 -0
  170. package/dist/esm/PartnerDetailListing.js +27 -29
  171. package/dist/esm/PartnerDetailListingPaginated.js +29 -30
  172. package/dist/esm/PdfDownload.js +1 -1
  173. package/dist/esm/PixelTracking.js +3 -3
  174. package/dist/esm/PopUpModal.js +4 -4
  175. package/dist/esm/PtceDeck.js +8 -8
  176. package/dist/esm/PubSection.js +15 -16
  177. package/dist/esm/PubToc.js +6 -6
  178. package/dist/esm/PublicationDeck.js +5 -5
  179. package/dist/esm/PublicationLanding.js +36 -40
  180. package/dist/esm/QueueDeckExpanded.js +15 -16
  181. package/dist/esm/QueueDeckExpandedPaginated.js +17 -17
  182. package/dist/esm/RecentNews.js +1 -1
  183. package/dist/esm/RelatedContent.js +33 -33
  184. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  185. package/dist/esm/RolesDeck.js +1 -1
  186. package/dist/esm/Schema.js +9 -9
  187. package/dist/esm/Search.js +4 -4
  188. package/dist/esm/Segment.js +5 -5
  189. package/dist/esm/SeriesListingDeck.js +10 -11
  190. package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-609f9d94.js} +5 -5
  191. package/dist/esm/SetCookie.js +1 -1
  192. package/dist/esm/SideFooter.js +9 -9
  193. package/dist/esm/SocialIcons.js +1 -1
  194. package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-1d8a9f59.js} +1 -1
  195. package/dist/esm/SocialShare.js +1 -1
  196. package/dist/esm/TaxonomyCard.js +7 -7
  197. package/dist/esm/TaxonomyDescription.js +21 -23
  198. package/dist/esm/TemplateNormal.js +12 -13
  199. package/dist/esm/ThumbnailCard.js +6 -6
  200. package/dist/esm/Ustream.js +7 -7
  201. package/dist/esm/VerticalHero.js +5 -5
  202. package/dist/esm/VideoProgramLandingPage.js +21 -23
  203. package/dist/esm/VideoSeriesCard.js +8 -8
  204. package/dist/esm/VideoSeriesFilter.js +6 -6
  205. package/dist/esm/VideoSeriesLandingPage.js +18 -19
  206. package/dist/esm/VideoSeriesListing.js +12 -13
  207. package/dist/esm/View.js +29 -37
  208. package/dist/esm/YahooHero.js +7 -7
  209. package/dist/esm/YoutubeGroup.js +9 -9
  210. package/dist/esm/{_is-array-8d21b9e3.js → _is-array-893ab020.js} +1 -1
  211. package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-f089461c.js} +1 -1
  212. package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-169d6272.js} +1 -1
  213. package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-50a6b9a3.js} +1 -1
  214. package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-9716ae8d.js} +3 -3
  215. package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-e903ff31.js} +1 -1
  216. package/dist/esm/{define-property-5f1bda73.js → define-property-99e66838.js} +1 -1
  217. package/dist/esm/{defineProperty-8c30428f.js → defineProperty-8fa0bc8d.js} +1 -1
  218. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  219. package/dist/esm/{extends-6d8e3924.js → extends-dc6a71fd.js} +1 -1
  220. package/dist/esm/faundadb.js +323 -6
  221. package/dist/esm/getKeywords.js +1 -1
  222. package/dist/esm/getPtceActivities.js +27 -14
  223. package/dist/esm/getQuery.js +1 -1
  224. package/dist/esm/getRelatedArticle.js +214 -9
  225. package/dist/esm/getRootDocGroup.js +5 -5
  226. package/dist/esm/getSerializers.js +20 -22
  227. package/dist/esm/getSeriesDetail.js +1 -1
  228. package/dist/esm/{getTargeting-9bd28724.js → getTargeting-db566006.js} +11 -11
  229. package/dist/esm/getTargeting.js +5 -5
  230. package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
  231. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  232. package/dist/esm/{index-03afef1c.js → index-c60f3bb6.js} +588 -16
  233. package/dist/esm/index.js +33 -41
  234. package/dist/esm/{inherits-a6ba2ec4.js → inherits-8a801a18.js} +4 -4
  235. package/dist/esm/{keys-31dcdb31.js → keys-425c8ab0.js} +2 -2
  236. package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-ca2c8b8d.js} +2 -2
  237. package/dist/esm/{stringify-2b084bee.js → stringify-c21932b3.js} +2 -2
  238. package/dist/esm/timeDifferenceCalc.js +1 -1
  239. package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-7b1c0e23.js} +2 -2
  240. package/dist/esm/{typeof-e9fc0c5d.js → typeof-83d9eb10.js} +3 -3
  241. package/dist/esm/urlFor.js +5 -5
  242. package/dist/esm/{urlForFile-b69adffc.js → urlForFile-413f5ddb.js} +1 -1
  243. package/dist/esm/{ustream-api-d3714624.js → ustream-api-41166338.js} +5 -5
  244. package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-fdf034f5.js} +1 -1
  245. package/package.json +115 -115
  246. package/dist/cjs/Auth.js +0 -3653
  247. package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
  248. package/dist/cjs/Pagination-2a3d0103.js +0 -97
  249. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  250. package/dist/cjs/events-1b438fe7.js +0 -469
  251. package/dist/cjs/index-50be6759.js +0 -105
  252. package/dist/cjs/index-bd6c9f56.js +0 -211
  253. package/dist/cjs/md5-e1ca5797.js +0 -323
  254. package/dist/cjs/typeof-1358762e.js +0 -33
  255. package/dist/cjs/util-93a37fd0.js +0 -587
  256. package/dist/esm/Auth.js +0 -3632
  257. package/dist/esm/ImageSlider-f84174cb.js +0 -2804
  258. package/dist/esm/Pagination-dc30727b.js +0 -90
  259. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  260. package/dist/esm/events-6c3a7a63.js +0 -467
  261. package/dist/esm/index-98ca9cec.js +0 -100
  262. package/dist/esm/index-db3bb315.js +0 -207
  263. package/dist/esm/md5-4e42248e.js +0 -321
  264. package/dist/esm/typeof-2f07d0e8.js +0 -30
  265. package/dist/esm/util-8ed16d48.js +0 -585
  266. /package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-cf54cb8a.js} +0 -0
  267. /package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-d06624d8.js} +0 -0
  268. /package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-be5f3503.js} +0 -0
  269. /package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-03500094.js} +0 -0
@@ -1,31 +1,30 @@
1
- import { _ as _JSON$stringify } from './stringify-2b084bee.js';
2
- import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
3
- import { _ as _extends } from './extends-6d8e3924.js';
4
- import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
5
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
1
+ import { _ as _JSON$stringify } from './stringify-c21932b3.js';
2
+ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-9716ae8d.js';
3
+ import { _ as _extends } from './extends-dc6a71fd.js';
4
+ import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
5
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
6
6
  import React__default from 'react';
7
- import { l as lib_3 } from './index-f0fc23eb.js';
7
+ import { l as lib_3 } from './index-5cc7b406.js';
8
8
  import Container from 'react-bootstrap/Container';
9
9
  import Spinner from 'react-bootstrap/Spinner';
10
10
  import { withRouter } from 'next/router';
11
11
  import { l as lodash } from './lodash-f97fd99a.js';
12
12
  import { m as main_43 } from './main-1894c974.js';
13
- import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
14
- import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
15
- import { P as Pagination } from './Pagination-dc30727b.js';
13
+ import { A as ADlgInfeed } from './ADlgInfeed-8c438cee.js';
14
+ import { A as ADInfeed } from './ADInfeed-f684cac9.js';
15
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
- import './core.get-iterator-method-ea258bb1.js';
18
- import './web.dom.iterable-ab4dea5c.js';
17
+ import './core.get-iterator-method-e903ff31.js';
18
+ import './web.dom.iterable-fdf034f5.js';
19
19
  import './_library-528f1934.js';
20
- import './_iter-detect-98db3b07.js';
20
+ import './_iter-detect-f089461c.js';
21
21
  import './_object-pie-133f504a.js';
22
- import './_object-sap-7cee6f84.js';
23
- import './define-property-5f1bda73.js';
24
- import './typeof-e9fc0c5d.js';
25
- import './_is-array-8d21b9e3.js';
26
- import './events-6c3a7a63.js';
22
+ import './_object-sap-169d6272.js';
23
+ import './define-property-99e66838.js';
24
+ import './typeof-83d9eb10.js';
25
+ import './_is-array-893ab020.js';
27
26
  import 'prop-types';
28
- import './slicedToArray-6ebcbfea.js';
27
+ import './slicedToArray-ca2c8b8d.js';
29
28
  import 'react-bootstrap/Card';
30
29
  import './AdSlot.js';
31
30
  import './debounce-533d9748.js';
@@ -33,6 +32,7 @@ import './isSymbol-a7e9aafe.js';
33
32
  import './toNumber-5aeba6e7.js';
34
33
  import './Beam.js';
35
34
  import './Segment.js';
35
+ import 'react-paginate';
36
36
  import 'react-bootstrap/Button';
37
37
  import './index.esm-1bd8a0a8.js';
38
38
  import './iconBase-ccc56b97.js';
@@ -107,14 +107,14 @@ var MasterDeck = function (_React$Component) {
107
107
  }
108
108
 
109
109
  // please leave this for later debug purpose : Yong Jun.
110
- /* console.log('page change reported', {
111
- currentPage: currentPage,
112
- pageNumber: pageNumber,
113
- pathname: pathname,
114
- path: path,
115
- newPath: newPath,
116
- firstPage: pageNumber === 1,
117
- queryString: queryString
110
+ /* console.log('page change reported', {
111
+ currentPage: currentPage,
112
+ pageNumber: pageNumber,
113
+ pathname: pathname,
114
+ path: path,
115
+ newPath: newPath,
116
+ firstPage: pageNumber === 1,
117
+ queryString: queryString
118
118
  }) */
119
119
 
120
120
  if (pageview) {
@@ -458,4 +458,4 @@ var MasterDeck = function (_React$Component) {
458
458
 
459
459
  var MasterDeck$1 = withRouter(MasterDeck);
460
460
 
461
- export { MasterDeck$1 as default };
461
+ export default MasterDeck$1;
@@ -1,15 +1,96 @@
1
- import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-98ca9cec.js';
2
1
  import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
3
2
  import PropTypes from 'prop-types';
4
3
  import ReactDOM from 'react-dom';
5
4
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
6
- import { _ as _typeof } from './typeof-e9fc0c5d.js';
5
+ import { _ as _typeof } from './typeof-83d9eb10.js';
7
6
  import { L as LazyLoad } from './index-755f2cc2.js';
8
7
  import urlFor from './urlFor.js';
9
8
  import { m as moment } from './moment-bc12cb97.js';
10
9
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
11
- import { B as BlockContent } from './BlockContent-1e73bd2c.js';
12
- import { g as getSerializers } from './index-03afef1c.js';
10
+ import { B as BlockContent } from './BlockContent-c99c9a8d.js';
11
+ import { g as getSerializers } from './index-c60f3bb6.js';
12
+
13
+ function _extends() {
14
+ _extends = Object.assign || function (target) {
15
+ for (var i = 1; i < arguments.length; i++) {
16
+ var source = arguments[i];
17
+
18
+ for (var key in source) {
19
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
20
+ target[key] = source[key];
21
+ }
22
+ }
23
+ }
24
+
25
+ return target;
26
+ };
27
+
28
+ return _extends.apply(this, arguments);
29
+ }
30
+
31
+ function _objectWithoutPropertiesLoose(source, excluded) {
32
+ if (source == null) return {};
33
+ var target = {};
34
+ var sourceKeys = Object.keys(source);
35
+ var key, i;
36
+
37
+ for (i = 0; i < sourceKeys.length; i++) {
38
+ key = sourceKeys[i];
39
+ if (excluded.indexOf(key) >= 0) continue;
40
+ target[key] = source[key];
41
+ }
42
+
43
+ return target;
44
+ }
45
+
46
+ var classnames = createCommonjsModule(function (module) {
47
+ /*!
48
+ Copyright (c) 2017 Jed Watson.
49
+ Licensed under the MIT License (MIT), see
50
+ http://jedwatson.github.io/classnames
51
+ */
52
+ /* global define */
53
+
54
+ (function () {
55
+
56
+ var hasOwn = {}.hasOwnProperty;
57
+
58
+ function classNames () {
59
+ var classes = [];
60
+
61
+ for (var i = 0; i < arguments.length; i++) {
62
+ var arg = arguments[i];
63
+ if (!arg) continue;
64
+
65
+ var argType = typeof arg;
66
+
67
+ if (argType === 'string' || argType === 'number') {
68
+ classes.push(arg);
69
+ } else if (Array.isArray(arg) && arg.length) {
70
+ var inner = classNames.apply(null, arg);
71
+ if (inner) {
72
+ classes.push(inner);
73
+ }
74
+ } else if (argType === 'object') {
75
+ for (var key in arg) {
76
+ if (hasOwn.call(arg, key) && arg[key]) {
77
+ classes.push(key);
78
+ }
79
+ }
80
+ }
81
+ }
82
+
83
+ return classes.join(' ');
84
+ }
85
+
86
+ if (module.exports) {
87
+ classNames.default = classNames;
88
+ module.exports = classNames;
89
+ } else {
90
+ window.classNames = classNames;
91
+ }
92
+ }());
93
+ });
13
94
 
14
95
  /**
15
96
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -116,6 +197,15 @@ function useUncontrolled(props, config) {
116
197
  }, props);
117
198
  }
118
199
 
200
+ function _setPrototypeOf(o, p) {
201
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
202
+ o.__proto__ = p;
203
+ return o;
204
+ };
205
+
206
+ return _setPrototypeOf(o, p);
207
+ }
208
+
119
209
  function _inheritsLoose(subClass, superClass) {
120
210
  subClass.prototype = Object.create(superClass.prototype);
121
211
  subClass.prototype.constructor = subClass;
@@ -177,33 +267,15 @@ var AccordionToggle = React__default.forwardRef(function (_ref, ref) {
177
267
  }, props), children);
178
268
  });
179
269
 
180
- /**
181
- * Returns the owner document of a given element.
182
- *
183
- * @param node the element
184
- */
185
270
  function ownerDocument$1(node) {
186
271
  return node && node.ownerDocument || document;
187
272
  }
188
273
 
189
- /**
190
- * Returns the owner window of a given element.
191
- *
192
- * @param node the element
193
- */
194
-
195
274
  function ownerWindow(node) {
196
275
  var doc = ownerDocument$1(node);
197
276
  return doc && doc.defaultView || window;
198
277
  }
199
278
 
200
- /**
201
- * Returns one or all computed style properties of an element.
202
- *
203
- * @param node the element
204
- * @param psuedoElement the style property
205
- */
206
-
207
279
  function getComputedStyle$2(node, psuedoElement) {
208
280
  return ownerWindow(node).getComputedStyle(node, psuedoElement);
209
281
  }
@@ -284,11 +356,6 @@ try {
284
356
 
285
357
  /**
286
358
  * An `addEventListener` ponyfill, supports the `once` option
287
- *
288
- * @param node the element
289
- * @param eventName the event name
290
- * @param handle the handler
291
- * @param options event options
292
359
  */
293
360
  function addEventListener(node, eventName, handler, options) {
294
361
  if (options && typeof options !== 'boolean' && !onceSupported) {
@@ -311,14 +378,6 @@ function addEventListener(node, eventName, handler, options) {
311
378
  node.addEventListener(eventName, handler, options);
312
379
  }
313
380
 
314
- /**
315
- * A `removeEventListener` ponyfill
316
- *
317
- * @param node the element
318
- * @param eventName the event name
319
- * @param handle the handler
320
- * @param options event options
321
- */
322
381
  function removeEventListener(node, eventName, handler, options) {
323
382
  var capture = options && typeof options !== 'boolean' ? options.capture : options;
324
383
  node.removeEventListener(eventName, handler, capture);
@@ -335,36 +394,18 @@ function listen(node, eventName, handler, options) {
335
394
  };
336
395
  }
337
396
 
338
- /**
339
- * Triggers an event on a given element.
340
- *
341
- * @param node the element
342
- * @param eventName the event name to trigger
343
- * @param bubbles whether the event should bubble up
344
- * @param cancelable whether the event should be cancelable
345
- */
346
- function triggerEvent(node, eventName, bubbles, cancelable) {
347
- if (bubbles === void 0) {
348
- bubbles = false;
349
- }
350
-
351
- if (cancelable === void 0) {
352
- cancelable = true;
353
- }
354
-
355
- if (node) {
356
- var event = document.createEvent('HTMLEvents');
357
- event.initEvent(eventName, bubbles, cancelable);
358
- node.dispatchEvent(event);
359
- }
360
- }
361
-
362
397
  function parseDuration(node) {
363
398
  var str = style(node, 'transitionDuration') || '';
364
399
  var mult = str.indexOf('ms') === -1 ? 1000 : 1;
365
400
  return parseFloat(str) * mult;
366
401
  }
367
402
 
403
+ function triggerTransitionEnd(element) {
404
+ var evt = document.createEvent('HTMLEvents');
405
+ evt.initEvent('transitionend', true, true);
406
+ element.dispatchEvent(evt);
407
+ }
408
+
368
409
  function emulateTransitionEnd(element, duration, padding) {
369
410
  if (padding === void 0) {
370
411
  padding = 5;
@@ -372,7 +413,7 @@ function emulateTransitionEnd(element, duration, padding) {
372
413
 
373
414
  var called = false;
374
415
  var handle = setTimeout(function () {
375
- if (!called) triggerEvent(element, 'transitionend', true);
416
+ if (!called) triggerTransitionEnd(element);
376
417
  }, duration + padding);
377
418
  var remove = listen(element, 'transitionend', function () {
378
419
  called = true;
@@ -830,10 +871,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
830
871
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
831
872
  */
832
873
  nodeRef: PropTypes.shape({
833
- current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
834
- var value = propValue[key];
835
- return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
836
- }
874
+ current: typeof Element === 'undefined' ? PropTypes.any : PropTypes.instanceOf(Element)
837
875
  }),
838
876
 
839
877
  /**
@@ -2465,13 +2503,6 @@ function (_ref, ref) {
2465
2503
  Col.displayName = 'Col';
2466
2504
 
2467
2505
  var matchesImpl;
2468
- /**
2469
- * Checks if a given element matches a selector.
2470
- *
2471
- * @param node the element
2472
- * @param selector the selector
2473
- */
2474
-
2475
2506
  function matches(node, selector) {
2476
2507
  if (!matchesImpl) {
2477
2508
  var body = document.body;
@@ -2486,13 +2517,6 @@ function matches(node, selector) {
2486
2517
  }
2487
2518
 
2488
2519
  var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
2489
- /**
2490
- * Runs `querySelectorAll` on a given element.
2491
- *
2492
- * @param element the element
2493
- * @param selector the selector
2494
- */
2495
-
2496
2520
  function qsa(element, selector) {
2497
2521
  return toArray(element.querySelectorAll(selector));
2498
2522
  }
@@ -2626,6 +2650,45 @@ function getBasePlacement(placement) {
2626
2650
  return placement.split('-')[0];
2627
2651
  }
2628
2652
 
2653
+ function getBoundingClientRect(element) {
2654
+ var rect = element.getBoundingClientRect();
2655
+ return {
2656
+ width: rect.width,
2657
+ height: rect.height,
2658
+ top: rect.top,
2659
+ right: rect.right,
2660
+ bottom: rect.bottom,
2661
+ left: rect.left,
2662
+ x: rect.left,
2663
+ y: rect.top
2664
+ };
2665
+ }
2666
+
2667
+ // means it doesn't take into account transforms.
2668
+
2669
+ function getLayoutRect(element) {
2670
+ var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2671
+ // Fixes https://github.com/popperjs/popper-core/issues/1223
2672
+
2673
+ var width = element.offsetWidth;
2674
+ var height = element.offsetHeight;
2675
+
2676
+ if (Math.abs(clientRect.width - width) <= 1) {
2677
+ width = clientRect.width;
2678
+ }
2679
+
2680
+ if (Math.abs(clientRect.height - height) <= 1) {
2681
+ height = clientRect.height;
2682
+ }
2683
+
2684
+ return {
2685
+ x: element.offsetLeft,
2686
+ y: element.offsetTop,
2687
+ width: width,
2688
+ height: height
2689
+ };
2690
+ }
2691
+
2629
2692
  function getWindow(node) {
2630
2693
  if (node == null) {
2631
2694
  return window;
@@ -2659,59 +2722,6 @@ function isShadowRoot(node) {
2659
2722
  return node instanceof OwnElement || node instanceof ShadowRoot;
2660
2723
  }
2661
2724
 
2662
- var round$1 = Math.round;
2663
- function getBoundingClientRect(element, includeScale) {
2664
- if (includeScale === void 0) {
2665
- includeScale = false;
2666
- }
2667
-
2668
- var rect = element.getBoundingClientRect();
2669
- var scaleX = 1;
2670
- var scaleY = 1;
2671
-
2672
- if (isHTMLElement(element) && includeScale) {
2673
- // Fallback to 1 in case both values are `0`
2674
- scaleX = rect.width / element.offsetWidth || 1;
2675
- scaleY = rect.height / element.offsetHeight || 1;
2676
- }
2677
-
2678
- return {
2679
- width: round$1(rect.width / scaleX),
2680
- height: round$1(rect.height / scaleY),
2681
- top: round$1(rect.top / scaleY),
2682
- right: round$1(rect.right / scaleX),
2683
- bottom: round$1(rect.bottom / scaleY),
2684
- left: round$1(rect.left / scaleX),
2685
- x: round$1(rect.left / scaleX),
2686
- y: round$1(rect.top / scaleY)
2687
- };
2688
- }
2689
-
2690
- // means it doesn't take into account transforms.
2691
-
2692
- function getLayoutRect(element) {
2693
- var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2694
- // Fixes https://github.com/popperjs/popper-core/issues/1223
2695
-
2696
- var width = element.offsetWidth;
2697
- var height = element.offsetHeight;
2698
-
2699
- if (Math.abs(clientRect.width - width) <= 1) {
2700
- width = clientRect.width;
2701
- }
2702
-
2703
- if (Math.abs(clientRect.height - height) <= 1) {
2704
- height = clientRect.height;
2705
- }
2706
-
2707
- return {
2708
- x: element.offsetLeft,
2709
- y: element.offsetTop,
2710
- width: width,
2711
- height: height
2712
- };
2713
- }
2714
-
2715
2725
  function contains$1(parent, child) {
2716
2726
  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
2717
2727
 
@@ -3938,24 +3948,16 @@ function getNodeScroll(node) {
3938
3948
  }
3939
3949
  }
3940
3950
 
3941
- function isElementScaled(element) {
3942
- var rect = element.getBoundingClientRect();
3943
- var scaleX = rect.width / element.offsetWidth || 1;
3944
- var scaleY = rect.height / element.offsetHeight || 1;
3945
- return scaleX !== 1 || scaleY !== 1;
3946
- } // Returns the composite rect of an element relative to its offsetParent.
3947
3951
  // Composite means it takes into account transforms as well as layout.
3948
3952
 
3949
-
3950
3953
  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3951
3954
  if (isFixed === void 0) {
3952
3955
  isFixed = false;
3953
3956
  }
3954
3957
 
3955
- var isOffsetParentAnElement = isHTMLElement(offsetParent);
3956
- var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
3957
3958
  var documentElement = getDocumentElement(offsetParent);
3958
- var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
3959
+ var rect = getBoundingClientRect(elementOrVirtualElement);
3960
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
3959
3961
  var scroll = {
3960
3962
  scrollLeft: 0,
3961
3963
  scrollTop: 0
@@ -3972,7 +3974,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3972
3974
  }
3973
3975
 
3974
3976
  if (isHTMLElement(offsetParent)) {
3975
- offsets = getBoundingClientRect(offsetParent, true);
3977
+ offsets = getBoundingClientRect(offsetParent);
3976
3978
  offsets.x += offsetParent.clientLeft;
3977
3979
  offsets.y += offsetParent.clientTop;
3978
3980
  } else if (documentElement) {
@@ -4580,16 +4582,9 @@ function usePopper(referenceElement, popperElement, _temp) {
4580
4582
  }
4581
4583
 
4582
4584
  /* eslint-disable no-bitwise, no-cond-assign */
4583
-
4584
- /**
4585
- * Checks if an element contains another given element.
4586
- *
4587
- * @param context the context element
4588
- * @param node the element to check
4589
- */
4585
+ // HTML DOM and SVG DOM may have different support levels,
4586
+ // so we need to check on context instead of a document root element.
4590
4587
  function contains(context, node) {
4591
- // HTML DOM and SVG DOM may have different support levels,
4592
- // so we need to check on context instead of a document root element.
4593
4588
  if (context.contains) return context.contains(node);
4594
4589
  if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);
4595
4590
  }
@@ -5406,12 +5401,6 @@ function useWrappedRefWithWarning(ref, componentName) {
5406
5401
  return useMergedRefs(warningRef, ref);
5407
5402
  }
5408
5403
 
5409
- /**
5410
- * Checks if a given element has a CSS class.
5411
- *
5412
- * @param element the element
5413
- * @param className the CSS class name
5414
- */
5415
5404
  function hasClass(element, className) {
5416
5405
  if (element.classList) return !!className && element.classList.contains(className);
5417
5406
  return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
@@ -6851,9 +6840,9 @@ function scrollbarSize(recalc) {
6851
6840
  }
6852
6841
 
6853
6842
  /**
6854
- * Returns the actively focused element safely.
6843
+ * Return the actively focused element safely.
6855
6844
  *
6856
- * @param doc the document to check
6845
+ * @param doc the document to checl
6857
6846
  */
6858
6847
 
6859
6848
  function activeElement(doc) {
@@ -6875,13 +6864,6 @@ function activeElement(doc) {
6875
6864
  }
6876
6865
  }
6877
6866
 
6878
- /**
6879
- * Adds a CSS class to a given element.
6880
- *
6881
- * @param element the element
6882
- * @param className the CSS class name
6883
- */
6884
-
6885
6867
  function addClass(element, className) {
6886
6868
  if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
6887
6869
  }
@@ -6889,13 +6871,6 @@ function addClass(element, className) {
6889
6871
  function replaceClassName(origClass, classToRemove) {
6890
6872
  return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
6891
6873
  }
6892
- /**
6893
- * Removes a CSS class from a given element.
6894
- *
6895
- * @param element the element
6896
- * @param className the CSS class name
6897
- */
6898
-
6899
6874
 
6900
6875
  function removeClass(element, className) {
6901
6876
  if (element.classList) {
@@ -9449,7 +9424,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
9449
9424
  Tooltip.defaultProps = defaultProps;
9450
9425
  Tooltip.displayName = 'Tooltip';
9451
9426
 
9452
- var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
9427
+ var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
9453
9428
  var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
9454
9429
  styleInject(css);
9455
9430