@mjhls/mjh-framework 1.0.860 → 1.0.861-dl-iframe-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 (144) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +3 -2
  4. package/dist/cjs/AD300x250x600.js +3 -2
  5. package/dist/cjs/AD728x90.js +3 -2
  6. package/dist/cjs/ADFloatingFooter.js +3 -2
  7. package/dist/cjs/ADGutter.js +3 -2
  8. package/dist/cjs/ADSkyscraper.js +3 -2
  9. package/dist/cjs/ADSponsoredResources.js +3 -2
  10. package/dist/cjs/ADWebcast.js +3 -2
  11. package/dist/cjs/ADWelcome.js +3 -2
  12. package/dist/cjs/AdSlot.js +3 -2
  13. package/dist/cjs/AdSlotsProvider.js +2 -1
  14. package/dist/cjs/AlgoliaSearch.js +14090 -17
  15. package/dist/cjs/AlphabeticList.js +1 -1
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +5 -5
  18. package/dist/cjs/ArticleSeriesLandingPage.js +6 -5
  19. package/dist/cjs/ArticleSeriesListing.js +4 -3
  20. package/dist/cjs/Auth.js +1 -1
  21. package/dist/cjs/AuthWrapper.js +622 -6
  22. package/dist/cjs/CMEDeck.js +2 -1
  23. package/dist/cjs/Column3.js +3 -2
  24. package/dist/cjs/ConferenceArticleCard.js +15 -15
  25. package/dist/cjs/DeckContent.js +13 -12
  26. package/dist/cjs/DeckQueue.js +4 -3
  27. package/dist/cjs/{Dfp-0bf098b5.js → Dfp-391fd124.js} +2 -1
  28. package/dist/cjs/EventsDeck.js +19 -19
  29. package/dist/cjs/ExternalResources.js +6 -6
  30. package/dist/cjs/GridContent.js +6 -5
  31. package/dist/cjs/HamMagazine.js +9 -9
  32. package/dist/cjs/HorizontalArticleListing.js +5 -5
  33. package/dist/cjs/IssueDeck.js +1 -1
  34. package/dist/cjs/IssueLanding.js +36 -36
  35. package/dist/cjs/KMTracker.js +15 -15
  36. package/dist/cjs/LeftNav.js +3 -2
  37. package/dist/cjs/MasterDeck.js +14 -13
  38. package/dist/cjs/MediaSeriesLanding.js +462 -407
  39. package/dist/cjs/NavMagazine.js +10 -10
  40. package/dist/cjs/NavNative.js +9 -9
  41. package/dist/cjs/PartnerDetailListing.js +11 -1208
  42. package/dist/cjs/PubSection.js +5 -4
  43. package/dist/cjs/PublicationLanding.js +27 -27
  44. package/dist/cjs/QueueDeckExpanded.js +5 -4
  45. package/dist/cjs/RelatedContent.js +28 -28
  46. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  47. package/dist/cjs/SeriesListingDeck.js +4 -3
  48. package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-0d3bf265.js} +4 -4
  49. package/dist/cjs/SideFooter.js +2 -2
  50. package/dist/cjs/TaxonomyCard.js +1 -1
  51. package/dist/cjs/TaxonomyDescription.js +5 -5
  52. package/dist/cjs/TemplateNormal.js +3 -2
  53. package/dist/cjs/VideoProgramLandingPage.js +5 -5
  54. package/dist/cjs/VideoSeriesCard.js +1 -1
  55. package/dist/cjs/VideoSeriesLandingPage.js +6 -5
  56. package/dist/cjs/VideoSeriesListing.js +4 -3
  57. package/dist/cjs/View.js +8 -8
  58. package/dist/cjs/YoutubeGroup.js +4 -4
  59. package/dist/cjs/events-1b438fe7.js +469 -0
  60. package/dist/cjs/{extends-60837c34.js → extends-0a918631.js} +1 -0
  61. package/dist/cjs/getRelatedArticle.js +1 -1
  62. package/dist/cjs/getSerializers.js +5 -5
  63. package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-a9a871f0.js} +10 -10
  64. package/dist/cjs/getTargeting.js +2 -2
  65. package/dist/cjs/{index-44481153.js → index-2cf30c83.js} +39 -485
  66. package/dist/cjs/{index-99edf08a.js → index-6367b7bf.js} +15 -16
  67. package/dist/cjs/index-e2e62963.js +89 -0
  68. package/dist/cjs/{index-9ac40041.js → index-f83a102a.js} +265 -10
  69. package/dist/cjs/index.js +12 -11
  70. package/dist/cjs/{inherits-87492b40.js → inherits-0c7830c5.js} +3 -0
  71. package/dist/esm/AD.js +1 -1
  72. package/dist/esm/AD300x250.js +3 -2
  73. package/dist/esm/AD300x250x600.js +3 -2
  74. package/dist/esm/AD728x90.js +3 -2
  75. package/dist/esm/ADFloatingFooter.js +3 -2
  76. package/dist/esm/ADGutter.js +3 -2
  77. package/dist/esm/ADSkyscraper.js +3 -2
  78. package/dist/esm/ADSponsoredResources.js +3 -2
  79. package/dist/esm/ADWebcast.js +3 -2
  80. package/dist/esm/ADWelcome.js +3 -2
  81. package/dist/esm/AdSlot.js +3 -2
  82. package/dist/esm/AdSlotsProvider.js +2 -1
  83. package/dist/esm/AlgoliaSearch.js +14089 -16
  84. package/dist/esm/AlphabeticList.js +1 -1
  85. package/dist/esm/ArticleCarousel.js +1 -1
  86. package/dist/esm/ArticleProgramLandingPage.js +5 -5
  87. package/dist/esm/ArticleSeriesLandingPage.js +6 -5
  88. package/dist/esm/ArticleSeriesListing.js +4 -3
  89. package/dist/esm/Auth.js +1 -1
  90. package/dist/esm/AuthWrapper.js +622 -5
  91. package/dist/esm/CMEDeck.js +2 -1
  92. package/dist/esm/Column3.js +3 -2
  93. package/dist/esm/ConferenceArticleCard.js +15 -15
  94. package/dist/esm/DeckContent.js +13 -12
  95. package/dist/esm/DeckQueue.js +4 -3
  96. package/dist/esm/{Dfp-85c9513e.js → Dfp-2f9796e1.js} +2 -1
  97. package/dist/esm/EventsDeck.js +19 -19
  98. package/dist/esm/ExternalResources.js +6 -6
  99. package/dist/esm/GridContent.js +6 -5
  100. package/dist/esm/HamMagazine.js +9 -9
  101. package/dist/esm/HorizontalArticleListing.js +5 -5
  102. package/dist/esm/IssueDeck.js +1 -1
  103. package/dist/esm/IssueLanding.js +36 -36
  104. package/dist/esm/KMTracker.js +15 -15
  105. package/dist/esm/LeftNav.js +3 -2
  106. package/dist/esm/MasterDeck.js +14 -13
  107. package/dist/esm/MediaSeriesLanding.js +187 -132
  108. package/dist/esm/NavMagazine.js +10 -10
  109. package/dist/esm/NavNative.js +9 -9
  110. package/dist/esm/PartnerDetailListing.js +11 -1207
  111. package/dist/esm/PubSection.js +5 -4
  112. package/dist/esm/PublicationLanding.js +27 -27
  113. package/dist/esm/QueueDeckExpanded.js +5 -4
  114. package/dist/esm/RelatedContent.js +28 -28
  115. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  116. package/dist/esm/SeriesListingDeck.js +4 -3
  117. package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-7d89f4d9.js} +4 -4
  118. package/dist/esm/SideFooter.js +2 -2
  119. package/dist/esm/TaxonomyCard.js +1 -1
  120. package/dist/esm/TaxonomyDescription.js +5 -5
  121. package/dist/esm/TemplateNormal.js +3 -2
  122. package/dist/esm/VideoProgramLandingPage.js +5 -5
  123. package/dist/esm/VideoSeriesCard.js +1 -1
  124. package/dist/esm/VideoSeriesLandingPage.js +6 -5
  125. package/dist/esm/VideoSeriesListing.js +4 -3
  126. package/dist/esm/View.js +8 -8
  127. package/dist/esm/YoutubeGroup.js +4 -4
  128. package/dist/esm/events-6c3a7a63.js +467 -0
  129. package/dist/esm/{extends-eb69e8ac.js → extends-6f2fcc99.js} +1 -1
  130. package/dist/esm/getRelatedArticle.js +1 -1
  131. package/dist/esm/getSerializers.js +5 -5
  132. package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-bd800589.js} +10 -10
  133. package/dist/esm/getTargeting.js +2 -2
  134. package/dist/esm/{index-110c875e.js → index-82fea143.js} +264 -8
  135. package/dist/esm/index-aaa2dae0.js +85 -0
  136. package/dist/esm/{index-fa2ffe86.js → index-c00b0bbb.js} +15 -16
  137. package/dist/esm/{index-1819118a.js → index-f7fb1e25.js} +38 -484
  138. package/dist/esm/index.js +12 -11
  139. package/dist/esm/{inherits-0d8cda6e.js → inherits-75d45541.js} +1 -1
  140. package/package.json +110 -110
  141. /package/dist/cjs/{ADInfeed-ff26342c.js → ADInfeed-25d48cc2.js} +0 -0
  142. /package/dist/cjs/{ADlgInfeed-ad4953d4.js → ADlgInfeed-a535a768.js} +0 -0
  143. /package/dist/esm/{ADInfeed-422ad6e6.js → ADInfeed-56a3db8b.js} +0 -0
  144. /package/dist/esm/{ADlgInfeed-f7468db8.js → ADlgInfeed-53edb995.js} +0 -0
