@mjhls/mjh-framework 1.0.832-scroll-fix-v2 → 1.0.833-d4d-52

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 (162) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD300x250.js +2 -2
  3. package/dist/cjs/AD300x250x600.js +2 -2
  4. package/dist/cjs/AD728x90.js +3 -3
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/ADSkyscraper.js +1 -1
  8. package/dist/cjs/ADSponsoredResources.js +1 -1
  9. package/dist/cjs/ADWebcast.js +1 -1
  10. package/dist/cjs/ADWelcome.js +1 -1
  11. package/dist/cjs/AdSlot.js +1 -1
  12. package/dist/cjs/AdSlotsProvider.js +2 -2
  13. package/dist/cjs/AlgoliaSearch.js +36 -18
  14. package/dist/cjs/ArticleCarousel.js +1 -1
  15. package/dist/cjs/ArticleProgramLandingPage.js +5 -5
  16. package/dist/cjs/ArticleSeriesLandingPage.js +5 -5
  17. package/dist/cjs/ArticleSeriesListing.js +3 -3
  18. package/dist/cjs/Auth.js +6 -41
  19. package/dist/cjs/AuthWrapper.js +189 -228
  20. package/dist/cjs/CMEDeck.js +3 -3
  21. package/dist/cjs/Column3.js +3 -3
  22. package/dist/cjs/ConferenceArticleCard.js +16 -16
  23. package/dist/cjs/DeckContent.js +13 -13
  24. package/dist/cjs/DeckQueue.js +4 -4
  25. package/dist/cjs/EventsDeck.js +21 -21
  26. package/dist/cjs/ExternalResources.js +5 -5
  27. package/dist/cjs/Feature.js +2 -2
  28. package/dist/cjs/ForbesHero.js +1 -1
  29. package/dist/cjs/GridContent.js +8 -8
  30. package/dist/cjs/GridHero.js +1 -1
  31. package/dist/cjs/HamMagazine.js +15 -15
  32. package/dist/cjs/HighlightenVideo.js +1 -1
  33. package/dist/cjs/HorizontalArticleListing.js +4 -4
  34. package/dist/cjs/HorizontalHero.js +1 -1
  35. package/dist/cjs/IssueContentDeck.js +1 -1
  36. package/dist/cjs/IssueDeck.js +1 -1
  37. package/dist/cjs/IssueLanding.js +36 -36
  38. package/dist/cjs/KMTracker.js +15 -15
  39. package/dist/cjs/LeftNav.js +1 -1
  40. package/dist/cjs/MasterDeck.js +13 -13
  41. package/dist/cjs/MediaSeriesLanding.js +193 -149
  42. package/dist/cjs/NavMagazine.js +14 -14
  43. package/dist/cjs/NavNative.js +12 -12
  44. package/dist/cjs/OncliveHero.js +1 -1
  45. package/dist/cjs/OncliveLargeHero.js +1 -1
  46. package/dist/cjs/PartnerDetailListing.js +7 -7
  47. package/dist/cjs/PubSection.js +5 -5
  48. package/dist/cjs/PublicationLanding.js +26 -26
  49. package/dist/cjs/QueueDeckExpanded.js +7 -7
  50. package/dist/cjs/RelatedContent.js +29 -29
  51. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  52. package/dist/cjs/SeriesListingDeck.js +3 -3
  53. package/dist/cjs/{SeriesSlider-7d308aac.js → SeriesSlider-10bc3826.js} +10 -10
  54. package/dist/cjs/SideFooter.js +2 -2
  55. package/dist/cjs/{SocialSearchComponent-42b9d251.js → SocialSearchComponent-560a666e.js} +3 -3
  56. package/dist/cjs/TaxonomyDescription.js +4 -4
  57. package/dist/cjs/TemplateNormal.js +2 -2
  58. package/dist/cjs/Ustream.js +2 -2
  59. package/dist/cjs/VerticalHero.js +1 -1
  60. package/dist/cjs/VideoProgramLandingPage.js +5 -5
  61. package/dist/cjs/VideoSeriesCard.js +2 -2
  62. package/dist/cjs/VideoSeriesLandingPage.js +5 -5
  63. package/dist/cjs/VideoSeriesListing.js +3 -3
  64. package/dist/cjs/View.js +18 -15
  65. package/dist/cjs/YahooHero.js +1 -1
  66. package/dist/cjs/YoutubeGroup.js +10 -10
  67. package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-4ba0d3d5.js} +3 -4
  68. package/dist/cjs/getRelatedArticle.js +126 -62
  69. package/dist/cjs/getSerializers.js +4 -4
  70. package/dist/cjs/{getTargeting-15ad167c.js → getTargeting-ea2ea5e7.js} +9 -9
  71. package/dist/cjs/getTargeting.js +1 -1
  72. package/dist/cjs/{index-6367b7bf.js → index-5be2866f.js} +17 -16
  73. package/dist/cjs/{index-5d106b44.js → index-b10010e9.js} +12 -12
  74. package/dist/cjs/{index-e2e62963.js → index-f0677b9d.js} +10 -0
  75. package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
  76. package/dist/cjs/index.js +12 -12
  77. package/dist/cjs/{main-7b5e57b0.js → main-11ec04d2.js} +28 -32
  78. package/dist/cjs/{moment-ca3bd9fb.js → moment-66a6a284.js} +8 -10
  79. package/dist/cjs/timeDifferenceCalc.js +1 -1
  80. package/dist/esm/AD300x250.js +2 -2
  81. package/dist/esm/AD300x250x600.js +2 -2
  82. package/dist/esm/AD728x90.js +3 -3
  83. package/dist/esm/ADFloatingFooter.js +1 -1
  84. package/dist/esm/ADGutter.js +1 -1
  85. package/dist/esm/ADSkyscraper.js +1 -1
  86. package/dist/esm/ADSponsoredResources.js +1 -1
  87. package/dist/esm/ADWebcast.js +1 -1
  88. package/dist/esm/ADWelcome.js +1 -1
  89. package/dist/esm/AdSlot.js +1 -1
  90. package/dist/esm/AdSlotsProvider.js +2 -2
  91. package/dist/esm/AlgoliaSearch.js +35 -17
  92. package/dist/esm/ArticleCarousel.js +1 -1
  93. package/dist/esm/ArticleProgramLandingPage.js +5 -5
  94. package/dist/esm/ArticleSeriesLandingPage.js +5 -5
  95. package/dist/esm/ArticleSeriesListing.js +3 -3
  96. package/dist/esm/Auth.js +7 -42
  97. package/dist/esm/AuthWrapper.js +189 -228
  98. package/dist/esm/CMEDeck.js +3 -3
  99. package/dist/esm/Column3.js +3 -3
  100. package/dist/esm/ConferenceArticleCard.js +16 -16
  101. package/dist/esm/DeckContent.js +13 -13
  102. package/dist/esm/DeckQueue.js +4 -4
  103. package/dist/esm/EventsDeck.js +21 -21
  104. package/dist/esm/ExternalResources.js +5 -5
  105. package/dist/esm/Feature.js +2 -2
  106. package/dist/esm/ForbesHero.js +1 -1
  107. package/dist/esm/GridContent.js +8 -8
  108. package/dist/esm/GridHero.js +1 -1
  109. package/dist/esm/HamMagazine.js +15 -15
  110. package/dist/esm/HighlightenVideo.js +1 -1
  111. package/dist/esm/HorizontalArticleListing.js +4 -4
  112. package/dist/esm/HorizontalHero.js +1 -1
  113. package/dist/esm/IssueContentDeck.js +1 -1
  114. package/dist/esm/IssueDeck.js +1 -1
  115. package/dist/esm/IssueLanding.js +36 -36
  116. package/dist/esm/KMTracker.js +15 -15
  117. package/dist/esm/LeftNav.js +1 -1
  118. package/dist/esm/MasterDeck.js +13 -13
  119. package/dist/esm/MediaSeriesLanding.js +193 -149
  120. package/dist/esm/NavMagazine.js +14 -14
  121. package/dist/esm/NavNative.js +12 -12
  122. package/dist/esm/OncliveHero.js +1 -1
  123. package/dist/esm/OncliveLargeHero.js +1 -1
  124. package/dist/esm/PartnerDetailListing.js +7 -7
  125. package/dist/esm/PubSection.js +5 -5
  126. package/dist/esm/PublicationLanding.js +26 -26
  127. package/dist/esm/QueueDeckExpanded.js +7 -7
  128. package/dist/esm/RelatedContent.js +29 -29
  129. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  130. package/dist/esm/SeriesListingDeck.js +3 -3
  131. package/dist/esm/{SeriesSlider-3c4bfe38.js → SeriesSlider-31dcb72b.js} +10 -10
  132. package/dist/esm/SideFooter.js +2 -2
  133. package/dist/esm/{SocialSearchComponent-94f6554c.js → SocialSearchComponent-82ac7d6d.js} +3 -3
  134. package/dist/esm/TaxonomyDescription.js +4 -4
  135. package/dist/esm/TemplateNormal.js +2 -2
  136. package/dist/esm/Ustream.js +2 -2
  137. package/dist/esm/VerticalHero.js +1 -1
  138. package/dist/esm/VideoProgramLandingPage.js +5 -5
  139. package/dist/esm/VideoSeriesCard.js +2 -2
  140. package/dist/esm/VideoSeriesLandingPage.js +5 -5
  141. package/dist/esm/VideoSeriesListing.js +3 -3
  142. package/dist/esm/View.js +18 -15
  143. package/dist/esm/YahooHero.js +1 -1
  144. package/dist/esm/YoutubeGroup.js +10 -10
  145. package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-e1c6b0f2.js} +3 -4
  146. package/dist/esm/getRelatedArticle.js +126 -62
  147. package/dist/esm/getSerializers.js +4 -4
  148. package/dist/esm/{getTargeting-82e86707.js → getTargeting-831bc794.js} +9 -9
  149. package/dist/esm/getTargeting.js +1 -1
  150. package/dist/esm/{index-04d3dda1.js → index-b3bd543b.js} +12 -12
  151. package/dist/esm/{index-aaa2dae0.js → index-b68072f5.js} +10 -1
  152. package/dist/esm/{index-c00b0bbb.js → index-d2f90501.js} +17 -16
  153. package/dist/esm/{index.es-c6222053.js → index.es-7dda2f0a.js} +4 -20
  154. package/dist/esm/index.js +12 -12
  155. package/dist/esm/{main-747e7d25.js → main-aef58dbc.js} +28 -32
  156. package/dist/esm/{moment-b6f49411.js → moment-12415288.js} +8 -10
  157. package/dist/esm/timeDifferenceCalc.js +1 -1
  158. package/package.json +110 -110
  159. /package/dist/cjs/{ADInfeed-0158bee3.js → ADInfeed-912f52c2.js} +0 -0
  160. /package/dist/cjs/{ADlgInfeed-3583144f.js → ADlgInfeed-98acbab8.js} +0 -0
  161. /package/dist/esm/{ADInfeed-427022e9.js → ADInfeed-813279c7.js} +0 -0
  162. /package/dist/esm/{ADlgInfeed-28d3f944.js → ADlgInfeed-8ba1523a.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React from 'react';
3
- import './moment-b6f49411.js';
3
+ import './moment-12415288.js';
4
4
  import './index-51a80699.js';
5
5
  import urlFor from './urlFor.js';
6
6
 
@@ -20,18 +20,18 @@ import 'prop-types';
20
20
  import 'react-bootstrap/Container';
21
21
  import 'react-bootstrap/Row';
22
22
  import Col from 'react-bootstrap/Col';
23
- import './moment-b6f49411.js';
23
+ import './moment-12415288.js';
24
24
  import 'next/router';
25
25
  import './isSymbol-1981418f.js';
26
26
  import './debounce-9207d8ee.js';
27
27
  import './toNumber-2f7a84cd.js';
28
- import './index.es-c6222053.js';
28
+ import './index.es-7dda2f0a.js';
29
29
  import 'react-dom';
30
30
  import './visibility-sensor-f40c2564.js';
31
31
  import './index-51a80699.js';
32
32
  import './urlFor.js';
33
33
  import './index-6c12bdd5.js';
34
- import './main-747e7d25.js';
34
+ import './main-aef58dbc.js';
35
35
  import './entities-7cc3bf45.js';
36
36
  import './slicedToArray-641f241f.js';
37
37
  import './stringify-4330ccdc.js';
@@ -48,9 +48,9 @@ import 'react-bootstrap';
48
48
  import './iconBase-602d52fe.js';
49
49
  import './index.esm-3fdda599.js';
50
50
  import VideoSeriesListing from './VideoSeriesListing.js';
51
- import { g as getSerializers } from './index-04d3dda1.js';
51
+ import { g as getSerializers } from './index-b3bd543b.js';
52
52
  import './util-7700fc59.js';
53
- import './brightcove-react-player-loader.es-4abff0b1.js';
53
+ import './brightcove-react-player-loader.es-e1c6b0f2.js';
54
54
  import 'next/head';
55
55
  import 'react-share';
56
56
  import './SocialShare.js';
@@ -8,14 +8,14 @@ import { _ as _typeof } from './typeof-af9c50d8.js';
8
8
  import './_is-array-58e95429.js';
9
9
  import React from 'react';
10
10
  import 'prop-types';
11
- import { m as moment } from './moment-b6f49411.js';
11
+ import { m as moment } from './moment-12415288.js';
12
12
  import 'react-dom';
13
13
  import './index-51a80699.js';
14
14
  import urlFor from './urlFor.js';
15
15
  import { L as LazyLoad } from './index-6c12bdd5.js';
16
16
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
17
17
 
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";
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";
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
 
@@ -21,27 +21,27 @@ import 'react-bootstrap/Container';
21
21
  import 'react-bootstrap/Row';
22
22
  import 'react-bootstrap/Col';
23
23
  import 'react-bootstrap/Card';
24
- import { m as moment } from './moment-b6f49411.js';
24
+ import { m as moment } from './moment-12415288.js';
25
25
  import 'next/router';
26
26
  import './isSymbol-1981418f.js';
27
27
  import './debounce-9207d8ee.js';
28
28
  import './toNumber-2f7a84cd.js';
29
- import './index.es-c6222053.js';
29
+ import './index.es-7dda2f0a.js';
30
30
  import 'react-dom';
31
31
  import './visibility-sensor-f40c2564.js';
32
32
  import './index-51a80699.js';
33
33
  import './urlFor.js';
34
34
  import './index-6c12bdd5.js';
35
- import './main-747e7d25.js';
35
+ import './main-aef58dbc.js';
36
36
  import './slicedToArray-641f241f.js';
37
37
  import './stringify-4330ccdc.js';
38
38
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
39
39
  import './Segment.js';
40
40
  import './Beam.js';
41
41
  import './AdSlot.js';
42
- import './ADInfeed-427022e9.js';
42
+ import './ADInfeed-813279c7.js';
43
43
  import './lodash-ec8c6b48.js';
44
- import './ADlgInfeed-28d3f944.js';
44
+ import './ADlgInfeed-8ba1523a.js';
45
45
  import { g as getYoutubeId } from './index-c7e2ac95.js';
46
46
  import MasterDeck from './MasterDeck.js';
47
47
  import 'react-bootstrap/Breadcrumb';
@@ -16,18 +16,18 @@ import './events-6c3a7a63.js';
16
16
  import { l as lib_3 } from './index-f7fb1e25.js';
17
17
  import 'prop-types';
18
18
  import Container from 'react-bootstrap/Container';
19
- import { m as moment } from './moment-b6f49411.js';
19
+ import { m as moment } from './moment-12415288.js';
20
20
  import { withRouter } from 'next/router';
21
21
  import './isSymbol-1981418f.js';
22
22
  import { d as debounce_1 } from './debounce-9207d8ee.js';
23
23
  import './toNumber-2f7a84cd.js';
24
- import { I as InfiniteScroll } from './index.es-c6222053.js';
24
+ import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
25
25
  import 'react-dom';
26
26
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
27
27
  import './index-51a80699.js';
28
28
  import './urlFor.js';
29
29
  import './index-6c12bdd5.js';
30
- import './main-747e7d25.js';
30
+ import './main-aef58dbc.js';
31
31
  import './slicedToArray-641f241f.js';
32
32
  import './index-c7e2ac95.js';
33
33
  import './smoothscroll-0cd4c7a6.js';
package/dist/esm/View.js CHANGED
@@ -19,18 +19,18 @@ import { l as lib_3 } from './index-f7fb1e25.js';
19
19
  import 'prop-types';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
- import { m as moment } from './moment-b6f49411.js';
22
+ import { m as moment } from './moment-12415288.js';
23
23
  import { useRouter } from 'next/router';
24
24
  import './isSymbol-1981418f.js';
25
25
  import './debounce-9207d8ee.js';
26
26
  import './toNumber-2f7a84cd.js';
27
- import { I as InfiniteScroll } from './index.es-c6222053.js';
27
+ import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
28
28
  import 'react-dom';
29
29
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
30
30
  import './index-51a80699.js';
31
31
  import urlFor from './urlFor.js';
32
32
  import './index-6c12bdd5.js';
33
- import { m as main_40 } from './main-747e7d25.js';
33
+ import { m as main_39 } from './main-aef58dbc.js';
34
34
  import './entities-7cc3bf45.js';
35
35
  import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
36
36
  import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
@@ -45,9 +45,9 @@ import './GroupDeck.js';
45
45
  import 'react-bootstrap';
46
46
  import './iconBase-602d52fe.js';
47
47
  import './index.esm-3fdda599.js';
48
- import { r as renderAuthor, g as getSerializers } from './index-04d3dda1.js';
48
+ import { r as renderAuthor, g as getSerializers } from './index-b3bd543b.js';
49
49
  import './util-7700fc59.js';
50
- import './brightcove-react-player-loader.es-4abff0b1.js';
50
+ import './brightcove-react-player-loader.es-e1c6b0f2.js';
51
51
  import Head from 'next/head';
52
52
  import 'react-share';
53
53
  import SocialShare from './SocialShare.js';
@@ -64,8 +64,8 @@ import getSeriesDetail from './getSeriesDetail.js';
64
64
  import './index-db3bb315.js';
65
65
  import getRelatedArticle from './getRelatedArticle.js';
66
66
  import getQuery from './getQuery.js';
67
- import { S as SeriesSlider } from './SeriesSlider-3c4bfe38.js';
68
- import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.js';
67
+ import { S as SeriesSlider } from './SeriesSlider-31dcb72b.js';
68
+ import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-831bc794.js';
69
69
  import getKeywords from './getKeywords.js';
70
70
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
71
71
  import { DiscussionEmbed } from 'disqus-react';
@@ -154,9 +154,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
154
154
  style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
155
155
  thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
156
156
  !thumbnailUrl && React.createElement('p', {
157
- style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
157
+ style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
158
158
  dangerouslySetInnerHTML: { __html: name } }),
159
- main_40 && !thumbnailUrl && React.createElement(
159
+ main_39 && !thumbnailUrl && React.createElement(
160
160
  'style',
161
161
  { jsx: 'true' },
162
162
  '\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
@@ -335,7 +335,7 @@ var ISI = function ISI(props) {
335
335
  );
336
336
  };
337
337
 
338
- var css = ".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";
338
+ var css = ".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";
339
339
  var styles = { "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" };
340
340
  styleInject(css);
341
341
 
@@ -643,7 +643,10 @@ var Article = forwardRef(function (props, ref) {
643
643
  if (documentGroupMapping && documentGroupMapping.length > 0) {
644
644
  documentGroupMapping.forEach(function (documentGroup) {
645
645
  if (documentGroup.parent) {
646
- relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : '/' + documentGroup.path }]);
646
+ relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{
647
+ label: documentGroup.name,
648
+ href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.parent.identifier && documentGroup.parent.identifier.current ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path
649
+ }]);
647
650
  }
648
651
  });
