@mjhls/mjh-framework 1.0.700 → 1.0.702-beta-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 (152) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +5 -3
  4. package/dist/cjs/AD300x250x600.js +5 -3
  5. package/dist/cjs/AD728x90.js +6 -4
  6. package/dist/cjs/ADFloatingFooter.js +4 -2
  7. package/dist/cjs/ADGutter.js +4 -2
  8. package/dist/cjs/ADSkyscraper.js +4 -2
  9. package/dist/cjs/ADSponsoredResources.js +4 -2
  10. package/dist/cjs/ADWebcast.js +4 -2
  11. package/dist/cjs/ADWelcome.js +4 -2
  12. package/dist/cjs/AdSlot.js +14 -3
  13. package/dist/cjs/AdSlotsProvider.js +2 -2
  14. package/dist/cjs/ArticleCarousel.js +1 -1
  15. package/dist/cjs/ArticleSeriesListing.js +4 -4
  16. package/dist/cjs/Auth.js +455 -306
  17. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-80b15fac.js} +1 -1
  18. package/dist/cjs/BrowseVideosListing.js +1 -1
  19. package/dist/cjs/CMEDeck.js +5 -5
  20. package/dist/cjs/Column3.js +6 -4
  21. package/dist/cjs/ConferenceArticleCard.js +2 -2
  22. package/dist/cjs/DeckContent.js +7 -7
  23. package/dist/cjs/DeckQueue.js +6 -6
  24. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-390337bf.js} +1 -1
  25. package/dist/cjs/EventsDeck.js +4 -4
  26. package/dist/cjs/ExternalResources.js +7 -7
  27. package/dist/cjs/Feature.js +3 -3
  28. package/dist/cjs/ForbesHero.js +2 -2
  29. package/dist/cjs/GridContent.js +11 -11
  30. package/dist/cjs/GridHero.js +2 -2
  31. package/dist/cjs/GroupDeck.js +1 -1
  32. package/dist/cjs/HamMagazine.js +4 -4
  33. package/dist/cjs/Hero.js +1 -1
  34. package/dist/cjs/HorizontalHero.js +2 -2
  35. package/dist/cjs/IssueContentDeck.js +2 -2
  36. package/dist/cjs/IssueDeck.js +2 -2
  37. package/dist/cjs/IssueLanding.js +8 -8
  38. package/dist/cjs/LeftNav.js +4 -2
  39. package/dist/cjs/MasterDeck.js +8 -8
  40. package/dist/cjs/NavMagazine.js +4 -4
  41. package/dist/cjs/NavNative.js +3 -3
  42. package/dist/cjs/OncliveHero.js +2 -2
  43. package/dist/cjs/OncliveLargeHero.js +2 -2
  44. package/dist/cjs/PartnerDetailListing.js +10 -10
  45. package/dist/cjs/PublicationDeck.js +2 -2
  46. package/dist/cjs/QueueDeckExpanded.js +10 -10
  47. package/dist/cjs/RecentNews.js +2 -2
  48. package/dist/cjs/RelatedContent.js +2 -2
  49. package/dist/cjs/{SocialSearchComponent-75c51b47.js → SocialSearchComponent-56d49a1a.js} +5 -5
  50. package/dist/cjs/TaxonomyCard.js +2 -2
  51. package/dist/cjs/TemplateNormal.js +5 -3
  52. package/dist/cjs/ThumbnailCard.js +1 -1
  53. package/dist/cjs/Ustream.js +2 -2
  54. package/dist/cjs/VerticalHero.js +2 -2
  55. package/dist/cjs/VideoSeriesCard.js +2 -2
  56. package/dist/cjs/VideoSeriesListing.js +4 -4
  57. package/dist/cjs/View.js +155 -190
  58. package/dist/cjs/YahooHero.js +2 -2
  59. package/dist/cjs/YoutubeGroup.js +1 -1
  60. package/dist/cjs/getQuery.js +2 -2
  61. package/dist/cjs/getRelatedArticle.js +65 -447
  62. package/dist/cjs/getSerializers.js +6 -6
  63. package/dist/cjs/{index-2d0a4911.js → index-099d45ae.js} +6 -4
  64. package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
  65. package/dist/cjs/{index-b5eb3ff8.js → index-39beccb3.js} +18 -18
  66. package/dist/cjs/{index-ec02006c.js → index-58dae365.js} +12 -12
  67. package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
  68. package/dist/cjs/index.js +15 -15
  69. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  70. package/dist/cjs/{main-99536bdc.js → main-03ffa84c.js} +36 -67
  71. package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
  72. package/dist/cjs/timeDifferenceCalc.js +1 -1
  73. package/dist/cjs/urlFor.js +1 -1
  74. package/dist/esm/AD.js +1 -1
  75. package/dist/esm/AD300x250.js +5 -3
  76. package/dist/esm/AD300x250x600.js +5 -3
  77. package/dist/esm/AD728x90.js +6 -4
  78. package/dist/esm/ADFloatingFooter.js +4 -2
  79. package/dist/esm/ADGutter.js +4 -2
  80. package/dist/esm/ADSkyscraper.js +4 -2
  81. package/dist/esm/ADSponsoredResources.js +4 -2
  82. package/dist/esm/ADWebcast.js +4 -2
  83. package/dist/esm/ADWelcome.js +4 -2
  84. package/dist/esm/AdSlot.js +15 -4
  85. package/dist/esm/AdSlotsProvider.js +2 -2
  86. package/dist/esm/ArticleCarousel.js +1 -1
  87. package/dist/esm/ArticleSeriesListing.js +4 -4
  88. package/dist/esm/Auth.js +450 -301
  89. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c409aca5.js} +1 -1
  90. package/dist/esm/BrowseVideosListing.js +1 -1
  91. package/dist/esm/CMEDeck.js +5 -5
  92. package/dist/esm/Column3.js +6 -4
  93. package/dist/esm/ConferenceArticleCard.js +2 -2
  94. package/dist/esm/DeckContent.js +7 -7
  95. package/dist/esm/DeckQueue.js +6 -6
  96. package/dist/esm/{Dfp-8a8fca18.js → Dfp-741c01be.js} +1 -1
  97. package/dist/esm/EventsDeck.js +4 -4
  98. package/dist/esm/ExternalResources.js +7 -7
  99. package/dist/esm/Feature.js +3 -3
  100. package/dist/esm/ForbesHero.js +2 -2
  101. package/dist/esm/GridContent.js +11 -11
  102. package/dist/esm/GridHero.js +2 -2
  103. package/dist/esm/GroupDeck.js +1 -1
  104. package/dist/esm/HamMagazine.js +4 -4
  105. package/dist/esm/Hero.js +1 -1
  106. package/dist/esm/HorizontalHero.js +2 -2
  107. package/dist/esm/IssueContentDeck.js +2 -2
  108. package/dist/esm/IssueDeck.js +2 -2
  109. package/dist/esm/IssueLanding.js +8 -8
  110. package/dist/esm/LeftNav.js +4 -2
  111. package/dist/esm/MasterDeck.js +8 -8
  112. package/dist/esm/NavMagazine.js +4 -4
  113. package/dist/esm/NavNative.js +3 -3
  114. package/dist/esm/OncliveHero.js +2 -2
  115. package/dist/esm/OncliveLargeHero.js +2 -2
  116. package/dist/esm/PartnerDetailListing.js +10 -10
  117. package/dist/esm/PublicationDeck.js +2 -2
  118. package/dist/esm/QueueDeckExpanded.js +10 -10
  119. package/dist/esm/RecentNews.js +2 -2
  120. package/dist/esm/RelatedContent.js +2 -2
  121. package/dist/esm/{SocialSearchComponent-5a9c4628.js → SocialSearchComponent-677ed3bd.js} +5 -5
  122. package/dist/esm/TaxonomyCard.js +2 -2
  123. package/dist/esm/TemplateNormal.js +5 -3
  124. package/dist/esm/ThumbnailCard.js +1 -1
  125. package/dist/esm/Ustream.js +2 -2
  126. package/dist/esm/VerticalHero.js +2 -2
  127. package/dist/esm/VideoSeriesCard.js +2 -2
  128. package/dist/esm/VideoSeriesListing.js +4 -4
  129. package/dist/esm/View.js +155 -190
  130. package/dist/esm/YahooHero.js +2 -2
  131. package/dist/esm/YoutubeGroup.js +1 -1
  132. package/dist/esm/getQuery.js +2 -2
  133. package/dist/esm/getRelatedArticle.js +65 -447
  134. package/dist/esm/getSerializers.js +6 -6
  135. package/dist/esm/{index-51a80699.js → index-3849e3fe.js} +18 -18
  136. package/dist/esm/{index-93ec3c59.js → index-3f4dd6f2.js} +6 -4
  137. package/dist/esm/{index-50d0fbc7.js → index-7779a6df.js} +12 -12
  138. package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
  139. package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
  140. package/dist/esm/index.js +14 -14
  141. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  142. package/dist/esm/{main-e2627831.js → main-35ff7b4f.js} +34 -65
  143. package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
  144. package/dist/esm/timeDifferenceCalc.js +1 -1
  145. package/dist/esm/urlFor.js +1 -1
  146. package/package.json +3 -3
  147. package/dist/cjs/index-bd6c9f56.js +0 -211
  148. package/dist/esm/index-db3bb315.js +0 -207
  149. /package/dist/cjs/{ADInfeed-f60d8625.js → ADInfeed-38066a36.js} +0 -0
  150. /package/dist/cjs/{ADlgInfeed-a08f8a4b.js → ADlgInfeed-d95c9027.js} +0 -0
  151. /package/dist/esm/{ADInfeed-c7e745f1.js → ADInfeed-7b1b2fcb.js} +0 -0
  152. /package/dist/esm/{ADlgInfeed-6fedd79b.js → ADlgInfeed-2afe92e6.js} +0 -0
