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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +11 -5
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -2
  4. package/dist/cjs/Auth.js +20 -17
  5. package/dist/cjs/AuthWrapper.js +19 -13
  6. package/dist/cjs/CMEDeck.js +5 -1
  7. package/dist/cjs/Column1.js +1 -1
  8. package/dist/cjs/Column2.js +1 -1
  9. package/dist/cjs/Column3.js +1 -1
  10. package/dist/cjs/ConferenceArticleCard.js +15 -15
  11. package/dist/cjs/DeckContent.js +8 -8
  12. package/dist/cjs/Dfp-9be904d5.js +1 -1
  13. package/dist/cjs/EventsDeck.js +17 -17
  14. package/dist/cjs/ExternalResources.js +1 -2
  15. package/dist/cjs/HamMagazine.js +10 -10
  16. package/dist/cjs/Header.js +1 -1
  17. package/dist/cjs/HorizontalArticleListing.js +1 -2
  18. package/dist/cjs/IssueLanding.js +30 -31
  19. package/dist/cjs/KMTracker.js +15 -15
  20. package/dist/cjs/LeftNav.js +1 -1
  21. package/dist/cjs/MasterDeck.js +8 -8
  22. package/dist/cjs/MasterDeckPaginated.js +8 -8
  23. package/dist/cjs/{MediaSeriesCard-8b203571.js → MediaSeriesCard-8c3c5514.js} +66 -44
  24. package/dist/cjs/MediaSeriesLanding.js +7 -8
  25. package/dist/cjs/MediaSeriesLandingPaginated.js +7 -8
  26. package/dist/cjs/NavDvm.js +1 -1
  27. package/dist/cjs/NavMagazine.js +12 -12
  28. package/dist/cjs/NavNative.js +10 -10
  29. package/dist/cjs/PartnerDetailListing.js +1 -2
  30. package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
  31. package/dist/cjs/PublicationLanding.js +28 -29
  32. package/dist/cjs/RelatedContent.js +28 -28
  33. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  34. package/dist/cjs/SeriesListingDeck.js +1 -1
  35. package/dist/cjs/{SeriesSlider-de93a303.js → SeriesSlider-ba0c5d1a.js} +4 -4
  36. package/dist/cjs/SideFooter.js +2 -2
  37. package/dist/cjs/TaxonomyDescription.js +1 -2
  38. package/dist/cjs/VideoProgramLandingPage.js +1 -2
  39. package/dist/cjs/VideoSeriesCard.js +1 -1
  40. package/dist/cjs/View.js +6 -7
  41. package/dist/cjs/YoutubeGroup.js +4 -4
  42. package/dist/cjs/getQuery.js +2 -2
  43. package/dist/cjs/getSerializers.js +1 -2
  44. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  45. package/dist/cjs/getTargeting.js +1 -1
  46. package/dist/cjs/{index-f9f5f7c0.js → index-5ce5e821.js} +25 -5
  47. package/dist/cjs/index.js +3 -4
  48. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  49. package/dist/esm/AD.js +1 -1
  50. package/dist/esm/AD300x250.js +1 -1
  51. package/dist/esm/AD300x250x600.js +1 -1
  52. package/dist/esm/AD728x90.js +1 -1
  53. package/dist/esm/ADFloatingFooter.js +1 -1
  54. package/dist/esm/ADFooter.js +1 -1
  55. package/dist/esm/ADGutter.js +1 -1
  56. package/dist/esm/ADSkyscraper.js +1 -1
  57. package/dist/esm/ADSponsoredResources.js +1 -1
  58. package/dist/esm/ADWebcast.js +1 -1
  59. package/dist/esm/ADWelcome.js +1 -1
  60. package/dist/esm/AccordionPanel.js +1 -1
  61. package/dist/esm/AdSlot.js +1 -1
  62. package/dist/esm/AdSlotsProvider.js +1 -1
  63. package/dist/esm/AlgoliaSearch.js +12 -6
  64. package/dist/esm/AlphabeticList.js +1 -1
  65. package/dist/esm/ArticleCarousel.js +1 -1
  66. package/dist/esm/ArticleProgramLandingPage.js +2 -3
  67. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  68. package/dist/esm/ArticleSeriesListing.js +1 -1
  69. package/dist/esm/Auth.js +20 -18
  70. package/dist/esm/AuthWrapper.js +20 -14
  71. package/dist/esm/Beam.js +1 -1
  72. package/dist/esm/Breadcrumbs.js +1 -1
  73. package/dist/esm/CMEDeck.js +6 -2
  74. package/dist/esm/Column1.js +1 -2
  75. package/dist/esm/Column2.js +1 -2
  76. package/dist/esm/Column3.js +1 -2
  77. package/dist/esm/ConferenceArticleCard.js +16 -16
  78. package/dist/esm/ContentCardPaginated.js +1 -1
  79. package/dist/esm/DeckContent.js +9 -9
  80. package/dist/esm/DeckQueue.js +1 -1
  81. package/dist/esm/DeckQueuePaginated.js +1 -1
  82. package/dist/esm/Dfp-102f0beb.js +1 -1
  83. package/dist/esm/EventsDeck.js +18 -18
  84. package/dist/esm/ExternalResources.js +2 -3
  85. package/dist/esm/Feature.js +1 -1
  86. package/dist/esm/ForbesHero.js +1 -1
  87. package/dist/esm/GridContent.js +1 -1
  88. package/dist/esm/GridContentPaginated.js +1 -1
  89. package/dist/esm/GridHero.js +1 -1
  90. package/dist/esm/GroupDeck.js +1 -1
  91. package/dist/esm/HamMagazine.js +10 -11
  92. package/dist/esm/Header.js +1 -2
  93. package/dist/esm/Hero.js +1 -1
  94. package/dist/esm/HighlightenVideo.js +1 -1
  95. package/dist/esm/HorizontalArticleListing.js +2 -3
  96. package/dist/esm/HorizontalHero.js +1 -1
  97. package/dist/esm/IssueContentDeck.js +1 -1
  98. package/dist/esm/IssueDeck.js +1 -1
  99. package/dist/esm/IssueLanding.js +31 -32
  100. package/dist/esm/KMTracker.js +16 -16
  101. package/dist/esm/LeftNav.js +1 -2
  102. package/dist/esm/MasterDeck.js +9 -9
  103. package/dist/esm/MasterDeckPaginated.js +9 -9
  104. package/dist/esm/{MediaSeriesCard-e1249ccb.js → MediaSeriesCard-30892d60.js} +66 -44
  105. package/dist/esm/MediaSeriesLanding.js +8 -9
  106. package/dist/esm/MediaSeriesLandingPaginated.js +8 -9
  107. package/dist/esm/NavDvm.js +1 -2
  108. package/dist/esm/NavMagazine.js +12 -13
  109. package/dist/esm/NavNative.js +10 -11
  110. package/dist/esm/OncliveHero.js +1 -1
  111. package/dist/esm/OncliveLargeHero.js +1 -1
  112. package/dist/esm/PageFilter.js +1 -1
  113. package/dist/esm/PartnerDetailListing.js +2 -3
  114. package/dist/esm/PartnerDetailListingPaginated.js +2 -3
  115. package/dist/esm/PdfDownload.js +1 -1
  116. package/dist/esm/PopUpModal.js +1 -1
  117. package/dist/esm/PubSection.js +1 -1
  118. package/dist/esm/PubToc.js +1 -1
  119. package/dist/esm/PublicationDeck.js +1 -1
  120. package/dist/esm/PublicationLanding.js +29 -30
  121. package/dist/esm/QueueDeckExpanded.js +1 -1
  122. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
  123. package/dist/esm/RecentNews.js +1 -1
  124. package/dist/esm/RelatedContent.js +29 -29
  125. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  126. package/dist/esm/RolesDeck.js +1 -1
  127. package/dist/esm/Schema.js +1 -1
  128. package/dist/esm/Search.js +1 -1
  129. package/dist/esm/Segment.js +1 -1
  130. package/dist/esm/SeriesListingDeck.js +2 -2
  131. package/dist/esm/{SeriesSlider-98ad6d97.js → SeriesSlider-45adb8dc.js} +4 -4
  132. package/dist/esm/SetCookie.js +1 -1
  133. package/dist/esm/SideFooter.js +3 -3
  134. package/dist/esm/SocialIcons.js +1 -1
  135. package/dist/esm/SocialShare.js +1 -1
  136. package/dist/esm/TaxonomyCard.js +1 -1
  137. package/dist/esm/TaxonomyDescription.js +2 -3
  138. package/dist/esm/TemplateNormal.js +1 -1
  139. package/dist/esm/ThumbnailCard.js +1 -1
  140. package/dist/esm/Ustream.js +1 -1
  141. package/dist/esm/VerticalHero.js +1 -1
  142. package/dist/esm/VideoProgramLandingPage.js +2 -3
  143. package/dist/esm/VideoSeriesCard.js +2 -2
  144. package/dist/esm/VideoSeriesFilter.js +1 -1
  145. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  146. package/dist/esm/VideoSeriesListing.js +1 -1
  147. package/dist/esm/View.js +7 -8
  148. package/dist/esm/YahooHero.js +1 -1
  149. package/dist/esm/YoutubeGroup.js +5 -5
  150. package/dist/esm/getKeywords.js +1 -1
  151. package/dist/esm/getQuery.js +3 -3
  152. package/dist/esm/getRelatedArticle.js +1 -1
  153. package/dist/esm/getRootDocGroup.js +1 -1
  154. package/dist/esm/getSerializers.js +1 -2
  155. package/dist/esm/getSeriesDetail.js +1 -1
  156. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  157. package/dist/esm/getTargeting.js +1 -1
  158. package/dist/esm/{index-4d8a8743.js → index-490f4f21.js} +21 -1
  159. package/dist/esm/index.js +3 -4
  160. package/dist/esm/stringify-2b084bee.js +1 -1
  161. package/dist/esm/timeDifferenceCalc.js +1 -1
  162. package/dist/esm/urlFor.js +1 -1
  163. package/dist/esm/ustream-api-d3714624.js +1 -1
  164. package/package.json +114 -114
  165. package/dist/cjs/urlForFile-29d3815a.js +0 -24
  166. package/dist/esm/urlForFile-b69adffc.js +0 -22
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
243
243
  if (cventAccessToken && cventAccessToken !== 'undefined') {
244
244
  setAccessToken(cventAccessToken);
245
245
  } else {
246
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
247
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
248
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
249
- fetch(url, {
250
- headers: {
251
- 'Content-Type': 'application/x-www-form-urlencoded',
252
- Authorization: `Basic ${encodedData}`
253
- },
254
- method: 'POST',
255
- body: `grant_type=client_credentials&client_id=${clientId}`
256
- })
257
- .then((response) => response.json())
258
- .then((json) => {
259
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
260
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
261
- setAccessToken(json.access_token)
262
- })
246
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
247
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
248
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
249
+ fetch(url, {
250
+ headers: {
251
+ 'Content-Type': 'application/x-www-form-urlencoded',
252
+ Authorization: `Basic ${encodedData}`
253
+ },
254
+ method: 'POST',
255
+ body: `grant_type=client_credentials&client_id=${clientId}`
256
+ })
257
+ .then((response) => response.json())
258
+ .then((json) => {
259
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
260
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
261
+ setAccessToken(json.access_token)
262
+ })
263
263
  .catch((e) => console.log(e))*/
264
264
  // hello
265
265
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -837,4 +837,4 @@ var EventsDeck = function EventsDeck(_ref) {
837
837
  }
838
838
  };
