@mjhls/mjh-framework 1.0.1019 → 1.0.1021

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 (168) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +10 -2
  6. package/dist/cjs/ADGutter.js +10 -2
  7. package/dist/cjs/{ADInfeed-ef933a08.js → ADInfeed-5dabd71d.js} +10 -1
  8. package/dist/cjs/ADSkyscraper.js +10 -2
  9. package/dist/cjs/ADSponsoredResources.js +10 -2
  10. package/dist/cjs/ADWebcast.js +10 -2
  11. package/dist/cjs/ADWelcome.js +1 -1
  12. package/dist/cjs/{ADlgInfeed-0e931f24.js → ADlgInfeed-1766ce0a.js} +10 -1
  13. package/dist/cjs/AdSlot.js +17 -6
  14. package/dist/cjs/AdSlotsProvider.js +1 -1
  15. package/dist/cjs/AlgoliaSearch.js +72 -108
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +3 -3
  18. package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
  19. package/dist/cjs/ArticleSeriesListing.js +1 -1
  20. package/dist/cjs/Auth.js +10 -1492
  21. package/dist/cjs/AuthWrapper.js +294 -1546
  22. package/dist/cjs/CEDeckSupabase.js +2 -2
  23. package/dist/cjs/CMEDeck.js +1 -1
  24. package/dist/cjs/Column3.js +1 -1
  25. package/dist/cjs/ConferenceArticleCard.js +15 -15
  26. package/dist/cjs/ContentCardPaginated.js +3 -3
  27. package/dist/cjs/DeckContent.js +11 -11
  28. package/dist/cjs/DeckQueue.js +2 -2
  29. package/dist/cjs/DeckQueuePaginated.js +2 -2
  30. package/dist/cjs/EventsDeck.js +18 -18
  31. package/dist/cjs/ExternalResources.js +3 -3
  32. package/dist/cjs/Feature.js +1 -1
  33. package/dist/cjs/GridContent.js +4 -4
  34. package/dist/cjs/GridContentPaginated.js +4 -4
  35. package/dist/cjs/GridHero.js +1 -1
  36. package/dist/cjs/HamMagazine.js +11 -11
  37. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  38. package/dist/cjs/Hero.js +1 -1
  39. package/dist/cjs/HorizontalArticleListing.js +3 -3
  40. package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-fd0cc91c.js} +123 -106
  41. package/dist/cjs/IssueLanding.js +34 -34
  42. package/dist/cjs/KMTracker.js +15 -15
  43. package/dist/cjs/LeftNav.js +1 -1
  44. package/dist/cjs/MasterDeck.js +11 -11
  45. package/dist/cjs/MasterDeckPaginated.js +11 -11
  46. package/dist/cjs/{MediaSeriesCard-756b0d9a.js → MediaSeriesCard-ae205d40.js} +2 -2
  47. package/dist/cjs/MediaSeriesLanding.js +13 -13
  48. package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
  49. package/dist/cjs/NavMagazine.js +12 -12
  50. package/dist/cjs/NavNative.js +10 -10
  51. package/dist/cjs/OncliveLargeHero.js +1 -1
  52. package/dist/cjs/PartnerDetailListing.js +6 -6
  53. package/dist/cjs/PartnerDetailListingPaginated.js +6 -6
  54. package/dist/cjs/PodcastsLanding.js +6 -6
  55. package/dist/cjs/PubSection.js +4 -4
  56. package/dist/cjs/PublicationLanding.js +26 -26
  57. package/dist/cjs/QueueDeckExpanded.js +4 -4
  58. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
  59. package/dist/cjs/RelatedContent.js +28 -28
  60. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  61. package/dist/cjs/SeriesListingDeck.js +2 -2
  62. package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-0b2a2775.js} +5 -5
  63. package/dist/cjs/SideFooter.js +2 -2
  64. package/dist/cjs/{SocialSearchComponent-b36e5525.js → SocialSearchComponent-6924a853.js} +1 -1
  65. package/dist/cjs/TaxonomyDescription.js +3 -3
  66. package/dist/cjs/TemplateNormal.js +2 -2
  67. package/dist/cjs/ThumbnailCard.js +1 -1
  68. package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-980a1d1a.js} +313 -511
  69. package/dist/cjs/Ustream.js +1 -1
  70. package/dist/cjs/VideoProgramLandingPage.js +3 -3
  71. package/dist/cjs/VideoSeriesCard.js +1 -1
  72. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  73. package/dist/cjs/VideoSeriesListing.js +1 -1
  74. package/dist/cjs/View.js +7 -7
  75. package/dist/cjs/YahooHero.js +2 -2
  76. package/dist/cjs/YoutubeGroup.js +5 -5
  77. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  78. package/dist/cjs/getSerializers.js +3 -3
  79. package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
  80. package/dist/cjs/getTargeting.js +1 -1
  81. package/dist/cjs/{index-b95410f0.js → index-8041a4eb.js} +45 -0
  82. package/dist/cjs/{index-de9f9069.js → index-b78ce702.js} +2 -2
  83. package/dist/cjs/index.js +11 -10
  84. package/dist/cjs/{main-6054981e.js → main-47be4f9f.js} +11 -5
  85. package/dist/esm/AD300x250.js +1 -1
  86. package/dist/esm/AD300x250x600.js +1 -1
  87. package/dist/esm/AD728x90.js +1 -1
  88. package/dist/esm/ADFloatingFooter.js +10 -2
  89. package/dist/esm/ADGutter.js +10 -2
  90. package/dist/esm/{ADInfeed-f946441a.js → ADInfeed-cfc4f7b2.js} +10 -1
  91. package/dist/esm/ADSkyscraper.js +10 -2
  92. package/dist/esm/ADSponsoredResources.js +10 -2
  93. package/dist/esm/ADWebcast.js +10 -2
  94. package/dist/esm/ADWelcome.js +1 -1
  95. package/dist/esm/{ADlgInfeed-012e6f16.js → ADlgInfeed-74c975b9.js} +10 -1
  96. package/dist/esm/AdSlot.js +17 -6
  97. package/dist/esm/AdSlotsProvider.js +1 -1
  98. package/dist/esm/AlgoliaSearch.js +59 -95
  99. package/dist/esm/ArticleCarousel.js +1 -1
  100. package/dist/esm/ArticleProgramLandingPage.js +3 -3
  101. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  102. package/dist/esm/ArticleSeriesListing.js +1 -1
  103. package/dist/esm/Auth.js +9 -1492
  104. package/dist/esm/AuthWrapper.js +288 -1540
  105. package/dist/esm/CEDeckSupabase.js +2 -2
  106. package/dist/esm/CMEDeck.js +1 -1
  107. package/dist/esm/Column3.js +1 -1
  108. package/dist/esm/ConferenceArticleCard.js +15 -15
  109. package/dist/esm/ContentCardPaginated.js +3 -3
  110. package/dist/esm/DeckContent.js +11 -11
  111. package/dist/esm/DeckQueue.js +2 -2
  112. package/dist/esm/DeckQueuePaginated.js +2 -2
  113. package/dist/esm/EventsDeck.js +18 -18
  114. package/dist/esm/ExternalResources.js +3 -3
  115. package/dist/esm/Feature.js +1 -1
  116. package/dist/esm/GridContent.js +4 -4
  117. package/dist/esm/GridContentPaginated.js +4 -4
  118. package/dist/esm/GridHero.js +1 -1
  119. package/dist/esm/HamMagazine.js +11 -11
  120. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  121. package/dist/esm/Hero.js +1 -1
  122. package/dist/esm/HorizontalArticleListing.js +3 -3
  123. package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-c3a57384.js} +124 -107
  124. package/dist/esm/IssueLanding.js +34 -34
  125. package/dist/esm/KMTracker.js +15 -15
  126. package/dist/esm/LeftNav.js +1 -1
  127. package/dist/esm/MasterDeck.js +11 -11
  128. package/dist/esm/MasterDeckPaginated.js +11 -11
  129. package/dist/esm/{MediaSeriesCard-f1f91e14.js → MediaSeriesCard-957b218d.js} +2 -2
  130. package/dist/esm/MediaSeriesLanding.js +13 -13
  131. package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
  132. package/dist/esm/NavMagazine.js +12 -12
  133. package/dist/esm/NavNative.js +10 -10
  134. package/dist/esm/OncliveLargeHero.js +1 -1
  135. package/dist/esm/PartnerDetailListing.js +6 -6
  136. package/dist/esm/PartnerDetailListingPaginated.js +6 -6
  137. package/dist/esm/PodcastsLanding.js +6 -6
  138. package/dist/esm/PubSection.js +4 -4
  139. package/dist/esm/PublicationLanding.js +26 -26
  140. package/dist/esm/QueueDeckExpanded.js +4 -4
  141. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  142. package/dist/esm/RelatedContent.js +28 -28
  143. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  144. package/dist/esm/SeriesListingDeck.js +2 -2
  145. package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-3f4d6012.js} +5 -5
  146. package/dist/esm/SideFooter.js +2 -2
  147. package/dist/esm/{SocialSearchComponent-daceaa22.js → SocialSearchComponent-2451acd2.js} +1 -1
  148. package/dist/esm/TaxonomyDescription.js +3 -3
  149. package/dist/esm/TemplateNormal.js +2 -2
  150. package/dist/esm/ThumbnailCard.js +1 -1
  151. package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-51957f7c.js} +108 -306
  152. package/dist/esm/Ustream.js +1 -1
  153. package/dist/esm/VideoProgramLandingPage.js +3 -3
  154. package/dist/esm/VideoSeriesCard.js +1 -1
  155. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  156. package/dist/esm/VideoSeriesListing.js +1 -1
  157. package/dist/esm/View.js +7 -7
  158. package/dist/esm/YahooHero.js +2 -2
  159. package/dist/esm/YoutubeGroup.js +5 -5
  160. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  161. package/dist/esm/getSerializers.js +3 -3
  162. package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
  163. package/dist/esm/getTargeting.js +1 -1
  164. package/dist/esm/{index-174b5baf.js → index-67e1773f.js} +43 -1
  165. package/dist/esm/{index-29ed16aa.js → index-f2f5b752.js} +2 -2
  166. package/dist/esm/index.js +11 -10
  167. package/dist/esm/{main-9f6806ea.js → main-f97773b2.js} +11 -6
  168. package/package.json +116 -116
