@mjhls/mjh-framework 1.0.1080 → 1.0.1082-404-v4

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 (232) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +6 -6
  3. package/dist/cjs/AD300x250.js +5 -6
  4. package/dist/cjs/AD300x250x600.js +5 -6
  5. package/dist/cjs/AD728x90.js +6 -7
  6. package/dist/cjs/ADFloatingFooter.js +8 -9
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +8 -9
  9. package/dist/cjs/{ADInfeed-3a68b356.js → ADInfeed-98ee4120.js} +6 -6
  10. package/dist/cjs/ADSkyscraper.js +8 -9
  11. package/dist/cjs/ADSponsoredResources.js +8 -9
  12. package/dist/cjs/ADWebcast.js +8 -9
  13. package/dist/cjs/ADWelcome.js +12 -13
  14. package/dist/cjs/{ADlgInfeed-d88a0250.js → ADlgInfeed-55df7d69.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +17 -17
  16. package/dist/cjs/AdSlot.js +9 -10
  17. package/dist/cjs/AdSlotsProvider.js +5 -6
  18. package/dist/cjs/AlgoliaSearch.js +1784 -1027
  19. package/dist/cjs/AlphabeticList.js +12 -12
  20. package/dist/cjs/ArticleCarousel.js +5 -5
  21. package/dist/cjs/ArticleProgramLandingPage.js +15 -16
  22. package/dist/cjs/ArticleSeriesLandingPage.js +12 -13
  23. package/dist/cjs/ArticleSeriesListing.js +30 -31
  24. package/dist/cjs/AuthWrapper.js +257 -633
  25. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
  26. package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
  27. package/dist/cjs/Breadcrumbs.js +17 -17
  28. package/dist/cjs/CEDeckSupabase.js +67 -72
  29. package/dist/cjs/CMEDeck.js +61 -66
  30. package/dist/cjs/Column1.js +6 -6
  31. package/dist/cjs/Column2.js +14 -14
  32. package/dist/cjs/Column3.js +26 -27
  33. package/dist/cjs/ConferenceArticleCard.js +13 -13
  34. package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
  35. package/dist/cjs/ContentCardPaginated.js +50 -51
  36. package/dist/cjs/DeckContent.js +59 -60
  37. package/dist/cjs/DeckQueue.js +58 -59
  38. package/dist/cjs/DeckQueuePaginated.js +47 -48
  39. package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
  40. package/dist/cjs/EventsDeck.js +91 -91
  41. package/dist/cjs/ExternalResources.js +35 -36
  42. package/dist/cjs/Feature.js +17 -17
  43. package/dist/cjs/ForbesHero.js +26 -26
  44. package/dist/cjs/GridContent.js +135 -136
  45. package/dist/cjs/GridContentPaginated.js +122 -123
  46. package/dist/cjs/GridHero.js +27 -27
  47. package/dist/cjs/GroupDeck.js +33 -33
  48. package/dist/cjs/HamMagazine.js +111 -111
  49. package/dist/cjs/Header.js +25 -25
  50. package/dist/cjs/HealthCareProfessionalModal.js +17 -17
  51. package/dist/cjs/Hero.js +5 -5
  52. package/dist/cjs/HighlightenVideo.js +13 -13
  53. package/dist/cjs/HorizontalArticleListing.js +29 -30
  54. package/dist/cjs/HorizontalHero.js +18 -18
  55. package/dist/cjs/{ImageSlider-294d3fc0.js → ImageSlider-7c995858.js} +78 -83
  56. package/dist/cjs/IssueContentDeck.js +50 -50
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +21 -22
  59. package/dist/cjs/LeftNav.js +17 -18
  60. package/dist/cjs/MasterDeck.js +40 -41
  61. package/dist/cjs/MasterDeckPaginated.js +29 -30
  62. package/dist/cjs/MediaSeriesCard.js +20 -21
  63. package/dist/cjs/MediaSeriesLanding.js +38 -39
  64. package/dist/cjs/MediaSeriesLandingPaginated.js +37 -38
  65. package/dist/cjs/NavDvm.js +57 -57
  66. package/dist/cjs/{NavFooter-fa5fae05.js → NavFooter-b7b16d48.js} +11 -11
  67. package/dist/cjs/NavMagazine.js +106 -106
  68. package/dist/cjs/NavNative.js +97 -97
  69. package/dist/cjs/OncliveHero.js +12 -12
  70. package/dist/cjs/OncliveLargeHero.js +50 -50
  71. package/dist/cjs/PageFilter.js +5 -5
  72. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  73. package/dist/cjs/PartnerDetailListing.js +55 -56
  74. package/dist/cjs/PartnerDetailListingPaginated.js +54 -55
  75. package/dist/cjs/PdfDownload.js +4 -4
  76. package/dist/cjs/PixelTracking.js +9 -9
  77. package/dist/cjs/PodcastsLanding.js +23 -24
  78. package/dist/cjs/PopUpModal.js +9 -9
  79. package/dist/cjs/PtceDeck.js +14 -14
  80. package/dist/cjs/PubSection.js +14 -15
  81. package/dist/cjs/PubToc.js +4 -4
  82. package/dist/cjs/PublicationDeck.js +44 -44
  83. package/dist/cjs/{PublicationFeature-03de3225.js → PublicationFeature-4b68e0db.js} +30 -30
  84. package/dist/cjs/PublicationLanding.js +75 -75
  85. package/dist/cjs/QueueDeckExpanded.js +246 -247
  86. package/dist/cjs/QueueDeckExpandedPaginated.js +223 -224
  87. package/dist/cjs/RecentNews.js +15 -15
  88. package/dist/cjs/RelatedContent.js +15 -15
  89. package/dist/cjs/RelatedTopicsDropdown.js +14 -14
  90. package/dist/cjs/RolesDeck.js +20 -20
  91. package/dist/cjs/Schema.js +1 -1
  92. package/dist/cjs/Search.js +6 -6
  93. package/dist/cjs/SeriesListingDeck.js +18 -19
  94. package/dist/cjs/{SeriesSlider-621d0cbb.js → SeriesSlider-086a8319.js} +22 -22
  95. package/dist/cjs/SideFooter.js +18 -18
  96. package/dist/cjs/SocialIcons.js +6 -6
  97. package/dist/cjs/{SocialSearchComponent-f874175b.js → SocialSearchComponent-d7e5d3a6.js} +28 -28
  98. package/dist/cjs/SocialShare.js +25 -25
  99. package/dist/cjs/TaxonomyCard.js +44 -44
  100. package/dist/cjs/TaxonomyDescription.js +12 -13
  101. package/dist/cjs/TemplateNormal.js +27 -28
  102. package/dist/cjs/ThumbnailCard.js +10 -10
  103. package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-b8516cbf.js} +632 -545
  104. package/dist/cjs/Ustream.js +9 -9
  105. package/dist/cjs/VerticalHero.js +11 -11
  106. package/dist/cjs/VideoProgramLandingPage.js +29 -30
  107. package/dist/cjs/VideoSeriesCard.js +14 -14
  108. package/dist/cjs/VideoSeriesFilter.js +5 -5
  109. package/dist/cjs/VideoSeriesLandingPage.js +12 -13
  110. package/dist/cjs/VideoSeriesListing.js +47 -48
  111. package/dist/cjs/View.js +245 -242
  112. package/dist/cjs/YahooHero.js +23 -23
  113. package/dist/cjs/YoutubeGroup.js +33 -33
  114. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-35faab67.js} +5 -5
  115. package/dist/cjs/{defineProperty-e0fb52c5.js → defineProperty-19580e93.js} +2 -4
  116. package/dist/cjs/getQuery.js +1 -2
  117. package/dist/cjs/getRelatedArticle.js +33 -15
  118. package/dist/cjs/getSerializers.js +7 -8
  119. package/dist/cjs/iconBase-be4097c0.js +2 -4
  120. package/dist/cjs/{index-c3f0b162.js → index-171e9e82.js} +717 -498
  121. package/dist/cjs/index-3177f564.js +1573 -0
  122. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  123. package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
  124. package/dist/cjs/{index-50be6759.js → index-ff83a88b.js} +13 -14
  125. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  126. package/dist/cjs/{index.esm-f51609ab.js → index.esm-2ea9e9ff.js} +14 -14
  127. package/dist/cjs/index.js +103 -105
  128. package/dist/cjs/{main-1ec1de84.js → main-ae8472f3.js} +17 -22
  129. package/dist/cjs/{moment-aca40de1.js → moment-f730814d.js} +95 -80
  130. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  131. package/dist/cjs/timeDifferenceCalc.js +1 -1
  132. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  133. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
  134. package/dist/esm/AD.js +1 -1
  135. package/dist/esm/AD300x250.js +2 -3
  136. package/dist/esm/AD300x250x600.js +2 -3
  137. package/dist/esm/AD728x90.js +2 -3
  138. package/dist/esm/ADFloatingFooter.js +2 -3
  139. package/dist/esm/ADGutter.js +2 -3
  140. package/dist/esm/{ADInfeed-e8fc8fbb.js → ADInfeed-41bba2c6.js} +1 -1
  141. package/dist/esm/ADSkyscraper.js +2 -3
  142. package/dist/esm/ADSponsoredResources.js +2 -3
  143. package/dist/esm/ADWebcast.js +2 -3
  144. package/dist/esm/ADWelcome.js +2 -3
  145. package/dist/esm/{ADlgInfeed-8a3c14d7.js → ADlgInfeed-3c717ece.js} +1 -1
  146. package/dist/esm/AdSlot.js +2 -3
  147. package/dist/esm/AdSlotsProvider.js +2 -3
  148. package/dist/esm/AlgoliaSearch.js +1402 -645
  149. package/dist/esm/ArticleCarousel.js +1 -1
  150. package/dist/esm/ArticleProgramLandingPage.js +5 -6
  151. package/dist/esm/ArticleSeriesLandingPage.js +5 -6
  152. package/dist/esm/ArticleSeriesListing.js +3 -4
  153. package/dist/esm/AuthWrapper.js +232 -608
  154. package/dist/esm/CEDeckSupabase.js +3 -8
  155. package/dist/esm/CMEDeck.js +3 -8
  156. package/dist/esm/Column3.js +2 -3
  157. package/dist/esm/ConferenceArticleCard.js +1 -1
  158. package/dist/esm/ContentCardPaginated.js +5 -6
  159. package/dist/esm/DeckContent.js +4 -5
  160. package/dist/esm/DeckQueue.js +3 -4
  161. package/dist/esm/DeckQueuePaginated.js +4 -5
  162. package/dist/esm/{Dfp-78070ecb.js → Dfp-3b6eb620.js} +1 -2
  163. package/dist/esm/EventsDeck.js +3 -3
  164. package/dist/esm/ExternalResources.js +6 -7
  165. package/dist/esm/Feature.js +1 -1
  166. package/dist/esm/ForbesHero.js +1 -1
  167. package/dist/esm/GridContent.js +6 -7
  168. package/dist/esm/GridContentPaginated.js +7 -8
  169. package/dist/esm/GridHero.js +1 -1
  170. package/dist/esm/HamMagazine.js +2 -2
  171. package/dist/esm/HighlightenVideo.js +1 -1
  172. package/dist/esm/HorizontalArticleListing.js +5 -6
  173. package/dist/esm/HorizontalHero.js +1 -1
  174. package/dist/esm/{ImageSlider-9250ddc9.js → ImageSlider-75f7b81a.js} +6 -11
  175. package/dist/esm/IssueContentDeck.js +1 -1
  176. package/dist/esm/IssueLanding.js +7 -8
  177. package/dist/esm/LeftNav.js +2 -3
  178. package/dist/esm/MasterDeck.js +5 -6
  179. package/dist/esm/MasterDeckPaginated.js +5 -6
  180. package/dist/esm/MediaSeriesCard.js +5 -6
  181. package/dist/esm/MediaSeriesLanding.js +10 -11
  182. package/dist/esm/MediaSeriesLandingPaginated.js +11 -12
  183. package/dist/esm/NavMagazine.js +2 -2
  184. package/dist/esm/NavNative.js +1 -1
  185. package/dist/esm/OncliveHero.js +1 -1
  186. package/dist/esm/OncliveLargeHero.js +1 -1
  187. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +2 -2
  188. package/dist/esm/PartnerDetailListing.js +9 -10
  189. package/dist/esm/PartnerDetailListingPaginated.js +10 -11
  190. package/dist/esm/PodcastsLanding.js +8 -9
  191. package/dist/esm/PtceDeck.js +1 -1
  192. package/dist/esm/PubSection.js +5 -6
  193. package/dist/esm/{PublicationFeature-89b7afdb.js → PublicationFeature-6c334891.js} +1 -1
  194. package/dist/esm/QueueDeckExpanded.js +5 -6
  195. package/dist/esm/QueueDeckExpandedPaginated.js +6 -7
  196. package/dist/esm/RelatedContent.js +1 -1
  197. package/dist/esm/SeriesListingDeck.js +3 -4
  198. package/dist/esm/{SeriesSlider-7913a789.js → SeriesSlider-acbdf4c9.js} +1 -1
  199. package/dist/esm/{SocialSearchComponent-ae8da67e.js → SocialSearchComponent-9e65c8d6.js} +1 -1
  200. package/dist/esm/TaxonomyDescription.js +5 -6
  201. package/dist/esm/TemplateNormal.js +3 -4
  202. package/dist/esm/{Tooltip-95655b44.js → Tooltip-fe0ed92d.js} +193 -106
  203. package/dist/esm/Ustream.js +1 -1
  204. package/dist/esm/VerticalHero.js +1 -1
  205. package/dist/esm/VideoProgramLandingPage.js +5 -6
  206. package/dist/esm/VideoSeriesCard.js +1 -1
  207. package/dist/esm/VideoSeriesLandingPage.js +5 -6
  208. package/dist/esm/VideoSeriesListing.js +3 -4
  209. package/dist/esm/View.js +14 -11
  210. package/dist/esm/YahooHero.js +1 -1
  211. package/dist/esm/YoutubeGroup.js +1 -1
  212. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-a2422c4b.js} +3 -3
  213. package/dist/esm/{defineProperty-23a8f8cd.js → defineProperty-e8022d1e.js} +2 -4
  214. package/dist/esm/getQuery.js +1 -2
  215. package/dist/esm/getRelatedArticle.js +34 -16
  216. package/dist/esm/getSerializers.js +5 -6
  217. package/dist/esm/{index-2fe6b5b1.js → index-1d1bbc8c.js} +235 -16
  218. package/dist/esm/index-4550ef23.js +1571 -0
  219. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  220. package/dist/esm/{index-98ca9cec.js → index-c8d5e72b.js} +13 -14
  221. package/dist/esm/index.js +14 -16
  222. package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
  223. package/dist/esm/{moment-bc12cb97.js → moment-48faeb9c.js} +95 -80
  224. package/dist/esm/timeDifferenceCalc.js +1 -1
  225. package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
  226. package/package.json +1 -1
  227. package/dist/cjs/events-1b438fe7.js +0 -469
  228. package/dist/cjs/index-f86bb269.js +0 -1571
  229. package/dist/cjs/typeof-1358762e.js +0 -33
  230. package/dist/esm/events-6c3a7a63.js +0 -467
  231. package/dist/esm/index-79cfd25c.js +0 -1569
  232. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -1,8 +1,473 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { E as EventEmitter } from './events-6c3a7a63.js';
3
2
  import React__default from 'react';
4
3
  import PropTypes from 'prop-types';
5
4
 
5
+ var domain;
6
+
7
+ // This constructor is used to store event handlers. Instantiating this is
8
+ // faster than explicitly calling `Object.create(null)` to get a "clean" empty
9
+ // object (tested with v8 v4.9).
10
+ function EventHandlers() {}
11
+ EventHandlers.prototype = Object.create(null);
12
+
13
+ function EventEmitter() {
14
+ EventEmitter.init.call(this);
15
+ }
16
+
17
+ // nodejs oddity
18
+ // require('events') === require('events').EventEmitter
19
+ EventEmitter.EventEmitter = EventEmitter;
20
+
21
+ EventEmitter.usingDomains = false;
22
+
23
+ EventEmitter.prototype.domain = undefined;
24
+ EventEmitter.prototype._events = undefined;
25
+ EventEmitter.prototype._maxListeners = undefined;
26
+
27
+ // By default EventEmitters will print a warning if more than 10 listeners are
28
+ // added to it. This is a useful default which helps finding memory leaks.
29
+ EventEmitter.defaultMaxListeners = 10;
30
+
31
+ EventEmitter.init = function() {
32
+ this.domain = null;
33
+ if (EventEmitter.usingDomains) {
34
+ // if there is an active domain, then attach to it.
35
+ if (domain.active ) ;
36
+ }
37
+
38
+ if (!this._events || this._events === Object.getPrototypeOf(this)._events) {
39
+ this._events = new EventHandlers();
40
+ this._eventsCount = 0;
41
+ }
42
+
43
+ this._maxListeners = this._maxListeners || undefined;
44
+ };
45
+
46
+ // Obviously not all Emitters should be limited to 10. This function allows
47
+ // that to be increased. Set to zero for unlimited.
48
+ EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
49
+ if (typeof n !== 'number' || n < 0 || isNaN(n))
50
+ throw new TypeError('"n" argument must be a positive number');
51
+ this._maxListeners = n;
52
+ return this;
53
+ };
54
+
55
+ function $getMaxListeners(that) {
56
+ if (that._maxListeners === undefined)
57
+ return EventEmitter.defaultMaxListeners;
58
+ return that._maxListeners;
59
+ }
60
+
61
+ EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
62
+ return $getMaxListeners(this);
63
+ };
64
+
65
+ // These standalone emit* functions are used to optimize calling of event
66
+ // handlers for fast cases because emit() itself often has a variable number of
67
+ // arguments and can be deoptimized because of that. These functions always have
68
+ // the same number of arguments and thus do not get deoptimized, so the code
69
+ // inside them can execute faster.
70
+ function emitNone(handler, isFn, self) {
71
+ if (isFn)
72
+ handler.call(self);
73
+ else {
74
+ var len = handler.length;
75
+ var listeners = arrayClone(handler, len);
76
+ for (var i = 0; i < len; ++i)
77
+ listeners[i].call(self);
78
+ }
79
+ }
80
+ function emitOne(handler, isFn, self, arg1) {
81
+ if (isFn)
82
+ handler.call(self, arg1);
83
+ else {
84
+ var len = handler.length;
85
+ var listeners = arrayClone(handler, len);
86
+ for (var i = 0; i < len; ++i)
87
+ listeners[i].call(self, arg1);
88
+ }
89
+ }
90
+ function emitTwo(handler, isFn, self, arg1, arg2) {
91
+ if (isFn)
92
+ handler.call(self, arg1, arg2);
93
+ else {
94
+ var len = handler.length;
95
+ var listeners = arrayClone(handler, len);
96
+ for (var i = 0; i < len; ++i)
97
+ listeners[i].call(self, arg1, arg2);
98
+ }
99
+ }
100
+ function emitThree(handler, isFn, self, arg1, arg2, arg3) {
101
+ if (isFn)
102
+ handler.call(self, arg1, arg2, arg3);
103
+ else {
104
+ var len = handler.length;
105
+ var listeners = arrayClone(handler, len);
106
+ for (var i = 0; i < len; ++i)
107
+ listeners[i].call(self, arg1, arg2, arg3);
108
+ }
109
+ }
110
+
111
+ function emitMany(handler, isFn, self, args) {
112
+ if (isFn)
113
+ handler.apply(self, args);
114
+ else {
115
+ var len = handler.length;
116
+ var listeners = arrayClone(handler, len);
117
+ for (var i = 0; i < len; ++i)
118
+ listeners[i].apply(self, args);
119
+ }
120
+ }
121
+
122
+ EventEmitter.prototype.emit = function emit(type) {
123
+ var er, handler, len, args, i, events, domain;
124
+ var doError = (type === 'error');
125
+
126
+ events = this._events;
127
+ if (events)
128
+ doError = (doError && events.error == null);
129
+ else if (!doError)
130
+ return false;
131
+
132
+ domain = this.domain;
133
+
134
+ // If there is no 'error' event listener then throw.
135
+ if (doError) {
136
+ er = arguments[1];
137
+ if (domain) {
138
+ if (!er)
139
+ er = new Error('Uncaught, unspecified "error" event');
140
+ er.domainEmitter = this;
141
+ er.domain = domain;
142
+ er.domainThrown = false;
143
+ domain.emit('error', er);
144
+ } else if (er instanceof Error) {
145
+ throw er; // Unhandled 'error' event
146
+ } else {
147
+ // At least give some kind of context to the user
148
+ var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
149
+ err.context = er;
150
+ throw err;
151
+ }
152
+ return false;
153
+ }
154
+
155
+ handler = events[type];
156
+
157
+ if (!handler)
158
+ return false;
159
+
160
+ var isFn = typeof handler === 'function';
161
+ len = arguments.length;
162
+ switch (len) {
163
+ // fast cases
164
+ case 1:
165
+ emitNone(handler, isFn, this);
166
+ break;
167
+ case 2:
168
+ emitOne(handler, isFn, this, arguments[1]);
169
+ break;
170
+ case 3:
171
+ emitTwo(handler, isFn, this, arguments[1], arguments[2]);
172
+ break;
173
+ case 4:
174
+ emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]);
175
+ break;
176
+ // slower
177
+ default:
178
+ args = new Array(len - 1);
179
+ for (i = 1; i < len; i++)
180
+ args[i - 1] = arguments[i];
181
+ emitMany(handler, isFn, this, args);
182
+ }
183
+
184
+ return true;
185
+ };
186
+
187
+ function _addListener(target, type, listener, prepend) {
188
+ var m;
189
+ var events;
190
+ var existing;
191
+
192
+ if (typeof listener !== 'function')
193
+ throw new TypeError('"listener" argument must be a function');
194
+
195
+ events = target._events;
196
+ if (!events) {
197
+ events = target._events = new EventHandlers();
198
+ target._eventsCount = 0;
199
+ } else {
200
+ // To avoid recursion in the case that type === "newListener"! Before
201
+ // adding it to the listeners, first emit "newListener".
202
+ if (events.newListener) {
203
+ target.emit('newListener', type,
204
+ listener.listener ? listener.listener : listener);
205
+
206
+ // Re-assign `events` because a newListener handler could have caused the
207
+ // this._events to be assigned to a new object
208
+ events = target._events;
209
+ }
210
+ existing = events[type];
211
+ }
212
+
213
+ if (!existing) {
214
+ // Optimize the case of one listener. Don't need the extra array object.
215
+ existing = events[type] = listener;
216
+ ++target._eventsCount;
217
+ } else {
218
+ if (typeof existing === 'function') {
219
+ // Adding the second element, need to change to array.
220
+ existing = events[type] = prepend ? [listener, existing] :
221
+ [existing, listener];
222
+ } else {
223
+ // If we've already got an array, just append.
224
+ if (prepend) {
225
+ existing.unshift(listener);
226
+ } else {
227
+ existing.push(listener);
228
+ }
229
+ }
230
+
231
+ // Check for listener leak
232
+ if (!existing.warned) {
233
+ m = $getMaxListeners(target);
234
+ if (m && m > 0 && existing.length > m) {
235
+ existing.warned = true;
236
+ var w = new Error('Possible EventEmitter memory leak detected. ' +
237
+ existing.length + ' ' + type + ' listeners added. ' +
238
+ 'Use emitter.setMaxListeners() to increase limit');
239
+ w.name = 'MaxListenersExceededWarning';
240
+ w.emitter = target;
241
+ w.type = type;
242
+ w.count = existing.length;
243
+ emitWarning(w);
244
+ }
245
+ }
246
+ }
247
+
248
+ return target;
249
+ }
250
+ function emitWarning(e) {
251
+ typeof console.warn === 'function' ? console.warn(e) : console.log(e);
252
+ }
253
+ EventEmitter.prototype.addListener = function addListener(type, listener) {
254
+ return _addListener(this, type, listener, false);
255
+ };
256
+
257
+ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
258
+
259
+ EventEmitter.prototype.prependListener =
260
+ function prependListener(type, listener) {
261
+ return _addListener(this, type, listener, true);
262
+ };
263
+
264
+ function _onceWrap(target, type, listener) {
265
+ var fired = false;
266
+ function g() {
267
+ target.removeListener(type, g);
268
+ if (!fired) {
269
+ fired = true;
270
+ listener.apply(target, arguments);
271
+ }
272
+ }
273
+ g.listener = listener;
274
+ return g;
275
+ }
276
+
277
+ EventEmitter.prototype.once = function once(type, listener) {
278
+ if (typeof listener !== 'function')
279
+ throw new TypeError('"listener" argument must be a function');
280
+ this.on(type, _onceWrap(this, type, listener));
281
+ return this;
282
+ };
283
+
284
+ EventEmitter.prototype.prependOnceListener =
285
+ function prependOnceListener(type, listener) {
286
+ if (typeof listener !== 'function')
287
+ throw new TypeError('"listener" argument must be a function');
288
+ this.prependListener(type, _onceWrap(this, type, listener));
289
+ return this;
290
+ };
291
+
292
+ // emits a 'removeListener' event iff the listener was removed
293
+ EventEmitter.prototype.removeListener =
294
+ function removeListener(type, listener) {
295
+ var list, events, position, i, originalListener;
296
+
297
+ if (typeof listener !== 'function')
298
+ throw new TypeError('"listener" argument must be a function');
299
+
300
+ events = this._events;
301
+ if (!events)
302
+ return this;
303
+
304
+ list = events[type];
305
+ if (!list)
306
+ return this;
307
+
308
+ if (list === listener || (list.listener && list.listener === listener)) {
309
+ if (--this._eventsCount === 0)
310
+ this._events = new EventHandlers();
311
+ else {
312
+ delete events[type];
313
+ if (events.removeListener)
314
+ this.emit('removeListener', type, list.listener || listener);
315
+ }
316
+ } else if (typeof list !== 'function') {
317
+ position = -1;
318
+
319
+ for (i = list.length; i-- > 0;) {
320
+ if (list[i] === listener ||
321
+ (list[i].listener && list[i].listener === listener)) {
322
+ originalListener = list[i].listener;
323
+ position = i;
324
+ break;
325
+ }
326
+ }
327
+
328
+ if (position < 0)
329
+ return this;
330
+
331
+ if (list.length === 1) {
332
+ list[0] = undefined;
333
+ if (--this._eventsCount === 0) {
334
+ this._events = new EventHandlers();
335
+ return this;
336
+ } else {
337
+ delete events[type];
338
+ }
339
+ } else {
340
+ spliceOne(list, position);
341
+ }
342
+
343
+ if (events.removeListener)
344
+ this.emit('removeListener', type, originalListener || listener);
345
+ }
346
+
347
+ return this;
348
+ };
349
+
350
+ EventEmitter.prototype.removeAllListeners =
351
+ function removeAllListeners(type) {
352
+ var listeners, events;
353
+
354
+ events = this._events;
355
+ if (!events)
356
+ return this;
357
+
358
+ // not listening for removeListener, no need to emit
359
+ if (!events.removeListener) {
360
+ if (arguments.length === 0) {
361
+ this._events = new EventHandlers();
362
+ this._eventsCount = 0;
363
+ } else if (events[type]) {
364
+ if (--this._eventsCount === 0)
365
+ this._events = new EventHandlers();
366
+ else
367
+ delete events[type];
368
+ }
369
+ return this;
370
+ }
371
+
372
+ // emit removeListener for all listeners on all events
373
+ if (arguments.length === 0) {
374
+ var keys = Object.keys(events);
375
+ for (var i = 0, key; i < keys.length; ++i) {
376
+ key = keys[i];
377
+ if (key === 'removeListener') continue;
378
+ this.removeAllListeners(key);
379
+ }
380
+ this.removeAllListeners('removeListener');
381
+ this._events = new EventHandlers();
382
+ this._eventsCount = 0;
383
+ return this;
384
+ }
385
+
386
+ listeners = events[type];
387
+
388
+ if (typeof listeners === 'function') {
389
+ this.removeListener(type, listeners);
390
+ } else if (listeners) {
391
+ // LIFO order
392
+ do {
393
+ this.removeListener(type, listeners[listeners.length - 1]);
394
+ } while (listeners[0]);
395
+ }
396
+
397
+ return this;
398
+ };
399
+
400
+ EventEmitter.prototype.listeners = function listeners(type) {
401
+ var evlistener;
402
+ var ret;
403
+ var events = this._events;
404
+
405
+ if (!events)
406
+ ret = [];
407
+ else {
408
+ evlistener = events[type];
409
+ if (!evlistener)
410
+ ret = [];
411
+ else if (typeof evlistener === 'function')
412
+ ret = [evlistener.listener || evlistener];
413
+ else
414
+ ret = unwrapListeners(evlistener);
415
+ }
416
+
417
+ return ret;
418
+ };
419
+
420
+ EventEmitter.listenerCount = function(emitter, type) {
421
+ if (typeof emitter.listenerCount === 'function') {
422
+ return emitter.listenerCount(type);
423
+ } else {
424
+ return listenerCount.call(emitter, type);
425
+ }
426
+ };
427
+
428
+ EventEmitter.prototype.listenerCount = listenerCount;
429
+ function listenerCount(type) {
430
+ var events = this._events;
431
+
432
+ if (events) {
433
+ var evlistener = events[type];
434
+
435
+ if (typeof evlistener === 'function') {
436
+ return 1;
437
+ } else if (evlistener) {
438
+ return evlistener.length;
439
+ }
440
+ }
441
+
442
+ return 0;
443
+ }
444
+
445
+ EventEmitter.prototype.eventNames = function eventNames() {
446
+ return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
447
+ };
448
+
449
+ // About 1.5x faster than the two-arg version of Array#splice().
450
+ function spliceOne(list, index) {
451
+ for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)
452
+ list[i] = list[k];
453
+ list.pop();
454
+ }
455
+
456
+ function arrayClone(arr, i) {
457
+ var copy = new Array(i);
458
+ while (i--)
459
+ copy[i] = arr[i];
460
+ return copy;
461
+ }
462
+
463
+ function unwrapListeners(arr) {
464
+ var ret = new Array(arr.length);
465
+ for (var i = 0; i < ret.length; ++i) {
466
+ ret[i] = arr[i].listener || arr[i];
467
+ }
468
+ return ret;
469
+ }
470
+
6
471
  var utils = createCommonjsModule(function (module, exports) {
7
472
 
8
473
  Object.defineProperty(exports, "__esModule", {
@@ -1,7 +1,7 @@
1
1
  import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
2
 
3
3
  function _extends() {
4
- _extends = Object.assign || function (target) {
4
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
5
5
  for (var i = 1; i < arguments.length; i++) {
6
6
  var source = arguments[i];
7
7
 
@@ -14,7 +14,6 @@ function _extends() {
14
14
 
15
15
  return target;
16
16
  };
17
-
18
17
  return _extends.apply(this, arguments);
19
18
  }
20
19
 
@@ -34,19 +33,18 @@ function _objectWithoutPropertiesLoose(source, excluded) {
34
33
  }
35
34
 
36
35
  function _setPrototypeOf(o, p) {
37
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
36
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
38
37
  o.__proto__ = p;
39
38
  return o;
40
39
  };
41
-
42
40
  return _setPrototypeOf(o, p);
43
41
  }
44
42
 
45
43
  var classnames = createCommonjsModule(function (module) {
46
44
  /*!
47
- Copyright (c) 2018 Jed Watson.
48
- Licensed under the MIT License (MIT), see
49
- http://jedwatson.github.io/classnames
45
+ Copyright (c) 2018 Jed Watson.
46
+ Licensed under the MIT License (MIT), see
47
+ http://jedwatson.github.io/classnames
50
48
  */
51
49
  /* global define */
52
50
 
@@ -73,14 +71,15 @@ var classnames = createCommonjsModule(function (module) {
73
71
  }
74
72
  }
75
73
  } else if (argType === 'object') {
76
- if (arg.toString === Object.prototype.toString) {
77
- for (var key in arg) {
78
- if (hasOwn.call(arg, key) && arg[key]) {
79
- classes.push(key);
80
- }
81
- }
82
- } else {
74
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
83
75
  classes.push(arg.toString());
76
+ continue;
77
+ }
78
+
79
+ for (var key in arg) {
80
+ if (hasOwn.call(arg, key) && arg[key]) {
81
+ classes.push(key);
82
+ }
84
83
  }
85
84
  }
86
85
  }
package/dist/esm/index.js CHANGED
@@ -77,7 +77,7 @@ import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
77
77
  import { _ as _extends } from './extends-2f4448b8.js';
78
78
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
79
79
  import PropTypes from 'prop-types';
80
- import { m as momentTimezone } from './index-79cfd25c.js';
80
+ import { m as momentTimezone } from './index-4550ef23.js';
81
81
  import ProgressBar from 'react-bootstrap/ProgressBar';
82
82
  export { PixelTrackingArticle, PixelTrackingLandingPages } from './PixelTracking.js';
83
83
  export { default as ForbesHero } from './ForbesHero.js';
@@ -88,7 +88,7 @@ export { default as VerticalHero } from './VerticalHero.js';
88
88
  export { default as YahooHero } from './YahooHero.js';
89
89
  export { default as GridHero } from './GridHero.js';
90
90
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
91
- export { g as getSerializers } from './index-2fe6b5b1.js';
91
+ export { g as getSerializers } from './index-1d1bbc8c.js';
92
92
  export { default as Beam } from './Beam.js';
93
93
  export { default as Segment } from './Segment.js';
94
94
  export { default as KMTracker } from './KMTracker.js';
@@ -111,7 +111,7 @@ import './core.get-iterator-method-95db387d.js';
111
111
  import './web.dom.iterable-3fffc027.js';
112
112
  import './_is-array-68c79b29.js';
113
113
  import './_library-528f1934.js';
114
- import './moment-bc12cb97.js';
114
+ import './moment-48faeb9c.js';
115
115
  import './style-inject.es-1f59c1d0.js';
116
116
  import './BlockContent-1e73bd2c.js';
117
117
  import './index-3f5c03b2.js';
@@ -120,8 +120,7 @@ import './_iter-detect-2f89237f.js';
120
120
  import './inherits-96c84cbd.js';
121
121
  import './_object-sap-14bd8e96.js';
122
122
  import './define-property-433c51d3.js';
123
- import './index-f0fc23eb.js';
124
- import './events-6c3a7a63.js';
123
+ import './index-5cc7b406.js';
125
124
  import 'react-bootstrap/Container';
126
125
  import 'react-bootstrap/Card';
127
126
  import 'next/router';
@@ -131,16 +130,16 @@ import './toNumber-5aeba6e7.js';
131
130
  import './index.es-a6137319.js';
132
131
  import './visibility-sensor-72fd8f8b.js';
133
132
  import 'react-dom';
134
- import './main-f97773b2.js';
133
+ import './main-754d4992.js';
135
134
  import './entities-6d9154b4.js';
136
- import './ADInfeed-e8fc8fbb.js';
135
+ import './ADInfeed-41bba2c6.js';
137
136
  import './lodash-f97fd99a.js';
138
- import './ADlgInfeed-8a3c14d7.js';
137
+ import './ADlgInfeed-3c717ece.js';
139
138
  import './getContentCategory-15dcc413.js';
140
139
  import './get-3c308da4.js';
141
140
  import './eq-bdcbf886.js';
142
141
  import './AuthorComponent-d9653ae5.js';
143
- import './PublicationFeature-89b7afdb.js';
142
+ import './PublicationFeature-6c334891.js';
144
143
  import 'react-bootstrap/Button';
145
144
  import 'react-bootstrap/Media';
146
145
  import './react-social-icons-9be47857.js';
@@ -156,8 +155,7 @@ import './_object-to-array-9dfdfb29.js';
156
155
  import 'react-bootstrap/Spinner';
157
156
  import 'react-bootstrap/Form';
158
157
  import './js.cookie-6874175c.js';
159
- import './typeof-2f07d0e8.js';
160
- import './index-98ca9cec.js';
158
+ import './index-c8d5e72b.js';
161
159
  import './ConferenceBanner-8792ebd2.js';
162
160
  import 'next/head';
163
161
  import '@mjhls/mjh-framework/dist/cjs/urlFor';
@@ -171,7 +169,7 @@ import 'react-bootstrap/NavDropdown';
171
169
  import './index.esm-9b042655.js';
172
170
  import './NavFooter-4bcffccb.js';
173
171
  import './index.esm-9508070a.js';
174
- import './SocialSearchComponent-ae8da67e.js';
172
+ import './SocialSearchComponent-9e65c8d6.js';
175
173
  import 'react-bootstrap/FormControl';
176
174
  import 'react-ga';
177
175
  import 'react-bootstrap/Carousel';
@@ -180,7 +178,7 @@ import './keys-185288f4.js';
180
178
  import 'react-bootstrap/DropdownButton';
181
179
  import 'react-bootstrap/Dropdown';
182
180
  import './index.esm-1bd8a0a8.js';
183
- import './brightcove-react-player-loader.es-57a70a56.js';
181
+ import './brightcove-react-player-loader.es-a2422c4b.js';
184
182
  import './_set-species-7d3317b7.js';
185
183
  import './urlForFile-2e523b67.js';
186
184
  import 'react-bootstrap/Modal';
@@ -189,11 +187,11 @@ import 'react-bootstrap/Figure';
189
187
  import 'react-bootstrap/OverlayTrigger';
190
188
  import 'react-bootstrap/Tooltip';
191
189
  import 'react-bootstrap/Popover';
192
- import './SeriesSlider-7913a789.js';
190
+ import './SeriesSlider-acbdf4c9.js';
193
191
  import 'disqus-react';
194
192
  import 'react-twitter-embed';
195
- import './ImageSlider-9250ddc9.js';
196
- import './defineProperty-23a8f8cd.js';
193
+ import './ImageSlider-75f7b81a.js';
194
+ import './defineProperty-e8022d1e.js';
197
195
  import './VideoSeriesCard.js';
198
196
 
199
197
  //Feature query to be used