@mjhls/mjh-framework 1.0.823-double-verify → 1.0.824-deckqueue-fix-v1

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 (162) hide show
  1. package/README.md +170 -170
  2. package/dist/cjs/AD300x250.js +2 -2
  3. package/dist/cjs/AD300x250x600.js +2 -2
  4. package/dist/cjs/AD728x90.js +3 -3
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/ADSkyscraper.js +1 -1
  8. package/dist/cjs/ADSponsoredResources.js +1 -1
  9. package/dist/cjs/ADWebcast.js +1 -1
  10. package/dist/cjs/ADWelcome.js +1 -1
  11. package/dist/cjs/AdSlot.js +1 -74
  12. package/dist/cjs/AdSlotsProvider.js +5 -14
  13. package/dist/cjs/AlgoliaSearch.js +18 -36
  14. package/dist/cjs/ArticleCarousel.js +1 -1
  15. package/dist/cjs/ArticleProgramLandingPage.js +5 -5
  16. package/dist/cjs/ArticleSeriesLandingPage.js +5 -5
  17. package/dist/cjs/ArticleSeriesListing.js +3 -3
  18. package/dist/cjs/Auth.js +41 -6
  19. package/dist/cjs/AuthWrapper.js +228 -189
  20. package/dist/cjs/CMEDeck.js +3 -3
  21. package/dist/cjs/Column3.js +3 -3
  22. package/dist/cjs/ConferenceArticleCard.js +16 -16
  23. package/dist/cjs/DeckContent.js +13 -13
  24. package/dist/cjs/DeckQueue.js +12 -6
  25. package/dist/cjs/EventsDeck.js +21 -21
  26. package/dist/cjs/ExternalResources.js +5 -5
  27. package/dist/cjs/Feature.js +2 -2
  28. package/dist/cjs/ForbesHero.js +1 -1
  29. package/dist/cjs/GridContent.js +8 -8
  30. package/dist/cjs/GridHero.js +1 -1
  31. package/dist/cjs/HamMagazine.js +15 -15
  32. package/dist/cjs/HighlightenVideo.js +1 -1
  33. package/dist/cjs/HorizontalArticleListing.js +4 -4
  34. package/dist/cjs/HorizontalHero.js +1 -1
  35. package/dist/cjs/IssueContentDeck.js +1 -1
  36. package/dist/cjs/IssueDeck.js +1 -1
  37. package/dist/cjs/IssueLanding.js +36 -36
  38. package/dist/cjs/KMTracker.js +15 -15
  39. package/dist/cjs/LeftNav.js +1 -1
  40. package/dist/cjs/MasterDeck.js +13 -13
  41. package/dist/cjs/MediaSeriesLanding.js +149 -193
  42. package/dist/cjs/NavMagazine.js +14 -14
  43. package/dist/cjs/NavNative.js +12 -12
  44. package/dist/cjs/OncliveHero.js +1 -1
  45. package/dist/cjs/OncliveLargeHero.js +1 -1
  46. package/dist/cjs/PartnerDetailListing.js +7 -7
  47. package/dist/cjs/PubSection.js +5 -5
  48. package/dist/cjs/PublicationLanding.js +26 -26
  49. package/dist/cjs/QueueDeckExpanded.js +7 -7
  50. package/dist/cjs/RelatedContent.js +29 -29
  51. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  52. package/dist/cjs/SeriesListingDeck.js +3 -3
  53. package/dist/cjs/{SeriesSlider-66092a33.js → SeriesSlider-b94509d5.js} +10 -10
  54. package/dist/cjs/SideFooter.js +2 -2
  55. package/dist/cjs/{SocialSearchComponent-560a666e.js → SocialSearchComponent-42b9d251.js} +3 -3
  56. package/dist/cjs/TaxonomyDescription.js +4 -4
  57. package/dist/cjs/TemplateNormal.js +2 -2
  58. package/dist/cjs/Ustream.js +2 -2
  59. package/dist/cjs/VerticalHero.js +1 -1
  60. package/dist/cjs/VideoProgramLandingPage.js +5 -5
  61. package/dist/cjs/VideoSeriesCard.js +2 -2
  62. package/dist/cjs/VideoSeriesLandingPage.js +5 -5
  63. package/dist/cjs/VideoSeriesListing.js +3 -3
  64. package/dist/cjs/View.js +22 -14
  65. package/dist/cjs/YahooHero.js +1 -1
  66. package/dist/cjs/YoutubeGroup.js +10 -10
  67. package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-5c98aec7.js} +4 -3
  68. package/dist/cjs/getRelatedArticle.js +62 -126
  69. package/dist/cjs/getSerializers.js +4 -4
  70. package/dist/cjs/{getTargeting-ea2ea5e7.js → getTargeting-15ad167c.js} +9 -9
  71. package/dist/cjs/getTargeting.js +1 -1
  72. package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
  73. package/dist/cjs/{index-f0677b9d.js → index-e2e62963.js} +0 -10
  74. package/dist/cjs/{index-be7af3a5.js → index-f30a10d6.js} +12 -12
  75. package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
  76. package/dist/cjs/index.js +12 -12
  77. package/dist/cjs/{main-11ec04d2.js → main-7b5e57b0.js} +32 -28
  78. package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
  79. package/dist/cjs/timeDifferenceCalc.js +1 -1
  80. package/dist/esm/AD300x250.js +2 -2
  81. package/dist/esm/AD300x250x600.js +2 -2
  82. package/dist/esm/AD728x90.js +3 -3
  83. package/dist/esm/ADFloatingFooter.js +1 -1
  84. package/dist/esm/ADGutter.js +1 -1
  85. package/dist/esm/ADSkyscraper.js +1 -1
  86. package/dist/esm/ADSponsoredResources.js +1 -1
  87. package/dist/esm/ADWebcast.js +1 -1
  88. package/dist/esm/ADWelcome.js +1 -1
  89. package/dist/esm/AdSlot.js +2 -75
  90. package/dist/esm/AdSlotsProvider.js +5 -14
  91. package/dist/esm/AlgoliaSearch.js +17 -35
  92. package/dist/esm/ArticleCarousel.js +1 -1
  93. package/dist/esm/ArticleProgramLandingPage.js +5 -5
  94. package/dist/esm/ArticleSeriesLandingPage.js +5 -5
  95. package/dist/esm/ArticleSeriesListing.js +3 -3
  96. package/dist/esm/Auth.js +42 -7
  97. package/dist/esm/AuthWrapper.js +228 -189
  98. package/dist/esm/CMEDeck.js +3 -3
  99. package/dist/esm/Column3.js +3 -3
  100. package/dist/esm/ConferenceArticleCard.js +16 -16
  101. package/dist/esm/DeckContent.js +13 -13
  102. package/dist/esm/DeckQueue.js +12 -6
  103. package/dist/esm/EventsDeck.js +21 -21
  104. package/dist/esm/ExternalResources.js +5 -5
  105. package/dist/esm/Feature.js +2 -2
  106. package/dist/esm/ForbesHero.js +1 -1
  107. package/dist/esm/GridContent.js +8 -8
  108. package/dist/esm/GridHero.js +1 -1
  109. package/dist/esm/HamMagazine.js +15 -15
  110. package/dist/esm/HighlightenVideo.js +1 -1
  111. package/dist/esm/HorizontalArticleListing.js +4 -4
  112. package/dist/esm/HorizontalHero.js +1 -1
  113. package/dist/esm/IssueContentDeck.js +1 -1
  114. package/dist/esm/IssueDeck.js +1 -1
  115. package/dist/esm/IssueLanding.js +36 -36
  116. package/dist/esm/KMTracker.js +15 -15
  117. package/dist/esm/LeftNav.js +1 -1
  118. package/dist/esm/MasterDeck.js +13 -13
  119. package/dist/esm/MediaSeriesLanding.js +149 -193
  120. package/dist/esm/NavMagazine.js +14 -14
  121. package/dist/esm/NavNative.js +12 -12
  122. package/dist/esm/OncliveHero.js +1 -1
  123. package/dist/esm/OncliveLargeHero.js +1 -1
  124. package/dist/esm/PartnerDetailListing.js +7 -7
  125. package/dist/esm/PubSection.js +5 -5
  126. package/dist/esm/PublicationLanding.js +26 -26
  127. package/dist/esm/QueueDeckExpanded.js +7 -7
  128. package/dist/esm/RelatedContent.js +29 -29
  129. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  130. package/dist/esm/SeriesListingDeck.js +3 -3
  131. package/dist/esm/{SeriesSlider-802c4daf.js → SeriesSlider-935e2b4e.js} +10 -10
  132. package/dist/esm/SideFooter.js +2 -2
  133. package/dist/esm/{SocialSearchComponent-82ac7d6d.js → SocialSearchComponent-94f6554c.js} +3 -3
  134. package/dist/esm/TaxonomyDescription.js +4 -4
  135. package/dist/esm/TemplateNormal.js +2 -2
  136. package/dist/esm/Ustream.js +2 -2
  137. package/dist/esm/VerticalHero.js +1 -1
  138. package/dist/esm/VideoProgramLandingPage.js +5 -5
  139. package/dist/esm/VideoSeriesCard.js +2 -2
  140. package/dist/esm/VideoSeriesLandingPage.js +5 -5
  141. package/dist/esm/VideoSeriesListing.js +3 -3
  142. package/dist/esm/View.js +22 -14
  143. package/dist/esm/YahooHero.js +1 -1
  144. package/dist/esm/YoutubeGroup.js +10 -10
  145. package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-4abff0b1.js} +4 -3
  146. package/dist/esm/getRelatedArticle.js +62 -126
  147. package/dist/esm/getSerializers.js +4 -4
  148. package/dist/esm/{getTargeting-831bc794.js → getTargeting-82e86707.js} +9 -9
  149. package/dist/esm/getTargeting.js +1 -1
  150. package/dist/esm/{index-a5e7c80c.js → index-a69960c8.js} +12 -12
  151. package/dist/esm/{index-b68072f5.js → index-aaa2dae0.js} +1 -10
  152. package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
  153. package/dist/esm/{index.es-7dda2f0a.js → index.es-c6222053.js} +20 -4
  154. package/dist/esm/index.js +12 -12
  155. package/dist/esm/{main-aef58dbc.js → main-747e7d25.js} +32 -28
  156. package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
  157. package/dist/esm/timeDifferenceCalc.js +1 -1
  158. package/package.json +110 -110
  159. /package/dist/cjs/{ADInfeed-abcd28ad.js → ADInfeed-0158bee3.js} +0 -0
  160. /package/dist/cjs/{ADlgInfeed-ed0bff5b.js → ADlgInfeed-3583144f.js} +0 -0
  161. /package/dist/esm/{ADInfeed-fc937563.js → ADInfeed-427022e9.js} +0 -0
  162. /package/dist/esm/{ADlgInfeed-d5032b24.js → ADlgInfeed-28d3f944.js} +0 -0