@@ -4,7 +4,7 @@ import React__default, { useState, useEffect } from 'react';
4
4
  import { Spinner, Container, Row, Col } from 'react-bootstrap';
5
5
  import { I as InfiniteScroll } from './index.es-a6137319.js';
6
6
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
7
- import { m as main_43 } from './main-9f6806ea.js';
7
+ import { m as main_43 } from './main-f97773b2.js';
8
8
  import { useRouter } from 'next/router';
9
9
  import { l as lib_3 } from './index-5cc7b406.js';
10
10
  import { L as LazyLoad } from './index-755f2cc2.js';
@@ -16,7 +16,7 @@ import './web.dom.iterable-ab4dea5c.js';
16
16
  import 'react-dom';
17
17
  import 'prop-types';
18
18
 
19
- var css = "#CMEDeck-module_ceToggles__1QFCs {\n display: flex;\n padding: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 50%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n cursor: pointer;\n border-bottom: 3px solid #fff;\n }\n #CMEDeck-module_ceToggles__1QFCs div:hover {\n opacity: 1 !important;\n border-color: #cecece;\n }\n #CMEDeck-module_ceToggles__1QFCs div p {\n margin: 0;\n font-weight: 700;\n width: 100%;\n text-align: center;\n font-size: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 100%;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardImage__3yM5u{\n width: 268px;\n max-width: 100%;\n border-radius: 0 0 0 10%;\n margin-bottom: 20px;\n margin-top: 10px;\n border-top: 1px solid #EEE;\n }\n .CMEDeck-module_cardText__2zCzZ{\n font-size:22px;\n font-weight: 500;\n\n }\n @media (max-width: 500px){\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 131px;\n height: 46px;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardText__2zCzZ{\n font-size: 12px;\n font-weight: 500;\n }\n }";
19
+ var css = "#CMEDeck-module_ceToggles__1QFCs {\r\n display: flex;\r\n padding: 1rem;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div {\r\n box-sizing: border-box;\r\n padding: 0.5rem;\r\n width: 50%;\r\n display: flex;\r\n flex-wrap: wrap;\r\n align-items: flex-end;\r\n justify-content: center;\r\n cursor: pointer;\r\n border-bottom: 3px solid #fff;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div:hover {\r\n opacity: 1 !important;\r\n border-color: #cecece;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div p {\r\n margin: 0;\r\n font-weight: 700;\r\n width: 100%;\r\n text-align: center;\r\n font-size: 1rem;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div img {\r\n width: 100%;\r\n max-width: 10rem;\r\n }\r\n\r\n .CMEDeck-module_cardImage__3yM5u{\r\n width: 268px;\r\n max-width: 100%;\r\n border-radius: 0 0 0 10%;\r\n margin-bottom: 20px;\r\n margin-top: 10px;\r\n border-top: 1px solid #EEE;\r\n }\r\n .CMEDeck-module_cardText__2zCzZ{\r\n font-size:22px;\r\n font-weight: 500;\r\n\r\n }\r\n @media (max-width: 500px){\r\n #CMEDeck-module_ceToggles__1QFCs div img {\r\n width: 131px;\r\n height: 46px;\r\n max-width: 10rem;\r\n }\r\n\r\n .CMEDeck-module_cardText__2zCzZ{\r\n font-size: 12px;\r\n font-weight: 500;\r\n }\r\n }";
20
20
  var styles = { "ceToggles": "CMEDeck-module_ceToggles__1QFCs", "cardImage": "CMEDeck-module_cardImage__3yM5u", "cardText": "CMEDeck-module_cardText__2zCzZ" };
