@mjhls/mjh-framework 1.0.915-filename-fix-v1 → 1.0.915-nav-fix-v1

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 (166) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +11 -5
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -2
  4. package/dist/cjs/Auth.js +20 -17
  5. package/dist/cjs/AuthWrapper.js +19 -13
  6. package/dist/cjs/CMEDeck.js +5 -1
  7. package/dist/cjs/Column1.js +1 -1
  8. package/dist/cjs/Column2.js +1 -1
  9. package/dist/cjs/Column3.js +1 -1
  10. package/dist/cjs/ConferenceArticleCard.js +15 -15
  11. package/dist/cjs/DeckContent.js +8 -8
  12. package/dist/cjs/Dfp-9be904d5.js +1 -1
  13. package/dist/cjs/EventsDeck.js +17 -17
  14. package/dist/cjs/ExternalResources.js +1 -2
  15. package/dist/cjs/HamMagazine.js +10 -10
  16. package/dist/cjs/Header.js +1 -1
  17. package/dist/cjs/HorizontalArticleListing.js +1 -2
  18. package/dist/cjs/IssueLanding.js +30 -31
  19. package/dist/cjs/KMTracker.js +15 -15
  20. package/dist/cjs/LeftNav.js +1 -1
  21. package/dist/cjs/MasterDeck.js +8 -8
  22. package/dist/cjs/MasterDeckPaginated.js +8 -8
  23. package/dist/cjs/{MediaSeriesCard-8b203571.js → MediaSeriesCard-8c3c5514.js} +66 -44
  24. package/dist/cjs/MediaSeriesLanding.js +7 -8
  25. package/dist/cjs/MediaSeriesLandingPaginated.js +7 -8
  26. package/dist/cjs/NavDvm.js +1 -1
  27. package/dist/cjs/NavMagazine.js +12 -12
  28. package/dist/cjs/NavNative.js +10 -10
  29. package/dist/cjs/PartnerDetailListing.js +1 -2
  30. package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
  31. package/dist/cjs/PublicationLanding.js +28 -29
  32. package/dist/cjs/RelatedContent.js +28 -28
  33. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  34. package/dist/cjs/SeriesListingDeck.js +1 -1
  35. package/dist/cjs/{SeriesSlider-de93a303.js → SeriesSlider-ba0c5d1a.js} +4 -4
  36. package/dist/cjs/SideFooter.js +2 -2
  37. package/dist/cjs/TaxonomyDescription.js +1 -2
  38. package/dist/cjs/VideoProgramLandingPage.js +1 -2
  39. package/dist/cjs/VideoSeriesCard.js +1 -1
  40. package/dist/cjs/View.js +6 -7
  41. package/dist/cjs/YoutubeGroup.js +4 -4
  42. package/dist/cjs/getQuery.js +2 -2
  43. package/dist/cjs/getSerializers.js +1 -2
  44. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  45. package/dist/cjs/getTargeting.js +1 -1
  46. package/dist/cjs/{index-f9f5f7c0.js → index-5ce5e821.js} +25 -5
  47. package/dist/cjs/index.js +3 -4
  48. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  49. package/dist/esm/AD.js +1 -1
  50. package/dist/esm/AD300x250.js +1 -1
  51. package/dist/esm/AD300x250x600.js +1 -1
  52. package/dist/esm/AD728x90.js +1 -1
  53. package/dist/esm/ADFloatingFooter.js +1 -1
  54. package/dist/esm/ADFooter.js +1 -1
  55. package/dist/esm/ADGutter.js +1 -1
  56. package/dist/esm/ADSkyscraper.js +1 -1
  57. package/dist/esm/ADSponsoredResources.js +1 -1
  58. package/dist/esm/ADWebcast.js +1 -1
  59. package/dist/esm/ADWelcome.js +1 -1
  60. package/dist/esm/AccordionPanel.js +1 -1
  61. package/dist/esm/AdSlot.js +1 -1
  62. package/dist/esm/AdSlotsProvider.js +1 -1
  63. package/dist/esm/AlgoliaSearch.js +12 -6
  64. package/dist/esm/AlphabeticList.js +1 -1
  65. package/dist/esm/ArticleCarousel.js +1 -1
  66. package/dist/esm/ArticleProgramLandingPage.js +2 -3
  67. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  68. package/dist/esm/ArticleSeriesListing.js +1 -1
  69. package/dist/esm/Auth.js +20 -18
  70. package/dist/esm/AuthWrapper.js +20 -14
  71. package/dist/esm/Beam.js +1 -1
  72. package/dist/esm/Breadcrumbs.js +1 -1
  73. package/dist/esm/CMEDeck.js +6 -2
  74. package/dist/esm/Column1.js +1 -2
  75. package/dist/esm/Column2.js +1 -2
  76. package/dist/esm/Column3.js +1 -2
  77. package/dist/esm/ConferenceArticleCard.js +16 -16
  78. package/dist/esm/ContentCardPaginated.js +1 -1
  79. package/dist/esm/DeckContent.js +9 -9
  80. package/dist/esm/DeckQueue.js +1 -1
  81. package/dist/esm/DeckQueuePaginated.js +1 -1
  82. package/dist/esm/Dfp-102f0beb.js +1 -1
  83. package/dist/esm/EventsDeck.js +18 -18
  84. package/dist/esm/ExternalResources.js +2 -3
  85. package/dist/esm/Feature.js +1 -1
  86. package/dist/esm/ForbesHero.js +1 -1
  87. package/dist/esm/GridContent.js +1 -1
  88. package/dist/esm/GridContentPaginated.js +1 -1
  89. package/dist/esm/GridHero.js +1 -1
  90. package/dist/esm/GroupDeck.js +1 -1
  91. package/dist/esm/HamMagazine.js +10 -11
  92. package/dist/esm/Header.js +1 -2
  93. package/dist/esm/Hero.js +1 -1
  94. package/dist/esm/HighlightenVideo.js +1 -1
  95. package/dist/esm/HorizontalArticleListing.js +2 -3
  96. package/dist/esm/HorizontalHero.js +1 -1
  97. package/dist/esm/IssueContentDeck.js +1 -1
  98. package/dist/esm/IssueDeck.js +1 -1
  99. package/dist/esm/IssueLanding.js +31 -32
  100. package/dist/esm/KMTracker.js +16 -16
  101. package/dist/esm/LeftNav.js +1 -2
  102. package/dist/esm/MasterDeck.js +9 -9
  103. package/dist/esm/MasterDeckPaginated.js +9 -9
  104. package/dist/esm/{MediaSeriesCard-e1249ccb.js → MediaSeriesCard-30892d60.js} +66 -44
  105. package/dist/esm/MediaSeriesLanding.js +8 -9
  106. package/dist/esm/MediaSeriesLandingPaginated.js +8 -9
  107. package/dist/esm/NavDvm.js +1 -2
  108. package/dist/esm/NavMagazine.js +12 -13
  109. package/dist/esm/NavNative.js +10 -11
  110. package/dist/esm/OncliveHero.js +1 -1
  111. package/dist/esm/OncliveLargeHero.js +1 -1
  112. package/dist/esm/PageFilter.js +1 -1
  113. package/dist/esm/PartnerDetailListing.js +2 -3
  114. package/dist/esm/PartnerDetailListingPaginated.js +2 -3
  115. package/dist/esm/PdfDownload.js +1 -1
  116. package/dist/esm/PopUpModal.js +1 -1
  117. package/dist/esm/PubSection.js +1 -1
  118. package/dist/esm/PubToc.js +1 -1
  119. package/dist/esm/PublicationDeck.js +1 -1
  120. package/dist/esm/PublicationLanding.js +29 -30
  121. package/dist/esm/QueueDeckExpanded.js +1 -1
  122. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
  123. package/dist/esm/RecentNews.js +1 -1
  124. package/dist/esm/RelatedContent.js +29 -29
  125. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  126. package/dist/esm/RolesDeck.js +1 -1
  127. package/dist/esm/Schema.js +1 -1
  128. package/dist/esm/Search.js +1 -1
  129. package/dist/esm/Segment.js +1 -1
  130. package/dist/esm/SeriesListingDeck.js +2 -2
  131. package/dist/esm/{SeriesSlider-98ad6d97.js → SeriesSlider-45adb8dc.js} +4 -4
  132. package/dist/esm/SetCookie.js +1 -1
  133. package/dist/esm/SideFooter.js +3 -3
  134. package/dist/esm/SocialIcons.js +1 -1
  135. package/dist/esm/SocialShare.js +1 -1
  136. package/dist/esm/TaxonomyCard.js +1 -1
  137. package/dist/esm/TaxonomyDescription.js +2 -3
  138. package/dist/esm/TemplateNormal.js +1 -1
  139. package/dist/esm/ThumbnailCard.js +1 -1
  140. package/dist/esm/Ustream.js +1 -1
  141. package/dist/esm/VerticalHero.js +1 -1
  142. package/dist/esm/VideoProgramLandingPage.js +2 -3
  143. package/dist/esm/VideoSeriesCard.js +2 -2
  144. package/dist/esm/VideoSeriesFilter.js +1 -1
  145. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  146. package/dist/esm/VideoSeriesListing.js +1 -1
  147. package/dist/esm/View.js +7 -8
  148. package/dist/esm/YahooHero.js +1 -1
  149. package/dist/esm/YoutubeGroup.js +5 -5
  150. package/dist/esm/getKeywords.js +1 -1
  151. package/dist/esm/getQuery.js +3 -3
  152. package/dist/esm/getRelatedArticle.js +1 -1
  153. package/dist/esm/getRootDocGroup.js +1 -1
  154. package/dist/esm/getSerializers.js +1 -2
  155. package/dist/esm/getSeriesDetail.js +1 -1
  156. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  157. package/dist/esm/getTargeting.js +1 -1
  158. package/dist/esm/{index-4d8a8743.js → index-490f4f21.js} +21 -1
  159. package/dist/esm/index.js +3 -4
  160. package/dist/esm/stringify-2b084bee.js +1 -1
  161. package/dist/esm/timeDifferenceCalc.js +1 -1
  162. package/dist/esm/urlFor.js +1 -1
  163. package/dist/esm/ustream-api-d3714624.js +1 -1
  164. package/package.json +114 -114
  165. package/dist/cjs/urlForFile-29d3815a.js +0 -24
  166. package/dist/esm/urlForFile-b69adffc.js +0 -22
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-e1249ccb.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-30892d60.js';
7
7
  import './index-98ca9cec.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
11
  import MasterDeck from './MasterDeckPaginated.js';
12
- import { g as getSerializers } from './index-4d8a8743.js';
12
+ import { g as getSerializers } from './index-490f4f21.js';
13
13
  import './_commonjsHelpers-0c4b6f40.js';
14
14
  import './core.get-iterator-method-ea258bb1.js';
15
15
  import './web.dom.iterable-ab4dea5c.js';
@@ -51,7 +51,6 @@ import './iconBase-ccc56b97.js';
51
51
  import 'react-bootstrap';
52
52
  import './index-c7e2ac95.js';
53
53
  import './util-8ed16d48.js';
54
- import './urlForFile-b69adffc.js';
55
54
  import './brightcove-react-player-loader.es-57a70a56.js';
56
55
  import './GroupDeck.js';
57
56
  import './smoothscroll-fa4e3f8c.js';
@@ -91,11 +90,11 @@ var Filter = function Filter(_ref) {
91
90
  _useState6 = _slicedToArray(_useState5, 2),
92
91
  grandChildData = _useState6[0],
93
92
  setGrandChildData = _useState6[1];
94
- /*
95
- {parent: showAll,
96
- chidlren: show selected from parent,
97
- grandchildren: show selected from children
98
- }
93
+ /*
94
+ {parent: showAll,
95
+ chidlren: show selected from parent,
96
+ grandchildren: show selected from children
97
+ }
99
98
  */
100
99
 
101
100
 
@@ -515,4 +514,4 @@ MediaSeriesLanding.getInitialData = function () {
515
514
  };
516
515
  }();
517
516
 
518
- export default MediaSeriesLanding;
517
+ export { MediaSeriesLanding as default };
@@ -229,5 +229,4 @@ var NavDvm = function NavDvm(props) {
229
229
  );
230
230
  };
231
231
 
232
- export default NavDvm;
233
- export { NavDvm };
232
+ export { NavDvm, NavDvm as default };
@@ -26,16 +26,16 @@ import 'react-bootstrap/FormControl';
26
26
  import 'react-bootstrap/Button';
27
27
 
28
28
  var NavMagazine = function NavMagazine(props) {
29
- /*
30
- Example Nav with acceptable props
31
- <MagazineNav
32
- showLogin
33
- user={props.cache.user}
34
- logo={props.settings.logo}
35
- dataObject={props.cache.mainNavCache}
36
- website={website}
37
- subNav={props.cache.subNavCache}
38
- />
29
+ /*
30
+ Example Nav with acceptable props
31
+ <MagazineNav
32
+ showLogin
33
+ user={props.cache.user}
34
+ logo={props.settings.logo}
35
+ dataObject={props.cache.mainNavCache}
36
+ website={website}
37
+ subNav={props.cache.subNavCache}
38
+ />
39
39
  */
40
40
 
41
41
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -340,7 +340,7 @@ var NavMagazine = function NavMagazine(props) {
340
340
  if (searchBar && searchBar.classList) {
341
341
  searchBar.classList.remove('show');
342
342
  }
343
- if (searchBtn && searchBtn[0].classList) {
343
+ if (searchBtn && searchBtn[0] && searchBtn[0].classList) {
344
344
  searchBtn[0].classList.remove('active-search');
345
345
  }
346
346
  }
@@ -579,5 +579,4 @@ var NavMagazine = function NavMagazine(props) {
579
579
 
580
580
  var MagazineNav = React__default.memo(NavMagazine);
581
581
 
582
- export default MagazineNav;
583
- export { NavMagazine };
582
+ export { NavMagazine, MagazineNav as default };
@@ -300,15 +300,15 @@ function chunk(array, size, guard) {
300
300
  var chunk_1 = chunk;
301
301
 
302
302
  var NavNative = function NavNative(props) {
303
- /*
304
- Example Nav with acceptable props
305
- <MagazineNav
306
- showLogin
307
- logo={props.settings.logo}
308
- dataObject={props.cache.mainNavCache}
309
- website={website}
310
- subNav={props.cache.subNavCache}
311
- />
303
+ /*
304
+ Example Nav with acceptable props
305
+ <MagazineNav
306
+ showLogin
307
+ logo={props.settings.logo}
308
+ dataObject={props.cache.mainNavCache}
309
+ website={website}
310
+ subNav={props.cache.subNavCache}
311
+ />
312
312
  */
313
313
  // Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
314
314
  var logo = props.logo,
@@ -842,5 +842,4 @@ var NavNative = function NavNative(props) {
842
842
  );
843
843
  };
844
844
 
845
- export default NavNative;
846
- export { NavNative };
845
+ export { NavNative, NavNative as default };
@@ -70,4 +70,4 @@ var OncliveHero = function OncliveHero(props) {
70
70
  );
71
71
  };
72
72
 
73
- export default OncliveHero;
73
+ export { OncliveHero as default };
@@ -232,4 +232,4 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
232
232
  );
233
233
  };
234
234
 
235
- export default OncliveLargeHero;
235
+ export { OncliveLargeHero as default };
@@ -63,4 +63,4 @@ var PageFilter = function PageFilter(props) {
63
63
  return null;
64
64
  };
65
65
 
66
- export default PageFilter;
66
+ export { PageFilter as default };
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
11
11
  import Breadcrumbs from './Breadcrumbs.js';
12
12
  import Feature from './Feature.js';
13
13
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-4d8a8743.js';
14
+ import { g as getSerializers } from './index-490f4f21.js';
15
15
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
@@ -51,7 +51,6 @@ import 'react-bootstrap/Breadcrumb';
51
51
  import 'react-bootstrap/Carousel';
52
52
  import './index-c7e2ac95.js';
53
53
  import './util-8ed16d48.js';
54
- import './urlForFile-b69adffc.js';
55
54
  import './typeof-e9fc0c5d.js';
56
55
  import './_is-array-8d21b9e3.js';
57
56
  import './brightcove-react-player-loader.es-57a70a56.js';
@@ -293,4 +292,4 @@ PartnerDetails.returnGetInitialProps = function () {
293
292
  };
294
293
  }();
295
294
 
296
- export default PartnerDetails;
295
+ export { PartnerDetails as default };
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
11
11
  import Breadcrumbs from './Breadcrumbs.js';
12
12
  import Feature from './Feature.js';
13
13
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-4d8a8743.js';
14
+ import { g as getSerializers } from './index-490f4f21.js';
15
15
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
@@ -53,7 +53,6 @@ import 'react-bootstrap/Breadcrumb';
53
53
  import 'react-bootstrap/Carousel';
54
54
  import './index-c7e2ac95.js';
55
55
  import './util-8ed16d48.js';
56
- import './urlForFile-b69adffc.js';
57
56
  import './typeof-e9fc0c5d.js';
58
57
  import './_is-array-8d21b9e3.js';
59
58
  import './brightcove-react-player-loader.es-57a70a56.js';
@@ -307,4 +306,4 @@ PartnerDetails.returnGetInitialProps = function () {
307
306
  };
308
307
  }();
309
308
 
310
- export default PartnerDetails;
309
+ export { PartnerDetails as default };
@@ -19,4 +19,4 @@ var PdfDownload = function PdfDownload(props) {
19
19
  );
20
20
  };
21
21
 
22
- export default PdfDownload;
22
+ export { PdfDownload as default };
@@ -48,4 +48,4 @@ var PopUpModal = function PopUpModal(props) {
48
48
  );
49
49
  };
50
50
 
51
- export default PopUpModal;
51
+ export { PopUpModal as default };
@@ -112,4 +112,4 @@ PubSection.getInitialProps = function () {
112
112
  };
113
113
  }();
114
114
 
115
- export default PubSection;
115
+ export { PubSection as default };
@@ -78,4 +78,4 @@ PubToc.getInitialProps = function () {
78
78
  };
79
79
  }();
80
80
 
81
- export default PubToc;
81
+ export { PubToc as default };
@@ -170,4 +170,4 @@ var PublicationDeck = function PublicationDeck(props) {
170
170
  }
171
171
  };
172
172
 
173
- export default PublicationDeck;
173
+ export { PublicationDeck as default };
@@ -13,7 +13,6 @@ import Dropdown from 'react-bootstrap/Dropdown';
13
13
  import Card from 'react-bootstrap/Card';
14
14
  import { useRouter } from 'next/router';
15
15
  import { L as LazyLoad } from './index-755f2cc2.js';
16
- import { u as urlForFile } from './urlForFile-b69adffc.js';
17
16
  import './_library-528f1934.js';
18
17
  import './_iter-detect-98db3b07.js';
19
18
  import './_object-pie-133f504a.js';
@@ -376,32 +375,32 @@ module.exports = { "default": set$1, __esModule: true };
376
375
 
377
376
  var _Set = unwrapExports(set);
378
377
 
