@mjhls/mjh-framework 1.0.771-full-path-docgroup-v2 → 1.0.772

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 (257) hide show
  1. package/README.md +169 -169
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +16 -16
  4. package/dist/cjs/AD300x250x600.js +16 -16
  5. package/dist/cjs/AD728x90.js +17 -17
  6. package/dist/cjs/ADFloatingFooter.js +15 -15
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +15 -15
  9. package/dist/cjs/{ADInfeed-38240eb1.js → ADInfeed-d1eceaf2.js} +1 -1
  10. package/dist/cjs/ADSkyscraper.js +15 -15
  11. package/dist/cjs/ADSponsoredResources.js +15 -15
  12. package/dist/cjs/ADWebcast.js +15 -15
  13. package/dist/cjs/ADWelcome.js +15 -15
  14. package/dist/cjs/{ADlgInfeed-795bcf35.js → ADlgInfeed-24c693d8.js} +1 -1
  15. package/dist/cjs/AccordionPanel.js +5 -5
  16. package/dist/cjs/AdSlot.js +17 -17
  17. package/dist/cjs/AdSlotsProvider.js +11 -11
  18. package/dist/cjs/AlphabeticList.js +9 -9
  19. package/dist/cjs/ArticleCarousel.js +11 -11
  20. package/dist/cjs/ArticleProgramLandingPage.js +25 -25
  21. package/dist/cjs/ArticleSeriesLandingPage.js +25 -25
  22. package/dist/cjs/ArticleSeriesListing.js +17 -17
  23. package/dist/cjs/Auth.js +469 -207
  24. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-5fa89df5.js} +1 -1
  25. package/dist/cjs/Beam.js +8 -8
  26. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-eca358e4.js} +34 -34
  27. package/dist/cjs/Breadcrumbs.js +5 -5
  28. package/dist/cjs/CMEDeck.js +15 -15
  29. package/dist/cjs/Column2.js +12 -12
  30. package/dist/cjs/Column3.js +21 -21
  31. package/dist/cjs/ConferenceArticleCard.js +16 -16
  32. package/dist/cjs/DeckContent.js +32 -32
  33. package/dist/cjs/DeckQueue.js +21 -21
  34. package/dist/cjs/{Dfp-b63b5e5f.js → Dfp-a17e00fa.js} +8 -8
  35. package/dist/cjs/EventsDeck.js +36 -36
  36. package/dist/cjs/ExternalResources.js +26 -26
  37. package/dist/cjs/Feature.js +3 -3
  38. package/dist/cjs/ForbesHero.js +7 -7
  39. package/dist/cjs/GridContent.js +31 -31
  40. package/dist/cjs/GridHero.js +7 -7
  41. package/dist/cjs/GroupDeck.js +9 -9
  42. package/dist/cjs/HamMagazine.js +22 -22
  43. package/dist/cjs/Hero.js +1 -1
  44. package/dist/cjs/HorizontalArticleListing.js +25 -25
  45. package/dist/cjs/HorizontalHero.js +1 -1
  46. package/dist/cjs/IssueContentDeck.js +7 -7
  47. package/dist/cjs/IssueDeck.js +10 -10
  48. package/dist/cjs/IssueLanding.js +50 -50
  49. package/dist/cjs/KMTracker.js +15 -15
  50. package/dist/cjs/LeftNav.js +15 -15
  51. package/dist/cjs/MasterDeck.js +33 -33
  52. package/dist/cjs/MediaSeriesLanding.js +20 -17
  53. package/dist/cjs/NavDvm.js +8 -8
  54. package/dist/cjs/NavMagazine.js +22 -22
  55. package/dist/cjs/NavNative.js +27 -27
  56. package/dist/cjs/NavNormal.js +8 -8
  57. package/dist/cjs/OncliveHero.js +1 -1
  58. package/dist/cjs/OncliveLargeHero.js +7 -7
  59. package/dist/cjs/PageFilter.js +5 -5
  60. package/dist/cjs/PartnerDetailListing.js +29 -29
  61. package/dist/cjs/PopUpModal.js +5 -5
  62. package/dist/cjs/PubSection.js +21 -21
  63. package/dist/cjs/PubToc.js +8 -8
  64. package/dist/cjs/PublicationDeck.js +2 -2
  65. package/dist/cjs/PublicationLanding.js +51 -51
  66. package/dist/cjs/QueueDeckExpanded.js +23 -23
  67. package/dist/cjs/RecentNews.js +1 -1
  68. package/dist/cjs/RelatedContent.js +29 -29
  69. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  70. package/dist/cjs/Search.js +5 -5
  71. package/dist/cjs/Segment.js +7 -7
  72. package/dist/cjs/SeriesListingDeck.js +112 -38
  73. package/dist/cjs/{SeriesSlider-7dbeaa51.js → SeriesSlider-560c7162.js} +13 -13
  74. package/dist/cjs/SideFooter.js +14 -14
  75. package/dist/cjs/{SocialSearchComponent-31afe61f.js → SocialSearchComponent-45c54bed.js} +6 -6
  76. package/dist/cjs/TaxonomyCard.js +5 -5
  77. package/dist/cjs/TaxonomyDescription.js +25 -25
  78. package/dist/cjs/TemplateNormal.js +20 -20
  79. package/dist/cjs/ThumbnailCard.js +1 -1
  80. package/dist/cjs/Ustream.js +7 -7
  81. package/dist/cjs/VerticalHero.js +1 -1
  82. package/dist/cjs/VideoProgramLandingPage.js +25 -25
  83. package/dist/cjs/VideoSeriesCard.js +8 -8
  84. package/dist/cjs/VideoSeriesFilter.js +8 -8
  85. package/dist/cjs/VideoSeriesLandingPage.js +25 -25
  86. package/dist/cjs/VideoSeriesListing.js +17 -17
  87. package/dist/cjs/View.js +101 -175
  88. package/dist/cjs/YahooHero.js +7 -7
  89. package/dist/cjs/YoutubeGroup.js +19 -19
  90. package/dist/cjs/{_is-array-6128bd56.js → _is-array-63ae4740.js} +1 -1
  91. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-2613ffa1.js} +8 -8
  92. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  93. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-c5bd707d.js} +1 -1
  94. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-bec5fcf2.js} +2 -2
  95. package/dist/cjs/{_set-species-9f96b3af.js → _set-species-a8cfdb84.js} +4 -4
  96. package/dist/cjs/{_to-object-6de10e57.js → _to-object-821a2927.js} +4 -4
  97. package/dist/cjs/{asyncToGenerator-6d1a113d.js → asyncToGenerator-2edcb6ad.js} +27 -27
  98. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-b4615fd3.js} +2 -2
  99. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  100. package/dist/cjs/{define-property-c88be878.js → define-property-aff11f8a.js} +6 -6
  101. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-d6fbb280.js} +1 -1
  102. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  103. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-20d42c53.js} +5 -5
  104. package/dist/cjs/{extends-9d158713.js → extends-1e24fc8d.js} +7 -7
  105. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  106. package/dist/cjs/getQuery.js +1 -1
  107. package/dist/cjs/getRelatedArticle.js +10 -12
  108. package/dist/cjs/getRootDocGroup.js +7 -7
  109. package/dist/cjs/getSerializers.js +25 -25
  110. package/dist/cjs/{getTargeting-3cdc6e1d.js → getTargeting-497b581d.js} +11 -11
  111. package/dist/cjs/getTargeting.js +8 -8
  112. package/dist/cjs/{index-f86bb269.js → index-4d74ffd6.js} +4 -4
  113. package/dist/cjs/{index-873750c4.js → index-9475e5ae.js} +85 -85
  114. package/dist/cjs/{index-efca863c.js → index-d48b231c.js} +5 -5
  115. package/dist/cjs/index.js +37 -37
  116. package/dist/cjs/{inherits-3ff1b657.js → inherits-2eb23889.js} +19 -19
  117. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  118. package/dist/cjs/keys-95c064c9.js +25 -0
  119. package/dist/cjs/{lodash-f0783643.js → lodash-4ef21f0f.js} +9 -57
  120. package/dist/cjs/{main-025fdc78.js → main-dc082238.js} +109 -184
  121. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-db24842a.js} +14 -14
  122. package/dist/cjs/stringify-01cf47f7.js +17 -0
  123. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-cf0865fc.js} +9 -9
  124. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  125. package/dist/cjs/{typeof-88a668c5.js → typeof-97065d40.js} +34 -34
  126. package/dist/cjs/urlFor.js +1 -1
  127. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-4480325a.js} +2 -2
  128. package/dist/esm/AD.js +1 -1
  129. package/dist/esm/AD300x250.js +16 -16
  130. package/dist/esm/AD300x250x600.js +16 -16
  131. package/dist/esm/AD728x90.js +17 -17
  132. package/dist/esm/ADFloatingFooter.js +15 -15
  133. package/dist/esm/ADFooter.js +5 -5
  134. package/dist/esm/ADGutter.js +15 -15
  135. package/dist/esm/{ADInfeed-de396be9.js → ADInfeed-c12cd1ce.js} +1 -1
  136. package/dist/esm/ADSkyscraper.js +15 -15
  137. package/dist/esm/ADSponsoredResources.js +15 -15
  138. package/dist/esm/ADWebcast.js +15 -15
  139. package/dist/esm/ADWelcome.js +15 -15
  140. package/dist/esm/{ADlgInfeed-a6f8b5fa.js → ADlgInfeed-246a8787.js} +1 -1
  141. package/dist/esm/AccordionPanel.js +5 -5
  142. package/dist/esm/AdSlot.js +17 -17
  143. package/dist/esm/AdSlotsProvider.js +11 -11
  144. package/dist/esm/AlphabeticList.js +9 -9
  145. package/dist/esm/ArticleCarousel.js +11 -11
  146. package/dist/esm/ArticleProgramLandingPage.js +25 -25
  147. package/dist/esm/ArticleSeriesLandingPage.js +25 -25
  148. package/dist/esm/ArticleSeriesListing.js +17 -17
  149. package/dist/esm/Auth.js +470 -208
  150. package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-c7ff069f.js} +1 -1
  151. package/dist/esm/Beam.js +8 -8
  152. package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-d8cd739c.js} +34 -34
  153. package/dist/esm/Breadcrumbs.js +5 -5
  154. package/dist/esm/CMEDeck.js +15 -15
  155. package/dist/esm/Column2.js +12 -12
  156. package/dist/esm/Column3.js +21 -21
  157. package/dist/esm/ConferenceArticleCard.js +16 -16
  158. package/dist/esm/DeckContent.js +32 -32
  159. package/dist/esm/DeckQueue.js +21 -21
  160. package/dist/esm/{Dfp-723aab19.js → Dfp-988dbcaa.js} +8 -8
  161. package/dist/esm/EventsDeck.js +36 -36
  162. package/dist/esm/ExternalResources.js +26 -26
  163. package/dist/esm/Feature.js +3 -3
  164. package/dist/esm/ForbesHero.js +7 -7
  165. package/dist/esm/GridContent.js +31 -31
  166. package/dist/esm/GridHero.js +7 -7
  167. package/dist/esm/GroupDeck.js +9 -9
  168. package/dist/esm/HamMagazine.js +22 -22
  169. package/dist/esm/Hero.js +1 -1
  170. package/dist/esm/HorizontalArticleListing.js +25 -25
  171. package/dist/esm/HorizontalHero.js +1 -1
  172. package/dist/esm/IssueContentDeck.js +7 -7
  173. package/dist/esm/IssueDeck.js +10 -10
  174. package/dist/esm/IssueLanding.js +50 -50
  175. package/dist/esm/KMTracker.js +15 -15
  176. package/dist/esm/LeftNav.js +15 -15
  177. package/dist/esm/MasterDeck.js +33 -33
  178. package/dist/esm/MediaSeriesLanding.js +20 -17
  179. package/dist/esm/NavDvm.js +8 -8
  180. package/dist/esm/NavMagazine.js +22 -22
  181. package/dist/esm/NavNative.js +27 -27
  182. package/dist/esm/NavNormal.js +8 -8
  183. package/dist/esm/OncliveHero.js +1 -1
  184. package/dist/esm/OncliveLargeHero.js +7 -7
  185. package/dist/esm/PageFilter.js +5 -5
  186. package/dist/esm/PartnerDetailListing.js +29 -29
  187. package/dist/esm/PopUpModal.js +5 -5
  188. package/dist/esm/PubSection.js +21 -21
  189. package/dist/esm/PubToc.js +8 -8
  190. package/dist/esm/PublicationDeck.js +2 -2
  191. package/dist/esm/PublicationLanding.js +51 -51
  192. package/dist/esm/QueueDeckExpanded.js +23 -23
  193. package/dist/esm/RecentNews.js +1 -1
  194. package/dist/esm/RelatedContent.js +29 -29
  195. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  196. package/dist/esm/Search.js +5 -5
  197. package/dist/esm/Segment.js +7 -7
  198. package/dist/esm/SeriesListingDeck.js +112 -38
  199. package/dist/esm/{SeriesSlider-c324917a.js → SeriesSlider-5279b68a.js} +13 -13
  200. package/dist/esm/SideFooter.js +14 -14
  201. package/dist/esm/{SocialSearchComponent-116b1d5d.js → SocialSearchComponent-c3216d1a.js} +6 -6
  202. package/dist/esm/TaxonomyCard.js +5 -5
  203. package/dist/esm/TaxonomyDescription.js +25 -25
  204. package/dist/esm/TemplateNormal.js +20 -20
  205. package/dist/esm/ThumbnailCard.js +1 -1
  206. package/dist/esm/Ustream.js +7 -7
  207. package/dist/esm/VerticalHero.js +1 -1
  208. package/dist/esm/VideoProgramLandingPage.js +25 -25
  209. package/dist/esm/VideoSeriesCard.js +8 -8
  210. package/dist/esm/VideoSeriesFilter.js +8 -8
  211. package/dist/esm/VideoSeriesLandingPage.js +25 -25
  212. package/dist/esm/VideoSeriesListing.js +17 -17
  213. package/dist/esm/View.js +101 -175
  214. package/dist/esm/YahooHero.js +7 -7
  215. package/dist/esm/YoutubeGroup.js +19 -19
  216. package/dist/esm/{_is-array-3e99e06e.js → _is-array-674f71ec.js} +1 -1
  217. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-48516cd3.js} +8 -8
  218. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  219. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-fd3054d0.js} +1 -1
  220. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-8f409e54.js} +2 -2
  221. package/dist/esm/{_set-species-807b5286.js → _set-species-494ed292.js} +4 -4
  222. package/dist/esm/{_to-object-b50e61c3.js → _to-object-97770c52.js} +4 -4
  223. package/dist/esm/{asyncToGenerator-207adf34.js → asyncToGenerator-2bd4099a.js} +27 -27
  224. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-d1d5ed02.js} +2 -2
  225. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  226. package/dist/esm/{define-property-fe54dc9f.js → define-property-ec6d528d.js} +6 -6
  227. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-ea516b15.js} +1 -1
  228. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  229. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-aa6068a3.js} +5 -5
  230. package/dist/esm/{extends-f076879e.js → extends-31d65aba.js} +7 -7
  231. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  232. package/dist/esm/getQuery.js +1 -1
  233. package/dist/esm/getRelatedArticle.js +10 -12
  234. package/dist/esm/getRootDocGroup.js +7 -7
  235. package/dist/esm/getSerializers.js +25 -25
  236. package/dist/esm/{getTargeting-9e21a02f.js → getTargeting-2d402d66.js} +11 -11
  237. package/dist/esm/getTargeting.js +8 -8
  238. package/dist/esm/{index-0dbff1d1.js → index-3f5c03b2.js} +5 -5
  239. package/dist/esm/{index-79cfd25c.js → index-ccb770c7.js} +4 -4
  240. package/dist/esm/{index-da683e94.js → index-da6ed052.js} +85 -85
  241. package/dist/esm/index.js +37 -37
  242. package/dist/esm/{inherits-f71787cf.js → inherits-5906fbea.js} +19 -19
  243. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  244. package/dist/esm/{keys-7a3adabf.js → keys-a0b0c7a4.js} +6 -6
  245. package/dist/esm/{lodash-f97fd99a.js → lodash-ad27652f.js} +9 -57
  246. package/dist/esm/{main-b5c5aac1.js → main-1450d277.js} +103 -178
  247. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-cdeaee08.js} +14 -14
  248. package/dist/esm/stringify-d4839bab.js +15 -0
  249. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-fa2dcda7.js} +9 -9
  250. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  251. package/dist/esm/{typeof-a286cf0c.js → typeof-e9cea9e8.js} +34 -34
  252. package/dist/esm/urlFor.js +1 -1
  253. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-035980f3.js} +2 -2
  254. package/package.json +107 -107
  255. package/dist/cjs/keys-7f2c2108.js +0 -25
  256. package/dist/cjs/stringify-c9ac1214.js +0 -17
  257. package/dist/esm/stringify-59c8f690.js +0 -15
