@mjhls/mjh-framework 1.0.754 → 1.0.755-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 (76) hide show
  1. package/README.md +167 -167
  2. package/dist/cjs/ADWelcome.js +22 -22
  3. package/dist/cjs/AdSlot.js +7 -6
  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 +9 -9
  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/PubSection.js +2 -2
  20. package/dist/cjs/PublicationLanding.js +33 -33
  21. package/dist/cjs/QueueDeckExpanded.js +2 -2
  22. package/dist/cjs/RelatedContent.js +28 -28
  23. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  24. package/dist/cjs/SideFooter.js +2 -2
  25. package/dist/cjs/TaxonomyDescription.js +1 -1
  26. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  27. package/dist/cjs/VideoSeriesCard.js +1 -1
  28. package/dist/cjs/VideoSeriesLandingPage.js +2 -2
  29. package/dist/cjs/View.js +7 -3
  30. package/dist/cjs/YoutubeGroup.js +4 -4
  31. package/dist/cjs/getSerializers.js +1 -1
  32. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-963303c6.js} +9 -9
  33. package/dist/cjs/getTargeting.js +1 -1
  34. package/dist/cjs/{index-4d74ffd6.js → index-cb6ed1fc.js} +29 -29
  35. package/dist/cjs/index.js +5 -5
  36. package/dist/esm/ADWelcome.js +22 -22
  37. package/dist/esm/AdSlot.js +7 -6
  38. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  39. package/dist/esm/ArticleSeriesLandingPage.js +2 -2
  40. package/dist/esm/ConferenceArticleCard.js +15 -15
  41. package/dist/esm/DeckContent.js +9 -9
  42. package/dist/esm/EventsDeck.js +18 -18
  43. package/dist/esm/ExternalResources.js +2 -2
  44. package/dist/esm/GridContent.js +2 -2
  45. package/dist/esm/HamMagazine.js +9 -9
  46. package/dist/esm/HorizontalArticleListing.js +1 -1
  47. package/dist/esm/IssueLanding.js +31 -31
  48. package/dist/esm/KMTracker.js +15 -15
  49. package/dist/esm/MasterDeck.js +10 -10
  50. package/dist/esm/NavMagazine.js +10 -10
  51. package/dist/esm/NavNative.js +9 -9
  52. package/dist/esm/PartnerDetailListing.js +3 -3
  53. package/dist/esm/PubSection.js +2 -2
  54. package/dist/esm/PublicationLanding.js +33 -33
  55. package/dist/esm/QueueDeckExpanded.js +2 -2
  56. package/dist/esm/RelatedContent.js +28 -28
  57. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  58. package/dist/esm/SideFooter.js +2 -2
  59. package/dist/esm/TaxonomyDescription.js +1 -1
  60. package/dist/esm/VideoProgramLandingPage.js +1 -1
  61. package/dist/esm/VideoSeriesCard.js +1 -1
  62. package/dist/esm/VideoSeriesLandingPage.js +2 -2
  63. package/dist/esm/View.js +7 -3
  64. package/dist/esm/YoutubeGroup.js +4 -4
  65. package/dist/esm/getSerializers.js +1 -1
  66. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-85315091.js} +9 -9
  67. package/dist/esm/getTargeting.js +1 -1
  68. package/dist/esm/{index-ccb770c7.js → index-750a7380.js} +29 -29
  69. package/dist/esm/index.js +5 -5
  70. package/package.json +107 -107
  71. /package/dist/cjs/{ADInfeed-5fe7fd9d.js → ADInfeed-bc6fea23.js} +0 -0
  72. /package/dist/cjs/{ADlgInfeed-a62d2f9b.js → ADlgInfeed-a3199e28.js} +0 -0
  73. /package/dist/cjs/{index-00b7a18a.js → index-5093052e.js} +0 -0
  74. /package/dist/esm/{ADInfeed-3a9eef39.js → ADInfeed-f914dac1.js} +0 -0
  75. /package/dist/esm/{ADlgInfeed-8d63ff91.js → ADlgInfeed-0ea9e586.js} +0 -0
  76. /package/dist/esm/{index-a7f9ce66.js → index-cdf9798a.js} +0 -0
