@mjhls/mjh-framework 1.0.998-D4S-2830v3 → 1.0.998

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 (210) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -6
  4. package/dist/cjs/AD300x250x600.js +5 -6
  5. package/dist/cjs/AD728x90.js +6 -7
  6. package/dist/cjs/ADFloatingFooter.js +8 -9
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -9
  9. package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-ef933a08.js} +5 -5
  10. package/dist/cjs/ADSkyscraper.js +8 -9
  11. package/dist/cjs/ADSponsoredResources.js +8 -9
  12. package/dist/cjs/ADWebcast.js +8 -9
  13. package/dist/cjs/ADWelcome.js +12 -13
  14. package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-0e931f24.js} +3 -3
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -10
  17. package/dist/cjs/AdSlotsProvider.js +5 -6
  18. package/dist/cjs/AlgoliaSearch.js +1451 -904
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +14 -15
  22. package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
  23. package/dist/cjs/ArticleSeriesListing.js +29 -30
  24. package/dist/cjs/Auth.js +114 -85
  25. package/dist/cjs/AuthWrapper.js +113 -43
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  27. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  28. package/dist/cjs/Breadcrumbs.js +17 -17
  29. package/dist/cjs/CMEDeck.js +61 -62
  30. package/dist/cjs/Column1.js +7 -7
  31. package/dist/cjs/Column2.js +15 -15
  32. package/dist/cjs/Column3.js +27 -28
  33. package/dist/cjs/ConferenceArticleCard.js +12 -12
  34. package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
  35. package/dist/cjs/ContentCardPaginated.js +49 -50
  36. package/dist/cjs/DeckContent.js +58 -59
  37. package/dist/cjs/DeckQueue.js +57 -58
  38. package/dist/cjs/DeckQueuePaginated.js +46 -47
  39. package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
  40. package/dist/cjs/EventsDeck.js +90 -90
  41. package/dist/cjs/ExternalResources.js +37 -39
  42. package/dist/cjs/Feature.js +17 -17
  43. package/dist/cjs/ForbesHero.js +25 -25
  44. package/dist/cjs/GridContent.js +134 -135
  45. package/dist/cjs/GridContentPaginated.js +121 -122
  46. package/dist/cjs/GridHero.js +26 -26
  47. package/dist/cjs/GroupDeck.js +33 -33
  48. package/dist/cjs/HamMagazine.js +105 -105
  49. package/dist/cjs/Header.js +9 -9
  50. package/dist/cjs/HealthCareProfessionalModal.js +17 -17
  51. package/dist/cjs/Hero.js +5 -5
  52. package/dist/cjs/HighlightenVideo.js +13 -13
  53. package/dist/cjs/HorizontalArticleListing.js +28 -29
  54. package/dist/cjs/HorizontalHero.js +17 -17
  55. package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-1ec0408b.js} +212 -172
  56. package/dist/cjs/IssueContentDeck.js +49 -49
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +19 -20
  59. package/dist/cjs/LeftNav.js +17 -18
  60. package/dist/cjs/MasterDeck.js +39 -40
  61. package/dist/cjs/MasterDeckPaginated.js +29 -30
  62. package/dist/cjs/{MediaSeriesCard-2e5cd247.js → MediaSeriesCard-78f709ca.js} +16 -16
  63. package/dist/cjs/MediaSeriesLanding.js +37 -38
  64. package/dist/cjs/MediaSeriesLandingPaginated.js +36 -37
  65. package/dist/cjs/NavDvm.js +57 -57
  66. package/dist/cjs/{NavFooter-4799de4b.js → NavFooter-880e9d87.js} +11 -11
  67. package/dist/cjs/NavMagazine.js +106 -106
  68. package/dist/cjs/NavNative.js +97 -97
  69. package/dist/cjs/OncliveHero.js +11 -11
  70. package/dist/cjs/OncliveLargeHero.js +49 -49
  71. package/dist/cjs/PageFilter.js +5 -5
  72. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  73. package/dist/cjs/PartnerDetailListing.js +49 -51
  74. package/dist/cjs/PartnerDetailListingPaginated.js +48 -50
  75. package/dist/cjs/PdfDownload.js +4 -4
  76. package/dist/cjs/PixelTracking.js +9 -9
  77. package/dist/cjs/PodcastsLanding.js +22 -23
  78. package/dist/cjs/PopUpModal.js +9 -9
  79. package/dist/cjs/PtceDeck.js +13 -13
  80. package/dist/cjs/PubSection.js +13 -14
  81. package/dist/cjs/PubToc.js +4 -4
  82. package/dist/cjs/PublicationDeck.js +44 -44
  83. package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
  84. package/dist/cjs/PublicationLanding.js +73 -73
  85. package/dist/cjs/QueueDeckExpanded.js +245 -246
  86. package/dist/cjs/QueueDeckExpandedPaginated.js +222 -223
  87. package/dist/cjs/RecentNews.js +15 -15
  88. package/dist/cjs/RelatedContent.js +14 -14
  89. package/dist/cjs/RelatedTopicsDropdown.js +14 -14
  90. package/dist/cjs/RolesDeck.js +20 -20
  91. package/dist/cjs/Schema.js +1 -1
  92. package/dist/cjs/Search.js +6 -6
  93. package/dist/cjs/SeriesListingDeck.js +18 -19
  94. package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-18fc6e71.js} +22 -22
  95. package/dist/cjs/SideFooter.js +18 -18
  96. package/dist/cjs/SocialIcons.js +6 -6
  97. package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-ca9c0c45.js} +28 -28
  98. package/dist/cjs/SocialShare.js +25 -25
  99. package/dist/cjs/TaxonomyCard.js +44 -44
  100. package/dist/cjs/TaxonomyDescription.js +11 -12
  101. package/dist/cjs/TemplateNormal.js +27 -28
  102. package/dist/cjs/ThumbnailCard.js +10 -10
  103. package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-71754b2a.js} +704 -621
  104. package/dist/cjs/Ustream.js +9 -9
  105. package/dist/cjs/VerticalHero.js +10 -10
  106. package/dist/cjs/VideoProgramLandingPage.js +28 -29
  107. package/dist/cjs/VideoSeriesCard.js +13 -13
  108. package/dist/cjs/VideoSeriesFilter.js +5 -5
  109. package/dist/cjs/VideoSeriesLandingPage.js +11 -12
  110. package/dist/cjs/VideoSeriesListing.js +46 -47
  111. package/dist/cjs/View.js +257 -273
  112. package/dist/cjs/YahooHero.js +22 -22
  113. package/dist/cjs/YoutubeGroup.js +33 -33
  114. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
  115. package/dist/cjs/getQuery.js +1 -1
  116. package/dist/cjs/getSerializers.js +6 -7
  117. package/dist/cjs/iconBase-be4097c0.js +2 -4
  118. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  119. package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
  120. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  121. package/dist/cjs/index-b95410f0.js +54 -0
  122. package/dist/cjs/{index-f95a3c0f.js → index-e4f1fe32.js} +487 -499
  123. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  124. package/dist/cjs/{index.esm-1461604c.js → index.esm-f59ef5b4.js} +14 -14
  125. package/dist/cjs/index.js +102 -105
  126. package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
  127. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  128. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  129. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  130. package/dist/esm/AD.js +1 -1
  131. package/dist/esm/AD300x250.js +2 -3
  132. package/dist/esm/AD300x250x600.js +2 -3
  133. package/dist/esm/AD728x90.js +2 -3
  134. package/dist/esm/ADFloatingFooter.js +2 -3
  135. package/dist/esm/ADGutter.js +2 -3
  136. package/dist/esm/ADSkyscraper.js +2 -3
  137. package/dist/esm/ADSponsoredResources.js +2 -3
  138. package/dist/esm/ADWebcast.js +2 -3
  139. package/dist/esm/ADWelcome.js +2 -3
  140. package/dist/esm/AdSlot.js +2 -3
  141. package/dist/esm/AdSlotsProvider.js +2 -3
  142. package/dist/esm/AlgoliaSearch.js +1065 -518
  143. package/dist/esm/ArticleCarousel.js +1 -1
  144. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  145. package/dist/esm/ArticleSeriesLandingPage.js +4 -5
  146. package/dist/esm/ArticleSeriesListing.js +2 -3
  147. package/dist/esm/Auth.js +40 -11
  148. package/dist/esm/AuthWrapper.js +86 -16
  149. package/dist/esm/CMEDeck.js +2 -3
  150. package/dist/esm/Column3.js +2 -3
  151. package/dist/esm/ContentCardPaginated.js +4 -5
  152. package/dist/esm/DeckContent.js +3 -4
  153. package/dist/esm/DeckQueue.js +2 -3
  154. package/dist/esm/DeckQueuePaginated.js +3 -4
  155. package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
  156. package/dist/esm/EventsDeck.js +2 -2
  157. package/dist/esm/ExternalResources.js +7 -9
  158. package/dist/esm/Feature.js +1 -1
  159. package/dist/esm/GridContent.js +4 -5
  160. package/dist/esm/GridContentPaginated.js +5 -6
  161. package/dist/esm/HamMagazine.js +2 -2
  162. package/dist/esm/HorizontalArticleListing.js +3 -4
  163. package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
  164. package/dist/esm/IssueLanding.js +5 -6
  165. package/dist/esm/LeftNav.js +2 -3
  166. package/dist/esm/MasterDeck.js +4 -5
  167. package/dist/esm/MasterDeckPaginated.js +5 -6
  168. package/dist/esm/{MediaSeriesCard-afb517a5.js → MediaSeriesCard-db0176b5.js} +1 -1
  169. package/dist/esm/MediaSeriesLanding.js +8 -9
  170. package/dist/esm/MediaSeriesLandingPaginated.js +9 -10
  171. package/dist/esm/NavMagazine.js +2 -2
  172. package/dist/esm/NavNative.js +1 -1
  173. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  174. package/dist/esm/PartnerDetailListing.js +6 -8
  175. package/dist/esm/PartnerDetailListingPaginated.js +7 -9
  176. package/dist/esm/PodcastsLanding.js +6 -7
  177. package/dist/esm/PubSection.js +4 -5
  178. package/dist/esm/QueueDeckExpanded.js +4 -5
  179. package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
  180. package/dist/esm/SeriesListingDeck.js +3 -4
  181. package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
  182. package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-68d948b9.js} +1 -1
  183. package/dist/esm/TaxonomyDescription.js +3 -4
  184. package/dist/esm/TemplateNormal.js +3 -4
  185. package/dist/esm/{Tooltip-95655b44.js → Tooltip-8307d9d1.js} +150 -67
  186. package/dist/esm/Ustream.js +1 -1
  187. package/dist/esm/VideoProgramLandingPage.js +3 -4
  188. package/dist/esm/VideoSeriesLandingPage.js +4 -5
  189. package/dist/esm/VideoSeriesListing.js +2 -3
  190. package/dist/esm/View.js +43 -59
  191. package/dist/esm/YoutubeGroup.js +1 -1
  192. package/dist/esm/getQuery.js +1 -1
  193. package/dist/esm/getSerializers.js +3 -4
  194. package/dist/esm/index-174b5baf.js +52 -0
  195. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  196. package/dist/esm/{index-04817712.js → index-3bb56969.js} +8 -20
  197. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  198. package/dist/esm/index.js +10 -13
  199. package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
  200. package/package.json +1 -1
  201. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  202. package/dist/cjs/events-1b438fe7.js +0 -469
  203. package/dist/cjs/index-50be6759.js +0 -105
  204. package/dist/cjs/typeof-1358762e.js +0 -33
  205. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  206. package/dist/esm/events-6c3a7a63.js +0 -467
  207. package/dist/esm/index-98ca9cec.js +0 -100
  208. package/dist/esm/typeof-2f07d0e8.js +0 -30
  209. /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-f946441a.js} +0 -0
  210. /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-012e6f16.js} +0 -0
