@mjhls/mjh-framework 1.0.785 → 1.0.786-beta.0

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 (292) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +26 -27
  4. package/dist/cjs/AD300x250x600.js +26 -27
  5. package/dist/cjs/AD728x90.js +29 -30
  6. package/dist/cjs/ADFloatingFooter.js +28 -29
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +28 -29
  9. package/dist/cjs/{ADInfeed-1e53d7db.js → ADInfeed-bb09e44c.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +28 -29
  11. package/dist/cjs/ADSponsoredResources.js +28 -29
  12. package/dist/cjs/ADWebcast.js +28 -29
  13. package/dist/cjs/ADWelcome.js +29 -30
  14. package/dist/cjs/{ADlgInfeed-2494fd17.js → ADlgInfeed-fa91dbda.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +31 -32
  17. package/dist/cjs/AdSlotsProvider.js +15 -16
  18. package/dist/cjs/AlphabeticList.js +24 -25
  19. package/dist/cjs/ArticleCarousel.js +23 -24
  20. package/dist/cjs/ArticleProgramLandingPage.js +54 -57
  21. package/dist/cjs/ArticleSeriesLandingPage.js +37 -38
  22. package/dist/cjs/ArticleSeriesListing.js +60 -61
  23. package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
  24. package/dist/cjs/Beam.js +8 -8
  25. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
  26. package/dist/cjs/Breadcrumbs.js +27 -29
  27. package/dist/cjs/CMEDeck.js +82 -82
  28. package/dist/cjs/Column1.js +11 -14
  29. package/dist/cjs/Column2.js +32 -35
  30. package/dist/cjs/Column3.js +54 -57
  31. package/dist/cjs/ConferenceArticleCard.js +23 -24
  32. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  33. package/dist/cjs/DeckContent.js +93 -97
  34. package/dist/cjs/DeckQueue.js +87 -91
  35. package/dist/cjs/{Dfp-a17e00fa.js → Dfp-b807d8fa.js} +31 -32
  36. package/dist/cjs/EventsDeck.js +131 -138
  37. package/dist/cjs/ExternalResources.js +77 -80
  38. package/dist/cjs/Feature.js +25 -27
  39. package/dist/cjs/ForbesHero.js +40 -41
  40. package/dist/cjs/GridContent.js +177 -181
  41. package/dist/cjs/GridHero.js +42 -43
  42. package/dist/cjs/GroupDeck.js +58 -59
  43. package/dist/cjs/HamMagazine.js +130 -135
  44. package/dist/cjs/Header.js +12 -14
  45. package/dist/cjs/Hero.js +12 -13
  46. package/dist/cjs/HighlightenVideo.js +17 -18
  47. package/dist/cjs/HorizontalArticleListing.js +68 -71
  48. package/dist/cjs/HorizontalHero.js +25 -26
  49. package/dist/cjs/IssueContentDeck.js +72 -77
  50. package/dist/cjs/IssueDeck.js +70 -75
  51. package/dist/cjs/IssueLanding.js +39 -40
  52. package/dist/cjs/LeftNav.js +35 -37
  53. package/dist/cjs/MasterDeck.js +69 -70
  54. package/dist/cjs/MediaSeriesLanding.js +38 -40
  55. package/dist/cjs/NavDvm.js +74 -79
  56. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  57. package/dist/cjs/NavMagazine.js +137 -142
  58. package/dist/cjs/NavNative.js +126 -134
  59. package/dist/cjs/NavNormal.js +47 -52
  60. package/dist/cjs/OncliveHero.js +20 -20
  61. package/dist/cjs/OncliveLargeHero.js +66 -67
  62. package/dist/cjs/PageFilter.js +14 -15
  63. package/dist/cjs/PartnerDetailListing.js +99 -112
  64. package/dist/cjs/PdfDownload.js +8 -9
  65. package/dist/cjs/PopUpModal.js +19 -21
  66. package/dist/cjs/PubSection.js +38 -39
  67. package/dist/cjs/PubToc.js +15 -16
  68. package/dist/cjs/PublicationDeck.js +61 -66
  69. package/dist/cjs/PublicationLanding.js +79 -83
  70. package/dist/cjs/QueueDeckExpanded.js +291 -291
  71. package/dist/cjs/RecentNews.js +23 -24
  72. package/dist/cjs/RelatedContent.js +24 -25
  73. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  74. package/dist/cjs/RolesDeck.js +27 -32
  75. package/dist/cjs/Search.js +18 -22
  76. package/dist/cjs/Segment.js +6 -6
  77. package/dist/cjs/SeriesListingDeck.js +37 -37
  78. package/dist/cjs/{SeriesSlider-193a2958.js → SeriesSlider-f662f1f5.js} +37 -38
  79. package/dist/cjs/SetCookie.js +1 -1
  80. package/dist/cjs/SideFooter.js +34 -35
  81. package/dist/cjs/SocialIcons.js +9 -10
  82. package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
  83. package/dist/cjs/SocialShare.js +29 -31
  84. package/dist/cjs/TaxonomyCard.js +57 -62
  85. package/dist/cjs/TaxonomyDescription.js +51 -54
  86. package/dist/cjs/TemplateNormal.js +72 -73
  87. package/dist/cjs/ThumbnailCard.js +20 -22
  88. package/dist/cjs/Ustream.js +26 -27
  89. package/dist/cjs/VerticalHero.js +17 -18
  90. package/dist/cjs/VideoProgramLandingPage.js +70 -76
  91. package/dist/cjs/VideoSeriesCard.js +31 -32
  92. package/dist/cjs/VideoSeriesFilter.js +18 -18
  93. package/dist/cjs/VideoSeriesLandingPage.js +45 -46
  94. package/dist/cjs/VideoSeriesListing.js +77 -78
  95. package/dist/cjs/View.js +255 -261
  96. package/dist/cjs/YahooHero.js +39 -40
  97. package/dist/cjs/YoutubeGroup.js +62 -63
  98. package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
  99. package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
  100. package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
  101. package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
  102. package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
  103. package/dist/cjs/{asyncToGenerator-b6a175bf.js → asyncToGenerator-140e5f89.js} +7 -7
  104. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  105. package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
  106. package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
  107. package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
  108. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  109. package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
  110. package/dist/cjs/{extends-1e24fc8d.js → extends-0a918631.js} +2 -1
  111. package/dist/cjs/getQuery.js +1 -1
  112. package/dist/cjs/getRelatedArticle.js +28 -443
  113. package/dist/cjs/getRootDocGroup.js +6 -6
  114. package/dist/cjs/getSerializers.js +42 -44
  115. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-67f12cd7.js} +3 -3
  116. package/dist/cjs/getTargeting.js +7 -7
  117. package/dist/cjs/iconBase-68959171.js +3 -0
  118. package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
  119. package/dist/cjs/{index-4f6e2a09.js → index-57d0264f.js} +1747 -948
  120. package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
  121. package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
  122. package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
  123. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  124. package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
  125. package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
  126. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  127. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  128. package/dist/cjs/index.js +154 -166
  129. package/dist/cjs/{inherits-2eb23889.js → inherits-452ff02c.js} +8 -5
  130. package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
  131. package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
  132. package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
  133. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  134. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  135. package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
  136. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  137. package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
  138. package/dist/cjs/timeDifferenceCalc.js +1 -1
  139. package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
  140. package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
  141. package/dist/cjs/urlFor.js +2 -2
  142. package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
  143. package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
  144. package/dist/esm/AD.js +7 -7
  145. package/dist/esm/AD300x250.js +23 -23
  146. package/dist/esm/AD300x250x600.js +23 -23
  147. package/dist/esm/AD728x90.js +26 -26
  148. package/dist/esm/ADFloatingFooter.js +25 -25
  149. package/dist/esm/ADFooter.js +11 -11
  150. package/dist/esm/ADGutter.js +25 -25
  151. package/dist/esm/{ADInfeed-94817c40.js → ADInfeed-0b552b0a.js} +9 -9
  152. package/dist/esm/ADSkyscraper.js +25 -25
  153. package/dist/esm/ADSponsoredResources.js +25 -25
  154. package/dist/esm/ADWebcast.js +25 -25
  155. package/dist/esm/ADWelcome.js +26 -26
  156. package/dist/esm/{ADlgInfeed-6124ee3c.js → ADlgInfeed-49f41f83.js} +8 -8
  157. package/dist/esm/AccordionPanel.js +24 -24
  158. package/dist/esm/AdSlot.js +22 -22
  159. package/dist/esm/AdSlotsProvider.js +12 -12
  160. package/dist/esm/AlphabeticList.js +21 -21
  161. package/dist/esm/ArticleCarousel.js +20 -20
  162. package/dist/esm/ArticleProgramLandingPage.js +51 -53
  163. package/dist/esm/ArticleSeriesLandingPage.js +34 -34
  164. package/dist/esm/ArticleSeriesListing.js +55 -55
  165. package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
  166. package/dist/esm/Beam.js +8 -8
  167. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
  168. package/dist/esm/Breadcrumbs.js +17 -17
  169. package/dist/esm/CMEDeck.js +78 -78
  170. package/dist/esm/Column1.js +5 -5
  171. package/dist/esm/Column2.js +26 -26
  172. package/dist/esm/Column3.js +47 -47
  173. package/dist/esm/ConferenceArticleCard.js +19 -19
  174. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  175. package/dist/esm/DeckContent.js +75 -75
  176. package/dist/esm/DeckQueue.js +65 -65
  177. package/dist/esm/{Dfp-988dbcaa.js → Dfp-ebc4b22f.js} +21 -21
  178. package/dist/esm/EventsDeck.js +84 -84
  179. package/dist/esm/ExternalResources.js +70 -72
  180. package/dist/esm/Feature.js +18 -18
  181. package/dist/esm/ForbesHero.js +34 -34
  182. package/dist/esm/GridContent.js +139 -139
  183. package/dist/esm/GridHero.js +36 -36
  184. package/dist/esm/GroupDeck.js +46 -46
  185. package/dist/esm/HamMagazine.js +104 -104
  186. package/dist/esm/Header.js +8 -8
  187. package/dist/esm/Hero.js +9 -9
  188. package/dist/esm/HighlightenVideo.js +14 -14
  189. package/dist/esm/HorizontalArticleListing.js +65 -67
  190. package/dist/esm/HorizontalHero.js +21 -21
  191. package/dist/esm/IssueContentDeck.js +49 -49
  192. package/dist/esm/IssueDeck.js +46 -46
  193. package/dist/esm/IssueLanding.js +36 -36
  194. package/dist/esm/LeftNav.js +31 -31
  195. package/dist/esm/MasterDeck.js +63 -63
  196. package/dist/esm/MediaSeriesLanding.js +31 -31
  197. package/dist/esm/NavDvm.js +56 -56
  198. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  199. package/dist/esm/NavMagazine.js +113 -113
  200. package/dist/esm/NavNative.js +99 -99
  201. package/dist/esm/NavNormal.js +35 -35
  202. package/dist/esm/OncliveHero.js +17 -16
  203. package/dist/esm/OncliveLargeHero.js +59 -59
  204. package/dist/esm/PageFilter.js +12 -12
  205. package/dist/esm/PartnerDetailListing.js +95 -107
  206. package/dist/esm/PdfDownload.js +6 -6
  207. package/dist/esm/PopUpModal.js +14 -14
  208. package/dist/esm/PubSection.js +35 -35
  209. package/dist/esm/PubToc.js +12 -12
  210. package/dist/esm/PublicationDeck.js +38 -38
  211. package/dist/esm/PublicationLanding.js +54 -54
  212. package/dist/esm/QueueDeckExpanded.js +271 -271
  213. package/dist/esm/RecentNews.js +20 -20
  214. package/dist/esm/RelatedContent.js +19 -19
  215. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  216. package/dist/esm/RolesDeck.js +13 -13
  217. package/dist/esm/Search.js +12 -12
  218. package/dist/esm/Segment.js +6 -6
  219. package/dist/esm/SeriesListingDeck.js +31 -31
  220. package/dist/esm/{SeriesSlider-6a1081ff.js → SeriesSlider-9245785f.js} +27 -27
  221. package/dist/esm/SetCookie.js +1 -1
  222. package/dist/esm/SideFooter.js +30 -30
  223. package/dist/esm/SocialIcons.js +7 -7
  224. package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
  225. package/dist/esm/SocialShare.js +25 -25
  226. package/dist/esm/TaxonomyCard.js +41 -41
  227. package/dist/esm/TaxonomyDescription.js +46 -48
  228. package/dist/esm/TemplateNormal.js +66 -66
  229. package/dist/esm/ThumbnailCard.js +13 -13
  230. package/dist/esm/Ustream.js +23 -23
  231. package/dist/esm/VerticalHero.js +13 -13
  232. package/dist/esm/VideoProgramLandingPage.js +60 -62
  233. package/dist/esm/VideoSeriesCard.js +24 -24
  234. package/dist/esm/VideoSeriesFilter.js +15 -15
  235. package/dist/esm/VideoSeriesLandingPage.js +38 -38
  236. package/dist/esm/VideoSeriesListing.js +71 -71
  237. package/dist/esm/View.js +239 -241
  238. package/dist/esm/YahooHero.js +34 -34
  239. package/dist/esm/YoutubeGroup.js +46 -46
  240. package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
  241. package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
  242. package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
  243. package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
  244. package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
  245. package/dist/esm/{asyncToGenerator-585841c0.js → asyncToGenerator-fc1c2e29.js} +7 -7
  246. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  247. package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
  248. package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
  249. package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
  250. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  251. package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
  252. package/dist/esm/{extends-31d65aba.js → extends-6f2fcc99.js} +2 -2
  253. package/dist/esm/getQuery.js +1 -1
  254. package/dist/esm/getRelatedArticle.js +28 -443
  255. package/dist/esm/getRootDocGroup.js +6 -6
  256. package/dist/esm/getSerializers.js +42 -44
  257. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-ed6ebf43.js} +2 -2
  258. package/dist/esm/getTargeting.js +7 -7
  259. package/dist/esm/{index-761f5e47.js → index-0141b5a9.js} +1681 -874
  260. package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
  261. package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
  262. package/dist/esm/{index-888f9253.js → index-a9e53f80.js} +6 -6
  263. package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
  264. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  265. package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
  266. package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
  267. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  268. package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
  269. package/dist/esm/index.js +124 -132
  270. package/dist/esm/{inherits-5906fbea.js → inherits-cf8dde54.js} +6 -6
  271. package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
  272. package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
  273. package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
  274. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  275. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
  276. package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
  277. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  278. package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
  279. package/dist/esm/timeDifferenceCalc.js +1 -1
  280. package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
  281. package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
  282. package/dist/esm/urlFor.js +1 -1
  283. package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
  284. package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
  285. package/package.json +1 -1
  286. package/dist/cjs/Auth.js +0 -4231
  287. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  288. package/dist/cjs/index-bd6c9f56.js +0 -211
  289. package/dist/cjs/util-6f784d85.js +0 -576
  290. package/dist/esm/Auth.js +0 -4211
  291. package/dist/esm/index-db3bb315.js +0 -207
  292. package/dist/esm/util-3ab476bf.js +0 -574
@@ -10,7 +10,7 @@ var getQuery = function getQuery(type) {
10
10
  case 'related':
11
11
  return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
12
12
  case 'article':
13
- return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
13
+ return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
14
14
  case 'publication':
15
15
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
16
16
  case 'issue':
@@ -1,436 +1,23 @@
1
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-585841c0.js';
2
- import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
3
- import { c as cookie } from './index-db3bb315.js';
4
- import getQuery from './getQuery.js';
5
- import './es6.string.iterator-aa6068a3.js';
6
- import './_to-object-97770c52.js';
7
- import './web.dom.iterable-035980f3.js';
1
+ import './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
8
4
  import './_library-528f1934.js';
9
- import './core.get-iterator-method-d1d5ed02.js';
10
- import './_iter-detect-48516cd3.js';
11
-
12
- var defaultParseOptions = {
13
- decodeValues: true,
14
- map: false,
15
- silent: false,
16
- };
17
-
18
- function isNonEmptyString(str) {
19
- return typeof str === "string" && !!str.trim();
20
- }
21
-
22
- function parseString(setCookieValue, options) {
23
- var parts = setCookieValue.split(";").filter(isNonEmptyString);
24
- var nameValue = parts.shift().split("=");
25
- var name = nameValue.shift();
26
- var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
27
-
28
- options = options
29
- ? Object.assign({}, defaultParseOptions, options)
30
- : defaultParseOptions;
31
-
32
- try {
33
- value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
34
- } catch (e) {
35
- console.error(
36
- `set-cookie-parser encountered an error while decoding a cookie with value '${value}'. Set options.decodeValues to false to disable this feature.`,
37
- e
38
- );
39
- }
40
-
41
- var cookie = {
42
- name: name, // grab everything before the first =
43
- value: value,
44
- };
45
-
46
- parts.forEach(function (part) {
47
- var sides = part.split("=");
48
- var key = sides.shift().trimLeft().toLowerCase();
49
- var value = sides.join("=");
50
- if (key === "expires") {
51
- cookie.expires = new Date(value);
52
- } else if (key === "max-age") {
53
- cookie.maxAge = parseInt(value, 10);
54
- } else if (key === "secure") {
55
- cookie.secure = true;
56
- } else if (key === "httponly") {
57
- cookie.httpOnly = true;
58
- } else if (key === "samesite") {
59
- cookie.sameSite = value;
60
- } else {
61
- cookie[key] = value;
62
- }
63
- });
64
-
65
- return cookie;
66
- }
67
-
68
- function parse(input, options) {
69
- options = options
70
- ? Object.assign({}, defaultParseOptions, options)
71
- : defaultParseOptions;
72
-
73
- if (!input) {
74
- if (!options.map) {
75
- return [];
76
- } else {
77
- return {};
78
- }
79
- }
80
-
81
- if (input.headers && input.headers["set-cookie"]) {
82
- // fast-path for node.js (which automatically normalizes header names to lower-case
83
- input = input.headers["set-cookie"];
84
- } else if (input.headers) {
85
- // slow-path for other environments - see #25
86
- var sch =
87
- input.headers[
88
- Object.keys(input.headers).find(function (key) {
89
- return key.toLowerCase() === "set-cookie";
90
- })
91
- ];
92
- // warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36
93
- if (!sch && input.headers.cookie && !options.silent) {
94
- console.warn(
95
- "Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."
96
- );
97
- }
98
- input = sch;
99
- }
100
- if (!Array.isArray(input)) {
101
- input = [input];
102
- }
103
-
104
- options = options
105
- ? Object.assign({}, defaultParseOptions, options)
106
- : defaultParseOptions;
107
-
108
- if (!options.map) {
109
- return input.filter(isNonEmptyString).map(function (str) {
110
- return parseString(str, options);
111
- });
112
- } else {
113
- var cookies = {};
114
- return input.filter(isNonEmptyString).reduce(function (cookies, str) {
115
- var cookie = parseString(str, options);
116
- cookies[cookie.name] = cookie;
117
- return cookies;
118
- }, cookies);
119
- }
120
- }
121
-
122
- /*
123
- Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas
124
- that are within a single set-cookie field-value, such as in the Expires portion.
125
-
126
- This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2
127
- Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128
128
- React Native's fetch does this for *every* header, including set-cookie.
129
-
130
- Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25
131
- Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation
132
- */
133
- function splitCookiesString(cookiesString) {
134
- if (Array.isArray(cookiesString)) {
135
- return cookiesString;
136
- }
137
- if (typeof cookiesString !== "string") {
138
- return [];
139
- }
140
-
141
- var cookiesStrings = [];
142
- var pos = 0;
143
- var start;
144
- var ch;
145
- var lastComma;
146
- var nextStart;
147
- var cookiesSeparatorFound;
148
-
149
- function skipWhitespace() {
150
- while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) {
151
- pos += 1;
152
- }
153
- return pos < cookiesString.length;
154
- }
155
-
156
- function notSpecialChar() {
157
- ch = cookiesString.charAt(pos);
158
-
159
- return ch !== "=" && ch !== ";" && ch !== ",";
160
- }
161
-
162
- while (pos < cookiesString.length) {
163
- start = pos;
164
- cookiesSeparatorFound = false;
165
-
166
- while (skipWhitespace()) {
167
- ch = cookiesString.charAt(pos);
168
- if (ch === ",") {
169
- // ',' is a cookie separator if we have later first '=', not ';' or ','
170
- lastComma = pos;
171
- pos += 1;
172
-
173
- skipWhitespace();
174
- nextStart = pos;
175
-
176
- while (pos < cookiesString.length && notSpecialChar()) {
177
- pos += 1;
178
- }
179
-
180
- // currently special character
181
- if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
182
- // we found cookies separator
183
- cookiesSeparatorFound = true;
184
- // pos is inside the next cookie, so back up and return it.
185
- pos = nextStart;
186
- cookiesStrings.push(cookiesString.substring(start, lastComma));
187
- start = pos;
188
- } else {
189
- // in param ',' or param separator ';',
190
- // we continue from that comma
191
- pos = lastComma + 1;
192
- }
193
- } else {
194
- pos += 1;
195
- }
196
- }
197
-
198
- if (!cookiesSeparatorFound || pos >= cookiesString.length) {
199
- cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
200
- }
201
- }
202
-
203
- return cookiesStrings;
204
- }
205
-
206
- var setCookie = parse;
207
- var parse_1 = parse;
208
- var parseString_1 = parseString;
209
- var splitCookiesString_1 = splitCookiesString;
210
- setCookie.parse = parse_1;
211
- setCookie.parseString = parseString_1;
212
- setCookie.splitCookiesString = splitCookiesString_1;
213
-
214
- var utils = createCommonjsModule(function (module, exports) {
215
- var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
216
- __assign = Object.assign || function(t) {
217
- for (var s, i = 1, n = arguments.length; i < n; i++) {
218
- s = arguments[i];
219
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
220
- t[p] = s[p];
221
- }
222
- return t;
223
- };
224
- return __assign.apply(this, arguments);
225
- };
226
- Object.defineProperty(exports, "__esModule", { value: true });
227
- exports.areCookiesEqual = exports.hasSameProperties = exports.createCookie = exports.isBrowser = void 0;
228
- /**
229
- * Tells whether we are in a browser or server.
230
- */
231
- function isBrowser() {
232
- return typeof window !== 'undefined';
233
- }
234
- exports.isBrowser = isBrowser;
235
- /**
236
- * Create an instance of the Cookie interface
237
- */
238
- function createCookie(name, value, options) {
239
- var sameSite = options.sameSite;
240
- if (sameSite === true) {
241
- sameSite = 'strict';
242
- }
243
- if (sameSite === undefined || sameSite === false) {
244
- sameSite = 'lax';
245
- }
246
- var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
247
- delete cookieToSet.encode;
248
- return __assign({ name: name, value: value }, cookieToSet);
249
- }
250
- exports.createCookie = createCookie;
251
- /**
252
- * Tells whether given objects have the same properties.
253
- */
254
- function hasSameProperties(a, b) {
255
- var aProps = Object.getOwnPropertyNames(a);
256
- var bProps = Object.getOwnPropertyNames(b);
257
- if (aProps.length !== bProps.length) {
258
- return false;
259
- }
260
- for (var i = 0; i < aProps.length; i++) {
261
- var propName = aProps[i];
262
- if (a[propName] !== b[propName]) {
263
- return false;
264
- }
265
- }
266
- return true;
267
- }
268
- exports.hasSameProperties = hasSameProperties;
269
- /**
270
- * Compare the cookie and return true if the cookies have equivalent
271
- * options and the cookies would be overwritten in the browser storage.
272
- *
273
- * @param a first Cookie for comparison
274
- * @param b second Cookie for comparison
275
- */
276
- function areCookiesEqual(a, b) {
277
- var sameSiteSame = a.sameSite === b.sameSite;
278
- if (typeof a.sameSite === 'string' && typeof b.sameSite === 'string') {
279
- sameSiteSame = a.sameSite.toLowerCase() === b.sameSite.toLowerCase();
280
- }
281
- return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
282
- }
283
- exports.areCookiesEqual = areCookiesEqual;
284
- /* Functions */
285
-
286
- });
287
-
288
- unwrapExports(utils);
289
- utils.areCookiesEqual;
290
- utils.hasSameProperties;
291
- utils.createCookie;
292
- utils.isBrowser;
293
-
294
- var dist = createCommonjsModule(function (module, exports) {
295
- var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
296
- __assign = Object.assign || function(t) {
297
- for (var s, i = 1, n = arguments.length; i < n; i++) {
298
- s = arguments[i];
299
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
300
- t[p] = s[p];
301
- }
302
- return t;
303
- };
304
- return __assign.apply(this, arguments);
305
- };
306
- Object.defineProperty(exports, "__esModule", { value: true });
307
- exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
308
-
309
-
310
-
311
- /**
312
- * Parses cookies.
313
- *
314
- * @param ctx NextJS page or API context, express context, null or undefined.
315
- * @param options Options that we pass down to `cookie` library.
316
- */
317
- function parseCookies(ctx, options) {
318
- var _a, _b;
319
- if ((_b = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.req) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.cookie) {
320
- return cookie.parse(ctx.req.headers.cookie, options);
321
- }
322
- if (utils.isBrowser()) {
323
- return cookie.parse(document.cookie, options);
324
- }
325
- return {};
326
- }
327
- exports.parseCookies = parseCookies;
328
- /**
329
- * Sets a cookie.
330
- *
331
- * @param ctx NextJS page or API context, express context, null or undefined.
332
- * @param name The name of your cookie.
333
- * @param value The value of your cookie.
334
- * @param options Options that we pass down to `cookie` library.
335
- */
336
- function setCookie$1(ctx, name, value, options) {
337
- var _a, _b;
338
- if (options === void 0) { options = {}; }
339
- // SSR
340
- if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
341
- // Check if response has finished and warn about it.
342
- if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
343
- console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
344
- console.warn("You should set cookie before res.send()");
345
- return {};
346
- }
347
- /**
348
- * Load existing cookies from the header and parse them.
349
- */
350
- var cookies = ctx.res.getHeader('Set-Cookie') || [];
351
- if (typeof cookies === 'string')
352
- cookies = [cookies];
353
- if (typeof cookies === 'number')
354
- cookies = [];
355
- /**
356
- * Parse cookies but ignore values - we've already encoded
357
- * them in the previous call.
358
- */
359
- var parsedCookies = setCookie.parse(cookies, {
360
- decodeValues: false,
361
- });
362
- /**
363
- * We create the new cookie and make sure that none of
364
- * the existing cookies match it.
365
- */
366
- var newCookie_1 = utils.createCookie(name, value, options);
367
- var cookiesToSet_1 = [];
368
- parsedCookies.forEach(function (parsedCookie) {
369
- if (!utils.areCookiesEqual(parsedCookie, newCookie_1)) {
370
- /**
371
- * We serialize the cookie back to the original format
372
- * if it isn't the same as the new one.
373
- */
374
- var serializedCookie = cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
375
- // we prevent reencoding by default, but you might override it
376
- encode: function (val) { return val; } }, parsedCookie));
377
- cookiesToSet_1.push(serializedCookie);
378
- }
379
- });
380
- cookiesToSet_1.push(cookie.serialize(name, value, options));
381
- // Update the header.
382
- ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
383
- }
384
- // Browser
385
- if (utils.isBrowser()) {
386
- if (options && options.httpOnly) {
387
- throw new Error('Can not set a httpOnly cookie in the browser.');
388
- }
389
- document.cookie = cookie.serialize(name, value, options);
390
- }
391
- return {};
392
- }
393
- exports.setCookie = setCookie$1;
394
- /**
395
- * Destroys a cookie with a particular name.
396
- *
397
- * @param ctx NextJS page or API context, express context, null or undefined.
398
- * @param name Cookie name.
399
- * @param options Options that we pass down to `cookie` library.
400
- */
401
- function destroyCookie(ctx, name, options) {
402
- /**
403
- * We forward the request destroy to setCookie function
404
- * as it is the same function with modified maxAge value.
405
- */
406
- return setCookie$1(ctx, name, '', __assign(__assign({}, (options || {})), { maxAge: -1 }));
407
- }
408
- exports.destroyCookie = destroyCookie;
409
- /* Utility Exports */
410
- exports.default = {
411
- set: setCookie$1,
412
- get: parseCookies,
413
- destroy: destroyCookie,
414
- };
415
-
416
- });
417
-
418
- unwrapExports(dist);
419
- dist.destroyCookie;
420
- var dist_2 = dist.setCookie;
421
- var dist_3 = dist.parseCookies;
5
+ import './_iter-detect-5d49a330.js';
6
+ import './core.get-iterator-method-e1de7503.js';
7
+ import './web.dom.iterable-4439f05a.js';
8
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
9
+ import getQuery from './getQuery.js';
422
10
 
423
11
  var _this = undefined;
424
12
 
425
13
  var getRelatedArticle = function () {
426
14
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
427
- var ctx = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
428
15
  var client = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
429
16
  var article = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
430
17
  var prevUrl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '/';
431
18
  var articleCount = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
432
19
 
433
- var _article$url, url, documentGroupMapping, issueGroup, content_placement, references, params, articles, filters, cookies, prevSlugs, query;
20
+ var _article$url, url, documentGroupMapping, issueGroup, content_placement, references, params, articles, filters, query;
434
21
 
435
22
  return regenerator.wrap(function _callee$(_context) {
436
23
  while (1) {
@@ -488,48 +75,46 @@ var getRelatedArticle = function () {
488
75
  articles = null;
489
76
 
490
77
  if (!(references && references.length > 0)) {
491
- _context.next = 24;
78
+ _context.next = 23;
492
79
  break;
493
80
  }
494
81
 
495
82
  filters = '&& references("' + references.join('","') + '") ';
496
83
 
497
-
498
- if (ctx && url) {
499
- cookies = dist_3(ctx);
500
- prevSlugs = cookies['prevSlugs'];
501
-
502
- if (!!prevSlugs) {
503
- if (!prevSlugs.includes(url)) dist_2(ctx, 'prevSlugs', prevSlugs + ',"' + url + '"', {});
504
- filters = filters + ' && !(url.current in [' + prevSlugs + '])';
505
- } else dist_2(ctx, 'prevSlugs', '"' + url + '"', {});
506
- }
84
+ // if (ctx && url) {
85
+ // const cookies = parseCookies(ctx)
86
+ // let prevSlugs = cookies['prevSlugs']
87
+ // if (!!prevSlugs) {
88
+ // if (!prevSlugs.includes(url)) setCookie(ctx, 'prevSlugs', `${prevSlugs},"${url}"`, {})
89
+ // filters = `${filters} && !(url.current in [${prevSlugs}])`
90
+ // } else setCookie(ctx, 'prevSlugs', `"${url}"`, {})
91
+ // }
507
92
 
508
93
  query = getQuery('related', filters, '', articleCount).replace('&& taxonomyMapping[]._ref in $taxonomy', '');
509
- _context.prev = 15;
510
- _context.next = 18;
94
+ _context.prev = 14;
95
+ _context.next = 17;
511
96
  return client.fetch(query, params);
512
97
 
513
- case 18:
98
+ case 17:
514
99
  articles = _context.sent;
515
- _context.next = 24;
100
+ _context.next = 23;
516
101
  break;
517
102
 
518
- case 21:
519
- _context.prev = 21;
520
- _context.t0 = _context['catch'](15);
103
+ case 20:
104
+ _context.prev = 20;
105
+ _context.t0 = _context['catch'](14);
521
106
 
522
107
  console.error(_context.t0);
523
108
 
524
- case 24:
109
+ case 23:
525
110
  return _context.abrupt('return', articles);
526
111
 
527
- case 25:
112
+ case 24:
528
113
  case 'end':
529
114
  return _context.stop();
530
115
  }
531
116
  }
532
- }, _callee, _this, [[15, 21]]);
117
+ }, _callee, _this, [[14, 20]]);
533
118
  }));
534
119
 
535
120
  return function getRelatedArticle() {
@@ -1,11 +1,11 @@
1
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-585841c0.js';
2
1
  import './_commonjsHelpers-0c4b6f40.js';
3
- import './es6.string.iterator-aa6068a3.js';
4
- import './_to-object-97770c52.js';
5
- import './web.dom.iterable-035980f3.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
6
4
  import './_library-528f1934.js';
7
- import './core.get-iterator-method-d1d5ed02.js';
8
- import './_iter-detect-48516cd3.js';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './core.get-iterator-method-e1de7503.js';
7
+ import './web.dom.iterable-4439f05a.js';
8
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
9
9
 
10
10
  var _this = undefined;
11
11
 
@@ -1,54 +1,52 @@
1
- import 'react';
2
- export { g as default } from './index-761f5e47.js';
3
- import './BlockContent-d8cd739c.js';
4
- import './entities-932b50cf.js';
5
- import './slicedToArray-cdeaee08.js';
6
1
  import './_commonjsHelpers-0c4b6f40.js';
7
- import './web.dom.iterable-035980f3.js';
8
- import './es6.string.iterator-aa6068a3.js';
9
- import './_to-object-97770c52.js';
10
- import './core.get-iterator-method-d1d5ed02.js';
11
- import 'react-bootstrap';
12
- import './index-3f5c03b2.js';
13
- import './index-888f9253.js';
14
- import 'prop-types';
15
- import 'next/router';
16
- import './index-c7e2ac95.js';
17
- import './util-3ab476bf.js';
18
- import './Beam.js';
19
- import './stringify-d4839bab.js';
20
- import './asyncToGenerator-585841c0.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
21
4
  import './_library-528f1934.js';
22
- import './_iter-detect-48516cd3.js';
23
- import './Segment.js';
24
- import './main-1450d277.js';
25
- import './extends-31d65aba.js';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './toConsumableArray-43aa614d.js';
7
+ import './core.get-iterator-method-e1de7503.js';
26
8
  import './_object-pie-33c40e79.js';
27
- import './index-752d1dae.js';
9
+ import './extends-6f2fcc99.js';
10
+ import './_object-sap-964b6feb.js';
11
+ import './inherits-cf8dde54.js';
12
+ import './define-property-8af5f002.js';
13
+ import './web.dom.iterable-4439f05a.js';
14
+ import './typeof-6435ba1c.js';
15
+ import './_is-array-58e95429.js';
16
+ import 'react';
17
+ import './index-a9e53f80.js';
18
+ import 'prop-types';
19
+ import 'react-bootstrap/Row';
20
+ import 'react-bootstrap/Col';
21
+ import './moment-e2f9b20c.js';
22
+ import 'next/router';
23
+ import './isSymbol-1981418f.js';
24
+ import './debounce-9207d8ee.js';
25
+ import './toNumber-2f7a84cd.js';
28
26
  import 'react-dom';
29
- import './typeof-e9cea9e8.js';
30
- import './_is-array-674f71ec.js';
31
- import './brightcove-react-player-loader.es-b43c695a.js';
27
+ import './index-73819142.js';
28
+ import './index-5f9f807a.js';
29
+ import './main-e4a934b2.js';
30
+ import './entities-7cc3bf45.js';
31
+ import './slicedToArray-641f241f.js';
32
+ import './stringify-4330ccdc.js';
33
+ import './asyncToGenerator-fc1c2e29.js';
34
+ import './Segment.js';
35
+ import './Beam.js';
36
+ import './AdSlot.js';
37
+ import './BlockContent-e9b4ddcf.js';
38
+ import './index-c7e2ac95.js';
39
+ import './smoothscroll-0cd4c7a6.js';
32
40
  import './GroupDeck.js';
33
- import './smoothscroll-fa4e3f8c.js';
34
- import './moment-bc12cb97.js';
35
- import './SocialShare.js';
41
+ import 'react-bootstrap';
42
+ import './iconBase-602d52fe.js';
43
+ import './index.esm-29e48d38.js';
44
+ export { g as default } from './index-0141b5a9.js';
45
+ import './brightcove-react-player-loader.es-83f53e4e.js';
36
46
  import 'next/head';
37
47
  import 'react-share';
38
- import './_object-to-array-8f409e54.js';
39
- import './toConsumableArray-fa2dcda7.js';
48
+ import './SocialShare.js';
49
+ import './_object-to-array-7e804fce.js';
40
50
  import 'react-bootstrap/Pagination';
41
51
  import 'react-bootstrap/Button';
42
- import './AdSlot.js';
43
- import './debounce-9207d8ee.js';
44
- import './isSymbol-1981418f.js';
45
- import './toNumber-2f7a84cd.js';
46
- import 'react-bootstrap/Row';
47
- import 'react-bootstrap/Col';
48
- import './inherits-5906fbea.js';
49
- import './_object-sap-fd3054d0.js';
50
- import './define-property-ec6d528d.js';
51
- import './index.esm-3fdda599.js';
52
- import './iconBase-602d52fe.js';
53
52
  import 'react-bootstrap/Figure';
54
- import 'react-script-tag';
@@ -1,5 +1,5 @@
1
- import { _ as _extends } from './extends-31d65aba.js';
2
- import { _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
2
+ import { _ as _extends } from './extends-6f2fcc99.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
5
  var cp_url = '';