package/dist/esm/View.js CHANGED
@@ -1,47 +1,47 @@
1
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-207adf34.js';
2
- import { _ as _extends, a as _Object$assign } from './extends-f076879e.js';
3
- import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
2
+ import { _ as _extends, a as _Object$assign } from './extends-31d65aba.js';
3
+ import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
4
4
  import React, { useState, useRef, useEffect } from 'react';
5
5
  import Head from 'next/head';
6
6
  import { useRouter } from 'next/router';
7
- import { _ as _JSON$stringify } from './stringify-59c8f690.js';
8
- import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
7
+ import { _ as _JSON$stringify } from './stringify-d4839bab.js';
8
+ import { _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
9
9
  import { m as moment } from './moment-bc12cb97.js';
10
- import { B as BlockContent } from './BlockContent-52cf21c5.js';
11
- import { m as main_43 } from './main-b5c5aac1.js';
10
+ import { B as BlockContent } from './BlockContent-d8cd739c.js';
11
+ import { m as main_40 } from './main-1450d277.js';
12
12
  import 'react-bootstrap/Dropdown';
13
13
  import Form from 'react-bootstrap/Form';
14
14
  import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
- import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-da683e94.js';
16
+ import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-da6ed052.js';
17
17
  import SocialShare from './SocialShare.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
- import { S as SeriesSlider } from './SeriesSlider-c324917a.js';
20
- import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-9e21a02f.js';
19
+ import { S as SeriesSlider } from './SeriesSlider-5279b68a.js';
20
+ import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2d402d66.js';
21
21
  import getKeywords from './getKeywords.js';
22
22
  import urlFor from './urlFor.js';
23
- import { _ as _typeof } from './typeof-a286cf0c.js';
23
+ import { _ as _typeof } from './typeof-e9cea9e8.js';
24
24
  import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
25
25
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
26
26
  import './index-752d1dae.js';
27
27
  import { DiscussionEmbed } from 'disqus-react';
28
- import { _ as _Object$keys } from './keys-7a3adabf.js';
28
+ import { _ as _Object$keys } from './keys-a0b0c7a4.js';
29
29
  import { I as InfiniteScroll } from './index.es-c6222053.js';
30
30
  import { l as lib_3 } from './index-888f9253.js';
31
31
  import getRelatedArticle from './getRelatedArticle.js';
32
32
  import getQuery from './getQuery.js';
33
33
  import getSeriesDetail from './getSeriesDetail.js';
34
34
  import './_commonjsHelpers-0c4b6f40.js';
35
- import './es6.string.iterator-bc33758b.js';
36
- import './_to-object-b50e61c3.js';
37
- import './web.dom.iterable-4109ff68.js';
35
+ import './es6.string.iterator-aa6068a3.js';
36
+ import './_to-object-97770c52.js';
37
+ import './web.dom.iterable-035980f3.js';
38
38
  import './_library-528f1934.js';
39
- import './core.get-iterator-method-133dfacd.js';
40
- import './_set-species-807b5286.js';
41
- import './_iter-detect-7e5e5ce2.js';
42
- import './_object-pie-133f504a.js';
39
+ import './core.get-iterator-method-d1d5ed02.js';
40
+ import './_set-species-494ed292.js';
41
+ import './_iter-detect-48516cd3.js';
42
+ import './_object-pie-33c40e79.js';
43
43
  import 'prop-types';
44
- import './index-0dbff1d1.js';
44
+ import './index-3f5c03b2.js';
45
45
  import 'react-bootstrap';
46
46
  import './index-c7e2ac95.js';
47
47
  import './util-3ab476bf.js';
@@ -50,22 +50,22 @@ import './Segment.js';
50
50
  import './brightcove-react-player-loader.es-b43c695a.js';
51
51
  import './GroupDeck.js';
52
52
  import './smoothscroll-fa4e3f8c.js';
53
- import './_is-array-3e99e06e.js';
54
- import './_object-to-array-0f197f89.js';
53
+ import './_is-array-674f71ec.js';
54
+ import './_object-to-array-8f409e54.js';
55
55
  import 'react-bootstrap/Pagination';
56
56
  import './entities-932b50cf.js';
57
57
  import 'react-bootstrap/Row';
58
58
  import 'react-bootstrap/Col';
59
- import './inherits-f71787cf.js';
60
- import './_object-sap-f353c2a9.js';
61
- import './define-property-fe54dc9f.js';
59
+ import './inherits-5906fbea.js';
60
+ import './_object-sap-fd3054d0.js';
61
+ import './define-property-ec6d528d.js';
62
62
  import './index.esm-3fdda599.js';
63
63
  import './iconBase-602d52fe.js';
64
64
  import 'react-bootstrap/Figure';
65
65
  import 'react-share';
66
- import './debounce-533d9748.js';
67
- import './isSymbol-a7e9aafe.js';
68
- import './toNumber-5aeba6e7.js';
66
+ import './debounce-9207d8ee.js';
67
+ import './isSymbol-1981418f.js';
68
+ import './toNumber-2f7a84cd.js';
69
69
  import 'react-dom';
70
70
  import './index-db3bb315.js';
71
71
 
@@ -81,15 +81,31 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
81
81
  if (!docGroup) {
82
82
  return null;
83
83
  }
84
- var url = docGroup.path;
85
- var parent = docGroup.parent || false;
86
- while (parent) {
87
- if (!url.includes(parent.identifier.current)) {
88
- url = parent.identifier.current + '/' + url;
84
+ var url = void 0;
85
+
86
+ if (docGroup.path && docGroup.path.includes('/') && (!docGroup.parent || !docGroup.parent.parent)) {
87
+ return '/' + docGroup.path;
88
+ }
89
+ // Checking if Parent has Parent
90
+ if (docGroup.path && docGroup.path.includes('/') && docGroup.parent && docGroup.parent.parent) {
91
+ if (docGroup.path.includes(docGroup.parent.identifier.current)) {
92
+ return '/' + docGroup.parent.parent.identifier.current + '/' + docGroup.path;
93
+ } else {
94
+ return '/' + docGroup.parent.parent.identifier.current + '/' + docGroup.parent.identifier.current + '/' + docGroup.path;
95
+ }
96
+ }
97
+
98
+ if (docGroup.parent) {
99
+ url = '/' + docGroup.parent.identifier.current;
100
+ if (docGroup.parent.parent && docGroup.parent.parent.name) {
101
+ url = '/' + docGroup.parent.parent.identifier.current + url;
89
102
  }
90
- parent = parent.parent ? parent.parent : false;
91
103
  }
92
- return '/' + url;
104
+
105
+ if (!docGroup.thumbnail) ;
106
+ url = url + '/' + docGroup.path;
107
+
108
+ return url;
93
109
  };
94
110
 
95
111
  var getDocumentGroupName = function getDocumentGroupName(docGroup) {
@@ -137,9 +153,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
137
153
  style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
138
154
  thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
139
155
  !thumbnailUrl && React.createElement('p', {
140
- style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
156
+ style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
141
157
  dangerouslySetInnerHTML: { __html: name } }),
142
- main_43 && !thumbnailUrl && React.createElement(
158
+ main_40 && !thumbnailUrl && React.createElement(
143
159
  'style',
144
160
  { jsx: 'true' },
145
161
  '\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
@@ -318,7 +334,7 @@ var ISI = function ISI(props) {
318
334
  );
319
335
  };
320
336
 
321
- 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";
337
+ 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";
322
338
  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" };
323
339
  styleInject(css);
324
340
 
@@ -428,7 +444,6 @@ var Article = function Article(props) {
428
444
  hideFBShare = _props$hideFBShare === undefined ? false : _props$hideFBShare,
429
445
  _props$hidePinterestS = props.hidePinterestShare,
430
446
  hidePinterestShare = _props$hidePinterestS === undefined ? false : _props$hidePinterestS;
431
- props.useFullDocumentGroupPath;
432
447
  var client = props.client,
433
448
  pageview = props.pageview,
434
449
  videoAccountIDs = props.videoAccountIDs,
@@ -701,9 +716,9 @@ var Article = function Article(props) {
701
716
  slotId: (payload.contextualVideoAD.slotId || 'in-context_video') + '-' + payload._id
702
717
  })
703
718
  });
704
- var _selectedIndex = indexes[1] + 1;
719
+ var selectedIndex = indexes[1] + 1;
705
720
  if (seriesInfo.hasVideo) {
706
- _selectedIndex = seriesInfo.videoIndex;
721
+ selectedIndex = seriesInfo.videoIndex;
707
722
  }
708
723
 
709
724
  var checkIsVideoAdFound = function checkIsVideoAdFound(isFound) {
@@ -722,7 +737,7 @@ var Article = function Article(props) {
722
737
  null,
723
738
  React.createElement(BlockContent, _extends({
724
739
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
725
- blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
740
+ blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
726
741
  imageOptions: { w: 320, h: 240, fit: 'max' }
727
742
  }, client.config())),
728
743
  React.createElement('span', { className: 'clearfix' }),
@@ -743,7 +758,7 @@ var Article = function Article(props) {
743
758
  ),
744
759
  React.createElement(BlockContent, _extends({
745
760
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
746
- blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
761
+ blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
747
762
  imageOptions: { w: 320, h: 240, fit: 'max' }
748
763
  }, client.config()))
749
764
  );
@@ -762,9 +777,9 @@ var Article = function Article(props) {
762
777
  }, { viewport: [0, 0], sizes: ['fluid', [300, 100]] }] : { viewport: [0, 0], sizes: ['fluid', [300, 100]] }
763
778
  })
764
779
  });
765
- var _selectedIndex2 = indexes[1] + 1;
780
+ var _selectedIndex = indexes[1] + 1;
766
781
  if (seriesInfo.hasVideo) {
767
- _selectedIndex2 = seriesInfo.videoIndex;
782
+ _selectedIndex = seriesInfo.videoIndex;
768
783
  }
769
784
 
770
785
  return React.createElement(
@@ -772,7 +787,7 @@ var Article = function Article(props) {
772
787
  null,
773
788
  React.createElement(BlockContent, _extends({
774
789
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
775
- blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
790
+ blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
776
791
  imageOptions: { w: 320, h: 240, fit: 'max' }
777
792
  }, client.config())),
778
793
  contextualADFlag && React.createElement('span', { className: 'clearfix' }),
@@ -788,7 +803,7 @@ var Article = function Article(props) {
788
803
  contextualADFlag && React.createElement('span', { className: 'clearfix' }),
789
804
  React.createElement(BlockContent, _extends({
790
805
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
791
- blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
806
+ blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
792
807
  imageOptions: { w: 320, h: 240, fit: 'max' }
793
808
  }, client.config()))
794
809
  );
@@ -798,9 +813,9 @@ var Article = function Article(props) {
798
813
  slotId: (payload.contextualVideoAD.slotId || 'in-context_video') + '-' + payload._id
799
814
  })
800
815
  });
801
- var _selectedIndex3 = indexes[1] + 1;
816
+ var _selectedIndex2 = indexes[1] + 1;
802
817
  if (seriesInfo.hasVideo) {
803
- _selectedIndex3 = seriesInfo.videoIndex;
818
+ _selectedIndex2 = seriesInfo.videoIndex;
804
819
  }
805
820
  var _checkIsAdFound2 = function _checkIsAdFound2(isFound) {
806
821
  if (!isFound) {
@@ -821,7 +836,7 @@ var Article = function Article(props) {
821
836
  null,
822
837
  React.createElement(BlockContent, _extends({
823
838
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
824
- blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))),
839
+ blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
825
840
  imageOptions: { w: 320, h: 240, fit: 'max' }
826
841
  }, client.config())),
827
842
  React.createElement('span', { className: 'clearfix' }),
@@ -833,23 +848,29 @@ var Article = function Article(props) {
833
848
  ),
834
849
  React.createElement(BlockContent, _extends({
835
850
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
836
- blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
851
+ blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
837
852
  imageOptions: { w: 320, h: 240, fit: 'max' }
838
853
  }, client.config()))
839
854
  );
840
855
  } else {
856
+
857
+ var _selectedIndex3 = indexes[1] + 1;
858
+ if (seriesInfo.hasVideo) {
859
+ _selectedIndex3 = seriesInfo.videoIndex;
860
+ }
861
+
841
862
  return React.createElement(
842
863
  'div',
843
864
  null,
844
865
  React.createElement(BlockContent, _extends({
845
866
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
846
- blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(selectedIndex))) : articleBody,
867
+ blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
847
868
  imageOptions: { w: 320, h: 240, fit: 'max' }
848
869
  }, client.config())),