package/dist/esm/View.js CHANGED
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
8
8
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
9
9
  import { m as moment } from './moment-bc12cb97.js';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
- import { m as main_43 } from './main-1894c974.js';
11
+ import { m as main_43 } from './main-9f6806ea.js';
12
12
  import 'react-bootstrap/Dropdown';
13
13
  import Form from 'react-bootstrap/Form';
14
14
  import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-04817712.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-3bb56969.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
@@ -33,7 +33,7 @@ import { PixelTrackingArticle } from './PixelTracking.js';
33
33
  import './Segment.js';
34
34
  import { _ as _Object$keys } from './keys-31dcdb31.js';
35
35
  import { I as InfiniteScroll } from './index.es-a6137319.js';
36
- import { l as lib_3 } from './index-f0fc23eb.js';
36
+ import { l as lib_3 } from './index-5cc7b406.js';
37
37
  import getRelatedArticle from './getRelatedArticle.js';
38
38
  import getQuery from './getQuery.js';
39
39
  import getSeriesDetail from './getSeriesDetail.js';
@@ -74,7 +74,6 @@ import './checkSisterSite-baa4fb6b.js';
74
74
  import './debounce-533d9748.js';
75
75
  import './isSymbol-a7e9aafe.js';
76
76
  import './toNumber-5aeba6e7.js';
