@mjhls/mjh-framework 1.0.973-pratner-listing-nojs-v1 → 1.0.973-ptce-test-v2

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 (154) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -1
  4. package/dist/cjs/AD300x250x600.js +2 -1
  5. package/dist/cjs/AD728x90.js +2 -1
  6. package/dist/cjs/ADFloatingFooter.js +2 -1
  7. package/dist/cjs/ADGutter.js +2 -1
  8. package/dist/cjs/ADSkyscraper.js +2 -1
  9. package/dist/cjs/ADSponsoredResources.js +2 -1
  10. package/dist/cjs/ADWebcast.js +2 -1
  11. package/dist/cjs/ADWelcome.js +2 -1
  12. package/dist/cjs/AdSlot.js +2 -1
  13. package/dist/cjs/AdSlotsProvider.js +2 -1
  14. package/dist/cjs/AlgoliaSearch.js +14164 -17
  15. package/dist/cjs/ArticleProgramLandingPage.js +3 -2
  16. package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
  17. package/dist/cjs/ArticleSeriesListing.js +2 -1
  18. package/dist/cjs/AuthWrapper.js +3 -29
  19. package/dist/cjs/CMEDeck.js +2 -1
  20. package/dist/cjs/Column3.js +2 -1
  21. package/dist/cjs/ConferenceArticleCard.js +15 -15
  22. package/dist/cjs/ContentCardPaginated.js +5 -3
  23. package/dist/cjs/DeckContent.js +11 -10
  24. package/dist/cjs/DeckQueue.js +2 -1
  25. package/dist/cjs/DeckQueuePaginated.js +4 -2
  26. package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
  27. package/dist/cjs/EventsDeck.js +17 -17
  28. package/dist/cjs/ExternalResources.js +3 -2
  29. package/dist/cjs/GridContent.js +4 -3
  30. package/dist/cjs/GridContentPaginated.js +6 -4
  31. package/dist/cjs/HamMagazine.js +9 -9
  32. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  33. package/dist/cjs/HorizontalArticleListing.js +3 -2
  34. package/dist/cjs/IssueLanding.js +34 -33
  35. package/dist/cjs/KMTracker.js +15 -15
  36. package/dist/cjs/LeftNav.js +2 -1
  37. package/dist/cjs/MasterDeck.js +12 -11
  38. package/dist/cjs/MasterDeckPaginated.js +14 -12
  39. package/dist/cjs/{MediaSeriesCard-1a62916a.js → MediaSeriesCard-5bf9813e.js} +288 -384
  40. package/dist/cjs/MediaSeriesLanding.js +12 -10
  41. package/dist/cjs/MediaSeriesLandingPaginated.js +14 -11
  42. package/dist/cjs/NavMagazine.js +10 -10
  43. package/dist/cjs/NavNative.js +9 -9
  44. package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
  45. package/dist/cjs/PartnerDetailListing.js +29 -29
  46. package/dist/cjs/PartnerDetailListingPaginated.js +7 -5
  47. package/dist/cjs/PtceDeck.js +223 -0
  48. package/dist/cjs/PubSection.js +4 -3
  49. package/dist/cjs/PublicationLanding.js +26 -26
  50. package/dist/cjs/QueueDeckExpanded.js +4 -3
  51. package/dist/cjs/QueueDeckExpandedPaginated.js +6 -4
  52. package/dist/cjs/RelatedContent.js +28 -28
  53. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  54. package/dist/cjs/SeriesListingDeck.js +3 -2
  55. package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
  56. package/dist/cjs/SideFooter.js +2 -2
  57. package/dist/cjs/TaxonomyDescription.js +3 -2
  58. package/dist/cjs/TemplateNormal.js +2 -1
  59. package/dist/cjs/VideoProgramLandingPage.js +3 -2
  60. package/dist/cjs/VideoSeriesCard.js +1 -1
  61. package/dist/cjs/VideoSeriesLandingPage.js +4 -3
  62. package/dist/cjs/VideoSeriesListing.js +2 -1
  63. package/dist/cjs/View.js +12 -14
  64. package/dist/cjs/YoutubeGroup.js +4 -4
  65. package/dist/cjs/events-1b438fe7.js +469 -0
  66. package/dist/cjs/getPtceActivities.js +78 -0
  67. package/dist/cjs/getSerializers.js +7 -6
  68. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  69. package/dist/cjs/getTargeting.js +1 -1
  70. package/dist/cjs/index-50be6759.js +105 -0
  71. package/dist/cjs/{index-bb00ade7.js → index-eb1c583d.js} +30 -73
  72. package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
  73. package/dist/cjs/index.js +10 -7
  74. package/dist/cjs/typeof-1358762e.js +33 -0
  75. package/dist/esm/AD.js +1 -1
  76. package/dist/esm/AD300x250.js +2 -1
  77. package/dist/esm/AD300x250x600.js +2 -1
  78. package/dist/esm/AD728x90.js +2 -1
  79. package/dist/esm/ADFloatingFooter.js +2 -1
  80. package/dist/esm/ADGutter.js +2 -1
  81. package/dist/esm/ADSkyscraper.js +2 -1
  82. package/dist/esm/ADSponsoredResources.js +2 -1
  83. package/dist/esm/ADWebcast.js +2 -1
  84. package/dist/esm/ADWelcome.js +2 -1
  85. package/dist/esm/AdSlot.js +2 -1
  86. package/dist/esm/AdSlotsProvider.js +2 -1
  87. package/dist/esm/AlgoliaSearch.js +14158 -11
  88. package/dist/esm/ArticleProgramLandingPage.js +3 -2
  89. package/dist/esm/ArticleSeriesLandingPage.js +4 -3
  90. package/dist/esm/ArticleSeriesListing.js +2 -1
  91. package/dist/esm/AuthWrapper.js +2 -28
  92. package/dist/esm/CMEDeck.js +2 -1
  93. package/dist/esm/Column3.js +2 -1
  94. package/dist/esm/ConferenceArticleCard.js +15 -15
  95. package/dist/esm/ContentCardPaginated.js +5 -3
  96. package/dist/esm/DeckContent.js +11 -10
  97. package/dist/esm/DeckQueue.js +2 -1
  98. package/dist/esm/DeckQueuePaginated.js +4 -2
  99. package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
  100. package/dist/esm/EventsDeck.js +17 -17
  101. package/dist/esm/ExternalResources.js +3 -2
  102. package/dist/esm/GridContent.js +4 -3
  103. package/dist/esm/GridContentPaginated.js +6 -4
  104. package/dist/esm/HamMagazine.js +9 -9
  105. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  106. package/dist/esm/HorizontalArticleListing.js +3 -2
  107. package/dist/esm/IssueLanding.js +34 -33
  108. package/dist/esm/KMTracker.js +15 -15
  109. package/dist/esm/LeftNav.js +2 -1
  110. package/dist/esm/MasterDeck.js +12 -11
  111. package/dist/esm/MasterDeckPaginated.js +14 -12
  112. package/dist/esm/{MediaSeriesCard-146e08c8.js → MediaSeriesCard-305a9cb3.js} +3 -99
  113. package/dist/esm/MediaSeriesLanding.js +12 -10
  114. package/dist/esm/MediaSeriesLandingPaginated.js +14 -11
  115. package/dist/esm/NavMagazine.js +10 -10
  116. package/dist/esm/NavNative.js +9 -9
  117. package/dist/esm/Pagination-cd21f8c2.js +82 -0
  118. package/dist/esm/PartnerDetailListing.js +29 -29
  119. package/dist/esm/PartnerDetailListingPaginated.js +7 -5
  120. package/dist/esm/PtceDeck.js +215 -0
  121. package/dist/esm/PubSection.js +4 -3
  122. package/dist/esm/PublicationLanding.js +26 -26
  123. package/dist/esm/QueueDeckExpanded.js +4 -3
  124. package/dist/esm/QueueDeckExpandedPaginated.js +6 -4
  125. package/dist/esm/RelatedContent.js +28 -28
  126. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  127. package/dist/esm/SeriesListingDeck.js +3 -2
  128. package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
  129. package/dist/esm/SideFooter.js +2 -2
  130. package/dist/esm/TaxonomyDescription.js +3 -2
  131. package/dist/esm/TemplateNormal.js +2 -1
  132. package/dist/esm/VideoProgramLandingPage.js +3 -2
  133. package/dist/esm/VideoSeriesCard.js +1 -1
  134. package/dist/esm/VideoSeriesLandingPage.js +4 -3
  135. package/dist/esm/VideoSeriesListing.js +2 -1
  136. package/dist/esm/View.js +11 -14
  137. package/dist/esm/YoutubeGroup.js +4 -4
  138. package/dist/esm/events-6c3a7a63.js +467 -0
  139. package/dist/esm/getPtceActivities.js +76 -0
  140. package/dist/esm/getSerializers.js +7 -6
  141. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  142. package/dist/esm/getTargeting.js +1 -1
  143. package/dist/esm/{index-e89d33c8.js → index-264bbd3c.js} +30 -73
  144. package/dist/esm/index-98ca9cec.js +100 -0
  145. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  146. package/dist/esm/index.js +10 -7
  147. package/dist/esm/typeof-2f07d0e8.js +30 -0
  148. package/package.json +115 -115
  149. package/dist/cjs/Pagination-2a3d0103.js +0 -97
  150. package/dist/esm/Pagination-dc30727b.js +0 -90
  151. /package/dist/cjs/{ADInfeed-cf54cb8a.js → ADInfeed-81006615.js} +0 -0
  152. /package/dist/cjs/{ADlgInfeed-d06624d8.js → ADlgInfeed-0db07099.js} +0 -0
  153. /package/dist/esm/{ADInfeed-0852ff35.js → ADInfeed-6d1fc6bf.js} +0 -0
  154. /package/dist/esm/{ADlgInfeed-5fb3b724.js → ADlgInfeed-dc36c928.js} +0 -0
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import React__default from 'react';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-e89d33c8.js';
6
+ import { g as getSerializers } from './index-264bbd3c.js';
7
7
  import ArticleSeriesListing from './ArticleSeriesListing.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './core.get-iterator-method-ea258bb1.js';
@@ -15,7 +15,8 @@ import 'prop-types';
15
15
  import './index-3f5c03b2.js';
16
16
  import 'react-bootstrap';
17
17
  import './urlFor.js';
18
- import './index-5cc7b406.js';
18
+ import './index-f0fc23eb.js';
19
+ import './events-6c3a7a63.js';
19
20
  import 'next/router';
20
21
  import './index-c7e2ac95.js';
21
22
  import './util-8ed16d48.js';
@@ -14,7 +14,8 @@ import './_object-sap-7cee6f84.js';
14
14
  import './define-property-5f1bda73.js';
15
15
  import './typeof-e9fc0c5d.js';
16
16
  import './_is-array-8d21b9e3.js';
17
- import './index-5cc7b406.js';
17
+ import './index-f0fc23eb.js';
18
+ import './events-6c3a7a63.js';
18
19
  import 'prop-types';
19
20
  import 'react-bootstrap/Container';
20
21
  import 'react-bootstrap/Row';
@@ -31,13 +32,13 @@ import './visibility-sensor-72fd8f8b.js';
31
32
  import 'react-dom';
32
33
  import './slicedToArray-6ebcbfea.js';
33
34
  import './index-3f5c03b2.js';
34
- import './ADlgInfeed-5fb3b724.js';
35
+ import './ADlgInfeed-dc36c928.js';
35
36
  import './AdSlot.js';
36
37
  import './Beam.js';
37
38
  import './stringify-2b084bee.js';
38
39
  import './Segment.js';
39
40
  import './main-1894c974.js';
40
- import './ADInfeed-0852ff35.js';
41
+ import './ADInfeed-6d1fc6bf.js';
41
42
 
42
43
  var _this = undefined;
43
44
 
@@ -1,7 +1,7 @@
1
1
  import { _ as _extends } from './extends-6d8e3924.js';
2
2
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
3
3
  import React__default from 'react';
4
- import { l as lib_3 } from './index-5cc7b406.js';
4
+ import { l as lib_3 } from './index-f0fc23eb.js';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
7
7
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
@@ -19,6 +19,7 @@ import './typeof-e9fc0c5d.js';
19
19
  import './web.dom.iterable-ab4dea5c.js';
20
20
  import './_is-array-8d21b9e3.js';
21
21
  import './_library-528f1934.js';
22
+ import './events-6c3a7a63.js';
22
23
  import 'prop-types';
23
24
  import 'react-dom';
24
25
  import './iconBase-ccc56b97.js';
@@ -1,5 +1,6 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
3
+ import { a as _typeof_1 } from './typeof-2f07d0e8.js';
3
4
  import { d as defineProperty, b as asyncToGenerator } from './defineProperty-23a8f8cd.js';
4
5
  import React__default, { useState, useEffect } from 'react';
5
6
  import { Form } from 'react-bootstrap';
@@ -20,33 +21,6 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
20
21
 
21
22
  unwrapExports(interopRequireDefault);
22
23
 
23
- var _typeof_1 = createCommonjsModule(function (module) {
24
- function _typeof(obj) {
25
- "@babel/helpers - typeof";
26
-
27
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
28
- module.exports = _typeof = function _typeof(obj) {
29
- return typeof obj;
30
- };
31
-
32
- module.exports["default"] = module.exports, module.exports.__esModule = true;
33
- } else {
34
- module.exports = _typeof = function _typeof(obj) {
35
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
36
- };
37
-
38
- module.exports["default"] = module.exports, module.exports.__esModule = true;
39
- }
40
-
41
- return _typeof(obj);
42
- }
43
-
44
- module.exports = _typeof;
45
- module.exports["default"] = module.exports, module.exports.__esModule = true;
46
- });
47
-
48
- unwrapExports(_typeof_1);
49
-
50
24
  var runtime_1 = createCommonjsModule(function (module) {
51
25
  /**
52
26
  * Copyright (c) 2014-present, Facebook, Inc.
@@ -1787,7 +1761,7 @@ client$1.Provider;
1787
1761
 
1788
1762
  var client = client$1.default;
1789
1763
 
1790
- var css = ".AuthWrapper-module_loginBox__3l-BE {\r\n margin-bottom: 2rem;\r\n width: 350px;\r\n max-width: 90vw;\r\n margin-left: auto;\r\n margin-right: auto;\r\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\r\n background: #fff;\r\n z-index: 1;\r\n}\r\n.AuthWrapper-module_loginBox_title__12rGD {\r\n margin-bottom: 2rem;\r\n text-align: center;\r\n}\r\n.AuthWrapper-module_bar__1dafn {\r\n background: #eee;\r\n margin-left: unset;\r\n margin-right: unset;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\r\n float: left;\r\n border-right: 1rem solid #fff;\r\n background: rgb(245, 245, 245);\r\n height: 10rem;\r\n width: 25%;\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-bottom: 2rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\r\n width: 97%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\r\n width: 96%;\r\n height: 1.5rem;\r\n margin-bottom: 1.5rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\r\n width: 72%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\r\n width: 88%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n\r\n.AuthWrapper-module_iframe__2wDJW {\r\n margin-top: -3rem;\r\n border: none;\r\n width: 100%;\r\n height: 1900px;\r\n}";
1764
+ var css = ".AuthWrapper-module_loginBox__3l-BE {\n margin-bottom: 2rem;\n width: 350px;\n max-width: 90vw;\n margin-left: auto;\n margin-right: auto;\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\n background: #fff;\n z-index: 1;\n}\n.AuthWrapper-module_loginBox_title__12rGD {\n margin-bottom: 2rem;\n text-align: center;\n}\n.AuthWrapper-module_bar__1dafn {\n background: #eee;\n margin-left: unset;\n margin-right: unset;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\n float: left;\n border-right: 1rem solid #fff;\n background: rgb(245, 245, 245);\n height: 10rem;\n width: 25%;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 2rem;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\n width: 97%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\n width: 96%;\n height: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\n width: 72%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\n width: 88%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n\n.AuthWrapper-module_iframe__2wDJW {\n margin-top: -3rem;\n border: none;\n width: 100%;\n height: 1900px;\n}";
1791
1765
  var styles = { "loginBox": "AuthWrapper-module_loginBox__3l-BE", "loginBox_title": "AuthWrapper-module_loginBox_title__12rGD", "bar": "AuthWrapper-module_bar__1dafn", "iframe": "AuthWrapper-module_iframe__2wDJW" };
1792
1766
  styleInject(css);
1793
1767
 
@@ -9,7 +9,7 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
9
9
  import { m as main_43 } from './main-1894c974.js';
10
10
  import { d as debounce_1 } from './debounce-533d9748.js';
11
11
  import { useRouter } from 'next/router';
12
- import { l as lib_3 } from './index-5cc7b406.js';
12
+ import { l as lib_3 } from './index-f0fc23eb.js';
13
13
  import './_commonjsHelpers-0c4b6f40.js';
14
14
  import './core.get-iterator-method-ea258bb1.js';
15
15
  import './web.dom.iterable-ab4dea5c.js';
@@ -18,6 +18,7 @@ import './_iter-detect-98db3b07.js';
18
18
  import 'react-dom';
19
19
  import './isSymbol-a7e9aafe.js';
20
20
  import './toNumber-5aeba6e7.js';
21
+ import './events-6c3a7a63.js';
21
22
  import 'prop-types';
22
23
 
23
24
  var itemsPerPage = 12;
@@ -15,7 +15,8 @@ import './AdSlot.js';
15
15
  import './extends-6d8e3924.js';
16
16
  import './_object-pie-133f504a.js';
17
17
  import 'prop-types';
18
- import './index-5cc7b406.js';
18
+ import './index-f0fc23eb.js';
19
+ import './events-6c3a7a63.js';
19
20
  import './debounce-533d9748.js';
20
21
  import './isSymbol-a7e9aafe.js';
21
22
  import './toNumber-5aeba6e7.js';
@@ -7,21 +7,21 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './index-3f5c03b2.js';
9
9
 
10
- /*
11
- Example usage - targetedonc.com/latest-conference
12
- 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] {
13
- ...,
14
- title,
15
- summary,
16
- thumbnail,
17
- url,
18
- published,
19
- documentGroup->,
20
- contentCategory->,
21
- 'pageNumber': ${currentPage}
22
- }`
23
-
24
- const posts = await client.fetch(query, params)
10
+ /*
11
+ Example usage - targetedonc.com/latest-conference
12
+ 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] {
13
+ ...,
14
+ title,
15
+ summary,
16
+ thumbnail,
17
+ url,
18
+ published,
19
+ documentGroup->,
20
+ contentCategory->,
21
+ 'pageNumber': ${currentPage}
22
+ }`
23
+
24
+ const posts = await client.fetch(query, params)
25
25
  */
26
26
 
27
27
  var ConferenceArticleCard = function ConferenceArticleCard(props) {
@@ -3,7 +3,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
5
5
  import React__default from 'react';
6
- import { l as lib_3 } from './index-5cc7b406.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import Container from 'react-bootstrap/Container';
8
8
  import Row from 'react-bootstrap/Row';
9
9
  import Col from 'react-bootstrap/Col';
@@ -14,8 +14,8 @@ import urlFor from './urlFor.js';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { m as main_43 } from './main-1894c974.js';
16
16
  import { c as clean_html_1 } from './entities-6d9154b4.js';
17
- import { A as ADInfeed } from './ADInfeed-0852ff35.js';
18
- import { P as Pagination } from './Pagination-dc30727b.js';
17
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
18
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
19
19
  import Spinner from 'react-bootstrap/Spinner';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
@@ -27,6 +27,7 @@ import './_object-sap-7cee6f84.js';
27
27
  import './define-property-5f1bda73.js';
28
28
  import './typeof-e9fc0c5d.js';
29
29
  import './_is-array-8d21b9e3.js';
30
+ import './events-6c3a7a63.js';
30
31
  import 'prop-types';
31
32
  import './slicedToArray-6ebcbfea.js';
32
33
  import './index-3f5c03b2.js';
@@ -38,6 +39,7 @@ import './toNumber-5aeba6e7.js';
38
39
  import './Beam.js';
39
40
  import './stringify-2b084bee.js';
40
41
  import './Segment.js';
42
+ import 'react-paginate';
41
43
  import 'react-bootstrap/Button';
42
44
  import './index.esm-1bd8a0a8.js';
43
45
  import './iconBase-ccc56b97.js';
@@ -2,7 +2,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
2
2
  import { _ as _extends } from './extends-6d8e3924.js';
3
3
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
4
4
  import React__default from 'react';
5
- import { l as lib_3 } from './index-5cc7b406.js';
5
+ import { l as lib_3 } from './index-f0fc23eb.js';
6
6
  import Container from 'react-bootstrap/Container';
7
7
  import Row from 'react-bootstrap/Row';
8
8
  import Col from 'react-bootstrap/Col';
@@ -16,7 +16,7 @@ import urlFor from './urlFor.js';
16
16
  import { L as LazyLoad } from './index-755f2cc2.js';
17
17
  import { m as main_43 } from './main-1894c974.js';
18
18
  import { c as clean_html_1 } from './entities-6d9154b4.js';
19
- import { A as ADInfeed } from './ADInfeed-0852ff35.js';
19
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './_iter-detect-98db3b07.js';
@@ -27,6 +27,7 @@ import './typeof-e9fc0c5d.js';
27
27
  import './web.dom.iterable-ab4dea5c.js';
28
28
  import './_is-array-8d21b9e3.js';
29
29
  import './_library-528f1934.js';
30
+ import './events-6c3a7a63.js';
30
31
  import 'prop-types';
31
32
  import './isSymbol-a7e9aafe.js';
32
33
  import './toNumber-5aeba6e7.js';
@@ -181,14 +182,14 @@ var DeckContent = function (_React$Component) {
181
182
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
182
183
 
183
184
  // please leave this for later debug purpose : Yong Jun.
184
- /* console.log('page change reported', {
185
- currentPage: currentPage,
186
- pageNumber: pageNumber,
187
- pathname: pathname,
188
- path: path,
189
- newPath: newPath,
190
- firstPage: pageNumber === 1,
191
- queryString: queryString
185
+ /* console.log('page change reported', {
186
+ currentPage: currentPage,
187
+ pageNumber: pageNumber,
188
+ pathname: pathname,
189
+ path: path,
190
+ newPath: newPath,
191
+ firstPage: pageNumber === 1,
192
+ queryString: queryString
192
193
  }) */
193
194
 
194
195
  if (pageview) {
@@ -2,7 +2,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
2
2
  import { _ as _extends } from './extends-6d8e3924.js';
3
3
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
4
4
  import React__default from 'react';
5
- import { l as lib_3 } from './index-5cc7b406.js';
5
+ import { l as lib_3 } from './index-f0fc23eb.js';
6
6
  import Container from 'react-bootstrap/Container';
7
7
  import Row from 'react-bootstrap/Row';
8
8
  import Col from 'react-bootstrap/Col';
@@ -27,6 +27,7 @@ import './typeof-e9fc0c5d.js';
27
27
  import './web.dom.iterable-ab4dea5c.js';
28
28
  import './_is-array-8d21b9e3.js';
29
29
  import './_library-528f1934.js';
30
+ import './events-6c3a7a63.js';
30
31
  import 'prop-types';
31
32
  import 'react-dom';
32
33
  import './isSymbol-a7e9aafe.js';
@@ -3,7 +3,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
5
5
  import React__default from 'react';
6
- import { l as lib_3 } from './index-5cc7b406.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import Container from 'react-bootstrap/Container';
8
8
  import Row from 'react-bootstrap/Row';
9
9
  import Col from 'react-bootstrap/Col';
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
16
16
  import { m as main_43 } from './main-1894c974.js';
17
17
  import urlFor from './urlFor.js';
18
18
  import { c as clean_html_1 } from './entities-6d9154b4.js';
19
- import { P as Pagination } from './Pagination-dc30727b.js';
19
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './web.dom.iterable-ab4dea5c.js';
@@ -27,12 +27,14 @@ import './_object-sap-7cee6f84.js';
27
27
  import './define-property-5f1bda73.js';
28
28
  import './typeof-e9fc0c5d.js';
29
29
  import './_is-array-8d21b9e3.js';
30
+ import './events-6c3a7a63.js';
30
31
  import 'prop-types';
31
32
  import 'react-dom';
32
33
  import './isSymbol-a7e9aafe.js';
33
34
  import './eq-bdcbf886.js';
34
35
  import './slicedToArray-6ebcbfea.js';
35
36
  import './index-3f5c03b2.js';
37
+ import 'react-paginate';
36
38
  import 'react-bootstrap/Button';
37
39
  import './index.esm-1bd8a0a8.js';
38
40
  import './iconBase-ccc56b97.js';
@@ -1,12 +1,13 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
  import React__default, { useState } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { b as lib_1, a as lib_2 } from './index-5cc7b406.js';
4
+ import { b as lib_1, a as lib_2 } from './index-f0fc23eb.js';
5
5
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
6
6
  import { d as debounce_1 } from './debounce-533d9748.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './web.dom.iterable-ab4dea5c.js';
9
9
  import './core.get-iterator-method-ea258bb1.js';
10
+ import './events-6c3a7a63.js';
10
11
  import 'react-dom';
11
12
  import './isSymbol-a7e9aafe.js';
12
13
  import './toNumber-5aeba6e7.js';
@@ -245,23 +245,23 @@ var EventsDeck = function EventsDeck(_ref) {
245
245
  if (cventAccessToken && cventAccessToken !== 'undefined') {
246
246
  setAccessToken(cventAccessToken);
247
247
  } else {
248
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
249
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
250
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
251
- fetch(url, {
252
- headers: {
253
- 'Content-Type': 'application/x-www-form-urlencoded',
254
- Authorization: `Basic ${encodedData}`
255
- },
256
- method: 'POST',
257
- body: `grant_type=client_credentials&client_id=${clientId}`
258
- })
259
- .then((response) => response.json())
260
- .then((json) => {
261
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
262
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
263
- setAccessToken(json.access_token)
264
- })
248
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
249
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
250
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
251
+ fetch(url, {
252
+ headers: {
253
+ 'Content-Type': 'application/x-www-form-urlencoded',
254
+ Authorization: `Basic ${encodedData}`
255
+ },
256
+ method: 'POST',
257
+ body: `grant_type=client_credentials&client_id=${clientId}`
258
+ })
259
+ .then((response) => response.json())
260
+ .then((json) => {
261
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
262
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
263
+ setAccessToken(json.access_token)
264
+ })
265
265
  .catch((e) => console.log(e))*/
266
266
  // hello
267
267
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -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-e89d33c8.js';
5
+ import { g as getSerializers } from './index-264bbd3c.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';
@@ -14,7 +14,8 @@ import 'prop-types';
14
14
  import './index-3f5c03b2.js';
15
15
  import 'react-bootstrap';
16
16
  import './urlFor.js';
17
- import './index-5cc7b406.js';
17
+ import './index-f0fc23eb.js';
18
+ import './events-6c3a7a63.js';
18
19
  import './index-c7e2ac95.js';
19
20
  import './util-8ed16d48.js';
20
21
  import './Beam.js';
@@ -2,7 +2,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
2
2
  import { _ as _extends } from './extends-6d8e3924.js';
3
3
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
4
4
  import React__default from 'react';
5
- import { l as lib_3 } from './index-5cc7b406.js';
5
+ import { l as lib_3 } from './index-f0fc23eb.js';
6
6
  import Container from 'react-bootstrap/Container';
7
7
  import Row from 'react-bootstrap/Row';
8
8
  import Col from 'react-bootstrap/Col';
@@ -12,9 +12,9 @@ import { m as moment } from './moment-bc12cb97.js';
12
12
  import { withRouter } from 'next/router';
13
13
  import { L as LazyLoad } from './index-755f2cc2.js';
14
14
  import { c as clean_html_1 } from './entities-6d9154b4.js';
15
- import { A as ADInfeed } from './ADInfeed-0852ff35.js';
15
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
16
16
  import { l as lodash } from './lodash-f97fd99a.js';
17
- import { A as ADlgInfeed } from './ADlgInfeed-5fb3b724.js';
17
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
18
18
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
19
19
  import { g as get_1 } from './get-3c308da4.js';
20
20
  import { d as debounce_1 } from './debounce-533d9748.js';
@@ -34,6 +34,7 @@ import './typeof-e9fc0c5d.js';
34
34
  import './web.dom.iterable-ab4dea5c.js';
35
35
  import './_is-array-8d21b9e3.js';
36
36
  import './_library-528f1934.js';
37
+ import './events-6c3a7a63.js';
37
38
  import 'prop-types';
38
39
  import 'react-dom';
39
40
  import './slicedToArray-6ebcbfea.js';
@@ -4,7 +4,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958
4
4
  import { _ as _extends } from './extends-6d8e3924.js';
5
5
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
6
6
  import React__default from 'react';
7
- import { l as lib_3 } from './index-5cc7b406.js';
7
+ import { l as lib_3 } from './index-f0fc23eb.js';
8
8
  import Container from 'react-bootstrap/Container';
9
9
  import Row from 'react-bootstrap/Row';
10
10
  import Col from 'react-bootstrap/Col';
@@ -13,16 +13,16 @@ import { m as moment } from './moment-bc12cb97.js';
13
13
  import { withRouter } from 'next/router';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { c as clean_html_1 } from './entities-6d9154b4.js';
16
- import { A as ADInfeed } from './ADInfeed-0852ff35.js';
16
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
17
17
  import { l as lodash } from './lodash-f97fd99a.js';
18
- import { A as ADlgInfeed } from './ADlgInfeed-5fb3b724.js';
18
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
19
19
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
20
20
  import { g as get_1 } from './get-3c308da4.js';
21
21
  import urlFor from './urlFor.js';
22
22
  import { m as main_43 } from './main-1894c974.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
25
- import { P as Pagination } from './Pagination-dc30727b.js';
25
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
26
26
  import Spinner from 'react-bootstrap/Spinner';
27
27
  import './_commonjsHelpers-0c4b6f40.js';
28
28
  import './core.get-iterator-method-ea258bb1.js';
@@ -34,6 +34,7 @@ import './_object-sap-7cee6f84.js';
34
34
  import './define-property-5f1bda73.js';
35
35
  import './typeof-e9fc0c5d.js';
36
36
  import './_is-array-8d21b9e3.js';
37
+ import './events-6c3a7a63.js';
37
38
  import 'prop-types';
38
39
  import 'react-dom';
39
40
  import './slicedToArray-6ebcbfea.js';
@@ -46,6 +47,7 @@ import './Segment.js';
46
47
  import './eq-bdcbf886.js';
47
48
  import './index-3f5c03b2.js';
48
49
  import 'react-bootstrap/Button';
50
+ import 'react-paginate';
49
51
  import './index.esm-1bd8a0a8.js';
50
52
  import './iconBase-ccc56b97.js';
51
53
 
@@ -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
@@ -4,7 +4,7 @@ import Modal from 'react-bootstrap/Modal';
4
4
  import Button from 'react-bootstrap/Button';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
7
- var css = ".HealthcareProfessionalModal-module_container__HUaSr {\r\n position: fixed;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n background: rgba(0,0,0,.1);\r\n z-index: 9999999999;\r\n display: grid;\r\n place-items: center;\r\n}\r\n.HealthcareProfessionalModal-module_modal__31CzM{\r\n background: #fff;\r\n padding: 1.5rem;\r\n text-align: center;\r\n position: relative;\r\n width: 400px;\r\n max-width: 90vw;\r\n\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\r\n transform: translateY(0);\r\n opacity:1;\r\n}\r\n.HealthcareProfessionalModal-module_header__3uIr7 {\r\n background-color: #0d335a;\r\nposition: absolute;\r\n padding: 1rem;\r\n width: 80%;\r\ntop: 0;\r\nleft: 50%;\r\ntransform: translateX(-50%) translateY(-50%) ;\r\n border-radius: 15px;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN {\r\n color: #202020;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN span{\r\n font-weight: bold;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\r\n font-size: 24px;\r\n margin-bottom: 1rem;\r\n}\r\n.HealthcareProfessionalModal-module_controls__1wXJl button {\r\n margin: 1.5rem 1rem;\r\n border-radius: 5px;\r\n font-size: 1rem;\r\n}\r\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\r\n from{\r\n transform: translateY(25px);\r\n opacity: 0;\r\n }\r\n to {\r\n transform: translateY(0);\r\n opacity:1;\r\n }\r\n}";
7
+ var css = ".HealthcareProfessionalModal-module_container__HUaSr {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0,0,0,.1);\n z-index: 9999999999;\n display: grid;\n place-items: center;\n}\n.HealthcareProfessionalModal-module_modal__31CzM{\n background: #fff;\n padding: 1.5rem;\n text-align: center;\n position: relative;\n width: 400px;\n max-width: 90vw;\n\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\n transform: translateY(0);\n opacity:1;\n}\n.HealthcareProfessionalModal-module_header__3uIr7 {\n background-color: #0d335a;\nposition: absolute;\n padding: 1rem;\n width: 80%;\ntop: 0;\nleft: 50%;\ntransform: translateX(-50%) translateY(-50%) ;\n border-radius: 15px;\n}\n.HealthcareProfessionalModal-module_body__3bnyN {\n color: #202020;\n}\n.HealthcareProfessionalModal-module_body__3bnyN span{\n font-weight: bold;\n}\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n.HealthcareProfessionalModal-module_controls__1wXJl button {\n margin: 1.5rem 1rem;\n border-radius: 5px;\n font-size: 1rem;\n}\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\n from{\n transform: translateY(25px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity:1;\n }\n}";
8
8
  var styles = { "container": "HealthcareProfessionalModal-module_container__HUaSr", "modal": "HealthcareProfessionalModal-module_modal__31CzM", "show": "HealthcareProfessionalModal-module_show__3soMo", "header": "HealthcareProfessionalModal-module_header__3uIr7", "body": "HealthcareProfessionalModal-module_body__3bnyN", "title": "HealthcareProfessionalModal-module_title__27l5n", "controls": "HealthcareProfessionalModal-module_controls__1wXJl" };
9
9
  styleInject(css);
10
10
 
@@ -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-e89d33c8.js';
6
+ import { g as getSerializers } from './index-264bbd3c.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -20,7 +20,8 @@ import './index-3f5c03b2.js';
20
20
  import './main-1894c974.js';
21
21
  import './iconBase-ccc56b97.js';
22
22
  import 'react-bootstrap';
23
- import './index-5cc7b406.js';
23
+ import './index-f0fc23eb.js';
24
+ import './events-6c3a7a63.js';
24
25
  import 'next/router';
25
26
  import './util-8ed16d48.js';
26
27
  import './Beam.js';
@@ -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-e89d33c8.js';
6
+ import { g as getSerializers } from './index-264bbd3c.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -18,13 +18,14 @@ import './index.es-a6137319.js';
18
18
  import './moment-bc12cb97.js';
19
19
  import './visibility-sensor-72fd8f8b.js';
20
20
  import 'react-dom';
21
- import './index-5cc7b406.js';
21
+ import './index-f0fc23eb.js';
22
+ import './events-6c3a7a63.js';
22
23
  import 'prop-types';
23
24
  import 'next/router';
24
25
  import './index-755f2cc2.js';
25
26
  import './main-1894c974.js';
26
27
  import './entities-6d9154b4.js';
27
- import './ADInfeed-0852ff35.js';
28
+ import './ADInfeed-6d1fc6bf.js';
28
29
  import 'react-bootstrap/Card';
29
30
  import './AdSlot.js';
30
31
  import './debounce-533d9748.js';
@@ -37,7 +38,7 @@ import './_library-528f1934.js';
37
38
  import './Segment.js';
38
39
  import './AuthorComponent-11adff02.js';
39
40
  import './lodash-f97fd99a.js';
40
- import './ADlgInfeed-5fb3b724.js';
41
+ import './ADlgInfeed-dc36c928.js';
41
42
  import './getContentCategory-15dcc413.js';
42
43
  import './timeDifferenceCalc.js';
43
44
  import 'react-bootstrap/Breadcrumb';
@@ -70,35 +71,35 @@ import 'react-bootstrap/OverlayTrigger';
70
71
  import 'react-bootstrap/Tooltip';
71
72
  import 'react-bootstrap/Popover';
72
73
 
73
- /* usage
74
- import Settings, { Ads } from '../../../../settings'
75
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
76
- import client from '../../../../client'
77
- import moment from 'moment'
78
- import Shell from '../../../../components/2.0/Shell'
79
- import { pageview } from '../../../../utilities/gtag'
80
-
81
- const Issue = (props) => {
82
- const { pubIssue, cache } = props
83
- const targeting = {
84
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
85
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
86
- }
87
- return (
88
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
89
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
90
- </Shell>
91
- )
92
- }
93
-
94
- Issue.getInitialProps = async (ctx) => {
95
- const { query } = ctx
96
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
97
- )
98
- return { pubIssue }
99
- }
100
-
101
- export default Issue
74
+ /* usage
75
+ import Settings, { Ads } from '../../../../settings'
76
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
77
+ import client from '../../../../client'
78
+ import moment from 'moment'
79
+ import Shell from '../../../../components/2.0/Shell'
80
+ import { pageview } from '../../../../utilities/gtag'
81
+
82
+ const Issue = (props) => {
83
+ const { pubIssue, cache } = props
84
+ const targeting = {
85
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
86
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
87
+ }
88
+ return (
89
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
90
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
91
+ </Shell>
92
+ )
93
+ }
94
+
95
+ Issue.getInitialProps = async (ctx) => {
96
+ const { query } = ctx
97
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
98
+ )
99
+ return { pubIssue }
100
+ }
101
+
102
+ export default Issue
102
103
  */
103
104
 
104
105
  var IssueLanding = function IssueLanding(props) {