@@ -14,7 +14,7 @@ import 'prop-types';
14
14
  import './isSymbol-1981418f.js';
15
15
  import './debounce-9207d8ee.js';
16
16
  import './toNumber-2f7a84cd.js';
17
- import './main-aef58dbc.js';
17
+ import './main-747e7d25.js';
18
18
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
19
19
  import './stringify-4330ccdc.js';
20
20
  import './asyncToGenerator-fc1c2e29.js';
@@ -9,86 +9,18 @@ import { _ as _extends } from './extends-6f2fcc99.js';
9
9
  import './web.dom.iterable-4439f05a.js';
10
10
  import React, { useState, useEffect } from 'react';
11
11
  import './events-6c3a7a63.js';
12
- import { l as lib_3, a as lib_2 } from './index-f7fb1e25.js';
12
+ import { a as lib_2 } from './index-f7fb1e25.js';
13
13
  import PropTypes from 'prop-types';
14
14
  import './isSymbol-1981418f.js';
15
15
  import { d as debounce_1 } from './debounce-9207d8ee.js';
16
16
  import './toNumber-2f7a84cd.js';
17
- import { d as main_16 } from './main-aef58dbc.js';
17
+ import { d as main_16 } from './main-747e7d25.js';
18
18
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
19
19
  import './stringify-4330ccdc.js';
20
20
  import './asyncToGenerator-fc1c2e29.js';
21
21
  import Segment from './Segment.js';
22
22
  import Beam from './Beam.js';
23
23
 
24
- var initialLoadIsDone = false;
25
- var initialLoadInProgress = false;
26
-
27
- function runOnce(fn) {
28
- var called = false;
29
- return function () {
30
- if (called) {
31
- return;
32
- }
33
- called = true;
34
- fn.apply(this, arguments);
35
- };
36
- }
37
-
38
- var getSignalsAndRefreshAds = function getSignalsAndRefreshAds(slotId) {
39
- console.log('%cgetSignalsAndRefreshAds', 'padding:1rem;background-color:yellow;color:black;', {
40
- initialLoadIsDone: initialLoadIsDone,
41
- initialLoadInProgress: initialLoadInProgress,
42
- slotId: slotId
43
- });
44
- lib_3.getGoogletag().then(function (googletag) {
45
- googletag.cmd.push(function () {
46
- if (!initialLoadIsDone && !initialLoadInProgress && googletag.pubads().getSlots().length > 0) {
47
- // trigger ads refresh within googletag
48
- var refreshAds = function refreshAds() {
49
- googletag.cmd.push(function () {
50
- googletag.pubads().refresh();
51
- initialLoadIsDone = true;
52
- });
53
- };
54
- // wrap to make sure it's called once
55
-
56
-
57
- initialLoadInProgress = true;var refreshAdsOnce = runOnce(refreshAds);
58
- // trigger signals request and refresh ads when it's ready
59
- window.PQ.cmd.push(function () {
60
- PQ.loadSignals(['ids', 'bsc', 'vlp'], refreshAdsOnce);
61
- });
62
- // just in case something go wrong ads will be refreshed anyway after specified timeout
63
- var timeout = 1000;
64
- setTimeout(refreshAdsOnce, timeout);
65
- }
66
- if (initialLoadIsDone) {
67
- googletag.cmd.push(function () {
68
- var slots = googletag.pubads().getSlots();
69
- // find new slot within googletag
70
- var newSlot = slots.find(function (slot) {
71
- return slot.getSlotElementId() === slotId;
72
- });
73
- // refresh single slot which was added
74
- function refreshAd() {
75
- googletag.cmd.push(function () {
76
- googletag.pubads().refresh([newSlot]);
77
- });
78
- }
79
- var refreshAdOnce = runOnce(refreshAd);
80
- // get VLP signal value only for the added slot; IDS and BSC signals are global for the whole page so no need to refetch
81
- window.PQ.cmd.push(function () {
82
- PQ.loadSignalsForSlots([newSlot], refreshAdOnce);
83
- });
84
- var timeout = 1000;
85
- setTimeout(refreshAdOnce, timeout);
86
- });
87
- }
88
- });
89
- });
90
- };
91
-
92
24
  var DFPAdSlot = function DFPAdSlot(_ref) {
93
25
  var adUnit = _ref.adUnit,
94
26
  sizeMapping = _ref.sizeMapping,
@@ -231,11 +163,6 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
231
163
  onSlotVisibilityChanged: handleVisibilityChange,
232
164
  shouldRefresh: function shouldRefresh(event) {
233
165
  if (adRendered && adRefreshable && refreshFlag) return true;else return false;
234
- },
235
- onSlotRegister: function onSlotRegister(e) {
236
- setTimeout(function () {
237
- getSignalsAndRefreshAds(e && e.slotId);
238
- }, 0);
239
166
  }
240
167
  })
241
168
  );
@@ -5,15 +5,13 @@ import './_library-528f1934.js';
5
5
  import './_iter-detect-5d49a330.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
7
7
  import './core.get-iterator-method-e1de7503.js';
8
- import './define-property-8af5f002.js';
9
8
  import './web.dom.iterable-4439f05a.js';
10
9
  import React, { useEffect } from 'react';
11
10
  import './events-6c3a7a63.js';
12
11
  import { l as lib_3, b as lib_1 } from './index-f7fb1e25.js';
13
12
  import 'prop-types';
14
- import { e as main_22, m as main_39 } from './main-aef58dbc.js';
13
+ import { e as main_22, m as main_40 } from './main-747e7d25.js';
15
14
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
16
- import { _ as _defineProperty } from './defineProperty-94fd8bfc.js';
17
15
  import ReactGA from 'react-ga';
18
16
 
19
17
  var _this = undefined;
@@ -30,9 +28,8 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
30
28
  _ref$refreshADs = _ref.refreshADs,
31
29
  refreshADs = _ref$refreshADs === undefined ? {} : _ref$refreshADs,
32
30
  _ref$refreshInterval = _ref.refreshInterval,
33
- refreshInterval = _ref$refreshInterval === undefined ? 60 : _ref$refreshInterval,
34
- _ref$disableInitialLo = _ref.disableInitialLoad,
35
- disableInitialLoad = _ref$disableInitialLo === undefined ? false : _ref$disableInitialLo;
31
+ refreshInterval = _ref$refreshInterval === undefined ? 60 : _ref$refreshInterval;
32
+
36
33
 