649
652
  }
@@ -1168,7 +1171,7 @@ var Article = forwardRef(function (props, ref) {
1168
1171
  React.createElement(
1169
1172
  'div',
1170
1173
  { className: 'ad-box', style: { textAlign: 'center' } },
1171
- main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1174
+ main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1172
1175
  if (index === 0) {
1173
1176
  return React.createElement(
1174
1177
  'div',
@@ -1252,7 +1255,7 @@ var Article = forwardRef(function (props, ref) {
1252
1255
  blocks: isi
1253
1256
  })
1254
1257
  ),
1255
- main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1258
+ main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1256
1259
  if (index > 0) {
1257
1260
  return React.createElement(
1258
1261
  'div',
@@ -1348,7 +1351,7 @@ var ArticleQueue = function ArticleQueue(props) {
1348
1351
  return item.url.current === path;
1349
1352
  });
1350
1353
  var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
1351
- if (!main_40) {
1354
+ if (!main_39) {
1352
1355
  lib_3.getGoogletag().then(function (googletag) {
1353
1356
  if (window.googletag && googletag.pubadsReady) {
1354
1357
  var slots = googletag.pubads().getSlots();
@@ -1365,7 +1368,7 @@ var ArticleQueue = function ArticleQueue(props) {
1365
1368
  });
1366
1369
  }
1367
1370
  //Refresh leaderboard ad on mobile
1368
- if (main_40) {
1371
+ if (main_39) {
1369
1372
  var leaderboardSlotId = '';
1370
1373
  lib_3.getGoogletag().then(function (googletag) {
1371
1374
  if (window.googletag && googletag.pubadsReady) {
@@ -5,7 +5,7 @@ import './core.get-iterator-method-e1de7503.js';
5
5
  import './web.dom.iterable-4439f05a.js';
6
6
  import React from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-b6f49411.js';
8
+ import { m as moment } from './moment-12415288.js';
9
9
  import 'react-dom';
10
10
  import './index-51a80699.js';
11
11
  import urlFor from './urlFor.js';
@@ -13,15 +13,15 @@ import 'react-dom';
13
13
  import './index-51a80699.js';
14
14
  import urlFor from './urlFor.js';
15
15
  import { L as LazyLoad } from './index-6c12bdd5.js';
16
- import { m as main_40, a as main_45, b as main_39 } from './main-747e7d25.js';
16
+ import { m as main_39, a as main_44, b as main_38 } from './main-aef58dbc.js';
17
17
  import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
18
18
  import { g as getYoutubeId } from './index-c7e2ac95.js';
19
19
  import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
20
20
 
21
- /*
22
- GROQ query -
23
- accepts an array of title, URL
24
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
21
+ /*
22
+ GROQ query -
23
+ accepts an array of title, URL
24
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
25
25
  */
26
26
 
27
27
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -101,13 +101,13 @@ var YoutubeGroup = function YoutubeGroup(props) {
101
101
  }
102
102
  }
103
103
 
104
- if (main_40) {
104
+ if (main_39) {
105
105
  thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth) / 2);
106
106
  if (props.dataset.length > 2) {
107
107
  scrollerVisible = true;
108
108
  }
109
109
  }
110
- if (main_45) {
110
+ if (main_44) {
111
111
  thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth * 2) / 3);
112
112
  if (props.dataset.length > 3) {
113
113
  scrollerVisible = true;
@@ -170,10 +170,10 @@ var YoutubeGroup = function YoutubeGroup(props) {
170
170
  if (viewableWindow.current.offsetWidth < 604) {
171
171
  scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
172
172
  }
173
- if (main_45) {
173
+ if (main_44) {
174
174
  scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
175
175
  }
176
- if (main_40) {
176
+ if (main_39) {
177
177
  scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 1;
178
178
  }
179
179
  }
@@ -346,7 +346,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
346
346
  React.createElement(
347
347
  'style',
348
348
  { jsx: 'true' },
349
- '\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n }\n #vid-slider.col {\n padding: 0 2.5rem;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: normal;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n #vid-slider .tile:first-child {\n margin-left: 0;\n }\n #vid-slider .tile__img {\n height: auto;\n\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n }\n\n #vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (main_39 ? '0.75rem' : '0.9rem') + ';\n font-weight: normal;\n transition: opacity 0.25s;\n -webkit-font-smoothing: antialiased;\n }\n\n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n padding-right: 0 1.2rem;\n }\n\n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n }\n #vid-slider .tile__img {\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n #vid-slider .tile__img {\n }\n }\n\n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n\n #vid-slider .tile__img {\n }\n #vid-slider .row__inner {\n margin-top: 1.5rem !important;\n }\n }\n\n @media screen and (max-width: 590px) {\n #vid-slider .tile__img {\n }\n }\n '
349
+ '\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n }\n #vid-slider.col {\n padding: 0 2.5rem;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: normal;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n #vid-slider .tile:first-child {\n margin-left: 0;\n }\n #vid-slider .tile__img {\n height: auto;\n\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n }\n\n #vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (main_38 ? '0.75rem' : '0.9rem') + ';\n font-weight: normal;\n transition: opacity 0.25s;\n -webkit-font-smoothing: antialiased;\n }\n\n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n padding-right: 0 1.2rem;\n }\n\n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n }\n #vid-slider .tile__img {\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n #vid-slider .tile__img {\n }\n }\n\n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n\n #vid-slider .tile__img {\n }\n #vid-slider .row__inner {\n margin-top: 1.5rem !important;\n }\n }\n\n @media screen and (max-width: 590px) {\n #vid-slider .tile__img {\n }\n }\n '
350
350
  )
351
351
  );
352
352
  };
@@ -625,7 +625,7 @@ if (typeof window !== "undefined") {
625
625
 
626
626
  var window_1 = win;
627
627
 
628
- /*! @name @brightcove/react-player-loader @version 1.4.1 @license Apache-2.0 */
628
+ /*! @name @brightcove/react-player-loader @version 1.4.0 @license Apache-2.0 */
629
629
 
630
630
  function _extends() {
631
631
  _extends = Object.assign || function (target) {
@@ -659,7 +659,7 @@ function _assertThisInitialized(self) {
659
659
  return self;
660
660
  }
661
661
 
662
- /*! @name @brightcove/player-loader @version 1.8.0 @license Apache-2.0 */
662
+ /*! @name @brightcove/player-loader @version 1.7.1 @license Apache-2.0 */
663
663
 
664
664
  function _extends$1() {
665
665
  _extends$1 = Object.assign || function (target) {
@@ -679,7 +679,7 @@ function _extends$1() {
679
679
  return _extends$1.apply(this, arguments);
680
680
  }
681
681
 
682
- var version = "1.8.0";
682
+ var version = "1.7.1";
683
683
 
684
684
  /*! @name @brightcove/player-url @version 1.2.0 @license Apache-2.0 */
685
685
  var version$1 = "1.2.0";
@@ -996,7 +996,6 @@ var createInPageEmbed = function createInPageEmbed(params) {
996
996
  deliveryConfigId: 'data-delivery-config-id',
997
997
  playlistId: 'data-playlist-id',
998
998
  playlistVideoId: 'data-playlist-video-id',
999
- poster: 'poster',
1000
999
  videoId: 'data-video-id'
1001
1000
  };
1002
1001
  var tagName = embedOptions && embedOptions.tagName || EMBED_TAG_NAME_VIDEOJS;
@@ -29,9 +29,20 @@ function parseString(setCookieValue, options) {
29
29
  ? Object.assign({}, defaultParseOptions, options)
30
30
  : defaultParseOptions;
31
31
 
32
+ try {
33
+ value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
34
+ } catch (e) {
35
+ console.error(
36
+ "set-cookie-parser encountered an error while decoding a cookie with value '" +
37
+ value +
38
+ "'. Set options.decodeValues to false to disable this feature.",
39
+ e
40
+ );
41
+ }
42
+
32
43
  var cookie = {
33
44
  name: name, // grab everything before the first =
34
- value: options.decodeValues ? decodeURIComponent(value) : value, // decode cookie value
45
+ value: value,
35
46
  };
36
47
 
37
48
  parts.forEach(function (part) {
@@ -202,7 +213,7 @@ setCookie.parse = parse_1;
202
213
  setCookie.parseString = parseString_1;
203
214
  setCookie.splitCookiesString = splitCookiesString_1;
204
215
 
205
- var dist = createCommonjsModule(function (module, exports) {
216
+ var utils = createCommonjsModule(function (module, exports) {
206
217
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
207
218
  __assign = Object.assign || function(t) {
208
219
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -215,10 +226,33 @@ var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
215
226
  return __assign.apply(this, arguments);
216
227
  };
217
228
  Object.defineProperty(exports, "__esModule", { value: true });
218
- exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
219
-
220
-
221
- var isBrowser = function () { return typeof window !== 'undefined'; };
229
+ exports.areCookiesEqual = exports.hasSameProperties = exports.createCookie = exports.isBrowser = void 0;
230
+ /**
231
+ * Tells whether we are in a browser or server.
232
+ */
233
+ function isBrowser() {
234
+ return typeof window !== 'undefined';
235
+ }
236
+ exports.isBrowser = isBrowser;
237
+ /**
238
+ * Create an instance of the Cookie interface
239
+ */
240
+ function createCookie(name, value, options) {
241
+ var sameSite = options.sameSite;
242
+ if (sameSite === true) {
243
+ sameSite = 'strict';
244
+ }
245
+ if (sameSite === undefined || sameSite === false) {
246
+ sameSite = 'lax';
247
+ }
248
+ var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
249
+ delete cookieToSet.encode;
250
+ return __assign({ name: name, value: value }, cookieToSet);
251
+ }
252
+ exports.createCookie = createCookie;
253
+ /**
254
+ * Tells whether given objects have the same properties.
255
+ */
222
256
  function hasSameProperties(a, b) {
223
257
  var aProps = Object.getOwnPropertyNames(a);
224
258
  var bProps = Object.getOwnPropertyNames(b);
@@ -233,8 +267,9 @@ function hasSameProperties(a, b) {
233
267
  }
234
268
  return true;
235
269
  }
270
+ exports.hasSameProperties = hasSameProperties;
236
271
  /**
237
- * Compare the cookie and return true if the cookies has equivalent
272
+ * Compare the cookie and return true if the cookies have equivalent
238
273
  * options and the cookies would be overwritten in the browser storage.
239
274
  *
240
275
  * @param a first Cookie for comparison
@@ -247,71 +282,109 @@ function areCookiesEqual(a, b) {
247
282
  }
248
283
  return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
249
284
  }
285
+ exports.areCookiesEqual = areCookiesEqual;
286
+ /* Functions */
287
+
288
+ });
289
+
290
+ unwrapExports(utils);
291
+ var utils_1 = utils.areCookiesEqual;
292
+ var utils_2 = utils.hasSameProperties;
293
+ var utils_3 = utils.createCookie;
294
+ var utils_4 = utils.isBrowser;
295
+
296
+ var dist = createCommonjsModule(function (module, exports) {
297
+ var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
298
+ __assign = Object.assign || function(t) {
299
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
300
+ s = arguments[i];
301
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
302
+ t[p] = s[p];
303
+ }
304
+ return t;
305
+ };
306
+ return __assign.apply(this, arguments);
307
+ };
308
+ Object.defineProperty(exports, "__esModule", { value: true });
309
+ exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
310
+
311
+
312
+
250
313
  /**
251
- * Create an instance of the Cookie interface
252
- *
253
- * @param name name of the Cookie
254
- * @param value value of the Cookie
255
- * @param options Cookie options
256
- */
257
- function createCookie(name, value, options) {
258
- var sameSite = options.sameSite;
259
- if (sameSite === true) {
260
- sameSite = 'strict';
261
- }
262
- if (sameSite === undefined || sameSite === false) {
263
- sameSite = 'lax';
264
- }
265
- var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
266
- delete cookieToSet.encode;
267
- return __assign({ name: name, value: value }, cookieToSet);
268
- }
269
- /**
270
- *
271
314
  * Parses cookies.
272
315
  *
273
- * @param ctx
274
- * @param options
316
+ * @param ctx NextJS page or API context, express context, null or undefined.
317
+ * @param options Options that we pass down to `cookie` library.
275
318
  */
276
319
  function parseCookies(ctx, options) {
277
- if (ctx && ctx.req && ctx.req.headers && ctx.req.headers.cookie) {
320
+ var _a, _b;
321
+ if ((_b = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.req) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.cookie) {
278
322
  return cookie.parse(ctx.req.headers.cookie, options);
279
323
  }
280
- if (isBrowser()) {
324
+ if (utils.isBrowser()) {
281
325
  return cookie.parse(document.cookie, options);
282
326
  }
283
327
  return {};
284
328
  }
285
329
  exports.parseCookies = parseCookies;
286
330
  /**
287
- *
288
331
  * Sets a cookie.
289
332
  *
290
- * @param ctx
291
- * @param name
292
- * @param value
293
- * @param options
333
+ * @param ctx NextJS page or API context, express context, null or undefined.
334
+ * @param name The name of your cookie.
335
+ * @param value The value of your cookie.
336
+ * @param options Options that we pass down to `cookie` library.
294
337
  */
295
338
  function setCookie$1(ctx, name, value, options) {
296
- if (ctx && ctx.res && ctx.res.getHeader && ctx.res.setHeader) {
339
+ var _a, _b;
340
+ if (options === void 0) { options = {}; }
341
+ // SSR
342
+ if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
343
+ // Check if response has finished and warn about it.
344
+ if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
345
+ console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
346
+ console.warn("You should set cookie before res.send()");
347
+ return {};
348
+ }
349
+ /**
350
+ * Load existing cookies from the header and parse them.
351
+ */
297
352
  var cookies = ctx.res.getHeader('Set-Cookie') || [];
298
353
  if (typeof cookies === 'string')
299
354
  cookies = [cookies];
300
355
  if (typeof cookies === 'number')
301
356
  cookies = [];
302
- var parsedCookies = setCookie.parse(cookies);
357
+ /**
358
+ * Parse cookies but ignore values - we've already encoded
359
+ * them in the previous call.
360
+ */
361
+ var parsedCookies = setCookie.parse(cookies, {
362
+ decodeValues: false,
363
+ });
364
+ /**
365
+ * We create the new cookie and make sure that none of
366
+ * the existing cookies match it.
367
+ */
368
+ var newCookie_1 = utils.createCookie(name, value, options);
303
369
  var cookiesToSet_1 = [];
304
370
  parsedCookies.forEach(function (parsedCookie) {
305
- if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
306
- cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({ encode: function (val) { return val; } }, parsedCookie)));
371
+ if (!utils.areCookiesEqual(parsedCookie, newCookie_1)) {
372
+ /**
373
+ * We serialize the cookie back to the original format
374
+ * if it isn't the same as the new one.
375
+ */
376
+ var serializedCookie = cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
377
+ // we prevent reencoding by default, but you might override it
378
+ encode: function (val) { return val; } }, parsedCookie));
379
+ cookiesToSet_1.push(serializedCookie);
307
380
  }
308
381
  });
309
382
  cookiesToSet_1.push(cookie.serialize(name, value, options));
310
- if (!ctx.res.finished) {
311
- ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
312
- }
383
+ // Update the header.
384
+ ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
313
385
  }
314
- if (isBrowser()) {
386
+ // Browser
387
+ if (utils.isBrowser()) {
315
388
  if (options && options.httpOnly) {
316
389
  throw new Error('Can not set a httpOnly cookie in the browser.');
317
390
  }
@@ -321,30 +394,21 @@ function setCookie$1(ctx, name, value, options) {
321
394
  }
322
395
  exports.setCookie = setCookie$1;
323
396
  /**
324
- *
325
397
  * Destroys a cookie with a particular name.
326
398
  *
327
- * @param ctx
328
- * @param name
329
- * @param options
399
+ * @param ctx NextJS page or API context, express context, null or undefined.
400
+ * @param name Cookie name.
401
+ * @param options Options that we pass down to `cookie` library.
330
402
  */
331
403
  function destroyCookie(ctx, name, options) {
332
- var opts = __assign(__assign({}, (options || {})), { maxAge: -1 });
333
- if (ctx && ctx.res && ctx.res.setHeader && ctx.res.getHeader) {
334
- var cookies = ctx.res.getHeader('Set-Cookie') || [];
335
- if (typeof cookies === 'string')
336
- cookies = [cookies];
337
- if (typeof cookies === 'number')
338
- cookies = [];
339
- cookies.push(cookie.serialize(name, '', opts));
340
- ctx.res.setHeader('Set-Cookie', cookies);
341
- }
342
- if (isBrowser()) {
343
- document.cookie = cookie.serialize(name, '', opts);
344
- }
345
- return {};
404
+ /**
405
+ * We forward the request destroy to setCookie function
406
+ * as it is the same function with modified maxAge value.
407
+ */
408
+ return setCookie$1(ctx, name, '', __assign(__assign({}, (options || {})), { maxAge: -1 }));
346
409
  }
347
410
  exports.destroyCookie = destroyCookie;
411
+ /* Utility Exports */
348
412
  exports.default = {
349
413
  set: setCookie$1,
350
414
  get: parseCookies,