77
- import './events-6c3a7a63.js';
78
77
  import './index-db3bb315.js';
79
78
 
80
79
  var getArticleSummary = function getArticleSummary(article) {
@@ -1018,8 +1017,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1018
1017
  downloadCitation = _props$downloadCitati === undefined ? false : _props$downloadCitati,
1019
1018
  _props$useSegmentReco = props.useSegmentRecommendedArticles,
1020
1019
  useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco,
1021
- showIssueNameOnly = props.showIssueNameOnly,
1022
- showPageNumber = props.showPageNumber,
1023
1020
  emailList = props.emailList,
1024
1021
  articleRecs = props.articleRecs;
1025
1022
  var sliderData = props.sliderData;
@@ -1030,9 +1027,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1030
1027
  if (article && article.documentGroup && article.documentGroup.disableEpisodeNumber === true) {
1031
1028
  disableEpisodeNumber = true;
1032
1029
  }
1033
- var logicforDisplayingEpisodeNumber = !disableEpisodeNumber;
1030
+ var logicforDisplayingEpisodeNumber = disableEpisodeNumber ? false : true;
1034
1031
  var targeting = getTargeting(props);
1035
- // remove slider data if toggled
1032
+ //remove slider data if toggled
1036
1033
  if (article && article.documentGroup && article.documentGroup.hideSeriesSlider === true) {
1037
1034
  sliderData = null;
1038
1035
  }
@@ -1056,12 +1053,12 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1056
1053
  }