379
- /* usage & query
380
- const Publication = (props) => {
381
- const { cache, pub, year } = props
382
- const targeting = {
383
- content_placement: [`/journals/${pub.identifier.current}`],
384
- document_url: [`/journals/${pub.identifier.current}`],
385
- }
386
- return (
387
- <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
388
- <PublicationLanding publication={pub} year={year} href={'journals'} />
389
- </Shell>
390
- )
391
- }
392
- Publication.getInitialProps = async (ctx) => {
393
- const { query } = ctx
394
- const {
395
- query: { year },
396
- } = ctx
397
- const pub = await client.fetch(getQuery('publication'), query)
398
- **import urlFor from framework**
399
- pub.issues.map((issue) => {
400
- issue.thumbnail = urlFor({client, source: issue.thumbnail})
401
- })
402
- return { pub, year }
403
- }
404
- export default Publication
378
+ /* usage & query
379
+ const Publication = (props) => {
380
+ const { cache, pub, year } = props
381
+ const targeting = {
382
+ content_placement: [`/journals/${pub.identifier.current}`],
383
+ document_url: [`/journals/${pub.identifier.current}`],
384
+ }
385
+ return (
386
+ <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
387
+ <PublicationLanding publication={pub} year={year} href={'journals'} />
388
+ </Shell>
389
+ )
390
+ }
391
+ Publication.getInitialProps = async (ctx) => {
392
+ const { query } = ctx
393
+ const {
394
+ query: { year },
395
+ } = ctx
396
+ const pub = await client.fetch(getQuery('publication'), query)
397
+ **import urlFor from framework**
398
+ pub.issues.map((issue) => {
399
+ issue.thumbnail = urlFor({client, source: issue.thumbnail})
400
+ })
401
+ return { pub, year }
402
+ }
403
+ export default Publication
405
404
  */
406
405
 
407
406
  var generateContentPlacements = function generateContentPlacements(issues) {
@@ -761,7 +760,7 @@ _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
761
760
  ) : null,
762
761
  issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React__default.createElement(
763
762
  'a',
764
- { rel: 'noopener', href: urlForFile(issue.pdf), target: '_blank', className: 'btn btn-primary' },
763
+ { rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
765
764
  'Download Issue'
766
765
  )
767
766
  )
@@ -824,7 +823,7 @@ _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
824
823
  ) : null,
825
824
  issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React__default.createElement(
826
825
  'a',
827
- { rel: 'noopener', href: urlForFile(issue.pdf), target: '_blank', className: 'btn btn-primary' },
826
+ { rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
828
827
  'Download Issue'
829
828
  )
830
829
  )
@@ -844,4 +843,4 @@ _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
844
843
  );
845
844
  };
846
845
 
847
- export default PublicationLanding;
846
+ export { PublicationLanding as default };
@@ -1532,4 +1532,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1532
1532
  );
1533
1533
  };
1534
1534
 
1535
- export default QueueDeckExpanded;
1535
+ export { QueueDeckExpanded as default };
@@ -1377,4 +1377,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1377
1377
  );
1378
1378
  };
1379
1379
 
1380
- export default QueueDeckExpanded;
1380
+ export { QueueDeckExpanded as default };
@@ -82,4 +82,4 @@ var RecentNews = function RecentNews(_ref) {
82
82
  );
83
83
  };
84
84
 
85
- export default RecentNews;
85
+ export { RecentNews as default };
@@ -11,34 +11,34 @@ import './index-3f5c03b2.js';
11
11
  import 'react-dom';
12
12
  import 'prop-types';
13
13
 
