@mjhls/mjh-framework 1.0.986-article-rec-v2 → 1.0.986-disable-prev

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 (169) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AlgoliaSearch.js +18 -142
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  4. package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
  5. package/dist/cjs/Auth.js +17 -20
  6. package/dist/cjs/AuthWrapper.js +12 -18
  7. package/dist/cjs/CMEDeck.js +1 -5
  8. package/dist/cjs/Column1.js +1 -1
  9. package/dist/cjs/Column2.js +1 -1
  10. package/dist/cjs/Column3.js +1 -1
  11. package/dist/cjs/ContentCardPaginated.js +3 -2
  12. package/dist/cjs/DeckContent.js +1 -1
  13. package/dist/cjs/DeckQueuePaginated.js +2 -1
  14. package/dist/cjs/Dfp-9be904d5.js +1 -1
  15. package/dist/cjs/ExternalResources.js +1 -1
  16. package/dist/cjs/GridContent.js +2 -2
  17. package/dist/cjs/GridContentPaginated.js +4 -3
  18. package/dist/cjs/HamMagazine.js +1 -1
  19. package/dist/cjs/Header.js +1 -1
  20. package/dist/cjs/HorizontalArticleListing.js +1 -1
  21. package/dist/cjs/IssueLanding.js +3 -3
  22. package/dist/cjs/LeftNav.js +1 -1
  23. package/dist/cjs/MasterDeck.js +2 -2
  24. package/dist/cjs/MasterDeckPaginated.js +4 -3
  25. package/dist/cjs/{MediaSeriesCard-a9755b4a.js → MediaSeriesCard-90875937.js} +43 -65
  26. package/dist/cjs/MediaSeriesLanding.js +4 -4
  27. package/dist/cjs/MediaSeriesLandingPaginated.js +6 -5
  28. package/dist/cjs/NavDvm.js +1 -1
  29. package/dist/cjs/NavMagazine.js +1 -1
  30. package/dist/cjs/NavNative.js +1 -1
  31. package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
  32. package/dist/cjs/PartnerDetailListing.js +6 -6
  33. package/dist/cjs/PartnerDetailListingPaginated.js +5 -4
  34. package/dist/cjs/PubSection.js +2 -2
  35. package/dist/cjs/QueueDeckExpanded.js +2 -2
  36. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
  37. package/dist/cjs/Segment.js +0 -49
  38. package/dist/cjs/TaxonomyDescription.js +1 -1
  39. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  40. package/dist/cjs/VideoSeriesLandingPage.js +2 -2
  41. package/dist/cjs/View.js +68 -125
  42. package/dist/cjs/getPtceActivities.js +10 -23
  43. package/dist/cjs/getSerializers.js +1 -1
  44. package/dist/cjs/{index-5e63adb9.js → index-869cab56.js} +1 -1
  45. package/dist/cjs/index.js +4 -3
  46. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  47. package/dist/esm/AD.js +1 -1
  48. package/dist/esm/AD300x250.js +1 -1
  49. package/dist/esm/AD300x250x600.js +1 -1
  50. package/dist/esm/AD728x90.js +1 -1
  51. package/dist/esm/ADFloatingFooter.js +1 -1
  52. package/dist/esm/ADFooter.js +1 -1
  53. package/dist/esm/ADGutter.js +1 -1
  54. package/dist/esm/ADSkyscraper.js +1 -1
  55. package/dist/esm/ADSponsoredResources.js +1 -1
  56. package/dist/esm/ADWebcast.js +1 -1
  57. package/dist/esm/ADWelcome.js +1 -1
  58. package/dist/esm/AccordionPanel.js +1 -1
  59. package/dist/esm/AdSlot.js +1 -1
  60. package/dist/esm/AdSlotsProvider.js +1 -1
  61. package/dist/esm/AlgoliaSearch.js +20 -144
  62. package/dist/esm/AlphabeticList.js +1 -1
  63. package/dist/esm/ArticleCarousel.js +1 -1
  64. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  65. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  66. package/dist/esm/ArticleSeriesListing.js +1 -1
  67. package/dist/esm/Auth.js +18 -20
  68. package/dist/esm/AuthWrapper.js +13 -19
  69. package/dist/esm/Beam.js +1 -1
  70. package/dist/esm/Breadcrumbs.js +1 -1
  71. package/dist/esm/CMEDeck.js +2 -6
  72. package/dist/esm/Column1.js +2 -1
  73. package/dist/esm/Column2.js +2 -1
  74. package/dist/esm/Column3.js +2 -1
  75. package/dist/esm/ConferenceArticleCard.js +1 -1
  76. package/dist/esm/ContentCardPaginated.js +4 -3
  77. package/dist/esm/DeckContent.js +2 -2
  78. package/dist/esm/DeckQueue.js +1 -1
  79. package/dist/esm/DeckQueuePaginated.js +3 -2
  80. package/dist/esm/Dfp-102f0beb.js +1 -1
  81. package/dist/esm/EventsDeck.js +1 -1
  82. package/dist/esm/ExternalResources.js +2 -2
  83. package/dist/esm/Feature.js +1 -1
  84. package/dist/esm/ForbesHero.js +1 -1
  85. package/dist/esm/GridContent.js +3 -3
  86. package/dist/esm/GridContentPaginated.js +5 -4
  87. package/dist/esm/GridHero.js +1 -1
  88. package/dist/esm/GroupDeck.js +1 -1
  89. package/dist/esm/HamMagazine.js +2 -1
  90. package/dist/esm/Header.js +2 -1
  91. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  92. package/dist/esm/Hero.js +1 -1
  93. package/dist/esm/HighlightenVideo.js +1 -1
  94. package/dist/esm/HorizontalArticleListing.js +2 -2
  95. package/dist/esm/HorizontalHero.js +1 -1
  96. package/dist/esm/IssueContentDeck.js +1 -1
  97. package/dist/esm/IssueDeck.js +1 -1
  98. package/dist/esm/IssueLanding.js +4 -4
  99. package/dist/esm/KMTracker.js +1 -1
  100. package/dist/esm/LeftNav.js +2 -1
  101. package/dist/esm/MasterDeck.js +3 -3
  102. package/dist/esm/MasterDeckPaginated.js +5 -4
  103. package/dist/esm/{MediaSeriesCard-f68f8e63.js → MediaSeriesCard-767d6d90.js} +43 -65
  104. package/dist/esm/MediaSeriesLanding.js +5 -5
  105. package/dist/esm/MediaSeriesLandingPaginated.js +7 -6
  106. package/dist/esm/NavDvm.js +2 -1
  107. package/dist/esm/NavMagazine.js +2 -1
  108. package/dist/esm/NavNative.js +2 -1
  109. package/dist/esm/OncliveHero.js +1 -1
  110. package/dist/esm/OncliveLargeHero.js +1 -1
  111. package/dist/esm/PageFilter.js +1 -1
  112. package/dist/esm/Pagination-cd21f8c2.js +82 -0
  113. package/dist/esm/PartnerDetailListing.js +7 -7
  114. package/dist/esm/PartnerDetailListingPaginated.js +6 -5
  115. package/dist/esm/PdfDownload.js +1 -1
  116. package/dist/esm/PopUpModal.js +1 -1
  117. package/dist/esm/PtceDeck.js +1 -1
  118. package/dist/esm/PubSection.js +3 -3
  119. package/dist/esm/PubToc.js +1 -1
  120. package/dist/esm/PublicationDeck.js +1 -1
  121. package/dist/esm/PublicationLanding.js +1 -1
  122. package/dist/esm/QueueDeckExpanded.js +3 -3
  123. package/dist/esm/QueueDeckExpandedPaginated.js +5 -4
  124. package/dist/esm/RecentNews.js +1 -1
  125. package/dist/esm/RelatedContent.js +1 -1
  126. package/dist/esm/RelatedTopicsDropdown.js +1 -1
  127. package/dist/esm/RolesDeck.js +1 -1
  128. package/dist/esm/Schema.js +1 -1
  129. package/dist/esm/Search.js +1 -1
  130. package/dist/esm/Segment.js +2 -51
  131. package/dist/esm/SeriesListingDeck.js +1 -1
  132. package/dist/esm/SetCookie.js +1 -1
  133. package/dist/esm/SideFooter.js +1 -1
  134. package/dist/esm/SocialIcons.js +1 -1
  135. package/dist/esm/SocialShare.js +1 -1
  136. package/dist/esm/TaxonomyCard.js +1 -1
  137. package/dist/esm/TaxonomyDescription.js +2 -2
  138. package/dist/esm/TemplateNormal.js +1 -1
  139. package/dist/esm/ThumbnailCard.js +1 -1
  140. package/dist/esm/Ustream.js +1 -1
  141. package/dist/esm/VerticalHero.js +1 -1
  142. package/dist/esm/VideoProgramLandingPage.js +2 -2
  143. package/dist/esm/VideoSeriesCard.js +1 -1
  144. package/dist/esm/VideoSeriesFilter.js +1 -1
  145. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  146. package/dist/esm/VideoSeriesListing.js +1 -1
  147. package/dist/esm/View.js +68 -126
  148. package/dist/esm/YahooHero.js +1 -1
  149. package/dist/esm/YoutubeGroup.js +1 -1
  150. package/dist/esm/getKeywords.js +1 -1
  151. package/dist/esm/getPtceActivities.js +10 -23
  152. package/dist/esm/getQuery.js +1 -1
  153. package/dist/esm/getRelatedArticle.js +1 -1
  154. package/dist/esm/getRootDocGroup.js +1 -1
  155. package/dist/esm/getSerializers.js +1 -1
  156. package/dist/esm/getSeriesDetail.js +1 -1
  157. package/dist/esm/{index-e0aeabc5.js → index-4959f8e7.js} +1 -1
  158. package/dist/esm/index.js +4 -3
  159. package/dist/esm/stringify-2b084bee.js +1 -1
  160. package/dist/esm/timeDifferenceCalc.js +1 -1
  161. package/dist/esm/urlFor.js +1 -1
  162. package/dist/esm/ustream-api-d3714624.js +1 -1
  163. package/package.json +1 -1
  164. package/dist/cjs/Pagination-2a3d0103.js +0 -97
  165. package/dist/esm/Pagination-dc30727b.js +0 -90
  166. /package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-81006615.js} +0 -0
  167. /package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-0db07099.js} +0 -0
  168. /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-6d1fc6bf.js} +0 -0
  169. /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-dc36c928.js} +0 -0