839
839
 
840
- export default EventsDeck;
840
+ export { EventsDeck as default };
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
4
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
- import { g as getSerializers } from './index-4d8a8743.js';
5
+ import { g as getSerializers } from './index-490f4f21.js';
6
6
  import { m as momentTimezone } from './index-79cfd25c.js';
7
7
  import { useRouter } from 'next/router';
8
8
  import Button from 'react-bootstrap/Button';
@@ -25,7 +25,6 @@ import './_library-528f1934.js';
25
25
  import './_iter-detect-98db3b07.js';
26
26
  import './Segment.js';
27
27
  import './main-1894c974.js';
28
- import './urlForFile-b69adffc.js';
29
28
  import './index-755f2cc2.js';
30
29
  import 'react-dom';
31
30
  import './typeof-e9fc0c5d.js';
@@ -206,4 +205,4 @@ var ExternalResources = function ExternalResources(props) {
206
205
  );
207
206
  };
208
207
 
209
- export default ExternalResources;
208
+ export { ExternalResources as default };
@@ -119,4 +119,4 @@ var Feature = function Feature(props) {
119
119
  );
120
120
  };
121
121
 
122
- export default Feature;
122
+ export { Feature as default };
@@ -128,4 +128,4 @@ var fbsHero = function fbsHero(props) {
128
128
  );
