@mjhls/mjh-framework 1.0.1047 → 1.0.1049

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 (226) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -6
  4. package/dist/cjs/AD300x250x600.js +5 -6
  5. package/dist/cjs/AD728x90.js +6 -7
  6. package/dist/cjs/ADFloatingFooter.js +8 -9
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -9
  9. package/dist/cjs/{ADInfeed-bd867e67.js → ADInfeed-0519664d.js} +6 -6
  10. package/dist/cjs/ADSkyscraper.js +8 -9
  11. package/dist/cjs/ADSponsoredResources.js +8 -9
  12. package/dist/cjs/ADWebcast.js +8 -9
  13. package/dist/cjs/ADWelcome.js +12 -13
  14. package/dist/cjs/{ADlgInfeed-f0bd969f.js → ADlgInfeed-e544ac1c.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -10
  17. package/dist/cjs/AdSlotsProvider.js +5 -6
  18. package/dist/cjs/AlgoliaSearch.js +1409 -896
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +15 -16
  22. package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
  23. package/dist/cjs/ArticleSeriesListing.js +29 -30
  24. package/dist/cjs/Auth.js +84 -1537
  25. package/dist/cjs/AuthWrapper.js +315 -1497
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  27. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  28. package/dist/cjs/Breadcrumbs.js +17 -17
  29. package/dist/cjs/CEDeckSupabase.js +68 -69
  30. package/dist/cjs/CMEDeck.js +61 -62
  31. package/dist/cjs/Column1.js +7 -7
  32. package/dist/cjs/Column2.js +15 -15
  33. package/dist/cjs/Column3.js +27 -28
  34. package/dist/cjs/ConferenceArticleCard.js +27 -27
  35. package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
  36. package/dist/cjs/ContentCardPaginated.js +50 -51
  37. package/dist/cjs/DeckContent.js +67 -68
  38. package/dist/cjs/DeckQueue.js +58 -59
  39. package/dist/cjs/DeckQueuePaginated.js +47 -48
  40. package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
  41. package/dist/cjs/EventsDeck.js +107 -107
  42. package/dist/cjs/ExternalResources.js +35 -36
  43. package/dist/cjs/Feature.js +17 -17
  44. package/dist/cjs/ForbesHero.js +25 -25
  45. package/dist/cjs/GridContent.js +135 -136
  46. package/dist/cjs/GridContentPaginated.js +122 -123
  47. package/dist/cjs/GridHero.js +27 -27
  48. package/dist/cjs/GroupDeck.js +33 -33
  49. package/dist/cjs/HamMagazine.js +120 -120
  50. package/dist/cjs/Header.js +25 -25
  51. package/dist/cjs/HealthCareProfessionalModal.js +18 -18
  52. package/dist/cjs/Hero.js +6 -6
  53. package/dist/cjs/HighlightenVideo.js +13 -13
  54. package/dist/cjs/HorizontalArticleListing.js +29 -30
  55. package/dist/cjs/HorizontalHero.js +17 -17
  56. package/dist/cjs/{ImageSlider-294d3fc0.js → ImageSlider-62a43659.js} +221 -164
  57. package/dist/cjs/IssueContentDeck.js +49 -49
  58. package/dist/cjs/IssueDeck.js +48 -48
  59. package/dist/cjs/IssueLanding.js +49 -50
  60. package/dist/cjs/KMTracker.js +15 -15
  61. package/dist/cjs/LeftNav.js +17 -18
  62. package/dist/cjs/MasterDeck.js +47 -48
  63. package/dist/cjs/MasterDeckPaginated.js +37 -38
  64. package/dist/cjs/{MediaSeriesCard-1bf0726f.js → MediaSeriesCard-3ee52557.js} +17 -17
  65. package/dist/cjs/MediaSeriesLanding.js +43 -44
  66. package/dist/cjs/MediaSeriesLandingPaginated.js +42 -43
  67. package/dist/cjs/NavDvm.js +57 -57
  68. package/dist/cjs/{NavFooter-fa5fae05.js → NavFooter-b7b16d48.js} +11 -11
  69. package/dist/cjs/NavMagazine.js +116 -116
  70. package/dist/cjs/NavNative.js +106 -106
  71. package/dist/cjs/OncliveHero.js +11 -11
  72. package/dist/cjs/OncliveLargeHero.js +50 -50
  73. package/dist/cjs/PageFilter.js +5 -5
  74. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  75. package/dist/cjs/PartnerDetailListing.js +50 -52
  76. package/dist/cjs/PartnerDetailListingPaginated.js +49 -51
  77. package/dist/cjs/PdfDownload.js +4 -4
  78. package/dist/cjs/PixelTracking.js +25 -9
  79. package/dist/cjs/PodcastsLanding.js +23 -24
  80. package/dist/cjs/PopUpModal.js +9 -9
  81. package/dist/cjs/PtceDeck.js +13 -13
  82. package/dist/cjs/PubSection.js +14 -15
  83. package/dist/cjs/PubToc.js +4 -4
  84. package/dist/cjs/PublicationDeck.js +44 -44
  85. package/dist/cjs/{PublicationFeature-03de3225.js → PublicationFeature-e945bd55.js} +29 -29
  86. package/dist/cjs/PublicationLanding.js +99 -99
  87. package/dist/cjs/QueueDeckExpanded.js +246 -247
  88. package/dist/cjs/QueueDeckExpandedPaginated.js +223 -224
  89. package/dist/cjs/RecentNews.js +15 -15
  90. package/dist/cjs/RelatedContent.js +42 -42
  91. package/dist/cjs/RelatedTopicsDropdown.js +24 -24
  92. package/dist/cjs/RolesDeck.js +20 -20
  93. package/dist/cjs/Schema.js +1 -1
  94. package/dist/cjs/Search.js +6 -6
  95. package/dist/cjs/Segment.js +10 -5
  96. package/dist/cjs/SeriesListingDeck.js +18 -19
  97. package/dist/cjs/{SeriesSlider-621d0cbb.js → SeriesSlider-edcb8e4b.js} +26 -26
  98. package/dist/cjs/SideFooter.js +20 -20
  99. package/dist/cjs/SocialIcons.js +6 -6
  100. package/dist/cjs/{SocialSearchComponent-f874175b.js → SocialSearchComponent-e9ec9c63.js} +28 -28
  101. package/dist/cjs/SocialShare.js +25 -25
  102. package/dist/cjs/TaxonomyCard.js +44 -44
  103. package/dist/cjs/TaxonomyDescription.js +12 -13
  104. package/dist/cjs/TemplateNormal.js +27 -28
  105. package/dist/cjs/ThumbnailCard.js +11 -11
  106. package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-980a1d1a.js} +493 -608
  107. package/dist/cjs/Ustream.js +9 -9
  108. package/dist/cjs/VerticalHero.js +10 -10
  109. package/dist/cjs/VideoProgramLandingPage.js +29 -30
  110. package/dist/cjs/VideoSeriesCard.js +14 -14
  111. package/dist/cjs/VideoSeriesFilter.js +5 -5
  112. package/dist/cjs/VideoSeriesLandingPage.js +11 -12
  113. package/dist/cjs/VideoSeriesListing.js +46 -47
  114. package/dist/cjs/View.js +238 -239
  115. package/dist/cjs/YahooHero.js +23 -23
  116. package/dist/cjs/YoutubeGroup.js +37 -37
  117. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
  118. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  119. package/dist/cjs/getSerializers.js +7 -8
  120. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  121. package/dist/cjs/getTargeting.js +1 -1
  122. package/dist/cjs/iconBase-be4097c0.js +2 -4
  123. package/dist/cjs/{index-f6e6f06c.js → index-46b63e4b.js} +491 -491
  124. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  125. package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
  126. package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
  127. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  128. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  129. package/dist/cjs/{index.esm-f51609ab.js → index.esm-2ea9e9ff.js} +14 -14
  130. package/dist/cjs/index.js +105 -107
  131. package/dist/cjs/{main-1ec1de84.js → main-47be4f9f.js} +13 -13
  132. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  133. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  134. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  135. package/dist/esm/AD.js +1 -1
  136. package/dist/esm/AD300x250.js +1 -2
  137. package/dist/esm/AD300x250x600.js +1 -2
  138. package/dist/esm/AD728x90.js +1 -2
  139. package/dist/esm/ADFloatingFooter.js +1 -2
  140. package/dist/esm/ADGutter.js +1 -2
  141. package/dist/esm/ADSkyscraper.js +1 -2
  142. package/dist/esm/ADSponsoredResources.js +1 -2
  143. package/dist/esm/ADWebcast.js +1 -2
  144. package/dist/esm/ADWelcome.js +1 -2
  145. package/dist/esm/AdSlot.js +1 -2
  146. package/dist/esm/AdSlotsProvider.js +1 -2
  147. package/dist/esm/AlgoliaSearch.js +1026 -513
  148. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  149. package/dist/esm/ArticleSeriesLandingPage.js +3 -4
  150. package/dist/esm/ArticleSeriesListing.js +1 -2
  151. package/dist/esm/Auth.js +9 -1463
  152. package/dist/esm/AuthWrapper.js +288 -1470
  153. package/dist/esm/CEDeckSupabase.js +2 -3
  154. package/dist/esm/CMEDeck.js +1 -2
  155. package/dist/esm/Column3.js +1 -2
  156. package/dist/esm/ConferenceArticleCard.js +15 -15
  157. package/dist/esm/ContentCardPaginated.js +4 -5
  158. package/dist/esm/DeckContent.js +11 -12
  159. package/dist/esm/DeckQueue.js +2 -3
  160. package/dist/esm/DeckQueuePaginated.js +3 -4
  161. package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
  162. package/dist/esm/EventsDeck.js +18 -18
  163. package/dist/esm/ExternalResources.js +4 -5
  164. package/dist/esm/GridContent.js +4 -5
  165. package/dist/esm/GridContentPaginated.js +5 -6
  166. package/dist/esm/GridHero.js +1 -1
  167. package/dist/esm/HamMagazine.js +9 -9
  168. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  169. package/dist/esm/Hero.js +1 -1
  170. package/dist/esm/HorizontalArticleListing.js +3 -4
  171. package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-aea3a615.js} +67 -10
  172. package/dist/esm/IssueLanding.js +34 -35
  173. package/dist/esm/KMTracker.js +15 -15
  174. package/dist/esm/LeftNav.js +1 -2
  175. package/dist/esm/MasterDeck.js +11 -12
  176. package/dist/esm/MasterDeckPaginated.js +12 -13
  177. package/dist/esm/{MediaSeriesCard-5c02f4f8.js → MediaSeriesCard-0f3cb954.js} +2 -2
  178. package/dist/esm/MediaSeriesLanding.js +13 -14
  179. package/dist/esm/MediaSeriesLandingPaginated.js +14 -15
  180. package/dist/esm/NavMagazine.js +10 -10
  181. package/dist/esm/NavNative.js +9 -9
  182. package/dist/esm/OncliveLargeHero.js +1 -1
  183. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  184. package/dist/esm/PartnerDetailListing.js +6 -8
  185. package/dist/esm/PartnerDetailListingPaginated.js +7 -9
  186. package/dist/esm/PixelTracking.js +17 -1
  187. package/dist/esm/PodcastsLanding.js +6 -7
  188. package/dist/esm/PubSection.js +4 -5
  189. package/dist/esm/PublicationLanding.js +26 -26
  190. package/dist/esm/QueueDeckExpanded.js +4 -5
  191. package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
  192. package/dist/esm/RelatedContent.js +28 -28
  193. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  194. package/dist/esm/Segment.js +10 -5
  195. package/dist/esm/SeriesListingDeck.js +2 -3
  196. package/dist/esm/{SeriesSlider-07be99e0.js → SeriesSlider-2e83e861.js} +4 -4
  197. package/dist/esm/SideFooter.js +2 -2
  198. package/dist/esm/TaxonomyDescription.js +3 -4
  199. package/dist/esm/TemplateNormal.js +1 -2
  200. package/dist/esm/ThumbnailCard.js +1 -1
  201. package/dist/esm/{Tooltip-95655b44.js → Tooltip-51957f7c.js} +55 -170
  202. package/dist/esm/VideoProgramLandingPage.js +3 -4
  203. package/dist/esm/VideoSeriesCard.js +1 -1
  204. package/dist/esm/VideoSeriesLandingPage.js +3 -4
  205. package/dist/esm/VideoSeriesListing.js +1 -2
  206. package/dist/esm/View.js +7 -8
  207. package/dist/esm/YahooHero.js +1 -1
  208. package/dist/esm/YoutubeGroup.js +4 -4
  209. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  210. package/dist/esm/getSerializers.js +3 -4
  211. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  212. package/dist/esm/getTargeting.js +1 -1
  213. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  214. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  215. package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
  216. package/dist/esm/{index-ae9b808b.js → index-be57519b.js} +2 -2
  217. package/dist/esm/index.js +11 -13
  218. package/package.json +116 -116
  219. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  220. package/dist/cjs/events-1b438fe7.js +0 -469
  221. package/dist/cjs/typeof-1358762e.js +0 -33
  222. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  223. package/dist/esm/events-6c3a7a63.js +0 -467
  224. package/dist/esm/typeof-2f07d0e8.js +0 -30
  225. /package/dist/esm/{ADInfeed-3cc60b4c.js → ADInfeed-c3f5613e.js} +0 -0
  226. /package/dist/esm/{ADlgInfeed-3f8b476a.js → ADlgInfeed-2b148f3f.js} +0 -0
@@ -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-aea3a615.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-ae9b808b.js';
13
+ import { g as getSerializers } from './index-be57519b.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,15 +23,14 @@ import 'prop-types';
24
23
  import './smoothscroll-fa4e3f8c.js';
25
24
  import './toConsumableArray-f7074d7c.js';
26
25
  import 'react-bootstrap';
27
- import './index-f0fc23eb.js';
28
- import './events-6c3a7a63.js';
26
+ import './index-5cc7b406.js';
29
27
  import 'next/router';
30
28
  import './index-755f2cc2.js';
31
29
  import 'react-dom';
32
30
  import './lodash-f97fd99a.js';
33
31
  import './main-f97773b2.js';
34
- import './entities-6d9154b4.js';
35
- import './ADInfeed-3cc60b4c.js';
32
+ import './entities-932b50cf.js';
33
+ import './ADInfeed-c3f5613e.js';
36
34
  import 'react-bootstrap/Card';
37
35
  import './AdSlot.js';
38
36
  import './debounce-533d9748.js';
@@ -42,10 +40,10 @@ import './Beam.js';
42
40
  import './stringify-2b084bee.js';
43
41
  import './Segment.js';
44
42
  import './AuthorComponent-11adff02.js';
45
- import './ADlgInfeed-3f8b476a.js';
43
+ import './ADlgInfeed-2b148f3f.js';
46
44
  import './getContentCategory-15dcc413.js';
47
45
  import './timeDifferenceCalc.js';
48
- import './Pagination-dc30727b.js';
46
+ import './Pagination-9fe9f61d.js';
49
47
  import 'react-bootstrap/Button';
50
48
  import './index.esm-1bd8a0a8.js';
51
49
  import './iconBase-ccc56b97.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-5c02f4f8.js';
7
+ import { M as MediaSeriesCard } from './MediaSeriesCard-0f3cb954.js';
8
8
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
9
- import { g as getSerializers } from './index-ae9b808b.js';
9
+ import { g as getSerializers } from './index-be57519b.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,8 +19,7 @@ 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-f0fc23eb.js';
23
- import './events-6c3a7a63.js';
22
+ import './index-5cc7b406.js';
24
23
  import 'prop-types';
25
24
  import 'react-bootstrap/Container';
26
25
  import 'react-bootstrap/Row';
@@ -36,13 +35,13 @@ import './index.es-a6137319.js';
36
35
  import './visibility-sensor-72fd8f8b.js';
37
36
  import 'react-dom';
38
37
  import './index-3f5c03b2.js';
39
- import './ADlgInfeed-3f8b476a.js';
38
+ import './ADlgInfeed-2b148f3f.js';
40
39
  import './AdSlot.js';
41
40
  import './Beam.js';
42
41
  import './stringify-2b084bee.js';
43
42
  import './Segment.js';
44
43
  import './main-f97773b2.js';
45
- import './ADInfeed-3cc60b4c.js';
44
+ import './ADInfeed-c3f5613e.js';
46
45
  import './index-755f2cc2.js';
47
46
  import './urlFor.js';
48
47
  import './style-inject.es-1f59c1d0.js';
@@ -63,7 +62,7 @@ import './SocialShare.js';
63
62
  import 'next/head';
64
63
  import 'react-share';
65
64
  import 'react-bootstrap/Pagination';
66
- import './entities-6d9154b4.js';
65
+ import './entities-932b50cf.js';
67
66
  import './index.esm-eb1e8e80.js';
68
67
  import './iconBase-ccc56b97.js';
69
68
  import 'react-bootstrap/Figure';
@@ -17,14 +17,13 @@ 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-f0fc23eb.js';
21
- import './events-6c3a7a63.js';
20
+ import './index-5cc7b406.js';
22
21
  import 'prop-types';
23
22
  import 'next/router';
24
23
  import './index-755f2cc2.js';
25
24
  import './main-f97773b2.js';
26
- import './entities-6d9154b4.js';
27
- import './ADInfeed-3cc60b4c.js';
25
+ import './entities-932b50cf.js';
26
+ import './ADInfeed-c3f5613e.js';
28
27
  import 'react-bootstrap/Card';
29
28
  import './AdSlot.js';
30
29
  import './debounce-533d9748.js';
@@ -35,7 +34,7 @@ import './stringify-2b084bee.js';
35
34
  import './Segment.js';
36
35
  import './AuthorComponent-11adff02.js';
37
36
  import './lodash-f97fd99a.js';
38
- import './ADlgInfeed-3f8b476a.js';
37
+ import './ADlgInfeed-2b148f3f.js';
39
38
  import './getContentCategory-15dcc413.js';
40
39
  import './timeDifferenceCalc.js';
41
40
 
@@ -373,32 +373,32 @@ module.exports = { "default": set$1, __esModule: true };
373
373
 
374
374
  var _Set = unwrapExports(set);
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) {
@@ -7,15 +7,15 @@ import urlFor from './urlFor.js';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
8
  import { m as moment } from './moment-bc12cb97.js';
9
9
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
10
- import { l as lib_3 } from './index-f0fc23eb.js';
10
+ import { l as lib_3 } from './index-5cc7b406.js';
11
11
  import { useRouter } from 'next/router';
12
12
  import { L as LazyLoad } from './index-755f2cc2.js';
13
13
  import { m as main_43 } from './main-f97773b2.js';
14
- import { c as clean_html_1 } from './entities-6d9154b4.js';
15
- import { A as ADInfeed } from './ADInfeed-3cc60b4c.js';
14
+ import { c as clean_html_1 } from './entities-932b50cf.js';
15
+ import { A as ADInfeed } from './ADInfeed-c3f5613e.js';
16
16
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
17
17
  import { l as lodash } from './lodash-f97fd99a.js';
18
- import { A as ADlgInfeed } from './ADlgInfeed-3f8b476a.js';
18
+ import { A as ADlgInfeed } from './ADlgInfeed-2b148f3f.js';
19
19
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
20
20
  import timeDifferenceCalc from './timeDifferenceCalc.js';
21
21
  import './_commonjsHelpers-0c4b6f40.js';
@@ -24,7 +24,6 @@ import './core.get-iterator-method-ea258bb1.js';
24
24
  import './_iter-detect-98db3b07.js';
25
25
  import './index-3f5c03b2.js';
26
26
  import 'react-dom';
27
- import './events-6c3a7a63.js';
28
27
  import 'prop-types';
29
28
  import 'react-bootstrap/Card';
30
29
  import './AdSlot.js';
@@ -5,26 +5,25 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
5
5
  import React__default, { useState, useEffect, useRef } from 'react';
6
6
  import { Spinner, Container, Media } from 'react-bootstrap';
7
7
  import { m as moment } from './moment-bc12cb97.js';
8
- import { l as lib_3 } from './index-f0fc23eb.js';
8
+ import { l as lib_3 } from './index-5cc7b406.js';
9
9
  import { useRouter } from 'next/router';
10
10
  import { L as LazyLoad } from './index-755f2cc2.js';
11
11
  import { l as lodash } from './lodash-f97fd99a.js';
12
12
  import { m as main_43 } from './main-f97773b2.js';
13
- import { c as clean_html_1 } from './entities-6d9154b4.js';
14
- import { A as ADInfeed } from './ADInfeed-3cc60b4c.js';
13
+ import { c as clean_html_1 } from './entities-932b50cf.js';
14
+ import { A as ADInfeed } from './ADInfeed-c3f5613e.js';
15
15
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
16
- import { A as ADlgInfeed } from './ADlgInfeed-3f8b476a.js';
16
+ import { A as ADlgInfeed } from './ADlgInfeed-2b148f3f.js';
17
17
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
18
18
  import timeDifferenceCalc from './timeDifferenceCalc.js';
19
19
  import urlFor from './urlFor.js';
20
- import { P as Pagination } from './Pagination-dc30727b.js';
20
+ import { P as Pagination } from './Pagination-9fe9f61d.js';
21
21
  import './_commonjsHelpers-0c4b6f40.js';
22
22
  import './core.get-iterator-method-ea258bb1.js';
23
23
  import './web.dom.iterable-ab4dea5c.js';
24
24
  import './_library-528f1934.js';
25
25
  import './_set-species-2cd9340f.js';
26
26
  import './_iter-detect-98db3b07.js';
27
- import './events-6c3a7a63.js';
28
27
  import 'prop-types';
29
28
  import 'react-dom';
30
29
  import 'react-bootstrap/Card';
@@ -12,34 +12,34 @@ import './index-3f5c03b2.js';
12
12
  import 'react-dom';
13
13
  import 'prop-types';
14
14
 
15
- /*
16
- Sample query
17
- let references = ''
18
- if(article.taxonomyMapping.length > 0){
19
- article.taxonomyMapping.forEach((ref, index) => {
20
- references = references + `references('${ref._ref}') `
21
- if(index+1 !== article.taxonomyMapping.length){
22
- references = references + ` && `
23
- }
24
- })
25
- }
26
-
27
- 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] {
28
- ...,
29
- title,
30
- summary,
31
- thumbnail,
32
- url,
33
- published,
34
- authorMapping[]->,
35
- contentCategory->
36
- }`
37
- const relatedArticles = await client.fetch(relatedArticlesQuery)
38
-
39
- Sample usage
40
- <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
41
-
42
-
15
+ /*
16
+ Sample query
17
+ let references = ''
18
+ if(article.taxonomyMapping.length > 0){
19
+ article.taxonomyMapping.forEach((ref, index) => {
20
+ references = references + `references('${ref._ref}') `
21
+ if(index+1 !== article.taxonomyMapping.length){
22
+ references = references + ` && `
23
+ }
24
+ })
25
+ }
26
+
27
+ 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] {
28
+ ...,
29
+ title,
30
+ summary,
31
+ thumbnail,
32
+ url,
33
+ published,
34
+ authorMapping[]->,
35
+ contentCategory->
36
+ }`
37
+ const relatedArticles = await client.fetch(relatedArticlesQuery)
38
+
39
+ Sample usage
40
+ <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
41
+
42
+
43
43
  */
44
44
  var RelatedContent = function RelatedContent(props) {
45
45
  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) {
@@ -214,7 +214,8 @@ var Segment = {
214
214
  document_group: properties.document_group && properties.document_group.length > 0 ? properties.document_group : '',
215
215
  domain: domain,
216
216
  keywords: _this2.getMeta('keywords'),
217
- osano: _this2.getOsano()
217
+ osano: _this2.getOsano(),
218
+ LassoImpressionID: window.LassoImpressionID ? window.LassoImpressionID : ''
218
219
  });
219
220
 
220
221
  case 15:
@@ -272,7 +273,8 @@ var Segment = {
272
273
  brightCovePlayerID: brightCovePlayerID,
273
274
  brightCoveAccountID: brightCoveAccountID,
274
275
  keywords: _this3.getMeta('keywords'),
275
- osano: _this3.getOsano()
276
+ osano: _this3.getOsano(),
277
+ LassoImpressionID: window.LassoImpressionID ? window.LassoImpressionID : ''
276
278
  };
277
279
 
278
280
 
@@ -331,7 +333,8 @@ var Segment = {
331
333
  brightCovePlayerID: brightCovePlayerID,
332
334
  brightCoveAccountID: brightCoveAccountID,
333
335
  keywords: _this4.getMeta('keywords'),
334
- osano: _this4.getOsano()
336
+ osano: _this4.getOsano(),
337
+ LassoImpressionID: window.LassoImpressionID ? window.LassoImpressionID : ''
335
338
  };
336
339
 
337
340
 
@@ -385,7 +388,8 @@ var Segment = {
385
388
  sourceAgnosticlineId: sourceAgnosticlineId,
386
389
  domain: domain,
387
390
  keywords: _this5.getMeta('keywords'),
388
- osano: _this5.getOsano()
391
+ osano: _this5.getOsano(),
392
+ LassoImpressionID: window.LassoImpressionID ? window.LassoImpressionID : ''
389
393
  });
390
394
 
391
395
  case 9:
@@ -435,7 +439,8 @@ var Segment = {
435
439
  sourceAgnosticlineId: sourceAgnosticlineId,
436
440
  domain: domain,
437
441
  keywords: _this6.getMeta('keywords'),
438
- osano: _this6.getOsano()
442
+ osano: _this6.getOsano(),
443
+ LassoImpressionID: window.LassoImpressionID ? window.LassoImpressionID : ''
439
444
  });
440
445
 
441
446
  case 9:
@@ -3,15 +3,14 @@ import { _ as _extends } from './extends-1559c147.js';
3
3
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
4
4
  import React__default, { useState, useEffect, useRef } from 'react';
5
5
  import { useRouter } from 'next/router';
6
- import { l as lib_3 } from './index-f0fc23eb.js';
6
+ import { l as lib_3 } from './index-5cc7b406.js';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
- import { S as SeriesSlider } from './SeriesSlider-07be99e0.js';
8
+ import { S as SeriesSlider } from './SeriesSlider-2e83e861.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';
12
12
  import './_iter-detect-98db3b07.js';
13
13
  import './web.dom.iterable-ab4dea5c.js';
14
- import './events-6c3a7a63.js';
15
14
  import 'prop-types';
16
15
  import './index-c7e2ac95.js';
17
16
  import './index-755f2cc2.js';
@@ -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-f97773b2.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) {
@@ -33,8 +33,8 @@ var renderLink = function renderLink(row) {
33
33
  };
34
34
 
35
35
  var SideFooter = function SideFooter(props) {
36
- /*
37
- useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
36
+ /*
37
+ useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
38
38
  */
39
39
  var _get = get_1(props, 'cache.siteSettingCache', {}),
40
40
  socialLinks = _get.socialLinks,
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import Head from 'next/head';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-ae9b808b.js';
8
+ import { g as getSerializers } from './index-be57519b.js';
9
9
  import './_commonjsHelpers-0c4b6f40.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
11
11
  import './web.dom.iterable-ab4dea5c.js';
@@ -16,8 +16,7 @@ import 'prop-types';
16
16
  import './index-3f5c03b2.js';
17
17
  import 'react-bootstrap';
18
18
  import './urlFor.js';
19
- import './index-f0fc23eb.js';
20
- import './events-6c3a7a63.js';
19
+ import './index-5cc7b406.js';
21
20
  import './index-c7e2ac95.js';
22
21
  import './util-8ed16d48.js';
23
22
  import './Beam.js';
@@ -44,7 +43,7 @@ import './SocialShare.js';
44
43
  import 'react-share';
45
44
  import './toConsumableArray-f7074d7c.js';
46
45
  import 'react-bootstrap/Pagination';
47
- import './entities-6d9154b4.js';
46
+ import './entities-932b50cf.js';
48
47
  import './AdSlot.js';
49
48
  import './debounce-533d9748.js';
50
49
  import './isSymbol-a7e9aafe.js';
@@ -18,8 +18,7 @@ import './core.get-iterator-method-ea258bb1.js';
18
18
  import './AdSlot.js';
19
19
  import './extends-1559c147.js';
20
20
  import 'prop-types';
21
- import './index-f0fc23eb.js';
22
- import './events-6c3a7a63.js';
21
+ import './index-5cc7b406.js';
23
22
  import './debounce-533d9748.js';
24
23
  import './isSymbol-a7e9aafe.js';
25
24
  import './toNumber-5aeba6e7.js';
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import Media from 'react-bootstrap/Media';
3
3
  import urlFor from './urlFor.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
5
- import { c as clean_html_1 } from './entities-6d9154b4.js';
5
+ import { c as clean_html_1 } from './entities-932b50cf.js';
6
6
  import './slicedToArray-6ebcbfea.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './web.dom.iterable-ab4dea5c.js';