14
- /*
15
- Sample query
16
- let references = ''
17
- if(article.taxonomyMapping.length > 0){
18
- article.taxonomyMapping.forEach((ref, index) => {
19
- references = references + `references('${ref._ref}') `
20
- if(index+1 !== article.taxonomyMapping.length){
21
- references = references + ` && `
22
- }
23
- })
24
- }
25
-
26
- const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
27
- ...,
28
- title,
29
- summary,
30
- thumbnail,
31
- url,
32
- published,
33
- authorMapping[]->,
34
- contentCategory->
35
- }`
36
- const relatedArticles = await client.fetch(relatedArticlesQuery)
37
-
38
- Sample usage
39
- <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
40
-
41
-
14
+ /*
15
+ Sample query
16
+ let references = ''
17
+ if(article.taxonomyMapping.length > 0){
18
+ article.taxonomyMapping.forEach((ref, index) => {
19
+ references = references + `references('${ref._ref}') `
20
+ if(index+1 !== article.taxonomyMapping.length){
21
+ references = references + ` && `
22
+ }
23
+ })
24
+ }
25
+
26
+ const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
27
+ ...,
28
+ title,
29
+ summary,
30
+ thumbnail,
31
+ url,
32
+ published,
33
+ authorMapping[]->,
34
+ contentCategory->
35
+ }`
36
+ const relatedArticles = await client.fetch(relatedArticlesQuery)
37
+
38
+ Sample usage
39
+ <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
40
+
41
+
42
42
  */
43
43
  var RelatedContent = function RelatedContent(props) {
44
44
  var client = props.client,
@@ -105,4 +105,4 @@ var RelatedContent = function RelatedContent(props) {
105
105
  );
106
106
  };
107
107
 
108
- export default RelatedContent;
108
+ export { RelatedContent as default };
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
14
14
  _ref$className = _ref.className,
15
15
  className = _ref$className === undefined ? '' : _ref$className;
16
16
 
17
- /*
18
- Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
19
- example:
20
- <RelatedTopicDropdown
21
- page='/clinical'
22
- exclude="clinical"
23
- className='mb-3'
24
- parentTaxonomy={props.parentTaxonomy}
25
- subTaxonomies={props.subTaxonomies}
26
- />
17
+ /*
18
+ Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
19
+ example:
20
+ <RelatedTopicDropdown
21
+ page='/clinical'
22
+ exclude="clinical"
23
+ className='mb-3'
24
+ parentTaxonomy={props.parentTaxonomy}
25
+ subTaxonomies={props.subTaxonomies}
26
+ />
27
27
  */
28
28
  if (subTaxonomies.length === 0 && parentTaxonomy) {
29
29
  if (parentTaxonomy.identifier == exclude) {
@@ -79,4 +79,4 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
79
79
  }
80
80
  };
81
81
 
82
- export default RelatedTopicsDropdown;
82
+ export { RelatedTopicsDropdown as default };
@@ -81,4 +81,4 @@ var RolesDeck = function RolesDeck(props) {
81
81
  );
82
82
  };
83
83
 
84
- export default RolesDeck;
84
+ export { RolesDeck as default };
@@ -92,4 +92,4 @@ var Schema = function Schema(props) {
92
92
  return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
93
93
  };
94
94
 
95
- export default Schema;
95
+ export { Schema as default };
@@ -54,4 +54,4 @@ var Search = function Search(props) {
54
54
  );
55
55
  };
56
56
 
57
- export default Search;
57
+ export { Search as default };
@@ -350,4 +350,4 @@ var Segment = {
350
350
  }
351
351
  };
352
352
 
353
- export default Segment;
353
+ export { Segment as default };
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect, useRef } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
- import { S as SeriesSlider } from './SeriesSlider-98ad6d97.js';
8
+ import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
9
9
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -240,4 +240,4 @@ var SeriesListingDeck = function SeriesListingDeck(props) {
240
240
  );
241
241
  };
242
242
 
243
- export default SeriesListingDeck;
243
+ export { SeriesListingDeck as default };
@@ -6,10 +6,10 @@ import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
7
  import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
8
8
 
9
- /*
10
- GROQ query -
11
- accepts an array of title, URL
12
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
9
+ /*
10
+ GROQ query -
11
+ accepts an array of title, URL
12
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
13
13
  */
14
14
 