129
129
  };
130
130
 
131
- export default fbsHero;
131
+ export { fbsHero as default };
@@ -785,4 +785,4 @@ var GridContent = function (_React$Component) {
785
785
 
786
786
  var GridContent$1 = React__default.memo(withRouter(GridContent));
787
787
 
788
- export default GridContent$1;
788
+ export { GridContent$1 as default };
@@ -688,4 +688,4 @@ var GridContent = function (_React$Component) {
688
688
 
689
689
  var GridContentPaginated = React__default.memo(withRouter(GridContent));
690
690
 
691
- export default GridContentPaginated;
691
+ export { GridContentPaginated as default };
@@ -138,4 +138,4 @@ var GridHero = function GridHero(props) {
138
138
  );
139
139
  };
140
140
 
141
- export default GridHero;
141
+ export { GridHero as default };
@@ -305,4 +305,4 @@ var GroupDeck = function GroupDeck(props) {
305
305
  );
306
306
  };
307
307
 
308
- export default GroupDeck;
308
+ export { GroupDeck as default };
@@ -26,15 +26,15 @@ import './_library-528f1934.js';
26
26
  import './_iter-detect-98db3b07.js';
27
27
 
28
28
  var HamMagazine = function HamMagazine(props) {
29
- /*
30
- Example Nav with acceptable props
31
- <MagazineNav
32
- showLogin
33
- logo={props.settings.logo}
34
- dataObject={props.cache.mainNavCache}
35
- website={website}
36
- subNav={props.cache.subNavCache}
37
- />
29
+ /*
30
+ Example Nav with acceptable props
31
+ <MagazineNav
32
+ showLogin
33
+ logo={props.settings.logo}
34
+ dataObject={props.cache.mainNavCache}
35
+ website={website}
36
+ subNav={props.cache.subNavCache}
37
+ />
38
38
  */
39
39
 
40
40
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -586,5 +586,4 @@ var HamMagazine = function HamMagazine(props) {
586
586
  );
587
587
  };
