@mjhls/mjh-framework 1.0.720 → 1.0.721-ad-test

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 (74) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/ADFloatingFooter.js +3 -3
  3. package/dist/cjs/AdSlot.js +1 -1
  4. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  5. package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
  6. package/dist/cjs/ConferenceArticleCard.js +15 -15
  7. package/dist/cjs/DeckContent.js +9 -9
  8. package/dist/cjs/EventsDeck.js +18 -18
  9. package/dist/cjs/ExternalResources.js +2 -2
  10. package/dist/cjs/GridContent.js +2 -2
  11. package/dist/cjs/HamMagazine.js +17 -16
  12. package/dist/cjs/HorizontalArticleListing.js +1 -1
  13. package/dist/cjs/IssueLanding.js +31 -31
  14. package/dist/cjs/KMTracker.js +15 -15
  15. package/dist/cjs/MasterDeck.js +10 -10
  16. package/dist/cjs/NavMagazine.js +10 -10
  17. package/dist/cjs/NavNative.js +9 -9
  18. package/dist/cjs/PartnerDetailListing.js +3 -3
  19. package/dist/cjs/PublicationLanding.js +33 -33
  20. package/dist/cjs/QueueDeckExpanded.js +2 -2
  21. package/dist/cjs/RelatedContent.js +28 -28
  22. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  23. package/dist/cjs/SideFooter.js +2 -2
  24. package/dist/cjs/TaxonomyDescription.js +1 -1
  25. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  26. package/dist/cjs/VideoSeriesCard.js +1 -1
  27. package/dist/cjs/VideoSeriesLandingPage.js +2 -2
  28. package/dist/cjs/View.js +3 -3
  29. package/dist/cjs/YoutubeGroup.js +4 -4
  30. package/dist/cjs/getSerializers.js +1 -1
  31. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-963303c6.js} +9 -9
  32. package/dist/cjs/getTargeting.js +1 -1
  33. package/dist/cjs/{index-4d74ffd6.js → index-cb6ed1fc.js} +29 -29
  34. package/dist/cjs/index.js +5 -5
  35. package/dist/esm/ADFloatingFooter.js +3 -3
  36. package/dist/esm/AdSlot.js +1 -1
  37. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  38. package/dist/esm/ArticleSeriesLandingPage.js +2 -2
  39. package/dist/esm/ConferenceArticleCard.js +15 -15
  40. package/dist/esm/DeckContent.js +9 -9
  41. package/dist/esm/EventsDeck.js +18 -18
  42. package/dist/esm/ExternalResources.js +2 -2
  43. package/dist/esm/GridContent.js +2 -2
  44. package/dist/esm/HamMagazine.js +17 -16
  45. package/dist/esm/HorizontalArticleListing.js +1 -1
  46. package/dist/esm/IssueLanding.js +31 -31
  47. package/dist/esm/KMTracker.js +15 -15
  48. package/dist/esm/MasterDeck.js +10 -10
  49. package/dist/esm/NavMagazine.js +10 -10
  50. package/dist/esm/NavNative.js +9 -9
  51. package/dist/esm/PartnerDetailListing.js +3 -3
  52. package/dist/esm/PublicationLanding.js +33 -33
  53. package/dist/esm/QueueDeckExpanded.js +2 -2
  54. package/dist/esm/RelatedContent.js +28 -28
  55. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  56. package/dist/esm/SideFooter.js +2 -2
  57. package/dist/esm/TaxonomyDescription.js +1 -1
  58. package/dist/esm/VideoProgramLandingPage.js +1 -1
  59. package/dist/esm/VideoSeriesCard.js +1 -1
  60. package/dist/esm/VideoSeriesLandingPage.js +2 -2
  61. package/dist/esm/View.js +3 -3
  62. package/dist/esm/YoutubeGroup.js +4 -4
  63. package/dist/esm/getSerializers.js +1 -1
  64. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-85315091.js} +9 -9
  65. package/dist/esm/getTargeting.js +1 -1
  66. package/dist/esm/{index-ccb770c7.js → index-750a7380.js} +29 -29
  67. package/dist/esm/index.js +5 -5
  68. package/package.json +105 -105
  69. /package/dist/cjs/{ADInfeed-2c7a6dd8.js → ADInfeed-922ce08c.js} +0 -0
  70. /package/dist/cjs/{ADlgInfeed-fb101797.js → ADlgInfeed-4fee6863.js} +0 -0
  71. /package/dist/cjs/{index-3ce0ae25.js → index-f05ea5ad.js} +0 -0
  72. /package/dist/esm/{ADInfeed-3ee501b9.js → ADInfeed-ed02c6ec.js} +0 -0
  73. /package/dist/esm/{ADlgInfeed-0bf06b17.js → ADlgInfeed-550d351e.js} +0 -0
  74. /package/dist/esm/{index-f98ea5e2.js → index-39873c27.js} +0 -0
package/README.md CHANGED
@@ -1,168 +1,168 @@
1
- # mjh-framework v. 1.0.720
2
-
3
- [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm install --save @mjhls/mjh-framework
9
- ```
10
-
11
- ## Usage
12
-
13
- ```jsx
14
- import React, { Component } from 'react'
15
-
16
- import { NavMagazine, DeckQueue } from 'mjh-framework'
17
-
18
- export default class App extends Component {
19
- render() {
20
- return (
21
- <div>
22
- <NavMagazine />
23
- <DeckQueue />
24
- </div>
25
- )
26
- }
27
- }
28
- ```
29
-
30
- ## Publish new updates to the npm registry
31
-
32
- ```bash
33
- npm publish
34
- ```
35
-
36
- ## For getting updates in the template without publishing each time a change is made in the framework
37
-
38
- Link react and react-dom of the template repo, so that it can be used by the framework.
39
- This is to avoid the error arising due to multiple instances of React.
40
-
41
- ```bash
42
- cd ../mjh-template/node_modules/react
43
-
44
- yarn link
45
-
46
- cd ../react-dom
47
-
48
- yarn link
49
-
50
- cd ../../../mjh-framework
51
-
52
- yarn link react && yarn link react-dom
53
- ```
54
-
55
- Link the framework repo so that it can be used in the template
56
-
57
- ```bash
58
- npm link
59
-
60
- cd ../mjh-template
61
-
62
- npm link @mjhls/mjh-framework
63
- ```
64
-
65
- ## Components and "props"
66
-
67
- ### Deck Components
68
-
69
- - #### DeckContent
70
-
71
- ##### Props
72
-
73
- - mapping
74
- - dataRecord
75
- - query
76
- - params
77
- - pointer
78
- - pointerArray
79
- - defaultImage
80
-
81
- - #### DeckQueue
82
- ##### Props
83
- - page
84
- - dataRecord
85
- - query
86
- - params
87
- - pointer
88
- - pointerArray
89
-
90
- ### Layout Components
91
-
92
- - #### Column1
93
- - #### Column2
94
- ##### Props
95
- - rightItems
96
- - #### Column3
97
- ##### Props
98
- - leftItems
99
- - rightItems
100
- ##### Common Props (Column1, Column2, Column3)
101
- - title
102
- - children
103
- - #### Header
104
- ##### Props
105
- - title
106
- - keyword
107
- - description
108
- - #### LeftNav
109
- ##### Props
110
- - leftItems
111
- - #### AccordionPanel
112
- ##### Props
113
- - accordionClassName
114
- - data
115
-
116
- ### Navigation Components
117
-
118
- - #### NavMagazine
119
- ##### Props
120
- - logo
121
- - dataObject
122
- - #### NavNative
123
- ##### Props
124
- - logo
125
- - dataObject
126
- - #### NavNormal
127
- ##### Props
128
- - logo
129
- - dataObject
130
- - variant
131
- - #### NavDvm
132
- ##### Props
133
- - logo
134
- - dataObject
135
- - subNavHeads
136
-
137
- ### Template Components
138
-
139
- - #### TemplateNormal
140
- ##### Props
141
- - config
142
- - title
143
- - keywords
144
- - description
145
- - website
146
-
147
- ### Ad Components
148
-
149
- - #### AD300x250
150
- - #### AD300x250x600
151
- - #### AD728x90
152
- ##### Common Props
153
- - networkID
154
- - adUnit
155
-
156
- ### Serializers
157
-
158
- - #### getSerializers (function)
159
- ##### arguments
160
- - client
161
- ##### types
162
- - youtube
163
- - figure
164
- - slideshow
165
-
166
- ## License
167
-
168
- MIT © [mjh-framework](https://github.com/mjh-framework)
1
+ # mjh-framework v. 1.0.721
2
+
3
+ [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install --save @mjhls/mjh-framework
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```jsx
14
+ import React, { Component } from 'react'
15
+
16
+ import { NavMagazine, DeckQueue } from 'mjh-framework'
17
+
18
+ export default class App extends Component {
19
+ render() {
20
+ return (
21
+ <div>
22
+ <NavMagazine />
23
+ <DeckQueue />
24
+ </div>
25
+ )
26
+ }
27
+ }
28
+ ```
29
+
30
+ ## Publish new updates to the npm registry
31
+
32
+ ```bash
33
+ npm publish
34
+ ```
35
+
36
+ ## For getting updates in the template without publishing each time a change is made in the framework
37
+
38
+ Link react and react-dom of the template repo, so that it can be used by the framework.
39
+ This is to avoid the error arising due to multiple instances of React.
40
+
41
+ ```bash
42
+ cd ../mjh-template/node_modules/react
43
+
44
+ yarn link
45
+
46
+ cd ../react-dom
47
+
48
+ yarn link
49
+
50
+ cd ../../../mjh-framework
51
+
52
+ yarn link react && yarn link react-dom
53
+ ```
54
+
55
+ Link the framework repo so that it can be used in the template
56
+
57
+ ```bash
58
+ npm link
59
+
60
+ cd ../mjh-template
61
+
62
+ npm link @mjhls/mjh-framework
63
+ ```
64
+
65
+ ## Components and "props"
66
+
67
+ ### Deck Components
68
+
69
+ - #### DeckContent
70
+
71
+ ##### Props
72
+
73
+ - mapping
74
+ - dataRecord
75
+ - query
76
+ - params
77
+ - pointer
78
+ - pointerArray
79
+ - defaultImage
80
+
81
+ - #### DeckQueue
82
+ ##### Props
83
+ - page
84
+ - dataRecord
85
+ - query
86
+ - params
87
+ - pointer
88
+ - pointerArray
89
+
90
+ ### Layout Components
91
+
92
+ - #### Column1
93
+ - #### Column2
94
+ ##### Props
95
+ - rightItems
96
+ - #### Column3
97
+ ##### Props
98
+ - leftItems
99
+ - rightItems
100
+ ##### Common Props (Column1, Column2, Column3)
101
+ - title
102
+ - children
103
+ - #### Header
104
+ ##### Props
105
+ - title
106
+ - keyword
107
+ - description
108
+ - #### LeftNav
109
+ ##### Props
110
+ - leftItems
111
+ - #### AccordionPanel
112
+ ##### Props
113
+ - accordionClassName
114
+ - data
115
+
116
+ ### Navigation Components
117
+
118
+ - #### NavMagazine
119
+ ##### Props
120
+ - logo
121
+ - dataObject
122
+ - #### NavNative
123
+ ##### Props
124
+ - logo
125
+ - dataObject
126
+ - #### NavNormal
127
+ ##### Props
128
+ - logo
129
+ - dataObject
130
+ - variant
131
+ - #### NavDvm
132
+ ##### Props
133
+ - logo
134
+ - dataObject
135
+ - subNavHeads
136
+
137
+ ### Template Components
138
+
139
+ - #### TemplateNormal
140
+ ##### Props
141
+ - config
142
+ - title
143
+ - keywords
144
+ - description
145
+ - website
146
+
147
+ ### Ad Components
148
+
149
+ - #### AD300x250
150
+ - #### AD300x250x600
151
+ - #### AD728x90
152
+ ##### Common Props
153
+ - networkID
154
+ - adUnit
155
+
156
+ ### Serializers
157
+
158
+ - #### getSerializers (function)
159
+ ##### arguments
160
+ - client
161
+ ##### types
162
+ - youtube
163
+ - figure
164
+ - slideshow
165
+
166
+ ## License
167
+
168
+ MIT © [mjh-framework](https://github.com/mjh-framework)
@@ -113,9 +113,9 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
113
113
  parent.classList.add('display-floating');
114
114
  }
115
115
  // Need to add this CSS in site level magazine.css to make the close button visible for the expanded ad.
116
- /* .w7e-platform-58 {
117
- z-index: 9999999 !important;
118
- }
116
+ /* .w7e-platform-58 {
117
+ z-index: 9999999 !important;
118
+ }
119
119
  */
120
120
  }
121
121
  } else {
@@ -99,7 +99,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
99
99
  onSlotRender: function onSlotRender(eventData) {
100
100
  // Updating the condition to remove the dependency on static slotId.
101
101
  if (eventData && eventData.event && checkIsAdFound !== null) {
102
- if (eventData.event.creativeId == null) {
102
+ if (eventData.event.creativeId == null && eventData.event.campaignId == null && eventData.event.advertiserId == null) {
103
103
  checkIsAdFound(false, eventData);
104
104
  } else {
105
105
  checkIsAdFound(true, eventData);
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-db24842a.js');
5
5
  var _extends = require('./extends-1e24fc8d.js');
6
6
  var React = require('react');
7
7
  var BlockContent = require('./BlockContent-eca358e4.js');
8
- var getSerializers = require('./index-3ce0ae25.js');
8
+ var getSerializers = require('./index-f05ea5ad.js');
9
9
  var ArticleSeriesListing = require('./ArticleSeriesListing.js');
10
10
  require('./_commonjsHelpers-06173234.js');
11
11
  require('./es6.string.iterator-20d42c53.js');
@@ -34,14 +34,14 @@ require('./index.es-f3e47207.js');
34
34
  require('./visibility-sensor-8b54af99.js');
35
35
  require('react-dom');
36
36
  require('./index-d48b231c.js');
37
- require('./ADlgInfeed-fb101797.js');
37
+ require('./ADlgInfeed-4fee6863.js');
38
38
  require('./stringify-01cf47f7.js');
39
39
  require('./slicedToArray-db24842a.js');
40
40
  require('./AdSlot.js');
41
41
  require('./Beam.js');
42
42
  require('./Segment.js');
43
43
  require('./main-dc082238.js');
44
- require('./ADInfeed-2c7a6dd8.js');
44
+ require('./ADInfeed-922ce08c.js');
45
45
 
46
46
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
47
47
 
@@ -9,21 +9,21 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
11
 
12
- /*
13
- Example usage - targetedonc.com/latest-conference
14
- const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
15
- ...,
16
- title,
17
- summary,
18
- thumbnail,
19
- url,
20
- published,
21
- documentGroup->,
22
- contentCategory->,
23
- 'pageNumber': ${currentPage}
24
- }`
25
-
26
- const posts = await client.fetch(query, params)
12
+ /*
13
+ Example usage - targetedonc.com/latest-conference
14
+ const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
15
+ ...,
16
+ title,
17
+ summary,
18
+ thumbnail,
19
+ url,
20
+ published,
21
+ documentGroup->,
22
+ contentCategory->,
23
+ 'pageNumber': ${currentPage}
24
+ }`
25
+
26
+ const posts = await client.fetch(query, params)
27
27
  */
28
28
 
29
29
  var ConferenceArticleCard = function ConferenceArticleCard(props) {
@@ -18,7 +18,7 @@ var index = require('./index-d48b231c.js');
18
18
  var index$2 = require('./index-80f57cff.js');
19
19
  var main = require('./main-dc082238.js');
20
20
  var entities = require('./entities-3f9d0f2f.js');
21
- var ADInfeed = require('./ADInfeed-2c7a6dd8.js');
21
+ var ADInfeed = require('./ADInfeed-922ce08c.js');
22
22
  require('./_commonjsHelpers-06173234.js');
23
23
  require('./es6.string.iterator-20d42c53.js');
24
24
  require('./_to-object-821a2927.js');
@@ -189,14 +189,14 @@ var DeckContent = function (_React$Component) {
189
189
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
190
190
 
191
191
  // please leave this for later debug purpose : Yong Jun.
192
- /* console.log('page change reported', {
193
- currentPage: currentPage,
194
- pageNumber: pageNumber,
195
- pathname: pathname,
196
- path: path,
197
- newPath: newPath,
198
- firstPage: pageNumber === 1,
199
- queryString: queryString
192
+ /* console.log('page change reported', {
193
+ currentPage: currentPage,
194
+ pageNumber: pageNumber,
195
+ pathname: pathname,
196
+ path: path,
197
+ newPath: newPath,
198
+ firstPage: pageNumber === 1,
199
+ queryString: queryString
200
200
  }) */
201
201
 
202
202
  if (pageview) {
@@ -18,7 +18,7 @@ var Card = require('react-bootstrap/Card');
18
18
  var Form = require('react-bootstrap/Form');
19
19
  var Button = require('react-bootstrap/Button');
20
20
  require('./main-dc082238.js');
21
- var index = require('./index-4d74ffd6.js');
21
+ var index = require('./index-cb6ed1fc.js');
22
22
  var js_cookie = require('./js.cookie-a511c430.js');
23
23
  var Router = require('next/router');
24
24
  require('./define-property-aff11f8a.js');
@@ -258,23 +258,23 @@ var EventsDeck = function EventsDeck(_ref) {
258
258
  if (cventAccessToken && cventAccessToken !== 'undefined') {
259
259
  setAccessToken(cventAccessToken);
260
260
  } else {
261
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
262
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
263
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
264
- fetch(url, {
265
- headers: {
266
- 'Content-Type': 'application/x-www-form-urlencoded',
267
- Authorization: `Basic ${encodedData}`
268
- },
269
- method: 'POST',
270
- body: `grant_type=client_credentials&client_id=${clientId}`
271
- })
272
- .then((response) => response.json())
273
- .then((json) => {
274
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
275
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
276
- setAccessToken(json.access_token)
277
- })
261
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
262
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
263
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
264
+ fetch(url, {
265
+ headers: {
266
+ 'Content-Type': 'application/x-www-form-urlencoded',
267
+ Authorization: `Basic ${encodedData}`
268
+ },
269
+ method: 'POST',
270
+ body: `grant_type=client_credentials&client_id=${clientId}`
271
+ })
272
+ .then((response) => response.json())
273
+ .then((json) => {
274
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
275
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
276
+ setAccessToken(json.access_token)
277
+ })
278
278
  .catch((e) => console.log(e))*/
279
279
  // hello
280
280
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -4,8 +4,8 @@ var _extends = require('./extends-1e24fc8d.js');
4
4
  var slicedToArray = require('./slicedToArray-db24842a.js');
5
5
  var React = require('react');
6
6
  var BlockContent = require('./BlockContent-eca358e4.js');
7
- var getSerializers = require('./index-3ce0ae25.js');
8
- var index = require('./index-4d74ffd6.js');
7
+ var getSerializers = require('./index-f05ea5ad.js');
8
+ var index = require('./index-cb6ed1fc.js');
9
9
  var Router = require('next/router');
10
10
  var Button = require('react-bootstrap/Button');
11
11
  require('./_commonjsHelpers-06173234.js');
@@ -14,9 +14,9 @@ var moment = require('./moment-aca40de1.js');
14
14
  var Router = require('next/router');
15
15
  var index$2 = require('./index-80f57cff.js');
16
16
  var entities = require('./entities-3f9d0f2f.js');
17
- var ADInfeed = require('./ADInfeed-2c7a6dd8.js');
17
+ var ADInfeed = require('./ADInfeed-922ce08c.js');
18
18
  var lodash = require('./lodash-4ef21f0f.js');
19
- var ADlgInfeed = require('./ADlgInfeed-fb101797.js');
19
+ var ADlgInfeed = require('./ADlgInfeed-4fee6863.js');
20
20
  var getContentCategory = require('./getContentCategory-f38a4c00.js');
21
21
  var get = require('./get-68c52cb1.js');
22
22
  var debounce = require('./debounce-eb287781.js');
@@ -41,15 +41,15 @@ var Navbar__default = /*#__PURE__*/_interopDefaultLegacy(Navbar);
41
41
  var NavDropdown__default = /*#__PURE__*/_interopDefaultLegacy(NavDropdown);
42
42
 
43
43
  var HamMagazine = function HamMagazine(props) {
44
- /*
45
- Example Nav with acceptable props
46
- <MagazineNav
47
- showLogin
48
- logo={props.settings.logo}
49
- dataObject={props.cache.mainNavCache}
50
- website={website}
51
- subNav={props.cache.subNavCache}
52
- />
44
+ /*
45
+ Example Nav with acceptable props
46
+ <MagazineNav
47
+ showLogin
48
+ logo={props.settings.logo}
49
+ dataObject={props.cache.mainNavCache}
50
+ website={website}
51
+ subNav={props.cache.subNavCache}
52
+ />
53
53
  */
54
54
 
55
55
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -178,7 +178,8 @@ var HamMagazine = function HamMagazine(props) {
178
178
  }
179
179
  }
180
180
  var stickyNav = window.addEventListener('scroll', function () {
181
- if (window.pageYOffset > navOffsetTop) {
181
+ // Taking into consideration the height of the top navbar while setting the navigation fixed
182
+ if (window && topNavRef && topNavRef.current && window.pageYOffset !== 0 && window.pageYOffset + topNavRef.current.clientHeight > navOffsetTop) {
182
183
  if (navRef.current && navRef.current.style) {
183
184
  navRef.current.style.position = 'fixed';
184
185
  if (mastNav && mastNav.offsetHeight) navRef.current.style.top = mastNav.offsetHeight;
@@ -455,13 +456,13 @@ var HamMagazine = function HamMagazine(props) {
455
456
  } else {
456
457
  return row.url && row.name ? React__default['default'].createElement(
457
458
  'a',
458
- { key: index,
459
+ {
460
+ key: index,
459
461
  needsegmentsupport: row.needSegmentSupport ? 'true' : '',
460
462
  href: row.url,
461
463
  target: row.blank ? '_blank' : '_self',
462
464
  rel: 'noopener noreferrer',
463
- className: 'nav-link'
464
- },
465
+ className: 'nav-link' },
465
466
  row.name
466
467
  ) : null;
467
468
  }
@@ -536,13 +537,13 @@ var HamMagazine = function HamMagazine(props) {
536
537
  } else {
537
538
  return row.url && row.name ? React__default['default'].createElement(
538
539
  'a',
539
- { key: index,
540
+ {
541
+ key: index,
540
542
  needsegmentsupport: row.needSegmentSupport ? 'true' : '',
541
543
  href: row.url,
542
544
  target: row.blank ? '_blank' : '_self',
543
545
  rel: 'noopener noreferrer',
544
- className: 'nav-link'
545
- },
546
+ className: 'nav-link' },
546
547
  row.name
547
548
  ) : null;
548
549
  }
@@ -5,7 +5,7 @@ var React = require('react');
5
5
  var ArticleCarousel = require('./ArticleCarousel.js');
6
6
  var index_esm = require('./index.esm-974f47d9.js');
7
7
  var BlockContent = require('./BlockContent-eca358e4.js');
8
- var getSerializers = require('./index-3ce0ae25.js');
8
+ var getSerializers = require('./index-f05ea5ad.js');
9
9
  require('./_commonjsHelpers-06173234.js');
10
10
  require('./_to-object-821a2927.js');
11
11
  require('./_object-pie-68c5bcbc.js');