@mjhls/mjh-framework 1.0.1048 → 1.0.1050-lightbox

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 (160) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -1
  4. package/dist/cjs/AD300x250x600.js +2 -1
  5. package/dist/cjs/AD728x90.js +2 -1
  6. package/dist/cjs/ADFloatingFooter.js +2 -1
  7. package/dist/cjs/ADGutter.js +2 -1
  8. package/dist/cjs/ADSkyscraper.js +2 -1
  9. package/dist/cjs/ADSponsoredResources.js +2 -1
  10. package/dist/cjs/ADWebcast.js +2 -1
  11. package/dist/cjs/ADWelcome.js +2 -1
  12. package/dist/cjs/AdSlot.js +2 -1
  13. package/dist/cjs/AdSlotsProvider.js +2 -1
  14. package/dist/cjs/AlgoliaSearch.js +38 -337
  15. package/dist/cjs/ArticleProgramLandingPage.js +3 -2
  16. package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
  17. package/dist/cjs/ArticleSeriesListing.js +2 -1
  18. package/dist/cjs/AuthWrapper.js +96 -6
  19. package/dist/cjs/CEDeckSupabase.js +3 -2
  20. package/dist/cjs/CMEDeck.js +2 -1
  21. package/dist/cjs/Column3.js +2 -1
  22. package/dist/cjs/ConferenceArticleCard.js +15 -15
  23. package/dist/cjs/ContentCardPaginated.js +3 -2
  24. package/dist/cjs/DeckContent.js +11 -10
  25. package/dist/cjs/DeckQueue.js +2 -1
  26. package/dist/cjs/DeckQueuePaginated.js +2 -1
  27. package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
  28. package/dist/cjs/EventsDeck.js +17 -17
  29. package/dist/cjs/ExternalResources.js +3 -2
  30. package/dist/cjs/GridContent.js +4 -3
  31. package/dist/cjs/GridContentPaginated.js +4 -3
  32. package/dist/cjs/HamMagazine.js +9 -9
  33. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  34. package/dist/cjs/HorizontalArticleListing.js +3 -2
  35. package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
  36. package/dist/cjs/IssueLanding.js +34 -33
  37. package/dist/cjs/KMTracker.js +15 -15
  38. package/dist/cjs/LeftNav.js +2 -1
  39. package/dist/cjs/MasterDeck.js +12 -11
  40. package/dist/cjs/MasterDeckPaginated.js +12 -11
  41. package/dist/cjs/{MediaSeriesCard-d7801ba1.js → MediaSeriesCard-6cb9a6e6.js} +2 -2
  42. package/dist/cjs/MediaSeriesLanding.js +13 -12
  43. package/dist/cjs/MediaSeriesLandingPaginated.js +13 -12
  44. package/dist/cjs/NavMagazine.js +10 -10
  45. package/dist/cjs/NavNative.js +9 -9
  46. package/dist/cjs/PartnerDetailListing.js +6 -6
  47. package/dist/cjs/PartnerDetailListingPaginated.js +6 -6
  48. package/dist/cjs/PixelTracking.js +17 -1
  49. package/dist/cjs/PodcastsLanding.js +6 -5
  50. package/dist/cjs/PubSection.js +4 -3
  51. package/dist/cjs/PublicationLanding.js +26 -26
  52. package/dist/cjs/QueueDeckExpanded.js +4 -3
  53. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
  54. package/dist/cjs/RelatedContent.js +28 -28
  55. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  56. package/dist/cjs/Segment.js +10 -5
  57. package/dist/cjs/SeriesListingDeck.js +3 -2
  58. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-c7ed509b.js} +4 -4
  59. package/dist/cjs/SideFooter.js +2 -2
  60. package/dist/cjs/TaxonomyDescription.js +3 -2
  61. package/dist/cjs/TemplateNormal.js +2 -1
  62. package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-02a841b5.js} +86 -34
  63. package/dist/cjs/VideoProgramLandingPage.js +3 -2
  64. package/dist/cjs/VideoSeriesCard.js +1 -1
  65. package/dist/cjs/VideoSeriesLandingPage.js +4 -3
  66. package/dist/cjs/VideoSeriesListing.js +2 -1
  67. package/dist/cjs/View.js +7 -6
  68. package/dist/cjs/YoutubeGroup.js +4 -4
  69. package/dist/cjs/events-1b438fe7.js +469 -0
  70. package/dist/cjs/getSerializers.js +3 -2
  71. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  72. package/dist/cjs/getTargeting.js +1 -1
  73. package/dist/cjs/{index-abcf2d94.js → index-1165a652.js} +12 -22
  74. package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
  75. package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
  76. package/dist/cjs/index.js +9 -10
  77. package/dist/esm/AD.js +1 -1
  78. package/dist/esm/AD300x250.js +2 -1
  79. package/dist/esm/AD300x250x600.js +2 -1
  80. package/dist/esm/AD728x90.js +2 -1
  81. package/dist/esm/ADFloatingFooter.js +2 -1
  82. package/dist/esm/ADGutter.js +2 -1
  83. package/dist/esm/ADSkyscraper.js +2 -1
  84. package/dist/esm/ADSponsoredResources.js +2 -1
  85. package/dist/esm/ADWebcast.js +2 -1
  86. package/dist/esm/ADWelcome.js +2 -1
  87. package/dist/esm/AdSlot.js +2 -1
  88. package/dist/esm/AdSlotsProvider.js +2 -1
  89. package/dist/esm/AlgoliaSearch.js +37 -336
  90. package/dist/esm/ArticleProgramLandingPage.js +3 -2
  91. package/dist/esm/ArticleSeriesLandingPage.js +4 -3
  92. package/dist/esm/ArticleSeriesListing.js +2 -1
  93. package/dist/esm/AuthWrapper.js +93 -3
  94. package/dist/esm/CEDeckSupabase.js +3 -2
  95. package/dist/esm/CMEDeck.js +2 -1
  96. package/dist/esm/Column3.js +2 -1
  97. package/dist/esm/ConferenceArticleCard.js +15 -15
  98. package/dist/esm/ContentCardPaginated.js +3 -2
  99. package/dist/esm/DeckContent.js +11 -10
  100. package/dist/esm/DeckQueue.js +2 -1
  101. package/dist/esm/DeckQueuePaginated.js +2 -1
  102. package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
  103. package/dist/esm/EventsDeck.js +17 -17
  104. package/dist/esm/ExternalResources.js +3 -2
  105. package/dist/esm/GridContent.js +4 -3
  106. package/dist/esm/GridContentPaginated.js +4 -3
  107. package/dist/esm/HamMagazine.js +9 -9
  108. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  109. package/dist/esm/HorizontalArticleListing.js +3 -2
  110. package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-da225417.js} +157 -117
  111. package/dist/esm/IssueLanding.js +34 -33
  112. package/dist/esm/KMTracker.js +15 -15
  113. package/dist/esm/LeftNav.js +2 -1
  114. package/dist/esm/MasterDeck.js +12 -11
  115. package/dist/esm/MasterDeckPaginated.js +12 -11
  116. package/dist/esm/{MediaSeriesCard-ffe77e8e.js → MediaSeriesCard-d36385ff.js} +2 -2
  117. package/dist/esm/MediaSeriesLanding.js +13 -12
  118. package/dist/esm/MediaSeriesLandingPaginated.js +13 -12
  119. package/dist/esm/NavMagazine.js +10 -10
  120. package/dist/esm/NavNative.js +9 -9
  121. package/dist/esm/PartnerDetailListing.js +6 -6
  122. package/dist/esm/PartnerDetailListingPaginated.js +6 -6
  123. package/dist/esm/PixelTracking.js +17 -1
  124. package/dist/esm/PodcastsLanding.js +6 -5
  125. package/dist/esm/PubSection.js +4 -3
  126. package/dist/esm/PublicationLanding.js +26 -26
  127. package/dist/esm/QueueDeckExpanded.js +4 -3
  128. package/dist/esm/QueueDeckExpandedPaginated.js +4 -3
  129. package/dist/esm/RelatedContent.js +28 -28
  130. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  131. package/dist/esm/Segment.js +10 -5
  132. package/dist/esm/SeriesListingDeck.js +3 -2
  133. package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-b467f00c.js} +4 -4
  134. package/dist/esm/SideFooter.js +2 -2
  135. package/dist/esm/TaxonomyDescription.js +3 -2
  136. package/dist/esm/TemplateNormal.js +2 -1
  137. package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-7a093cd4.js} +244 -192
  138. package/dist/esm/VideoProgramLandingPage.js +3 -2
  139. package/dist/esm/VideoSeriesCard.js +1 -1
  140. package/dist/esm/VideoSeriesLandingPage.js +4 -3
  141. package/dist/esm/VideoSeriesListing.js +2 -1
  142. package/dist/esm/View.js +7 -6
  143. package/dist/esm/YoutubeGroup.js +4 -4
  144. package/dist/esm/events-6c3a7a63.js +467 -0
  145. package/dist/esm/getSerializers.js +3 -2
  146. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  147. package/dist/esm/getTargeting.js +1 -1
  148. package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
  149. package/dist/esm/{index-5b4444df.js → index-4a515426.js} +12 -22
  150. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  151. package/dist/esm/index.js +9 -10
  152. package/package.json +116 -116
  153. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  154. package/dist/cjs/typeof-1358762e.js +0 -33
  155. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  156. package/dist/esm/typeof-2f07d0e8.js +0 -30
  157. /package/dist/cjs/{ADInfeed-92da28cb.js → ADInfeed-89f63b7d.js} +0 -0
  158. /package/dist/cjs/{ADlgInfeed-04685f6f.js → ADlgInfeed-a536168e.js} +0 -0
  159. /package/dist/esm/{ADInfeed-50f279b3.js → ADInfeed-c14e043c.js} +0 -0
  160. /package/dist/esm/{ADlgInfeed-3bb275ad.js → ADlgInfeed-2892de3c.js} +0 -0
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import QueueDeckExpanded from './QueueDeckExpanded.js';
4
4
  import Breadcrumbs from './Breadcrumbs.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-5b4444df.js';