1057
1054
  }
1058
1055
 
1059
- // if showSocialShare is not disabled for entire site, check article taxonomy, docgroup, authors for showSocialShare === false
1056
+ //if showSocialShare is not disabled for entire site, check article taxonomy, docgroup, authors for showSocialShare === false
1060
1057
  if (showSocialShare) {
1061
1058
  showSocialShare = getSocialShareDisableFlag(props.article);
1062
1059
  }
1063
1060
 
1064
- // If sponsored flag, disable contextual ads
1061
+ //If sponsored flag, disable contextual ads
1065
1062
  if (sponsoredFlag) {
1066
1063
  article.contextualVideoAD = false;
1067
1064
  article.contextualAD = false;
@@ -1070,7 +1067,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1070
1067
  if (article.disableRelatedContent) {
1071
1068
  showRelatedArticles = false;
1072
1069
  }
1073
- // This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
1070
+ //This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
1074
1071
  if (!sponsoredFlag && Ads.getVideoContextualAD) {
1075
1072
  article.contextualVideoAD = Ads.getVideoContextualAD(getTargeting(props, 'in-context_video'));
1076
1073
  }
@@ -1151,11 +1148,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1151
1148
 
1152
1149
  var getAbstract = function getAbstract() {
1153
1150
  return article.abstract && article.abstract.map(function (block) {
1154
- if (block.children) {
1155
- return block.children.map(function (child) {
1156
- if (child._type === 'span') return child.text;
1157
- });
1158
- }
1151
+ if (block.children) return block.children.map(function (child) {
1152
+ if (child._type === 'span') return child.text;
1153
+ });
1159
1154
  }).join(' ');
1160
1155
  };
1161
1156
 
@@ -1173,52 +1168,52 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1173
1168
  var fileContent = 'TY - JOUR\n';
1174
1169
  if (issue) {
1175
1170
  if (article.title) {
1176
- fileContent += 'TI - ' + article.title + '\n'; // Title - TI
1177
- fileContent += 'T1 - ' + article.title + '\n'; // Title - T1
1171
+ fileContent += 'TI - ' + article.title + '\n'; //Title - TI
1172
+ fileContent += 'T1 - ' + article.title + '\n'; //Title - T1
1178
1173
  }
1179
1174
  if (authorDetails && authorDetails.length) {
1180
1175
  authorDetails.map(function (authorDetail, index) {
1181
1176
  return fileContent += 'AU - ' + (authorDetail.firstName && authorDetail.lastName ? authorDetail.lastName + ', ' + authorDetail.firstName : '' + authorDetail.displayName) + '\n';
1182
- } // Author
1177
+ } //Author
1183
1178
  );
1184
1179
  }
1185
1180
  if (issue.publication && issue.publication.name) {
1186
- fileContent += 'T2 - ' + issue.publication.name + '\n'; // Secondary Title - T2
1187
- fileContent += 'JF - ' + issue.publication.name + '\n'; // Journal Name - JF
1181
+ fileContent += 'T2 - ' + issue.publication.name + '\n'; //Secondary Title - T2
1182
+ fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
1188
1183
  }
1189
1184
  if (issue.name) {
1190
- fileContent += 'T3 - ' + issue.name + '\n'; // Issue Name - T3
1185
+ fileContent += 'T3 - ' + issue.name + '\n'; //Issue Name - T3
1191
1186
  }
1192
1187
  if (issue.abbreviatedJournal) {
1193
- fileContent += 'JO - ' + issue.abbreviatedJournal + '\n'; // Journal Name - JO
1188
+ fileContent += 'JO - ' + issue.abbreviatedJournal + '\n'; //Journal Name - JO
1194
1189
  }
1195
- if (article.abstract) fileContent += 'AB - ' + getAbstract() + '\n'; // Abstract - AB
1196
- if (article.abstract) fileContent += 'N2 - ' + getAbstract() + '\n'; // Abstract - N2
1197
- if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; // Issue Number - IS
1198
- fileContent += 'PB - MJH Life Sciences\n'; // Publisher - PB
1199
- if (issue.year) fileContent += 'PY - ' + issue.year + '\n'; // Published Year - PY
1200
- if (issue.volume) fileContent += 'VL - ' + issue.volume + '\n'; // Volume - VL
1201
- if (issue.url) fileContent += 'L1 - ' + issue.url + '\n'; // Link to PDF - L1
1190
+ if (article.abstract) fileContent += 'AB - ' + getAbstract() + '\n'; //Abstract - AB
1191
+ if (article.abstract) fileContent += 'N2 - ' + getAbstract() + '\n'; //Abstract - N2
1192
+ if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
1193
+ fileContent += 'PB - MJH Life Sciences\n'; //Publisher - PB
1194
+ if (issue.year) fileContent += 'PY - ' + issue.year + '\n'; //Published Year - PY
1195
+ if (issue.volume) fileContent += 'VL - ' + issue.volume + '\n'; //Volume - VL
1196
+ if (issue.url) fileContent += 'L1 - ' + issue.url + '\n'; //Link to PDF - L1
1202
1197
  if (shareOptions && shareOptions.shareBaseUrl) {
1203
- fileContent += 'L2 - ' + (shareOptions.shareBaseUrl + url) + '\n'; // Link to Full-text - L2
1204
- fileContent += 'UR - ' + (shareOptions.shareBaseUrl + url) + '\n'; // Doc URL - UR
1198
+ fileContent += 'L2 - ' + (shareOptions.shareBaseUrl + url) + '\n'; //Link to Full-text - L2
1199
+ fileContent += 'UR - ' + (shareOptions.shareBaseUrl + url) + '\n'; //Doc URL - UR
1205
1200
  }
1206
- if (props.Website) fileContent += 'LK - https://' + props.Website.liveDomain + '\n'; // Website Link - LK
1201
+ if (props.Website) fileContent += 'LK - https://' + props.Website.liveDomain + '\n'; //Website Link - LK
1207
1202
  if (issue.isbn_issn) {
1208
- fileContent += 'SN - ' + issue.isbn_issn + '\n'; // ISSN/ISBN - TI
1203
+ fileContent += 'SN - ' + issue.isbn_issn + '\n'; //ISSN/ISBN - TI
1209
1204
  }
1210
1205
  if (pageNumber) {
1211
1206
  if (pageNumber.includes('-')) {
1212
- fileContent += 'SP - ' + pageNumber.split('-')[0] + '\n'; // Start Page - SP
1213
- fileContent += 'EP - ' + pageNumber.split('-')[1] + '\n'; // End Page - EP
1207
+ fileContent += 'SP - ' + pageNumber.split('-')[0] + '\n'; //Start Page - SP
1208
+ fileContent += 'EP - ' + pageNumber.split('-')[1] + '\n'; //End Page - EP
1214
1209
  } else {
1215
1210
  fileContent += 'SP - ' + pageNumber + '\n';
1216
1211
  }
1217
1212
  }
1218
- if (article.published) fileContent += 'Y1 - ' + moment(published).format('DD-MMMM-YYYY') + '\n'; // Primary Date - Y1
1219
- fileContent += 'Y2 - ' + moment().format('DD-MMMM-YYYY') + '\n'; // Access Date - Y2
1213
+ if (article.published) fileContent += 'Y1 - ' + moment(published).format('DD-MMMM-YYYY') + '\n'; //Primary Date - Y1
1214
+ fileContent += 'Y2 - ' + moment().format('DD-MMMM-YYYY') + '\n'; //Access Date - Y2
1220
1215
  }
