@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
@@ -14,10 +14,10 @@ var Router = require('next/router');
14
14
  var index = require('./index-eadd5035.js');
15
15
  var main = require('./main-f1c77adb.js');
16
16
  var entities = require('./entities-df1aed86.js');
17
- var ADInfeed = require('./ADInfeed-e87afe8a.js');
17
+ var ADInfeed = require('./ADInfeed-81006615.js');
18
18
  var AuthorComponent = require('./AuthorComponent-39b37d84.js');
19
19
  var lodash = require('./lodash-f0783643.js');
20
- var ADlgInfeed = require('./ADlgInfeed-b5a3d436.js');
20
+ var ADlgInfeed = require('./ADlgInfeed-0db07099.js');
21
21
  var getContentCategory = require('./getContentCategory-f38a4c00.js');
22
22
  var timeDifferenceCalc = require('./timeDifferenceCalc.js');
23
23
  require('./_commonjsHelpers-06173234.js');
@@ -13,13 +13,13 @@ var index$1 = require('./index-eadd5035.js');
13
13
  var lodash = require('./lodash-f0783643.js');
14
14
  var main = require('./main-f1c77adb.js');
15
15
  var entities = require('./entities-df1aed86.js');
16
- var ADInfeed = require('./ADInfeed-e87afe8a.js');
16
+ var ADInfeed = require('./ADInfeed-81006615.js');
17
17
  var AuthorComponent = require('./AuthorComponent-39b37d84.js');
18
- var ADlgInfeed = require('./ADlgInfeed-b5a3d436.js');
18
+ var ADlgInfeed = require('./ADlgInfeed-0db07099.js');
19
19
  var getContentCategory = require('./getContentCategory-f38a4c00.js');
20
20
  var timeDifferenceCalc = require('./timeDifferenceCalc.js');
21
21
  var urlFor = require('./urlFor.js');
22
- var Pagination = require('./Pagination-2a3d0103.js');
22
+ var Pagination = require('./Pagination-1e0d5f1d.js');
23
23
  require('./_commonjsHelpers-06173234.js');
24
24
  require('./core.get-iterator-method-5643aa10.js');
25
25
  require('./web.dom.iterable-d98303e0.js');
@@ -38,6 +38,7 @@ require('./Beam.js');
38
38
  require('./stringify-f7a37a8d.js');
39
39
  require('./Segment.js');
40
40
  require('./index-d48b231c.js');
41
+ require('react-paginate');
41
42
  require('react-bootstrap/Button');
42
43
  require('./index.esm-d51c9ac6.js');
43
44
  require('./iconBase-be4097c0.js');
@@ -40,55 +40,6 @@ var Segment = {
40
40
  email: email
41
41
  });
42
42
  },