588
588
 
589
- export default HamMagazine;
590
- export { HamMagazine };
589
+ export { HamMagazine, HamMagazine as default };
@@ -26,5 +26,4 @@ var Header = function Header(props) {
26
26
 
27
27
  var Header$1 = React__default.memo(Header);
28
28
 
29
- export default Header$1;
30
- export { Header };
29
+ export { Header, Header$1 as default };
package/dist/esm/Hero.js CHANGED
@@ -39,4 +39,4 @@ var Hero = function Hero(_ref) {
39
39
  );
40
40
  };
41
41
 
42
- export default Hero;
42
+ export { Hero as default };
@@ -60,4 +60,4 @@ var HighlightenVideo = function HighlightenVideo(_ref) {
60
60
  }
61
61
  };
62
62
 
63
- export default HighlightenVideo;
63
+ export { HighlightenVideo as default };
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import ArticleCarousel from './ArticleCarousel.js';
4
4
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-4d8a8743.js';
6
+ import { g as getSerializers } from './index-490f4f21.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -30,7 +30,6 @@ import './asyncToGenerator-5ef104a7.js';
30
30
  import './_library-528f1934.js';
31
31
  import './_iter-detect-98db3b07.js';
32
32
  import './Segment.js';
33
- import './urlForFile-b69adffc.js';
34
33
  import './typeof-e9fc0c5d.js';
35
34
  import './_is-array-8d21b9e3.js';
36
35
  import './brightcove-react-player-loader.es-57a70a56.js';
@@ -155,4 +154,4 @@ function HorizontalArticleListing(_ref) {
155
154
  );
156
155
  }
157
156
 
158
- export default HorizontalArticleListing;
157
+ export { HorizontalArticleListing as default };
@@ -102,4 +102,4 @@ var HorizontalHero = function HorizontalHero(props) {
102
102
  );
103
103
  };
104
104
 
105
- export default HorizontalHero;
105
+ export { HorizontalHero as default };
@@ -228,4 +228,4 @@ var IssueContentDeck = function IssueContentDeck(props) {
228
228
  );
229
229
  };
230
230
 
231
- export default IssueContentDeck;
231
+ export { IssueContentDeck as default };
@@ -255,4 +255,4 @@ var IssueDeck = function IssueDeck(props) {
255
255
  );
256
256
  };
257
257
 
258
- export default IssueDeck;
258
+ export { IssueDeck as default };
@@ -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-4d8a8743.js';
6
+ import { g as getSerializers } from './index-490f4f21.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -44,7 +44,6 @@ import './timeDifferenceCalc.js';
44
44
  import 'react-bootstrap/Breadcrumb';
45
45
  import './index-c7e2ac95.js';
46
46
  import './util-8ed16d48.js';
47
- import './urlForFile-b69adffc.js';
48
47
  import './typeof-e9fc0c5d.js';
49
48
  import './_is-array-8d21b9e3.js';
50
49
  import './brightcove-react-player-loader.es-57a70a56.js';
@@ -68,35 +67,35 @@ import 'react-bootstrap/OverlayTrigger';
68
67
  import 'react-bootstrap/Tooltip';
69
68
  import 'react-bootstrap/Popover';
70
69
 
71
- /* usage
72
- import Settings, { Ads } from '../../../../settings'
73
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
74
- import client from '../../../../client'
75
- import moment from 'moment'
76
- import Shell from '../../../../components/2.0/Shell'
77
- import { pageview } from '../../../../utilities/gtag'
78
-
79
- const Issue = (props) => {
80
- const { pubIssue, cache } = props
81
- const targeting = {
82
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
83
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
84
- }
85
- return (
86
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
87
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
88
- </Shell>
89
- )
90
- }
91
-
92
- Issue.getInitialProps = async (ctx) => {
93
- const { query } = ctx
94
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
95
- )
96
- return { pubIssue }
97
- }
98
-
99
- export default Issue
70
+ /* usage
71
+ import Settings, { Ads } from '../../../../settings'
72
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
73
+ import client from '../../../../client'
74
+ import moment from 'moment'
75
+ import Shell from '../../../../components/2.0/Shell'
76
+ import { pageview } from '../../../../utilities/gtag'
77
+
78
+ const Issue = (props) => {
79
+ const { pubIssue, cache } = props
80
+ const targeting = {
81
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
82
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
83
+ }
84
+ return (
85
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
86
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
87
+ </Shell>
88
+ )
89
+ }
90
+
91
+ Issue.getInitialProps = async (ctx) => {
92
+ const { query } = ctx
93
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
94
+ )
95
+ return { pubIssue }
96
+ }
97
+
98
+ export default Issue
100
99
  */
101
100
 
102
101
  var IssueLanding = function IssueLanding(props) {
@@ -159,4 +158,4 @@ var IssueLanding = function IssueLanding(props) {
159
158
  );
160
159
  };
161
160
 
162
- export default IssueLanding;
161
+ export { IssueLanding as default };
@@ -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
- export default KMTracker;
25
+ export { KMTracker as default };
@@ -133,5 +133,4 @@ var LeftNav = function LeftNav(props) {
133
133
 
134
134
  var LeftNav$1 = React__default.memo(LeftNav);
135
135
 
136
- export default LeftNav$1;
137
- export { LeftNav };
136
+ export { LeftNav, LeftNav$1 as default };
@@ -223,14 +223,14 @@ var MasterDeck = function (_React$Component) {
223
223
  }
224
224
 
225
225
  // please leave this for later debug purpose : Yong Jun.
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
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
234
234
  }) */
235
235
 