@@ -60,35 +60,35 @@ function parseSource(source) {
60
60
  if (typeof source === 'string' && isUrl(source)) {
61
61
  // Someone passed an existing image url?
62
62
  image = {
63
- asset: { _ref: urlToId(source) },
63
+ asset: { _ref: urlToId(source) }
64
64
  };
65
65
  }
66
66
  else if (typeof source === 'string') {
67
67
  // Just an asset id
68
68
  image = {
69
- asset: { _ref: source },
69
+ asset: { _ref: source }
70
70
  };
71
71
  }
72
72
  else if (isRef(source)) {
73
73
  // We just got passed an asset directly
74
74
  image = {
75
- asset: source,
75
+ asset: source
76
76
  };
77
77
  }
78
78
  else if (isAsset(source)) {
79
79
  // If we were passed an image asset document
80
80
  image = {
81
81
  asset: {
82
- _ref: source._id || '',
83
- },
82
+ _ref: source._id || ''
83
+ }
84
84
  };
85
85
  }
86
86
  else if (isAssetStub(source)) {
87
87
  // If we were passed a partial asset (`url`, but no `_id`)
88
88
  image = {
89
89
  asset: {
90
- _ref: urlToId(source.asset.url),
91
- },
90
+ _ref: urlToId(source.asset.url)
91
+ }
92
92
  };