15
15
  var SeriesSlider = function SeriesSlider(_ref) {
@@ -5,4 +5,4 @@ var SetCookie = function SetCookie(key, value) {
5
5
  js_cookie.set(key, value, { expires: 1, sameSite: 'none', secure: true });
6
6
  };
7
7
 
8
- export default SetCookie;
8
+ export { SetCookie as default };
@@ -32,8 +32,8 @@ var renderLink = function renderLink(row) {
32
32
  };
33
33
 
34
34
  var SideFooter = function SideFooter(props) {
35
- /*
36
- useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
35
+ /*
36
+ useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
37
37
  */
38
38
  var _get = get_1(props, 'cache.siteSettingCache', {}),
39
39
  socialLinks = _get.socialLinks,
@@ -142,4 +142,4 @@ var SideFooter = function SideFooter(props) {
142
142
  );
143
143
  };
144
144
 
145
- export default SideFooter;
145
+ export { SideFooter as default };
@@ -94,4 +94,4 @@ var SocialIcons = function SocialIcons(props) {
94
94
  }
95
95
  };
96
96
 
97
- export default SocialIcons;
97
+ export { SocialIcons as default };
@@ -64,4 +64,4 @@ var SocialShare = function SocialShare(props) {
64
64
 
65
65
  var SocialShare$1 = React__default.memo(SocialShare);
66
66
 
67
- export default SocialShare$1;
67
+ export { SocialShare$1 as default };
@@ -240,4 +240,4 @@ var TaxonomyCard = function TaxonomyCard(props) {
240
240
  );
241
241
  };
242
242
 
243
- export default TaxonomyCard;
243
+ export { TaxonomyCard as default };
@@ -4,7 +4,7 @@ import React__default from 'react';
4
4
  import { useRouter } from 'next/router';
5
5
  import Head from 'next/head';
6
6
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
7
- import { g as getSerializers } from './index-4d8a8743.js';
7
+ import { g as getSerializers } from './index-490f4f21.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './core.get-iterator-method-ea258bb1.js';
10
10
  import './web.dom.iterable-ab4dea5c.js';
@@ -24,7 +24,6 @@ import './Beam.js';
24
24
  import './stringify-2b084bee.js';
25
25
  import './Segment.js';
26
26
  import './main-1894c974.js';
27
- import './urlForFile-b69adffc.js';
28
27
  import './index-755f2cc2.js';
29
28
  import 'react-dom';
30
29
  import './typeof-e9fc0c5d.js';
@@ -177,4 +176,4 @@ TaxonomyDescription.getDescription = function () {
177
176
  };
178
177
  }();
179
178
 
180
- export default TaxonomyDescription;
179
+ export { TaxonomyDescription as default };
@@ -195,4 +195,4 @@ var TemplateNormal = function TemplateNormal(props) {
195
195
  );
196
196
  };
197
197
 
198
- export default TemplateNormal;
198
+ export { TemplateNormal as default };
@@ -49,4 +49,4 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
49
49
  );
50
50
  };
51
51
 
52
- export default ThumbnailCard;
52
+ export { ThumbnailCard as default };
@@ -147,4 +147,4 @@ var Ustream = function Ustream(_ref) {
147
147
 
148
148
  var Ustream$1 = React__default.memo(Ustream);
149
149
 
150
- export default Ustream$1;
150
+ export { Ustream$1 as default };
@@ -65,4 +65,4 @@ var VerticalHero = function VerticalHero(props) {
65
65
  );
66
66
  };
67
67
 
68
- export default VerticalHero;
68
+ export { VerticalHero as default };
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-4d8a8743.js';
8
+ import { g as getSerializers } from './index-490f4f21.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -27,7 +27,6 @@ import './Beam.js';
27
27
  import './stringify-2b084bee.js';
28
28
  import './Segment.js';
29
29
  import './main-1894c974.js';
30
- import './urlForFile-b69adffc.js';
31
30
  import './index-755f2cc2.js';
32
31
  import 'react-dom';
33
32
  import './typeof-e9fc0c5d.js';
@@ -247,4 +246,4 @@ VideoProgramLandingPage.getInitialData = function () {
247
246
  };
248
247
  }();
249
248
 
250
- export default VideoProgramLandingPage;
249
+ export { VideoProgramLandingPage as default };