37
34
  var logEvent = function logEvent(action, category, GA_TRACKING_ID) {
38
35
  if (!GA_TRACKING_ID && typeof window !== 'undefined') GA_TRACKING_ID = sessionStorage.getItem('GA_TRACKING_ID');
@@ -115,7 +112,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
115
112
  _refreshADs$mobileAds = refreshADs.mobileAds, mobileAds = _refreshADs$mobileAds === undefined ? ['leaderboard-ad'] : _refreshADs$mobileAds, _refreshADs$desktopAd = refreshADs.desktopAds, desktopAds = _refreshADs$desktopAd === undefined ? [] : _refreshADs$desktopAd;
116
113
  ads = [];
117
114
 
118
- if (!main_39) {
115
+ if (!main_40) {
119
116
  _context2.next = 8;
120
117
  break;
121
118
  }
@@ -164,13 +161,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
164
161
 
165
162
  return React.createElement(
166
163
  lib_1,
167
- _defineProperty({
168
- disableInitialLoad: true,
169
- dfpNetworkId: networkID,
170
- targeting: targeting,
171
- singleRequest: singleRequest,
172
- lazyLoad: { fetchMarginPercent: 0, renderMarginPercent: 0, mobileScaling: 1.0 }
173
- }, 'disableInitialLoad', disableInitialLoad),
164
+ { dfpNetworkId: networkID, targeting: targeting, singleRequest: singleRequest, lazyLoad: { fetchMarginPercent: 0, renderMarginPercent: 0, mobileScaling: 1.0 } },
174
165
  children
175
166
  );
176
167
  };
@@ -1,4 +1,4 @@
1
- import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
1
+ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-a4107da3.js';
3
3
  import './es6.string.iterator-c990c18c.js';
4
4
  import './_library-528f1934.js';
@@ -8,18 +8,18 @@ import './_object-sap-964b6feb.js';
8
8
  import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-75d45541.js';
9
9
  import './define-property-8af5f002.js';
10
10
  import './web.dom.iterable-4439f05a.js';
11
- import { _ as _typeof$2 } from './typeof-af9c50d8.js';
11
+ import { _ as _typeof$1 } from './typeof-af9c50d8.js';
12
12
  import './_is-array-58e95429.js';
13
13
  import React, { createContext, Component, Children, version as version$2 } from 'react';
14
14
  import { E as EventEmitter } from './events-6c3a7a63.js';
15
15
  import PropTypes from 'prop-types';
16
- import { m as moment } from './moment-12415288.js';
16
+ import { m as moment } from './moment-b6f49411.js';
17
17
  import 'react-dom';
18
18
  import './index-51a80699.js';
19
19
  import urlFor from './urlFor.js';
20
20
  import { L as LazyLoad } from './index-6c12bdd5.js';
21
21
  import { DropdownButton } from 'react-bootstrap';
22
- import { _ as _objectWithoutPropertiesLoose$1, a as _setPrototypeOf, b as _extends, c as classnames } from './index-b68072f5.js';
22
+ import { _ as _objectWithoutPropertiesLoose$1, a as _extends, c as classnames } from './index-aaa2dae0.js';
23
23
 
24
24
  function _objectWithoutProperties(source, excluded) {
25
25
  if (source == null) return {};
@@ -96,33 +96,22 @@ function _createClass(Constructor, protoProps, staticProps) {
96
96
  return Constructor;
97
97
  }
98
98
 
99
- var _typeof_1 = createCommonjsModule(function (module) {
100
99
  function _typeof(obj) {
101
100
  "@babel/helpers - typeof";
102
101
 
103
102
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
104
- module.exports = _typeof = function _typeof(obj) {
103
+ _typeof = function _typeof(obj) {
105
104
  return typeof obj;
106
105
  };
107
-
108
- module.exports["default"] = module.exports, module.exports.__esModule = true;
109
106
  } else {
110
- module.exports = _typeof = function _typeof(obj) {
107
+ _typeof = function _typeof(obj) {
111
108
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
112
109
  };
113
-
114
- module.exports["default"] = module.exports, module.exports.__esModule = true;
115
110
  }
116
111
 
117
112
  return _typeof(obj);
118
113
  }
119
114
 
120
- module.exports = _typeof;
121
- module.exports["default"] = module.exports, module.exports.__esModule = true;
122
- });
123
-
124
- var _typeof = unwrapExports(_typeof_1);
125
-
126
115
  function _assertThisInitialized(self) {
127
116
  if (self === void 0) {
128
117
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -146,6 +135,15 @@ function _getPrototypeOf(o) {
146
135
  return _getPrototypeOf(o);
147
136
  }
148
137
 
138
+ function _setPrototypeOf(o, p) {
139
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
140
+ o.__proto__ = p;
141
+ return o;
142
+ };
143
+
144
+ return _setPrototypeOf(o, p);
145
+ }
146
+
149
147
  function _inherits(subClass, superClass) {
150
148
  if (typeof superClass !== "function" && superClass !== null) {
151
149
  throw new TypeError("Super expression must either be null or a function");
@@ -296,22 +294,6 @@ var reactFastCompare = function isEqual(a, b) {
296
294
  }
297
295
  };
298
296
 
299
- function _typeof$1(obj) {
300
- "@babel/helpers - typeof";
301
-
302
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
303
- _typeof$1 = function _typeof(obj) {
304
- return typeof obj;
305
- };
306
- } else {
307
- _typeof$1 = function _typeof(obj) {
308
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
309
- };
310
- }
311
-
312
- return _typeof$1(obj);
313
- }
314
-
315
297
  // From https://github.com/reactjs/react-redux/blob/master/src/utils/shallowEqual.js
316
298
  var shallowEqual = function shallowEqual(objA, objB) {
317
299
  if (objA === objB) {
@@ -345,7 +327,7 @@ var defer = function defer(f) {
345
327
  };
346
328
 
347
329
  var isPlainObject = function isPlainObject(value) {
348
- return _typeof$1(value) === 'object' && value !== null && !Array.isArray(value);
330
+ return _typeof(value) === 'object' && value !== null && !Array.isArray(value);
349
331
  };
350
332
 
351
333
  var removeEmptyKey = function removeEmptyKey(obj) {
@@ -14145,7 +14127,7 @@ var AlgoliaSearch = function (_React$Component) {
14145
14127
  LazyLoad,
14146
14128
  null,
14147
14129
  React.createElement('img', {
14148
- src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$2(hit.thumbnail === 'string') ? hit.thumbnail : this.props.defaultImage
14130
+ src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$1(hit.thumbnail === 'string') ? hit.thumbnail : this.props.defaultImage
14149
14131
  })
14150
14132
  )
14151
14133
  )
@@ -14,7 +14,7 @@ import 'react-dom';
14
14
  import './index-51a80699.js';
15
15
  import './urlFor.js';
16
16
  import './index-6c12bdd5.js';
17
- import './main-aef58dbc.js';
17
+ import './main-747e7d25.js';
18
18
  import './slicedToArray-641f241f.js';
19
19
  import './index-c7e2ac95.js';
20
20
  import './smoothscroll-0cd4c7a6.js';
@@ -20,18 +20,18 @@ import 'prop-types';
20
20
  import 'react-bootstrap/Container';
21
21
  import 'react-bootstrap/Row';
22
22
  import 'react-bootstrap/Col';
23
- import './moment-12415288.js';
23
+ import './moment-b6f49411.js';
24
24
  import 'next/router';
25
25
  import './isSymbol-1981418f.js';
26
26
  import './debounce-9207d8ee.js';
27
27
  import './toNumber-2f7a84cd.js';
28
- import './index.es-7dda2f0a.js';
28
+ import './index.es-c6222053.js';
29
29
  import 'react-dom';
30
30
  import './visibility-sensor-f40c2564.js';
31
31
  import './index-51a80699.js';
32
32
  import './urlFor.js';
33
33
  import './index-6c12bdd5.js';
34
- import './main-aef58dbc.js';
34
+ import './main-747e7d25.js';
35
35
  import './entities-7cc3bf45.js';
36
36
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
37
37
  import './stringify-4330ccdc.js';
@@ -48,9 +48,9 @@ import 'react-bootstrap';
48
48
  import './iconBase-602d52fe.js';
49
49
  import './index.esm-3fdda599.js';
50
50
  import ArticleSeriesListing from './ArticleSeriesListing.js';
51
- import { g as getSerializers } from './index-a5e7c80c.js';
51
+ import { g as getSerializers } from './index-a69960c8.js';
52
52
  import './util-7700fc59.js';
53
- import './brightcove-react-player-loader.es-e1c6b0f2.js';
53
+ import './brightcove-react-player-loader.es-4abff0b1.js';
54
54
  import 'next/head';
55
55
  import 'react-share';
56
56
  import './SocialShare.js';
@@ -21,25 +21,25 @@ import 'react-bootstrap/Container';
21
21
  import 'react-bootstrap/Row';
22
22
  import 'react-bootstrap/Col';
23
23
  import 'react-bootstrap/Card';
24
- import './moment-12415288.js';
24
+ import './moment-b6f49411.js';
25
25
  import 'next/router';
26
26
  import './isSymbol-1981418f.js';
27
27
  import './debounce-9207d8ee.js';
28
28
  import './toNumber-2f7a84cd.js';
29
- import './index.es-7dda2f0a.js';
29
+ import './index.es-c6222053.js';
30
30
  import 'react-dom';
31
31
  import './visibility-sensor-f40c2564.js';
32
32
  import './index-51a80699.js';
33
- import './main-aef58dbc.js';
33
+ import './main-747e7d25.js';
34
34
  import './slicedToArray-641f241f.js';
35
35
  import './stringify-4330ccdc.js';
36
36
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
37
37
  import './Segment.js';
38
38
  import './Beam.js';
39
39
  import './AdSlot.js';
40
- import './ADInfeed-fc937563.js';
40
+ import './ADInfeed-427022e9.js';
41
41
  import './lodash-ec8c6b48.js';
42
- import './ADlgInfeed-d5032b24.js';
42
+ import './ADlgInfeed-28d3f944.js';
43
43
  import MasterDeck from './MasterDeck.js';
44
44
 
45
45
  var _this = undefined;
@@ -16,18 +16,18 @@ import './events-6c3a7a63.js';
16
16
  import { l as lib_3 } from './index-f7fb1e25.js';
17
17
  import 'prop-types';
18
18
  import Container from 'react-bootstrap/Container';
19
- import { m as moment } from './moment-12415288.js';
19
+ import { m as moment } from './moment-b6f49411.js';
20
20
  import { withRouter } from 'next/router';
21
21
  import './isSymbol-1981418f.js';
22
22
  import { d as debounce_1 } from './debounce-9207d8ee.js';
23
23
  import './toNumber-2f7a84cd.js';
24
- import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
24
+ import { I as InfiniteScroll } from './index.es-c6222053.js';
25
25
  import 'react-dom';
26
26
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
27
27
  import './index-51a80699.js';
28
28
  import './urlFor.js';
29
29
  import './index-6c12bdd5.js';
30
- import './main-aef58dbc.js';
30
+ import './main-747e7d25.js';
31
31
  import './slicedToArray-641f241f.js';
32
32
  import './index-c7e2ac95.js';
33
33
  import './smoothscroll-0cd4c7a6.js';
package/dist/esm/Auth.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
1
+ import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-a4107da3.js';
3
3
  import './es6.string.iterator-c990c18c.js';
4
4
  import './_library-528f1934.js';
@@ -1846,7 +1846,14 @@ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1846
1846
  if (!allowMissing && !(parts[i] in value)) {
1847
1847
  throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1848
1848
  }
1849
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1849
+ // By convention, when a data property is converted to an accessor
1850
+ // property to emulate a data property that does not suffer from
1851
+ // the override mistake, that accessor's getter is marked with
1852
+ // an `originalValue` property. Here, when we detect this, we
1853
+ // uphold the illusion by pretending to see that original data
1854
+ // property, i.e., returning the value rather than the getter
1855
+ // itself.
1856
+ value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
1850
1857
  } else {
1851
1858
  value = value[parts[i]];
1852
1859
  }
@@ -1855,18 +1862,42 @@ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1855
1862
  return value;
1856
1863
  };
1857
1864
 
1865
+ var callBind = createCommonjsModule(function (module) {
1866
+
1867
+
1868
+
1869
+
1870
+
1858
1871
  var $apply = GetIntrinsic('%Function.prototype.apply%');
1859
1872
  var $call = GetIntrinsic('%Function.prototype.call%');
1860
1873
  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1861
1874
 
1862
- var callBind = function callBind() {
1875
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
1876
+
1877
+ if ($defineProperty) {
1878
+ try {
1879
+ $defineProperty({}, 'a', { value: 1 });
1880
+ } catch (e) {
1881
+ // IE 8 has a broken defineProperty
1882
+ $defineProperty = null;
1883
+ }
1884
+ }
1885
+
1886
+ module.exports = function callBind() {
1863
1887
  return $reflectApply(functionBind, $call, arguments);
1864
1888
  };
1865
1889
 
1866
- var apply = function applyBind() {
1890
+ var applyBind = function applyBind() {
1867
1891
  return $reflectApply(functionBind, $apply, arguments);
1868
1892
  };
1869
- callBind.apply = apply;
1893
+
1894
+ if ($defineProperty) {
1895
+ $defineProperty(module.exports, 'apply', { value: applyBind });
1896
+ } else {
1897
+ module.exports.apply = applyBind;
1898
+ }
1899
+ });
1900
+ var callBind_1 = callBind.apply;
1870
1901
 
1871
1902
  var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
1872
1903
 
@@ -2153,8 +2184,12 @@ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'func
2153
2184
  }
2154
2185
  });
2155
2186
  isCallableMarker = {};
2187
+ // eslint-disable-next-line no-throw-literal
2188
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2156
2189
  } catch (_) {
2157
- reflectApply = null;
2190
+ if (_ !== isCallableMarker) {
2191
+ reflectApply = null;
2192
+ }
2158
2193
  }
2159
2194
  } else {
2160
2195
  reflectApply = null;
@@ -2239,7 +2274,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2239
2274
  if (src(Obj, 'get')) {
2240
2275
  var getter = Obj.get;
2241
2276
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2242
- throw new TypeError('getter must be a function');
2277
+ throw new $TypeError$2('getter must be a function');
2243
2278
  }
2244
2279
  desc['[[Get]]'] = getter;
2245
2280
  }