package/dist/esm/View.js CHANGED
@@ -15,7 +15,7 @@ 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-e0aeabc5.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-4959f8e7.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
20
  import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
@@ -28,15 +28,15 @@ import { s as styleInject } from './style-inject.es-1f59c1d0.js';
28
28
  import './index-755f2cc2.js';
29
29
  import { DiscussionEmbed } from 'disqus-react';
30
30
  import Schema from './Schema.js';
31
- import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
31
+ import FileSaver from 'file-saver';
32
32
  import { PixelTrackingArticle } from './PixelTracking.js';
33
- import './Segment.js';
34
33
  import { _ as _Object$keys } from './keys-31dcdb31.js';
35
34
  import { I as InfiniteScroll } from './index.es-a6137319.js';
36
35
  import { l as lib_3 } from './index-f0fc23eb.js';
37
36
  import getRelatedArticle from './getRelatedArticle.js';
38
37
  import getQuery from './getQuery.js';
39
38
  import getSeriesDetail from './getSeriesDetail.js';
39
+ import './_commonjsHelpers-0c4b6f40.js';
40
40
  import './core.get-iterator-method-ea258bb1.js';
41
41
  import './web.dom.iterable-ab4dea5c.js';
42
42
  import './_library-528f1934.js';
@@ -50,6 +50,7 @@ import 'react-bootstrap';
50
50
  import './index-c7e2ac95.js';