849
870
  article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
850
871
  article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
851
872
  serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
852
- blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
873
+ blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
853
874
  imageOptions: { w: 320, h: 240, fit: 'max' }
854
875
  }, client.config()))
855
876
  );
@@ -921,7 +942,7 @@ var Article = function Article(props) {
921
942
  var episode = null;
922
943
  sliderData.forEach(function (seriesArticle, index) {
923
944
  if (seriesArticle.title === article.title) {
924
- episode = sliderData.length - index;
945
+ episode = index + 1;
925
946
  }
926
947
  });
927
948
  return episode;
@@ -1101,7 +1122,7 @@ var Article = function Article(props) {
1101
1122
  React.createElement(
1102
1123
  'div',
1103
1124
  { className: 'ad-box', style: { textAlign: 'center' } },
1104
- main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1125
+ main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1105
1126
  if (index === 0) {
1106
1127
  return React.createElement(
1107
1128
  'div',
@@ -1179,7 +1200,7 @@ var Article = function Article(props) {
1179
1200
  })
1180
1201
  )
1181
1202
  ),
1182
- main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1203
+ main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
1183
1204
  if (index > 0) {
1184
1205
  return React.createElement(
1185
1206
  'div',
@@ -1217,66 +1238,7 @@ var Article = function Article(props) {
1217
1238
  }
1218
1239
  };
1219
1240
 
1220
- var _this$2 = undefined;
1221
-
1222
- //consortium > woments-health-equality > internal
1223
- var get_doc_group_path = function () {
1224
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(id, client) {
1225
- var childPath = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
1226
- var query, docGroup, path, parent_id;
1227
- return regenerator.wrap(function _callee$(_context) {
1228
- while (1) {
1229
- switch (_context.prev = _context.next) {
1230
- case 0:
1231
- query = '*[_type == \'documentGroup\' && _id == \'' + id + '\'][0]';
1232
- _context.next = 3;
1233
- return client.fetch(query);
1234
-
1235
- case 3:
1236
- docGroup = _context.sent;
1237
-
1238
- if (!(!docGroup || docGroup.length <= 0)) {
1239
- _context.next = 6;
1240
- break;
1241
- }
1242
-
1243
- return _context.abrupt('return', '');
1244
-
1245
- case 6:
1246
- path = childPath && childPath.includes(docGroup.identifier.current) ? '' : docGroup.identifier.current;
1247
-
1248
- if (!docGroup.parent) {
1249
- _context.next = 15;
1250
- break;
1251
- }
1252
-
1253
- parent_id = docGroup.parent._ref;
1254
- _context.next = 11;
1255
- return get_doc_group_path(parent_id, client, path);
1256
-
1257
- case 11:
1258
- _context.t0 = _context.sent;
1259
- _context.t1 = _context.t0 + '/';
1260
- _context.t2 = path;
1261
- return _context.abrupt('return', _context.t1 + _context.t2);
1262
-
1263
- case 15:
1264
- return _context.abrupt('return', path);
1265
-
1266
- case 16:
1267
- case 'end':
1268
- return _context.stop();
1269
- }
1270
- }
1271
- }, _callee, _this$2);
1272
- }));
1273
-
1274
- return function get_doc_group_path(_x, _x2) {
1275
- return _ref.apply(this, arguments);
1276
- };
1277
- }();
1278
-
1279
- var _this$1 = undefined;
1241
+ var _this = undefined;
1280
1242
 
1281
1243
  var ArticleQueue = function ArticleQueue(props) {
1282
1244
  var _props$prevUrl = props.prevUrl,
@@ -1290,9 +1252,7 @@ var ArticleQueue = function ArticleQueue(props) {
1290
1252
  _props$authorPrefix = props.authorPrefix,
1291
1253
  authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
1292
1254
  showRelatedArticles = props.showRelatedArticles,
1293
- canonicalTag = props.canonicalTag,
1294
- _props$useFullDocumen = props.useFullDocumentGroupPath,
1295
- useFullDocumentGroupPath = _props$useFullDocumen === undefined ? false : _props$useFullDocumen;
1255
+ canonicalTag = props.canonicalTag;
1296
1256
 
1297
1257
 
1298
1258
  var firstArticle = function firstArticle() {
@@ -1313,7 +1273,7 @@ var ArticleQueue = function ArticleQueue(props) {
1313
1273
  });
1314
1274
  var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
1315
1275
 
1316
- if (!main_43) {
1276
+ if (!main_40) {
1317
1277
  lib_3.getGoogletag().then(function (googletag) {
1318
1278
  if (window.googletag && googletag.pubadsReady) {
1319
1279
  var slots = googletag.pubads().getSlots();
@@ -1331,7 +1291,7 @@ var ArticleQueue = function ArticleQueue(props) {
1331
1291
  });
1332
1292
  }
1333
1293
  //Refresh leaderboard ad on mobile
1334
- if (main_43) {
1294
+ if (main_40) {
1335
1295
  var leaderboardSlotId = '';
1336
1296
  lib_3.getGoogletag().then(function (googletag) {
1337
1297
  if (window.googletag && googletag.pubadsReady) {
@@ -1394,13 +1354,13 @@ var ArticleQueue = function ArticleQueue(props) {
1394
1354
 
1395
1355
  var loadmore = function () {
1396
1356
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
1397
- var index, article, newDocPath, startingIndex, endingIndex, targeting;
1357
+ var index, article, startingIndex, endingIndex, targeting;
1398
1358
  return regenerator.wrap(function _callee$(_context) {
1399
1359
  while (1) {
1400
1360
  switch (_context.prev = _context.next) {
1401
1361
  case 0:
1402
1362
  if (!(queueData && queueData.length < maxListLength)) {
1403
- _context.next = 33;
1363
+ _context.next = 27;
1404
1364
  break;
1405
1365
  }
1406
1366
 
@@ -1423,55 +1383,40 @@ var ArticleQueue = function ArticleQueue(props) {
1423
1383
 
1424
1384
  case 12:
1425
1385
  if (!(article && article._id)) {
1426
- _context.next = 33;
1427
- break;
1428
- }
1429
-
1430
- if (!(useFullDocumentGroupPath && article.documentGroup)) {
1431
- _context.next = 19;
1386
+ _context.next = 27;
1432
1387
  break;
1433
1388
  }
1434
1389
 
1435
- _context.next = 16;
1436
- return get_doc_group_path(article.documentGroup._id, props.client);
1437
-
1438
- case 16:
1439
- newDocPath = _context.sent;
1440
-
1441
- if (newDocPath.indexOf('/') === 0) newDocPath = newDocPath.substring(1);
1442
- article.documentGroup.path = newDocPath;
1443
-
1444
- case 19:
1445
1390
  //query next 4 related article without repeating previous 4 related articles
1446
1391
  startingIndex = queueData.length + 1;
1447
1392
  endingIndex = startingIndex + 2;
1448
- _context.prev = 21;
1449
- _context.next = 24;
1393
+ _context.prev = 15;
1394
+ _context.next = 18;
1450
1395
  return getRelatedArticle(null, props.client, props.article, prevUrl, startingIndex + '..' + endingIndex);
1451
1396
 
1452
- case 24:
1397
+ case 18:
1453
1398
  article.relatedArticle = _context.sent;
1454
- _context.next = 30;
1399
+ _context.next = 24;
1455
1400
  break;
1456
1401
 
1457
- case 27:
1458
- _context.prev = 27;
1459
- _context.t1 = _context['catch'](21);
1402
+ case 21:
1403
+ _context.prev = 21;
1404
+ _context.t1 = _context['catch'](15);
1460
1405
 
1461
1406
  console.error(_context.t1);
1462
1407
 
1463
- case 30:
1408
+ case 24:
1464
1409
  targeting = getTargeting({ article: article, cpModificationRequired: cpModificationRequired, prevUrl: prevUrl });
1465
1410
 
1466
1411
  article.Ads = Ads.getRightItems(targeting);
1467
1412
  setQueueData([].concat(_toConsumableArray(queueData), [article]));
1468
1413
 
1469
- case 33:
1414
+ case 27:
1470
1415
  case 'end':
1471
1416
  return _context.stop();
1472
1417
  }
1473
1418
  }
1474
- }, _callee, _this$1, [[3, 9], [21, 27]]);
1419
+ }, _callee, _this, [[3, 9], [15, 21]]);
1475
1420
  }));
1476
1421
 
1477
1422
  return function loadmore() {
@@ -1549,7 +1494,7 @@ var ArticleQueue = function ArticleQueue(props) {
1549
1494
  );
1550
1495
  };
1551
1496
 
1552
- var _this = undefined;
1497
+ var _this$1 = undefined;
1553
1498
 
1554
1499
  var View = function View(props) {
1555
1500
  var router = useRouter();
@@ -1568,9 +1513,7 @@ var View = function View(props) {
1568
1513
  _props$canonicalTag = props.canonicalTag,
1569
1514
  canonicalTag = _props$canonicalTag === undefined ? true : _props$canonicalTag,
1570
1515
  _props$infiniteScroll = props.infiniteScrollFlag,
1571
- infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll,
1572
- _props$useFullDocumen = props.useFullDocumentGroupPath,
1573
- useFullDocumentGroupPath = _props$useFullDocumen === undefined ? false : _props$useFullDocumen;
1516
+ infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
1574
1517
  var _props$article = props.article,
1575
1518
  _props$article$passwo = _props$article.passwordLock,
1576
1519
  passwordLock = _props$article$passwo === undefined ? false : _props$article$passwo;
@@ -1742,8 +1685,7 @@ var View = function View(props) {
1742
1685
  checkSponsered: true,
1743
1686
  Ads: props.WAds,
1744
1687
  onVote: function onVote() {},
1745
- sponsoredTaxonomies: [],
1746
- useFullDocumentGroupPath: useFullDocumentGroupPath
1688
+ sponsoredTaxonomies: []
1747
1689
  }, props))
1748
1690
  );
1749
1691
  };
@@ -1752,9 +1694,8 @@ var View = function View(props) {
1752
1694
  View.returnGetInitialProps = function () {
1753
1695
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(url, prevUrl, seriesVid, client, sao) {
1754
1696
  var context = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
1755
- var useFullDocumentGroupPath = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
1756
1697
 
1757
- var article, relatedArticleQuery, sliderData, statusCode, sliderArticles, _context$query$series, seriesArticle, sponsoredFlag, newDocPath;
1698
+ var article, relatedArticleQuery, sliderData, statusCode, sliderArticles, _context$query$series, seriesArticle, sponsoredFlag;
1758
1699
 
1759
1700
  return regenerator.wrap(function _callee$(_context) {
1760
1701
  while (1) {
@@ -1781,7 +1722,7 @@ View.returnGetInitialProps = function () {
1781
1722
  }
1782
1723
 
1783
1724
  _context.next = 11;
1784
- return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published desc) {\n title,\n thumbnail,\n url,\n published\n }');
1725
+ return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n && passwordLock != true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
1785
1726
 
1786
1727
  case 11:
1787
1728
  sliderArticles = _context.sent;
@@ -1858,21 +1799,6 @@ View.returnGetInitialProps = function () {
1858
1799
  article.relatedArticle = _context.sent;
1859
1800
 
1860
1801
  case 27:
1861
- if (!(useFullDocumentGroupPath && article.documentGroup)) {
1862
- _context.next = 33;
1863
- break;
1864
- }
1865
-
1866
- _context.next = 30;
1867
- return get_doc_group_path(article.documentGroup._id, client);
1868
-
1869
- case 30:
1870
- newDocPath = _context.sent;
1871
-
1872
- if (newDocPath.indexOf('/') === 0) newDocPath = newDocPath.substring(1);
1873
- article.documentGroup.path = newDocPath;
1874
-
1875
- case 33:
1876
1802
  return _context.abrupt('return', {
1877
1803
  url: url,
1878
1804
  sao: sao,
@@ -1884,12 +1810,12 @@ View.returnGetInitialProps = function () {
1884
1810
  sponsoredFlag: sponsoredFlag
1885
1811
  });
1886
1812
 
1887
- case 34:
1813
+ case 28:
1888
1814
  case 'end':
1889
1815
  return _context.stop();
1890
1816
  }
1891
1817
  }
1892
- }, _callee, _this);
1818
+ }, _callee, _this$1);
1893
1819
  }));
1894
1820
 
1895
1821
  return function (_x, _x2, _x3, _x4, _x5) {
@@ -1,15 +1,15 @@
1
1
  import React from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
- import { i as imageUrlBuilder } from './index-0dbff1d1.js';
3
+ import { i as imageUrlBuilder } from './index-3f5c03b2.js';
4
4
  import { c as clean_html_1 } from './entities-932b50cf.js';
5
- import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
5
+ import { A as AuthorComponent } from './AuthorComponent-c7ff069f.js';
6
6
  import { L as LazyLoad } from './index-752d1dae.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
- import './slicedToArray-be2f7a22.js';
9
- import './web.dom.iterable-4109ff68.js';
10
- import './es6.string.iterator-bc33758b.js';
11
- import './_to-object-b50e61c3.js';
12
- import './core.get-iterator-method-133dfacd.js';
8
+ import './slicedToArray-cdeaee08.js';
9
+ import './web.dom.iterable-035980f3.js';
10
+ import './es6.string.iterator-aa6068a3.js';
11
+ import './_to-object-97770c52.js';
12
+ import './core.get-iterator-method-d1d5ed02.js';
13
13
  import 'react-dom';
14
14
  import 'prop-types';
15
15