43
- identifyWithGroupAndEmail: function identifyWithGroupAndEmail(groupId, email, anonId) {
44
- if (typeof analytics === 'undefined') {
45
- console.error('Segment not initialized', analytics);
46
- return;
47
- }
48
-
49
- // let buff = Buffer.from(email, 'ascii')
50
- // const eKey = buff.toString('base64')
51
-
52
- analytics.identify(anonId, {
53
- groupId: groupId,
54
- email: email
55
- });
56
- },
57
- createGroup: function createGroup(groupId, anonId, groupName) {
58
- if (typeof analytics === 'undefined') {
59
- console.error('Segment not initialized', analytics);
60
- return;
61
- }
62
-
63
- var buff = Buffer.from(groupId, 'ascii');
64
- console.log('buff', buff);
65
-
66
- var eKey = buff.toString('base64');
67
- console.log('eKey', eKey);
68
- asyncToGenerator._Promise.resolve(analytics.group(groupId, {
69
- anonymousId: anonId,
70
- name: groupName
71
- })).then(function (data) {
72
- return console.log('data', data);
73
- }).catch(function (e) {
74
- return console.log('Error: ' + e);
75
- });
76
- },
77
- identifyWithGroup: function identifyWithGroup(groupId, anonId) {
78
- if (!groupId) {
79
- throw new Error('Argument is not present');
80
- }
81
-
82
- if (typeof analytics === 'undefined') {
83
- console.error('Segment not initialized', analytics);
84
- return;
85
- }
86
- asyncToGenerator._Promise.resolve(analytics.identify(anonId, {
87
- groupId: groupId
88
- })).then(function (res) {
89
- return console.log('response', res);
90
- });
91
- },
92
43
  getURL: function getURL(url) {
93
44
  var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
94
45
 
@@ -7,7 +7,7 @@ var React = require('react');
7
7
  var Router = require('next/router');
8
8
  var Head = require('next/head');
9
9
  var BlockContent = require('./BlockContent-9ebd251f.js');
10
- var getSerializers = require('./index-5e63adb9.js');
10
+ var getSerializers = require('./index-869cab56.js');
11
11
  require('./_commonjsHelpers-06173234.js');
12
12
  require('./core.get-iterator-method-5643aa10.js');
13
13
  require('./_object-pie-083f2dd6.js');
@@ -7,7 +7,7 @@ var BlockContent = require('./BlockContent-9ebd251f.js');
7
7
  var Col = require('react-bootstrap/Col');
8
8
  var Form = require('react-bootstrap/Form');
9
9
  var Button = require('react-bootstrap/Button');
10
- var getSerializers = require('./index-5e63adb9.js');
10
+ var getSerializers = require('./index-869cab56.js');
11
11
  var VideoSeriesListing = require('./VideoSeriesListing.js');
12
12
  require('./_commonjsHelpers-06173234.js');
13
13
  require('./core.get-iterator-method-5643aa10.js');
@@ -38,13 +38,13 @@ require('./index.es-f3e47207.js');
38
38
  require('./visibility-sensor-eb2c5b69.js');
39
39
  require('react-dom');
40
40
  require('./index-d48b231c.js');
41
- require('./ADlgInfeed-b5a3d436.js');
41
+ require('./ADlgInfeed-0db07099.js');
42
42
  require('./AdSlot.js');
43
43
  require('./Beam.js');
44
44
  require('./stringify-f7a37a8d.js');
45
45
  require('./Segment.js');
46
46
  require('./main-f1c77adb.js');
47
- require('./ADInfeed-e87afe8a.js');
47
+ require('./ADInfeed-81006615.js');
48
48
  require('./index-eadd5035.js');
49
49
  require('./urlFor.js');
50
50
  require('./style-inject.es-dcee06b6.js');
package/dist/cjs/View.js CHANGED
@@ -17,7 +17,7 @@ var FormControl = require('react-bootstrap/FormControl');
17
17
  var Button = require('react-bootstrap/Button');
18
18
  var visibilitySensor = require('./visibility-sensor-eb2c5b69.js');
19
19
  var SocialShare = require('./SocialShare.js');
20
- var getSerializers = require('./index-5e63adb9.js');
20
+ var getSerializers = require('./index-869cab56.js');
21
21
  var AdSlot = require('./AdSlot.js');
22
22
  var SeriesSlider = require('./SeriesSlider-594b19eb.js');
23
23
  var getTargeting = require('./getTargeting-ba942d9a.js');
@@ -30,15 +30,15 @@ var styleInject_es = require('./style-inject.es-dcee06b6.js');
30
30
  require('./index-eadd5035.js');
31
31
  var disqusReact = require('disqus-react');
32
32
  var Schema = require('./Schema.js');
33
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
33
+ var FileSaver = require('file-saver');
34
34
  var PixelTracking = require('./PixelTracking.js');
35
- require('./Segment.js');
36
35
  var keys = require('./keys-e982b3fa.js');
37
36
  var index_es = require('./index.es-f3e47207.js');
38
37
  var index = require('./index-fc2f1ca2.js');
39
38
  var getRelatedArticle = require('./getRelatedArticle.js');
40
39
  var getQuery = require('./getQuery.js');
41
40
  var getSeriesDetail = require('./getSeriesDetail.js');
41
+ require('./_commonjsHelpers-06173234.js');
42
42
  require('./core.get-iterator-method-5643aa10.js');
43
43
  require('./web.dom.iterable-d98303e0.js');
44
44
  require('./_library-dd23b178.js');
@@ -52,6 +52,7 @@ require('react-bootstrap');
52
52
  require('./index-187c967e.js');
53
53
  require('./util-93a37fd0.js');
54
54
  require('./Beam.js');
55
+ require('./Segment.js');
55
56
  require('./brightcove-react-player-loader.es-a195642e.js');
56
57
  require('react-bootstrap/Modal');
57
58
  require('react-ga');
@@ -85,6 +86,7 @@ var Head__default = /*#__PURE__*/_interopDefaultLegacy(Head);
85
86
  var Form__default = /*#__PURE__*/_interopDefaultLegacy(Form);
86
87
  var FormControl__default = /*#__PURE__*/_interopDefaultLegacy(FormControl);
87
88
  var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
89
+ var FileSaver__default = /*#__PURE__*/_interopDefaultLegacy(FileSaver);
88
90
 
89
91
  var getArticleSummary = function getArticleSummary(article) {
90
92
  if (article.summary && article.summary.length > 0) {
@@ -472,12 +474,6 @@ var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
472
474
  return showSocialShare;
473
475
  };
474
476
 
475
- var FileSaver_min = _commonjsHelpers.createCommonjsModule(function (module, exports) {
476
- (function(a,b){b();})(_commonjsHelpers.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 _commonjsHelpers.commonjsGlobal&&_commonjsHelpers.commonjsGlobal.global===_commonjsHelpers.commonjsGlobal?_commonjsHelpers.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);});
477
-
478
-
479
- });
480
-
481
477
  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}";
482
478
  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" };
483
479
  styleInject_es.styleInject(css);
@@ -489,9 +485,7 @@ var Recommended = function Recommended(props) {
489
485
  client = props.client,
490
486
  _props$index = props.index,
491
487
  index = _props$index === undefined ? 0 : _props$index,
492
- cpModificationRequired = props.cpModificationRequired,
493
- emailList = props.emailList,
494
- articleRecsQuery = props.articleRecsQuery;
488
+ cpModificationRequired = props.cpModificationRequired;
495
489
 
496
490
  var _useState = React.useState(false),
497
491
  _useState2 = slicedToArray._slicedToArray(_useState, 2),
@@ -506,17 +500,16 @@ var Recommended = function Recommended(props) {
506
500
  var _useState5 = React.useState('loading'),
507
501
  _useState6 = slicedToArray._slicedToArray(_useState5, 2),
508
502
  loaded = _useState6[0],
509
- setLoaded = _useState6[1]; // loading, loaded, failed
503
+ setLoaded = _useState6[1]; //loading, loaded, failed
510
504
 
511
505
 
512
506
  var starting = index * 5;
513
- var emailTracked = React.useRef(false);
514
-
515
507
  var contentMapping = {
516
508
  videos: 'video',
517
509
  articles: 'article',
518
510
  podcasts: 'podcast'
519
511
  };
512
+
520
513
  var mainCategories = article.content_placement.filter(function (cp) {
521
514
  return cp.usedForRecommendations === true;
522
515
  }).map(function (cp) {
@@ -529,69 +522,43 @@ var Recommended = function Recommended(props) {
529
522
  return;
530
523
  }
531
524
  if (mainCategories.length > 0) {
525
+ //console.log(mainCategories)
532
526
  analytics.track('Article Category Viewed', {
533
- 'categories.$': stringify._JSON$stringify(mainCategories)
527
+ categories: stringify._JSON$stringify(mainCategories)
534
528
  });
535
529
  }
530
+
531
+ // get users traits
536
532
  var getSegmentProfile = function () {
537
533
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee() {
538
- var anonymousId, traits, i, response, data, addTaxonomyName, favoriteCategories, articlesCategory, videosCategory, podcastCategory, taxonomyCategories, taxonomies, articlesQuery, videosQuery, podcastQuery, params, _ref2, _ref3, _articles, videos, podcasts, recs;
534
+ var anonymousId, response, data, addTaxonomyName, favoriteCategories, articlesCategory, videosCategory, podcastCategory, taxonomyCategories, taxonomies, articlesQuery, videosQuery, podcastQuery, params, _ref2, _ref3, _articles, videos, podcasts;
539
535
 
540
536
  return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
541
537
  while (1) {
542
538
  switch (_context.prev = _context.next) {
543
539
  case 0:
544
540
  anonymousId = analytics.user().anonymousId();
545
- traits = analytics.user().traits();
546
- // console.log('anonymousId', anonymousId)
547
-
548
- if (!(traits && traits.email)) {
549
- _context.next = 11;
550
- break;
551
- }
552
-
553
- i = 0;
554
-
555
- case 4:
556
- if (!(i < emailList.length)) {
557
- _context.next = 11;
558
- break;
559
- }
560
-
561
- if (!(traits.email === emailList[i].email)) {
562
- _context.next = 8;
563
- break;
564
- }
565
-
566
- emailTracked.current = true;
567
- return _context.abrupt('break', 11);
568
-
569
- case 8:
570
- i++;
571
- _context.next = 4;
572
- break;
573
-
574
- case 11:
575
- _context.next = 13;
541
+ _context.next = 3;
576
542
  return fetch('/api/getSegmentProfile', {
577
543
  method: 'POST',
578
544
  body: stringify._JSON$stringify({ anonymousId: anonymousId })
579
545
  });
580
546
 
581
- case 13:
547
+ case 3:
582
548
  response = _context.sent;
583
- _context.next = 16;
549
+ _context.next = 6;
584
550
  return response.json();
585
551
 
586
- case 16:
552
+ case 6:
587
553
  data = _context.sent;
588
554
 
589
- if (!(emailTracked.current || data && data.traits)) {
590
- _context.next = 54;
555
+ if (!(data && data.traits && data.traits.favorite_article_category)) {
556
+ _context.next = 40;
591
557
  break;
592
558
  }
593
559
 
594
- // console.log('%csegment user profile', 'font-size:1.5rem;color:#000000;padding:1rem;background-color:yellow;', data.traits)
560
+ //console.log('%csegment user profile', 'font-size:1.5rem;color:#000000;padding:1rem;background-color:yellow;', data.traits)
561
+
595
562
  addTaxonomyName = function addTaxonomyName(taxArr) {
596
563
  if (!taxArr) return '';
597
564
  var query = ' && ( ';
@@ -608,29 +575,29 @@ var Recommended = function Recommended(props) {
608
575
  return query;
609
576
  };
610
577
 
611
- favoriteCategories = data.traits.most_frequent_article_category ? JSON.parse(data.traits.most_frequent_article_category) : null;
578
+ favoriteCategories = JSON.parse(data.traits.favorite_article_category);
612
579
 
613
- // grab contentCategory ID
580
+ //grab contentCategory ID
614
581
 
615
- _context.next = 22;
582
+ _context.next = 12;
616
583
  return client.fetch("*[_type == 'contentCategory' && name == 'Articles'][0]{_id}");
617
584
 
618
- case 22:
585
+ case 12:
619
586
  articlesCategory = _context.sent;
620
- _context.next = 25;
587
+ _context.next = 15;
621
588
  return client.fetch("*[_type == 'contentCategory' && name == 'Videos'][0]{_id}");
622
589
 
623
- case 25:
590
+ case 15:
624
591
  videosCategory = _context.sent;
625
- _context.next = 28;
592
+ _context.next = 18;
626
593
  return client.fetch("*[_type == 'contentCategory' && name == 'Podcasts'][0]{_id}");
627
594
 
628
- case 28:
595
+ case 18:
629
596
  podcastCategory = _context.sent;
630
- _context.next = 31;
597
+ _context.next = 21;
631
598
  return client.fetch('*[_type == \'taxonomy\' ' + addTaxonomyName(favoriteCategories) + ']');
632
599
 
633
- case 31:
600
+ case 21:
634
601
  taxonomyCategories = _context.sent;
635
602
  taxonomies = '';
636
603
 
@@ -642,36 +609,26 @@ var Recommended = function Recommended(props) {
642
609
  }
643
610
  });
644
611
  taxonomies = taxonomies + ' )';
612
+
645
613
  // grab 3 articles from sanity different from the one currently being read
646
- 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 }';
647
- 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 }';
648
- 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 }';
614
+ 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 }';
615
+ 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 }';
616
+ 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 }';
649
617
  params = {
650
618
  id: article._id
651
619
  };
652
- _context.next = 41;
653
- return asyncToGenerator._Promise.all([client.fetch(articlesQuery, params), client.fetch(videosQuery, params), client.fetch(podcastQuery, params), client.fetch(articleRecsQuery)]);
620
+ _context.next = 31;
621
+ return asyncToGenerator._Promise.all([client.fetch(articlesQuery, params), client.fetch(videosQuery, params), client.fetch(podcastQuery, params)]);
654
622
 
655
- case 41:
623
+ case 31:
656
624
  _ref2 = _context.sent;
657
- _ref3 = slicedToArray._slicedToArray(_ref2, 4);
625
+ _ref3 = slicedToArray._slicedToArray(_ref2, 3);
658
626
  _articles = _ref3[0];
659
627
  videos = _ref3[1];
660
628
  podcasts = _ref3[2];
661
- recs = _ref3[3];
662
629
 
663
630
  if (_articles.length === 0) setLoaded('failed');
664
-
665
- if (!(emailTracked.current && recs)) {
666
- _context.next = 51;
667
- break;
668
- }
669
-
670
- setArticles(recs);
671
- return _context.abrupt('return');
672
-
673
- case 51:
674
- if (_articles && !emailTracked.current) {
631
+ if (_articles) {
675
632
  if (videos[0] && _articles[2]) {
676
633
  _articles[2] = videos[0];
677
634
  }
@@ -683,13 +640,13 @@ var Recommended = function Recommended(props) {
683
640
  }
684
641
  setArticles(_articles);
685
642
  }
686
- _context.next = 55;
643
+ _context.next = 41;
687
644
  break;
688
645
 
689
- case 54:
646
+ case 40:
690
647
  setLoaded('failed');
691
648
 
692
- case 55:
649
+ case 41:
693
650
  case 'end':
694
651
  return _context.stop();
695
652
  }
@@ -701,6 +658,7 @@ var Recommended = function Recommended(props) {
701
658
  return _ref.apply(this, arguments);
702
659
  };
703
660
  }();
661
+
704
662
  getSegmentProfile();
705
663
  } catch (err) {
706
664
  console.log(err);
@@ -783,7 +741,7 @@ var Recommended = function Recommended(props) {
783
741
  React__default['default'].createElement(
784
742
  'div',
785
743
  { className: styles.category },
786
- contentMapping && contentMapping[article.contentCategory.name] && contentMapping[article.contentCategory.name.toLowerCase()] ? contentMapping[article.contentCategory.name.toLowerCase()] : article.contentCategory.name
744
+ contentMapping[article.contentCategory.name.toLowerCase()] ? contentMapping[article.contentCategory.name.toLowerCase()] : article.contentCategory.name
787
745
  ),
788
746
  React__default['default'].createElement(
789
747
  'a',
@@ -1026,14 +984,10 @@ var Article = React__default['default'].memo(React.forwardRef(function (props, r
1026
984
  _props$downloadCitati = props.downloadCitation,
1027
985
  downloadCitation = _props$downloadCitati === undefined ? false : _props$downloadCitati,
1028
986
  _props$useSegmentReco = props.useSegmentRecommendedArticles,
1029
- useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco,
1030
- emailList = props.emailList,
1031
- articleRecs = props.articleRecs;
987
+ useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco;
1032
988
  var sliderData = props.sliderData;
1033
989
 
1034
990
  var disableEpisodeNumber = false;
1035
- var articleRecsQuery = '*[_type == \'article\' && url.current in ';
1036
-
1037
991
  if (article && article.documentGroup && article.documentGroup.disableEpisodeNumber === true) {
1038
992
  disableEpisodeNumber = true;
1039
993
  }
@@ -1043,12 +997,7 @@ var Article = React__default['default'].memo(React.forwardRef(function (props, r
1043
997
  if (article && article.documentGroup && article.documentGroup.hideSeriesSlider === true) {
1044
998
  sliderData = null;
1045
999
  }
1046
- // build query string for article recs, pass down as props
1047
- if (articleRecs) {
1048
- articleRecs.forEach(function (rec, ind) {
1049
- ind === 0 ? articleRecsQuery = articleRecsQuery.concat('[\'' + rec + '\', ') : ind === articleRecs.length - 1 ? articleRecsQuery = articleRecsQuery.concat('\'' + rec + '\']]') : articleRecsQuery = articleRecsQuery.concat('\'' + rec + '\', ');
1050
- });
1051
- }
1000
+
1052
1001
  //next video url
1053
1002
  if (sliderData) {
1054
1003
  var nextArticle = void 0;
@@ -1238,7 +1187,7 @@ var Article = React__default['default'].memo(React.forwardRef(function (props, r
1238
1187
  var downloadRIS = function downloadRIS() {
1239
1188
  var fileContent = generateRIS();
1240
1189
  var file = new File([fileContent], 'citation-' + url + '.ris', { type: 'application/x-research-info-systems;charset=utf-8' });
1241
- FileSaver_min.saveAs(file, 'citation-' + url + '.ris');
1190
+ FileSaver__default['default'].saveAs(file, 'citation-' + url + '.ris');
1242
1191
  };
1243
1192
 
1244
1193
  var RelevantTopics = function RelevantTopics() {
@@ -1314,9 +1263,7 @@ var Article = React__default['default'].memo(React.forwardRef(function (props, r
1314
1263
  index: props.index,
1315
1264
  Settings: props.Settings,
1316
1265
  showRelatedArticleFallbackImage: props.showRelatedArticleFallbackImage,
1317
- cpModificationRequired: cpModificationRequired,
1318
- emailList: emailList,
1319
- articleRecsQuery: articleRecsQuery
1266
+ cpModificationRequired: cpModificationRequired
1320
1267
  }) : React__default['default'].createElement(
1321
1268
  'section',
1322
1269
  { id: 'related-content-section', className: 'my-1' },
@@ -2313,9 +2260,7 @@ var View = function View(props) {
2313
2260
  _props$canonicalTag = props.canonicalTag,
2314
2261
  canonicalTag = _props$canonicalTag === undefined ? true : _props$canonicalTag,
2315
2262
  _props$infiniteScroll = props.infiniteScrollFlag,
2316
- infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll,
2317
- emailList = props.emailList,
2318
- articleRecs = props.articleRecs;
2263
+ infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
2319
2264
  var _props$article2 = props.article,
2320
2265
  _props$article2$passw = _props$article2.passwordLock,
2321
2266
  passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
@@ -2495,7 +2440,7 @@ var View = function View(props) {
2495
2440
  props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default['default'].createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
2496
2441
  )
2497
2442
  ),
2498
- !needInfiniteScroll ? React__default['default'].createElement(Article, _extends._extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props)) : React__default['default'].createElement(ArticleQueue, _extends._extends({
2443
+ !needInfiniteScroll ? React__default['default'].createElement(Article, _extends._extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React__default['default'].createElement(ArticleQueue, _extends._extends({
2499
2444
  infiniteScroll: true,
2500
2445
  showRelatedArticles: showRelatedArticles,
2501
2446
  canonicalTag: canonicalTag,
@@ -2523,8 +2468,6 @@ View.returnGetInitialProps = function () {
2523
2468
 
2524
2469
  case 2:
2525
2470
  article = _context.sent;
2526
-
2527
- console.log('article url current', url);
2528
2471
  relatedArticleQuery = getQuery('related');
2529
2472
 
2530
2473
  article.seriesDetail = getSeriesDetail(article, seriesVid);
@@ -2536,35 +2479,35 @@ View.returnGetInitialProps = function () {
2536
2479
  }
2537
2480
 
2538
2481
  if (!(article.documentGroup && article.documentGroup.isSeries)) {
2539
- _context.next = 16;
2482
+ _context.next = 15;
2540
2483
  break;
2541
2484
  }
2542
2485
 
2543
- _context.next = 12;
2486
+ _context.next = 11;
2544
2487
  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 }');
2545
2488
 
2546
- case 12:
2489
+ case 11:
2547
2490
  sliderArticles = _context.sent;
2548
2491
 
2549
2492
  sliderData = sliderArticles;
2550
- _context.next = 21;
2493
+ _context.next = 20;
2551
2494
  break;
2552
2495
 
2553
- case 16:
2496
+ case 15:
2554
2497
  if (!(article.documentGroupMapping && article.documentGroupMapping[0] && article.documentGroupMapping[0].isSeries)) {
2555
- _context.next = 21;
2498
+ _context.next = 20;
2556
2499
  break;
2557
2500
  }
2558
2501
 
2559
- _context.next = 19;
2502
+ _context.next = 18;
2560
2503
  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 }');
2561
2504
 
2562
- case 19:
2505
+ case 18:
2563
2506
  _sliderArticles = _context.sent;
2564
2507
 
2565
2508
  sliderData = _sliderArticles;
2566
2509
 
2567
- case 21:
2510
+ case 20:
2568
2511
  _context$query$series = context.query.seriesArticle, seriesArticle = _context$query$series === undefined ? false : _context$query$series;
2569
2512
 
2570
2513
  if ((seriesArticle || seriesVid) && article.body) {
@@ -2613,27 +2556,27 @@ View.returnGetInitialProps = function () {
2613
2556
  }
2614
2557
 
2615
2558
  if (!article.disableRelatedContent) {
2616
- _context.next = 31;
2559
+ _context.next = 30;
2617
2560
  break;
2618
2561
  }
2619
2562
 
2620
2563
  article.relatedArticle = null;
2621
- _context.next = 35;
2564
+ _context.next = 34;
2622
2565
  break;
2623
2566
 
2624
- case 31:
2567
+ case 30:
2625
2568
  if (!article) {
2626
- _context.next = 35;
2569
+ _context.next = 34;
2627
2570
  break;
2628
2571
  }
2629
2572
 
2630
- _context.next = 34;
2573
+ _context.next = 33;
2631
2574
  return getRelatedArticle(context, client, article, prevUrl, '0..2');
2632
2575
 
2633
- case 34:
2576
+ case 33:
2634
2577
  article.relatedArticle = _context.sent;
2635
2578
 
2636
- case 35:
2579
+ case 34:
2637
2580
  return _context.abrupt('return', {
2638
2581
  url: url,
2639
2582
  sao: sao,
@@ -2645,7 +2588,7 @@ View.returnGetInitialProps = function () {
2645
2588
  sponsoredFlag: sponsoredFlag
2646
2589
  });
2647
2590
 
2648
- case 36:
2591
+ case 35:
2649
2592
  case 'end':
2650
2593
  return _context.stop();
2651
2594
  }