93
93
  }
94
94
  else if (typeof source.asset === 'object') {
@@ -129,7 +129,7 @@ function applyDefaults(image) {
129
129
  left: 0,
130
130
  top: 0,
131
131
  bottom: 0,
132
- right: 0,
132
+ right: 0
133
133
  };
134
134
  }
135
135
  if (!result.hotspot) {
@@ -137,7 +137,7 @@ function applyDefaults(image) {
137
137
  x: 0.5,
138
138
  y: 0.5,
139
139
  height: 1.0,
140
- width: 1.0,
140
+ width: 1.0
141
141
  };
142
142
  }
143
143
  return result;
@@ -184,7 +184,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
184
184
  ['crop', 'crop'],
185
185
  ['saturation', 'sat'],
186
186
  ['auto', 'auto'],
187
- ['dpr', 'dpr'],
187
+ ['dpr', 'dpr']
188
188
  ];
189
189
  function urlForImage(options) {
190
190
  var spec = __assign({}, (options || {}));
@@ -203,7 +203,7 @@ function urlForImage(options) {
203
203
  left: cropLeft,
204
204
  top: cropTop,
205
205
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
206
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
206
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
207
207
  };
208
208
  // Compute hot spot rect in terms of pixel coordinates
209
209
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -214,7 +214,7 @@ function urlForImage(options) {
214
214
  left: hotSpotCenterX - hotSpotHorizontalRadius,
215
215
  top: hotSpotCenterY - hotSpotVerticalRadius,
216
216
  right: hotSpotCenterX + hotSpotHorizontalRadius,
217
- bottom: hotSpotCenterY + hotSpotVerticalRadius,
217
+ bottom: hotSpotCenterY + hotSpotVerticalRadius
218
218
  };
219
219
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
220
220
  // the crop/hotspot.
@@ -296,7 +296,7 @@ function fit(source, spec) {
296
296
  left: Math.round(left),
297
297
  top: Math.round(top_2),
298
298
  width: Math.round(width),
299
- height: Math.round(height),
299
+ height: Math.round(height)
300
300
  };
301
301
  }
302
302
  else {
@@ -318,13 +318,13 @@ function fit(source, spec) {
318
318
  left: Math.max(0, Math.floor(left)),
319
319
  top: Math.max(0, Math.floor(top_3)),
320
320
  width: Math.round(width),
321
- height: Math.round(height),
321
+ height: Math.round(height)
322
322
  };
323
323
  }
324
324
  return {
325
325
  width: imgWidth,
326
326
  height: imgHeight,
327
- rect: cropRect,
327
+ rect: cropRect
328
328
  };
329
329
  }
330
330
 
@@ -382,7 +382,7 @@ function urlBuilder(options) {
382
382
  return new ImageUrlBuilder(null, {
383
383
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
384
384
  projectId: projectId,
385
- dataset: dataset,
385
+ dataset: dataset
386
386
  });
387
387
  }
388
388
  // Or just accept the options as given
@@ -395,7 +395,7 @@ var ImageUrlBuilder = /** @class */ (function () {
395
395
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
396
396
  }
397
397
  ImageUrlBuilder.prototype.withOptions = function (options) {
398
- var baseUrl = options.baseUrl || this.options.baseUrl;
398
+ var baseUrl = options.baseUrl || '';
399
399
  var newOptions = { baseUrl: baseUrl };
400
400
  for (var key in options) {
401
401
  if (options.hasOwnProperty(key)) {
@@ -523,7 +523,7 @@ var ImageUrlBuilder = /** @class */ (function () {
523
523
  ImageUrlBuilder.prototype.url = function () {
524
524
  return urlForImage_1$1.default(this.options);
525
525
  };
526
- // Alias for url()
526
+ // Synonym for url()
527
527
  ImageUrlBuilder.prototype.toString = function () {
528
528
  return this.url();
529
529
  };
@@ -9,23 +9,23 @@ var inherits = require('./inherits-513d81cd.js');
9
9
  var _typeof$1 = require('./typeof-725500bc.js');
10
10
  var React = require('react');
11
11
  var React__default = _interopDefault(React);
12
- var index = require('./index-2d0a4911.js');
12
+ var index = require('./index-099d45ae.js');
13
13
  var PropTypes = require('prop-types');
14
14
  var PropTypes__default = _interopDefault(PropTypes);
15
15
  var Row = _interopDefault(require('react-bootstrap/Row'));
16
16
  var Col = _interopDefault(require('react-bootstrap/Col'));
17
- var moment = require('./moment-66a6a284.js');
17
+ var moment = require('./moment-575fe24c.js');
18
18
  var Router = require('next/router');
19
19
  var Router__default = _interopDefault(Router);
20
- var index$1 = require('./index-b5eb3ff8.js');
20
+ var index$1 = require('./index-39beccb3.js');
21
21
  var index$2 = require('./index-da796b8c.js');
22
- var main = require('./main-99536bdc.js');
22
+ var main = require('./main-03ffa84c.js');
23
23
  var entities = require('./entities-310b46ee.js');
24
24
  var slicedToArray = require('./slicedToArray-8f385299.js');
25
25
  var Segment = require('./Segment.js');
26
26
  var Beam = require('./Beam.js');
27
27
  var AdSlot = require('./AdSlot.js');
28
- var BlockContent = require('./BlockContent-88f69acd.js');
28
+ var BlockContent = require('./BlockContent-80b15fac.js');
29
29
  var smoothscroll = require('./smoothscroll-95231a70.js');
30
30
  var GroupDeck = require('./GroupDeck.js');
31
31
  var reactBootstrap = require('react-bootstrap');
@@ -7516,7 +7516,7 @@ var Poll = function Poll(_ref) {
7516
7516
  );
7517
7517
  };
7518
7518
 
7519
- var numberOfPaginations = main.main_38 ? 4 : 10;
7519
+ var numberOfPaginations = main.main_35 ? 4 : 10;
7520
7520
 
7521
7521
  var Quiz = function Quiz(_ref) {
7522
7522
  var quizzes = _ref.quizzes,
@@ -7629,7 +7629,7 @@ var Quiz = function Quiz(_ref) {
7629
7629
  var renderPagination = function renderPagination() {
7630
7630
  return React__default.createElement(
7631
7631
  Pagination,
7632
- { className: 'p-0 m-0', size: main.main_38 && 'sm' },
7632
+ { className: 'p-0 m-0', size: main.main_35 && 'sm' },
7633
7633
  React__default.createElement(Pagination.First, { onClick: function onClick() {
7634
7634
  return changePage('first');
7635
7635
  }, disabled: currentPage === 1 }),
@@ -8298,7 +8298,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8298
8298
  //console.log('useLayoutEffect')
8299
8299
  if (!firstLoad) {
8300
8300
  setUpArrowClicked(false);
8301
- if (main.main_39) {
8301
+ if (main.main_36) {
8302
8302
  grabLoadedAds();
8303
8303
  } else {
8304
8304
  scrollToArticle();
@@ -8322,7 +8322,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8322
8322
  //let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
8323
8323
  if (pageview) pageview(path);
8324
8324
 
8325
- if (!main.main_39) {
8325
+ if (!main.main_36) {
8326
8326
  index.lib_3.getGoogletag().then(function (googletag) {
8327
8327
  if (window.googletag && googletag.pubadsReady) {
8328
8328
  index.lib_3.refresh();
@@ -8330,7 +8330,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8330
8330
  });
8331
8331
  }
8332
8332
  //Refresh leaderboard ad on mobile
8333
- if (main.main_39) {
8333
+ if (main.main_36) {
8334
8334
  var leaderboardSlotId = '';
8335
8335
  index.lib_3.getGoogletag().then(function (googletag) {
8336
8336
  if (window.googletag && googletag.pubadsReady) {
@@ -8399,7 +8399,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8399
8399
  React__default.createElement(
8400
8400
  'div',
8401
8401
  { className: 'ad-box', style: { textAlign: 'center' } },
8402
- main.main_39 && Ads.map(function (ad, index) {
8402
+ main.main_36 && Ads.map(function (ad, index) {
8403
8403
  if (index === 0) {
8404
8404
  return React__default.createElement(
8405
8405
  'div',
@@ -8521,7 +8521,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
8521
8521
  React__default.createElement(
8522
8522
  'div',
8523
8523
  { className: 'ad-box', style: { textAlign: 'center' } },
8524
- main.main_39 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8524
+ main.main_36 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
8525
8525
  if (innerIndex === 0) {
8526
8526
  return React__default.createElement(
8527
8527
  'div',
@@ -268,9 +268,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
268
268
  _this.dragging = false;
269
269
  if (_this.state.pullToRefreshThresholdBreached) {
270
270
  _this.props.refreshFunction && _this.props.refreshFunction();
271
- _this.setState({
272
- pullToRefreshThresholdBreached: false,
273
- });
274
271
  }
275
272
  requestAnimationFrame(function () {
276
273
  // this._infScroll
@@ -377,6 +374,7 @@ var InfiniteScroll = /** @class */ (function (_super) {
377
374
  // update state when new data was sent in
378
375
  this.setState({
379
376
  showLoader: false,
377
+ pullToRefreshThresholdBreached: false,
380
378
  });
381
379
  };
382
380
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
package/dist/cjs/index.js CHANGED
@@ -18,22 +18,22 @@ require('./web.dom.iterable-a0e279c1.js');
18
18
  require('./typeof-725500bc.js');
19
19
  require('./_is-array-754e012d.js');
20
20
  require('react');
21
- require('./index-2d0a4911.js');
21
+ require('./index-099d45ae.js');
22
22
  require('prop-types');
23
23
  require('react-bootstrap/Container');
24
24
  require('react-bootstrap/Row');
25
25
  require('react-bootstrap/Col');
26
26
  require('react-bootstrap/Card');
27
- require('./moment-66a6a284.js');
27
+ require('./moment-575fe24c.js');
28
28
  require('next/router');
29
29
  require('./isSymbol-04666465.js');
30
30
  require('./debounce-eb287781.js');
31
- require('./index.es-ab3f2690.js');
31
+ require('./index.es-9110add6.js');
32
32
  require('react-dom');
33
33
  require('./visibility-sensor-0c45a583.js');
34
- require('./index-b5eb3ff8.js');
34
+ require('./index-39beccb3.js');
35
35
  require('./index-da796b8c.js');
36
- require('./main-99536bdc.js');
36
+ require('./main-03ffa84c.js');
37
37
  require('./entities-310b46ee.js');
38
38
  require('./stringify-7c5aff47.js');
39
39
  require('./slicedToArray-8f385299.js');
@@ -42,10 +42,10 @@ require('./_set-species-f92c67c5.js');
42
42
  var Segment = require('./Segment.js');
43
43
  var Beam = require('./Beam.js');
44
44
  var AdSlot = require('./AdSlot.js');
45
- require('./ADInfeed-f60d8625.js');
45
+ require('./ADInfeed-38066a36.js');
46
46
  var DeckContent = require('./DeckContent.js');
47
- require('./lodash-fc2922d0.js');
48
- require('./ADlgInfeed-a08f8a4b.js');
47
+ require('./lodash-7fd85bcf.js');
48
+ require('./ADlgInfeed-d95c9027.js');
49
49
  require('./getContentCategory-f38a4c00.js');
50
50
  require('./get-68c52cb1.js');
51
51
  var AD = require('./AD.js');
@@ -54,7 +54,7 @@ var GridContent = require('./GridContent.js');
54
54
  var DeckQueue = require('./DeckQueue.js');
55
55
  require('react-bootstrap/Media');
56
56
  var ThumbnailCard = require('./ThumbnailCard.js');
57
- require('./BlockContent-88f69acd.js');
57
+ require('./BlockContent-80b15fac.js');
58
58
  require('./react-social-icons-f7f48f71.js');
59
59
  var TaxonomyCard = require('./TaxonomyCard.js');
60
60
  var RolesDeck = require('./RolesDeck.js');
@@ -80,10 +80,10 @@ require('./defineProperty-55548b25.js');
80
80
  var EventsDeck = require('./EventsDeck.js');
81
81
  require('react-bootstrap/Spinner');
82
82
  require('react-bootstrap/Form');
83
- require('./index-5be2866f.js');
83
+ require('./index-3294d3bc.js');
84
84
  require('./js.cookie-a511c430.js');
85
85
  var CMEDeck = require('./CMEDeck.js');
86
- var getSerializers = require('./index-ec02006c.js');
86
+ var getSerializers = require('./index-58dae365.js');
87
87
  require('./util-f2c1b65b.js');
88
88
  require('./brightcove-react-player-loader.es-156bd4d6.js');
89
89
  require('react-bootstrap/Pagination');
@@ -115,7 +115,7 @@ require('./NavFooter-76c913e3.js');
115
115
  require('./index.esm-4d410430.js');
116
116
  var SocialIcons = require('./SocialIcons.js');
117
117
  require('react-bootstrap/FormControl');
118
- require('./SocialSearchComponent-75c51b47.js');
118
+ require('./SocialSearchComponent-56d49a1a.js');
119
119
  var NavMagazine = require('./NavMagazine.js');
120
120
  var NavNative = require('./NavNative.js');
121
121
  var Search = require('./Search.js');
@@ -162,9 +162,9 @@ var ConferenceArticleCard = require('./ConferenceArticleCard.js');
162
162
  var KMTracker = require('./KMTracker.js');
163
163
  var getSeriesDetail = require('./getSeriesDetail.js');
164
164
  var SetCookie = require('./SetCookie.js');
165
- require('./index-bd6c9f56.js');
166
- var getRelatedArticle = require('./getRelatedArticle.js');
165
+ require('nookies');
167
166
  var getQuery = require('./getQuery.js');
167
+ var getRelatedArticle = require('./getRelatedArticle.js');
168
168
  var Auth = require('./Auth.js');
169
169
  require('swr');
170
170
  require('passport-local');
@@ -255,8 +255,8 @@ exports.ConferenceArticleCard = ConferenceArticleCard;
255
255
  exports.KMTracker = KMTracker;
256
256
  exports.getSeriesDetail = getSeriesDetail;
257
257
  exports.SetCookie = SetCookie;
258
- exports.getRelatedArticle = getRelatedArticle;
259
258
  exports.getQuery = getQuery;
259
+ exports.getRelatedArticle = getRelatedArticle;
260
260
  exports.Auth = Auth.default;
261
261
  exports.getTargeting = getTargeting.getTargeting;
262
262
  exports.View = View;
@@ -9,7 +9,7 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
9
9
  var undefined$1;
10
10
 
11
11
  /** Used as the semantic version number. */
12
- var VERSION = '4.17.15';
12
+ var VERSION = '4.17.20';
13
13
 
14
14
  /** Used as the size to enable large array optimizations. */
15
15
  var LARGE_ARRAY_SIZE = 200;
@@ -3716,8 +3716,21 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3716
3716
  * @returns {Array} Returns the new sorted array.
3717
3717
  */
3718
3718
  function baseOrderBy(collection, iteratees, orders) {
3719
+ if (iteratees.length) {
3720
+ iteratees = arrayMap(iteratees, function(iteratee) {
3721
+ if (isArray(iteratee)) {
3722
+ return function(value) {
3723
+ return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
3724
+ }
3725
+ }
3726
+ return iteratee;
3727
+ });
3728
+ } else {
3729
+ iteratees = [identity];
3730
+ }
3731
+
3719
3732
  var index = -1;
3720
- iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));
3733
+ iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
3721
3734
 
3722
3735
  var result = baseMap(collection, function(value, key, collection) {
3723
3736
  var criteria = arrayMap(iteratees, function(iteratee) {
@@ -3974,6 +3987,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3974
3987
  var key = toKey(path[index]),
3975
3988
  newValue = value;
3976
3989
 
3990
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
3991
+ return object;
3992
+ }
3993
+
3977
3994
  if (index != lastIndex) {
3978
3995
  var objValue = nested[key];
3979
3996
  newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
@@ -4126,11 +4143,14 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
4126
4143
  * into `array`.
4127
4144
  */
4128
4145
  function baseSortedIndexBy(array, value, iteratee, retHighest) {
4129
- value = iteratee(value);
4130
-
4131
4146
  var low = 0,
4132
- high = array == null ? 0 : array.length,
4133
- valIsNaN = value !== value,
4147
+ high = array == null ? 0 : array.length;
4148
+ if (high === 0) {
4149
+ return 0;
4150
+ }
4151
+
4152
+ value = iteratee(value);
4153
+ var valIsNaN = value !== value,
4134
4154
  valIsNull = value === null,
4135
4155
  valIsSymbol = isSymbol(value),
4136
4156
  valIsUndefined = value === undefined$1;
@@ -5615,10 +5635,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
5615
5635
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
5616
5636
  return false;
5617
5637
  }
5618
- // Assume cyclic values are equal.
5619
- var stacked = stack.get(array);
5620
- if (stacked && stack.get(other)) {
5621
- return stacked == other;
5638
+ // Check that cyclic values are equal.
5639
+ var arrStacked = stack.get(array);
5640
+ var othStacked = stack.get(other);
5641
+ if (arrStacked && othStacked) {
5642
+ return arrStacked == other && othStacked == array;
5622
5643
  }
5623
5644
  var index = -1,
5624
5645
  result = true,
@@ -5780,10 +5801,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
5780
5801
  return false;
5781
5802
  }
5782
5803
  }
5783
- // Assume cyclic values are equal.
5784
- var stacked = stack.get(object);
5785
- if (stacked && stack.get(other)) {
5786
- return stacked == other;
5804
+ // Check that cyclic values are equal.
5805
+ var objStacked = stack.get(object);
5806
+ var othStacked = stack.get(other);
5807
+ if (objStacked && othStacked) {
5808
+ return objStacked == other && othStacked == object;
5787
5809
  }
5788
5810
  var result = true;
5789
5811
  stack.set(object, other);
@@ -9164,6 +9186,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
9164
9186
  * // The `_.property` iteratee shorthand.
9165
9187
  * _.filter(users, 'active');
9166
9188
  * // => objects for ['barney']
9189
+ *
9190
+ * // Combining several predicates using `_.overEvery` or `_.overSome`.
9191
+ * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
9192
+ * // => objects for ['fred', 'barney']
9167
9193
  */
9168
9194
  function filter(collection, predicate) {
9169
9195
  var func = isArray(collection) ? arrayFilter : baseFilter;
@@ -9913,15 +9939,15 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
9913
9939
  * var users = [
9914
9940
  * { 'user': 'fred', 'age': 48 },
9915
9941
  * { 'user': 'barney', 'age': 36 },
9916
- * { 'user': 'fred', 'age': 40 },
9942
+ * { 'user': 'fred', 'age': 30 },
9917
9943
  * { 'user': 'barney', 'age': 34 }
9918
9944
  * ];
9919
9945
  *
9920
9946
  * _.sortBy(users, [function(o) { return o.user; }]);
9921
- * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
9947
+ * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
9922
9948
  *
9923
9949
  * _.sortBy(users, ['user', 'age']);
9924
- * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]
9950
+ * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
9925
9951
  */
9926
9952
  var sortBy = baseRest(function(collection, iteratees) {
9927
9953
  if (collection == null) {
@@ -14796,11 +14822,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
14796
14822
 
14797
14823
  // Use a sourceURL for easier debugging.
14798
14824
  // The sourceURL gets injected into the source that's eval-ed, so be careful
14799
- // with lookup (in case of e.g. prototype pollution), and strip newlines if any.
14800
- // A newline wouldn't be a valid sourceURL anyway, and it'd enable code injection.
14825
+ // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
14826
+ // and escape the comment, thus injecting code that gets evaled.
14801
14827
  var sourceURL = '//# sourceURL=' +
14802
14828
  (hasOwnProperty.call(options, 'sourceURL')
14803
- ? (options.sourceURL + '').replace(/[\r\n]/g, ' ')
14829
+ ? (options.sourceURL + '').replace(/\s/g, ' ')
14804
14830
  : ('lodash.templateSources[' + (++templateCounter) + ']')
14805
14831
  ) + '\n';
14806
14832
 
@@ -14833,8 +14859,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
14833
14859
 
14834
14860
  // If `variable` is not specified wrap a with-statement around the generated
14835
14861
  // code to add the data object to the top of the scope chain.
14836
- // Like with sourceURL, we take care to not check the option's prototype,
14837
- // as this configuration is a code injection vector.
14838
14862
  var variable = hasOwnProperty.call(options, 'variable') && options.variable;
14839
14863
  if (!variable) {
14840
14864
  source = 'with (obj) {\n' + source + '\n}\n';
@@ -15541,6 +15565,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15541
15565
  * values against any array or object value, respectively. See `_.isEqual`
15542
15566
  * for a list of supported value comparisons.
15543
15567
  *
15568
+ * **Note:** Multiple values can be checked by combining several matchers
15569
+ * using `_.overSome`
15570
+ *
15544
15571
  * @static
15545
15572
  * @memberOf _
15546
15573
  * @since 3.0.0
@@ -15556,6 +15583,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15556
15583
  *
15557
15584
  * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
15558
15585
  * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
15586
+ *
15587
+ * // Checking for several possible values
15588
+ * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
15589
+ * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15559
15590
  */
15560
15591
  function matches(source) {
15561
15592
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
@@ -15570,6 +15601,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15570
15601
  * `srcValue` values against any array or object value, respectively. See
15571
15602
  * `_.isEqual` for a list of supported value comparisons.
15572
15603
  *
15604
+ * **Note:** Multiple values can be checked by combining several matchers
15605
+ * using `_.overSome`
15606
+ *
15573
15607
  * @static
15574
15608
  * @memberOf _
15575
15609
  * @since 3.2.0
@@ -15586,6 +15620,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15586
15620
  *
15587
15621
  * _.find(objects, _.matchesProperty('a', 4));
15588
15622
  * // => { 'a': 4, 'b': 5, 'c': 6 }
15623
+ *
15624
+ * // Checking for several possible values
15625
+ * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
15626
+ * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15589
15627
  */
15590
15628
  function matchesProperty(path, srcValue) {
15591
15629
  return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
@@ -15809,6 +15847,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15809
15847
  * Creates a function that checks if **all** of the `predicates` return
15810
15848
  * truthy when invoked with the arguments it receives.
15811
15849
  *
15850
+ * Following shorthands are possible for providing predicates.
15851
+ * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15852
+ * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15853
+ *
15812
15854
  * @static
15813
15855
  * @memberOf _
15814
15856
  * @since 4.0.0
@@ -15835,6 +15877,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15835
15877
  * Creates a function that checks if **any** of the `predicates` return
15836
15878
  * truthy when invoked with the arguments it receives.
15837
15879
  *
15880
+ * Following shorthands are possible for providing predicates.
15881
+ * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15882
+ * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15883
+ *
15838
15884
  * @static
15839
15885
  * @memberOf _
15840
15886
  * @since 4.0.0
@@ -15854,6 +15900,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15854
15900
  *
15855
15901
  * func(NaN);
15856
15902
  * // => false
15903
+ *
15904
+ * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
15905
+ * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
15857
15906
  */
15858
15907
  var overSome = createOver(arraySome);
15859
15908