236
236
  if (pageview) {
@@ -545,4 +545,4 @@ var MasterDeck = function (_React$Component) {
545
545
 
546
546
  var MasterDeck$1 = withRouter(MasterDeck);
547
547
 
548
- export default MasterDeck$1;
548
+ export { MasterDeck$1 as default };
@@ -107,14 +107,14 @@ var MasterDeck = function (_React$Component) {
107
107
  }
108
108
 
109
109
  // please leave this for later debug purpose : Yong Jun.
110
- /* console.log('page change reported', {
111
- currentPage: currentPage,
112
- pageNumber: pageNumber,
113
- pathname: pathname,
114
- path: path,
115
- newPath: newPath,
116
- firstPage: pageNumber === 1,
117
- queryString: queryString
110
+ /* console.log('page change reported', {
111
+ currentPage: currentPage,
112
+ pageNumber: pageNumber,
113
+ pathname: pathname,
114
+ path: path,
115
+ newPath: newPath,
116
+ firstPage: pageNumber === 1,
117
+ queryString: queryString
118
118
  }) */
119
119
 
120
120
  if (pageview) {
@@ -456,4 +456,4 @@ var MasterDeck = function (_React$Component) {
456
456
 
457
457
  var MasterDeck$1 = withRouter(MasterDeck);
458
458
 
459
- export default MasterDeck$1;
459
+ export { MasterDeck$1 as default };
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
9
9
  import { m as moment } from './moment-bc12cb97.js';
10
10
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
11
11
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
12
- import { g as getSerializers } from './index-4d8a8743.js';
12
+ import { g as getSerializers } from './index-490f4f21.js';
13
13
 
14
14
  /**
15
15
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -2626,45 +2626,6 @@ function getBasePlacement(placement) {
2626
2626
  return placement.split('-')[0];
2627
2627
  }
2628
2628
 
2629
- function getBoundingClientRect(element) {
2630
- var rect = element.getBoundingClientRect();
2631
- return {
2632
- width: rect.width,
2633
- height: rect.height,
2634
- top: rect.top,
2635
- right: rect.right,
2636
- bottom: rect.bottom,
2637
- left: rect.left,
2638
- x: rect.left,
2639
- y: rect.top
2640
- };
2641
- }
2642
-
2643
- // means it doesn't take into account transforms.
2644
-
2645
- function getLayoutRect(element) {
2646
- var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2647
- // Fixes https://github.com/popperjs/popper-core/issues/1223
2648
-
2649
- var width = element.offsetWidth;
2650
- var height = element.offsetHeight;
2651
-
2652
- if (Math.abs(clientRect.width - width) <= 1) {
2653
- width = clientRect.width;
2654
- }
2655
-
2656
- if (Math.abs(clientRect.height - height) <= 1) {
2657
- height = clientRect.height;
2658
- }
2659
-
2660
- return {
2661
- x: element.offsetLeft,
2662
- y: element.offsetTop,
2663
- width: width,
2664
- height: height
2665
- };
2666
- }
2667
-
2668
2629
  function getWindow(node) {
2669
2630
  if (node == null) {
2670
2631
  return window;
@@ -2698,6 +2659,59 @@ function isShadowRoot(node) {
2698
2659
  return node instanceof OwnElement || node instanceof ShadowRoot;
2699
2660
  }
2700
2661
 
2662
+ var round$1 = Math.round;
2663
+ function getBoundingClientRect(element, includeScale) {
2664
+ if (includeScale === void 0) {
2665
+ includeScale = false;
2666
+ }
2667
+
2668
+ var rect = element.getBoundingClientRect();
2669
+ var scaleX = 1;
2670
+ var scaleY = 1;
2671
+
2672
+ if (isHTMLElement(element) && includeScale) {
2673
+ // Fallback to 1 in case both values are `0`
2674
+ scaleX = rect.width / element.offsetWidth || 1;
2675
+ scaleY = rect.height / element.offsetHeight || 1;
2676
+ }
2677
+
2678
+ return {
2679
+ width: round$1(rect.width / scaleX),
2680
+ height: round$1(rect.height / scaleY),
2681
+ top: round$1(rect.top / scaleY),
2682
+ right: round$1(rect.right / scaleX),
2683
+ bottom: round$1(rect.bottom / scaleY),
2684
+ left: round$1(rect.left / scaleX),
2685
+ x: round$1(rect.left / scaleX),
2686
+ y: round$1(rect.top / scaleY)
2687
+ };
2688
+ }
2689
+
2690
+ // means it doesn't take into account transforms.
2691
+
2692
+ function getLayoutRect(element) {
2693
+ var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2694
+ // Fixes https://github.com/popperjs/popper-core/issues/1223
2695
+
2696
+ var width = element.offsetWidth;
2697
+ var height = element.offsetHeight;
2698
+
2699
+ if (Math.abs(clientRect.width - width) <= 1) {
2700
+ width = clientRect.width;
2701
+ }
2702
+
2703
+ if (Math.abs(clientRect.height - height) <= 1) {
2704
+ height = clientRect.height;
2705
+ }
2706
+
2707
+ return {
2708
+ x: element.offsetLeft,
2709
+ y: element.offsetTop,
2710
+ width: width,
2711
+ height: height
2712
+ };
2713
+ }
2714
+
2701
2715
  function contains$1(parent, child) {
2702
2716
  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
2703
2717
 
@@ -3924,16 +3938,24 @@ function getNodeScroll(node) {
3924
3938
  }
3925
3939
  }
3926
3940
 
3941
+ function isElementScaled(element) {
3942
+ var rect = element.getBoundingClientRect();
3943
+ var scaleX = rect.width / element.offsetWidth || 1;
3944
+ var scaleY = rect.height / element.offsetHeight || 1;
3945
+ return scaleX !== 1 || scaleY !== 1;
3946
+ } // Returns the composite rect of an element relative to its offsetParent.
3927
3947
  // Composite means it takes into account transforms as well as layout.
3928
3948
 
3949
+
3929
3950
  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3930
3951
  if (isFixed === void 0) {
3931
3952
  isFixed = false;
3932
3953
  }
3933
3954
 
3934
- var documentElement = getDocumentElement(offsetParent);
3935
- var rect = getBoundingClientRect(elementOrVirtualElement);
3936
3955
  var isOffsetParentAnElement = isHTMLElement(offsetParent);
3956
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
3957
+ var documentElement = getDocumentElement(offsetParent);
3958
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
3937
3959
  var scroll = {
3938
3960
  scrollLeft: 0,
3939
3961
  scrollTop: 0
@@ -3950,7 +3972,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3950
3972
  }
3951
3973
 
3952
3974
  if (isHTMLElement(offsetParent)) {
3953
- offsets = getBoundingClientRect(offsetParent);
3975
+ offsets = getBoundingClientRect(offsetParent, true);
3954
3976
  offsets.x += offsetParent.clientLeft;
3955
3977
  offsets.y += offsetParent.clientTop;
3956
3978
  } else if (documentElement) {
@@ -9427,7 +9449,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
9427
9449
  Tooltip.defaultProps = defaultProps;
9428
9450
  Tooltip.displayName = 'Tooltip';
9429
9451
 
9430
- 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";
9452
+ var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
9431
9453
  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" };
9432
9454
  styleInject(css);
9433
9455
 
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-e1249ccb.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-30892d60.js';
7
7
  import './index-98ca9cec.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import MasterDeck from './MasterDeck.js';
11
11
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
12
- import { g as getSerializers } from './index-4d8a8743.js';
12
+ import { g as getSerializers } from './index-490f4f21.js';
13
13
  import './_commonjsHelpers-0c4b6f40.js';
14
14
  import './core.get-iterator-method-ea258bb1.js';
15
15
  import './web.dom.iterable-ab4dea5c.js';
@@ -50,7 +50,6 @@ import './ADInfeed-0a55cd2d.js';
50
50
  import 'react-bootstrap';
51
51
  import './index-c7e2ac95.js';
52
52
  import './util-8ed16d48.js';
53
- import './urlForFile-b69adffc.js';
54
53
  import './brightcove-react-player-loader.es-57a70a56.js';
55
54
  import './GroupDeck.js';
56
55
  import './smoothscroll-fa4e3f8c.js';
@@ -90,11 +89,11 @@ var Filter = function Filter(_ref) {
90
89
  _useState6 = _slicedToArray(_useState5, 2),
91
90
  grandChildData = _useState6[0],
92
91
  setGrandChildData = _useState6[1];
93
- /*
94
- {parent: showAll,
95
- chidlren: show selected from parent,
96
- grandchildren: show selected from children
97
- }
92
+ /*
93
+ {parent: showAll,
94
+ chidlren: show selected from parent,
95
+ grandchildren: show selected from children
96
+ }
98
97
  */
99
98
 
100
99
 
@@ -482,4 +481,4 @@ MediaSeriesLanding.getInitialData = function () {
482
481
  };
483
482
  }();
484
483
 
485
- export default MediaSeriesLanding;
484
+ export { MediaSeriesLanding as default };