51
51
  import './util-8ed16d48.js';
52
52
  import './Beam.js';
53
+ import './Segment.js';
53
54
  import './brightcove-react-player-loader.es-57a70a56.js';
54
55
  import 'react-bootstrap/Modal';
55
56
  import 'react-ga';
@@ -462,12 +463,6 @@ var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
462
463
  return showSocialShare;
463
464
  };
464
465
 
465
- var FileSaver_min = createCommonjsModule(function (module, exports) {
466
- (function(a,b){b();})(commonjsGlobal,function(){function b(a,b){return "undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a),d.responseType="blob",d.onload=function(){g(d.response,b,c);},d.onerror=function(){console.error("could not download file");},d.send();}function d(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send();}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"));}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b);}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof commonjsGlobal&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement("a");g=g||b.name||"download",j.download=g,j.rel="noopener","string"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target="_blank")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href);},4E4),setTimeout(function(){e(j);},0));}:"msSaveOrOpenBlob"in navigator?function(f,g,h){if(g=g||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else {var i=document.createElement("a");i.href=f,i.target="_blank",setTimeout(function(){e(i);});}}:function(b,d,e,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),"string"==typeof b)return c(b,d,e);var h="application/octet-stream"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=a:location=a,g=null;},k.readAsDataURL(b);}else {var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m);},4E4);}});f.saveAs=g.saveAs=g,(module.exports=g);});
467
-
468
-
469
- });
470
-
471
466
  var css = ".RecommendedArticles-module_recommendTitle__2kUji {\n border-bottom: 2px solid var(--secondary-blue);\n font-size: 1.5rem;\n font-weight: bold;\n color: #0d335a;\n padding: 0.5rem;\n}\n.RecommendedArticles-module_recommendContainer__sZukI {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n margin: 0 -0.5rem;\n}\n.RecommendedArticles-module_recommendTop__1_yqw {\n margin: 0.5rem;\n width: 100%;\n flex-basis: 100%;\n display: flex;\n\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu {\n min-width: 55%;\n width: 55%;\n height: 100%;\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.RecommendedArticles-module_recommendTopBody__-13FI {\n margin-left: 1rem;\n line-height: 1.3;\n color: #121212;\n display: flex;\n flex-direction: column;\n}\n.RecommendedArticles-module_topTitle__2EafN {\n font-size: 25px;\n font-weight: bold;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topBody__2_VNi {\n font-size: 19px;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topLink__2RnXu {\n font-size: 19px;\n color: rgb(43, 43, 151);\n text-decoration: underline;\n margin-top: auto;\n}\n.RecommendedArticles-module_smContainer__4byBO {\n width: calc(25% - 1rem);\n margin: 0 0.5rem;\n}\n.RecommendedArticles-module_smImage__TYZGY img {\n width: 100%;\n}\n.RecommendedArticles-module_title__3q1ud {\n margin-top: 1rem;\n line-height: 1.2;\n color: #121212;\n}\n.RecommendedArticles-module_category__2jRto {\n text-transform: uppercase;\n font-size: 16px;\n letter-spacing: 2px;\n margin: 0.25rem 0;\n}\n\n/* media query */\n\n@media screen and (max-width: 1399px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 21px;\n }\n .RecommendedArticles-module_topBody__2_VNi {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 1191px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 23px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 17px;\n }\n}\n@media screen and (max-width: 968px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 18px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 768px) {\n .RecommendedArticles-module_recommendTop__1_yqw {\n flex-direction: column;\n }\n .RecommendedArticles-module_recommendTopImg__1b9gu,\n .RecommendedArticles-module_recommendTopBody__-13FI {\n width: 100%;\n margin: 0;\n }\n .RecommendedArticles-module_recommendTopBody__-13FI {\n margin-bottom: 1rem;\n }\n .RecommendedArticles-module_smContainer__4byBO {\n width: calc(50% - 1rem);\n }\n}";