21
21
  styleInject(css);
22
22
 
@@ -6,7 +6,7 @@ import React__default, { useState, useRef, useEffect } from 'react';
6
6
  import { Spinner, Container, Row, Col } from 'react-bootstrap';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
8
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
9
- import { m as main_43 } from './main-9f6806ea.js';
9
+ import { m as main_43 } from './main-f97773b2.js';
10
10
  import { d as debounce_1 } from './debounce-533d9748.js';
11
11
  import { useRouter } from 'next/router';
12
12
  import { l as lib_3 } from './index-5cc7b406.js';
@@ -6,7 +6,7 @@ import LeftNav from './LeftNav.js';
6
6
  import SideFooter from './SideFooter.js';
7
7
  import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
8
8
  import PageFilter from './PageFilter.js';
9
- import { m as main_43 } from './main-9f6806ea.js';
9
+ import { m as main_43 } from './main-f97773b2.js';
10
10
  import './slicedToArray-6ebcbfea.js';
11
11
  import './_commonjsHelpers-0c4b6f40.js';
12
12
  import './web.dom.iterable-ab4dea5c.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) {
@@ -12,9 +12,9 @@ import { m as moment } from './moment-bc12cb97.js';
12
12
  import { withRouter } from 'next/router';
13
13
  import urlFor from './urlFor.js';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
- import { m as main_43 } from './main-9f6806ea.js';
16
- import { c as clean_html_1 } from './entities-6d9154b4.js';
17
- import { A as ADInfeed } from './ADInfeed-f946441a.js';
15
+ import { m as main_43 } from './main-f97773b2.js';
16
+ import { c as clean_html_1 } from './entities-932b50cf.js';
17
+ import { A as ADInfeed } from './ADInfeed-cfc4f7b2.js';
18
18
  import { P as Pagination } from './Pagination-9fe9f61d.js';
19
19
  import Spinner from 'react-bootstrap/Spinner';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
@@ -14,9 +14,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
14
14
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
15
15
  import urlFor from './urlFor.js';
16
16
  import { L as LazyLoad } from './index-755f2cc2.js';
17
- import { m as main_43 } from './main-9f6806ea.js';
18
- import { c as clean_html_1 } from './entities-6d9154b4.js';
19
- import { A as ADInfeed } from './ADInfeed-f946441a.js';
17
+ import { m as main_43 } from './main-f97773b2.js';
18
+ import { c as clean_html_1 } from './entities-932b50cf.js';
19
+ import { A as ADInfeed } from './ADInfeed-cfc4f7b2.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './_iter-detect-98db3b07.js';
@@ -181,14 +181,14 @@ var DeckContent = function (_React$Component) {
181
181
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
182
182
 
183
183
  // 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
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
192
192
  }) */
193
193
 
194
194
  if (pageview) {
@@ -15,8 +15,8 @@ import { g as get_1 } from './get-3c308da4.js';
15
15
  import { d as debounce_1 } from './debounce-533d9748.js';
16
16
  import { I as InfiniteScroll } from './index.es-a6137319.js';
17
17
  import urlFor from './urlFor.js';
18
- import { m as main_43 } from './main-9f6806ea.js';
19
- import { c as clean_html_1 } from './entities-6d9154b4.js';
18
+ import { m as main_43 } from './main-f97773b2.js';
19
+ import { c as clean_html_1 } from './entities-932b50cf.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './_iter-detect-98db3b07.js';
@@ -13,9 +13,9 @@ 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 { g as get_1 } from './get-3c308da4.js';
16
- import { m as main_43 } from './main-9f6806ea.js';
16
+ import { m as main_43 } from './main-f97773b2.js';
17
17
  import urlFor from './urlFor.js';
18
- import { c as clean_html_1 } from './entities-6d9154b4.js';
18
+ import { c as clean_html_1 } from './entities-932b50cf.js';
19
19
  import { P as Pagination } from './Pagination-9fe9f61d.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
@@ -15,7 +15,7 @@ import Col from 'react-bootstrap/Col';
15
15
  import Card from 'react-bootstrap/Card';
16
16
  import Form from 'react-bootstrap/Form';
17
17
  import Button from 'react-bootstrap/Button';
18
- import './main-9f6806ea.js';
18
+ import './main-f97773b2.js';
19
19
  import { m as momentTimezone } from './index-30a6257d.js';
20
20
  import { j as js_cookie } from './js.cookie-6874175c.js';
21
21
  import { useRouter } from 'next/router';
@@ -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-29ed16aa.js';
5
+ import { g as getSerializers } from './index-f2f5b752.js';
6
6
  import { m as momentTimezone } from './index-30a6257d.js';
7
7
  import { useRouter } from 'next/router';
8
8
  import Button from 'react-bootstrap/Button';
@@ -24,7 +24,7 @@ import './asyncToGenerator-958ef5fc.js';
24
24
  import './_library-528f1934.js';
25
25
  import './_iter-detect-98db3b07.js';
26
26
  import './Segment.js';
27
- import './main-9f6806ea.js';
27
+ import './main-f97773b2.js';
28
28
  import './urlForFile-b69adffc.js';
29
29
  import './index-755f2cc2.js';
30
30
  import 'react-dom';
@@ -45,7 +45,7 @@ import 'next/head';
45
45
  import 'react-share';
46
46
  import './toConsumableArray-f7074d7c.js';
47
47
  import 'react-bootstrap/Pagination';
48
- import './entities-6d9154b4.js';
48
+ import './entities-932b50cf.js';
49
49
  import './AdSlot.js';
50
50
  import './debounce-533d9748.js';
51
51
  import './isSymbol-a7e9aafe.js';
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import urlFor from './urlFor.js';
3
- import { m as main_43 } from './main-9f6806ea.js';
3
+ import { m as main_43 } from './main-f97773b2.js';
4
4
  import Carousel from 'react-bootstrap/Carousel';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
@@ -11,16 +11,16 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
11
11
  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
- import { c as clean_html_1 } from './entities-6d9154b4.js';
15
- import { A as ADInfeed } from './ADInfeed-f946441a.js';
14
+ import { c as clean_html_1 } from './entities-932b50cf.js';
15
+ import { A as ADInfeed } from './ADInfeed-cfc4f7b2.js';
16
16
  import { l as lodash } from './lodash-f97fd99a.js';
17
- import { A as ADlgInfeed } from './ADlgInfeed-012e6f16.js';
17
+ import { A as ADlgInfeed } from './ADlgInfeed-74c975b9.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';
21
21
  import { I as InfiniteScroll } from './index.es-a6137319.js';
22
22
  import urlFor from './urlFor.js';
23
- import { m as main_43 } from './main-9f6806ea.js';
23
+ import { m as main_43 } from './main-f97773b2.js';
24
24
  import './AD.js';
25
25
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
26
26
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
@@ -12,14 +12,14 @@ import Card from 'react-bootstrap/Card';
12
12
  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
- import { c as clean_html_1 } from './entities-6d9154b4.js';
16
- import { A as ADInfeed } from './ADInfeed-f946441a.js';
15
+ import { c as clean_html_1 } from './entities-932b50cf.js';
16
+ import { A as ADInfeed } from './ADInfeed-cfc4f7b2.js';
17
17
  import { l as lodash } from './lodash-f97fd99a.js';
18
- import { A as ADlgInfeed } from './ADlgInfeed-012e6f16.js';
18
+ import { A as ADlgInfeed } from './ADlgInfeed-74c975b9.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
- import { m as main_43 } from './main-9f6806ea.js';
22
+ import { m as main_43 } from './main-f97773b2.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
25
25
  import { P as Pagination } from './Pagination-9fe9f61d.js';
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-6d9154b4.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
5
  import { L as LazyLoad } from './index-755f2cc2.js';
6
6
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
@@ -2,7 +2,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { N as NavFooter } from './NavFooter-27a16f65.js';
4
4
  import { S as SocialNavFooter } from './index.esm-06bf63a3.js';
5
- import { S as SocialSearchComponent } from './SocialSearchComponent-daceaa22.js';
5
+ import { S as SocialSearchComponent } from './SocialSearchComponent-2451acd2.js';
6
6
  import 'react-bootstrap/Form';
7
7
  import 'react-bootstrap/FormControl';
8
8
  import 'react-bootstrap/Button';
@@ -14,7 +14,7 @@ import Navbar from 'react-bootstrap/Navbar';
14
14
  import NavDropdown from 'react-bootstrap/NavDropdown';
15
15
  import { M as MdEmail } from './index.esm-9b042655.js';
16
16
  import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
17
- import { m as main_43, c as main_44 } from './main-9f6806ea.js';
17
+ import { m as main_43, c as main_44 } from './main-f97773b2.js';
18
18
  import './_commonjsHelpers-0c4b6f40.js';
19
19
  import './web.dom.iterable-ab4dea5c.js';
20
20
  import './core.get-iterator-method-ea258bb1.js';
@@ -27,15 +27,15 @@ import './_library-528f1934.js';
27
27
  import './_iter-detect-98db3b07.js';
28
28
 
29
29
  var HamMagazine = function HamMagazine(props) {
30
- /*
31
- Example Nav with acceptable props
32
- <MagazineNav
33
- showLogin
34
- logo={props.settings.logo}
35
- dataObject={props.cache.mainNavCache}
36
- website={website}
37
- subNav={props.cache.subNavCache}
38
- />
30
+ /*
31
+ Example Nav with acceptable props
32
+ <MagazineNav
33
+ showLogin
34
+ logo={props.settings.logo}
35
+ dataObject={props.cache.mainNavCache}
36
+ website={website}
37
+ subNav={props.cache.subNavCache}
38
+ />
39
39
  */
40
40
 
41
41
  // 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 {\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}";
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}";
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
 
package/dist/esm/Hero.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { Card } from 'react-bootstrap';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-6d9154b4.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './web.dom.iterable-ab4dea5c.js';
@@ -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-29ed16aa.js';
6
+ import { g as getSerializers } from './index-f2f5b752.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -17,7 +17,7 @@ import 'prop-types';
17
17
  import './smoothscroll-fa4e3f8c.js';
18
18
  import './urlFor.js';
19
19
  import './index-3f5c03b2.js';
20
- import './main-9f6806ea.js';
20
+ import './main-f97773b2.js';
21
21
  import './iconBase-ccc56b97.js';
22
22
  import 'react-bootstrap';
23
23
  import './index-5cc7b406.js';
@@ -47,7 +47,7 @@ import 'next/head';
47
47
  import 'react-share';
48
48
  import './toConsumableArray-f7074d7c.js';
49
49
  import 'react-bootstrap/Pagination';
50
- import './entities-6d9154b4.js';
50
+ import './entities-932b50cf.js';
51
51
  import './AdSlot.js';
52
52
  import './debounce-533d9748.js';
53
53
  import './isSymbol-a7e9aafe.js';