@@ -6,10 +6,11 @@ import './_iter-detect-5d49a330.js';
6
6
  import './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-eb69e8ac.js';
9
+ import { _ as _extends } from './extends-6f2fcc99.js';
10
10
  import './web.dom.iterable-4439f05a.js';
11
11
  import React from 'react';
12
- import './index-1819118a.js';
12
+ import './events-6c3a7a63.js';
13
+ import './index-f7fb1e25.js';
13
14
  import 'prop-types';
14
15
  import 'react-bootstrap/Card';
15
16
  import './moment-b6f49411.js';
@@ -31,9 +32,9 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1
31
32
  import './Segment.js';
32
33
  import './Beam.js';
33
34
  import './AdSlot.js';
34
- import './ADInfeed-422ad6e6.js';
35
+ import './ADInfeed-56a3db8b.js';
35
36
  import './lodash-ec8c6b48.js';
36
- import './ADlgInfeed-f7468db8.js';
37
+ import './ADlgInfeed-53edb995.js';
37
38
  import './getContentCategory-15dcc413.js';
38
39
  import './AuthorComponent-8ffd4679.js';
39
40
  import 'react-bootstrap';
@@ -6,7 +6,7 @@ import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import { _ as _classof } from './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-eb69e8ac.js';
9
+ import { _ as _extends } from './extends-6f2fcc99.js';
10
10
  import { _ as _iterStep } from './web.dom.iterable-4439f05a.js';
11
11
  import { _ as _meta, a as _isArray } from './_is-array-58e95429.js';
12
12
  import React, { useState, useEffect } from 'react';
@@ -373,32 +373,32 @@ module.exports = { "default": set, __esModule: true };
373
373
 
374
374
  var _Set = unwrapExports(set$1);
375
375
 
376
- /* usage & query
377
- const Publication = (props) => {
378
- const { cache, pub, year } = props
379
- const targeting = {
380
- content_placement: [`/journals/${pub.identifier.current}`],
381
- document_url: [`/journals/${pub.identifier.current}`],
382
- }
383
- return (
384
- <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
385
- <PublicationLanding publication={pub} year={year} href={'journals'} />
386
- </Shell>
387
- )
388
- }
389
- Publication.getInitialProps = async (ctx) => {
390
- const { query } = ctx
391
- const {
392
- query: { year },
393
- } = ctx
394
- const pub = await client.fetch(getQuery('publication'), query)
395
- **import urlFor from framework**
396
- pub.issues.map((issue) => {
397
- issue.thumbnail = urlFor({client, source: issue.thumbnail})
398
- })
399
- return { pub, year }
400
- }
401
- export default Publication
376
+ /* usage & query
377
+ const Publication = (props) => {
378
+ const { cache, pub, year } = props
379
+ const targeting = {
380
+ content_placement: [`/journals/${pub.identifier.current}`],
381
+ document_url: [`/journals/${pub.identifier.current}`],
382
+ }
383
+ return (
384
+ <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
385
+ <PublicationLanding publication={pub} year={year} href={'journals'} />
386
+ </Shell>
387
+ )
388
+ }
389
+ Publication.getInitialProps = async (ctx) => {
390
+ const { query } = ctx
391
+ const {
392
+ query: { year },
393
+ } = ctx
394
+ const pub = await client.fetch(getQuery('publication'), query)
395
+ **import urlFor from framework**
396
+ pub.issues.map((issue) => {
397
+ issue.thumbnail = urlFor({client, source: issue.thumbnail})
398
+ })
399
+ return { pub, year }
400
+ }
401
+ export default Publication
402
402
  */
403
403
 
404
404
  var generateContentPlacements = function generateContentPlacements(issues) {
@@ -6,10 +6,11 @@ import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-eb69e8ac.js';
9
+ import { _ as _extends } from './extends-6f2fcc99.js';
10
10
  import './web.dom.iterable-4439f05a.js';
11
11
  import React, { useEffect, useState, useRef } from 'react';
12
- import { l as lib_3 } from './index-1819118a.js';
12
+ import './events-6c3a7a63.js';
13
+ import { l as lib_3 } from './index-f7fb1e25.js';
13
14
  import 'prop-types';
14
15
  import 'react-bootstrap/Card';
15
16
  import { m as moment } from './moment-b6f49411.js';
@@ -31,9 +32,9 @@ import './asyncToGenerator-fc1c2e29.js';
31
32
  import './Segment.js';
32
33
  import './Beam.js';
33
34
  import './AdSlot.js';
34
- import { A as ADInfeed } from './ADInfeed-422ad6e6.js';
35
+ import { A as ADInfeed } from './ADInfeed-56a3db8b.js';
35
36
  import { l as lodash } from './lodash-ec8c6b48.js';
36
- import { A as ADlgInfeed } from './ADlgInfeed-f7468db8.js';
37
+ import { A as ADlgInfeed } from './ADlgInfeed-53edb995.js';
37
38
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
38
39
  import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
39
40
  import { Container, Media } from 'react-bootstrap';
@@ -8,34 +8,34 @@ import urlFor from './urlFor.js';
8
8
  import { L as LazyLoad } from './index-6c12bdd5.js';
9
9
  import 'react-bootstrap/Media';
10
10
 
11
- /*
12
- Sample query
13
- let references = ''
14
- if(article.taxonomyMapping.length > 0){
15
- article.taxonomyMapping.forEach((ref, index) => {
16
- references = references + `references('${ref._ref}') `
17
- if(index+1 !== article.taxonomyMapping.length){
18
- references = references + ` && `
19
- }
20
- })
21
- }
22
-
23
- 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] {
24
- ...,
25
- title,
26
- summary,
27
- thumbnail,
28
- url,
29
- published,
30
- authorMapping[]->,
31
- contentCategory->
32
- }`
33
- const relatedArticles = await client.fetch(relatedArticlesQuery)
34
-
35
- Sample usage
36
- <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
37
-
38
-
11
+ /*
12
+ Sample query
13
+ let references = ''
14
+ if(article.taxonomyMapping.length > 0){
15
+ article.taxonomyMapping.forEach((ref, index) => {
16
+ references = references + `references('${ref._ref}') `
17
+ if(index+1 !== article.taxonomyMapping.length){
18
+ references = references + ` && `
19
+ }
20
+ })
21
+ }
22
+
23
+ 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] {
24
+ ...,
25
+ title,
26
+ summary,
27
+ thumbnail,
28
+ url,
29
+ published,
30
+ authorMapping[]->,
31
+ contentCategory->
32
+ }`
33
+ const relatedArticles = await client.fetch(relatedArticlesQuery)
34
+
35
+ Sample usage
36
+ <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
37
+
38
+
39
39
  */
40
40
  var RelatedContent = function RelatedContent(props) {
41
41
  var client = props.client,
@@ -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) {
@@ -5,10 +5,11 @@ import './_iter-detect-5d49a330.js';
5
5
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
6
6
  import './core.get-iterator-method-e1de7503.js';
7
7
  import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-eb69e8ac.js';
8
+ import { _ as _extends } from './extends-6f2fcc99.js';
9
9
  import './web.dom.iterable-4439f05a.js';
10
10
  import React, { useState, useEffect, useRef } from 'react';
11
- import { l as lib_3 } from './index-1819118a.js';
11
+ import './events-6c3a7a63.js';
12
+ import { l as lib_3 } from './index-f7fb1e25.js';
12
13
  import 'prop-types';
13
14
  import { useRouter } from 'next/router';
14
15
  import { I as InfiniteScroll } from './index.es-c6222053.js';
@@ -21,7 +22,7 @@ import './main-747e7d25.js';
21
22
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
22
23
  import './index-c7e2ac95.js';
23
24
  import './smoothscroll-0cd4c7a6.js';
24
- import { S as SeriesSlider } from './SeriesSlider-05ecb544.js';
25
+ import { S as SeriesSlider } from './SeriesSlider-7d89f4d9.js';
25
26
 
26
27
  var usePrevious = function usePrevious(value) {
27
28
  var ref = useRef();
@@ -6,10 +6,10 @@ import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
6
6
  import { g as getYoutubeId } from './index-c7e2ac95.js';
7
7
  import { s as smoothscroll } from './smoothscroll-0cd4c7a6.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) {
@@ -34,8 +34,8 @@ var renderLink = function renderLink(row) {
34
34
  };
35
35
 
36
36
  var SideFooter = function SideFooter(props) {
37
- /*
38
- useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
37
+ /*
38
+ useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
39
39
  */
40
40
  var _get = get_1(props, 'cache.siteSettingCache', {}),
41
41
  socialLinks = _get.socialLinks,
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-a4107da3.js';
3
3
  import './_object-pie-33c40e79.js';
4
- import { _ as _extends } from './extends-eb69e8ac.js';
4
+ import { _ as _extends } from './extends-6f2fcc99.js';
5
5
  import React from 'react';
6
6
  import 'prop-types';
7
7
  import Container from 'react-bootstrap/Container';
@@ -6,15 +6,16 @@ import './_iter-detect-5d49a330.js';
6
6
  import './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends, a as _Object$assign } from './extends-eb69e8ac.js';
9
+ import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import './inherits-0d8cda6e.js';
11
+ import './inherits-75d45541.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './index-1819118a.js';
17
+ import './events-6c3a7a63.js';
18
+ import './index-f7fb1e25.js';
18
19
  import 'prop-types';
19
20
  import 'react-bootstrap/Row';
20
21
  import 'react-bootstrap/Col';
@@ -43,7 +44,7 @@ import './GroupDeck.js';
43
44
  import 'react-bootstrap';
44
45
  import './iconBase-602d52fe.js';
45
46
  import './index.esm-3fdda599.js';
46
- import { g as getSerializers } from './index-110c875e.js';
47
+ import { g as getSerializers } from './index-82fea143.js';
47
48
  import './util-7700fc59.js';
48
49
  import './brightcove-react-player-loader.es-4abff0b1.js';
49
50
  import Head from 'next/head';
@@ -55,7 +56,6 @@ import 'react-bootstrap/Figure';
55
56
  import 'react-bootstrap/OverlayTrigger';
56
57
  import 'react-bootstrap/Tooltip';
57
58
  import 'react-bootstrap/Popover';
58
- import 'react-script-tag';
59
59
 
60
60
  var _this = undefined;
61
61
 
@@ -5,11 +5,12 @@ import './_library-528f1934.js';
5
5
  import './_iter-detect-5d49a330.js';
6
6
  import './core.get-iterator-method-e1de7503.js';
7
7
  import './_object-pie-33c40e79.js';
8
- import './extends-eb69e8ac.js';
8
+ import './extends-6f2fcc99.js';
9
9
  import './define-property-8af5f002.js';
10
10
  import './web.dom.iterable-4439f05a.js';
11
11
  import React, { useState, useEffect } from 'react';
12
- import './index-1819118a.js';
12
+ import './events-6c3a7a63.js';
13
+ import './index-f7fb1e25.js';
13
14
  import 'prop-types';
14
15
  import Container from 'react-bootstrap/Container';
15
16
  import 'react-bootstrap/Row';
@@ -6,15 +6,16 @@ import './_iter-detect-5d49a330.js';
6
6
  import './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends } from './extends-eb69e8ac.js';
9
+ import { _ as _extends } from './extends-6f2fcc99.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import './inherits-0d8cda6e.js';
11
+ import './inherits-75d45541.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './index-1819118a.js';
17
+ import './events-6c3a7a63.js';
18
+ import './index-f7fb1e25.js';
18
19
  import 'prop-types';
19
20
  import 'react-bootstrap/Container';
20
21
  import 'react-bootstrap/Row';
@@ -48,7 +49,7 @@ import 'react-bootstrap';
48
49
  import './iconBase-602d52fe.js';
49
50
  import './index.esm-3fdda599.js';
50
51
  import VideoSeriesListing from './VideoSeriesListing.js';
51
- import { g as getSerializers } from './index-110c875e.js';
52
+ import { g as getSerializers } from './index-82fea143.js';
52
53
  import './util-7700fc59.js';
53
54
  import './brightcove-react-player-loader.es-4abff0b1.js';
54
55
  import 'next/head';
@@ -60,7 +61,6 @@ import 'react-bootstrap/Figure';
60
61
  import 'react-bootstrap/OverlayTrigger';
61
62
  import 'react-bootstrap/Tooltip';
62
63
  import 'react-bootstrap/Popover';
63
- import 'react-script-tag';
64
64
  import Form from 'react-bootstrap/Form';
65
65
 
66
66
  var _this = undefined;
@@ -15,7 +15,7 @@ import urlFor from './urlFor.js';
15
15
  import { L as LazyLoad } from './index-6c12bdd5.js';
16
16
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
17
17
 
18
- var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
18
+ var css = ".VideoSeriesCard-module_article__Hlc3e {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.VideoSeriesCard-module_article__Hlc3e a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ {\r\n width: 25%;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_published__1fI0q {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_summary__3hWJT {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o {\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o span {\r\n color: #6d6d6d;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .VideoSeriesCard-module_article__Hlc3e {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .VideoSeriesCard-module_article__Hlc3e a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ figure {\r\n margin: 0;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N {\r\n width: 90%;\r\n padding: 1rem !important;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N h2 {\r\n font-size: 1rem;\r\n }\r\n}\r\n";
19
19
  var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
20
20
  styleInject(css);
21
21
 
@@ -6,15 +6,16 @@ import './_iter-detect-5d49a330.js';
6
6
  import './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import './extends-eb69e8ac.js';
9
+ import './extends-6f2fcc99.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import './inherits-0d8cda6e.js';
11
+ import './inherits-75d45541.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import { _ as _typeof } from './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React from 'react';
17
- import './index-1819118a.js';
17
+ import './events-6c3a7a63.js';
18
+ import './index-f7fb1e25.js';
18
19
  import 'prop-types';
19
20
  import 'react-bootstrap/Container';
20
21
  import 'react-bootstrap/Row';
@@ -38,9 +39,9 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1
38
39
  import './Segment.js';
39
40
  import './Beam.js';
40
41
  import './AdSlot.js';
41
- import './ADInfeed-422ad6e6.js';
42
+ import './ADInfeed-56a3db8b.js';
42
43
  import './lodash-ec8c6b48.js';
43
- import './ADlgInfeed-f7468db8.js';
44
+ import './ADlgInfeed-53edb995.js';
44
45
  import { g as getYoutubeId } from './index-c7e2ac95.js';
45
46
  import MasterDeck from './MasterDeck.js';
46
47
  import 'react-bootstrap/Breadcrumb';
@@ -4,15 +4,16 @@ import './es6.string.iterator-c990c18c.js';
4
4
  import './_library-528f1934.js';
5
5
  import './core.get-iterator-method-e1de7503.js';
6
6
  import './_object-pie-33c40e79.js';
7
- import { _ as _extends } from './extends-eb69e8ac.js';
7
+ import { _ as _extends } from './extends-6f2fcc99.js';
8
8
  import './_object-sap-964b6feb.js';
9
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
9
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
10
10
  import './define-property-8af5f002.js';
11
11
  import './web.dom.iterable-4439f05a.js';
12
12
  import './typeof-af9c50d8.js';
13
13
  import './_is-array-58e95429.js';
14
14
  import React from 'react';
15
- import { l as lib_3 } from './index-1819118a.js';
15
+ import './events-6c3a7a63.js';
16
+ import { l as lib_3 } from './index-f7fb1e25.js';
16
17
  import 'prop-types';
17
18
  import Container from 'react-bootstrap/Container';
18
19
  import { m as moment } from './moment-b6f49411.js';
package/dist/esm/View.js CHANGED
@@ -6,15 +6,16 @@ import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import { _ as _extends, a as _Object$assign } from './extends-eb69e8ac.js';
9
+ import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
10
10
  import './_object-sap-964b6feb.js';
11
- import './inherits-0d8cda6e.js';
11
+ import './inherits-75d45541.js';
12
12
  import './define-property-8af5f002.js';
13
13
  import './web.dom.iterable-4439f05a.js';
14
14
  import { _ as _typeof } from './typeof-af9c50d8.js';
15
15
  import './_is-array-58e95429.js';
16
16
  import React, { useState, useRef, useEffect, forwardRef } from 'react';
17
- import { l as lib_3 } from './index-1819118a.js';
17
+ import './events-6c3a7a63.js';
18
+ import { l as lib_3 } from './index-f7fb1e25.js';
18
19
  import 'prop-types';
19
20
  import 'react-bootstrap/Row';
20
21
  import 'react-bootstrap/Col';
@@ -45,7 +46,7 @@ import './GroupDeck.js';
45
46
  import 'react-bootstrap';
46
47
  import './iconBase-602d52fe.js';
47
48
  import './index.esm-3fdda599.js';
48
- import { r as renderAuthor, g as getSerializers } from './index-110c875e.js';
49
+ import { r as renderAuthor, g as getSerializers } from './index-82fea143.js';
49
50
  import './util-7700fc59.js';
50
51
  import './brightcove-react-player-loader.es-4abff0b1.js';
51
52
  import Head from 'next/head';
@@ -57,7 +58,6 @@ import 'react-bootstrap/Figure';
57
58
  import 'react-bootstrap/OverlayTrigger';
58
59
  import 'react-bootstrap/Tooltip';
59
60
  import 'react-bootstrap/Popover';
60
- import 'react-script-tag';
61
61
  import Form from 'react-bootstrap/Form';
62
62
  import FormControl from 'react-bootstrap/FormControl';
63
63
  import { _ as _Object$keys } from './keys-8eda7a5c.js';
@@ -67,8 +67,8 @@ import getSeriesDetail from './getSeriesDetail.js';
67
67
  import './index-db3bb315.js';
68
68
  import getRelatedArticle from './getRelatedArticle.js';
69
69
  import getQuery from './getQuery.js';
70
- import { S as SeriesSlider } from './SeriesSlider-05ecb544.js';
71
- import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-9cb7e014.js';
70
+ import { S as SeriesSlider } from './SeriesSlider-7d89f4d9.js';
71
+ import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-bd800589.js';
72
72
  import getKeywords from './getKeywords.js';
73
73
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
74
74
  import { DiscussionEmbed } from 'disqus-react';
@@ -338,7 +338,7 @@ var ISI = function ISI(props) {
338
338
  );
339
339
  };
340
340
 
341
- var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
341
+ var css = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
342
342
  var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
343
343
  styleInject(css);
344
344
 
@@ -18,10 +18,10 @@ import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
18
18
  import { g as getYoutubeId } from './index-c7e2ac95.js';
19
19
  import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
20
20
 
21
- /*
22
- GROQ query -
23
- accepts an array of title, URL
24
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
21
+ /*
22
+ GROQ query -
23
+ accepts an array of title, URL
24
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
25
25
  */
26
26
 
27
27
  var YoutubeGroup = function YoutubeGroup(props) {