@mjhls/mjh-framework 1.0.529 → 1.0.531

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +7 -8
  4. package/dist/cjs/AD300x250x600.js +7 -8
  5. package/dist/cjs/AD728x90.js +10 -11
  6. package/dist/cjs/ADFloatingFooter.js +11 -12
  7. package/dist/cjs/ADFooter.js +8 -9
  8. package/dist/cjs/ADGutter.js +11 -12
  9. package/dist/cjs/{ADInfeed-393c6084.js → ADInfeed-d8e47444.js} +9 -11
  10. package/dist/cjs/ADSponsoredResources.js +10 -11
  11. package/dist/cjs/ADWebcast.js +10 -11
  12. package/dist/cjs/ADWelcome.js +15 -16
  13. package/dist/cjs/{ADlgInfeed-dd4e103e.js → ADlgInfeed-947c3a47.js} +6 -7
  14. package/dist/cjs/AccordionPanel.js +22 -24
  15. package/dist/cjs/AdSlot.js +13 -15
  16. package/dist/cjs/AdSlotsProvider.js +5 -6
  17. package/dist/cjs/AlphabeticList.js +15 -16
  18. package/dist/cjs/ArticleQueue.js +114 -117
  19. package/dist/cjs/Auth.js +344 -232
  20. package/dist/cjs/{AuthorComponent-5bb8f868.js → AuthorComponent-cb8b8128.js} +12 -13
  21. package/dist/cjs/{BlockContent-8b494587.js → BlockContent-77f81ffc.js} +24 -26
  22. package/dist/cjs/Breadcrumbs.js +21 -23
  23. package/dist/cjs/CMEDeck.js +61 -61
  24. package/dist/cjs/Column1.js +11 -14
  25. package/dist/cjs/Column2.js +19 -22
  26. package/dist/cjs/Column3.js +32 -35
  27. package/dist/cjs/ConferenceArticleCard.js +18 -19
  28. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  29. package/dist/cjs/DeckContent.js +73 -77
  30. package/dist/cjs/DeckQueue.js +69 -73
  31. package/dist/cjs/{Dfp-a06d722a.js → Dfp-fcdeabc4.js} +20 -22
  32. package/dist/cjs/EventsDeck.js +89 -96
  33. package/dist/cjs/ExternalResources.js +42 -43
  34. package/dist/cjs/Feature.js +24 -26
  35. package/dist/cjs/{Figure-85d19c5f.js → Figure-eeac313a.js} +20 -21
  36. package/dist/cjs/ForbesHero.js +33 -34
  37. package/dist/cjs/GridContent.js +145 -149
  38. package/dist/cjs/GridHero.js +34 -35
  39. package/dist/cjs/GroupDeck.js +33 -34
  40. package/dist/cjs/HamMagazine.js +104 -109
  41. package/dist/cjs/Header.js +11 -13
  42. package/dist/cjs/Hero.js +10 -11
  43. package/dist/cjs/HighlightenVideo.js +16 -17
  44. package/dist/cjs/HorizontalHero.js +24 -25
  45. package/dist/cjs/{InscreenSensor-1f9f7db4.js → InscreenSensor-3aec8492.js} +7 -8
  46. package/dist/cjs/IssueContentDeck.js +64 -69
  47. package/dist/cjs/IssueDeck.js +60 -65
  48. package/dist/cjs/IssueLanding.js +18 -19
  49. package/dist/cjs/LeftNav.js +20 -22
  50. package/dist/cjs/MasterDeck.js +52 -53
  51. package/dist/cjs/NavDvm.js +63 -68
  52. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  53. package/dist/cjs/NavMagazine.js +107 -112
  54. package/dist/cjs/NavNative.js +66 -71
  55. package/dist/cjs/NavNormal.js +36 -41
  56. package/dist/cjs/OncliveHero.js +18 -18
  57. package/dist/cjs/OncliveLargeHero.js +58 -59
  58. package/dist/cjs/PageFilter.js +8 -9
  59. package/dist/cjs/PartnerDetailListing.js +130 -132
  60. package/dist/cjs/PdfDownload.js +8 -9
  61. package/dist/cjs/PopUpModal.js +13 -15
  62. package/dist/cjs/PublicationDeck.js +59 -64
  63. package/dist/cjs/PublicationLanding.js +44 -48
  64. package/dist/cjs/QueueDeckExpanded.js +187 -187
  65. package/dist/cjs/RelatedContent.js +18 -19
  66. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  67. package/dist/cjs/RolesDeck.js +27 -32
  68. package/dist/cjs/Search.js +12 -16
  69. package/dist/cjs/SideFooter.js +17 -18
  70. package/dist/cjs/{SocialNavFooter-d9ab4d17.js → SocialNavFooter-9a07520f.js} +17 -18
  71. package/dist/cjs/SocialShare.js +29 -31
  72. package/dist/cjs/TaxonomyCard.js +54 -59
  73. package/dist/cjs/TemplateNormal.js +34 -35
  74. package/dist/cjs/ThumbnailCard.js +17 -19
  75. package/dist/cjs/Ustream.js +20 -21
  76. package/dist/cjs/VerticalHero.js +16 -17
  77. package/dist/cjs/VideoSeriesFilter.js +10 -10
  78. package/dist/cjs/VideoSeriesListing.js +38 -39
  79. package/dist/cjs/View.js +165 -170
  80. package/dist/cjs/YahooHero.js +29 -30
  81. package/dist/cjs/YoutubeGroup.js +42 -43
  82. package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
  83. package/dist/cjs/getQuery.js +1 -1
  84. package/dist/cjs/getRelatedArticle.js +6 -355
  85. package/dist/cjs/getSerializers.js +647 -668
  86. package/dist/cjs/{getTargeting-86e68d62.js → getTargeting-3d208b98.js} +2 -2
  87. package/dist/cjs/getTargeting.js +1 -1
  88. package/dist/cjs/iconBase-637d3f1e.js +3 -0
  89. package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
  90. package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
  91. package/dist/cjs/{index-8a3fb0bc.js → index-fa0fb52c.js} +10 -13
  92. package/dist/cjs/{index-44481153.js → index-fa3cec70.js} +14 -14
  93. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  94. package/dist/cjs/{index.esm-2ea63d18.js → index.esm-25423c2f.js} +6 -3
  95. package/dist/cjs/{index.esm-c8d2c195.js → index.esm-c0d8b44b.js} +9 -4
  96. package/dist/cjs/{index.esm-d7e04264.js → index.esm-fcdbd2c6.js} +15 -6
  97. package/dist/cjs/index.js +32 -32
  98. package/dist/cjs/{inherits-4a2f1cc3.js → inherits-14962339.js} +4 -4
  99. package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
  100. package/dist/cjs/{main-c50facd7.js → main-88348b15.js} +53 -89
  101. package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
  102. package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-cd0d9d3b.js} +11 -13
  103. package/dist/cjs/{typeof-583cdc4b.js → typeof-1869832c.js} +1 -1
  104. package/dist/cjs/urlFor.js +2 -2
  105. package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
  106. package/dist/esm/AD.js +7 -7
  107. package/dist/esm/AD300x250.js +5 -5
  108. package/dist/esm/AD300x250x600.js +5 -5
  109. package/dist/esm/AD728x90.js +8 -8
  110. package/dist/esm/ADFloatingFooter.js +9 -9
  111. package/dist/esm/ADFooter.js +6 -6
  112. package/dist/esm/ADGutter.js +9 -9
  113. package/dist/esm/{ADInfeed-1dd2344b.js → ADInfeed-2eb234ae.js} +5 -5
  114. package/dist/esm/ADSponsoredResources.js +8 -8
  115. package/dist/esm/ADWebcast.js +8 -8
  116. package/dist/esm/ADWelcome.js +13 -13
  117. package/dist/esm/{ADlgInfeed-cecd5e76.js → ADlgInfeed-17c13711.js} +4 -4
  118. package/dist/esm/AccordionPanel.js +17 -17
  119. package/dist/esm/AdSlot.js +5 -5
  120. package/dist/esm/AdSlotsProvider.js +3 -3
  121. package/dist/esm/AlphabeticList.js +13 -13
  122. package/dist/esm/ArticleQueue.js +100 -100
  123. package/dist/esm/Auth.js +326 -210
  124. package/dist/esm/{AuthorComponent-f67cb027.js → AuthorComponent-158226c9.js} +10 -10
  125. package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
  126. package/dist/esm/Breadcrumbs.js +11 -11
  127. package/dist/esm/CMEDeck.js +58 -58
  128. package/dist/esm/Column1.js +5 -5
  129. package/dist/esm/Column2.js +12 -12
  130. package/dist/esm/Column3.js +24 -24
  131. package/dist/esm/ConferenceArticleCard.js +14 -14
  132. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  133. package/dist/esm/DeckContent.js +54 -54
  134. package/dist/esm/DeckQueue.js +47 -47
  135. package/dist/esm/{Dfp-0557840a.js → Dfp-81a052c2.js} +10 -10
  136. package/dist/esm/EventsDeck.js +47 -47
  137. package/dist/esm/ExternalResources.js +36 -36
  138. package/dist/esm/Feature.js +17 -17
  139. package/dist/esm/{Figure-0b6d360c.js → Figure-bc2b95d7.js} +17 -17
  140. package/dist/esm/ForbesHero.js +28 -28
  141. package/dist/esm/GridContent.js +107 -107
  142. package/dist/esm/GridHero.js +29 -29
  143. package/dist/esm/GroupDeck.js +30 -30
  144. package/dist/esm/HamMagazine.js +77 -77
  145. package/dist/esm/Header.js +7 -7
  146. package/dist/esm/Hero.js +7 -7
  147. package/dist/esm/HighlightenVideo.js +14 -14
  148. package/dist/esm/HorizontalHero.js +21 -21
  149. package/dist/esm/{InscreenSensor-3e1fe82a.js → InscreenSensor-280b2b10.js} +5 -5
  150. package/dist/esm/IssueContentDeck.js +40 -40
  151. package/dist/esm/IssueDeck.js +34 -34
  152. package/dist/esm/IssueLanding.js +16 -16
  153. package/dist/esm/LeftNav.js +16 -16
  154. package/dist/esm/MasterDeck.js +46 -46
  155. package/dist/esm/NavDvm.js +43 -43
  156. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  157. package/dist/esm/NavMagazine.js +82 -82
  158. package/dist/esm/NavNative.js +48 -48
  159. package/dist/esm/NavNormal.js +21 -21
  160. package/dist/esm/OncliveHero.js +15 -14
  161. package/dist/esm/OncliveLargeHero.js +52 -52
  162. package/dist/esm/PageFilter.js +6 -6
  163. package/dist/esm/PartnerDetailListing.js +69 -69
  164. package/dist/esm/PdfDownload.js +6 -6
  165. package/dist/esm/PopUpModal.js +8 -8
  166. package/dist/esm/PublicationDeck.js +35 -35
  167. package/dist/esm/PublicationLanding.js +25 -25
  168. package/dist/esm/QueueDeckExpanded.js +168 -168
  169. package/dist/esm/RelatedContent.js +15 -15
  170. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  171. package/dist/esm/RolesDeck.js +13 -13
  172. package/dist/esm/Search.js +5 -5
  173. package/dist/esm/SideFooter.js +15 -15
  174. package/dist/esm/{SocialNavFooter-1a531144.js → SocialNavFooter-4fb16720.js} +15 -15
  175. package/dist/esm/SocialShare.js +25 -25
  176. package/dist/esm/TaxonomyCard.js +36 -36
  177. package/dist/esm/TemplateNormal.js +28 -28
  178. package/dist/esm/ThumbnailCard.js +10 -10
  179. package/dist/esm/Ustream.js +18 -18
  180. package/dist/esm/VerticalHero.js +13 -13
  181. package/dist/esm/VideoSeriesFilter.js +7 -7
  182. package/dist/esm/VideoSeriesListing.js +33 -33
  183. package/dist/esm/View.js +135 -135
  184. package/dist/esm/YahooHero.js +25 -25
  185. package/dist/esm/YoutubeGroup.js +33 -33
  186. package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  187. package/dist/esm/getQuery.js +1 -1
  188. package/dist/esm/getRelatedArticle.js +6 -355
  189. package/dist/esm/getSerializers.js +609 -625
  190. package/dist/esm/{index-1819118a.js → index-3f4dd6f2.js} +9 -7
  191. package/dist/esm/{index-c5fd0af5.js → index-5f9f807a.js} +4 -4
  192. package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
  193. package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
  194. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  195. package/dist/esm/{index.esm-d3249151.js → index.esm-9d6faf80.js} +9 -4
  196. package/dist/esm/{index.esm-be9486fc.js → index.esm-a7ad65ba.js} +6 -3
  197. package/dist/esm/{index.esm-4b1810e3.js → index.esm-b97cf389.js} +15 -6
  198. package/dist/esm/index.js +26 -26
  199. package/dist/esm/{inherits-2758cc14.js → inherits-b8e4c697.js} +1 -1
  200. package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
  201. package/dist/esm/{main-b722e2e2.js → main-d7ee6151.js} +52 -87
  202. package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
  203. package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
  204. package/dist/esm/{typeof-7e72fee0.js → typeof-5f046efd.js} +1 -1
  205. package/dist/esm/urlFor.js +1 -1
  206. package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
  207. package/package.json +1 -1
  208. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  209. package/dist/cjs/index-bd6c9f56.js +0 -211
  210. package/dist/esm/index-db3bb315.js +0 -207
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import React from 'react';
2
+ import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
 
5
5
  var domain;
@@ -821,13 +821,15 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
821
821
  });
822
822
 
823
823
  if (_this5.lazyLoadIsEnabled()) {
824
+ var args = [];
825
+
824
826
  var config = _this5.getLazyLoadConfig();
825
827
 
826
- if (config) {
827
- pubadsService.enableLazyLoad(config);
828
- } else {
829
- pubadsService.enableLazyLoad();
828
+ if (config !== null) {
829
+ args.push(config);
830
830
  }
831
+
832
+ pubadsService.enableLazyLoad.call(args);
831
833
  }
832
834
 
833
835
  if (_this5.singleRequestIsEnabled()) {
@@ -1027,7 +1029,7 @@ Object.defineProperty(exports, "__esModule", {
1027
1029
  });
1028
1030
  exports.default = exports.Context = void 0;
1029
1031
 
1030
- var _react = _interopRequireDefault(React);
1032
+ var _react = _interopRequireDefault(React__default);
1031
1033
 
1032
1034
  var _propTypes = _interopRequireDefault(PropTypes);
1033
1035
 
@@ -1335,7 +1337,7 @@ Object.defineProperty(exports, "__esModule", {
1335
1337
  });
1336
1338
  exports.default = exports.AdSlot = void 0;
1337
1339
 
1338
- var _react = _interopRequireDefault(React);
1340
+ var _react = _interopRequireDefault(React__default);
1339
1341
 
1340
1342
  var _propTypes = _interopRequireDefault(PropTypes);
1341
1343
 
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import React from 'react';
2
+ import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import reactDom from 'react-dom';
5
5
 
@@ -179,7 +179,7 @@ var _createClass = function () { function defineProperties(target, props) { for
179
179
 
180
180
 
181
181
 
182
- var _react2 = _interopRequireDefault(React);
182
+ var _react2 = _interopRequireDefault(React__default);
183
183
 
184
184
 
185
185
 
@@ -530,7 +530,7 @@ var LazyLoad = function (_Component) {
530
530
  }]);
531
531
 
532
532
  return LazyLoad;
533
- }(React.Component);
533
+ }(React__default.Component);
534
534
 
535
535
  LazyLoad.propTypes = {
536
536
  once: _propTypes2.default.bool,
@@ -587,7 +587,7 @@ var decorator = function decorator() {
587
587
  }]);
588
588
 
589
589
  return LazyLoadDecorated;
590
- }(React.Component);
590
+ }(React__default.Component);
591
591
  };
592
592
  };
593
593
 
@@ -58,35 +58,35 @@ function parseSource(source) {
58
58
  if (typeof source === 'string' && isUrl(source)) {
59
59
  // Someone passed an existing image url?
60
60
  image = {
61
- asset: { _ref: urlToId(source) },
61
+ asset: { _ref: urlToId(source) }
62
62
  };
63
63
  }
64
64
  else if (typeof source === 'string') {
65
65
  // Just an asset id
66
66
  image = {
67
- asset: { _ref: source },
67
+ asset: { _ref: source }
68
68
  };
69
69
  }
70
70
  else if (isRef(source)) {
71
71
  // We just got passed an asset directly
72
72
  image = {
73
- asset: source,
73
+ asset: source
74
74
  };
75
75
  }
76
76
  else if (isAsset(source)) {
77
77
  // If we were passed an image asset document
78
78
  image = {
79
79
  asset: {
80
- _ref: source._id || '',
81
- },
80
+ _ref: source._id || ''
81
+ }
82
82
  };
83
83
  }
84
84
  else if (isAssetStub(source)) {
85
85
  // If we were passed a partial asset (`url`, but no `_id`)
86
86
  image = {
87
87
  asset: {
88
- _ref: urlToId(source.asset.url),
89
- },
88
+ _ref: urlToId(source.asset.url)
89
+ }
90
90
  };
91
91
  }
92
92
  else if (typeof source.asset === 'object') {
@@ -127,7 +127,7 @@ function applyDefaults(image) {
127
127
  left: 0,
128
128
  top: 0,
129
129
  bottom: 0,
130
- right: 0,
130
+ right: 0
131
131
  };
132
132
  }
133
133
  if (!result.hotspot) {
@@ -135,7 +135,7 @@ function applyDefaults(image) {
135
135
  x: 0.5,
136
136
  y: 0.5,
137
137
  height: 1.0,
138
- width: 1.0,
138
+ width: 1.0
139
139
  };
140
140
  }
141
141
  return result;
@@ -182,7 +182,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
182
182
  ['crop', 'crop'],
183
183
  ['saturation', 'sat'],
184
184
  ['auto', 'auto'],
185
- ['dpr', 'dpr'],
185
+ ['dpr', 'dpr']
186
186
  ];
187
187
  function urlForImage(options) {
188
188
  var spec = __assign({}, (options || {}));
@@ -201,7 +201,7 @@ function urlForImage(options) {
201
201
  left: cropLeft,
202
202
  top: cropTop,
203
203
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
204
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
204
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
205
205
  };
206
206
  // Compute hot spot rect in terms of pixel coordinates
207
207
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -212,7 +212,7 @@ function urlForImage(options) {
212
212
  left: hotSpotCenterX - hotSpotHorizontalRadius,
213
213
  top: hotSpotCenterY - hotSpotVerticalRadius,
214
214
  right: hotSpotCenterX + hotSpotHorizontalRadius,
215
- bottom: hotSpotCenterY + hotSpotVerticalRadius,
215
+ bottom: hotSpotCenterY + hotSpotVerticalRadius
216
216
  };
217
217
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
218
218
  // the crop/hotspot.
@@ -294,7 +294,7 @@ function fit(source, spec) {
294
294
  left: Math.round(left),
295
295
  top: Math.round(top_2),
296
296
  width: Math.round(width),
297
- height: Math.round(height),
297
+ height: Math.round(height)
298
298
  };
299
299
  }
300
300
  else {
@@ -316,13 +316,13 @@ function fit(source, spec) {
316
316
  left: Math.max(0, Math.floor(left)),
317
317
  top: Math.max(0, Math.floor(top_3)),
318
318
  width: Math.round(width),
319
- height: Math.round(height),
319
+ height: Math.round(height)
320
320
  };
321
321
  }
322
322
  return {
323
323
  width: imgWidth,
324
324
  height: imgHeight,
325
- rect: cropRect,
325
+ rect: cropRect
326
326
  };
327
327
  }
328
328
 
@@ -375,12 +375,11 @@ function urlBuilder(options) {
375
375
  var client = options;
376
376
  if (isSanityClient(client)) {
377
377
  // Inherit config from client
378
- var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
379
- var apiHost = apiUrl || 'https://api.sanity.io';
378
+ var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
380
379
  return new ImageUrlBuilder(null, {
381
380
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
382
381
  projectId: projectId,
383
- dataset: dataset,
382
+ dataset: dataset
384
383
  });
385
384
  }
386
385
  // Or just accept the options as given
@@ -393,7 +392,7 @@ var ImageUrlBuilder = /** @class */ (function () {
393
392
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
394
393
  }
395
394
  ImageUrlBuilder.prototype.withOptions = function (options) {
396
- var baseUrl = options.baseUrl || this.options.baseUrl;
395
+ var baseUrl = options.baseUrl || '';
397
396
  var newOptions = { baseUrl: baseUrl };
398
397
  for (var key in options) {
399
398
  if (options.hasOwnProperty(key)) {
@@ -521,7 +520,7 @@ var ImageUrlBuilder = /** @class */ (function () {
521
520
  ImageUrlBuilder.prototype.url = function () {
522
521
  return urlForImage_1$1.default(this.options);
523
522
  };
524
- // Alias for url()
523
+ // Synonym for url()
525
524
  ImageUrlBuilder.prototype.toString = function () {
526
525
  return this.url();
527
526
  };
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, a as commonjsGlobal, g as getCjsExportFromNamespace } from './_commonjsHelpers-0c4b6f40.js';
2
- import { m as moment } from './moment-b6f49411.js';
2
+ import { m as moment } from './moment-e2f9b20c.js';
3
3
 
4
4
  var momentTimezone = createCommonjsModule(function (module) {
5
5
  //! moment-timezone.js
@@ -1,4 +1,4 @@
1
- import React, { Component } from 'react';
1
+ import React__default, { Component } from 'react';
2
2
 
3
3
  /*! *****************************************************************************
4
4
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -263,9 +263,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
263
263
  _this.dragging = false;
264
264
  if (_this.state.pullToRefreshThresholdBreached) {
265
265
  _this.props.refreshFunction && _this.props.refreshFunction();
266
- _this.setState({
267
- pullToRefreshThresholdBreached: false,
268
- });
269
266
  }
270
267
  requestAnimationFrame(function () {
271
268
  // this._infScroll
@@ -291,9 +288,7 @@ var InfiniteScroll = /** @class */ (function (_super) {
291
288
  // prevents multiple triggers.
292
289
  if (_this.actionTriggered)
293
290
  return;
294
- var atBottom = _this.props.inverse
295
- ? _this.isElementAtTop(target, _this.props.scrollThreshold)
296
- : _this.isElementAtBottom(target, _this.props.scrollThreshold);
291
+ var atBottom = _this.isElementAtBottom(target, _this.props.scrollThreshold);
297
292
  // call the `next` function in the props to trigger the next data fetch
298
293
  if (atBottom && _this.props.hasMore) {
299
294
  _this.actionTriggered = true;
@@ -366,30 +361,17 @@ var InfiniteScroll = /** @class */ (function (_super) {
366
361
  }
367
362
  };
368
363
  InfiniteScroll.prototype.UNSAFE_componentWillReceiveProps = function (props) {
369
- // do nothing when dataLength is unchanged
370
- if (this.props.dataLength === props.dataLength)
364
+ // do nothing when dataLength and key are unchanged
365
+ if (this.props.key === props.key &&
366
+ this.props.dataLength === props.dataLength)
371
367
  return;
372
368
  this.actionTriggered = false;
373
369
  // update state when new data was sent in
374
370
  this.setState({
375
371
  showLoader: false,
372
+ pullToRefreshThresholdBreached: false,
376
373
  });
377
374
  };
378
- InfiniteScroll.prototype.isElementAtTop = function (target, scrollThreshold) {
379
- if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
380
- var clientHeight = target === document.body || target === document.documentElement
381
- ? window.screen.availHeight
382
- : target.clientHeight;
383
- var threshold = parseThreshold(scrollThreshold);
384
- if (threshold.unit === ThresholdUnits.Pixel) {
385
- return (target.scrollTop <=
386
- threshold.value + clientHeight - target.scrollHeight + 1 ||
387
- target.scrollTop === 0);
388
- }
389
- return (target.scrollTop <=
390
- threshold.value / 100 + clientHeight - target.scrollHeight + 1 ||
391
- target.scrollTop === 0);
392
- };
393
375
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
394
376
  if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
395
377
  var clientHeight = target === document.body || target === document.documentElement
@@ -414,10 +396,10 @@ var InfiniteScroll = /** @class */ (function (_super) {
414
396
  var outerDivStyle = this.props.pullDownToRefresh && this.props.height
415
397
  ? { overflow: 'auto' }
416
398
  : {};
417
- return (React.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
418
- React.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
419
- this.props.pullDownToRefresh && (React.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
420
- React.createElement("div", { style: {
399
+ return (React__default.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
400
+ React__default.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
401
+ this.props.pullDownToRefresh && (React__default.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
402
+ React__default.createElement("div", { style: {
421
403
  position: 'absolute',
422
404
  left: 0,
423
405
  right: 0,
@@ -1,12 +1,17 @@
1
1
  import { G as GenIcon } from './iconBase-6ee2f2fb.js';
2
2
 
3
3
  // THIS FILE IS AUTO GENERATED
4
- function MdEmail (props) {
4
+ var MdEmail = function (props) {
5
5
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}}]})(props);
6
- }function MdMouse (props) {
6
+ };
7
+ MdEmail.displayName = "MdEmail";
8
+ var MdMouse = function (props) {
7
9
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z"}}]})(props);
8
- }function MdPictureAsPdf (props) {
10
+ };
11
+ MdMouse.displayName = "MdMouse";
12
+ var MdPictureAsPdf = function (props) {
9
13
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}}]})(props);
10
- }
14
+ };
15
+ MdPictureAsPdf.displayName = "MdPictureAsPdf";
11
16
 
12
17
  export { MdEmail as M, MdMouse as a, MdPictureAsPdf as b };
@@ -1,10 +1,13 @@
1
1
  import { G as GenIcon } from './iconBase-6ee2f2fb.js';
2
2
 
3
3
  // THIS FILE IS AUTO GENERATED
4
- function FaLongArrowAltRight (props) {
4
+ var FaLongArrowAltRight = function (props) {
5
5
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z"}}]})(props);
6
- }function FaRegWindowClose (props) {
6
+ };
7
+ FaLongArrowAltRight.displayName = "FaLongArrowAltRight";
8
+ var FaRegWindowClose = function (props) {
7
9
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v340zM356.5 194.6L295.1 256l61.4 61.4c4.6 4.6 4.6 12.1 0 16.8l-22.3 22.3c-4.6 4.6-12.1 4.6-16.8 0L256 295.1l-61.4 61.4c-4.6 4.6-12.1 4.6-16.8 0l-22.3-22.3c-4.6-4.6-4.6-12.1 0-16.8l61.4-61.4-61.4-61.4c-4.6-4.6-4.6-12.1 0-16.8l22.3-22.3c4.6-4.6 12.1-4.6 16.8 0l61.4 61.4 61.4-61.4c4.6-4.6 12.1-4.6 16.8 0l22.3 22.3c4.7 4.6 4.7 12.1 0 16.8z"}}]})(props);
8
- }
10
+ };
11
+ FaRegWindowClose.displayName = "FaRegWindowClose";
9
12
 
10
13
  export { FaRegWindowClose as F, FaLongArrowAltRight as a };
@@ -1,16 +1,25 @@
1
1
  import { G as GenIcon } from './iconBase-6ee2f2fb.js';
2
2
 
3
3
  // THIS FILE IS AUTO GENERATED
4
- function IoIosArrowForward (props) {
4
+ var IoIosArrowForward = function (props) {
5
5
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"}}]})(props);
6
- }function IoIosHome (props) {
6
+ };
7
+ IoIosArrowForward.displayName = "IoIosArrowForward";
8
+ var IoIosHome = function (props) {
7
9
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M258.5 104.1c-1.5-1.2-3.5-1.2-5 0l-156 124.8c-.9.8-1.5 1.9-1.5 3.1v230c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V322c0-1.1.9-2 2-2h92c1.1 0 2 .9 2 2v140c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V232c0-1.2-.6-2.4-1.5-3.1l-156-124.8z"}},{"tag":"path","attr":{"d":"M458.7 204.2l-189-151.4C265.9 49.7 261 48 256 48s-9.9 1.7-13.7 4.8L160 119.7V77.5c0-1.1-.9-2-2-2H98c-1.1 0-2 .9-2 2v92.2l-42.7 35.1c-3.1 2.5-5.1 6.2-5.3 10.2-.2 4 1.3 7.9 4.1 10.7 2.6 2.6 6.1 4.1 9.9 4.1 3.2 0 6.3-1.1 8.8-3.1l183.9-148c.5-.4.9-.4 1.3-.4s.8.1 1.3.4l183.9 147.4c2.5 2 5.6 3.1 8.8 3.1 3.7 0 7.2-1.4 9.9-4.1 2.9-2.8 4.4-6.7 4.2-10.7-.3-4-2.2-7.7-5.4-10.2z"}}]})(props);
8
- }function IoIosOpen (props) {
10
+ };
11
+ IoIosHome.displayName = "IoIosHome";
12
+ var IoIosOpen = function (props) {
9
13
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M227.8 300.2c-5.1-5.1-5.1-13.3 0-18.4l133.7-133.7c-5.3-2.6-11.2-4.1-17.5-4.1H88c-22 0-40 18-40 40v224c0 22 18 40 40 40h256c22 0 40-18 40-40V184c0-6.3-1.5-12.2-4.1-17.5L246.2 300.2c-5.1 5.1-13.3 5.1-18.4 0z"}},{"tag":"path","attr":{"d":"M459.5 68.5C457 66 453 64 449 64h-97c-7.2-.1-13.1 5.7-13.1 12.9-.1 7.2 5.7 13.1 12.9 13.1l67.3.5-57.6 57.6c8 3.9 14.5 10.4 18.4 18.4l57.6-57.6.5 67.3c.1 7.2 5.9 13 13.1 12.9 7.2-.1 13-5.9 12.9-13.1V78c0-3.5-2-7-4.5-9.5z"}}]})(props);
10
- }function IoMdArrowDropdown (props) {
14
+ };
15
+ IoIosOpen.displayName = "IoIosOpen";
16
+ var IoMdArrowDropdown = function (props) {
11
17
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M128 192l128 128 128-128z"}}]})(props);
12
- }function IoMdLogIn (props) {
18
+ };
19
+ IoMdArrowDropdown.displayName = "IoMdArrowDropdown";
20
+ var IoMdLogIn = function (props) {
13
21
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M256 48c-42.9 0-84.2 13-119.2 37.5-34.2 24-60.2 57.2-75.1 96.1L58 192h45.7l1.9-5c8.2-17.8 19.4-33.9 33.5-48 31.2-31.2 72.7-48.4 116.9-48.4s85.7 17.2 116.9 48.4c31.2 31.2 48.4 72.7 48.4 116.9 0 44.1-17.2 85.7-48.4 116.9-31.2 31.2-72.7 48.4-116.9 48.4-44.1 0-85.6-17.2-116.9-48.4-14-14-25.3-30.1-33.5-47.9l-1.9-5H58l3.6 10.4c14.9 38.9 40.9 72.1 75.1 96.1C171.8 451.1 213 464 256 464c114.7 0 208-93.3 208-208S370.7 48 256 48z"}},{"tag":"path","attr":{"d":"M48 277.4h189.7l-43.6 44.7L224 352l96-96-96-96-31 29.9 44.7 44.7H48v42.8z"}}]})(props);
14
- }
22
+ };
23
+ IoMdLogIn.displayName = "IoMdLogIn";
15
24
 
16
25
  export { IoIosArrowForward as I, IoMdArrowDropdown as a, IoMdLogIn as b, IoIosHome as c, IoIosOpen as d };
package/dist/esm/index.js CHANGED
@@ -8,27 +8,27 @@ import './toConsumableArray-8712d678.js';
8
8
  import './_object-pie-33c40e79.js';
9
9
  import './extends-6e00b262.js';
10
10
  import './_object-sap-56bb8073.js';
11
- import './inherits-2758cc14.js';
11
+ import './inherits-b8e4c697.js';
12
12
  import './web.dom.iterable-46c95e52.js';
13
- import './typeof-7e72fee0.js';
13
+ import './typeof-5f046efd.js';
14
14
  import './_is-array-dd5523d6.js';
15
15
  import 'react';
16
- import './index-1819118a.js';
16
+ import './index-3f4dd6f2.js';
17
17
  import 'prop-types';
18
18
  import 'react-bootstrap/Container';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
21
  import 'react-bootstrap/Card';
22
- import './moment-b6f49411.js';
22
+ import './moment-e2f9b20c.js';
23
23
  import 'next/router';
24
24
  import './isSymbol-b7b7434f.js';
25
25
  import './debounce-048d9cb6.js';
26
- import './index.es-c6222053.js';
26
+ import './index.es-29c1cef5.js';
27
27
  import 'react-dom';
28
- import './visibility-sensor-082c757b.js';
29
- import './index-51a80699.js';
30
- import './index-c5fd0af5.js';
31
- import './main-b722e2e2.js';
28
+ import './visibility-sensor-0baa4eea.js';
29
+ import './index-73819142.js';
30
+ import './index-5f9f807a.js';
31
+ import './main-d7ee6151.js';
32
32
  import './entities-7cc3bf45.js';
33
33
  import './slicedToArray-f1e40361.js';
34
34
  import './stringify-e30bc114.js';
@@ -36,20 +36,20 @@ import './asyncToGenerator-0379e924.js';
36
36
  import './_set-species-6f64f1c1.js';
37
37
  export { B as Beam, S as Segment } from './beam-a25bd8fd.js';
38
38
  export { default as AdSlot } from './AdSlot.js';
39
- import './ADInfeed-1dd2344b.js';
39
+ import './ADInfeed-2eb234ae.js';
40
40
  export { default as DeckContent } from './DeckContent.js';
41
- import './lodash-ec8c6b48.js';
42
- import './ADlgInfeed-cecd5e76.js';
41
+ import './lodash-17fdfebb.js';
42
+ import './ADlgInfeed-17c13711.js';
43
43
  import './_arrayMap-64cbe0e4.js';
44
44
  import './get-0eb56363.js';
45
45
  export { default as AD } from './AD.js';
46
- import './AuthorComponent-f67cb027.js';
46
+ import './AuthorComponent-158226c9.js';
47
47
  export { default as GridContent } from './GridContent.js';
48
48
  export { default as DeckQueue } from './DeckQueue.js';
49
49
  import 'react-bootstrap/Media';
50
50
  export { default as ThumbnailCard } from './ThumbnailCard.js';
51
- import './BlockContent-d05b5b23.js';
52
- import './react-social-icons-3822f1ce.js';
51
+ import './BlockContent-e9b4ddcf.js';
52
+ import './react-social-icons-a7d5c5c7.js';
53
53
  export { default as TaxonomyCard } from './TaxonomyCard.js';
54
54
  export { default as RolesDeck } from './RolesDeck.js';
55
55
  import './smoothscroll-4b699764.js';
@@ -58,7 +58,7 @@ export { default as YoutubeGroup } from './YoutubeGroup.js';
58
58
  import 'react-bootstrap';
59
59
  export { default as QueueDeckExpanded } from './QueueDeckExpanded.js';
60
60
  import './iconBase-6ee2f2fb.js';
61
- import './index.esm-4b1810e3.js';
61
+ import './index.esm-b97cf389.js';
62
62
  export { default as VideoSeriesListing } from './VideoSeriesListing.js';
63
63
  export { default as MasterDeck } from './MasterDeck.js';
64
64
  import 'react-bootstrap/Button';
@@ -67,19 +67,19 @@ export { default as IssueDeck } from './IssueDeck.js';
67
67
  import 'react-bootstrap/Badge';
68
68
  export { default as IssueContentDeck } from './IssueContentDeck.js';
69
69
  import 'react-bootstrap/Spinner';
70
- import './index-fa2ffe86.js';
70
+ import './index-ef6d5dcf.js';
71
71
  import './js.cookie-6874175c.js';
72
72
  export { default as EventsDeck } from './EventsDeck.js';
73
73
  export { default as CMEDeck } from './CMEDeck.js';
74
74
  export { default as getSerializers } from './getSerializers.js';
75
75
  import './util-7700fc59.js';
76
- import './brightcove-react-player-loader.es-4abff0b1.js';
76
+ import './brightcove-react-player-loader.es-83f53e4e.js';
77
77
  import 'react-bootstrap/Pagination';
78
78
  import 'next/dynamic';
79
79
  export { default as ExternalResources } from './ExternalResources.js';
80
80
  export { Column1 } from './Column1.js';
81
81
  export { default as SideFooter } from './SideFooter.js';
82
- import './ConferenceBanner-9162d0ca.js';
82
+ import './ConferenceBanner-8792ebd2.js';
83
83
  export { Column2 } from './Column2.js';
84
84
  export { default as ADSponsoredResources } from './ADSponsoredResources.js';
85
85
  import 'react-bootstrap/ListGroup';
@@ -98,12 +98,12 @@ export { default as VideoSeriesFilter } from './VideoSeriesFilter.js';
98
98
  import 'react-bootstrap/Nav';
99
99
  import 'react-bootstrap/Navbar';
100
100
  import 'react-bootstrap/NavDropdown';
101
- import './index.esm-d3249151.js';
101
+ import './index.esm-9d6faf80.js';
102
102
  import 'react-bootstrap/Form';
103
103
  import 'react-bootstrap/FormControl';
104
104
  export { default as Search } from './Search.js';
105
- import './NavFooter-c29526b7.js';
106
- import './SocialNavFooter-1a531144.js';
105
+ import './NavFooter-e27bd93b.js';
106
+ import './SocialNavFooter-4fb16720.js';
107
107
  export { default as NavMagazine } from './NavMagazine.js';
108
108
  export { NavNative } from './NavNative.js';
109
109
  export { NavNormal } from './NavNormal.js';
@@ -129,7 +129,7 @@ export { default as PdfDownload } from './PdfDownload.js';
129
129
  import 'react-bootstrap/DropdownButton';
130
130
  import 'react-bootstrap/Dropdown';
131
131
  export { default as RelatedTopicsDropdown } from './RelatedTopicsDropdown.js';
132
- import './index.esm-be9486fc.js';
132
+ import './index.esm-a7ad65ba.js';
133
133
  export { default as Ustream } from './Ustream.js';
134
134
  export { default as HighlightenVideo } from './HighlightenVideo.js';
135
135
  export { default as PublicationLanding } from './PublicationLanding.js';
@@ -137,7 +137,7 @@ export { default as IssueLanding } from './IssueLanding.js';
137
137
  import 'react-bootstrap/Modal';
138
138
  export { default as PopUpModal } from './PopUpModal.js';
139
139
  export { default as ArticleQueue } from './ArticleQueue.js';
140
- import './InscreenSensor-3e1fe82a.js';
140
+ import './InscreenSensor-280b2b10.js';
141
141
  export { default as getKeywords } from './getKeywords.js';
142
142
  export { default as RelatedContent } from './RelatedContent.js';
143
143
  export { default as ForbesHero } from './ForbesHero.js';
@@ -151,9 +151,9 @@ export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
151
151
  export { default as KMTracker } from './KMTracker.js';
152
152
  export { default as getSeriesDetail } from './getSeriesDetail.js';
153
153
  export { default as SetCookie } from './SetCookie.js';
154
- import './index-db3bb315.js';
155
- export { default as getRelatedArticle } from './getRelatedArticle.js';
154
+ import 'nookies';
156
155
  export { default as getQuery } from './getQuery.js';
156
+ export { default as getRelatedArticle } from './getRelatedArticle.js';
157
157
  export { default as Auth } from './Auth.js';
158
158
  import 'swr';
159
159
  import 'passport-local';
@@ -2,7 +2,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
2
2
  import { d as _toObject, l as _core, j as _export, c as _objectDp, b as _descriptors, a as _ctx, m as _anObject, _ as _isObject } from './_to-object-16fd8b46.js';
3
3
  import { e as _objectGpo, _ as _objectCreate } from './core.get-iterator-method-f5c0d66a.js';
4
4
  import { _ as _objectSap } from './_object-sap-56bb8073.js';
5
- import { a as _typeof_1, b as _objectGopd } from './typeof-7e72fee0.js';
5
+ import { a as _typeof_1, b as _objectGopd } from './typeof-5f046efd.js';
6
6
 
7
7
  // 19.1.2.9 Object.getPrototypeOf(O)
8
8