6
+ import { g as getSerializers } from './index-4a515426.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './slicedToArray-6ebcbfea.js';
@@ -17,13 +17,14 @@ import './index.es-a6137319.js';
17
17
  import './moment-bc12cb97.js';
18
18
  import './visibility-sensor-72fd8f8b.js';
19
19
  import 'react-dom';
20
- import './index-5cc7b406.js';
20
+ import './index-f0fc23eb.js';
21
+ import './events-6c3a7a63.js';
21
22
  import 'prop-types';
22
23
  import 'next/router';
23
24
  import './index-755f2cc2.js';
24
25
  import './main-754d4992.js';
25
26
  import './entities-6d9154b4.js';
26
- import './ADInfeed-50f279b3.js';
27
+ import './ADInfeed-c14e043c.js';
27
28
  import 'react-bootstrap/Card';
28
29
  import './AdSlot.js';
29
30
  import './debounce-533d9748.js';
@@ -37,7 +38,7 @@ import './_set-species-2cd9340f.js';
37
38
  import './Segment.js';
38
39
  import './AuthorComponent-11adff02.js';
39
40
  import './lodash-f97fd99a.js';
40
- import './ADlgInfeed-3bb275ad.js';
41
+ import './ADlgInfeed-2892de3c.js';
41
42
  import './getContentCategory-15dcc413.js';
42
43
  import './timeDifferenceCalc.js';
43
44
  import 'react-bootstrap/Breadcrumb';
@@ -72,35 +73,35 @@ import 'react-bootstrap/Tooltip';
72
73
  import 'react-bootstrap/Popover';
73
74
  import './checkSisterSite-a7218fda.js';
74
75
 
75
- /* usage
76
- import Settings, { Ads } from '../../../../settings'
77
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
78
- import client from '../../../../client'
79
- import moment from 'moment'
80
- import Shell from '../../../../components/2.0/Shell'
81
- import { pageview } from '../../../../utilities/gtag'
82
-
83
- const Issue = (props) => {
84
- const { pubIssue, cache } = props
85
- const targeting = {
86
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
87
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
88
- }
89
- return (
90
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
91
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
92
- </Shell>
93
- )
94
- }
95
-
96
- Issue.getInitialProps = async (ctx) => {
97
- const { query } = ctx
98
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
99
- )
100
- return { pubIssue }
101
- }
102
-
103
- export default Issue
76
+ /* usage
77
+ import Settings, { Ads } from '../../../../settings'
78
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
79
+ import client from '../../../../client'
80
+ import moment from 'moment'
81
+ import Shell from '../../../../components/2.0/Shell'
82
+ import { pageview } from '../../../../utilities/gtag'
83
+
84
+ const Issue = (props) => {
85
+ const { pubIssue, cache } = props
86
+ const targeting = {
87
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
88
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
89
+ }
90
+ return (
91
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
92
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
93
+ </Shell>
94
+ )
95
+ }
96
+
97
+ Issue.getInitialProps = async (ctx) => {
98
+ const { query } = ctx
99
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
100
+ )
101
+ return { pubIssue }
102
+ }
103
+
104
+ export default Issue
104
105
  */
105
106
 
106
107
  var IssueLanding = function IssueLanding(props) {
@@ -1,25 +1,25 @@
1
1
  var KMTracker = function KMTracker(props) {
2
- var id = props.id;
2
+ var id = props.id;
3
3
 
4
- if (document && id) {
4
+ if (document && id) {
5
5
  (function () {
6
- var ecnJquery = document.createElement('script');
6
+ var ecnJquery = document.createElement('script');
7
7
 
8
- ecnJquery.type = 'text/javascript';
9
- ecnJquery.async = true;
10
- ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
8
+ ecnJquery.type = 'text/javascript';
9
+ ecnJquery.async = true;
10
+ ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
11
11
 
12
- var ecnScript = document.createElement('script');
12
+ var ecnScript = document.createElement('script');
13
13
 
14
- ecnScript.type = 'text/javascript';
15
- ecnScript.async = true;
16
- ecnScript.id = 'km-tracker';
17
- ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
14
+ ecnScript.type = 'text/javascript';
15
+ ecnScript.async = true;
16
+ ecnScript.id = 'km-tracker';
17
+ ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
18
18
 
19
- document.head.appendChild(ecnJquery);
20
- document.head.appendChild(ecnScript);
21
- })();
22
- }
19
+ document.head.appendChild(ecnJquery);
20
+ document.head.appendChild(ecnScript);
21
+ })();
22
+ }
23
23
  };
24
24
 
25
25
  export { KMTracker as default };
@@ -10,7 +10,8 @@ import './slicedToArray-6ebcbfea.js';
10
10
  import './web.dom.iterable-ab4dea5c.js';
11
11
  import './AdSlot.js';
12
12
  import 'prop-types';
13
- import './index-5cc7b406.js';
13
+ import './index-f0fc23eb.js';
14
+ import './events-6c3a7a63.js';
14
15
  import './debounce-533d9748.js';
15
16
  import './isSymbol-a7e9aafe.js';
16
17
  import './toNumber-5aeba6e7.js';
@@ -3,7 +3,7 @@ import { a as _Promise } from './asyncToGenerator-64822ccc.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
5
5
  import React__default from 'react';
6
- import { l as lib_3 } from './index-5cc7b406.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import Container from 'react-bootstrap/Container';
8
8
  import 'react-bootstrap/Row';
9
9
  import 'react-bootstrap/Col';
@@ -16,8 +16,8 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import './slicedToArray-6ebcbfea.js';
18
18
  import './index-3f5c03b2.js';
19
- import { A as ADlgInfeed } from './ADlgInfeed-3bb275ad.js';
20
- import { A as ADInfeed } from './ADInfeed-50f279b3.js';
19
+ import { A as ADlgInfeed } from './ADlgInfeed-2892de3c.js';
20
+ import { A as ADInfeed } from './ADInfeed-c14e043c.js';
21
21
  import './main-754d4992.js';
22
22
  import './_commonjsHelpers-0c4b6f40.js';
23
23
  import './core.get-iterator-method-ea258bb1.js';
@@ -29,6 +29,7 @@ import './_object-sap-7cee6f84.js';
29
29
  import './define-property-5f1bda73.js';
30
30
  import './typeof-657f25da.js';
31
31
  import './_is-array-8d21b9e3.js';
32
+ import './events-6c3a7a63.js';
32
33
  import 'prop-types';
33
34
  import './isSymbol-a7e9aafe.js';
34
35
  import './toNumber-5aeba6e7.js';
@@ -222,14 +223,14 @@ var MasterDeck = function (_React$Component) {
222
223
  }
223
224
 
224
225
  // please leave this for later debug purpose : Yong Jun.
225
- /* console.log('page change reported', {
226
- currentPage: currentPage,
227
- pageNumber: pageNumber,
228
- pathname: pathname,
229
- path: path,
230
- newPath: newPath,
231
- firstPage: pageNumber === 1,
232
- queryString: queryString
226
+ /* console.log('page change reported', {
227
+ currentPage: currentPage,
228
+ pageNumber: pageNumber,
229
+ pathname: pathname,
230
+ path: path,
231
+ newPath: newPath,
232
+ firstPage: pageNumber === 1,
233
+ queryString: queryString
233
234
  }) */
234
235
 
235
236
  if (pageview) {
@@ -4,14 +4,14 @@ import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
5
5
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
6
6
  import React__default from 'react';
7
- import { l as lib_3 } from './index-5cc7b406.js';
7
+ import { l as lib_3 } from './index-f0fc23eb.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-754d4992.js';
13
- import { A as ADlgInfeed } from './ADlgInfeed-3bb275ad.js';
14
- import { A as ADInfeed } from './ADInfeed-50f279b3.js';
13
+ import { A as ADlgInfeed } from './ADlgInfeed-2892de3c.js';
14
+ import { A as ADInfeed } from './ADInfeed-c14e043c.js';
15
15
  import { P as Pagination } from './Pagination-9fe9f61d.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
@@ -23,6 +23,7 @@ import './_object-sap-7cee6f84.js';
23
23
  import './define-property-5f1bda73.js';
24
24
  import './typeof-657f25da.js';
25
25
  import './_is-array-8d21b9e3.js';
26
+ import './events-6c3a7a63.js';
26
27
  import 'prop-types';
27
28
  import './slicedToArray-6ebcbfea.js';
28
29
  import 'react-bootstrap/Card';
@@ -106,14 +107,14 @@ var MasterDeck = function (_React$Component) {
106
107
  }
107
108
 
108
109
  // please leave this for later debug purpose : Yong Jun.
109
- /* console.log('page change reported', {
110
- currentPage: currentPage,
111
- pageNumber: pageNumber,
112
- pathname: pathname,
113
- path: path,
114
- newPath: newPath,
115
- firstPage: pageNumber === 1,
116
- 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
117
118
  }) */
118
119
 
119
120
  if (pageview) {
@@ -5,9 +5,9 @@ import urlFor from './urlFor.js';
5
5
  import { m as moment } from './moment-bc12cb97.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-5b4444df.js';
8
+ import { g as getSerializers } from './index-4a515426.js';
9
9
 
10
- 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";
10
+ 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";
11
11
  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" };
12
12
  styleInject(css);
13
13
 
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-657f25da.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { D as DropdownButton, a as Dropdown } from './Tooltip-bc98d17e.js';
7
- import './index-98ca9cec.js';
6
+ import { D as DropdownButton, a as Dropdown } from './Tooltip-7a093cd4.js';
7
+ import './index-0ce54f8a.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import MasterDeck from './MasterDeck.js';
11
- import { M as MediaSeriesCard } from './MediaSeriesCard-ffe77e8e.js';
11
+ import { M as MediaSeriesCard } from './MediaSeriesCard-d36385ff.js';
12
12
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
13
- import { g as getSerializers } from './index-5b4444df.js';
13
+ import { g as getSerializers } from './index-4a515426.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -23,7 +23,8 @@ import './toConsumableArray-f7074d7c.js';
23
23
  import './inherits-d21b4ef9.js';
24
24
  import './_object-sap-7cee6f84.js';
25
25
  import './define-property-5f1bda73.js';
26
- import './index-5cc7b406.js';
26
+ import './index-f0fc23eb.js';
27
+ import './events-6c3a7a63.js';
27
28
  import 'react-bootstrap/Container';
28
29
  import 'react-bootstrap/Row';
29
30
  import 'react-bootstrap/Col';
@@ -37,13 +38,13 @@ import './toNumber-5aeba6e7.js';
37
38
  import './index.es-a6137319.js';
38
39
  import './visibility-sensor-72fd8f8b.js';
39
40
  import './index-3f5c03b2.js';
40
- import './ADlgInfeed-3bb275ad.js';
41
+ import './ADlgInfeed-2892de3c.js';
41
42
  import './AdSlot.js';
42
43
  import './Beam.js';
43
44
  import './stringify-2b084bee.js';
44
45
  import './Segment.js';
45
46
  import './main-754d4992.js';
46
- import './ADInfeed-50f279b3.js';
47
+ import './ADInfeed-c14e043c.js';
47
48
  import './index-755f2cc2.js';
48
49
  import './urlFor.js';
49
50
  import './style-inject.es-1f59c1d0.js';
@@ -95,11 +96,11 @@ var Filter = function Filter(_ref) {
95
96
  _useState6 = _slicedToArray(_useState5, 2),
96
97
  grandChildData = _useState6[0],
97
98
  setGrandChildData = _useState6[1];
98
- /*
99
- {parent: showAll,
100
- chidlren: show selected from parent,
101
- grandchildren: show selected from children
102
- }
99
+ /*
100
+ {parent: showAll,
101
+ chidlren: show selected from parent,
102
+ grandchildren: show selected from children
103
+ }
103
104
  */
104
105
 
105
106
 
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-657f25da.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { D as DropdownButton, a as Dropdown } from './Tooltip-bc98d17e.js';
7
- import './index-98ca9cec.js';
6
+ import { D as DropdownButton, a as Dropdown } from './Tooltip-7a093cd4.js';
7
+ import './index-0ce54f8a.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 { M as MediaSeriesCard } from './MediaSeriesCard-ffe77e8e.js';
13
- import { g as getSerializers } from './index-5b4444df.js';
12
+ import { M as MediaSeriesCard } from './MediaSeriesCard-d36385ff.js';
13
+ import { g as getSerializers } from './index-4a515426.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -25,13 +25,14 @@ import './toConsumableArray-f7074d7c.js';
25
25
  import './inherits-d21b4ef9.js';
26
26
  import './_object-sap-7cee6f84.js';
27
27
  import './define-property-5f1bda73.js';
28
- import './index-5cc7b406.js';
28
+ import './index-f0fc23eb.js';
29
+ import './events-6c3a7a63.js';
29
30
  import 'react-bootstrap/Container';
30
31
  import 'react-bootstrap/Spinner';
31
32
  import 'next/router';
32
33
  import './lodash-f97fd99a.js';
33
34
  import './main-754d4992.js';
34
- import './ADlgInfeed-3bb275ad.js';
35
+ import './ADlgInfeed-2892de3c.js';
35
36
  import 'react-bootstrap/Card';
36
37
  import './AdSlot.js';
37
38
  import './debounce-533d9748.js';
@@ -39,7 +40,7 @@ import './isSymbol-a7e9aafe.js';
39
40
  import './toNumber-5aeba6e7.js';
40
41
  import './Beam.js';
41
42
  import './Segment.js';
42
- import './ADInfeed-50f279b3.js';
43
+ import './ADInfeed-c14e043c.js';
43
44
  import './Pagination-9fe9f61d.js';
44
45
  import 'react-bootstrap/Button';
45
46
  import './index.esm-1bd8a0a8.js';
@@ -96,11 +97,11 @@ var Filter = function Filter(_ref) {
96
97
  _useState6 = _slicedToArray(_useState5, 2),
97
98
  grandChildData = _useState6[0],
98
99
  setGrandChildData = _useState6[1];
99
- /*
100
- {parent: showAll,
101
- chidlren: show selected from parent,
102
- grandchildren: show selected from children
103
- }
100
+ /*
101
+ {parent: showAll,
102
+ chidlren: show selected from parent,
103
+ grandchildren: show selected from children
104
+ }
104
105
  */
105
106
 
106
107
 
@@ -29,16 +29,16 @@ import 'react-bootstrap/FormControl';
29
29
  import 'react-bootstrap/Button';
30
30
 
31
31
  var NavMagazine = function NavMagazine(props) {
32
- /*
33
- Example Nav with acceptable props
34
- <MagazineNav
35
- showLogin
36
- user={props.cache.user}
37
- logo={props.settings.logo}
38
- dataObject={props.cache.mainNavCache}
39
- website={website}
40
- subNav={props.cache.subNavCache}
41
- />
32
+ /*
33
+ Example Nav with acceptable props
34
+ <MagazineNav
35
+ showLogin
36
+ user={props.cache.user}
37
+ logo={props.settings.logo}
38
+ dataObject={props.cache.mainNavCache}
39
+ website={website}
40
+ subNav={props.cache.subNavCache}
41
+ />
42
42
  */
43
43
 
44
44
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -303,15 +303,15 @@ function chunk(array, size, guard) {
303
303
  var chunk_1 = chunk;
304
304
 
305
305
  var NavNative = function NavNative(props) {
306
- /*
307
- Example Nav with acceptable props
308
- <MagazineNav
309
- showLogin
310
- logo={props.settings.logo}
311
- dataObject={props.cache.mainNavCache}
312
- website={website}
313
- subNav={props.cache.subNavCache}
314
- />
306
+ /*
307
+ Example Nav with acceptable props
308
+ <MagazineNav
309
+ showLogin
310
+ logo={props.settings.logo}
311
+ dataObject={props.cache.mainNavCache}
312
+ website={website}
313
+ subNav={props.cache.subNavCache}
314
+ />
315
315
  */
316
316
  // Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
317
317
  var logo = props.logo,
@@ -3,15 +3,14 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import React__default from 'react';
5
5
  import { TwitterTimelineEmbed } from 'react-twitter-embed';
6
- import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-497e9c88.js';
7
- import './defineProperty-23a8f8cd.js';
6
+ import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-da225417.js';
8
7
  import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
9
8
  import { m as moment } from './moment-bc12cb97.js';
10
9
  import QueueDeckExpanded from './QueueDeckExpanded.js';
11
10
  import Breadcrumbs from './Breadcrumbs.js';
12
11
  import Feature from './Feature.js';
13
12
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-5b4444df.js';
13
+ import { g as getSerializers } from './index-4a515426.js';
15
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
15
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
17
16
  import './_commonjsHelpers-0c4b6f40.js';
@@ -27,12 +26,13 @@ import 'react-bootstrap';
27
26
  import './index.es-a6137319.js';
28
27
  import './visibility-sensor-72fd8f8b.js';
29
28
  import 'react-dom';
30
- import './index-5cc7b406.js';
29
+ import './index-f0fc23eb.js';
30
+ import './events-6c3a7a63.js';
31
31
  import 'next/router';
32
32
  import './index-755f2cc2.js';
33
33
  import './main-754d4992.js';
34
34
  import './entities-6d9154b4.js';
35
- import './ADInfeed-50f279b3.js';
35
+ import './ADInfeed-c14e043c.js';
36
36
  import 'react-bootstrap/Card';
37
37
  import './AdSlot.js';
38
38
  import './debounce-533d9748.js';
@@ -43,7 +43,7 @@ import './stringify-2b084bee.js';
43
43
  import './Segment.js';
44
44
  import './AuthorComponent-11adff02.js';
45
45
  import './lodash-f97fd99a.js';
46
- import './ADlgInfeed-3bb275ad.js';
46
+ import './ADlgInfeed-2892de3c.js';
47
47
  import './getContentCategory-15dcc413.js';
48
48
  import './timeDifferenceCalc.js';
49
49
  import './index-3f5c03b2.js';
@@ -3,15 +3,14 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import React__default from 'react';
5
5
  import { TwitterTimelineEmbed } from 'react-twitter-embed';
6
- import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-497e9c88.js';
7
- import './defineProperty-23a8f8cd.js';
6
+ import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-da225417.js';
8
7
  import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
9
8
  import './moment-bc12cb97.js';
10
9
  import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
11
10
  import Breadcrumbs from './Breadcrumbs.js';
12
11
  import Feature from './Feature.js';
13
12
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-5b4444df.js';
13
+ import { g as getSerializers } from './index-4a515426.js';
15
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
15
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
17
16
  import './_commonjsHelpers-0c4b6f40.js';
@@ -24,14 +23,15 @@ import 'prop-types';
24
23
  import './smoothscroll-fa4e3f8c.js';
25
24
  import './toConsumableArray-f7074d7c.js';
26
25
  import 'react-bootstrap';
27
- import './index-5cc7b406.js';
26
+ import './index-f0fc23eb.js';
27
+ import './events-6c3a7a63.js';
28
28
  import 'next/router';
29
29
  import './index-755f2cc2.js';
30
30
  import 'react-dom';
31
31
  import './lodash-f97fd99a.js';
32
32
  import './main-754d4992.js';
33
33
  import './entities-6d9154b4.js';
34
- import './ADInfeed-50f279b3.js';
34
+ import './ADInfeed-c14e043c.js';
35
35
  import 'react-bootstrap/Card';
36
36
  import './AdSlot.js';
37
37
  import './debounce-533d9748.js';
@@ -41,7 +41,7 @@ import './Beam.js';
41
41
  import './stringify-2b084bee.js';
42
42
  import './Segment.js';
43
43
  import './AuthorComponent-11adff02.js';
44
- import './ADlgInfeed-3bb275ad.js';
44
+ import './ADlgInfeed-2892de3c.js';
45
45
  import './getContentCategory-15dcc413.js';
46
46
  import './timeDifferenceCalc.js';
47
47
  import './Pagination-9fe9f61d.js';
@@ -7,6 +7,10 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import 'react-dom';
9
9
 
10
+ var checkIfLasso = function checkIfLasso(code) {
11
+ return code.lastIndexOf('trc.lhmos.com') !== -1;
12
+ };
13
+
10
14
  var PixelTrackingLandingPages = React__default.memo(function (_ref) {
11
15
  var pixelTracking = _ref.pixelTracking;
12
16
 
@@ -46,10 +50,18 @@ var PixelTrackingLandingPages = React__default.memo(function (_ref) {
46
50
  }, 100);
47
51
  };
48
52
 
53
+ var renderCode = function renderCode(code) {
54
+ if (window.LassoImpressionID && code && checkIfLasso(code)) {
55
+ var delimiter = code.lastIndexOf('?' === -1) ? '?' : '&';
56
+ code += delimiter + 'LassoImpressionID=' + window.LassoImpressionID;
57
+ }
58
+ return React__default.createElement('div', { style: { height: '0', opacity: 0 }, key: code, dangerouslySetInnerHTML: { __html: code } });
59
+ };
60
+
49
61
  return React__default.createElement(
50
62
  React__default.Fragment,
51
63
  null,
52
- needTracking && React__default.createElement('div', { style: { height: '0', opacity: 0 }, key: trackingCode, dangerouslySetInnerHTML: { __html: trackingCode } })
64
+ needTracking && renderCode(trackingCode)
53
65
  );
54
66
  });
55
67
 
@@ -147,6 +159,10 @@ var PixelTrackingArticle = React__default.memo(function (_ref2) {
147
159
  'div',
148
160
  { style: { height: '100%', position: 'absolute', width: '1px', opacity: 0 } },
149
161
  needTracking && inView && trackingCode && trackingCode.map(function (code, index) {
162
+ if (window.LassoImpressionID && code && checkIfLasso(code)) {
163
+ var delimiter = code.lastIndexOf('?') === -1 ? '?' : '&';
164
+ code += delimiter + 'LassoImpressionID=' + window.LassoImpressionID;
165
+ }
150
166
  return React__default.createElement('span', { key: code, id: 'pixel-' + (index + 1), dangerouslySetInnerHTML: { __html: code } });
151
167
  })
152
168
  )
@@ -4,9 +4,9 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
4
4
  import React__default, { useState } from 'react';
5
5
  import Link from 'next/link';
6
6
  import MasterDeck from './MasterDeck.js';
7
- import { M as MediaSeriesCard } from './MediaSeriesCard-ffe77e8e.js';
7
+ import { M as MediaSeriesCard } from './MediaSeriesCard-d36385ff.js';
8
8
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
9
- import { g as getSerializers } from './index-5b4444df.js';
9
+ import { g as getSerializers } from './index-4a515426.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
12
12
  import './web.dom.iterable-ab4dea5c.js';
@@ -19,7 +19,8 @@ import './_object-sap-7cee6f84.js';
19
19
  import './define-property-5f1bda73.js';
20
20
  import './typeof-657f25da.js';
21
21
  import './_is-array-8d21b9e3.js';
22
- import './index-5cc7b406.js';
22
+ import './index-f0fc23eb.js';
23
+ import './events-6c3a7a63.js';
23
24
  import 'prop-types';
24
25
  import 'react-bootstrap/Container';
25
26
  import 'react-bootstrap/Row';
@@ -35,13 +36,13 @@ import './index.es-a6137319.js';
35
36
  import './visibility-sensor-72fd8f8b.js';
36
37
  import 'react-dom';
37
38
  import './index-3f5c03b2.js';
38
- import './ADlgInfeed-3bb275ad.js';
39
+ import './ADlgInfeed-2892de3c.js';
39
40
  import './AdSlot.js';
40
41
  import './Beam.js';
41
42
  import './stringify-2b084bee.js';
42
43
  import './Segment.js';
43
44
  import './main-754d4992.js';
44
- import './ADInfeed-50f279b3.js';
45
+ import './ADInfeed-c14e043c.js';
45
46
  import './index-755f2cc2.js';
46
47
  import './urlFor.js';
47
48
  import './style-inject.es-1f59c1d0.js';
@@ -17,13 +17,14 @@ import './index.es-a6137319.js';
17
17
  import './moment-bc12cb97.js';
18
18
  import './visibility-sensor-72fd8f8b.js';
19
19
  import 'react-dom';
20
- import './index-5cc7b406.js';
20
+ import './index-f0fc23eb.js';
21
+ import './events-6c3a7a63.js';
21
22
  import 'prop-types';
22
23
  import 'next/router';
23
24
  import './index-755f2cc2.js';
24
25
  import './main-754d4992.js';
25
26
  import './entities-6d9154b4.js';
26
- import './ADInfeed-50f279b3.js';
27
+ import './ADInfeed-c14e043c.js';
27
28
  import 'react-bootstrap/Card';
28
29
  import './AdSlot.js';
29
30
  import './debounce-533d9748.js';
@@ -34,7 +35,7 @@ import './stringify-2b084bee.js';
34
35
  import './Segment.js';
35
36
  import './AuthorComponent-11adff02.js';
36
37
  import './lodash-f97fd99a.js';
37
- import './ADlgInfeed-3bb275ad.js';
38
+ import './ADlgInfeed-2892de3c.js';
38
39
  import './getContentCategory-15dcc413.js';
39
40
  import './timeDifferenceCalc.js';
40
41