472
467
  var styles = { "recommendTitle": "RecommendedArticles-module_recommendTitle__2kUji", "recommendContainer": "RecommendedArticles-module_recommendContainer__sZukI", "recommendTop": "RecommendedArticles-module_recommendTop__1_yqw", "recommendTopImg": "RecommendedArticles-module_recommendTopImg__1b9gu", "recommendTopBody": "RecommendedArticles-module_recommendTopBody__-13FI", "topTitle": "RecommendedArticles-module_topTitle__2EafN", "topBody": "RecommendedArticles-module_topBody__2_VNi", "topLink": "RecommendedArticles-module_topLink__2RnXu", "smContainer": "RecommendedArticles-module_smContainer__4byBO", "smImage": "RecommendedArticles-module_smImage__TYZGY", "title": "RecommendedArticles-module_title__3q1ud", "category": "RecommendedArticles-module_category__2jRto" };
473
468
  styleInject(css);
@@ -479,9 +474,7 @@ var Recommended = function Recommended(props) {
479
474
  client = props.client,
480
475
  _props$index = props.index,
481
476
  index = _props$index === undefined ? 0 : _props$index,
482
- cpModificationRequired = props.cpModificationRequired,
483
- emailList = props.emailList,
484
- articleRecsQuery = props.articleRecsQuery;
477
+ cpModificationRequired = props.cpModificationRequired;
485
478
 
486
479
  var _useState = useState(false),
487
480
  _useState2 = _slicedToArray(_useState, 2),
@@ -496,17 +489,16 @@ var Recommended = function Recommended(props) {
496
489
  var _useState5 = useState('loading'),
497
490
  _useState6 = _slicedToArray(_useState5, 2),
498
491
  loaded = _useState6[0],
499
- setLoaded = _useState6[1]; // loading, loaded, failed
492
+ setLoaded = _useState6[1]; //loading, loaded, failed
500
493
 
501
494
 
502
495
  var starting = index * 5;
503
- var emailTracked = useRef(false);
504
-
505
496
  var contentMapping = {
506
497
  videos: 'video',
507
498
  articles: 'article',
508
499
  podcasts: 'podcast'
509
500
  };
501
+
510
502
  var mainCategories = article.content_placement.filter(function (cp) {
511
503
  return cp.usedForRecommendations === true;
512
504
  }).map(function (cp) {
@@ -519,69 +511,43 @@ var Recommended = function Recommended(props) {
519
511
  return;
520
512
  }
521
513
  if (mainCategories.length > 0) {
514
+ //console.log(mainCategories)
522
515
  analytics.track('Article Category Viewed', {
523
- 'categories.$': _JSON$stringify(mainCategories)
516
+ categories: _JSON$stringify(mainCategories)
524
517
  });
525
518
  }
519
+
520
+ // get users traits
526
521
  var getSegmentProfile = function () {
527
522
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
528
- var anonymousId, traits, i, response, data, addTaxonomyName, favoriteCategories, articlesCategory, videosCategory, podcastCategory, taxonomyCategories, taxonomies, articlesQuery, videosQuery, podcastQuery, params, _ref2, _ref3, _articles, videos, podcasts, recs;
523
+ var anonymousId, response, data, addTaxonomyName, favoriteCategories, articlesCategory, videosCategory, podcastCategory, taxonomyCategories, taxonomies, articlesQuery, videosQuery, podcastQuery, params, _ref2, _ref3, _articles, videos, podcasts;
529
524
 
530
525
  return regenerator.wrap(function _callee$(_context) {
531
526
  while (1) {
532
527
  switch (_context.prev = _context.next) {
533
528
  case 0:
534
529
  anonymousId = analytics.user().anonymousId();
535
- traits = analytics.user().traits();
536
- // console.log('anonymousId', anonymousId)
537
-
538
- if (!(traits && traits.email)) {
539
- _context.next = 11;
540
- break;
541
- }
542
-
543
- i = 0;
544
-
545
- case 4:
546
- if (!(i < emailList.length)) {
547
- _context.next = 11;
548
- break;
549
- }
550
-
551
- if (!(traits.email === emailList[i].email)) {
552
- _context.next = 8;
553
- break;
554
- }
555
-
556
- emailTracked.current = true;
557
- return _context.abrupt('break', 11);
558
-
559
- case 8:
560
- i++;
561
- _context.next = 4;
562
- break;
563
-
564
- case 11:
565
- _context.next = 13;
530
+ _context.next = 3;
566
531
  return fetch('/api/getSegmentProfile', {
567
532
  method: 'POST',
568
533
  body: _JSON$stringify({ anonymousId: anonymousId })
569
534
  });
570
535
 
571
- case 13:
536
+ case 3:
572
537
  response = _context.sent;
573
- _context.next = 16;
538
+ _context.next = 6;
574
539
  return response.json();
575
540
 
576
- case 16:
541
+ case 6:
577
542
  data = _context.sent;
578
543
 
579
- if (!(emailTracked.current || data && data.traits)) {
580
- _context.next = 54;
544
+ if (!(data && data.traits && data.traits.favorite_article_category)) {
545
+ _context.next = 40;
581
546
  break;
582
547
  }
583
548
 
584
- // console.log('%csegment user profile', 'font-size:1.5rem;color:#000000;padding:1rem;background-color:yellow;', data.traits)
549
+ //console.log('%csegment user profile', 'font-size:1.5rem;color:#000000;padding:1rem;background-color:yellow;', data.traits)
550
+
585
551
  addTaxonomyName = function addTaxonomyName(taxArr) {
586
552
  if (!taxArr) return '';
587
553
  var query = ' && ( ';
@@ -598,29 +564,29 @@ var Recommended = function Recommended(props) {
598
564
  return query;
599
565
  };
600
566
 
601
- favoriteCategories = data.traits.most_frequent_article_category ? JSON.parse(data.traits.most_frequent_article_category) : null;
567
+ favoriteCategories = JSON.parse(data.traits.favorite_article_category);
602
568
 
603
- // grab contentCategory ID
569
+ //grab contentCategory ID
604
570
 
605
- _context.next = 22;
571
+ _context.next = 12;
606
572
  return client.fetch("*[_type == 'contentCategory' && name == 'Articles'][0]{_id}");
607
573
 
608
- case 22:
574
+ case 12:
609
575
  articlesCategory = _context.sent;
610
- _context.next = 25;
576
+ _context.next = 15;
611
577
  return client.fetch("*[_type == 'contentCategory' && name == 'Videos'][0]{_id}");
612
578
 
613
- case 25:
579
+ case 15:
614
580
  videosCategory = _context.sent;
615
- _context.next = 28;
581
+ _context.next = 18;
616
582
  return client.fetch("*[_type == 'contentCategory' && name == 'Podcasts'][0]{_id}");
617
583
 
618
- case 28:
584
+ case 18:
619
585
  podcastCategory = _context.sent;
620
- _context.next = 31;
586
+ _context.next = 21;
621
587
  return client.fetch('*[_type == \'taxonomy\' ' + addTaxonomyName(favoriteCategories) + ']');
622
588
 
623
- case 31:
589
+ case 21:
624
590
  taxonomyCategories = _context.sent;
625
591
  taxonomies = '';
626
592
 
@@ -632,36 +598,26 @@ var Recommended = function Recommended(props) {
632
598
  }
633
599
  });
634
600
  taxonomies = taxonomies + ' )';
601
+
635
602
  // grab 3 articles from sanity different from the one currently being read
636
- articlesQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + articlesCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 5) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
637
- videosQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + videosCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 1) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
638
- podcastQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + podcastCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 2) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
603
+ articlesQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + articlesCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 5) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
604
+ videosQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + videosCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 1) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
605
+ podcastQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + podcastCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 2) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
639
606
  params = {
640
607
  id: article._id
641
608
  };
642
- _context.next = 41;
643
- return _Promise.all([client.fetch(articlesQuery, params), client.fetch(videosQuery, params), client.fetch(podcastQuery, params), client.fetch(articleRecsQuery)]);
609
+ _context.next = 31;
610
+ return _Promise.all([client.fetch(articlesQuery, params), client.fetch(videosQuery, params), client.fetch(podcastQuery, params)]);
644
611
 
645
- case 41:
612
+ case 31:
646
613
  _ref2 = _context.sent;
647
- _ref3 = _slicedToArray(_ref2, 4);
614
+ _ref3 = _slicedToArray(_ref2, 3);
648
615
  _articles = _ref3[0];
649
616
  videos = _ref3[1];
650
617
  podcasts = _ref3[2];
651
- recs = _ref3[3];
652
618
 
653
619
  if (_articles.length === 0) setLoaded('failed');
654
-
655
- if (!(emailTracked.current && recs)) {
656
- _context.next = 51;
657
- break;
658
- }
659
-
660
- setArticles(recs);
661
- return _context.abrupt('return');
662
-
663
- case 51:
664
- if (_articles && !emailTracked.current) {
620
+ if (_articles) {
665
621
  if (videos[0] && _articles[2]) {
666
622
  _articles[2] = videos[0];
667
623
  }
@@ -673,13 +629,13 @@ var Recommended = function Recommended(props) {
673
629
  }
674
630
  setArticles(_articles);
675
631
  }
676
- _context.next = 55;
632
+ _context.next = 41;
677
633
  break;
678
634
 
679
- case 54:
635
+ case 40:
680
636
  setLoaded('failed');
681
637
 
682
- case 55:
638
+ case 41:
683
639
  case 'end':
684
640
  return _context.stop();
685
641
  }
@@ -691,6 +647,7 @@ var Recommended = function Recommended(props) {
691
647
  return _ref.apply(this, arguments);
692
648
  };
693
649
  }();
650
+
694
651
  getSegmentProfile();
695
652
  } catch (err) {
696
653
  console.log(err);
@@ -773,7 +730,7 @@ var Recommended = function Recommended(props) {
773
730
  React__default.createElement(
774
731
  'div',
775
732
  { className: styles.category },
776
- contentMapping && contentMapping[article.contentCategory.name] && contentMapping[article.contentCategory.name.toLowerCase()] ? contentMapping[article.contentCategory.name.toLowerCase()] : article.contentCategory.name
733
+ contentMapping[article.contentCategory.name.toLowerCase()] ? contentMapping[article.contentCategory.name.toLowerCase()] : article.contentCategory.name
777
734
  ),
778
735
  React__default.createElement(
779
736
  'a',
@@ -1016,14 +973,10 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1016
973
  _props$downloadCitati = props.downloadCitation,
1017
974
  downloadCitation = _props$downloadCitati === undefined ? false : _props$downloadCitati,
1018
975
  _props$useSegmentReco = props.useSegmentRecommendedArticles,
1019
- useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco,
1020
- emailList = props.emailList,
1021
- articleRecs = props.articleRecs;
976
+ useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco;
1022
977
  var sliderData = props.sliderData;
1023
978
 
1024
979
  var disableEpisodeNumber = false;
1025
- var articleRecsQuery = '*[_type == \'article\' && url.current in ';
1026
-
1027
980
  if (article && article.documentGroup && article.documentGroup.disableEpisodeNumber === true) {
1028
981
  disableEpisodeNumber = true;
1029
982
  }
@@ -1033,12 +986,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1033
986
  if (article && article.documentGroup && article.documentGroup.hideSeriesSlider === true) {
1034
987
  sliderData = null;
1035
988
  }
1036
- // build query string for article recs, pass down as props
1037
- if (articleRecs) {
1038
- articleRecs.forEach(function (rec, ind) {
1039
- ind === 0 ? articleRecsQuery = articleRecsQuery.concat('[\'' + rec + '\', ') : ind === articleRecs.length - 1 ? articleRecsQuery = articleRecsQuery.concat('\'' + rec + '\']]') : articleRecsQuery = articleRecsQuery.concat('\'' + rec + '\', ');
1040
- });
1041
- }
989
+
1042
990
  //next video url
1043
991
  if (sliderData) {
1044
992
  var nextArticle = void 0;
@@ -1228,7 +1176,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1228
1176
  var downloadRIS = function downloadRIS() {
1229
1177
  var fileContent = generateRIS();
1230
1178
  var file = new File([fileContent], 'citation-' + url + '.ris', { type: 'application/x-research-info-systems;charset=utf-8' });
1231
- FileSaver_min.saveAs(file, 'citation-' + url + '.ris');
1179
+ FileSaver.saveAs(file, 'citation-' + url + '.ris');
1232
1180
  };
1233
1181
 
1234
1182
  var RelevantTopics = function RelevantTopics() {
@@ -1304,9 +1252,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1304
1252
  index: props.index,
1305
1253
  Settings: props.Settings,
1306
1254
  showRelatedArticleFallbackImage: props.showRelatedArticleFallbackImage,
1307
- cpModificationRequired: cpModificationRequired,
1308
- emailList: emailList,
1309
- articleRecsQuery: articleRecsQuery
1255
+ cpModificationRequired: cpModificationRequired
1310
1256
  }) : React__default.createElement(
1311
1257
  'section',
1312
1258
  { id: 'related-content-section', className: 'my-1' },
@@ -2303,9 +2249,7 @@ var View = function View(props) {
2303
2249
  _props$canonicalTag = props.canonicalTag,
2304
2250
  canonicalTag = _props$canonicalTag === undefined ? true : _props$canonicalTag,
2305
2251
  _props$infiniteScroll = props.infiniteScrollFlag,
2306
- infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll,
2307
- emailList = props.emailList,
2308
- articleRecs = props.articleRecs;
2252
+ infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
2309
2253
  var _props$article2 = props.article,
2310
2254
  _props$article2$passw = _props$article2.passwordLock,
2311
2255
  passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
@@ -2485,7 +2429,7 @@ var View = function View(props) {
2485
2429
  props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
2486
2430
  )
2487
2431
  ),
2488
- !needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props)) : React__default.createElement(ArticleQueue, _extends({
2432
+ !needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React__default.createElement(ArticleQueue, _extends({
2489
2433
  infiniteScroll: true,
2490
2434
  showRelatedArticles: showRelatedArticles,
2491
2435
  canonicalTag: canonicalTag,
@@ -2513,8 +2457,6 @@ View.returnGetInitialProps = function () {
2513
2457
 
2514
2458
  case 2:
2515
2459
  article = _context.sent;
2516
-
2517
- console.log('article url current', url);
2518
2460
  relatedArticleQuery = getQuery('related');
2519
2461
 
2520
2462
  article.seriesDetail = getSeriesDetail(article, seriesVid);
@@ -2526,35 +2468,35 @@ View.returnGetInitialProps = function () {
2526
2468
  }
2527
2469
 
2528
2470
  if (!(article.documentGroup && article.documentGroup.isSeries)) {
2529
- _context.next = 16;
2471
+ _context.next = 15;
2530
2472
  break;
2531
2473
  }
2532
2474
 
2533
- _context.next = 12;
2475
+ _context.next = 11;
2534
2476
  return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
2535
2477
 
2536
- case 12:
2478
+ case 11:
2537
2479
  sliderArticles = _context.sent;
2538
2480
 
2539
2481
  sliderData = sliderArticles;
2540
- _context.next = 21;
2482
+ _context.next = 20;
2541
2483
  break;
2542
2484
 
2543
- case 16:
2485
+ case 15:
2544
2486
  if (!(article.documentGroupMapping && article.documentGroupMapping[0] && article.documentGroupMapping[0].isSeries)) {
2545
- _context.next = 21;
2487
+ _context.next = 20;
2546
2488
  break;
2547
2489
  }
2548
2490
 
2549
- _context.next = 19;
2491
+ _context.next = 18;
2550
2492
  return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroupMapping[0]._id + '\')\n && is_visible == true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
2551
2493
 
2552
- case 19:
2494
+ case 18:
2553
2495
  _sliderArticles = _context.sent;
2554
2496
 
2555
2497
  sliderData = _sliderArticles;
2556
2498
 
2557
- case 21:
2499
+ case 20:
2558
2500
  _context$query$series = context.query.seriesArticle, seriesArticle = _context$query$series === undefined ? false : _context$query$series;
2559
2501
 
2560
2502
  if ((seriesArticle || seriesVid) && article.body) {
@@ -2603,27 +2545,27 @@ View.returnGetInitialProps = function () {
2603
2545
  }
2604
2546
 
2605
2547
  if (!article.disableRelatedContent) {
2606
- _context.next = 31;
2548
+ _context.next = 30;
2607
2549
  break;
2608
2550
  }
2609
2551
 
2610
2552
  article.relatedArticle = null;
2611
- _context.next = 35;
2553
+ _context.next = 34;
2612
2554
  break;
2613
2555
 
2614
- case 31:
2556
+ case 30:
2615
2557
  if (!article) {
2616
- _context.next = 35;
2558
+ _context.next = 34;
2617
2559
  break;
2618
2560
  }
2619
2561
 
2620
- _context.next = 34;
2562
+ _context.next = 33;
2621
2563
  return getRelatedArticle(context, client, article, prevUrl, '0..2');
2622
2564
 
2623
- case 34:
2565
+ case 33:
2624
2566
  article.relatedArticle = _context.sent;
2625
2567
 
2626
- case 35:
2568
+ case 34:
2627
2569
  return _context.abrupt('return', {
2628
2570
  url: url,
2629
2571
  sao: sao,
@@ -2635,7 +2577,7 @@ View.returnGetInitialProps = function () {
2635
2577
  sponsoredFlag: sponsoredFlag
2636
2578
  });
2637
2579
 
2638
- case 36:
2580
+ case 35:
2639
2581
  case 'end':
2640
2582
  return _context.stop();
2641
2583
  }
@@ -2648,4 +2590,4 @@ View.returnGetInitialProps = function () {
2648
2590
  };
2649
2591
  }();
2650
2592
 
2651
- export { View as default };
2593
+ export default View;
@@ -117,4 +117,4 @@ var YahooHero = function YahooHero(props) {
117
117
  );
118
118
  };
119
119
 
120
- export { YahooHero as default };
120
+ export default YahooHero;
@@ -362,4 +362,4 @@ var YoutubeGroup = function YoutubeGroup(props) {
362
362
  );
363
363
  };
364
364
 
365
- export { YoutubeGroup as default };
365
+ export default YoutubeGroup;
@@ -41,4 +41,4 @@ var getKeywords = function getKeywords(article) {
41
41
  return keywords;
42
42
  };
43
43
 
44
- export { getKeywords as default };
44
+ export default getKeywords;
@@ -7,9 +7,7 @@ import './_iter-detect-98db3b07.js';
7
7
 
8
8
  var getPtceActivities = function () {
9
9
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(params) {
10
- var filterByProfession = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
11
- var filterQuery = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
12
- var hasMore, filter, response, data;
10
+ var hasMore, response, data;
13
11
  return regenerator.wrap(function _callee$(_context) {
14
12
  while (1) {
15
13
  switch (_context.prev = _context.next) {
@@ -21,26 +19,19 @@ var getPtceActivities = function () {
21
19
  if (params.paginatedPoint && params.paginatedPoint !== '') {
22
20
  hasMore = '&cursor=' + params.paginatedPoint;
23
21
  }
24
- filter = '';
25
22
 
26
- if (filterByProfession && filterQuery.length) {
27
- filter = '&query=status:published%20AND%20customFields.profession:"' + filterQuery + '"';
28
- } else {
29
- filter = '&query=status:published';
30
- }
31
-
32
- _context.next = 7;
33
- return fetch('https://www.pharmacytimes.org/incoming/v2/content?types[]=courses&sort=publishDate:desc' + filter + '&limit=25' + hasMore, {
23
+ _context.next = 5;
24
+ return fetch('https://www.pharmacytimes.org/incoming/v2/content?types[]=courses&sort=publishDate:desc&query=status:published&limit=25' + hasMore, {
34
25
  method: 'GET',
35
26
  headers: { Authorization: 'Bearer drnc4y57arj3f190cpvqiwxt3cxpbken' }
36
27
  });
37
28
 
38
- case 7:
29
+ case 5:
39
30
  response = _context.sent;
40
- _context.next = 10;
31
+ _context.next = 8;
41
32
  return response.json();
42
33
 
43
- case 10:
34
+ case 8:
44
35
  data = _context.sent;
45
36
 
46
37
 
@@ -48,10 +39,6 @@ var getPtceActivities = function () {
48
39
  if (course.tags && course.tags[0] && course.tags[0].label == 'Hidden') {
49
40
  return false;
50
41
  }
51
- var customField = data.contentItems.map(function (each) {
52
- return each.customFields;
53
- });
54
- console.log(customField);
55
42
 
56
43
  var current_date = new Date();
57
44
  var courseEndDate = new Date(course.courseEndDate);
@@ -61,19 +48,19 @@ var getPtceActivities = function () {
61
48
 
62
49
  return _context.abrupt('return', data);
63
50
 
64
- case 15:
65
- _context.prev = 15;
51
+ case 13:
52
+ _context.prev = 13;
66
53
  _context.t0 = _context['catch'](0);
67
54
 
68
55
  console.log(_context.t0);
69
56
  return _context.abrupt('return', []);
70
57
 
71
- case 19:
58
+ case 17:
72
59
  case 'end':
73
60
  return _context.stop();
74
61
  }
75
62
  }
76
- }, _callee, this, [[0, 15]]);
63
+ }, _callee, this, [[0, 13]]);
77
64
  }));
78
65
 
79
66
  return function getPtceActivities(_x) {
@@ -23,4 +23,4 @@ var getQuery = function getQuery(type) {
23
23
  }
24
24
  };
25
25
 
26
- export { getQuery as default };
26
+ export default getQuery;
@@ -537,4 +537,4 @@ var getRelatedArticle = function () {
537
537
  };
538
538
  }();
539
539
 
540
- export { getRelatedArticle as default };
540
+ export default getRelatedArticle;
@@ -57,4 +57,4 @@ var getRootDocGroup = function () {
57
57
  };
58
58
  }();
59
59
 
60
- export { getRootDocGroup as default };
60
+ export default getRootDocGroup;
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-e0aeabc5.js';
2
+ export { g as default } from './index-4959f8e7.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -35,4 +35,4 @@ var getSeriesDetail = function getSeriesDetail(article, currentSeries) {
35
35
  return seriesDetail;
36
36
  };
37
37
 
38
- export { getSeriesDetail as default };
38
+ export default getSeriesDetail;
@@ -2218,7 +2218,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
2218
2218
  'div',
2219
2219
  {
2220
2220
  key: 'inline-radio',
2221
- className: 'radioContainer' },
2221
+ className: 'mb-3' },
2222
2222
  React__default.createElement(
2223
2223
  'h2',
2224
2224
  {
package/dist/esm/index.js CHANGED
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
87
87
  export { default as YahooHero } from './YahooHero.js';
88
88
  export { default as GridHero } from './GridHero.js';
89
89
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
90
- export { g as getSerializers } from './index-e0aeabc5.js';
90
+ export { g as getSerializers } from './index-4959f8e7.js';
91
91
  export { default as Beam } from './Beam.js';
92
92
  export { default as Segment } from './Segment.js';
93
93
  export { default as KMTracker } from './KMTracker.js';
@@ -131,9 +131,9 @@ import './visibility-sensor-72fd8f8b.js';
131
131
  import 'react-dom';
132
132
  import './main-1894c974.js';
133
133
  import './entities-6d9154b4.js';
134
- import './ADInfeed-5765a73a.js';
134
+ import './ADInfeed-6d1fc6bf.js';
135
135
  import './lodash-f97fd99a.js';
136
- import './ADlgInfeed-5e36f317.js';
136
+ import './ADlgInfeed-dc36c928.js';
137
137
  import './getContentCategory-15dcc413.js';
138
138
  import './get-3c308da4.js';
139
139
  import './eq-bdcbf886.js';
@@ -195,6 +195,7 @@ import './md5-4e42248e.js';
195
195
  import './SeriesSlider-f771e20d.js';
196
196
  import './style-inject.es-1f59c1d0.js';
197
197
  import 'disqus-react';
198
+ import 'file-saver';
198
199
  import 'react-twitter-embed';
199
200
  import './ImageSlider-f84174cb.js';
200
201
  import './defineProperty-23a8f8cd.js';
@@ -1,4 +1,4 @@
1
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
1
+ import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import { a as _core } from './core.get-iterator-method-ea258bb1.js';
3
3
 
4
4
  var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });