@mjhls/mjh-framework 1.0.1050-lightbox-v7 → 1.0.1050-pdfGating

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 (190) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -4
  4. package/dist/cjs/AD300x250x600.js +2 -4
  5. package/dist/cjs/AD728x90.js +2 -4
  6. package/dist/cjs/ADFloatingFooter.js +2 -4
  7. package/dist/cjs/ADGutter.js +2 -4
  8. package/dist/cjs/ADSkyscraper.js +2 -4
  9. package/dist/cjs/ADSponsoredResources.js +2 -4
  10. package/dist/cjs/ADWebcast.js +2 -4
  11. package/dist/cjs/ADWelcome.js +2 -4
  12. package/dist/cjs/AdSlot.js +2 -4
  13. package/dist/cjs/AdSlotsProvider.js +2 -4
  14. package/dist/cjs/AlgoliaSearch.js +337 -38
  15. package/dist/cjs/ArticleProgramLandingPage.js +4 -6
  16. package/dist/cjs/ArticleSeriesLandingPage.js +4 -6
  17. package/dist/cjs/ArticleSeriesListing.js +1 -2
  18. package/dist/cjs/Auth.js +1 -2
  19. package/dist/cjs/AuthWrapper.js +6 -96
  20. package/dist/cjs/Beam.js +1 -2
  21. package/dist/cjs/CEDeckSupabase.js +2 -3
  22. package/dist/cjs/CMEDeck.js +2 -4
  23. package/dist/cjs/Column2.js +1 -2
  24. package/dist/cjs/Column3.js +2 -4
  25. package/dist/cjs/ConferenceArticleCard.js +15 -15
  26. package/dist/cjs/ContentCardPaginated.js +3 -5
  27. package/dist/cjs/DeckContent.js +11 -13
  28. package/dist/cjs/DeckQueue.js +1 -2
  29. package/dist/cjs/DeckQueuePaginated.js +2 -4
  30. package/dist/cjs/{Dfp-c313a700.js → Dfp-67646058.js} +1 -2
  31. package/dist/cjs/EventsDeck.js +17 -17
  32. package/dist/cjs/ExternalResources.js +4 -6
  33. package/dist/cjs/GridContent.js +4 -6
  34. package/dist/cjs/GridContentPaginated.js +4 -6
  35. package/dist/cjs/HamMagazine.js +10 -11
  36. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  37. package/dist/cjs/HorizontalArticleListing.js +4 -6
  38. package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-984a697b.js} +116 -156
  39. package/dist/cjs/IssueLanding.js +35 -37
  40. package/dist/cjs/KMTracker.js +15 -15
  41. package/dist/cjs/LeftNav.js +2 -4
  42. package/dist/cjs/MasterDeck.js +12 -14
  43. package/dist/cjs/MasterDeckPaginated.js +12 -14
  44. package/dist/cjs/{MediaSeriesCard-9c30d800.js → MediaSeriesCard-d169c597.js} +2 -2
  45. package/dist/cjs/MediaSeriesLanding.js +14 -16
  46. package/dist/cjs/MediaSeriesLandingPaginated.js +14 -16
  47. package/dist/cjs/NavDvm.js +1 -2
  48. package/dist/cjs/NavMagazine.js +11 -12
  49. package/dist/cjs/NavNative.js +10 -11
  50. package/dist/cjs/PartnerDetailListing.js +8 -9
  51. package/dist/cjs/PartnerDetailListingPaginated.js +8 -9
  52. package/dist/cjs/PodcastsLanding.js +7 -9
  53. package/dist/cjs/PtceDeck.js +1 -2
  54. package/dist/cjs/PubSection.js +4 -6
  55. package/dist/cjs/PubToc.js +1 -2
  56. package/dist/cjs/PublicationLanding.js +340 -44
  57. package/dist/cjs/QueueDeckExpanded.js +4 -6
  58. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -6
  59. package/dist/cjs/RelatedContent.js +28 -28
  60. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  61. package/dist/cjs/Segment.js +1 -2
  62. package/dist/cjs/SeriesListingDeck.js +2 -3
  63. package/dist/cjs/{SeriesSlider-c7ed509b.js → SeriesSlider-086a8319.js} +4 -4
  64. package/dist/cjs/SideFooter.js +3 -4
  65. package/dist/cjs/TaxonomyDescription.js +4 -6
  66. package/dist/cjs/TemplateNormal.js +2 -4
  67. package/dist/cjs/{Tooltip-02a841b5.js → Tooltip-96fe6ef6.js} +34 -86
  68. package/dist/cjs/Ustream.js +1 -2
  69. package/dist/cjs/VideoProgramLandingPage.js +4 -6
  70. package/dist/cjs/VideoSeriesCard.js +1 -1
  71. package/dist/cjs/VideoSeriesFilter.js +1 -2
  72. package/dist/cjs/VideoSeriesLandingPage.js +4 -6
  73. package/dist/cjs/VideoSeriesListing.js +1 -2
  74. package/dist/cjs/View.js +8 -10
  75. package/dist/cjs/YoutubeGroup.js +4 -4
  76. package/dist/cjs/{asyncToGenerator-65df6bf8.js → asyncToGenerator-77821af0.js} +56 -8
  77. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  78. package/dist/cjs/faundadb.js +1 -2
  79. package/dist/cjs/getPtceActivities.js +1 -2
  80. package/dist/cjs/getRelatedArticle.js +1 -2
  81. package/dist/cjs/getRootDocGroup.js +1 -2
  82. package/dist/cjs/getSerializers.js +4 -6
  83. package/dist/cjs/getTIData.js +1 -2
  84. package/dist/cjs/{getTargeting-45ffbee8.js → getTargeting-5b954783.js} +9 -9
  85. package/dist/cjs/getTargeting.js +1 -1
  86. package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
  87. package/dist/cjs/{index-d2a6ef75.js → index-7435b964.js} +467 -2
  88. package/dist/cjs/{index-d4139113.js → index-e8600243.js} +25 -16
  89. package/dist/cjs/index.js +14 -14
  90. package/dist/cjs/typeof-1358762e.js +33 -0
  91. package/dist/cjs/{urlForFile-5084fc48.js → urlForFile-ef20990d.js} +2 -1
  92. package/dist/esm/AD.js +1 -1
  93. package/dist/esm/AD300x250.js +2 -4
  94. package/dist/esm/AD300x250x600.js +2 -4
  95. package/dist/esm/AD728x90.js +2 -4
  96. package/dist/esm/ADFloatingFooter.js +2 -4
  97. package/dist/esm/ADGutter.js +2 -4
  98. package/dist/esm/ADSkyscraper.js +2 -4
  99. package/dist/esm/ADSponsoredResources.js +2 -4
  100. package/dist/esm/ADWebcast.js +2 -4
  101. package/dist/esm/ADWelcome.js +2 -4
  102. package/dist/esm/AdSlot.js +2 -4
  103. package/dist/esm/AdSlotsProvider.js +2 -4
  104. package/dist/esm/AlgoliaSearch.js +336 -37
  105. package/dist/esm/ArticleProgramLandingPage.js +4 -6
  106. package/dist/esm/ArticleSeriesLandingPage.js +4 -6
  107. package/dist/esm/ArticleSeriesListing.js +1 -2
  108. package/dist/esm/Auth.js +1 -2
  109. package/dist/esm/AuthWrapper.js +3 -93
  110. package/dist/esm/Beam.js +1 -2
  111. package/dist/esm/CEDeckSupabase.js +2 -3
  112. package/dist/esm/CMEDeck.js +2 -4
  113. package/dist/esm/Column2.js +1 -2
  114. package/dist/esm/Column3.js +2 -4
  115. package/dist/esm/ConferenceArticleCard.js +15 -15
  116. package/dist/esm/ContentCardPaginated.js +3 -5
  117. package/dist/esm/DeckContent.js +11 -13
  118. package/dist/esm/DeckQueue.js +1 -2
  119. package/dist/esm/DeckQueuePaginated.js +2 -4
  120. package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
  121. package/dist/esm/EventsDeck.js +17 -17
  122. package/dist/esm/ExternalResources.js +4 -6
  123. package/dist/esm/GridContent.js +4 -6
  124. package/dist/esm/GridContentPaginated.js +4 -6
  125. package/dist/esm/HamMagazine.js +10 -11
  126. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  127. package/dist/esm/HorizontalArticleListing.js +4 -6
  128. package/dist/esm/{ImageSlider-da225417.js → ImageSlider-497e9c88.js} +117 -157
  129. package/dist/esm/IssueLanding.js +35 -37
  130. package/dist/esm/KMTracker.js +15 -15
  131. package/dist/esm/LeftNav.js +2 -4
  132. package/dist/esm/MasterDeck.js +12 -14
  133. package/dist/esm/MasterDeckPaginated.js +12 -14
  134. package/dist/esm/{MediaSeriesCard-0830bfb5.js → MediaSeriesCard-db3db926.js} +2 -2
  135. package/dist/esm/MediaSeriesLanding.js +14 -16
  136. package/dist/esm/MediaSeriesLandingPaginated.js +14 -16
  137. package/dist/esm/NavDvm.js +1 -2
  138. package/dist/esm/NavMagazine.js +11 -12
  139. package/dist/esm/NavNative.js +10 -11
  140. package/dist/esm/PartnerDetailListing.js +8 -9
  141. package/dist/esm/PartnerDetailListingPaginated.js +8 -9
  142. package/dist/esm/PodcastsLanding.js +7 -9
  143. package/dist/esm/PtceDeck.js +1 -2
  144. package/dist/esm/PubSection.js +4 -6
  145. package/dist/esm/PubToc.js +1 -2
  146. package/dist/esm/PublicationLanding.js +326 -34
  147. package/dist/esm/QueueDeckExpanded.js +4 -6
  148. package/dist/esm/QueueDeckExpandedPaginated.js +4 -6
  149. package/dist/esm/RelatedContent.js +28 -28
  150. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  151. package/dist/esm/Segment.js +1 -2
  152. package/dist/esm/SeriesListingDeck.js +2 -3
  153. package/dist/esm/{SeriesSlider-b467f00c.js → SeriesSlider-a6b1d617.js} +4 -4
  154. package/dist/esm/SideFooter.js +3 -4
  155. package/dist/esm/TaxonomyDescription.js +4 -6
  156. package/dist/esm/TemplateNormal.js +2 -4
  157. package/dist/esm/{Tooltip-7a093cd4.js → Tooltip-bc98d17e.js} +192 -244
  158. package/dist/esm/Ustream.js +1 -2
  159. package/dist/esm/VideoProgramLandingPage.js +4 -6
  160. package/dist/esm/VideoSeriesCard.js +1 -1
  161. package/dist/esm/VideoSeriesFilter.js +1 -2
  162. package/dist/esm/VideoSeriesLandingPage.js +4 -6
  163. package/dist/esm/VideoSeriesListing.js +1 -2
  164. package/dist/esm/View.js +8 -10
  165. package/dist/esm/YoutubeGroup.js +4 -4
  166. package/dist/esm/{asyncToGenerator-64822ccc.js → asyncToGenerator-958ef5fc.js} +50 -6
  167. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  168. package/dist/esm/faundadb.js +1 -2
  169. package/dist/esm/getPtceActivities.js +1 -2
  170. package/dist/esm/getRelatedArticle.js +1 -2
  171. package/dist/esm/getRootDocGroup.js +1 -2
  172. package/dist/esm/getSerializers.js +4 -6
  173. package/dist/esm/getTIData.js +1 -2
  174. package/dist/esm/{getTargeting-a569a9cc.js → getTargeting-5a281334.js} +9 -9
  175. package/dist/esm/getTargeting.js +1 -1
  176. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  177. package/dist/esm/{index-d0cdb127.js → index-60cb5113.js} +25 -16
  178. package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
  179. package/dist/esm/index.js +14 -14
  180. package/dist/esm/typeof-2f07d0e8.js +30 -0
  181. package/dist/esm/{urlForFile-f6485737.js → urlForFile-dc111d7f.js} +2 -1
  182. package/package.json +116 -116
  183. package/dist/cjs/_set-species-0c7864a2.js +0 -55
  184. package/dist/cjs/events-1b438fe7.js +0 -469
  185. package/dist/esm/_set-species-2cd9340f.js +0 -50
  186. package/dist/esm/events-6c3a7a63.js +0 -467
  187. /package/dist/cjs/{ADInfeed-89f63b7d.js → ADInfeed-49bdb9e1.js} +0 -0
  188. /package/dist/cjs/{ADlgInfeed-a536168e.js → ADlgInfeed-33be9ab6.js} +0 -0
  189. /package/dist/esm/{ADInfeed-c14e043c.js → ADInfeed-d2229e62.js} +0 -0
  190. /package/dist/esm/{ADlgInfeed-2892de3c.js → ADlgInfeed-e13fb474.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import { _ as _extends$1 } from './extends-1559c147.js';
2
2
  import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-d21b4ef9.js';
3
- import { _ as _typeof$1 } from './typeof-657f25da.js';
3
+ import { _ as _typeof$2 } from './typeof-657f25da.js';
4
4
  import React__default, { createContext, Component, Fragment, Children, version as version$2 } from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { _ as _objectWithoutPropertiesLoose$1, a as _extends, c as classnames } from './index-0ce54f8a.js';
7
- import { E as EventEmitter } from './events-6c3a7a63.js';
6
+ import { _ as _typeof$1 } from './typeof-2f07d0e8.js';
7
+ import { _ as _objectWithoutPropertiesLoose$1, a as _setPrototypeOf, b as _extends, c as classnames } from './index-98ca9cec.js';
8
8
  import { DropdownButton } from 'react-bootstrap';
9
9
  import urlFor from './urlFor.js';
10
10
  import { m as moment } from './moment-bc12cb97.js';
@@ -69,15 +69,6 @@ function _assertThisInitialized(self) {
69
69
  return self;
70
70
  }
71
71
 
72
- function _setPrototypeOf(o, p) {
73
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
74
- o.__proto__ = p;
75
- return o;
76
- };
77
-
78
- return _setPrototypeOf(o, p);
79
- }
80
-
81
72
  function _inherits(subClass, superClass) {
82
73
  if (typeof superClass !== "function" && superClass !== null) {
83
74
  throw new TypeError("Super expression must either be null or a function");
@@ -93,25 +84,11 @@ function _inherits(subClass, superClass) {
93
84
  if (superClass) _setPrototypeOf(subClass, superClass);
94
85
  }
95
86
 
96
- function _typeof(obj) {
97
- "@babel/helpers - typeof";
98
-
99
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
100
- _typeof = function _typeof(obj) {
101
- return typeof obj;
102
- };
103
- } else {
104
- _typeof = function _typeof(obj) {
105
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
106
- };
107
- }
108
-
109
- return _typeof(obj);
110
- }
111
-
112
87
  function _possibleConstructorReturn(self, call) {
113
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
88
+ if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
114
89
  return call;
90
+ } else if (call !== void 0) {
91
+ throw new TypeError("Derived constructors may only return object or undefined");
115
92
  }
116
93
 
117
94
  return _assertThisInitialized(self);
@@ -274,6 +251,22 @@ var reactFastCompare = function isEqual(a, b) {
274
251
  }
275
252
  };
276
253
 
254
+ function _typeof(obj) {
255
+ "@babel/helpers - typeof";
256
+
257
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
258
+ _typeof = function _typeof(obj) {
259
+ return typeof obj;
260
+ };
261
+ } else {
262
+ _typeof = function _typeof(obj) {
263
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
264
+ };
265
+ }
266
+
267
+ return _typeof(obj);
268
+ }
269
+
277
270
  function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
278
271
 
279
272
  function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$f(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
@@ -1269,7 +1262,7 @@ function _arrayWithoutHoles(arr) {
1269
1262
  }
1270
1263
 
1271
1264
  function _iterableToArray(iter) {
1272
- if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
1265
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1273
1266
  }
1274
1267
 
1275
1268
  function _unsupportedIterableToArray(o, minLen) {
@@ -4439,6 +4432,309 @@ function getHierarchicalRefinement(state, attributeName, name, resultsFacets) {
4439
4432
 
4440
4433
  var SearchResults_1 = SearchResults;
4441
4434
 
4435
+ // Copyright Joyent, Inc. and other Node contributors.
4436
+ //
4437
+ // Permission is hereby granted, free of charge, to any person obtaining a
4438
+ // copy of this software and associated documentation files (the
4439
+ // "Software"), to deal in the Software without restriction, including
4440
+ // without limitation the rights to use, copy, modify, merge, publish,
4441
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
4442
+ // persons to whom the Software is furnished to do so, subject to the
4443
+ // following conditions:
4444
+ //
4445
+ // The above copyright notice and this permission notice shall be included
4446
+ // in all copies or substantial portions of the Software.
4447
+ //
4448
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
4449
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4450
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
4451
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
4452
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
4453
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
4454
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
4455
+
4456
+ function EventEmitter() {
4457
+ this._events = this._events || {};
4458
+ this._maxListeners = this._maxListeners || undefined;
4459
+ }
4460
+ var events = EventEmitter;
4461
+
4462
+ // Backwards-compat with node 0.10.x
4463
+ // EventEmitter.EventEmitter = EventEmitter;
4464
+
4465
+ EventEmitter.prototype._events = undefined;
4466
+ EventEmitter.prototype._maxListeners = undefined;
4467
+
4468
+ // By default EventEmitters will print a warning if more than 10 listeners are
4469
+ // added to it. This is a useful default which helps finding memory leaks.
4470
+ EventEmitter.defaultMaxListeners = 10;
4471
+
4472
+ // Obviously not all Emitters should be limited to 10. This function allows
4473
+ // that to be increased. Set to zero for unlimited.
4474
+ EventEmitter.prototype.setMaxListeners = function(n) {
4475
+ if (!isNumber(n) || n < 0 || isNaN(n))
4476
+ throw TypeError('n must be a positive number');
4477
+ this._maxListeners = n;
4478
+ return this;
4479
+ };
4480
+
4481
+ EventEmitter.prototype.emit = function(type) {
4482
+ var er, handler, len, args, i, listeners;
4483
+
4484
+ if (!this._events)
4485
+ this._events = {};
4486
+
4487
+ // If there is no 'error' event listener then throw.
4488
+ if (type === 'error') {
4489
+ if (!this._events.error ||
4490
+ (isObject(this._events.error) && !this._events.error.length)) {
4491
+ er = arguments[1];
4492
+ if (er instanceof Error) {
4493
+ throw er; // Unhandled 'error' event
4494
+ } else {
4495
+ // At least give some kind of context to the user
4496
+ var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
4497
+ err.context = er;
4498
+ throw err;
4499
+ }
4500
+ }
4501
+ }
4502
+
4503
+ handler = this._events[type];
4504
+
4505
+ if (isUndefined(handler))
4506
+ return false;
4507
+
4508
+ if (isFunction(handler)) {
4509
+ switch (arguments.length) {
4510
+ // fast cases
4511
+ case 1:
4512
+ handler.call(this);
4513
+ break;
4514
+ case 2:
4515
+ handler.call(this, arguments[1]);
4516
+ break;
4517
+ case 3:
4518
+ handler.call(this, arguments[1], arguments[2]);
4519
+ break;
4520
+ // slower
4521
+ default:
4522
+ args = Array.prototype.slice.call(arguments, 1);
4523
+ handler.apply(this, args);
4524
+ }
4525
+ } else if (isObject(handler)) {
4526
+ args = Array.prototype.slice.call(arguments, 1);
4527
+ listeners = handler.slice();
4528
+ len = listeners.length;
4529
+ for (i = 0; i < len; i++)
4530
+ listeners[i].apply(this, args);
4531
+ }
4532
+
4533
+ return true;
4534
+ };
4535
+
4536
+ EventEmitter.prototype.addListener = function(type, listener) {
4537
+ var m;
4538
+
4539
+ if (!isFunction(listener))
4540
+ throw TypeError('listener must be a function');
4541
+
4542
+ if (!this._events)
4543
+ this._events = {};
4544
+
4545
+ // To avoid recursion in the case that type === "newListener"! Before
4546
+ // adding it to the listeners, first emit "newListener".
4547
+ if (this._events.newListener)
4548
+ this.emit('newListener', type,
4549
+ isFunction(listener.listener) ?
4550
+ listener.listener : listener);
4551
+
4552
+ if (!this._events[type])
4553
+ // Optimize the case of one listener. Don't need the extra array object.
4554
+ this._events[type] = listener;
4555
+ else if (isObject(this._events[type]))
4556
+ // If we've already got an array, just append.
4557
+ this._events[type].push(listener);
4558
+ else
4559
+ // Adding the second element, need to change to array.
4560
+ this._events[type] = [this._events[type], listener];
4561
+
4562
+ // Check for listener leak
4563
+ if (isObject(this._events[type]) && !this._events[type].warned) {
4564
+ if (!isUndefined(this._maxListeners)) {
4565
+ m = this._maxListeners;
4566
+ } else {
4567
+ m = EventEmitter.defaultMaxListeners;
4568
+ }
4569
+
4570
+ if (m && m > 0 && this._events[type].length > m) {
4571
+ this._events[type].warned = true;
4572
+ console.error('(node) warning: possible EventEmitter memory ' +
4573
+ 'leak detected. %d listeners added. ' +
4574
+ 'Use emitter.setMaxListeners() to increase limit.',
4575
+ this._events[type].length);
4576
+ if (typeof console.trace === 'function') {
4577
+ // not supported in IE 10
4578
+ console.trace();
4579
+ }
4580
+ }
4581
+ }
4582
+
4583
+ return this;
4584
+ };
4585
+
4586
+ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
4587
+
4588
+ EventEmitter.prototype.once = function(type, listener) {
4589
+ if (!isFunction(listener))
4590
+ throw TypeError('listener must be a function');
4591
+
4592
+ var fired = false;
4593
+
4594
+ function g() {
4595
+ this.removeListener(type, g);
4596
+
4597
+ if (!fired) {
4598
+ fired = true;
4599
+ listener.apply(this, arguments);
4600
+ }
4601
+ }
4602
+
4603
+ g.listener = listener;
4604
+ this.on(type, g);
4605
+
4606
+ return this;
4607
+ };
4608
+
4609
+ // emits a 'removeListener' event iff the listener was removed
4610
+ EventEmitter.prototype.removeListener = function(type, listener) {
4611
+ var list, position, length, i;
4612
+
4613
+ if (!isFunction(listener))
4614
+ throw TypeError('listener must be a function');
4615
+
4616
+ if (!this._events || !this._events[type])
4617
+ return this;
4618
+
4619
+ list = this._events[type];
4620
+ length = list.length;
4621
+ position = -1;
4622
+
4623
+ if (list === listener ||
4624
+ (isFunction(list.listener) && list.listener === listener)) {
4625
+ delete this._events[type];
4626
+ if (this._events.removeListener)
4627
+ this.emit('removeListener', type, listener);
4628
+
4629
+ } else if (isObject(list)) {
4630
+ for (i = length; i-- > 0;) {
4631
+ if (list[i] === listener ||
4632
+ (list[i].listener && list[i].listener === listener)) {
4633
+ position = i;
4634
+ break;
4635
+ }
4636
+ }
4637
+
4638
+ if (position < 0)
4639
+ return this;
4640
+
4641
+ if (list.length === 1) {
4642
+ list.length = 0;
4643
+ delete this._events[type];
4644
+ } else {
4645
+ list.splice(position, 1);
4646
+ }
4647
+
4648
+ if (this._events.removeListener)
4649
+ this.emit('removeListener', type, listener);
4650
+ }
4651
+
4652
+ return this;
4653
+ };
4654
+
4655
+ EventEmitter.prototype.removeAllListeners = function(type) {
4656
+ var key, listeners;
4657
+
4658
+ if (!this._events)
4659
+ return this;
4660
+
4661
+ // not listening for removeListener, no need to emit
4662
+ if (!this._events.removeListener) {
4663
+ if (arguments.length === 0)
4664
+ this._events = {};
4665
+ else if (this._events[type])
4666
+ delete this._events[type];
4667
+ return this;
4668
+ }
4669
+
4670
+ // emit removeListener for all listeners on all events
4671
+ if (arguments.length === 0) {
4672
+ for (key in this._events) {
4673
+ if (key === 'removeListener') continue;
4674
+ this.removeAllListeners(key);
4675
+ }
4676
+ this.removeAllListeners('removeListener');
4677
+ this._events = {};
4678
+ return this;
4679
+ }
4680
+
4681
+ listeners = this._events[type];
4682
+
4683
+ if (isFunction(listeners)) {
4684
+ this.removeListener(type, listeners);
4685
+ } else if (listeners) {
4686
+ // LIFO order
4687
+ while (listeners.length)
4688
+ this.removeListener(type, listeners[listeners.length - 1]);
4689
+ }
4690
+ delete this._events[type];
4691
+
4692
+ return this;
4693
+ };
4694
+
4695
+ EventEmitter.prototype.listeners = function(type) {
4696
+ var ret;
4697
+ if (!this._events || !this._events[type])
4698
+ ret = [];
4699
+ else if (isFunction(this._events[type]))
4700
+ ret = [this._events[type]];
4701
+ else
4702
+ ret = this._events[type].slice();
4703
+ return ret;
4704
+ };
4705
+
4706
+ EventEmitter.prototype.listenerCount = function(type) {
4707
+ if (this._events) {
4708
+ var evlistener = this._events[type];
4709
+
4710
+ if (isFunction(evlistener))
4711
+ return 1;
4712
+ else if (evlistener)
4713
+ return evlistener.length;
4714
+ }
4715
+ return 0;
4716
+ };
4717
+
4718
+ EventEmitter.listenerCount = function(emitter, type) {
4719
+ return emitter.listenerCount(type);
4720
+ };
4721
+
4722
+ function isFunction(arg) {
4723
+ return typeof arg === 'function';
4724
+ }
4725
+
4726
+ function isNumber(arg) {
4727
+ return typeof arg === 'number';
4728
+ }
4729
+
4730
+ function isObject(arg) {
4731
+ return typeof arg === 'object' && arg !== null;
4732
+ }
4733
+
4734
+ function isUndefined(arg) {
4735
+ return arg === void 0;
4736
+ }
4737
+
4442
4738
  function inherits(ctor, superCtor) {
4443
4739
  ctor.prototype = Object.create(superCtor.prototype, {
4444
4740
  constructor: {
@@ -4468,7 +4764,7 @@ function DerivedHelper(mainHelper, fn) {
4468
4764
  this.lastResults = null;
4469
4765
  }
4470
4766
 
4471
- inherits_1(DerivedHelper, EventEmitter.EventEmitter);
4767
+ inherits_1(DerivedHelper, events);
4472
4768
 
4473
4769
  /**
4474
4770
  * Detach this helper from the main helper
@@ -4804,7 +5100,7 @@ var requestBuilder = {
4804
5100
 
4805
5101
  var requestBuilder_1 = requestBuilder;
4806
5102
 
4807
- var version = '3.6.2';
5103
+ var version = '3.7.0';
4808
5104
 
4809
5105
  /**
4810
5106
  * Event triggered when a parameter is set or updated
@@ -4925,7 +5221,7 @@ function AlgoliaSearchHelper(client, index, options) {
4925
5221
  this._currentNbQueries = 0;
4926
5222
  }
4927
5223
 
4928
- inherits_1(AlgoliaSearchHelper, EventEmitter.EventEmitter);
5224
+ inherits_1(AlgoliaSearchHelper, events);
4929
5225
 
4930
5226
  /**
4931
5227
  * Start the search with the parameters set in the state. When the
@@ -8771,14 +9067,17 @@ function _arrayWithHoles(arr) {
8771
9067
  }
8772
9068
 
8773
9069
  function _iterableToArrayLimit(arr, i) {
8774
- if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
9070
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9071
+
9072
+ if (_i == null) return;
8775
9073
  var _arr = [];
8776
9074
  var _n = true;
8777
9075
  var _d = false;
8778
- var _e = undefined;
9076
+
9077
+ var _s, _e;
8779
9078
 
8780
9079
  try {
8781
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
9080
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
8782
9081
  _arr.push(_s.value);
8783
9082
 
8784
9083
  if (i && _arr.length === i) break;
@@ -14544,7 +14843,7 @@ var imageDiv = function imageDiv(hit, styles, client, siteType, defaultImage, va
14544
14843
  LazyLoad,
14545
14844
  { once: true },
14546
14845
  React__default.createElement('img', {
14547
- src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$1(hit.thumbnail === 'string') ? hit.thumbnail : defaultImage
14846
+ src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$2(hit.thumbnail === 'string') ? hit.thumbnail : defaultImage
14548
14847
  })
14549
14848
  )
14550
14849
  )
@@ -1,22 +1,20 @@
1
- import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-64822ccc.js';
1
+ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import React__default from 'react';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-d0cdb127.js';
6
+ import { g as getSerializers } from './index-60cb5113.js';
7
7
  import ArticleSeriesListing from './ArticleSeriesListing.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './core.get-iterator-method-ea258bb1.js';
10
10
  import './web.dom.iterable-ab4dea5c.js';
11
11
  import './_library-528f1934.js';
12
- import './_set-species-2cd9340f.js';
13
12
  import './_iter-detect-98db3b07.js';
14
13
  import 'prop-types';
15
14
  import './index-3f5c03b2.js';
16
15
  import 'react-bootstrap';
17
16
  import './urlFor.js';
18
- import './index-f0fc23eb.js';
19
- import './events-6c3a7a63.js';
17
+ import './index-5cc7b406.js';
20
18
  import 'next/router';
21
19
  import './index-c7e2ac95.js';
22
20
  import './util-8ed16d48.js';
@@ -24,7 +22,7 @@ import './Beam.js';
24
22
  import './stringify-2b084bee.js';
25
23
  import './Segment.js';
26
24
  import './main-754d4992.js';
27
- import './urlForFile-f6485737.js';
25
+ import './urlForFile-dc111d7f.js';
28
26
  import './index-755f2cc2.js';
29
27
  import 'react-dom';
30
28
  import './typeof-657f25da.js';
@@ -1,11 +1,10 @@
1
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
1
+ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
2
2
  import React__default from 'react';
3
3
  import MasterDeck from './MasterDeck.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
6
  import './web.dom.iterable-ab4dea5c.js';
7
7
  import './_library-528f1934.js';
8
- import './_set-species-2cd9340f.js';
9
8
  import './_iter-detect-98db3b07.js';
10
9
  import './toConsumableArray-f7074d7c.js';
11
10
  import './extends-1559c147.js';
@@ -14,8 +13,7 @@ import './_object-sap-7cee6f84.js';
14
13
  import './define-property-5f1bda73.js';
15
14
  import './typeof-657f25da.js';
16
15
  import './_is-array-8d21b9e3.js';
17
- import './index-f0fc23eb.js';
18
- import './events-6c3a7a63.js';
16
+ import './index-5cc7b406.js';
19
17
  import 'prop-types';
20
18
  import 'react-bootstrap/Container';
21
19
  import 'react-bootstrap/Row';
@@ -32,13 +30,13 @@ import './visibility-sensor-72fd8f8b.js';
32
30
  import 'react-dom';
33
31
  import './slicedToArray-6ebcbfea.js';
34
32
  import './index-3f5c03b2.js';
35
- import './ADlgInfeed-2892de3c.js';
33
+ import './ADlgInfeed-e13fb474.js';
36
34
  import './AdSlot.js';
37
35
  import './Beam.js';
38
36
  import './stringify-2b084bee.js';
39
37
  import './Segment.js';
40
38
  import './main-754d4992.js';
41
- import './ADInfeed-c14e043c.js';
39
+ import './ADInfeed-d2229e62.js';
42
40
 
43
41
  var _this = undefined;
44
42
 
@@ -1,7 +1,7 @@
1
1
  import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
3
3
  import React__default from 'react';
4
- import { l as lib_3 } from './index-f0fc23eb.js';
4
+ import { l as lib_3 } from './index-5cc7b406.js';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
7
7
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
@@ -18,7 +18,6 @@ import './typeof-657f25da.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
19
19
  import './_is-array-8d21b9e3.js';
20
20
  import './_library-528f1934.js';
21
- import './events-6c3a7a63.js';
22
21
  import 'prop-types';
23
22
  import 'react-dom';
24
23
  import './iconBase-ccc56b97.js';
package/dist/esm/Auth.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
1
+ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
2
2
  import { _ as _JSON$stringify } from './stringify-2b084bee.js';
3
3
  import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
4
4
  import React__default, { useEffect, useState } from 'react';
@@ -15,7 +15,6 @@ import { m as md5 } from './md5-4e42248e.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
17
17
  import './_library-528f1934.js';
18
- import './_set-species-2cd9340f.js';
19
18
  import './_iter-detect-98db3b07.js';
20
19
 
21
20
  var returnFormField = function returnFormField(_ref) {
@@ -1,5 +1,7 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
3
+ import { a as _typeof_1 } from './typeof-2f07d0e8.js';
4
+ import { d as defineProperty, b as asyncToGenerator } from './defineProperty-23a8f8cd.js';
3
5
  import React__default, { useState, useEffect } from 'react';
4
6
  import { Form } from 'react-bootstrap';
5
7
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
@@ -19,33 +21,6 @@ module.exports["default"] = module.exports, module.exports.__esModule = true;
19
21
 
20
22
  unwrapExports(interopRequireDefault);
21
23
 
22
- var _typeof_1 = createCommonjsModule(function (module) {
23
- function _typeof(obj) {
24
- "@babel/helpers - typeof";
25
-
26
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
27
- module.exports = _typeof = function _typeof(obj) {
28
- return typeof obj;
29
- };
30
-
31
- module.exports["default"] = module.exports, module.exports.__esModule = true;
32
- } else {
33
- module.exports = _typeof = function _typeof(obj) {
34
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
35
- };
36
-
37
- module.exports["default"] = module.exports, module.exports.__esModule = true;
38
- }
39
-
40
- return _typeof(obj);
41
- }
42
-
43
- module.exports = _typeof;
44
- module.exports["default"] = module.exports, module.exports.__esModule = true;
45
- });
46
-
47
- unwrapExports(_typeof_1);
48
-
49
24
  var runtime_1 = createCommonjsModule(function (module) {
50
25
  /**
51
26
  * Copyright (c) 2014-present, Facebook, Inc.
@@ -804,71 +779,6 @@ try {
804
779
 
805
780
  var regenerator = runtime_1;
806
781
 
807
- var defineProperty = createCommonjsModule(function (module) {
808
- function _defineProperty(obj, key, value) {
809
- if (key in obj) {
810
- Object.defineProperty(obj, key, {
811
- value: value,
812
- enumerable: true,
813
- configurable: true,
814
- writable: true
815
- });
816
- } else {
817
- obj[key] = value;
818
- }
819
-
820
- return obj;
821
- }
822
-
823
- module.exports = _defineProperty;
824
- module.exports["default"] = module.exports, module.exports.__esModule = true;
825
- });
826
-
827
- unwrapExports(defineProperty);
828
-
829
- var asyncToGenerator = createCommonjsModule(function (module) {
830
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
831
- try {
832
- var info = gen[key](arg);
833
- var value = info.value;
834
- } catch (error) {
835
- reject(error);
836
- return;
837
- }
838
-
839
- if (info.done) {
840
- resolve(value);
841
- } else {
842
- Promise.resolve(value).then(_next, _throw);
843
- }
844
- }
845
-
846
- function _asyncToGenerator(fn) {
847
- return function () {
848
- var self = this,
849
- args = arguments;
850
- return new Promise(function (resolve, reject) {
851
- var gen = fn.apply(self, args);
852
-
853
- function _next(value) {
854
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
855
- }
856
-
857
- function _throw(err) {
858
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
859
- }
860
-
861
- _next(undefined);
862
- });
863
- };
864
- }
865
-
866
- module.exports = _asyncToGenerator;
867
- module.exports["default"] = module.exports, module.exports.__esModule = true;
868
- });
869
-
870
- unwrapExports(asyncToGenerator);
871
-
872
782
  var arrayWithHoles = createCommonjsModule(function (module) {
873
783
  function _arrayWithHoles(arr) {
874
784
  if (Array.isArray(arr)) return arr;
@@ -1857,7 +1767,7 @@ client$1.Provider;
1857
1767
 
1858
1768
  var client = client$1.default;
1859
1769
 
1860
- var css = ".AuthWrapper-module_loginBox__3l-BE {\r\n margin-bottom: 2rem;\r\n width: 350px;\r\n max-width: 90vw;\r\n margin-left: auto;\r\n margin-right: auto;\r\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\r\n background: #fff;\r\n z-index: 1;\r\n}\r\n.AuthWrapper-module_loginBox_title__12rGD {\r\n margin-bottom: 2rem;\r\n text-align: center;\r\n}\r\n.AuthWrapper-module_bar__1dafn {\r\n background: #eee;\r\n margin-left: unset;\r\n margin-right: unset;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\r\n float: left;\r\n border-right: 1rem solid #fff;\r\n background: rgb(245, 245, 245);\r\n height: 10rem;\r\n width: 25%;\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-bottom: 2rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\r\n width: 97%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\r\n width: 96%;\r\n height: 1.5rem;\r\n margin-bottom: 1.5rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\r\n width: 72%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\r\n width: 88%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n\r\n.AuthWrapper-module_iframe__2wDJW {\r\n margin-top: -3rem;\r\n border: none;\r\n width: 100%;\r\n height: 1900px;\r\n}";
1770
+ var css = ".AuthWrapper-module_loginBox__3l-BE {\n margin-bottom: 2rem;\n width: 350px;\n max-width: 90vw;\n margin-left: auto;\n margin-right: auto;\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\n background: #fff;\n z-index: 1;\n}\n.AuthWrapper-module_loginBox_title__12rGD {\n margin-bottom: 2rem;\n text-align: center;\n}\n.AuthWrapper-module_bar__1dafn {\n background: #eee;\n margin-left: unset;\n margin-right: unset;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\n float: left;\n border-right: 1rem solid #fff;\n background: rgb(245, 245, 245);\n height: 10rem;\n width: 25%;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 2rem;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\n width: 97%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\n width: 96%;\n height: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\n width: 72%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\n width: 88%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n\n.AuthWrapper-module_iframe__2wDJW {\n margin-top: -3rem;\n border: none;\n width: 100%;\n height: 1900px;\n}";
1861
1771
  var styles = { "loginBox": "AuthWrapper-module_loginBox__3l-BE", "loginBox_title": "AuthWrapper-module_loginBox_title__12rGD", "bar": "AuthWrapper-module_bar__1dafn", "iframe": "AuthWrapper-module_iframe__2wDJW" };
1862
1772
  styleInject(css);
1863
1773