@mjhls/mjh-framework 1.0.1073-issue-test-v3 → 1.0.1073

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 (223) hide show
  1. package/README.md +168 -168
  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-0519664d.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-e544ac1c.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 +1409 -896
  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 +11 -12
  23. package/dist/cjs/ArticleSeriesListing.js +29 -30
  24. package/dist/cjs/AuthWrapper.js +315 -1497
  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 +68 -69
  29. package/dist/cjs/CMEDeck.js +61 -62
  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 +27 -27
  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 +67 -68
  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 +107 -107
  41. package/dist/cjs/ExternalResources.js +35 -36
  42. package/dist/cjs/Feature.js +17 -17
  43. package/dist/cjs/ForbesHero.js +25 -25
  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 +120 -120
  49. package/dist/cjs/Header.js +25 -25
  50. package/dist/cjs/HealthCareProfessionalModal.js +18 -18
  51. package/dist/cjs/Hero.js +6 -6
  52. package/dist/cjs/HighlightenVideo.js +13 -13
  53. package/dist/cjs/HorizontalArticleListing.js +29 -30
  54. package/dist/cjs/HorizontalHero.js +17 -17
  55. package/dist/cjs/{ImageSlider-294d3fc0.js → ImageSlider-62a43659.js} +221 -164
  56. package/dist/cjs/IssueContentDeck.js +49 -49
  57. package/dist/cjs/IssueDeck.js +48 -48
  58. package/dist/cjs/IssueLanding.js +50 -51
  59. package/dist/cjs/KMTracker.js +15 -15
  60. package/dist/cjs/LeftNav.js +17 -18
  61. package/dist/cjs/MasterDeck.js +47 -48
  62. package/dist/cjs/MasterDeckPaginated.js +37 -38
  63. package/dist/cjs/{MediaSeriesCard-1835d75a.js → MediaSeriesCard-a7e29435.js} +17 -17
  64. package/dist/cjs/MediaSeriesLanding.js +43 -44
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +42 -43
  66. package/dist/cjs/NavDvm.js +57 -57
  67. package/dist/cjs/{NavFooter-fa5fae05.js → NavFooter-b7b16d48.js} +11 -11
  68. package/dist/cjs/NavMagazine.js +116 -116
  69. package/dist/cjs/NavNative.js +106 -106
  70. package/dist/cjs/OncliveHero.js +11 -11
  71. package/dist/cjs/OncliveLargeHero.js +50 -50
  72. package/dist/cjs/PageFilter.js +5 -5
  73. package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
  74. package/dist/cjs/PartnerDetailListing.js +50 -52
  75. package/dist/cjs/PartnerDetailListingPaginated.js +49 -51
  76. package/dist/cjs/PdfDownload.js +4 -4
  77. package/dist/cjs/PixelTracking.js +9 -9
  78. package/dist/cjs/PodcastsLanding.js +23 -24
  79. package/dist/cjs/PopUpModal.js +9 -9
  80. package/dist/cjs/PtceDeck.js +13 -13
  81. package/dist/cjs/PubSection.js +14 -15
  82. package/dist/cjs/PubToc.js +4 -4
  83. package/dist/cjs/PublicationDeck.js +44 -44
  84. package/dist/cjs/{PublicationFeature-03de3225.js → PublicationFeature-e945bd55.js} +29 -29
  85. package/dist/cjs/PublicationLanding.js +101 -101
  86. package/dist/cjs/QueueDeckExpanded.js +246 -247
  87. package/dist/cjs/QueueDeckExpandedPaginated.js +223 -224
  88. package/dist/cjs/RecentNews.js +15 -15
  89. package/dist/cjs/RelatedContent.js +42 -42
  90. package/dist/cjs/RelatedTopicsDropdown.js +24 -24
  91. package/dist/cjs/RolesDeck.js +20 -20
  92. package/dist/cjs/Schema.js +1 -1
  93. package/dist/cjs/Search.js +6 -6
  94. package/dist/cjs/SeriesListingDeck.js +18 -19
  95. package/dist/cjs/{SeriesSlider-621d0cbb.js → SeriesSlider-edcb8e4b.js} +26 -26
  96. package/dist/cjs/SideFooter.js +20 -20
  97. package/dist/cjs/SocialIcons.js +6 -6
  98. package/dist/cjs/{SocialSearchComponent-f874175b.js → SocialSearchComponent-e9ec9c63.js} +28 -28
  99. package/dist/cjs/SocialShare.js +25 -25
  100. package/dist/cjs/TaxonomyCard.js +44 -44
  101. package/dist/cjs/TaxonomyDescription.js +12 -13
  102. package/dist/cjs/TemplateNormal.js +27 -28
  103. package/dist/cjs/ThumbnailCard.js +11 -11
  104. package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-980a1d1a.js} +493 -608
  105. package/dist/cjs/Ustream.js +9 -9
  106. package/dist/cjs/VerticalHero.js +10 -10
  107. package/dist/cjs/VideoProgramLandingPage.js +29 -30
  108. package/dist/cjs/VideoSeriesCard.js +14 -14
  109. package/dist/cjs/VideoSeriesFilter.js +5 -5
  110. package/dist/cjs/VideoSeriesLandingPage.js +11 -12
  111. package/dist/cjs/VideoSeriesListing.js +46 -47
  112. package/dist/cjs/View.js +238 -239
  113. package/dist/cjs/YahooHero.js +23 -23
  114. package/dist/cjs/YoutubeGroup.js +37 -37
  115. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
  116. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  117. package/dist/cjs/getQuery.js +1 -1
  118. package/dist/cjs/getSerializers.js +7 -8
  119. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  120. package/dist/cjs/getTargeting.js +1 -1
  121. package/dist/cjs/iconBase-be4097c0.js +2 -4
  122. package/dist/cjs/{index-ee8ef012.js → index-43275e6f.js} +485 -485
  123. package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
  124. package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
  125. package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
  126. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  127. package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
  128. package/dist/cjs/{index.esm-f51609ab.js → index.esm-2ea9e9ff.js} +14 -14
  129. package/dist/cjs/index.js +103 -106
  130. package/dist/cjs/{main-1ec1de84.js → main-47be4f9f.js} +13 -13
  131. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
  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 +1 -2
  136. package/dist/esm/AD300x250x600.js +1 -2
  137. package/dist/esm/AD728x90.js +1 -2
  138. package/dist/esm/ADFloatingFooter.js +1 -2
  139. package/dist/esm/ADGutter.js +1 -2
  140. package/dist/esm/ADSkyscraper.js +1 -2
  141. package/dist/esm/ADSponsoredResources.js +1 -2
  142. package/dist/esm/ADWebcast.js +1 -2
  143. package/dist/esm/ADWelcome.js +1 -2
  144. package/dist/esm/AdSlot.js +1 -2
  145. package/dist/esm/AdSlotsProvider.js +1 -2
  146. package/dist/esm/AlgoliaSearch.js +1026 -513
  147. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  148. package/dist/esm/ArticleSeriesLandingPage.js +3 -4
  149. package/dist/esm/ArticleSeriesListing.js +1 -2
  150. package/dist/esm/AuthWrapper.js +288 -1470
  151. package/dist/esm/CEDeckSupabase.js +2 -3
  152. package/dist/esm/CMEDeck.js +1 -2
  153. package/dist/esm/Column3.js +1 -2
  154. package/dist/esm/ConferenceArticleCard.js +15 -15
  155. package/dist/esm/ContentCardPaginated.js +4 -5
  156. package/dist/esm/DeckContent.js +11 -12
  157. package/dist/esm/DeckQueue.js +2 -3
  158. package/dist/esm/DeckQueuePaginated.js +3 -4
  159. package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
  160. package/dist/esm/EventsDeck.js +18 -18
  161. package/dist/esm/ExternalResources.js +4 -5
  162. package/dist/esm/GridContent.js +4 -5
  163. package/dist/esm/GridContentPaginated.js +5 -6
  164. package/dist/esm/GridHero.js +1 -1
  165. package/dist/esm/HamMagazine.js +9 -9
  166. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  167. package/dist/esm/Hero.js +1 -1
  168. package/dist/esm/HorizontalArticleListing.js +3 -4
  169. package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-aea3a615.js} +67 -10
  170. package/dist/esm/IssueLanding.js +34 -35
  171. package/dist/esm/KMTracker.js +15 -15
  172. package/dist/esm/LeftNav.js +1 -2
  173. package/dist/esm/MasterDeck.js +11 -12
  174. package/dist/esm/MasterDeckPaginated.js +12 -13
  175. package/dist/esm/{MediaSeriesCard-a7084d7c.js → MediaSeriesCard-b47e2393.js} +2 -2
  176. package/dist/esm/MediaSeriesLanding.js +13 -14
  177. package/dist/esm/MediaSeriesLandingPaginated.js +14 -15
  178. package/dist/esm/NavMagazine.js +10 -10
  179. package/dist/esm/NavNative.js +9 -9
  180. package/dist/esm/OncliveLargeHero.js +1 -1
  181. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  182. package/dist/esm/PartnerDetailListing.js +6 -8
  183. package/dist/esm/PartnerDetailListingPaginated.js +7 -9
  184. package/dist/esm/PodcastsLanding.js +6 -7
  185. package/dist/esm/PubSection.js +4 -5
  186. package/dist/esm/PublicationLanding.js +26 -26
  187. package/dist/esm/QueueDeckExpanded.js +4 -5
  188. package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
  189. package/dist/esm/RelatedContent.js +28 -28
  190. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  191. package/dist/esm/SeriesListingDeck.js +2 -3
  192. package/dist/esm/{SeriesSlider-07be99e0.js → SeriesSlider-2e83e861.js} +4 -4
  193. package/dist/esm/SideFooter.js +2 -2
  194. package/dist/esm/TaxonomyDescription.js +3 -4
  195. package/dist/esm/TemplateNormal.js +1 -2
  196. package/dist/esm/ThumbnailCard.js +1 -1
  197. package/dist/esm/{Tooltip-95655b44.js → Tooltip-51957f7c.js} +55 -170
  198. package/dist/esm/VideoProgramLandingPage.js +3 -4
  199. package/dist/esm/VideoSeriesCard.js +1 -1
  200. package/dist/esm/VideoSeriesLandingPage.js +3 -4
  201. package/dist/esm/VideoSeriesListing.js +1 -2
  202. package/dist/esm/View.js +7 -8
  203. package/dist/esm/YahooHero.js +1 -1
  204. package/dist/esm/YoutubeGroup.js +4 -4
  205. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  206. package/dist/esm/getQuery.js +1 -1
  207. package/dist/esm/getSerializers.js +3 -4
  208. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  209. package/dist/esm/getTargeting.js +1 -1
  210. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  211. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  212. package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
  213. package/dist/esm/{index-57eb68ee.js → index-983ef4ad.js} +2 -2
  214. package/dist/esm/index.js +10 -13
  215. package/package.json +116 -116
  216. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  217. package/dist/cjs/events-1b438fe7.js +0 -469
  218. package/dist/cjs/typeof-1358762e.js +0 -33
  219. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  220. package/dist/esm/events-6c3a7a63.js +0 -467
  221. package/dist/esm/typeof-2f07d0e8.js +0 -30
  222. /package/dist/esm/{ADInfeed-74cc728c.js → ADInfeed-c3f5613e.js} +0 -0
  223. /package/dist/esm/{ADlgInfeed-b6217567.js → ADlgInfeed-2b148f3f.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-98ca9cec.js';
1
+ import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-67e1773f.js';
2
2
  import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import ReactDOM from 'react-dom';
@@ -170,33 +170,15 @@ var AccordionToggle = React__default.forwardRef(function (_ref, ref) {
170
170
  }, props), children);
171
171
  });
172
172
 
173
- /**
174
- * Returns the owner document of a given element.
175
- *
176
- * @param node the element
177
- */
178
173
  function ownerDocument$1(node) {
179
174
  return node && node.ownerDocument || document;
180
175
  }
181
176
 
182
- /**
183
- * Returns the owner window of a given element.
184
- *
185
- * @param node the element
186
- */
187
-
188
177
  function ownerWindow(node) {
189
178
  var doc = ownerDocument$1(node);
190
179
  return doc && doc.defaultView || window;
191
180
  }
192
181
 
193
- /**
194
- * Returns one or all computed style properties of an element.
195
- *
196
- * @param node the element
197
- * @param psuedoElement the style property
198
- */
199
-
200
182
  function getComputedStyle$2(node, psuedoElement) {
201
183
  return ownerWindow(node).getComputedStyle(node, psuedoElement);
202
184
  }
@@ -277,11 +259,6 @@ try {
277
259
 
278
260
  /**
279
261
  * An `addEventListener` ponyfill, supports the `once` option
280
- *
281
- * @param node the element
282
- * @param eventName the event name
283
- * @param handle the handler
284
- * @param options event options
285
262
  */
286
263
  function addEventListener(node, eventName, handler, options) {
287
264
  if (options && typeof options !== 'boolean' && !onceSupported) {
@@ -304,14 +281,6 @@ function addEventListener(node, eventName, handler, options) {
304
281
  node.addEventListener(eventName, handler, options);
305
282
  }
306
283
 
307
- /**
308
- * A `removeEventListener` ponyfill
309
- *
310
- * @param node the element
311
- * @param eventName the event name
312
- * @param handle the handler
313
- * @param options event options
314
- */
315
284
  function removeEventListener(node, eventName, handler, options) {
316
285
  var capture = options && typeof options !== 'boolean' ? options.capture : options;
317
286
  node.removeEventListener(eventName, handler, capture);
@@ -328,36 +297,18 @@ function listen(node, eventName, handler, options) {
328
297
  };
329
298
  }
330
299
 
331
- /**
332
- * Triggers an event on a given element.
333
- *
334
- * @param node the element
335
- * @param eventName the event name to trigger
336
- * @param bubbles whether the event should bubble up
337
- * @param cancelable whether the event should be cancelable
338
- */
339
- function triggerEvent(node, eventName, bubbles, cancelable) {
340
- if (bubbles === void 0) {
341
- bubbles = false;
342
- }
343
-
344
- if (cancelable === void 0) {
345
- cancelable = true;
346
- }
347
-
348
- if (node) {
349
- var event = document.createEvent('HTMLEvents');
350
- event.initEvent(eventName, bubbles, cancelable);
351
- node.dispatchEvent(event);
352
- }
353
- }
354
-
355
300
  function parseDuration(node) {
356
301
  var str = style(node, 'transitionDuration') || '';
357
302
  var mult = str.indexOf('ms') === -1 ? 1000 : 1;
358
303
  return parseFloat(str) * mult;
359
304
  }
360
305
 
306
+ function triggerTransitionEnd(element) {
307
+ var evt = document.createEvent('HTMLEvents');
308
+ evt.initEvent('transitionend', true, true);
309
+ element.dispatchEvent(evt);
310
+ }
311
+
361
312
  function emulateTransitionEnd(element, duration, padding) {
362
313
  if (padding === void 0) {
363
314
  padding = 5;
@@ -365,7 +316,7 @@ function emulateTransitionEnd(element, duration, padding) {
365
316
 
366
317
  var called = false;
367
318
  var handle = setTimeout(function () {
368
- if (!called) triggerEvent(element, 'transitionend', true);
319
+ if (!called) triggerTransitionEnd(element);
369
320
  }, duration + padding);
370
321
  var remove = listen(element, 'transitionend', function () {
371
322
  called = true;
@@ -823,10 +774,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
823
774
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
824
775
  */
825
776
  nodeRef: PropTypes.shape({
826
- current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
827
- var value = propValue[key];
828
- return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
829
- }
777
+ current: typeof Element === 'undefined' ? PropTypes.any : PropTypes.instanceOf(Element)
830
778
  }),
831
779
 
832
780
  /**
@@ -2458,13 +2406,6 @@ function (_ref, ref) {
2458
2406
  Col.displayName = 'Col';
2459
2407
 
2460
2408
  var matchesImpl;
2461
- /**
2462
- * Checks if a given element matches a selector.
2463
- *
2464
- * @param node the element
2465
- * @param selector the selector
2466
- */
2467
-
2468
2409
  function matches(node, selector) {
2469
2410
  if (!matchesImpl) {
2470
2411
  var body = document.body;
@@ -2479,13 +2420,6 @@ function matches(node, selector) {
2479
2420
  }
2480
2421
 
2481
2422
  var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
2482
- /**
2483
- * Runs `querySelectorAll` on a given element.
2484
- *
2485
- * @param element the element
2486
- * @param selector the selector
2487
- */
2488
-
2489
2423
  function qsa(element, selector) {
2490
2424
  return toArray(element.querySelectorAll(selector));
2491
2425
  }
@@ -2619,6 +2553,45 @@ function getBasePlacement(placement) {
2619
2553
  return placement.split('-')[0];
2620
2554
  }
2621
2555
 
2556
+ function getBoundingClientRect(element) {
2557
+ var rect = element.getBoundingClientRect();
2558
+ return {
2559
+ width: rect.width,
2560
+ height: rect.height,
2561
+ top: rect.top,
2562
+ right: rect.right,
2563
+ bottom: rect.bottom,
2564
+ left: rect.left,
2565
+ x: rect.left,
2566
+ y: rect.top
2567
+ };
2568
+ }
2569
+
2570
+ // means it doesn't take into account transforms.
2571
+
2572
+ function getLayoutRect(element) {
2573
+ var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2574
+ // Fixes https://github.com/popperjs/popper-core/issues/1223
2575
+
2576
+ var width = element.offsetWidth;
2577
+ var height = element.offsetHeight;
2578
+
2579
+ if (Math.abs(clientRect.width - width) <= 1) {
2580
+ width = clientRect.width;
2581
+ }
2582
+
2583
+ if (Math.abs(clientRect.height - height) <= 1) {
2584
+ height = clientRect.height;
2585
+ }
2586
+
2587
+ return {
2588
+ x: element.offsetLeft,
2589
+ y: element.offsetTop,
2590
+ width: width,
2591
+ height: height
2592
+ };
2593
+ }
2594
+
2622
2595
  function getWindow(node) {
2623
2596
  if (node == null) {
2624
2597
  return window;
@@ -2652,59 +2625,6 @@ function isShadowRoot(node) {
2652
2625
  return node instanceof OwnElement || node instanceof ShadowRoot;
2653
2626
  }
2654
2627
 
2655
- var round$1 = Math.round;
2656
- function getBoundingClientRect(element, includeScale) {
2657
- if (includeScale === void 0) {
2658
- includeScale = false;
2659
- }
2660
-
2661
- var rect = element.getBoundingClientRect();
2662
- var scaleX = 1;
2663
- var scaleY = 1;
2664
-
2665
- if (isHTMLElement(element) && includeScale) {
2666
- // Fallback to 1 in case both values are `0`
2667
- scaleX = rect.width / element.offsetWidth || 1;
2668
- scaleY = rect.height / element.offsetHeight || 1;
2669
- }
2670
-
2671
- return {
2672
- width: round$1(rect.width / scaleX),
2673
- height: round$1(rect.height / scaleY),
2674
- top: round$1(rect.top / scaleY),
2675
- right: round$1(rect.right / scaleX),
2676
- bottom: round$1(rect.bottom / scaleY),
2677
- left: round$1(rect.left / scaleX),
2678
- x: round$1(rect.left / scaleX),
2679
- y: round$1(rect.top / scaleY)
2680
- };
2681
- }
2682
-
2683
- // means it doesn't take into account transforms.
2684
-
2685
- function getLayoutRect(element) {
2686
- var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2687
- // Fixes https://github.com/popperjs/popper-core/issues/1223
2688
-
2689
- var width = element.offsetWidth;
2690
- var height = element.offsetHeight;
2691
-
2692
- if (Math.abs(clientRect.width - width) <= 1) {
2693
- width = clientRect.width;
2694
- }
2695
-
2696
- if (Math.abs(clientRect.height - height) <= 1) {
2697
- height = clientRect.height;
2698
- }
2699
-
2700
- return {
2701
- x: element.offsetLeft,
2702
- y: element.offsetTop,
2703
- width: width,
2704
- height: height
2705
- };
2706
- }
2707
-
2708
2628
  function contains$1(parent, child) {
2709
2629
  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
2710
2630
 
@@ -3931,24 +3851,16 @@ function getNodeScroll(node) {
3931
3851
  }
3932
3852
  }
3933
3853
 
3934
- function isElementScaled(element) {
3935
- var rect = element.getBoundingClientRect();
3936
- var scaleX = rect.width / element.offsetWidth || 1;
3937
- var scaleY = rect.height / element.offsetHeight || 1;
3938
- return scaleX !== 1 || scaleY !== 1;
3939
- } // Returns the composite rect of an element relative to its offsetParent.
3940
3854
  // Composite means it takes into account transforms as well as layout.
3941
3855
 
3942
-
3943
3856
  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3944
3857
  if (isFixed === void 0) {
3945
3858
  isFixed = false;
3946
3859
  }
3947
3860
 
3948
- var isOffsetParentAnElement = isHTMLElement(offsetParent);
3949
- var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
3950
3861
  var documentElement = getDocumentElement(offsetParent);
3951
- var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
3862
+ var rect = getBoundingClientRect(elementOrVirtualElement);
3863
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
3952
3864
  var scroll = {
3953
3865
  scrollLeft: 0,
3954
3866
  scrollTop: 0
@@ -3965,7 +3877,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3965
3877
  }
3966
3878
 
3967
3879
  if (isHTMLElement(offsetParent)) {
3968
- offsets = getBoundingClientRect(offsetParent, true);
3880
+ offsets = getBoundingClientRect(offsetParent);
3969
3881
  offsets.x += offsetParent.clientLeft;
3970
3882
  offsets.y += offsetParent.clientTop;
3971
3883
  } else if (documentElement) {
@@ -4573,16 +4485,9 @@ function usePopper(referenceElement, popperElement, _temp) {
4573
4485
  }
4574
4486
 
4575
4487
  /* eslint-disable no-bitwise, no-cond-assign */
4576
-
4577
- /**
4578
- * Checks if an element contains another given element.
4579
- *
4580
- * @param context the context element
4581
- * @param node the element to check
4582
- */
4488
+ // HTML DOM and SVG DOM may have different support levels,
4489
+ // so we need to check on context instead of a document root element.
4583
4490
  function contains(context, node) {
4584
- // HTML DOM and SVG DOM may have different support levels,
4585
- // so we need to check on context instead of a document root element.
4586
4491
  if (context.contains) return context.contains(node);
4587
4492
  if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);
4588
4493
  }
@@ -5399,12 +5304,6 @@ function useWrappedRefWithWarning(ref, componentName) {
5399
5304
  return useMergedRefs(warningRef, ref);
5400
5305
  }
5401
5306
 
5402
- /**
5403
- * Checks if a given element has a CSS class.
5404
- *
5405
- * @param element the element
5406
- * @param className the CSS class name
5407
- */
5408
5307
  function hasClass(element, className) {
5409
5308
  if (element.classList) return !!className && element.classList.contains(className);
5410
5309
  return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
@@ -6844,9 +6743,9 @@ function scrollbarSize(recalc) {
6844
6743
  }
6845
6744
 
6846
6745
  /**
6847
- * Returns the actively focused element safely.
6746
+ * Return the actively focused element safely.
6848
6747
  *
6849
- * @param doc the document to check
6748
+ * @param doc the document to checl
6850
6749
  */
6851
6750
 
6852
6751
  function activeElement(doc) {
@@ -6868,13 +6767,6 @@ function activeElement(doc) {
6868
6767
  }
6869
6768
  }
6870
6769
 
6871
- /**
6872
- * Adds a CSS class to a given element.
6873
- *
6874
- * @param element the element
6875
- * @param className the CSS class name
6876
- */
6877
-
6878
6770
  function addClass(element, className) {
6879
6771
  if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
6880
6772
  }
@@ -6882,13 +6774,6 @@ function addClass(element, className) {
6882
6774
  function replaceClassName(origClass, classToRemove) {
6883
6775
  return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
6884
6776
  }
6885
- /**
6886
- * Removes a CSS class from a given element.
6887
- *
6888
- * @param element the element
6889
- * @param className the CSS class name
6890
- */
6891
-
6892
6777
 
6893
6778
  function removeClass(element, className) {
6894
6779
  if (element.classList) {
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-57eb68ee.js';
8
+ import { g as getSerializers } from './index-983ef4ad.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -18,8 +18,7 @@ import './index-3f5c03b2.js';
18
18
  import './slicedToArray-6ebcbfea.js';
19
19
  import 'react-bootstrap';
20
20
  import './urlFor.js';
21
- import './index-f0fc23eb.js';
22
- import './events-6c3a7a63.js';
21
+ import './index-5cc7b406.js';
23
22
  import 'next/router';
24
23
  import './index-c7e2ac95.js';
25
24
  import './Beam.js';
@@ -45,7 +44,7 @@ import 'next/head';
45
44
  import 'react-share';
46
45
  import './toConsumableArray-f7074d7c.js';
47
46
  import 'react-bootstrap/Pagination';
48
- import './entities-6d9154b4.js';
47
+ import './entities-932b50cf.js';
49
48
  import './AdSlot.js';
50
49
  import './debounce-533d9748.js';
51
50
  import './isSymbol-a7e9aafe.js';
@@ -15,7 +15,7 @@ import 'react-dom';
15
15
  import './slicedToArray-6ebcbfea.js';
16
16
  import './index-3f5c03b2.js';
17
17
 
18
- var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
18
+ var css = ".VideoSeriesCard-module_article__Hlc3e {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.VideoSeriesCard-module_article__Hlc3e a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ {\r\n width: 25%;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_published__1fI0q {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_summary__3hWJT {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o {\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o span {\r\n color: #6d6d6d;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .VideoSeriesCard-module_article__Hlc3e {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .VideoSeriesCard-module_article__Hlc3e a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ figure {\r\n margin: 0;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N {\r\n width: 90%;\r\n padding: 1rem !important;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N h2 {\r\n font-size: 1rem;\r\n }\r\n}\r\n";
19
19
  var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
20
20
  styleInject(css);
21
21
 
@@ -20,8 +20,7 @@ import './toConsumableArray-f7074d7c.js';
20
20
  import './inherits-d21b4ef9.js';
21
21
  import './_object-sap-7cee6f84.js';
22
22
  import './define-property-5f1bda73.js';
23
- import './index-f0fc23eb.js';
24
- import './events-6c3a7a63.js';
23
+ import './index-5cc7b406.js';
25
24
  import 'prop-types';
26
25
  import 'react-bootstrap/Container';
27
26
  import 'react-bootstrap/Row';
@@ -36,13 +35,13 @@ import './index.es-a6137319.js';
36
35
  import './visibility-sensor-72fd8f8b.js';
37
36
  import 'react-dom';
38
37
  import './index-3f5c03b2.js';
39
- import './ADlgInfeed-b6217567.js';
38
+ import './ADlgInfeed-2b148f3f.js';
40
39
  import './AdSlot.js';
41
40
  import './Beam.js';
42
41
  import './stringify-2b084bee.js';
43
42
  import './Segment.js';
44
43
  import './main-f97773b2.js';
45
- import './ADInfeed-74cc728c.js';
44
+ import './ADInfeed-c3f5613e.js';
46
45
  import './index-755f2cc2.js';
47
46
  import './urlFor.js';
48
47
  import './style-inject.es-1f59c1d0.js';
@@ -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/View.js CHANGED
@@ -15,10 +15,10 @@ import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-57eb68ee.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-983ef4ad.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-07be99e0.js';
21
- import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-2e83e861.js';
21
+ import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-a569a9cc.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
24
24
  import { u as urlForFile } from './urlForFile-f6485737.js';
@@ -32,7 +32,7 @@ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpe
32
32
  import { PixelTrackingArticle } from './PixelTracking.js';
33
33
  import { _ as _Object$keys } from './keys-31dcdb31.js';
34
34
  import { I as InfiniteScroll } from './index.es-a6137319.js';
35
- import { l as lib_3 } from './index-f0fc23eb.js';
35
+ import { l as lib_3 } from './index-5cc7b406.js';
36
36
  import getRelatedArticle from './getRelatedArticle.js';
37
37
  import getQuery from './getQuery.js';
38
38
  import getSeriesDetail from './getSeriesDetail.js';
@@ -57,7 +57,7 @@ import './GroupDeck.js';
57
57
  import './smoothscroll-fa4e3f8c.js';
58
58
  import './_is-array-8d21b9e3.js';
59
59
  import 'react-bootstrap/Pagination';
60
- import './entities-6d9154b4.js';
60
+ import './entities-932b50cf.js';
61
61
  import 'react-bootstrap/Row';
62
62
  import 'react-bootstrap/Col';
63
63
  import './inherits-d21b4ef9.js';
@@ -73,7 +73,6 @@ import './checkSisterSite-a7218fda.js';
73
73
  import './debounce-533d9748.js';
74
74
  import './isSymbol-a7e9aafe.js';
75
75
  import './toNumber-5aeba6e7.js';
76
- import './events-6c3a7a63.js';
77
76
 
78
77
  var getArticleSummary = function getArticleSummary(article) {
79
78
  if (article.summary && article.summary.length > 0) {
@@ -378,7 +377,7 @@ var ISI = function ISI(props) {
378
377
  );
379
378
  };
380
379
 
381
- var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
380
+ var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
382
381
  var styles$1 = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
383
382
  styleInject(css$1);
384
383
 
@@ -483,7 +482,7 @@ var FileSaver_min = createCommonjsModule(function (module, exports) {
483
482
 
484
483
  });
485
484
 
486
- var css = ".RecommendedArticles-module_recommendTitle__2kUji {\n border-bottom: 2px solid var(--secondary-blue);\n font-size: 1.5rem;\n font-weight: bold;\n color: #0d335a;\n padding: 0.5rem;\n}\n.RecommendedArticles-module_recommendContainer__sZukI {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n margin: 0 -0.5rem;\n}\n.RecommendedArticles-module_recommendTop__1_yqw {\n margin: 0.5rem;\n width: 100%;\n flex-basis: 100%;\n display: flex;\n\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu {\n min-width: 55%;\n width: 55%;\n height: 100%;\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.RecommendedArticles-module_recommendTopBody__-13FI {\n margin-left: 1rem;\n line-height: 1.3;\n color: #121212;\n display: flex;\n flex-direction: column;\n}\n.RecommendedArticles-module_topTitle__2EafN {\n font-size: 25px;\n font-weight: bold;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topBody__2_VNi {\n font-size: 19px;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topLink__2RnXu {\n font-size: 19px;\n color: rgb(43, 43, 151);\n text-decoration: underline;\n margin-top: auto;\n}\n.RecommendedArticles-module_smContainer__4byBO {\n width: calc(25% - 1rem);\n margin: 0 0.5rem;\n}\n.RecommendedArticles-module_smImage__TYZGY img {\n width: 100%;\n}\n.RecommendedArticles-module_title__3q1ud {\n margin-top: 1rem;\n line-height: 1.2;\n color: #121212;\n}\n.RecommendedArticles-module_category__2jRto {\n text-transform: uppercase;\n font-size: 16px;\n letter-spacing: 2px;\n margin: 0.25rem 0;\n}\n\n/* media query */\n\n@media screen and (max-width: 1399px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 21px;\n }\n .RecommendedArticles-module_topBody__2_VNi {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 1191px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 23px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 17px;\n }\n}\n@media screen and (max-width: 968px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 18px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 768px) {\n .RecommendedArticles-module_recommendTop__1_yqw {\n flex-direction: column;\n }\n .RecommendedArticles-module_recommendTopImg__1b9gu,\n .RecommendedArticles-module_recommendTopBody__-13FI {\n width: 100%;\n margin: 0;\n }\n .RecommendedArticles-module_recommendTopBody__-13FI {\n margin-bottom: 1rem;\n }\n .RecommendedArticles-module_smContainer__4byBO {\n width: calc(50% - 1rem);\n }\n}";
485
+ var css = ".RecommendedArticles-module_recommendTitle__2kUji {\r\n border-bottom: 2px solid var(--secondary-blue);\r\n font-size: 1.5rem;\r\n font-weight: bold;\r\n color: #0d335a;\r\n padding: 0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendContainer__sZukI {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n margin: 0 -0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendTop__1_yqw {\r\n margin: 0.5rem;\r\n width: 100%;\r\n flex-basis: 100%;\r\n display: flex;\r\n\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu {\r\n min-width: 55%;\r\n width: 55%;\r\n height: 100%;\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n}\r\n.RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-left: 1rem;\r\n line-height: 1.3;\r\n color: #121212;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 25px;\r\n font-weight: bold;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 19px;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 19px;\r\n color: rgb(43, 43, 151);\r\n text-decoration: underline;\r\n margin-top: auto;\r\n}\r\n.RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(25% - 1rem);\r\n margin: 0 0.5rem;\r\n}\r\n.RecommendedArticles-module_smImage__TYZGY img {\r\n width: 100%;\r\n}\r\n.RecommendedArticles-module_title__3q1ud {\r\n margin-top: 1rem;\r\n line-height: 1.2;\r\n color: #121212;\r\n}\r\n.RecommendedArticles-module_category__2jRto {\r\n text-transform: uppercase;\r\n font-size: 16px;\r\n letter-spacing: 2px;\r\n margin: 0.25rem 0;\r\n}\r\n\r\n/* media query */\r\n\r\n@media screen and (max-width: 1399px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 21px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 1191px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 23px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 17px;\r\n }\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 18px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 768px) {\r\n .RecommendedArticles-module_recommendTop__1_yqw {\r\n flex-direction: column;\r\n }\r\n .RecommendedArticles-module_recommendTopImg__1b9gu,\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n width: 100%;\r\n margin: 0;\r\n }\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-bottom: 1rem;\r\n }\r\n .RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(50% - 1rem);\r\n }\r\n}";
487
486
  var styles = { "recommendTitle": "RecommendedArticles-module_recommendTitle__2kUji", "recommendContainer": "RecommendedArticles-module_recommendContainer__sZukI", "recommendTop": "RecommendedArticles-module_recommendTop__1_yqw", "recommendTopImg": "RecommendedArticles-module_recommendTopImg__1b9gu", "recommendTopBody": "RecommendedArticles-module_recommendTopBody__-13FI", "topTitle": "RecommendedArticles-module_topTitle__2EafN", "topBody": "RecommendedArticles-module_topBody__2_VNi", "topLink": "RecommendedArticles-module_topLink__2RnXu", "smContainer": "RecommendedArticles-module_smContainer__4byBO", "smImage": "RecommendedArticles-module_smImage__TYZGY", "title": "RecommendedArticles-module_title__3q1ud", "category": "RecommendedArticles-module_category__2jRto" };
488
487
  styleInject(css);
489
488
 
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-6d9154b4.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
5
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
6
6
  import { L as LazyLoad } from './index-755f2cc2.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
@@ -13,10 +13,10 @@ import 'prop-types';
13
13
  import './extends-1559c147.js';
14
14
  import './index-3f5c03b2.js';
15
15
 
16
- /*
17
- GROQ query -
18
- accepts an array of title, URL
19
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
16
+ /*
17
+ GROQ query -
18
+ accepts an array of title, URL
19
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
20
20
  */
21
21
 
22
22
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -58,10 +58,6 @@ var striptags = createCommonjsModule(function (module) {
58
58
  }
59
59
 
60
60
  function striptags_internal(html, context) {
61
- if (typeof html != "string") {
62
- throw new TypeError("'html' parameter must be a string");
63
- }
64
-
65
61
  let allowable_tags = context.allowable_tags;
66
62
  let tag_replacement = context.tag_replacement;
67
63
 
@@ -13,7 +13,7 @@ var getQuery = function getQuery(type) {
13
13
  case 'article':
14
14
  return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n disableNativeAds,\n issueGroup-> { _id, name, identifier, showIssueNameOnly, showPageNumber, risMapping, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n hideThumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n pixelTrackingCode->,\n pixelTrackingArticleDetail,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
15
15
  case 'publication':
16
- return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] | order(published desc) {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->}\n }\n }';
16
+ return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->}\n } | order(year desc, month desc)\n }';
17
17
  case 'issue':
18
18
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && is_visible != false\n && identifier.current == $issue][0] {\n ...,\n pixelTrackingCode->,\n pixelTrackingArticleDetail,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n thumbnail{ ..., asset-> },\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
19
19
  case 'externalResources':
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
- export { g as default } from './index-57eb68ee.js';
2
+ export { g as default } from './index-983ef4ad.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
- import './entities-6d9154b4.js';
4
+ import './entities-932b50cf.js';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './web.dom.iterable-ab4dea5c.js';
@@ -10,8 +10,7 @@ import 'react-bootstrap';
10
10
  import './urlFor.js';
11
11
  import './extends-1559c147.js';
12
12
  import './index-3f5c03b2.js';
13
- import './index-f0fc23eb.js';
14
- import './events-6c3a7a63.js';
13
+ import './index-5cc7b406.js';
15
14
  import 'prop-types';
16
15
  import 'next/router';
17
16
  import './index-c7e2ac95.js';
@@ -2,18 +2,18 @@ import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
14
+ cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {