@mjhls/mjh-framework 1.0.992-publication-test → 1.0.992

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 (145) hide show
  1. package/dist/cjs/AlgoliaSearch.js +18 -142
  2. package/dist/cjs/Auth.js +17 -20
  3. package/dist/cjs/AuthWrapper.js +12 -18
  4. package/dist/cjs/CMEDeck.js +1 -5
  5. package/dist/cjs/Column1.js +1 -1
  6. package/dist/cjs/Column2.js +1 -1
  7. package/dist/cjs/Column3.js +1 -1
  8. package/dist/cjs/ContentCardPaginated.js +2 -1
  9. package/dist/cjs/DeckQueuePaginated.js +2 -1
  10. package/dist/cjs/Dfp-9be904d5.js +1 -1
  11. package/dist/cjs/GridContentPaginated.js +2 -1
  12. package/dist/cjs/HamMagazine.js +1 -1
  13. package/dist/cjs/Header.js +1 -1
  14. package/dist/cjs/LeftNav.js +1 -1
  15. package/dist/cjs/MasterDeckPaginated.js +2 -1
  16. package/dist/cjs/{MediaSeriesCard-a9755b4a.js → MediaSeriesCard-9677fbc3.js} +42 -64
  17. package/dist/cjs/MediaSeriesLanding.js +1 -1
  18. package/dist/cjs/MediaSeriesLandingPaginated.js +3 -2
  19. package/dist/cjs/NavDvm.js +1 -1
  20. package/dist/cjs/NavMagazine.js +1 -1
  21. package/dist/cjs/NavNative.js +1 -1
  22. package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
  23. package/dist/cjs/PartnerDetailListingPaginated.js +2 -1
  24. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
  25. package/dist/cjs/View.js +4 -8
  26. package/dist/cjs/getQuery.js +2 -6
  27. package/dist/cjs/getRelatedArticle.js +0 -1
  28. package/dist/cjs/index.js +1 -0
  29. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  30. package/dist/esm/AD.js +1 -1
  31. package/dist/esm/AD300x250.js +1 -1
  32. package/dist/esm/AD300x250x600.js +1 -1
  33. package/dist/esm/AD728x90.js +1 -1
  34. package/dist/esm/ADFloatingFooter.js +1 -1
  35. package/dist/esm/ADFooter.js +1 -1
  36. package/dist/esm/ADGutter.js +1 -1
  37. package/dist/esm/ADSkyscraper.js +1 -1
  38. package/dist/esm/ADSponsoredResources.js +1 -1
  39. package/dist/esm/ADWebcast.js +1 -1
  40. package/dist/esm/ADWelcome.js +1 -1
  41. package/dist/esm/AccordionPanel.js +1 -1
  42. package/dist/esm/AdSlot.js +1 -1
  43. package/dist/esm/AdSlotsProvider.js +1 -1
  44. package/dist/esm/AlgoliaSearch.js +20 -144
  45. package/dist/esm/AlphabeticList.js +1 -1
  46. package/dist/esm/ArticleCarousel.js +1 -1
  47. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  48. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  49. package/dist/esm/ArticleSeriesListing.js +1 -1
  50. package/dist/esm/Auth.js +18 -20
  51. package/dist/esm/AuthWrapper.js +13 -19
  52. package/dist/esm/Beam.js +1 -1
  53. package/dist/esm/Breadcrumbs.js +1 -1
  54. package/dist/esm/CMEDeck.js +2 -6
  55. package/dist/esm/Column1.js +2 -1
  56. package/dist/esm/Column2.js +2 -1
  57. package/dist/esm/Column3.js +2 -1
  58. package/dist/esm/ConferenceArticleCard.js +1 -1
  59. package/dist/esm/ContentCardPaginated.js +3 -2
  60. package/dist/esm/DeckContent.js +1 -1
  61. package/dist/esm/DeckQueue.js +1 -1
  62. package/dist/esm/DeckQueuePaginated.js +3 -2
  63. package/dist/esm/Dfp-102f0beb.js +1 -1
  64. package/dist/esm/EventsDeck.js +1 -1
  65. package/dist/esm/ExternalResources.js +1 -1
  66. package/dist/esm/Feature.js +1 -1
  67. package/dist/esm/ForbesHero.js +1 -1
  68. package/dist/esm/GridContent.js +1 -1
  69. package/dist/esm/GridContentPaginated.js +3 -2
  70. package/dist/esm/GridHero.js +1 -1
  71. package/dist/esm/GroupDeck.js +1 -1
  72. package/dist/esm/HamMagazine.js +2 -1
  73. package/dist/esm/Header.js +2 -1
  74. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  75. package/dist/esm/Hero.js +1 -1
  76. package/dist/esm/HighlightenVideo.js +1 -1
  77. package/dist/esm/HorizontalArticleListing.js +1 -1
  78. package/dist/esm/HorizontalHero.js +1 -1
  79. package/dist/esm/IssueContentDeck.js +1 -1
  80. package/dist/esm/IssueDeck.js +1 -1
  81. package/dist/esm/IssueLanding.js +1 -1
  82. package/dist/esm/KMTracker.js +1 -1
  83. package/dist/esm/LeftNav.js +2 -1
  84. package/dist/esm/MasterDeck.js +1 -1
  85. package/dist/esm/MasterDeckPaginated.js +3 -2
  86. package/dist/esm/{MediaSeriesCard-f68f8e63.js → MediaSeriesCard-8b14906f.js} +42 -64
  87. package/dist/esm/MediaSeriesLanding.js +2 -2
  88. package/dist/esm/MediaSeriesLandingPaginated.js +4 -3
  89. package/dist/esm/NavDvm.js +2 -1
  90. package/dist/esm/NavMagazine.js +2 -1
  91. package/dist/esm/NavNative.js +2 -1
  92. package/dist/esm/OncliveHero.js +1 -1
  93. package/dist/esm/OncliveLargeHero.js +1 -1
  94. package/dist/esm/PageFilter.js +1 -1
  95. package/dist/esm/Pagination-cd21f8c2.js +82 -0
  96. package/dist/esm/PartnerDetailListing.js +1 -1
  97. package/dist/esm/PartnerDetailListingPaginated.js +3 -2
  98. package/dist/esm/PdfDownload.js +1 -1
  99. package/dist/esm/PopUpModal.js +1 -1
  100. package/dist/esm/PtceDeck.js +1 -1
  101. package/dist/esm/PubSection.js +1 -1
  102. package/dist/esm/PubToc.js +1 -1
  103. package/dist/esm/PublicationDeck.js +1 -1
  104. package/dist/esm/PublicationLanding.js +1 -1
  105. package/dist/esm/QueueDeckExpanded.js +1 -1
  106. package/dist/esm/QueueDeckExpandedPaginated.js +3 -2
  107. package/dist/esm/RecentNews.js +1 -1
  108. package/dist/esm/RelatedContent.js +1 -1
  109. package/dist/esm/RelatedTopicsDropdown.js +1 -1
  110. package/dist/esm/RolesDeck.js +1 -1
  111. package/dist/esm/Schema.js +1 -1
  112. package/dist/esm/Search.js +1 -1
  113. package/dist/esm/Segment.js +1 -1
  114. package/dist/esm/SeriesListingDeck.js +1 -1
  115. package/dist/esm/SetCookie.js +1 -1
  116. package/dist/esm/SideFooter.js +1 -1
  117. package/dist/esm/SocialIcons.js +1 -1
  118. package/dist/esm/SocialShare.js +1 -1
  119. package/dist/esm/TaxonomyCard.js +1 -1
  120. package/dist/esm/TaxonomyDescription.js +1 -1
  121. package/dist/esm/TemplateNormal.js +1 -1
  122. package/dist/esm/ThumbnailCard.js +1 -1
  123. package/dist/esm/Ustream.js +1 -1
  124. package/dist/esm/VerticalHero.js +1 -1
  125. package/dist/esm/VideoProgramLandingPage.js +1 -1
  126. package/dist/esm/VideoSeriesCard.js +1 -1
  127. package/dist/esm/VideoSeriesFilter.js +1 -1
  128. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  129. package/dist/esm/VideoSeriesListing.js +1 -1
  130. package/dist/esm/View.js +4 -9
  131. package/dist/esm/YahooHero.js +1 -1
  132. package/dist/esm/YoutubeGroup.js +1 -1
  133. package/dist/esm/getKeywords.js +1 -1
  134. package/dist/esm/getQuery.js +3 -7
  135. package/dist/esm/getRelatedArticle.js +1 -2
  136. package/dist/esm/getRootDocGroup.js +1 -1
  137. package/dist/esm/getSeriesDetail.js +1 -1
  138. package/dist/esm/index.js +1 -0
  139. package/dist/esm/stringify-2b084bee.js +1 -1
  140. package/dist/esm/timeDifferenceCalc.js +1 -1
  141. package/dist/esm/urlFor.js +1 -1
  142. package/dist/esm/ustream-api-d3714624.js +1 -1
  143. package/package.json +1 -1
  144. package/dist/cjs/Pagination-2a3d0103.js +0 -97
  145. package/dist/esm/Pagination-dc30727b.js +0 -90
@@ -309,11 +309,7 @@ var CMEDeck = function CMEDeck(_ref) {
309
309
  return React__default.createElement(
310
310
  'div',
311
311
  { className: 'd-flex justify-content-between' },
312
- currentPage && currentPage > 1 && React__default.createElement(
313
- 'a',
314
- { href: '?page=' + (currentPage - 1) },
315
- '<< Previous'
316
- ),
312
+ currentPage > 1 ,
317
313
  React__default.createElement(
318
314
  'a',
319
315
  { href: '?page=' + (currentPage + 1) },
@@ -439,4 +435,4 @@ var CMEDeck = function CMEDeck(_ref) {
439
435
  }
440
436
  };
441
437
 
442
- export { CMEDeck as default };
438
+ export default CMEDeck;
@@ -25,4 +25,5 @@ var Column1 = function Column1(props) {
25
25
  );
26
26
  };
27
27
 
28
- export { Column1, Column1 as default };
28
+ export default Column1;
29
+ export { Column1 };
@@ -61,4 +61,5 @@ var Column2 = function Column2(props) {
61
61
  );
62
62
  };
63
63
 
64
- export { Column2, Column2 as default };
64
+ export default Column2;
65
+ export { Column2 };
@@ -131,4 +131,5 @@ var Column3 = function Column3(props) {
131
131
  );
132
132
  };
133
133
 
134
- export { Column3, Column3 as default };
134
+ export default Column3;
135
+ export { Column3 };
@@ -84,4 +84,4 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
84
84
  );
85
85
  };
86
86
 
87
- export { ConferenceArticleCard as default };
87
+ export default ConferenceArticleCard;
@@ -15,7 +15,7 @@ import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { m as main_43 } from './main-1894c974.js';
16
16
  import { c as clean_html_1 } from './entities-6d9154b4.js';
17
17
  import { A as ADInfeed } from './ADInfeed-5765a73a.js';
18
- import { P as Pagination } from './Pagination-dc30727b.js';
18
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
19
19
  import Spinner from 'react-bootstrap/Spinner';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
@@ -39,6 +39,7 @@ import './toNumber-5aeba6e7.js';
39
39
  import './Beam.js';
40
40
  import './stringify-2b084bee.js';
41
41
  import './Segment.js';
42
+ import 'react-paginate';
42
43
  import 'react-bootstrap/Button';
43
44
  import './index.esm-1bd8a0a8.js';
44
45
  import './iconBase-ccc56b97.js';
@@ -403,4 +404,4 @@ var DeckContent = function (_React$Component) {
403
404
 
404
405
  var ContentCardPaginated = withRouter(DeckContent);
405
406
 
406
- export { ContentCardPaginated as default };
407
+ export default ContentCardPaginated;
@@ -495,4 +495,4 @@ var DeckContent = function (_React$Component) {
495
495
 
496
496
  var ContentCard = withRouter(DeckContent);
497
497
 
498
- export { ContentCard as default };
498
+ export default ContentCard;
@@ -391,4 +391,4 @@ var DeckQueue = function (_React$Component) {
391
391
 
392
392
  var Queue = withRouter(DeckQueue);
393
393
 
394
- export { Queue as default };
394
+ export default Queue;
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
16
16
  import { m as main_43 } from './main-1894c974.js';
17
17
  import urlFor from './urlFor.js';
18
18
  import { c as clean_html_1 } from './entities-6d9154b4.js';
19
- import { P as Pagination } from './Pagination-dc30727b.js';
19
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './web.dom.iterable-ab4dea5c.js';
@@ -34,6 +34,7 @@ import './isSymbol-a7e9aafe.js';
34
34
  import './eq-bdcbf886.js';
35
35
  import './slicedToArray-6ebcbfea.js';
36
36
  import './index-3f5c03b2.js';
37
+ import 'react-paginate';
37
38
  import 'react-bootstrap/Button';
38
39
  import './index.esm-1bd8a0a8.js';
39
40
  import './iconBase-ccc56b97.js';
@@ -334,4 +335,4 @@ var DeckQueue = function (_React$Component) {
334
335
 
335
336
  var QueuePaginated = withRouter(DeckQueue);
336
337
 
337
- export { QueuePaginated as default };
338
+ export default QueuePaginated;
@@ -94,4 +94,4 @@ AD.propTypes = {
94
94
  minInViewPercent: PropTypes.number
95
95
  };
96
96
 
97
- export { AD as default };
97
+ export default AD;
@@ -841,4 +841,4 @@ var EventsDeck = function EventsDeck(_ref) {
841
841
  }
842
842
  };
843
843
 
844
- export { EventsDeck as default };
844
+ export default EventsDeck;
@@ -209,4 +209,4 @@ var ExternalResources = function ExternalResources(props) {
209
209
  );
210
210
  };
211
211
 
212
- export { ExternalResources as default };
212
+ export default ExternalResources;
@@ -119,4 +119,4 @@ var Feature = function Feature(props) {
119
119
  );
120
120
  };
121
121
 
122
- export { Feature as default };
122
+ export default Feature;
@@ -128,4 +128,4 @@ var fbsHero = function fbsHero(props) {
128
128
  );
129
129
  };
130
130
 
131
- export { fbsHero as default };
131
+ export default fbsHero;
@@ -816,4 +816,4 @@ var GridContent = function (_React$Component) {
816
816
 
817
817
  var GridContent$1 = React__default.memo(withRouter(GridContent));
818
818
 
819
- export { GridContent$1 as default };
819
+ export default GridContent$1;
@@ -22,7 +22,7 @@ import urlFor from './urlFor.js';
22
22
  import { m as main_43 } from './main-1894c974.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
25
- import { P as Pagination } from './Pagination-dc30727b.js';
25
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
26
26
  import Spinner from 'react-bootstrap/Spinner';
27
27
  import './_commonjsHelpers-0c4b6f40.js';
28
28
  import './core.get-iterator-method-ea258bb1.js';
@@ -47,6 +47,7 @@ import './Segment.js';
47
47
  import './eq-bdcbf886.js';
48
48
  import './index-3f5c03b2.js';
49
49
  import 'react-bootstrap/Button';
50
+ import 'react-paginate';
50
51
  import './index.esm-1bd8a0a8.js';
51
52
  import './iconBase-ccc56b97.js';
52
53
 
@@ -690,4 +691,4 @@ var GridContent = function (_React$Component) {
690
691
 
691
692
  var GridContentPaginated = React__default.memo(withRouter(GridContent));
692
693
 
693
- export { GridContentPaginated as default };
694
+ export default GridContentPaginated;
@@ -138,4 +138,4 @@ var GridHero = function GridHero(props) {
138
138
  );
139
139
  };
140
140
 
141
- export { GridHero as default };
141
+ export default GridHero;
@@ -305,4 +305,4 @@ var GroupDeck = function GroupDeck(props) {
305
305
  );
306
306
  };
307
307
 
308
- export { GroupDeck as default };
308
+ export default GroupDeck;
@@ -586,4 +586,5 @@ var HamMagazine = function HamMagazine(props) {
586
586
  );
587
587
  };
588
588
 
589
- export { HamMagazine, HamMagazine as default };
589
+ export default HamMagazine;
590
+ export { HamMagazine };
@@ -26,4 +26,5 @@ var Header = function Header(props) {
26
26
 
27
27
  var Header$1 = React__default.memo(Header);
28
28
 
29
- export { Header, Header$1 as default };
29
+ export default Header$1;
30
+ export { Header };
@@ -67,4 +67,4 @@ var HealthcareProfessionalModal = function HealthcareProfessionalModal(_ref) {
67
67
  );
68
68
  };
69
69
 
70
- export { HealthcareProfessionalModal as default };
70
+ export default HealthcareProfessionalModal;
package/dist/esm/Hero.js CHANGED
@@ -39,4 +39,4 @@ var Hero = function Hero(_ref) {
39
39
  );
40
40
  };
41
41
 
42
- export { Hero as default };
42
+ export default Hero;
@@ -60,4 +60,4 @@ var HighlightenVideo = function HighlightenVideo(_ref) {
60
60
  }
61
61
  };
62
62
 
63
- export { HighlightenVideo as default };
63
+ export default HighlightenVideo;
@@ -158,4 +158,4 @@ function HorizontalArticleListing(_ref) {
158
158
  );
159
159
  }
160
160
 
161
- export { HorizontalArticleListing as default };
161
+ export default HorizontalArticleListing;
@@ -102,4 +102,4 @@ var HorizontalHero = function HorizontalHero(props) {
102
102
  );
103
103
  };
104
104
 
105
- export { HorizontalHero as default };
105
+ export default HorizontalHero;
@@ -228,4 +228,4 @@ var IssueContentDeck = function IssueContentDeck(props) {
228
228
  );
229
229
  };
230
230
 
231
- export { IssueContentDeck as default };
231
+ export default IssueContentDeck;
@@ -255,4 +255,4 @@ var IssueDeck = function IssueDeck(props) {
255
255
  );
256
256
  };
257
257
 
258
- export { IssueDeck as default };
258
+ export default IssueDeck;
@@ -165,4 +165,4 @@ var IssueLanding = function IssueLanding(props) {
165
165
  );
166
166
  };
167
167
 
168
- export { IssueLanding as default };
168
+ export default IssueLanding;
@@ -22,4 +22,4 @@ var KMTracker = function KMTracker(props) {
22
22
  }
23
23
  };
24
24
 
25
- export { KMTracker as default };
25
+ export default KMTracker;
@@ -133,4 +133,5 @@ var LeftNav = function LeftNav(props) {
133
133
 
134
134
  var LeftNav$1 = React__default.memo(LeftNav);
135
135
 
136
- export { LeftNav, LeftNav$1 as default };
136
+ export default LeftNav$1;
137
+ export { LeftNav };
@@ -546,4 +546,4 @@ var MasterDeck = function (_React$Component) {
546
546
 
547
547
  var MasterDeck$1 = withRouter(MasterDeck);
548
548
 
549
- export { MasterDeck$1 as default };
549
+ export default MasterDeck$1;
@@ -12,7 +12,7 @@ import { l as lodash } from './lodash-f97fd99a.js';
12
12
  import { m as main_43 } from './main-1894c974.js';
13
13
  import { A as ADlgInfeed } from './ADlgInfeed-5e36f317.js';
14
14
  import { A as ADInfeed } from './ADInfeed-5765a73a.js';
15
- import { P as Pagination } from './Pagination-dc30727b.js';
15
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
@@ -33,6 +33,7 @@ import './isSymbol-a7e9aafe.js';
33
33
  import './toNumber-5aeba6e7.js';
34
34
  import './Beam.js';
35
35
  import './Segment.js';
36
+ import 'react-paginate';
36
37
  import 'react-bootstrap/Button';
37
38
  import './index.esm-1bd8a0a8.js';
38
39
  import './iconBase-ccc56b97.js';
@@ -458,4 +459,4 @@ var MasterDeck = function (_React$Component) {
458
459
 
459
460
  var MasterDeck$1 = withRouter(MasterDeck);
460
461
 
461
- export { MasterDeck$1 as default };
462
+ export default MasterDeck$1;
@@ -2626,6 +2626,45 @@ function getBasePlacement(placement) {
2626
2626
  return placement.split('-')[0];
2627
2627
  }
2628
2628
 
2629
+ function getBoundingClientRect(element) {
2630
+ var rect = element.getBoundingClientRect();
2631
+ return {
2632
+ width: rect.width,
2633
+ height: rect.height,
2634
+ top: rect.top,
2635
+ right: rect.right,
2636
+ bottom: rect.bottom,
2637
+ left: rect.left,
2638
+ x: rect.left,
2639
+ y: rect.top
2640
+ };
2641
+ }
2642
+
2643
+ // means it doesn't take into account transforms.
2644
+
2645
+ function getLayoutRect(element) {
2646
+ var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2647
+ // Fixes https://github.com/popperjs/popper-core/issues/1223
2648
+
2649
+ var width = element.offsetWidth;
2650
+ var height = element.offsetHeight;
2651
+
2652
+ if (Math.abs(clientRect.width - width) <= 1) {
2653
+ width = clientRect.width;
2654
+ }
2655
+
2656
+ if (Math.abs(clientRect.height - height) <= 1) {
2657
+ height = clientRect.height;
2658
+ }
2659
+
2660
+ return {
2661
+ x: element.offsetLeft,
2662
+ y: element.offsetTop,
2663
+ width: width,
2664
+ height: height
2665
+ };
2666
+ }
2667
+
2629
2668
  function getWindow(node) {
2630
2669
  if (node == null) {
2631
2670
  return window;
@@ -2659,59 +2698,6 @@ function isShadowRoot(node) {
2659
2698
  return node instanceof OwnElement || node instanceof ShadowRoot;
2660
2699
  }
2661
2700
 
2662
- var round$1 = Math.round;
2663
- function getBoundingClientRect(element, includeScale) {
2664
- if (includeScale === void 0) {
2665
- includeScale = false;
2666
- }
2667
-
2668
- var rect = element.getBoundingClientRect();
2669
- var scaleX = 1;
2670
- var scaleY = 1;
2671
-
2672
- if (isHTMLElement(element) && includeScale) {
2673
- // Fallback to 1 in case both values are `0`
2674
- scaleX = rect.width / element.offsetWidth || 1;
2675
- scaleY = rect.height / element.offsetHeight || 1;
2676
- }
2677
-
2678
- return {
2679
- width: round$1(rect.width / scaleX),
2680
- height: round$1(rect.height / scaleY),
2681
- top: round$1(rect.top / scaleY),
2682
- right: round$1(rect.right / scaleX),
2683
- bottom: round$1(rect.bottom / scaleY),
2684
- left: round$1(rect.left / scaleX),
2685
- x: round$1(rect.left / scaleX),
2686
- y: round$1(rect.top / scaleY)
2687
- };
2688
- }
2689
-
2690
- // means it doesn't take into account transforms.
2691
-
2692
- function getLayoutRect(element) {
2693
- var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2694
- // Fixes https://github.com/popperjs/popper-core/issues/1223
2695
-
2696
- var width = element.offsetWidth;
2697
- var height = element.offsetHeight;
2698
-
2699
- if (Math.abs(clientRect.width - width) <= 1) {
2700
- width = clientRect.width;
2701
- }
2702
-
2703
- if (Math.abs(clientRect.height - height) <= 1) {
2704
- height = clientRect.height;
2705
- }
2706
-
2707
- return {
2708
- x: element.offsetLeft,
2709
- y: element.offsetTop,
2710
- width: width,
2711
- height: height
2712
- };
2713
- }
2714
-
2715
2701
  function contains$1(parent, child) {
2716
2702
  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
2717
2703
 
@@ -3938,24 +3924,16 @@ function getNodeScroll(node) {
3938
3924
  }
3939
3925
  }
3940
3926
 
3941
- function isElementScaled(element) {
3942
- var rect = element.getBoundingClientRect();
3943
- var scaleX = rect.width / element.offsetWidth || 1;
3944
- var scaleY = rect.height / element.offsetHeight || 1;
3945
- return scaleX !== 1 || scaleY !== 1;
3946
- } // Returns the composite rect of an element relative to its offsetParent.
3947
3927
  // Composite means it takes into account transforms as well as layout.
3948
3928
 
3949
-
3950
3929
  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3951
3930
  if (isFixed === void 0) {
3952
3931
  isFixed = false;
3953
3932
  }
3954
3933
 
3955
- var isOffsetParentAnElement = isHTMLElement(offsetParent);
3956
- var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
3957
3934
  var documentElement = getDocumentElement(offsetParent);
3958
- var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
3935
+ var rect = getBoundingClientRect(elementOrVirtualElement);
3936
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
3959
3937
  var scroll = {
3960
3938
  scrollLeft: 0,
3961
3939
  scrollTop: 0
@@ -3972,7 +3950,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3972
3950
  }
3973
3951
 
3974
3952
  if (isHTMLElement(offsetParent)) {
3975
- offsets = getBoundingClientRect(offsetParent, true);
3953
+ offsets = getBoundingClientRect(offsetParent);
3976
3954
  offsets.x += offsetParent.clientLeft;
3977
3955
  offsets.y += offsetParent.clientTop;
3978
3956
  } else if (documentElement) {
@@ -3,7 +3,7 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-f68f8e63.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-8b14906f.js';
7
7
  import './index-98ca9cec.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
@@ -496,4 +496,4 @@ MediaSeriesLanding.getInitialData = function () {
496
496
  };
497
497
  }();
498
498
 
499
- export { MediaSeriesLanding as default };
499
+ export default MediaSeriesLanding;
@@ -3,7 +3,7 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-f68f8e63.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-8b14906f.js';
7
7
  import './index-98ca9cec.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
@@ -44,7 +44,8 @@ import './toNumber-5aeba6e7.js';
44
44
  import './Beam.js';
45
45
  import './Segment.js';
46
46
  import './ADInfeed-5765a73a.js';
47
- import './Pagination-dc30727b.js';
47
+ import './Pagination-cd21f8c2.js';
48
+ import 'react-paginate';
48
49
  import 'react-bootstrap/Button';
49
50
  import './index.esm-1bd8a0a8.js';
50
51
  import './iconBase-ccc56b97.js';
@@ -521,4 +522,4 @@ MediaSeriesLanding.getInitialData = function () {
521
522
  };
522
523
  }();
523
524
 
524
- export { MediaSeriesLanding as default };
525
+ export default MediaSeriesLanding;
@@ -229,4 +229,5 @@ var NavDvm = function NavDvm(props) {
229
229
  );
230
230
  };
231
231
 
232
- export { NavDvm, NavDvm as default };
232
+ export default NavDvm;
233
+ export { NavDvm };
@@ -579,4 +579,5 @@ var NavMagazine = function NavMagazine(props) {
579
579
 
580
580
  var MagazineNav = React__default.memo(NavMagazine);
581
581
 
582
- export { NavMagazine, MagazineNav as default };
582
+ export default MagazineNav;
583
+ export { NavMagazine };
@@ -842,4 +842,5 @@ var NavNative = function NavNative(props) {
842
842
  );
843
843
  };
844
844
 
845
- export { NavNative, NavNative as default };
845
+ export default NavNative;
846
+ export { NavNative };
@@ -70,4 +70,4 @@ var OncliveHero = function OncliveHero(props) {
70
70
  );
71
71
  };
72
72
 
73
- export { OncliveHero as default };
73
+ export default OncliveHero;
@@ -232,4 +232,4 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
232
232
  );
233
233
  };
234
234
 
235
- export { OncliveLargeHero as default };
235
+ export default OncliveLargeHero;
@@ -63,4 +63,4 @@ var PageFilter = function PageFilter(props) {
63
63
  return null;
64
64
  };
65
65
 
66
- export { PageFilter as default };
66
+ export default PageFilter;
@@ -0,0 +1,82 @@
1
+ import React__default from 'react';
2
+ import ReactPaginate from 'react-paginate';
3
+ import Button from 'react-bootstrap/Button';
4
+ import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
5
+
6
+ var Pagination = function Pagination(props) {
7
+ var pageCount = props.pageCount,
8
+ _props$marginPagesDis = props.marginPagesDisplayed,
9
+ marginPagesDisplayed = _props$marginPagesDis === undefined ? 1 : _props$marginPagesDis,
10
+ _props$pageRangeDispl = props.pageRangeDisplayed,
11
+ pageRangeDisplayed = _props$pageRangeDispl === undefined ? 5 : _props$pageRangeDispl,
12
+ _props$currentPage = props.currentPage,
13
+ currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
14
+ _onPageChange = props.onPageChange,
15
+ _props$needLargePagin = props.needLargePaginateButtons,
16
+ needLargePaginateButtons = _props$needLargePagin === undefined ? false : _props$needLargePagin;
17
+
18
+ if (!pageCount || pageCount <= 1) return null;
19
+ return React__default.createElement(
20
+ React__default.Fragment,
21
+ null,
22
+ needLargePaginateButtons && React__default.createElement(
23
+ 'div',
24
+ { className: 'pagination-lg-btn-nxt' },
25
+ React__default.createElement(
26
+ Button,
27
+ {
28
+ onClick: function onClick(e) {
29
+ e.preventDefault();
30
+ _onPageChange(currentPage + 1);
31
+ },
32
+ disabled: currentPage === pageCount,
33
+ href: currentPage === pageCount ? '' : '?page=' + (currentPage + 1) },
34
+ 'NEXT PAGE',
35
+ React__default.createElement(FaArrowRight, { className: 'fa-arrow-right' })
36
+ )
37
+ ),
38
+ React__default.createElement(ReactPaginate, {
39
+ pageCount: pageCount,
40
+ marginPagesDisplayed: marginPagesDisplayed,
41
+ pageRangeDisplayed: pageRangeDisplayed,
42
+ forcePage: currentPage - 1,
43
+ onPageChange: function onPageChange(_ref) {
44
+ var selected = _ref.selected;
45
+ return _onPageChange(selected + 1);
46
+ },
47
+ hrefBuilder: function hrefBuilder(page) {
48
+ return '?page=' + page;
49
+ },
50
+ previousLabel: '<',
51
+ nextLabel: '>',
52
+ containerClassName: 'pagination-container',
53
+ previousLinkClassName: 'previous',
54
+ nextLinkClassName: 'next',
55
+ disabledClassName: 'disabled',
56
+ activeClassName: 'active'
57
+ }),
58
+ needLargePaginateButtons && React__default.createElement(
59
+ 'div',
60
+ { className: 'pagination-lg-btn-prv' },
61
+ React__default.createElement(
62
+ Button,
63
+ {
64
+ onClick: function onClick(e) {
65
+ e.preventDefault();
66
+ _onPageChange(currentPage - 1);
67
+ },
68
+ disabled: currentPage === 1,
69
+ href: currentPage <= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
70
+ React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
71
+ 'PREVIOUS PAGE'
72
+ )
73
+ ),
74
+ React__default.createElement(
75
+ 'style',
76
+ { jsx: 'true' },
77
+ '\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n }\n .pagination-container li:first-child a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container li:last-child a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disabled a {\n cursor: default;\n }\n .pagination-lg-btn-nxt,\n .pagination-lg-btn-prv {\n text-align: center;\n }\n .pagination-lg-btn-nxt .btn,\n .pagination-lg-btn-prv .btn {\n min-width: 80%;\n color: #000;\n color: var(--primary);\n background-color: transparent;\n border-color: #000;\n border-color: var(--primary);\n }\n .pagination-lg-btn-nxt {\n margin: 0 0 1.5rem;\n }\n .pagination-lg-btn-prv {\n margin: 1.5rem 0 0;\n }\n .pagination-lg-btn-nxt .btn:not(:disabled):not(.disabled).active,\n .pagination-lg-btn-prv .btn:not(:disabled):not(.disabled):active {\n color: #fff;\n background-color: #000;\n background-color: var(--primary);\n border-color: #000;\n border-color: var(--primary);\n }\n @media only screen and (min-width: 601px) {\n [class^=\'pagination-lg-btn\'] {\n display: none;\n }\n }\n .fa-arrow-left {\n margin-right: 0.5rem;\n }\n .fa-arrow-right {\n margin-left: 0.5rem;\n }\n .pagination-container::-webkit-scrollbar {\n height: 8px;\n }\n .pagination-container::-webkit-scrollbar-track,\n .pagination-container::-webkit-scrollbar-thumb {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n }\n .pagination-container::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .pagination-container::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.3);\n }\n '
78
+ )
79
+ );
80
+ };
81
+
82
+ export { Pagination as P };
@@ -319,4 +319,4 @@ PartnerDetails.returnGetInitialProps = function () {
319
319
  };
320
320
  }();
321
321
 
322
- export { PartnerDetails as default };
322
+ export default PartnerDetails;
@@ -44,7 +44,8 @@ import './AuthorComponent-11adff02.js';
44
44
  import './ADlgInfeed-5e36f317.js';
45
45
  import './getContentCategory-15dcc413.js';
46
46
  import './timeDifferenceCalc.js';
47
- import './Pagination-dc30727b.js';
47
+ import './Pagination-cd21f8c2.js';
48
+ import 'react-paginate';
48
49
  import 'react-bootstrap/Button';
49
50
  import './index.esm-1bd8a0a8.js';
50
51
  import './iconBase-ccc56b97.js';
@@ -310,4 +311,4 @@ PartnerDetails.returnGetInitialProps = function () {
310
311
  };
311
312
  }();
312
313
 
313
- export { PartnerDetails as default };
314
+ export default PartnerDetails;