@mjhls/mjh-framework 1.0.1005-next12-0001 → 1.0.1005-next12-0003

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 (605) hide show
  1. package/dist/cjs/AD-898996a0.js +1 -0
  2. package/dist/cjs/AD.js +1 -32
  3. package/dist/cjs/AD300x250-266996c8.js +1 -0
  4. package/dist/cjs/AD300x250.js +1 -95
  5. package/dist/cjs/AD300x250x600-f5ccbeef.js +1 -0
  6. package/dist/cjs/AD300x250x600.js +1 -112
  7. package/dist/cjs/AD728x90-cfaa3590.js +1 -0
  8. package/dist/cjs/AD728x90.js +1 -109
  9. package/dist/cjs/ADFloatingFooter-6a82d5a0.js +1 -0
  10. package/dist/cjs/ADFloatingFooter.js +1 -143
  11. package/dist/cjs/ADFooter-86087810.js +1 -0
  12. package/dist/cjs/ADFooter.js +1 -53
  13. package/dist/cjs/ADGutter-c2fafa7d.js +1 -0
  14. package/dist/cjs/ADGutter.js +1 -115
  15. package/dist/cjs/ADInfeed-f496a8f6.js +1 -0
  16. package/dist/cjs/ADSkyscraper-dcea8c02.js +1 -0
  17. package/dist/cjs/ADSkyscraper.js +1 -117
  18. package/dist/cjs/ADSponsoredResources-b3c41d02.js +1 -0
  19. package/dist/cjs/ADSponsoredResources.js +1 -114
  20. package/dist/cjs/ADWebcast-cd4cb6eb.js +1 -0
  21. package/dist/cjs/ADWebcast.js +1 -119
  22. package/dist/cjs/ADWelcome-62c95f83.js +1 -0
  23. package/dist/cjs/ADWelcome.js +1 -166
  24. package/dist/cjs/ADlgInfeed-01f5ef1b.js +1 -0
  25. package/dist/cjs/AccordionPanel-9a3ea5e9.js +1 -0
  26. package/dist/cjs/AccordionPanel.js +1 -94
  27. package/dist/cjs/AdSlot-d541f28d.js +1 -0
  28. package/dist/cjs/AdSlot.js +1 -251
  29. package/dist/cjs/AdSlotsProvider-2e4f7f6f.js +1 -0
  30. package/dist/cjs/AdSlotsProvider.js +1 -183
  31. package/dist/cjs/AlgoliaSearch-8eab2349.js +1 -0
  32. package/dist/cjs/AlgoliaSearch.js +1 -195
  33. package/dist/cjs/AlphabeticList-a86a341f.js +1 -0
  34. package/dist/cjs/AlphabeticList.js +1 -135
  35. package/dist/cjs/ArticleCarousel-75b7d666.js +1 -0
  36. package/dist/cjs/ArticleCarousel.js +1 -46
  37. package/dist/cjs/ArticleProgramLandingPage-c22f8d23.js +1 -0
  38. package/dist/cjs/ArticleProgramLandingPage.js +1 -188
  39. package/dist/cjs/ArticleSeriesLandingPage-5225aa96.js +1 -0
  40. package/dist/cjs/ArticleSeriesLandingPage.js +1 -162
  41. package/dist/cjs/ArticleSeriesListing-be79214a.js +1 -0
  42. package/dist/cjs/ArticleSeriesListing.js +1 -315
  43. package/dist/cjs/Auth.js +1 -3514
  44. package/dist/cjs/AuthWrapper.js +1 -143
  45. package/dist/cjs/AuthorComponent-91032070.js +1 -0
  46. package/dist/cjs/Beam.js +1 -350
  47. package/dist/cjs/Breadcrumbs-ad264db7.js +1 -0
  48. package/dist/cjs/Breadcrumbs.js +1 -107
  49. package/dist/cjs/CMEDeck-c58e524e.js +1 -0
  50. package/dist/cjs/CMEDeck.js +1 -443
  51. package/dist/cjs/Column1-9a0e0262.js +1 -0
  52. package/dist/cjs/Column1.js +1 -39
  53. package/dist/cjs/Column2-739faed9.js +1 -0
  54. package/dist/cjs/Column2.js +1 -74
  55. package/dist/cjs/Column3-fa7c056f.js +1 -0
  56. package/dist/cjs/Column3.js +1 -143
  57. package/dist/cjs/ConferenceArticleCard-4f472e4b.js +1 -0
  58. package/dist/cjs/ConferenceArticleCard.js +1 -93
  59. package/dist/cjs/ConferenceBanner-9fb497af.js +1 -0
  60. package/dist/cjs/ContentCard-94a11e61.js +1 -0
  61. package/dist/cjs/ContentCardPaginated.js +1 -417
  62. package/dist/cjs/DeckContent.js +1 -507
  63. package/dist/cjs/DeckQueue.js +1 -403
  64. package/dist/cjs/DeckQueuePaginated.js +1 -348
  65. package/dist/cjs/Dfp-6d5370e2.js +1 -0
  66. package/dist/cjs/DropdownButton-469c179c.js +6 -0
  67. package/dist/cjs/Dvm-d7766f28.js +1 -0
  68. package/dist/cjs/EventsDeck-6f4dae1e.js +1 -0
  69. package/dist/cjs/EventsDeck.js +1 -884
  70. package/dist/cjs/ExternalResources-e965dd3d.js +1 -0
  71. package/dist/cjs/ExternalResources.js +1 -222
  72. package/dist/cjs/Feature-3cf45f11.js +1 -0
  73. package/dist/cjs/Feature.js +1 -129
  74. package/dist/cjs/ForbesHero-741e751e.js +1 -0
  75. package/dist/cjs/ForbesHero.js +1 -137
  76. package/dist/cjs/GridContent-ffe6735d.js +1 -0
  77. package/dist/cjs/GridContent.js +1 -828
  78. package/dist/cjs/GridContentPaginated.js +1 -704
  79. package/dist/cjs/GridHero-80338231.js +1 -0
  80. package/dist/cjs/GridHero.js +1 -147
  81. package/dist/cjs/GroupDeck-f3b67f3d.js +1 -0
  82. package/dist/cjs/GroupDeck.js +1 -314
  83. package/dist/cjs/HamMagazine.js +1 -602
  84. package/dist/cjs/HamburgerNav-ef1d1832.js +1 -0
  85. package/dist/cjs/Header-268a2cda.js +1 -0
  86. package/dist/cjs/Header.js +1 -39
  87. package/dist/cjs/HealthCareProfessionalModal.js +1 -78
  88. package/dist/cjs/Hero-43574b9d.js +1 -0
  89. package/dist/cjs/Hero.js +1 -48
  90. package/dist/cjs/HighlightenVideo-20edba55.js +1 -0
  91. package/dist/cjs/HighlightenVideo.js +1 -69
  92. package/dist/cjs/HorizontalArticleListing-906f5b20.js +1 -0
  93. package/dist/cjs/HorizontalArticleListing.js +1 -169
  94. package/dist/cjs/HorizontalHero-7911527d.js +1 -0
  95. package/dist/cjs/HorizontalHero.js +1 -111
  96. package/dist/cjs/ImageSlider-1b09bc59.js +1 -0
  97. package/dist/cjs/IssueContentDeck-f79e2c82.js +1 -0
  98. package/dist/cjs/IssueContentDeck.js +1 -241
  99. package/dist/cjs/IssueDeck-e41a10eb.js +1 -0
  100. package/dist/cjs/IssueDeck.js +1 -268
  101. package/dist/cjs/IssueLanding-89e0e42f.js +1 -0
  102. package/dist/cjs/IssueLanding.js +1 -176
  103. package/dist/cjs/KMTracker-4e1de793.js +1 -0
  104. package/dist/cjs/KMTracker.js +1 -27
  105. package/dist/cjs/LeftNav-1f40f0cc.js +1 -0
  106. package/dist/cjs/LeftNav.js +1 -154
  107. package/dist/cjs/Magazine-93dc6beb.js +1 -0
  108. package/dist/cjs/MasterDeck-65dd366b.js +1 -0
  109. package/dist/cjs/MasterDeck.js +1 -555
  110. package/dist/cjs/MasterDeckPaginated.js +1 -469
  111. package/dist/cjs/MediaSeriesCard-8ae50064.js +1 -0
  112. package/dist/cjs/MediaSeriesLanding.js +1 -508
  113. package/dist/cjs/MediaSeriesLandingPaginated.js +1 -534
  114. package/dist/cjs/Native-d1a75938.js +1 -0
  115. package/dist/cjs/NavDvm.js +1 -276
  116. package/dist/cjs/NavFooter-f905aca3.js +1 -0
  117. package/dist/cjs/NavMagazine.js +1 -613
  118. package/dist/cjs/NavNative.js +1 -880
  119. package/dist/cjs/Normal-1e9c0fa8.js +1 -0
  120. package/dist/cjs/OncliveHero-3fb41e1f.js +1 -0
  121. package/dist/cjs/OncliveHero.js +1 -79
  122. package/dist/cjs/OncliveLargeHero-c538ea20.js +1 -0
  123. package/dist/cjs/OncliveLargeHero.js +1 -241
  124. package/dist/cjs/PageFilter-4bb08c20.js +1 -0
  125. package/dist/cjs/PageFilter.js +1 -72
  126. package/dist/cjs/Pagination-825e4903.js +1 -0
  127. package/dist/cjs/PartnerDetailListing-f849c242.js +1 -0
  128. package/dist/cjs/PartnerDetailListing.js +1 -344
  129. package/dist/cjs/PartnerDetailListingPaginated.js +1 -353
  130. package/dist/cjs/PdfDownload-c99142ff.js +1 -0
  131. package/dist/cjs/PdfDownload.js +1 -28
  132. package/dist/cjs/PixelTracking.js +1 -165
  133. package/dist/cjs/PodcastsLanding.js +1 -236
  134. package/dist/cjs/PopUpModal-7cc1667b.js +1 -0
  135. package/dist/cjs/PopUpModal.js +1 -58
  136. package/dist/cjs/PtceDeck.js +1 -149
  137. package/dist/cjs/PubSection-e962964d.js +1 -0
  138. package/dist/cjs/PubSection.js +1 -120
  139. package/dist/cjs/PubToc-e2ff1533.js +1 -0
  140. package/dist/cjs/PubToc.js +1 -87
  141. package/dist/cjs/PublicationDeck-fd0d582f.js +1 -0
  142. package/dist/cjs/PublicationDeck.js +1 -183
  143. package/dist/cjs/PublicationFeature-00d7d119.js +1 -0
  144. package/dist/cjs/PublicationLanding-a8b90432.js +1 -0
  145. package/dist/cjs/PublicationLanding.js +1 -853
  146. package/dist/cjs/Queue-6872841c.js +1 -0
  147. package/dist/cjs/QueueDeckExpanded-b5dd6cda.js +1 -0
  148. package/dist/cjs/QueueDeckExpanded.js +1 -1540
  149. package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1388
  150. package/dist/cjs/RecentNews.js +1 -91
  151. package/dist/cjs/RelatedContent-fa1fdaf1.js +1 -0
  152. package/dist/cjs/RelatedContent.js +1 -114
  153. package/dist/cjs/RelatedTopicsDropdown-4736b927.js +1 -0
  154. package/dist/cjs/RelatedTopicsDropdown.js +1 -90
  155. package/dist/cjs/RolesDeck-83cbb45e.js +1 -0
  156. package/dist/cjs/RolesDeck.js +1 -94
  157. package/dist/cjs/Schema-5c66c5cd.js +1 -0
  158. package/dist/cjs/Schema.js +1 -103
  159. package/dist/cjs/Search.js +1 -66
  160. package/dist/cjs/Segment.js +1 -452
  161. package/dist/cjs/SeriesListingDeck.js +1 -248
  162. package/dist/cjs/SeriesSlider-72fde209.js +1 -0
  163. package/dist/cjs/SetCookie.js +1 -10
  164. package/dist/cjs/SideFooter-2b3625c9.js +1 -0
  165. package/dist/cjs/SideFooter.js +1 -150
  166. package/dist/cjs/SocialIcons-425827d3.js +1 -0
  167. package/dist/cjs/SocialIcons.js +1 -103
  168. package/dist/cjs/SocialNavFooter-8f053a08.js +1 -0
  169. package/dist/cjs/SocialSearchComponent-3dc5405e.js +1 -0
  170. package/dist/cjs/SocialShare-3d7c8abe.js +1 -0
  171. package/dist/cjs/SocialShare.js +1 -74
  172. package/dist/cjs/TaxonomyCard-ca56a7b2.js +1 -0
  173. package/dist/cjs/TaxonomyCard.js +1 -257
  174. package/dist/cjs/TaxonomyDescription-becc5cc5.js +1 -0
  175. package/dist/cjs/TaxonomyDescription.js +1 -209
  176. package/dist/cjs/TemplateNormal.js +1 -203
  177. package/dist/cjs/ThumbnailCard-25c9e37b.js +1 -0
  178. package/dist/cjs/ThumbnailCard.js +1 -59
  179. package/dist/cjs/Ustream-e85bed96.js +1 -0
  180. package/dist/cjs/Ustream.js +1 -156
  181. package/dist/cjs/VerticalHero-ef71262f.js +1 -0
  182. package/dist/cjs/VerticalHero.js +1 -74
  183. package/dist/cjs/VideoProgramLandingPage-bcef4cda.js +1 -0
  184. package/dist/cjs/VideoProgramLandingPage.js +1 -264
  185. package/dist/cjs/VideoSeriesCard.js +1 -88
  186. package/dist/cjs/VideoSeriesFilter-c45505be.js +1 -0
  187. package/dist/cjs/VideoSeriesFilter.js +1 -128
  188. package/dist/cjs/VideoSeriesLandingPage-7e199b48.js +1 -0
  189. package/dist/cjs/VideoSeriesLandingPage.js +1 -178
  190. package/dist/cjs/VideoSeriesListing-0d8ffc18.js +1 -0
  191. package/dist/cjs/VideoSeriesListing.js +1 -422
  192. package/dist/cjs/View.js +1 -2680
  193. package/dist/cjs/YahooHero-5cce225b.js +1 -0
  194. package/dist/cjs/YahooHero.js +1 -126
  195. package/dist/cjs/YoutubeGroup-d36b3e49.js +1 -0
  196. package/dist/cjs/YoutubeGroup.js +1 -371
  197. package/dist/cjs/_commonjsHelpers-0a7b82d9.js +1 -0
  198. package/dist/cjs/beam-6940aa8c.js +1 -0
  199. package/dist/cjs/checkSisterSite-d2d62375.js +1 -0
  200. package/dist/cjs/defineProperty-3cad0327.js +1 -0
  201. package/dist/cjs/entities-6106638a.js +1 -0
  202. package/dist/cjs/extends-f8003900.js +1 -0
  203. package/dist/cjs/faundadb.js +1 -406
  204. package/dist/cjs/getContentCategory-ee6d9fdf.js +1 -0
  205. package/dist/cjs/getKeywords-5341ea76.js +1 -0
  206. package/dist/cjs/getKeywords.js +1 -46
  207. package/dist/cjs/getPrototypeOf-e5dabebb.js +1 -0
  208. package/dist/cjs/getPtceActivities.js +1 -89
  209. package/dist/cjs/getQuery-154617ad.js +1 -0
  210. package/dist/cjs/getQuery.js +1 -28
  211. package/dist/cjs/getRelatedArticle-1008e957.js +1 -0
  212. package/dist/cjs/getRelatedArticle.js +1 -478
  213. package/dist/cjs/getRootDocGroup.js +1 -62
  214. package/dist/cjs/getSerializers.js +1 -68
  215. package/dist/cjs/getSeriesDetail-e2980903.js +1 -0
  216. package/dist/cjs/getSeriesDetail.js +1 -40
  217. package/dist/cjs/getTargeting-3b9a1da0.js +1 -0
  218. package/dist/cjs/getTargeting.js +1 -13
  219. package/dist/cjs/index-4c0b6033.js +1 -0
  220. package/dist/cjs/index-6e1fba48.js +1 -0
  221. package/dist/cjs/index-83bcf60c.js +1 -0
  222. package/dist/cjs/index-efb74633.js +1 -0
  223. package/dist/cjs/index.js +1 -643
  224. package/dist/cjs/searchForm-2a06a0a6.js +1 -0
  225. package/dist/cjs/segment-lib-1c52764b.js +1 -0
  226. package/dist/cjs/setCookie-e72f573d.js +1 -0
  227. package/dist/cjs/slicedToArray-e6d9072a.js +1 -0
  228. package/dist/cjs/style-inject.es-dcee06b6.js +1 -30
  229. package/dist/cjs/timeDifferenceCalc.js +1 -39
  230. package/dist/cjs/toConsumableArray-bf649f24.js +1 -0
  231. package/dist/cjs/typeof-5f2c4427.js +1 -0
  232. package/dist/cjs/unsupportedIterableToArray-a6f9513d.js +1 -0
  233. package/dist/cjs/urlFor-ca017581.js +1 -0
  234. package/dist/cjs/urlFor.js +1 -65
  235. package/dist/cjs/urlForFile-266cd07c.js +1 -0
  236. package/dist/cjs/ustream-api-05a918f3.js +1 -0
  237. package/dist/esm/AD-52252475.js +1 -0
  238. package/dist/esm/AD.js +1 -26
  239. package/dist/esm/AD300x250-6ba14878.js +1 -0
  240. package/dist/esm/AD300x250.js +1 -89
  241. package/dist/esm/AD300x250x600-371610a9.js +1 -0
  242. package/dist/esm/AD300x250x600.js +1 -106
  243. package/dist/esm/AD728x90-22304c6a.js +1 -0
  244. package/dist/esm/AD728x90.js +1 -103
  245. package/dist/esm/ADFloatingFooter-57571461.js +1 -0
  246. package/dist/esm/ADFloatingFooter.js +1 -137
  247. package/dist/esm/ADFooter-def97764.js +1 -0
  248. package/dist/esm/ADFooter.js +1 -47
  249. package/dist/esm/ADGutter-05ea5a24.js +1 -0
  250. package/dist/esm/ADGutter.js +1 -109
  251. package/dist/esm/ADInfeed-20197eba.js +1 -0
  252. package/dist/esm/ADSkyscraper-d992d7aa.js +1 -0
  253. package/dist/esm/ADSkyscraper.js +1 -111
  254. package/dist/esm/ADSponsoredResources-169c4989.js +1 -0
  255. package/dist/esm/ADSponsoredResources.js +1 -108
  256. package/dist/esm/ADWebcast-aa6c2a84.js +1 -0
  257. package/dist/esm/ADWebcast.js +1 -113
  258. package/dist/esm/ADWelcome-be877a73.js +1 -0
  259. package/dist/esm/ADWelcome.js +1 -160
  260. package/dist/esm/ADlgInfeed-180f8b7e.js +1 -0
  261. package/dist/esm/AccordionPanel-4c89ec1e.js +1 -0
  262. package/dist/esm/AccordionPanel.js +1 -87
  263. package/dist/esm/AdSlot-7c2daad3.js +1 -0
  264. package/dist/esm/AdSlot.js +1 -244
  265. package/dist/esm/AdSlotsProvider-565c5169.js +1 -0
  266. package/dist/esm/AdSlotsProvider.js +1 -176
  267. package/dist/esm/AlgoliaSearch-a4af9d6e.js +1 -0
  268. package/dist/esm/AlgoliaSearch.js +1 -188
  269. package/dist/esm/AlphabeticList-fcf0c93c.js +1 -0
  270. package/dist/esm/AlphabeticList.js +1 -129
  271. package/dist/esm/ArticleCarousel-62e593d2.js +1 -0
  272. package/dist/esm/ArticleCarousel.js +1 -40
  273. package/dist/esm/ArticleProgramLandingPage-0618efa4.js +1 -0
  274. package/dist/esm/ArticleProgramLandingPage.js +1 -182
  275. package/dist/esm/ArticleSeriesLandingPage-764a8206.js +1 -0
  276. package/dist/esm/ArticleSeriesLandingPage.js +1 -156
  277. package/dist/esm/ArticleSeriesListing-017388bd.js +1 -0
  278. package/dist/esm/ArticleSeriesListing.js +1 -308
  279. package/dist/esm/Auth.js +1 -3494
  280. package/dist/esm/AuthWrapper.js +1 -136
  281. package/dist/esm/AuthorComponent-4bb0a577.js +1 -0
  282. package/dist/esm/Beam.js +1 -348
  283. package/dist/esm/Breadcrumbs-11913dcf.js +1 -0
  284. package/dist/esm/Breadcrumbs.js +1 -100
  285. package/dist/esm/CMEDeck-d11e05c6.js +1 -0
  286. package/dist/esm/CMEDeck.js +1 -437
  287. package/dist/esm/Column1-3304e0a7.js +1 -0
  288. package/dist/esm/Column1.js +1 -29
  289. package/dist/esm/Column2-216e1b74.js +1 -0
  290. package/dist/esm/Column2.js +1 -64
  291. package/dist/esm/Column3-0799b8d1.js +1 -0
  292. package/dist/esm/Column3.js +1 -133
  293. package/dist/esm/ConferenceArticleCard-c8ebc4c5.js +1 -0
  294. package/dist/esm/ConferenceArticleCard.js +1 -87
  295. package/dist/esm/ConferenceBanner-8a6f3ed9.js +1 -0
  296. package/dist/esm/ContentCard-b326f8e0.js +1 -0
  297. package/dist/esm/ContentCardPaginated.js +1 -406
  298. package/dist/esm/DeckContent.js +1 -497
  299. package/dist/esm/DeckQueue.js +1 -393
  300. package/dist/esm/DeckQueuePaginated.js +1 -337
  301. package/dist/esm/Dfp-5935bfb4.js +1 -0
  302. package/dist/esm/DropdownButton-07c4dfae.js +6 -0
  303. package/dist/esm/Dvm-f67220c0.js +1 -0
  304. package/dist/esm/EventsDeck-f0ffda78.js +1 -0
  305. package/dist/esm/EventsDeck.js +1 -871
  306. package/dist/esm/ExternalResources-075e250c.js +1 -0
  307. package/dist/esm/ExternalResources.js +1 -215
  308. package/dist/esm/Feature-0c2c0b2d.js +1 -0
  309. package/dist/esm/Feature.js +1 -122
  310. package/dist/esm/ForbesHero-ec644354.js +1 -0
  311. package/dist/esm/ForbesHero.js +1 -131
  312. package/dist/esm/GridContent-99a1bfc4.js +1 -0
  313. package/dist/esm/GridContent.js +1 -818
  314. package/dist/esm/GridContentPaginated.js +1 -693
  315. package/dist/esm/GridHero-fd6a363f.js +1 -0
  316. package/dist/esm/GridHero.js +1 -141
  317. package/dist/esm/GroupDeck-c173accb.js +1 -0
  318. package/dist/esm/GroupDeck.js +1 -308
  319. package/dist/esm/HamMagazine.js +1 -590
  320. package/dist/esm/HamburgerNav-134f2aa6.js +1 -0
  321. package/dist/esm/Header-b0624adc.js +1 -0
  322. package/dist/esm/Header.js +1 -30
  323. package/dist/esm/HealthCareProfessionalModal.js +1 -70
  324. package/dist/esm/Hero-37edbb29.js +1 -0
  325. package/dist/esm/Hero.js +1 -42
  326. package/dist/esm/HighlightenVideo-5c3fd0fd.js +1 -0
  327. package/dist/esm/HighlightenVideo.js +1 -63
  328. package/dist/esm/HorizontalArticleListing-820bb4f7.js +1 -0
  329. package/dist/esm/HorizontalArticleListing.js +1 -163
  330. package/dist/esm/HorizontalHero-7576d927.js +1 -0
  331. package/dist/esm/HorizontalHero.js +1 -105
  332. package/dist/esm/ImageSlider-a0786266.js +1 -0
  333. package/dist/esm/IssueContentDeck-9d771cc2.js +1 -0
  334. package/dist/esm/IssueContentDeck.js +1 -231
  335. package/dist/esm/IssueDeck-787f939c.js +1 -0
  336. package/dist/esm/IssueDeck.js +1 -258
  337. package/dist/esm/IssueLanding-0e46e28d.js +1 -0
  338. package/dist/esm/IssueLanding.js +1 -170
  339. package/dist/esm/KMTracker-d9e1c288.js +1 -0
  340. package/dist/esm/KMTracker.js +1 -25
  341. package/dist/esm/LeftNav-b4fa0d0b.js +1 -0
  342. package/dist/esm/LeftNav.js +1 -145
  343. package/dist/esm/Magazine-fb80c07a.js +1 -0
  344. package/dist/esm/MasterDeck-5efbeb73.js +1 -0
  345. package/dist/esm/MasterDeck.js +1 -548
  346. package/dist/esm/MasterDeckPaginated.js +1 -461
  347. package/dist/esm/MediaSeriesCard-18ee909f.js +1 -0
  348. package/dist/esm/MediaSeriesLanding.js +1 -501
  349. package/dist/esm/MediaSeriesLandingPaginated.js +1 -527
  350. package/dist/esm/Native-41cedb31.js +1 -0
  351. package/dist/esm/NavDvm.js +1 -264
  352. package/dist/esm/NavFooter-83d89acd.js +1 -0
  353. package/dist/esm/NavMagazine.js +1 -601
  354. package/dist/esm/NavNative.js +1 -865
  355. package/dist/esm/Normal-28f50540.js +1 -0
  356. package/dist/esm/OncliveHero-525c9d19.js +1 -0
  357. package/dist/esm/OncliveHero.js +1 -73
  358. package/dist/esm/OncliveLargeHero-219b4577.js +1 -0
  359. package/dist/esm/OncliveLargeHero.js +1 -235
  360. package/dist/esm/PageFilter-7f97f8ed.js +1 -0
  361. package/dist/esm/PageFilter.js +1 -66
  362. package/dist/esm/Pagination-44c3ff7c.js +1 -0
  363. package/dist/esm/PartnerDetailListing-7ec391ac.js +1 -0
  364. package/dist/esm/PartnerDetailListing.js +1 -338
  365. package/dist/esm/PartnerDetailListingPaginated.js +1 -347
  366. package/dist/esm/PdfDownload-eff648d3.js +1 -0
  367. package/dist/esm/PdfDownload.js +1 -22
  368. package/dist/esm/PixelTracking.js +1 -156
  369. package/dist/esm/PodcastsLanding.js +1 -229
  370. package/dist/esm/PopUpModal-bf7b6151.js +1 -0
  371. package/dist/esm/PopUpModal.js +1 -51
  372. package/dist/esm/PtceDeck.js +1 -143
  373. package/dist/esm/PubSection-37b37129.js +1 -0
  374. package/dist/esm/PubSection.js +1 -114
  375. package/dist/esm/PubToc-af66289b.js +1 -0
  376. package/dist/esm/PubToc.js +1 -81
  377. package/dist/esm/PublicationDeck-cbef1029.js +1 -0
  378. package/dist/esm/PublicationDeck.js +1 -173
  379. package/dist/esm/PublicationFeature-13838b92.js +1 -0
  380. package/dist/esm/PublicationLanding-3d724d91.js +1 -0
  381. package/dist/esm/PublicationLanding.js +1 -843
  382. package/dist/esm/Queue-bb3f3625.js +1 -0
  383. package/dist/esm/QueueDeckExpanded-6af47534.js +1 -0
  384. package/dist/esm/QueueDeckExpanded.js +1 -1534
  385. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1382
  386. package/dist/esm/RecentNews.js +1 -85
  387. package/dist/esm/RelatedContent-85ad1d8e.js +1 -0
  388. package/dist/esm/RelatedContent.js +1 -108
  389. package/dist/esm/RelatedTopicsDropdown-0cf5829a.js +1 -0
  390. package/dist/esm/RelatedTopicsDropdown.js +1 -82
  391. package/dist/esm/RolesDeck-6146633e.js +1 -0
  392. package/dist/esm/RolesDeck.js +1 -84
  393. package/dist/esm/Schema-e0d1fc48.js +1 -0
  394. package/dist/esm/Schema.js +1 -97
  395. package/dist/esm/Search.js +1 -57
  396. package/dist/esm/Segment.js +1 -450
  397. package/dist/esm/SeriesListingDeck.js +1 -242
  398. package/dist/esm/SeriesSlider-21d0daf6.js +1 -0
  399. package/dist/esm/SetCookie.js +1 -8
  400. package/dist/esm/SideFooter-2f08df74.js +1 -0
  401. package/dist/esm/SideFooter.js +1 -144
  402. package/dist/esm/SocialIcons-c7861c13.js +1 -0
  403. package/dist/esm/SocialIcons.js +1 -97
  404. package/dist/esm/SocialNavFooter-66c6cf3c.js +1 -0
  405. package/dist/esm/SocialSearchComponent-a4fa0609.js +1 -0
  406. package/dist/esm/SocialShare-9cc43665.js +1 -0
  407. package/dist/esm/SocialShare.js +1 -67
  408. package/dist/esm/TaxonomyCard-f7ac379f.js +1 -0
  409. package/dist/esm/TaxonomyCard.js +1 -247
  410. package/dist/esm/TaxonomyDescription-32abd442.js +1 -0
  411. package/dist/esm/TaxonomyDescription.js +1 -202
  412. package/dist/esm/TemplateNormal.js +1 -196
  413. package/dist/esm/ThumbnailCard-8377176b.js +1 -0
  414. package/dist/esm/ThumbnailCard.js +1 -52
  415. package/dist/esm/Ustream-2e9965ac.js +1 -0
  416. package/dist/esm/Ustream.js +1 -150
  417. package/dist/esm/VerticalHero-5719a7c4.js +1 -0
  418. package/dist/esm/VerticalHero.js +1 -68
  419. package/dist/esm/VideoProgramLandingPage-9b20c066.js +1 -0
  420. package/dist/esm/VideoProgramLandingPage.js +1 -255
  421. package/dist/esm/VideoSeriesCard.js +1 -82
  422. package/dist/esm/VideoSeriesFilter-2ce9ff0e.js +1 -0
  423. package/dist/esm/VideoSeriesFilter.js +1 -122
  424. package/dist/esm/VideoSeriesLandingPage-1f6b5f71.js +1 -0
  425. package/dist/esm/VideoSeriesLandingPage.js +1 -172
  426. package/dist/esm/VideoSeriesListing-72688d44.js +1 -0
  427. package/dist/esm/VideoSeriesListing.js +1 -415
  428. package/dist/esm/View.js +1 -2669
  429. package/dist/esm/YahooHero-96f912cb.js +1 -0
  430. package/dist/esm/YahooHero.js +1 -120
  431. package/dist/esm/YoutubeGroup-fdd46eeb.js +1 -0
  432. package/dist/esm/YoutubeGroup.js +1 -365
  433. package/dist/esm/_commonjsHelpers-57e89916.js +1 -0
  434. package/dist/esm/beam-cf274172.js +1 -0
  435. package/dist/esm/checkSisterSite-20e2bf62.js +1 -0
  436. package/dist/esm/defineProperty-9f9de5d0.js +1 -0
  437. package/dist/esm/entities-c5c3079c.js +1 -0
  438. package/dist/esm/extends-464f0b6e.js +1 -0
  439. package/dist/esm/faundadb.js +1 -396
  440. package/dist/esm/getContentCategory-f99fdf90.js +1 -0
  441. package/dist/esm/getKeywords-2512775a.js +1 -0
  442. package/dist/esm/getKeywords.js +1 -44
  443. package/dist/esm/getPrototypeOf-5b57bbdd.js +1 -0
  444. package/dist/esm/getPtceActivities.js +1 -87
  445. package/dist/esm/getQuery-bfc0390c.js +1 -0
  446. package/dist/esm/getQuery.js +1 -26
  447. package/dist/esm/getRelatedArticle-418087a7.js +1 -0
  448. package/dist/esm/getRelatedArticle.js +1 -476
  449. package/dist/esm/getRootDocGroup.js +1 -60
  450. package/dist/esm/getSerializers.js +1 -62
  451. package/dist/esm/getSeriesDetail-aef9680c.js +1 -0
  452. package/dist/esm/getSeriesDetail.js +1 -38
  453. package/dist/esm/getTargeting-6bf24d0e.js +1 -0
  454. package/dist/esm/getTargeting.js +1 -7
  455. package/dist/esm/index-58183fed.js +1 -0
  456. package/dist/esm/index-663f3f10.js +1 -0
  457. package/dist/esm/index-bfecdbef.js +1 -0
  458. package/dist/esm/index-fcd6d5f7.js +1 -0
  459. package/dist/esm/index.js +1 -536
  460. package/dist/esm/searchForm-3f3f5af6.js +1 -0
  461. package/dist/esm/segment-lib-563b26a6.js +1 -0
  462. package/dist/esm/setCookie-0f2ab6df.js +1 -0
  463. package/dist/esm/slicedToArray-c92cae3a.js +1 -0
  464. package/dist/esm/style-inject.es-1f59c1d0.js +1 -28
  465. package/dist/esm/timeDifferenceCalc.js +1 -37
  466. package/dist/esm/toConsumableArray-25e5c43c.js +1 -0
  467. package/dist/esm/typeof-a0b2b621.js +1 -0
  468. package/dist/esm/unsupportedIterableToArray-dc74e326.js +1 -0
  469. package/dist/esm/urlFor-b366f69d.js +1 -0
  470. package/dist/esm/urlFor.js +1 -63
  471. package/dist/esm/urlForFile-272819a6.js +1 -0
  472. package/dist/esm/ustream-api-7998d140.js +1 -0
  473. package/package.json +21 -20
  474. package/dist/cjs/ADInfeed-08a6ef56.js +0 -66
  475. package/dist/cjs/ADlgInfeed-f46139b2.js +0 -60
  476. package/dist/cjs/AuthorComponent-17e1c62b.js +0 -96
  477. package/dist/cjs/BlockContent-8b494587.js +0 -916
  478. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  479. package/dist/cjs/Dfp-bcaa7e3f.js +0 -103
  480. package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
  481. package/dist/cjs/MediaSeriesCard-a6e3f32e.js +0 -81
  482. package/dist/cjs/NavFooter-4799de4b.js +0 -71
  483. package/dist/cjs/Pagination-7624a3bd.js +0 -90
  484. package/dist/cjs/PublicationFeature-6f89fb97.js +0 -130
  485. package/dist/cjs/SeriesSlider-08699353.js +0 -332
  486. package/dist/cjs/SocialSearchComponent-59192efd.js +0 -213
  487. package/dist/cjs/Tooltip-7be5df78.js +0 -9229
  488. package/dist/cjs/_commonjsHelpers-06173234.js +0 -25
  489. package/dist/cjs/_is-array-aa52fa1e.js +0 -74
  490. package/dist/cjs/_iter-detect-05795553.js +0 -52
  491. package/dist/cjs/_library-dd23b178.js +0 -5
  492. package/dist/cjs/_object-pie-68c5bcbc.js +0 -16
  493. package/dist/cjs/_object-sap-171b9ea5.js +0 -16
  494. package/dist/cjs/_object-to-array-9bac8737.js +0 -25
  495. package/dist/cjs/asyncToGenerator-df19209d.js +0 -1395
  496. package/dist/cjs/brightcove-react-player-loader.es-5c98aec7.js +0 -2232
  497. package/dist/cjs/checkSisterSite-b29833b2.js +0 -19
  498. package/dist/cjs/core.get-iterator-method-f3c44602.js +0 -584
  499. package/dist/cjs/debounce-529c8d06.js +0 -216
  500. package/dist/cjs/define-property-21887c62.js +0 -20
  501. package/dist/cjs/entities-310b46ee.js +0 -506
  502. package/dist/cjs/eq-bb2843ed.js +0 -79
  503. package/dist/cjs/extends-7df78678.js +0 -86
  504. package/dist/cjs/get-adbb11e3.js +0 -920
  505. package/dist/cjs/getContentCategory-f38a4c00.js +0 -11
  506. package/dist/cjs/getTargeting-5eabd6e2.js +0 -164
  507. package/dist/cjs/iconBase-68959171.js +0 -84
  508. package/dist/cjs/index-187c967e.js +0 -54
  509. package/dist/cjs/index-44481153.js +0 -1664
  510. package/dist/cjs/index-99edf08a.js +0 -1572
  511. package/dist/cjs/index-9d365128.js +0 -613
  512. package/dist/cjs/index-b278e08f.js +0 -10526
  513. package/dist/cjs/index-b5eb3ff8.js +0 -551
  514. package/dist/cjs/index-bd6c9f56.js +0 -211
  515. package/dist/cjs/index.es-f3e47207.js +0 -445
  516. package/dist/cjs/index.esm-44f3e2d0.js +0 -13
  517. package/dist/cjs/index.esm-48e0f0d8.js +0 -19
  518. package/dist/cjs/index.esm-f4cf6943.js +0 -97
  519. package/dist/cjs/index.esm-f93506ac.js +0 -25
  520. package/dist/cjs/inherits-420ee86f.js +0 -185
  521. package/dist/cjs/isSymbol-04666465.js +0 -209
  522. package/dist/cjs/js.cookie-a511c430.js +0 -160
  523. package/dist/cjs/keys-d207942e.js +0 -25
  524. package/dist/cjs/lodash-7fd85bcf.js +0 -17147
  525. package/dist/cjs/main-7b5e57b0.js +0 -898
  526. package/dist/cjs/md5-e1ca5797.js +0 -323
  527. package/dist/cjs/moment-ca3bd9fb.js +0 -5669
  528. package/dist/cjs/react-social-icons-07939b41.js +0 -616
  529. package/dist/cjs/slicedToArray-f6d4eaa8.js +0 -95
  530. package/dist/cjs/smoothscroll-5054361f.js +0 -438
  531. package/dist/cjs/stringify-bbc68047.js +0 -17
  532. package/dist/cjs/toConsumableArray-c9b8a0d0.js +0 -74
  533. package/dist/cjs/toNumber-36d1e7e5.js +0 -69
  534. package/dist/cjs/typeof-ec08d471.js +0 -382
  535. package/dist/cjs/urlForFile-ad96158c.js +0 -24
  536. package/dist/cjs/ustream-api-9ebe112f.js +0 -106
  537. package/dist/cjs/util-f2c1b65b.js +0 -576
  538. package/dist/cjs/visibility-sensor-eb2c5b69.js +0 -597
  539. package/dist/cjs/web.dom.iterable-e34bf324.js +0 -50
  540. package/dist/esm/ADInfeed-36973a76.js +0 -59
  541. package/dist/esm/ADlgInfeed-f6e898d5.js +0 -54
  542. package/dist/esm/AuthorComponent-b0a47123.js +0 -90
  543. package/dist/esm/BlockContent-d05b5b23.js +0 -909
  544. package/dist/esm/ConferenceBanner-9162d0ca.js +0 -18
  545. package/dist/esm/Dfp-e151d2de.js +0 -96
  546. package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
  547. package/dist/esm/MediaSeriesCard-66045ffb.js +0 -75
  548. package/dist/esm/NavFooter-da30eae3.js +0 -65
  549. package/dist/esm/Pagination-1e09918f.js +0 -82
  550. package/dist/esm/PublicationFeature-0379cc20.js +0 -121
  551. package/dist/esm/SeriesSlider-b364d074.js +0 -326
  552. package/dist/esm/SocialSearchComponent-09b55779.js +0 -204
  553. package/dist/esm/Tooltip-af3e4ee9.js +0 -9220
  554. package/dist/esm/_commonjsHelpers-0c4b6f40.js +0 -19
  555. package/dist/esm/_is-array-31d40a83.js +0 -71
  556. package/dist/esm/_iter-detect-72edfd60.js +0 -48
  557. package/dist/esm/_library-528f1934.js +0 -3
  558. package/dist/esm/_object-pie-33c40e79.js +0 -13
  559. package/dist/esm/_object-sap-4201ccf6.js +0 -14
  560. package/dist/esm/_object-to-array-fa0feeff.js +0 -23
  561. package/dist/esm/asyncToGenerator-9c835201.js +0 -1387
  562. package/dist/esm/brightcove-react-player-loader.es-4abff0b1.js +0 -2226
  563. package/dist/esm/checkSisterSite-baa4fb6b.js +0 -17
  564. package/dist/esm/core.get-iterator-method-8c71f470.js +0 -547
  565. package/dist/esm/debounce-9207d8ee.js +0 -214
  566. package/dist/esm/define-property-a8a00786.js +0 -18
  567. package/dist/esm/entities-7cc3bf45.js +0 -503
  568. package/dist/esm/eq-b470f743.js +0 -76
  569. package/dist/esm/extends-7fbbe94e.js +0 -83
  570. package/dist/esm/get-1e515072.js +0 -918
  571. package/dist/esm/getContentCategory-15dcc413.js +0 -9
  572. package/dist/esm/getTargeting-eed01f73.js +0 -161
  573. package/dist/esm/iconBase-602d52fe.js +0 -81
  574. package/dist/esm/index-1819118a.js +0 -1655
  575. package/dist/esm/index-3a7c5bbe.js +0 -10504
  576. package/dist/esm/index-51a80699.js +0 -548
  577. package/dist/esm/index-6c12bdd5.js +0 -605
  578. package/dist/esm/index-c7e2ac95.js +0 -52
  579. package/dist/esm/index-db3bb315.js +0 -207
  580. package/dist/esm/index-fa2ffe86.js +0 -1570
  581. package/dist/esm/index.es-c6222053.js +0 -439
  582. package/dist/esm/index.esm-55f22b35.js +0 -14
  583. package/dist/esm/index.esm-9d701385.js +0 -90
  584. package/dist/esm/index.esm-c6715e80.js +0 -10
  585. package/dist/esm/index.esm-d1125763.js +0 -18
  586. package/dist/esm/inherits-d26c739e.js +0 -179
  587. package/dist/esm/isSymbol-1981418f.js +0 -203
  588. package/dist/esm/js.cookie-6874175c.js +0 -158
  589. package/dist/esm/keys-5e9bd229.js +0 -23
  590. package/dist/esm/lodash-ec8c6b48.js +0 -17145
  591. package/dist/esm/main-43ca42fe.js +0 -886
  592. package/dist/esm/md5-4e42248e.js +0 -321
  593. package/dist/esm/moment-b6f49411.js +0 -5667
  594. package/dist/esm/react-social-icons-3822f1ce.js +0 -609
  595. package/dist/esm/slicedToArray-99bcfd93.js +0 -92
  596. package/dist/esm/smoothscroll-0cd4c7a6.js +0 -436
  597. package/dist/esm/stringify-0c65d837.js +0 -15
  598. package/dist/esm/toConsumableArray-47a5394a.js +0 -71
  599. package/dist/esm/toNumber-2f7a84cd.js +0 -67
  600. package/dist/esm/typeof-d92ed6e0.js +0 -378
  601. package/dist/esm/urlForFile-0fc42ed8.js +0 -22
  602. package/dist/esm/ustream-api-cbba615a.js +0 -104
  603. package/dist/esm/util-7700fc59.js +0 -574
  604. package/dist/esm/visibility-sensor-f40c2564.js +0 -590
  605. package/dist/esm/web.dom.iterable-406140e0.js +0 -48
@@ -1,182 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-72edfd60.js';
5
- import './toConsumableArray-47a5394a.js';
6
- import './_object-pie-33c40e79.js';
7
- import { _ as _extends } from './extends-7fbbe94e.js';
8
- import './_object-sap-4201ccf6.js';
9
- import './inherits-d26c739e.js';
10
- import './define-property-a8a00786.js';
11
- import './web.dom.iterable-406140e0.js';
12
- import './typeof-d92ed6e0.js';
13
- import './_is-array-31d40a83.js';
14
- import React from 'react';
15
- import './index-1819118a.js';
16
- import 'prop-types';
17
- import 'react-bootstrap/Container';
18
- import 'react-bootstrap/Row';
19
- import 'react-bootstrap/Col';
20
- import './moment-b6f49411.js';
21
- import 'next/router';
22
- import './isSymbol-1981418f.js';
23
- import './debounce-9207d8ee.js';
24
- import './toNumber-2f7a84cd.js';
25
- import './index.es-c6222053.js';
26
- import 'react-dom';
27
- import './visibility-sensor-f40c2564.js';
28
- import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
29
- import './index-51a80699.js';
30
- import './urlFor.js';
31
- import './index-6c12bdd5.js';
32
- import './main-43ca42fe.js';
33
- import './entities-7cc3bf45.js';
34
- import './stringify-0c65d837.js';
35
- import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-9c835201.js';
36
- import './Segment.js';
37
- import './Beam.js';
38
- import './AdSlot.js';
39
- import 'react-bootstrap/Button';
40
- import { B as BlockContent } from './BlockContent-d05b5b23.js';
41
- import './checkSisterSite-baa4fb6b.js';
42
- import './index-c7e2ac95.js';
43
- import './smoothscroll-0cd4c7a6.js';
44
- import './GroupDeck.js';
45
- import './YoutubeGroup.js';
46
- import 'react-bootstrap';
47
- import './iconBase-602d52fe.js';
48
- import './index.esm-55f22b35.js';
49
- import ArticleSeriesListing from './ArticleSeriesListing.js';
50
- import { g as getSerializers } from './index-3a7c5bbe.js';
51
- import './util-7700fc59.js';
52
- import './urlForFile-0fc42ed8.js';
53
- import './brightcove-react-player-loader.es-4abff0b1.js';
54
- import './_object-to-array-fa0feeff.js';
55
- import './keys-5e9bd229.js';
56
- import 'react-bootstrap/Modal';
57
- import 'react-bootstrap/Form';
58
- import 'react-ga';
59
- import 'next/head';
60
- import 'react-share';
61
- import './SocialShare.js';
62
- import 'react-bootstrap/Pagination';
63
- import 'react-bootstrap/Figure';
64
- import 'react-bootstrap/OverlayTrigger';
65
- import 'react-bootstrap/Tooltip';
66
- import 'react-bootstrap/Popover';
67
- import 'react-script-tag';
68
-
69
- var _this = undefined;
70
-
71
- var ArticleProgramLandingPage = function ArticleProgramLandingPage(props) {
72
- var client = props.client,
73
- posts = props.posts,
74
- mapping = props.mapping,
75
- query = props.query,
76
- params = props.params,
77
- currentPage = props.currentPage,
78
- pageview = props.pageview,
79
- _props$columns = props.columns,
80
- columns = _props$columns === undefined ? 'rotate' : _props$columns,
81
- _props$variant = props.variant,
82
- variant = _props$variant === undefined ? 'top' : _props$variant,
83
- _props$page = props.page,
84
- page = _props$page === undefined ? '' : _props$page,
85
- _props$defaultImage = props.defaultImage,
86
- defaultImage = _props$defaultImage === undefined ? '/placeholder.jpg' : _props$defaultImage,
87
- virtualBlock = props.virtualBlock,
88
- pageDescription = props.pageDescription,
89
- _props$autoScroll = props.autoScroll,
90
- autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll;
91
-
92
- return React.createElement(
93
- 'div',
94
- null,
95
- virtualBlock && React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
96
- pageDescription && React.createElement(
97
- 'div',
98
- { className: 'mb-3' },
99
- pageDescription.image && React.createElement('img', { className: 'mb-3 w-100', src: pageDescription.image, alt: pageDescription.imageAlt || '' }),
100
- pageDescription.description && React.createElement(
101
- 'p',
102
- null,
103
- pageDescription.description
104
- )
105
- ),
106
- posts && React.createElement(ArticleSeriesListing, {
107
- client: client,
108
- mapping: mapping,
109
- dataRecord: posts,
110
- query: query,
111
- params: params,
112
- currentPage: currentPage,
113
- pageview: pageview,
114
- columns: columns,
115
- variant: variant,
116
- page: page,
117
- autoScroll: autoScroll,
118
- defaultImage: defaultImage
119
- })
120
- );
121
- };
122
-
123
- ArticleProgramLandingPage.getInitialData = function () {
124
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
125
- var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
126
- var taxonomyId = arguments[3];
127
-
128
- var pathname, urlQuery, url, page, currentPage, start, params, query, postsPromise, virtualBlockPromise, posts, virtualBlock, _ref2, _ref3;
129
-
130
- return regenerator.wrap(function _callee$(_context) {
131
- while (1) {
132
- switch (_context.prev = _context.next) {
133
- case 0:
134
- pathname = context.pathname, urlQuery = context.query;
135
- url = pathname ? pathname : '';
136
- page = urlQuery.page ? parseInt(urlQuery.page) : 1;
137
- currentPage = page ? parseInt(page) : 1;
138
- start = (currentPage - 1) * itemsPerPage;
139
- params = {
140
- from: start,
141
- to: start + itemsPerPage,
142
- itemsPerPage: itemsPerPage
143
- };
144
- query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url) \n && references(\'' + taxonomyId + '\')\n && is_visible == true\n && passwordLock != true \n && defined(published)\n && dateTime(published) <= dateTime(now())] | order(published desc)[$from...$to]{\n title,\n published,\n thumbnail,\n url,\n taxonomy,\n body[_type == "articleSeries"]{\n ...\n },\n \'pageNumber\': ' + currentPage + '\n }';
145
- postsPromise = client.fetch(query, params);
146
- virtualBlockPromise = client.fetch('*[_type == \'virtualBlock\' && identifier == \'' + pathname + '\'][0]');
147
- posts = void 0, virtualBlock = void 0;
148
- _context.prev = 10;
149
- _context.next = 14;
150
- return _Promise.all([postsPromise, virtualBlockPromise]);
151
-
152
- case 14:
153
- _ref2 = _context.sent;
154
- _ref3 = _slicedToArray(_ref2, 2);
155
- posts = _ref3[0];
156
- virtualBlock = _ref3[1];
157
- _context.next = 23;
158
- break;
159
-
160
- case 20:
161
- _context.prev = 20;
162
- _context.t0 = _context['catch'](10);
163
-
164
- console.error(_context.t0);
165
-
166
- case 23:
167
- return _context.abrupt('return', { posts: posts, virtualBlock: virtualBlock, url: url, query: query });
168
-
169
- case 24:
170
- case 'end':
171
- return _context.stop();
172
- }
173
- }
174
- }, _callee, _this, [[10, 20]]);
175
- }));
176
-
177
- return function (_x, _x2) {
178
- return _ref.apply(this, arguments);
179
- };
180
- }();
181
-
182
- export default ArticleProgramLandingPage;
1
+ import"./slicedToArray-c92cae3a.js";import"./index-663f3f10.js";import"./extends-464f0b6e.js";import"react";import"@sanity/block-content-to-react";import"./index-fcd6d5f7.js";import"./ArticleSeriesListing-017388bd.js";export{a as default}from"./ArticleProgramLandingPage-0618efa4.js";import"./unsupportedIterableToArray-dc74e326.js";import"react-bootstrap";import"./urlFor-b366f69d.js";import"@sanity/image-url";import"react-dfp";import"next/router";import"get-youtube-id";import"react-youtube";import"./segment-lib-563b26a6.js";import"react-device-detect";import"./urlForFile-272819a6.js";import"react-lazyload";import"./typeof-a0b2b621.js";import"@brightcove/react-player-loader";import"./defineProperty-9f9de5d0.js";import"react-bootstrap/Modal";import"react-bootstrap/Button";import"react-bootstrap/Form";import"react-player";import"react-ga";import"./GroupDeck-c173accb.js";import"smoothscroll-polyfill";import"moment";import"./SocialShare-9cc43665.js";import"next/head";import"react-share";import"react-bootstrap/Pagination";import"./entities-c5c3079c.js";import"striptags";import"./_commonjsHelpers-57e89916.js";import"./AdSlot-7c2daad3.js";import"prop-types";import"lodash/debounce";import"react-bootstrap/Row";import"react-bootstrap/Col";import"./toConsumableArray-25e5c43c.js";import"./getPrototypeOf-5b57bbdd.js";import"react-icons/io";import"react-bootstrap/Figure";import"react-bootstrap/OverlayTrigger";import"react-bootstrap/Tooltip";import"react-bootstrap/Popover";import"react-script-tag";import"./checkSisterSite-20e2bf62.js";import"react-bootstrap/Container";import"react-visibility-sensor";import"./YoutubeGroup-fdd46eeb.js";import"react-infinite-scroll-component";
@@ -0,0 +1 @@
1
+ import{a as e,r}from"./index-663f3f10.js";import t from"react";import{a}from"./MasterDeck-5efbeb73.js";var n=function(e){var r=e.client,n=e.posts,i=e.summary,s=e.seriesTitle,l=e.seriesName,c=e.query,u=e.params,o=e.currentPage,m=void 0===o?1:o,p=e.pageview,d=e.autoScroll,f=void 0===d||d,v=e.mapping,y=e.deck,g=e.variant,h=void 0===g?"left":g,b=e.defaultImage,_=void 0===b?"/placeholder.jpg":b;return t.createElement("div",null,i&&t.createElement("div",{style:{fontSize:"1rem"},className:"article-series-summary px-1 mt-2 mb-4"},i),s&&t.createElement("h1",{className:"article-series-title"},t.createElement("a",l&&{href:"/view/".concat(l)},s)),n&&y&&t.createElement(a,{deck:y,variant:h,defaultImage:_,client:r,mapping:v,dataRecord:n,query:c,params:u,currentPage:m,pageview:p,autoScroll:f}))};n.getInitialData=function(){var t=e(r.mark((function e(t,a){var n,i,s,l,c,u,o,m,p,d,f,v,y,g=arguments;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=g.length>2&&void 0!==g[2]?g[2]:10,i=g.length>3?g[3]:void 0,s=t.query,l=s.series,c=s.page?parseInt(s.page):1,u=c?parseInt(c):1,m={from:o=(u-1)*n,to:o+n,itemsPerPage:n},p="*[\n _type == 'article' \n && !(_id in path(\"drafts.**\")) \n && defined(title) \n && defined(url) \n && references('".concat(i,"')\n && url.current == '").concat(l,'\'\n && is_visible == true\n && passwordLock != true \n && defined(published)\n && dateTime(published) <= dateTime(now())] | order(published desc)[$from...$to]{\n title,\n summary,\n published,\n thumbnail,\n url,\n taxonomy,\n body[_type == "articleSeries"]{\n ...\n },\n }'),e.next=11,a.fetch(p,m);case 11:return d=e.sent,f="",v=!1,d.length>0&&d[0].body[0].articles&&(y=d[0].url.current+"?seriesArticle=",f=d[0].title,v=d[0].summary,(d=d[0].body[0].articles).map((function(e,r){return e.url={current:y+e.param.current}}))),e.abrupt("return",{posts:d,query:p,params:m,seriesTitle:f,seriesName:l,summary:v});case 16:case"end":return e.stop()}}),e)})));return function(e,r){return t.apply(this,arguments)}}();var i=Object.freeze({__proto__:null,default:n});export{i as A,n as a};
@@ -1,156 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-72edfd60.js';
5
- import './toConsumableArray-47a5394a.js';
6
- import './_object-pie-33c40e79.js';
7
- import './extends-7fbbe94e.js';
8
- import './_object-sap-4201ccf6.js';
9
- import './inherits-d26c739e.js';
10
- import './define-property-a8a00786.js';
11
- import './web.dom.iterable-406140e0.js';
12
- import './typeof-d92ed6e0.js';
13
- import './_is-array-31d40a83.js';
14
- import React from 'react';
15
- import './index-1819118a.js';
16
- import 'prop-types';
17
- import 'react-bootstrap/Container';
18
- import 'react-bootstrap/Row';
19
- import 'react-bootstrap/Col';
20
- import 'react-bootstrap/Card';
21
- import './moment-b6f49411.js';
22
- import 'next/router';
23
- import './isSymbol-1981418f.js';
24
- import './debounce-9207d8ee.js';
25
- import './toNumber-2f7a84cd.js';
26
- import './index.es-c6222053.js';
27
- import 'react-dom';
28
- import './visibility-sensor-f40c2564.js';
29
- import './slicedToArray-99bcfd93.js';
30
- import './index-51a80699.js';
31
- import './main-43ca42fe.js';
32
- import './stringify-0c65d837.js';
33
- import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
34
- import './Segment.js';
35
- import './Beam.js';
36
- import './AdSlot.js';
37
- import './ADInfeed-36973a76.js';
38
- import './lodash-ec8c6b48.js';
39
- import './ADlgInfeed-f6e898d5.js';
40
- import MasterDeck from './MasterDeck.js';
41
-
42
- var _this = undefined;
43
-
44
- var ArticleSeriesLandingPage = function ArticleSeriesLandingPage(props) {
45
- var client = props.client,
46
- posts = props.posts,
47
- summary = props.summary,
48
- seriesTitle = props.seriesTitle,
49
- seriesName = props.seriesName,
50
- query = props.query,
51
- params = props.params,
52
- _props$currentPage = props.currentPage,
53
- currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
54
- pageview = props.pageview,
55
- _props$autoScroll = props.autoScroll,
56
- autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
57
- mapping = props.mapping,
58
- deck = props.deck,
59
- _props$variant = props.variant,
60
- variant = _props$variant === undefined ? 'left' : _props$variant,
61
- _props$defaultImage = props.defaultImage,
62
- defaultImage = _props$defaultImage === undefined ? '/placeholder.jpg' : _props$defaultImage;
63
-
64
-
65
- return React.createElement(
66
- 'div',
67
- null,
68
- summary && React.createElement(
69
- 'div',
70
- { style: { fontSize: '1rem' }, className: 'article-series-summary px-1 mt-2 mb-4' },
71
- summary
72
- ),
73
- seriesTitle && React.createElement(
74
- 'h1',
75
- { className: 'article-series-title' },
76
- React.createElement(
77
- 'a',
78
- seriesName && { href: '/view/' + seriesName },
79
- seriesTitle
80
- )
81
- ),
82
- posts && deck && React.createElement(MasterDeck, {
83
- deck: deck,
84
- variant: variant,
85
- defaultImage: defaultImage,
86
- client: client,
87
- mapping: mapping,
88
- dataRecord: posts,
89
- query: query,
90
- params: params,
91
- currentPage: currentPage,
92
- pageview: pageview,
93
- autoScroll: autoScroll
94
- })
95
- );
96
- };
97
-
98
- ArticleSeriesLandingPage.getInitialData = function () {
99
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
100
- var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
101
- var taxonomyId = arguments[3];
102
- var urlQuery, seriesName, page, currentPage, start, params, query, posts, seriesTitle, summary, url;
103
- return regenerator.wrap(function _callee$(_context) {
104
- while (1) {
105
- switch (_context.prev = _context.next) {
106
- case 0:
107
- urlQuery = context.query;
108
- seriesName = urlQuery.series;
109
- page = urlQuery.page ? parseInt(urlQuery.page) : 1;
110
- currentPage = page ? parseInt(page) : 1;
111
- start = (currentPage - 1) * itemsPerPage;
112
- params = {
113
- from: start,
114
- to: start + itemsPerPage,
115
- itemsPerPage: itemsPerPage
116
- };
117
- query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url) \n && references(\'' + taxonomyId + '\')\n && url.current == \'' + seriesName + '\'\n && is_visible == true\n && passwordLock != true \n && defined(published)\n && dateTime(published) <= dateTime(now())] | order(published desc)[$from...$to]{\n title,\n summary,\n published,\n thumbnail,\n url,\n taxonomy,\n body[_type == "articleSeries"]{\n ...\n },\n }';
118
- _context.next = 9;
119
- return client.fetch(query, params);
120
-
121
- case 9:
122
- posts = _context.sent;
123
- seriesTitle = '';
124
- summary = false;
125
-
126
-
127
- if (posts.length > 0 && posts[0].body[0].articles) {
128
- url = posts[0].url.current + '?seriesArticle=';
129
-
130
- seriesTitle = posts[0].title;
131
- summary = posts[0].summary;
132
- posts = posts[0].body[0].articles;
133
- //start youtube thumbnail fix
134
- posts.map(function (post, index) {
135
- return post['url'] = {
136
- current: url + post.param.current
137
- };
138
- });
139
- //end
140
- }
141
- return _context.abrupt('return', { posts: posts, query: query, params: params, seriesTitle: seriesTitle, seriesName: seriesName, summary: summary });
142
-
143
- case 14:
144
- case 'end':
145
- return _context.stop();
146
- }
147
- }
148
- }, _callee, _this);
149
- }));
150
-
151
- return function (_x, _x2) {
152
- return _ref.apply(this, arguments);
153
- };
154
- }();
155
-
156
- export default ArticleSeriesLandingPage;
1
+ import"./index-663f3f10.js";import"react";import"./MasterDeck-5efbeb73.js";export{a as default}from"./ArticleSeriesLandingPage-764a8206.js";import"./extends-464f0b6e.js";import"./toConsumableArray-25e5c43c.js";import"./unsupportedIterableToArray-dc74e326.js";import"./getPrototypeOf-5b57bbdd.js";import"./typeof-a0b2b621.js";import"./defineProperty-9f9de5d0.js";import"react-dfp";import"react-bootstrap/Container";import"react-bootstrap/Row";import"react-bootstrap/Col";import"react-bootstrap/Card";import"moment";import"next/router";import"lodash";import"lodash/debounce";import"react-infinite-scroll-component";import"react-visibility-sensor";import"./ADlgInfeed-180f8b7e.js";import"./slicedToArray-c92cae3a.js";import"./AdSlot-7c2daad3.js";import"prop-types";import"./segment-lib-563b26a6.js";import"react-device-detect";import"./ADInfeed-20197eba.js";
@@ -0,0 +1 @@
1
+ import{_ as e}from"./extends-464f0b6e.js";import{i as t,_ as r,p as a,c as n,a as o,b as c}from"./getPrototypeOf-5b57bbdd.js";import{d as i}from"./defineProperty-9f9de5d0.js";import s from"react";import{DFPManager as l}from"react-dfp";import p from"react-bootstrap/Container";import u from"react-visibility-sensor";import{IoIosArrowForward as m}from"react-icons/io";import f from"moment";import{withRouter as d}from"next/router";import{a as g}from"./YoutubeGroup-fdd46eeb.js";import y from"lodash/debounce";import h from"react-infinite-scroll-component";function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var c=r(this).constructor;n=Reflect.construct(o,arguments,c)}else n=o.apply(this,arguments);return a(this,n)}}var E=d(function(r){t(d,r);var a=P(d);function d(){var t;o(this,d);for(var r=arguments.length,n=new Array(r),p=0;p<r;p++)n[p]=arguments[p];return t=a.call.apply(a,[this].concat(n)),i(c(t),"page",t.props.page),i(c(t),"mapping",t.props.mapping),i(c(t),"data",t.props.dataRecord),i(c(t),"query",t.props.query),i(c(t),"params",t.props.params),i(c(t),"autoScroll",!!t.props.autoScroll&&t.props.autoScroll),i(c(t),"today",f().utc().format()),i(c(t),"dataArr",[t.data]),i(c(t),"defaultImage",t.props.defaultImage?t.props.defaultImage:"/placeholder.jpg"),i(c(t),"state",{data:t.dataArr.map((function(e){var r=e;if(r.body){var a=r.body.map((function(e){if("articleSeries"===e._type){var r=e,a=r.articles.filter((function(e){if((!0===e.is_visible||!e.hasOwnProperty("is_visible"))&&t.today>=e.published)return e}));return r.body=a,r}return e}));r.body=a}return r})),per:t.params?t.params.to:2,page:t.props.currentPage||1,from:t.params?t.params.from:0,to:t.params?t.params.to:2,total_pages:null,scrolling:t.autoScroll,query:t.query,currentPage:t.props.currentPage||1}),i(c(t),"loadMore",y((function(){t.setState((function(e){var t=e.page,r=e.from,a=e.per;return{page:t+1,from:r+a,to:e.to+a}}),t.loadData)}),0)),i(c(t),"loadData",(function(){var e=t.state,r=e.from,a=e.to;e.data;var n=e.query,o=e.page,c=t.props.client,i=v(v({},t.params),{},{from:r,to:a});c.fetch(n,i).then((function(e){if(t.pointer&&t.pointerArray){var r=t.pointer;e=e[t.pointerArray][r]}e=e.map((function(e){return v(v({},e),{},{pageNumber:o})})),t.setState((function(){if(e.length>0){var r=t.state.data;return r.push(e),{data:r,scrolling:!0}}return{scrolling:!1}}))}))})),i(c(t),"changePageNumber",(function(e){var r=t.props,a=r.seoPaginate,n=r.pageview,o=r.router,c=t.state.currentPage;if(a){var i=o.asPath,s=i.indexOf("?"),p=o.pathname,u="";if(s>0)i=i.substring(1,s),o.asPath.substring(s+1).split("&").map((function(e){var t=e.split("="),r=t[0],a=t[1];"page"!==r&&(u+=(0===u.length?"":"&")+r+"="+a)}));u.length>0&&(i+="?"+u),c!==(e=parseInt(e))&&(l.refresh(),t.setState({currentPage:e},(function(){"/"!==i[0]&&(i="/"+i);var t=1===e?"".concat(i):"".concat(i).concat(i.includes("?")?"&page=".concat(e):"?page=".concat(e));n&&n(t),o.push(p,t,{shallow:!0})})))}})),i(c(t),"renderManualPagination",(function(){var e=t.state.currentPage;return s.createElement("div",{className:"d-flex justify-content-between"},e&&e>1&&s.createElement("a",{href:"?page=".concat(e-1)},"<< Previous"),s.createElement("a",{href:"?page=".concat(e+1)},"Next >>"))})),i(c(t),"renderSeries",(function(r){var a=0;return s.createElement("div",null,r&&r.map((function(r,n){return r.body&&r.body.length>0&&r.body[0].articles&&r.body[0].articles.map((function(e,t){e.link="/view/"+r.url.current+"?seriesArticle="+e.param.current})),s.createElement("div",{key:n,counter:a++},s.createElement("h4",{className:"article-title-banner",style:{fontWeight:"bold",color:"var(--primary)",padding:".25rem 0",borderBottom:"2px solid #d4a64d"}},s.createElement("a",{href:"/".concat(t.props.page,"/").concat(r.url.current)},r.title,s.createElement("span",{style:{fontSize:".9rem",color:"grey",marginLeft:"1rem",transform:"translateY(-2px)",display:"inline-block"}},s.createElement(m,null)))),r.body&&r.body.length>0&&r.body[0].articles?s.createElement(g,e({key:n,dataset:r.body[0].articles},t.props)):s.createElement("p",null,"No Article Found."))})))})),t}return n(d,[{key:"render",value:function(){var e=this;return s.createElement(s.Fragment,null,this.state.data.length>=1&&this.state.data[0].length>0?s.createElement(h,{dataLength:this.state.data.length,next:this.loadMore,hasMore:this.state.scrolling,scrollThreshold:.8},s.createElement(p,null,this.state.data&&this.state.data.map((function(t,r){var a=t&&t.length>0&&1!==t[0].pageNumber?t[0].pageNumber:1;return s.createElement(s.Fragment,{key:r},s.createElement(u,{onChange:function(t){t&&e.changePageNumber(a)}},s.createElement("div",{className:"visibility-sensor",style:{minHeight:".25rem"}})),s.createElement("div",null,e.renderSeries(t)))})))):s.createElement("div",{style:{marginTop:"10px"}},s.createElement("h5",null,s.createElement("em",null,"New content coming soon, please check back later."))))}}]),d}(s.Component)),O=Object.freeze({__proto__:null,default:E});export{O as A,E as a};
@@ -1,308 +1 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-8c71f470.js';
3
- import './_library-528f1934.js';
4
- import './_object-pie-33c40e79.js';
5
- import { _ as _extends } from './extends-7fbbe94e.js';
6
- import './_object-sap-4201ccf6.js';
7
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d26c739e.js';
8
- import './define-property-a8a00786.js';
9
- import './web.dom.iterable-406140e0.js';
10
- import './typeof-d92ed6e0.js';
11
- import './_is-array-31d40a83.js';
12
- import React from 'react';
13
- import { l as lib_3 } from './index-1819118a.js';
14
- import 'prop-types';
15
- import Container from 'react-bootstrap/Container';
16
- import { m as moment } from './moment-b6f49411.js';
17
- import { withRouter } from 'next/router';
18
- import './isSymbol-1981418f.js';
19
- import { d as debounce_1 } from './debounce-9207d8ee.js';
20
- import './toNumber-2f7a84cd.js';
21
- import { I as InfiniteScroll } from './index.es-c6222053.js';
22
- import 'react-dom';
23
- import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
24
- import './slicedToArray-99bcfd93.js';
25
- import './index-51a80699.js';
26
- import './urlFor.js';
27
- import './index-6c12bdd5.js';
28
- import './main-43ca42fe.js';
29
- import './index-c7e2ac95.js';
30
- import './smoothscroll-0cd4c7a6.js';
31
- import YoutubeGroup from './YoutubeGroup.js';
32
- import './iconBase-602d52fe.js';
33
- import { I as IoIosArrowForward } from './index.esm-55f22b35.js';
34
-
35
- var ArticleSeriesListing = function (_React$Component) {
36
- _inherits(ArticleSeriesListing, _React$Component);
37
-
38
- function ArticleSeriesListing() {
39
- var _ref;
40
-
41
- var _temp, _this, _ret;
42
-
43
- _classCallCheck(this, ArticleSeriesListing);
44
-
45
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
46
- args[_key] = arguments[_key];
47
- }
48
-
49
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ArticleSeriesListing.__proto__ || _Object$getPrototypeOf(ArticleSeriesListing)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.autoScroll = _this.props.autoScroll ? _this.props.autoScroll : false, _this.today = moment().utc().format(), _this.dataArr = [_this.data], _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.state = {
50
- data: _this.dataArr.map(function (item) {
51
- var tempObj = item;
52
- if (tempObj.body) {
53
- var filteredBody = tempObj.body.map(function (item) {
54
- if (item._type === 'articleSeries') {
55
- var innerObj = item;
56
- var filteredArticles = innerObj.articles.filter(function (article) {
57
- if ((article.is_visible === true || !article.hasOwnProperty('is_visible')) && _this.today >= article.published) {
58
- return article;
59
- }
60
- });
61
- innerObj.body = filteredArticles;
62
- return innerObj;
63
- } else {
64
- return item;
65
- }
66
- });
67
-
68
- tempObj.body = filteredBody;
69
- }
70
- return tempObj;
71
- }),
72
- per: _this.params ? _this.params.to : 2,
73
- page: _this.props.currentPage || 1,
74
- from: _this.params ? _this.params.from : 0,
75
- to: _this.params ? _this.params.to : 2,
76
- total_pages: null,
77
- scrolling: _this.autoScroll,
78
- query: _this.query,
79
- currentPage: _this.props.currentPage || 1
80
- }, _this.loadMore = debounce_1(function () {
81
- _this.setState(function (state) {
82
- var page = state.page,
83
- from = state.from,
84
- per = state.per,
85
- to = state.to;
86
-
87
- return {
88
- page: page + 1,
89
- from: from + per,
90
- to: to + per
91
- };
92
- }, _this.loadData);
93
- }, 0), _this.loadData = function () {
94
- var _this$state = _this.state,
95
- from = _this$state.from,
96
- to = _this$state.to,
97
- data = _this$state.data,
98
- query = _this$state.query,
99
- page = _this$state.page;
100
- var client = _this.props.client;
101
- //this.changePageNumber(page)
102
-
103
- var params = _extends({}, _this.params, { from: from, to: to
104
- // const queryUpdated = query.replace('$from', params.from).replace('$to', params.to)
105
- // const query = '*[_type == "article" && defined(title) && defined(thumbnail)][$from...$to] { title, summary, thumbnail { asset-> }, url }'
106
- });client.fetch(query, params).then(function (dataArr) {
107
- if (_this.pointer && _this.pointerArray) {
108
- var pointer = _this.pointer;
109
- dataArr = dataArr[_this.pointerArray][pointer];
110
- }
111
- dataArr = dataArr.map(function (item) {
112
- return _extends({}, item, {
113
- pageNumber: page
114
- });
115
- });
116
-
117
- _this.setState(function () {
118
- if (dataArr.length > 0) {
119
- var newDataArr = _this.state.data;
120
- newDataArr.push(dataArr);
121
- return {
122
- data: newDataArr,
123
- scrolling: true
124
- };
125
- } else {
126
- return {
127
- scrolling: false
128
- };
129
- }
130
- });
131
- });
132
- }, _this.changePageNumber = function (pageNumber) {
133
- var _this$props = _this.props,
134
- seoPaginate = _this$props.seoPaginate,
135
- pageview = _this$props.pageview,
136
- router = _this$props.router;
137
- var currentPage = _this.state.currentPage;
138
-
139
- if (seoPaginate) {
140
- var path = router.asPath;
141
- var qrIndex = path.indexOf('?');
142
- var pathname = router.pathname;
143
- var queryString = '';
144
-
145
- if (qrIndex > 0) {
146
- path = path.substring(1, qrIndex);
147
-
148
- var partialQS = router.asPath.substring(qrIndex + 1);
149
- var partialQSArr = partialQS.split('&');
150
-
151
- // exclude page=xxx from query string
152
- partialQSArr.map(function (item) {
153
- var itemArr = item.split('=');
154
- var key = itemArr[0];
155
- var val = itemArr[1];
156
-
157
- if (key !== 'page') {
158
- queryString += (queryString.length === 0 ? '' : '&') + key + '=' + val;
159
- }
160
- });
161
- }
162
-
163
- if (queryString.length > 0) {
164
- path += '?' + queryString;
165
- }
166
-
167
- pageNumber = parseInt(pageNumber);
168
-
169
- if (currentPage !== pageNumber) {
170
- lib_3.refresh();
171
-
172
- _this.setState({
173
- currentPage: pageNumber
174
- }, function () {
175
- if (path[0] !== '/') {
176
- path = '/' + path;
177
- }
178
-
179
- var newPath = pageNumber === 1 ? '' + path : '' + path + (path.includes('?') ? '&page=' + pageNumber : '?page=' + pageNumber);
180
-
181
- if (pageview) {
182
- pageview(newPath);
183
- }
184
-
185
- router.push(pathname, newPath, {
186
- shallow: true
187
- });
188
- });
189
- }
190
- }
191
- }, _this.renderManualPagination = function () {
192
- var currentPage = _this.state.currentPage;
193
-
194
- return React.createElement(
195
- 'div',
196
- { className: 'd-flex justify-content-between' },
197
- currentPage && currentPage > 1 && React.createElement(
198
- 'a',
199
- { href: '?page=' + (currentPage - 1) },
200
- '<< Previous'
201
- ),
202
- React.createElement(
203
- 'a',
204
- { href: '?page=' + (currentPage + 1) },
205
- 'Next >>'
206
- )
207
- );
208
- }, _this.renderSeries = function (seriesData) {
209
- var itemCounter = 0;
210
-
211
- return React.createElement(
212
- 'div',
213
- null,
214
- seriesData && seriesData.map(function (docSeries, index) {
215
- if (docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles) {
216
- docSeries.body[0].articles.map(function (singleArticle, indexInner) {
217
- singleArticle.link = '/view/' + docSeries.url.current + '?seriesArticle=' + singleArticle.param.current;
218
- });
219
- }
220
-
221
- return React.createElement(
222
- 'div',
223
- { key: index, counter: itemCounter++ },
224
- React.createElement(
225
- 'h4',
226
- { className: 'article-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid #d4a64d' } },
227
- React.createElement(
228
- 'a',
229
- { href: '/' + _this.props.page + '/' + docSeries.url.current },
230
- docSeries.title,
231
- React.createElement(
232
- 'span',
233
- { style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)', display: 'inline-block' } },
234
- React.createElement(IoIosArrowForward, null)
235
- )
236
- )
237
- ),
238
- docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles ? React.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].articles }, _this.props)) : React.createElement(
239
- 'p',
240
- null,
241
- 'No Article Found.'
242
- )
243
- );
244
- })
245
- );
246
- }, _temp), _possibleConstructorReturn(_this, _ret);
247
- }
248
-
249
- _createClass(ArticleSeriesListing, [{
250
- key: 'render',
251
- value: function render() {
252
- var _this2 = this;
253
-
254
- return React.createElement(
255
- React.Fragment,
256
- null,
257
- this.state.data.length >= 1 && this.state.data[0].length > 0 ? //Check if any Video Groups available
258
- React.createElement(
259
- InfiniteScroll,
260
- { dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
261
- React.createElement(
262
- Container,
263
- null,
264
- this.state.data && this.state.data.map(function (series, index) {
265
- var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
266
-
267
- return React.createElement(
268
- React.Fragment,
269
- { key: index },
270
- React.createElement(
271
- VisibilitySensor,
272
- {
273
- onChange: function onChange(isVisible) {
274
- isVisible && _this2.changePageNumber(page);
275
- } },
276
- React.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
277
- ),
278
- React.createElement(
279
- 'div',
280
- null,
281
- _this2.renderSeries(series)
282
- )
283
- );
284
- })
285
- )
286
- ) : React.createElement(
287
- 'div',
288
- { style: { marginTop: '10px' } },
289
- React.createElement(
290
- 'h5',
291
- null,
292
- React.createElement(
293
- 'em',
294
- null,
295
- 'New content coming soon, please check back later.'
296
- )
297
- )
298
- )
299
- );
300
- }
301
- }]);
302
-
303
- return ArticleSeriesListing;
304
- }(React.Component);
305
-
306
- var ArticleSeriesListing$1 = withRouter(ArticleSeriesListing);
307
-
308
- export default ArticleSeriesListing$1;
1
+ import"./extends-464f0b6e.js";import"./getPrototypeOf-5b57bbdd.js";import"./defineProperty-9f9de5d0.js";import"react";import"react-dfp";import"react-bootstrap/Container";import"react-visibility-sensor";import"react-icons/io";import"moment";import"next/router";import"./YoutubeGroup-fdd46eeb.js";import"lodash/debounce";import"react-infinite-scroll-component";export{a as default}from"./ArticleSeriesListing-017388bd.js";import"./typeof-a0b2b621.js";import"./slicedToArray-c92cae3a.js";import"./unsupportedIterableToArray-dc74e326.js";import"get-youtube-id";import"react-lazyload";import"smoothscroll-polyfill";import"./urlFor-b366f69d.js";import"@sanity/image-url";import"react-device-detect";