1221
- fileContent += 'ER -\n'; // End of Record
1216
+ fileContent += 'ER -\n'; //End of Record
1222
1217
  return fileContent;
1223
1218
  };
1224
1219
  var getAuthorList = function getAuthorList() {
@@ -1781,7 +1776,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1781
1776
  { className: 'volume-issue' },
1782
1777
  issue.publication && issue.publication.name && React__default.createElement(
1783
1778
  'span',
1784
- { className: 'mb-0-pub' },
1779
+ { className: 'mb-0' },
1785
1780
  React__default.createElement(
1786
1781
  'b',
1787
1782
  null,
@@ -1790,22 +1785,17 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1790
1785
  ',',
1791
1786
  ' '
1792
1787
  ),
1793
- issue.name && showIssueNameOnly === undefined ? React__default.createElement(
1794
- 'span',
1795
- { className: 'mb-0' },
1796
- issue.name,
1797
- ', '
1798
- ) : issue.name && showIssueNameOnly === false ? React__default.createElement(
1788
+ issue.name && React__default.createElement(
1799
1789
  'span',
1800
1790
  { className: 'mb-0' },
1801
1791
  issue.name,
1802
1792
  ', '
1803
- ) : null,
1793
+ ),
1804
1794
  issue.volume && React__default.createElement(
1805
1795
  'span',
1806
1796
  null,
1807
1797
  'Volume ' + issue.volume,
1808
- ', '
1798
+ ','
1809
1799
  ),
1810
1800
  issue.issueNumber && React__default.createElement(
1811
1801
  'span',
@@ -1813,15 +1803,11 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1813
1803
  ' Issue ' + issue.issueNumber
1814
1804
  )
1815
1805
  ),
1816
- pageNumber && showPageNumber ? React__default.createElement(
1806
+ pageNumber && React__default.createElement(
1817
1807
  'div',
1818
1808
  { className: 'article-pageNumber' },
1819
1809
  'Pages: ' + pageNumber
1820
- ) : pageNumber && showPageNumber === undefined ? React__default.createElement(
1821
- 'div',
1822
- { className: 'article-pageNumber' },
1823
- 'Pages: ' + pageNumber
1824
- ) : null
1810
+ )
1825
1811
  ),
1826
1812
  React__default.createElement(
1827
1813
  'div',
@@ -2287,9 +2273,7 @@ var ArticleQueue = function ArticleQueue(props) {
2287
2273
  // Passing queueData to check for single article
2288
2274
  , queueData: queueData,
2289
2275
  showRelatedArticles: showRelatedArticles,
2290
- index: index,
2291
- showPageNumber: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showPageNumber : null,
2292
- showIssueNameOnly: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showIssueNameOnly : null
2276
+ index: index
2293
2277
  }))
2294
2278
  );
2295
2279
  })
@@ -2501,7 +2485,7 @@ var View = function View(props) {
2501
2485
  props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
2502
2486
  )
2503
2487
  ),
2504
- !needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props, { showIssueNameOnly: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showIssueNameOnly : null, showPageNumber: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showPageNumber : null })) : React__default.createElement(ArticleQueue, _extends({
2488
+ !needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props)) : React__default.createElement(ArticleQueue, _extends({
2505
2489
  infiniteScroll: true,
2506
2490
  showRelatedArticles: showRelatedArticles,
2507
2491
  canonicalTag: canonicalTag,
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
5
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
- import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-9f6806ea.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './web.dom.iterable-ab4dea5c.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
@@ -11,7 +11,7 @@ var getQuery = function getQuery(type) {
11
11
  case 'related':
12
12
  return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && isHealthcareProfessional != true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n && !defined(body[].quizzes)\n && !defined(body[].slides)\n && !defined(body[].articles)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
13
13
  case 'article':
14
- return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, showIssueNameOnly, showPageNumber, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
14
+ return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
15
15
  case 'publication':
16
16
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
17
17
  case 'issue':
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-04817712.js';
2
+ export { g as default } from './index-3bb56969.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -9,8 +9,7 @@ import './core.get-iterator-method-ea258bb1.js';
9
9
  import 'react-bootstrap';
10
10
  import './urlFor.js';
11
11
  import './index-3f5c03b2.js';
12
- import './index-f0fc23eb.js';
13
- import './events-6c3a7a63.js';
12
+ import './index-5cc7b406.js';
14
13
  import 'prop-types';
15
14
  import 'next/router';
16
15
  import './index-c7e2ac95.js';
@@ -21,7 +20,7 @@ import './asyncToGenerator-958ef5fc.js';
21
20
  import './_library-528f1934.js';
22
21
  import './_iter-detect-98db3b07.js';
23
22
  import './Segment.js';
24
- import './main-1894c974.js';
23
+ import './main-9f6806ea.js';
25
24
  import './extends-6d8e3924.js';
26
25
  import './_object-pie-133f504a.js';
27
26
  import './urlForFile-b69adffc.js';
@@ -0,0 +1,52 @@
1
+ import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
+
3
+ var classnames = createCommonjsModule(function (module) {
4
+ /*!
5
+ Copyright (c) 2017 Jed Watson.
6
+ Licensed under the MIT License (MIT), see
7
+ http://jedwatson.github.io/classnames
8
+ */
9
+ /* global define */
10
+
11
+ (function () {
12
+
13
+ var hasOwn = {}.hasOwnProperty;
14
+
15
+ function classNames () {
16
+ var classes = [];
17
+
18
+ for (var i = 0; i < arguments.length; i++) {
19
+ var arg = arguments[i];
20
+ if (!arg) continue;
21
+
22
+ var argType = typeof arg;
23
+
24
+ if (argType === 'string' || argType === 'number') {
25
+ classes.push(arg);
26
+ } else if (Array.isArray(arg) && arg.length) {
27
+ var inner = classNames.apply(null, arg);
28
+ if (inner) {
29
+ classes.push(inner);
30
+ }
31
+ } else if (argType === 'object') {
32
+ for (var key in arg) {
33
+ if (hasOwn.call(arg, key) && arg[key]) {
34
+ classes.push(key);
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ return classes.join(' ');
41
+ }
42
+
43
+ if (module.exports) {
44
+ classNames.default = classNames;
45
+ module.exports = classNames;
46
+ } else {
47
+ window.classNames = classNames;
48
+ }
49
+ }());
50
+ });
51
+
52
+ export { classnames as c };