package/README.md CHANGED
@@ -1,167 +1,167 @@
1
- # mjh-framework v. 1.0.754
2
- [![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)
3
-
4
- ## Install
5
-
6
- ```bash
7
- npm install --save @mjhls/mjh-framework
8
- ```
9
-
10
- ## Usage
11
-
12
- ```jsx
13
- import React, { Component } from 'react'
14
-
15
- import { NavMagazine, DeckQueue } from 'mjh-framework'
16
-
17
- export default class App extends Component {
18
- render() {
19
- return (
20
- <div>
21
- <NavMagazine />
22
- <DeckQueue />
23
- </div>
24
- )
25
- }
26
- }
27
- ```
28
-
29
- ## Publish new updates to the npm registry
30
-
31
- ```bash
32
- npm publish
33
- ```
34
-
35
- ## For getting updates in the template without publishing each time a change is made in the framework
36
-
37
- Link react and react-dom of the template repo, so that it can be used by the framework.
38
- This is to avoid the error arising due to multiple instances of React.
39
-
40
- ```bash
41
- cd ../mjh-template/node_modules/react
42
-
43
- yarn link
44
-
45
- cd ../react-dom
46
-
47
- yarn link
48
-
49
- cd ../../../mjh-framework
50
-
51
- yarn link react && yarn link react-dom
52
- ```
53
-
54
- Link the framework repo so that it can be used in the template
55
-
56
- ```bash
57
- npm link
58
-
59
- cd ../mjh-template
60
-
61
- npm link @mjhls/mjh-framework
62
- ```
63
-
64
- ## Components and "props"
65
-
66
- ### Deck Components
67
-
68
- - #### DeckContent
69
-
70
- ##### Props
71
-
72
- - mapping
73
- - dataRecord
74
- - query
75
- - params
76
- - pointer
77
- - pointerArray
78
- - defaultImage
79
-
80
- - #### DeckQueue
81
- ##### Props
82
- - page
83
- - dataRecord
84
- - query
85
- - params
86
- - pointer
87
- - pointerArray
88
-
89
- ### Layout Components
90
-
91
- - #### Column1
92
- - #### Column2
93
- ##### Props
94
- - rightItems
95
- - #### Column3
96
- ##### Props
97
- - leftItems
98
- - rightItems
99
- ##### Common Props (Column1, Column2, Column3)
100
- - title
101
- - children
102
- - #### Header
103
- ##### Props
104
- - title
105
- - keyword
106
- - description
107
- - #### LeftNav
108
- ##### Props
109
- - leftItems
110
- - #### AccordionPanel
111
- ##### Props
112
- - accordionClassName
113
- - data
114
-
115
- ### Navigation Components
116
-
117
- - #### NavMagazine
118
- ##### Props
119
- - logo
120
- - dataObject
121
- - #### NavNative
122
- ##### Props
123
- - logo
124
- - dataObject
125
- - #### NavNormal
126
- ##### Props
127
- - logo
128
- - dataObject
129
- - variant
130
- - #### NavDvm
131
- ##### Props
132
- - logo
133
- - dataObject
134
- - subNavHeads
135
-
136
- ### Template Components
137
-
138
- - #### TemplateNormal
139
- ##### Props
140
- - config
141
- - title
142
- - keywords
143
- - description
144
- - website
145
-
146
- ### Ad Components
147
-
148
- - #### AD300x250
149
- - #### AD300x250x600
150
- - #### AD728x90
151
- ##### Common Props
152
- - networkID
153
- - adUnit
154
-
155
- ### Serializers
156
-
157
- - #### getSerializers (function)
158
- ##### arguments
159
- - client
160
- ##### types
161
- - youtube
162
- - figure
163
- - slideshow
164
-
165
- ## License
166
-
167
- MIT © [mjh-framework](https://github.com/mjh-framework)
1
+ # mjh-framework v. 1.0.755
2
+ [![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)
3
+
4
+ ## Install
5
+
6
+ ```bash
7
+ npm install --save @mjhls/mjh-framework
8
+ ```
9
+
10
+ ## Usage
11
+
12
+ ```jsx
13
+ import React, { Component } from 'react'
14
+
15
+ import { NavMagazine, DeckQueue } from 'mjh-framework'
16
+
17
+ export default class App extends Component {
18
+ render() {
19
+ return (
20
+ <div>
21
+ <NavMagazine />
22
+ <DeckQueue />
23
+ </div>
24
+ )
25
+ }
26
+ }
27
+ ```
28
+
29
+ ## Publish new updates to the npm registry
30
+
31
+ ```bash
32
+ npm publish
33
+ ```
34
+
35
+ ## For getting updates in the template without publishing each time a change is made in the framework
36
+
37
+ Link react and react-dom of the template repo, so that it can be used by the framework.
38
+ This is to avoid the error arising due to multiple instances of React.
39
+
40
+ ```bash
41
+ cd ../mjh-template/node_modules/react
42
+
43
+ yarn link
44
+
45
+ cd ../react-dom
46
+
47
+ yarn link
48
+
49
+ cd ../../../mjh-framework
50
+
51
+ yarn link react && yarn link react-dom
52
+ ```
53
+
54
+ Link the framework repo so that it can be used in the template
55
+
56
+ ```bash
57
+ npm link
58
+
59
+ cd ../mjh-template
60
+
61
+ npm link @mjhls/mjh-framework
62
+ ```
63
+
64
+ ## Components and "props"
65
+
66
+ ### Deck Components
67
+
68
+ - #### DeckContent
69
+
70
+ ##### Props
71
+
72
+ - mapping
73
+ - dataRecord
74
+ - query
75
+ - params
76
+ - pointer
77
+ - pointerArray
78
+ - defaultImage
79
+
80
+ - #### DeckQueue
81
+ ##### Props
82
+ - page
83
+ - dataRecord
84
+ - query
85
+ - params
86
+ - pointer
87
+ - pointerArray
88
+
89
+ ### Layout Components
90
+
91
+ - #### Column1
92
+ - #### Column2
93
+ ##### Props
94
+ - rightItems
95
+ - #### Column3
96
+ ##### Props
97
+ - leftItems
98
+ - rightItems
99
+ ##### Common Props (Column1, Column2, Column3)
100
+ - title
101
+ - children
102
+ - #### Header
103
+ ##### Props
104
+ - title
105
+ - keyword
106
+ - description
107
+ - #### LeftNav
108
+ ##### Props
109
+ - leftItems
110
+ - #### AccordionPanel
111
+ ##### Props
112
+ - accordionClassName
113
+ - data
114
+
115
+ ### Navigation Components
116
+
117
+ - #### NavMagazine
118
+ ##### Props
119
+ - logo
120
+ - dataObject
121
+ - #### NavNative
122
+ ##### Props
123
+ - logo
124
+ - dataObject
125
+ - #### NavNormal
126
+ ##### Props
127
+ - logo
128
+ - dataObject
129
+ - variant
130
+ - #### NavDvm
131
+ ##### Props
132
+ - logo
133
+ - dataObject
134
+ - subNavHeads
135
+
136
+ ### Template Components
137
+
138
+ - #### TemplateNormal
139
+ ##### Props
140
+ - config
141
+ - title
142
+ - keywords
143
+ - description
144
+ - website
145
+
146
+ ### Ad Components
147
+
148
+ - #### AD300x250
149
+ - #### AD300x250x600
150
+ - #### AD728x90
151
+ ##### Common Props
152
+ - networkID
153
+ - adUnit
154
+
155
+ ### Serializers
156
+
157
+ - #### getSerializers (function)
158
+ ##### arguments
159
+ - client
160
+ ##### types
161
+ - youtube
162
+ - figure
163
+ - slideshow
164
+
165
+ ## License
166
+
167
+ MIT © [mjh-framework](https://github.com/mjh-framework)
@@ -59,35 +59,36 @@ var ADWelcome = function ADWelcome(_ref) {
59
59
  return --timeLeft;
60
60
  };
61
61
 
62
- var _useState = React.useState(counter),
62
+ var _useState = React.useState(null),
63
63
  _useState2 = slicedToArray._slicedToArray(_useState, 2),
64
64
  timeLeft = _useState2[0],
65
65
  setTimeLeft = _useState2[1];
66
66
 
67
- var _useState3 = React.useState(true),
68
- _useState4 = slicedToArray._slicedToArray(_useState3, 2);
69
- _useState4[0];
70
- var setPreviewAd = _useState4[1];
71
-
72
67
  React.useEffect(function () {
73
- var path = window && window.location && window.location.search;
74
- // Setting flag for Ad-preview URLs
75
- setPreviewAd(path.split('&').some(function (param) {
76
- return param.includes('creativeId');
77
- }));
78
- }, []);
68
+ if (timeLeft !== null) {
69
+ if (timeLeft > 0) {
70
+ setTimeout(function () {
71
+ setTimeLeft(calculateTimeLeft(timeLeft));
72
+ }, 1000);
73
+ } else {
74
+ document.body.style.overflow = 'auto';
75
+ setFlag(true);
76
+ }
77
+ }
78
+ }, [timeLeft]);
79
79
 
80
- React.useEffect(function () {
81
- if (timeLeft > 0) {
82
- document.body.style.overflow = 'hidden'; //To hide scrollbar while displaying Welcome Ad
83
- setTimeout(function () {
84
- setTimeLeft(calculateTimeLeft(timeLeft));
85
- }, 1000);
80
+ var checkIsAdFound = function checkIsAdFound(isFound, adData) {
81
+ if (isFound) {
82
+ var parent = document.getElementById('welcome-modal');
83
+ document.body.style.overflow = 'hidden';
84
+ parent.style.display = 'block';
85
+ parent.style.opacity = '1';
86
+ setTimeLeft(counter);
86
87
  } else {
87
88
  document.body.style.overflow = 'auto';
88
89
  setFlag(true);
89
90
  }
90
- });
91
+ };
91
92
 
92
93
  return (
93
94
  // Setting welcome ad to display:none and Setting to display:block after checking for cookie in site level.
@@ -142,9 +143,8 @@ var ADWelcome = function ADWelcome(_ref) {
142
143
  sizes: sizes,
143
144
  adUnit: adUnit,
144
145
  targeting: adTargeting,
145
- refreshFlag: false
146
- /* Passing function to check for ad creative only if it is not in preview. */
147
- // checkIsAdFound={previewAd ? null : checkIsAdFound}
146
+ refreshFlag: false,
147
+ checkIsAdFound: checkIsAdFound
148
148
  })
149
149
  ),
150
150
  React__default['default'].createElement(
@@ -37,8 +37,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
37
37
  targeting = _ref$targeting === undefined ? {} : _ref$targeting,
38
38
  _ref$refreshFlag = _ref.refreshFlag,
39
39
  refreshFlag = _ref$refreshFlag === undefined ? true : _ref$refreshFlag,
40
- _ref$checkIsAdFound = _ref.checkIsAdFound,
41
- checkIsAdFound = _ref$checkIsAdFound === undefined ? function () {} : _ref$checkIsAdFound,
40
+ checkIsAdFound = _ref.checkIsAdFound,
42
41
  _ref$setStickyAd = _ref.setStickyAd,
43
42
  setStickyAd = _ref$setStickyAd === undefined ? function () {} : _ref$setStickyAd;
44
43
 
@@ -98,11 +97,13 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
98
97
  },
99
98
  onSlotRender: function onSlotRender(eventData) {
100
99
  // Updating the condition to remove the dependency on static slotId.
101
- if (eventData && eventData.event && checkIsAdFound !== null) {
102
- if (eventData.event.creativeId == null && eventData.event.campaignId == null && eventData.event.advertiserId == null) {
103
- checkIsAdFound(false, eventData);
104
- } else {
100
+ console.log(eventData.event, 'EVENT DATA');
101
+ if (eventData && eventData.event && checkIsAdFound && checkIsAdFound !== null) {
102
+
103
+ if (eventData.event.size !== null && eventData.event.size.length) {
105
104
  checkIsAdFound(true, eventData);
105
+ } else {
106
+ checkIsAdFound(false, eventData);
106
107
  }
107
108
  }
108
109
 
@@ -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-00b7a18a.js');
8
+ var getSerializers = require('./index-5093052e.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-a62d2f9b.js');
37
+ require('./ADlgInfeed-a3199e28.js');
38
38
  require('./slicedToArray-db24842a.js');
39
39
  require('./AdSlot.js');
40
40
  require('./Beam.js');
41
41
  require('./stringify-01cf47f7.js');
42
42
  require('./Segment.js');
43
43
  require('./main-dc082238.js');
44
- require('./ADInfeed-5fe7fd9d.js');
44
+ require('./ADInfeed-bc6fea23.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-5fe7fd9d.js');
21
+ var ADInfeed = require('./ADInfeed-bc6fea23.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-00b7a18a.js');
8
- var index = require('./index-4d74ffd6.js');
7
+ var getSerializers = require('./index-5093052e.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-5fe7fd9d.js');
17
+ var ADInfeed = require('./ADInfeed-bc6fea23.js');
18
18
  var lodash = require('./lodash-4ef21f0f.js');
19
- var ADlgInfeed = require('./ADlgInfeed-a62d2f9b.js');
19
+ var ADlgInfeed = require('./ADlgInfeed-a3199e28.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
@@ -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-00b7a18a.js');
8
+ var getSerializers = require('./index-5093052e.js');
9
9
  require('./_commonjsHelpers-06173234.js');
10
10
  require('./_to-object-821a2927.js');
11
11
  require('./_object-pie-68c5bcbc.js');