@mjhls/mjh-framework 1.0.852 → 1.0.854-adblocker-fix-v1

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 (286) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +10 -9
  3. package/dist/cjs/AD300x250.js +21 -20
  4. package/dist/cjs/AD300x250x600.js +21 -20
  5. package/dist/cjs/AD728x90.js +22 -21
  6. package/dist/cjs/ADFloatingFooter.js +23 -22
  7. package/dist/cjs/ADFooter.js +14 -13
  8. package/dist/cjs/ADGutter.js +23 -22
  9. package/dist/cjs/{ADInfeed-5f236872.js → ADInfeed-25d48cc2.js} +12 -10
  10. package/dist/cjs/ADSkyscraper.js +23 -22
  11. package/dist/cjs/ADSponsoredResources.js +23 -22
  12. package/dist/cjs/ADWebcast.js +23 -22
  13. package/dist/cjs/ADWelcome.js +37 -27
  14. package/dist/cjs/{ADlgInfeed-7b915591.js → ADlgInfeed-a535a768.js} +8 -7
  15. package/dist/cjs/AccordionPanel.js +28 -26
  16. package/dist/cjs/AdSlot.js +27 -26
  17. package/dist/cjs/AdSlotsProvider.js +20 -18
  18. package/dist/cjs/AlgoliaSearch.js +637 -650
  19. package/dist/cjs/AlphabeticList.js +24 -23
  20. package/dist/cjs/ArticleCarousel.js +18 -17
  21. package/dist/cjs/ArticleProgramLandingPage.js +37 -36
  22. package/dist/cjs/ArticleSeriesLandingPage.js +34 -33
  23. package/dist/cjs/ArticleSeriesListing.js +49 -48
  24. package/dist/cjs/Auth.js +294 -426
  25. package/dist/cjs/AuthWrapper.js +256 -216
  26. package/dist/cjs/{AuthorComponent-0c464248.js → AuthorComponent-ac8972ce.js} +14 -13
  27. package/dist/cjs/Beam.js +7 -7
  28. package/dist/cjs/{BlockContent-bac780ac.js → BlockContent-8b494587.js} +25 -24
  29. package/dist/cjs/Breadcrumbs.js +28 -26
  30. package/dist/cjs/CMEDeck.js +75 -75
  31. package/dist/cjs/Column1.js +14 -11
  32. package/dist/cjs/Column2.js +30 -27
  33. package/dist/cjs/Column3.js +48 -45
  34. package/dist/cjs/ConferenceArticleCard.js +31 -30
  35. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  36. package/dist/cjs/DeckContent.js +98 -94
  37. package/dist/cjs/DeckQueue.js +83 -79
  38. package/dist/cjs/{Dfp-ac0c1cc6.js → Dfp-391fd124.js} +29 -28
  39. package/dist/cjs/EventsDeck.js +150 -143
  40. package/dist/cjs/ExternalResources.js +61 -60
  41. package/dist/cjs/Feature.js +25 -23
  42. package/dist/cjs/ForbesHero.js +39 -38
  43. package/dist/cjs/GridContent.js +222 -217
  44. package/dist/cjs/GridHero.js +40 -39
  45. package/dist/cjs/GroupDeck.js +55 -54
  46. package/dist/cjs/HamMagazine.js +137 -132
  47. package/dist/cjs/Header.js +14 -12
  48. package/dist/cjs/Hero.js +10 -9
  49. package/dist/cjs/HighlightenVideo.js +17 -16
  50. package/dist/cjs/HorizontalArticleListing.js +51 -50
  51. package/dist/cjs/HorizontalHero.js +23 -22
  52. package/dist/cjs/IssueContentDeck.js +74 -69
  53. package/dist/cjs/IssueDeck.js +73 -68
  54. package/dist/cjs/IssueLanding.js +70 -69
  55. package/dist/cjs/KMTracker.js +15 -15
  56. package/dist/cjs/LeftNav.js +33 -31
  57. package/dist/cjs/MasterDeck.js +72 -71
  58. package/dist/cjs/MediaSeriesLanding.js +853 -905
  59. package/dist/cjs/NavDvm.js +75 -70
  60. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  61. package/dist/cjs/NavMagazine.js +138 -133
  62. package/dist/cjs/NavNative.js +133 -125
  63. package/dist/cjs/OncliveHero.js +16 -15
  64. package/dist/cjs/OncliveLargeHero.js +68 -67
  65. package/dist/cjs/PageFilter.js +14 -13
  66. package/dist/cjs/PartnerDetailListing.js +83 -82
  67. package/dist/cjs/PdfDownload.js +9 -8
  68. package/dist/cjs/PopUpModal.js +20 -18
  69. package/dist/cjs/PubSection.js +31 -30
  70. package/dist/cjs/PubToc.js +15 -14
  71. package/dist/cjs/PublicationDeck.js +64 -59
  72. package/dist/cjs/PublicationLanding.js +123 -119
  73. package/dist/cjs/QueueDeckExpanded.js +296 -296
  74. package/dist/cjs/RecentNews.js +20 -19
  75. package/dist/cjs/RelatedContent.js +48 -47
  76. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  77. package/dist/cjs/RolesDeck.js +32 -27
  78. package/dist/cjs/Search.js +21 -17
  79. package/dist/cjs/Segment.js +6 -6
  80. package/dist/cjs/SeriesListingDeck.js +31 -31
  81. package/dist/cjs/{SeriesSlider-dad08884.js → SeriesSlider-0d3bf265.js} +39 -38
  82. package/dist/cjs/SideFooter.js +33 -32
  83. package/dist/cjs/SocialIcons.js +10 -9
  84. package/dist/cjs/{SocialSearchComponent-ad15dd61.js → SocialSearchComponent-19548e2a.js} +39 -35
  85. package/dist/cjs/SocialShare.js +31 -29
  86. package/dist/cjs/TaxonomyCard.js +61 -56
  87. package/dist/cjs/TaxonomyDescription.js +36 -35
  88. package/dist/cjs/TemplateNormal.js +46 -45
  89. package/dist/cjs/ThumbnailCard.js +19 -17
  90. package/dist/cjs/Ustream.js +29 -28
  91. package/dist/cjs/VerticalHero.js +15 -14
  92. package/dist/cjs/VideoProgramLandingPage.js +57 -53
  93. package/dist/cjs/VideoSeriesCard.js +28 -27
  94. package/dist/cjs/VideoSeriesFilter.js +16 -16
  95. package/dist/cjs/VideoSeriesLandingPage.js +40 -39
  96. package/dist/cjs/VideoSeriesListing.js +66 -65
  97. package/dist/cjs/View.js +211 -207
  98. package/dist/cjs/YahooHero.js +35 -34
  99. package/dist/cjs/YoutubeGroup.js +61 -60
  100. package/dist/cjs/{_is-array-39ff55dd.js → _is-array-754e012d.js} +1 -1
  101. package/dist/cjs/{_iter-detect-ef35661e.js → _iter-detect-60b2f026.js} +2 -2
  102. package/dist/cjs/{_object-sap-b231f928.js → _object-sap-5e74ba08.js} +1 -1
  103. package/dist/cjs/{_object-to-array-c3aeb51d.js → _object-to-array-5762f850.js} +1 -1
  104. package/dist/cjs/{_to-object-7a3ce269.js → _to-object-329a650b.js} +2 -2
  105. package/dist/cjs/{asyncToGenerator-8ae2191c.js → asyncToGenerator-140e5f89.js} +5 -5
  106. package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-5c98aec7.js} +6 -5
  107. package/dist/cjs/{core.get-iterator-method-6cd7682d.js → core.get-iterator-method-f62321d4.js} +2 -2
  108. package/dist/cjs/{debounce-6191c8ee.js → debounce-529c8d06.js} +1 -1
  109. package/dist/cjs/{define-property-fc002cec.js → define-property-f4d12f4e.js} +1 -1
  110. package/dist/cjs/{defineProperty-03c4c82e.js → defineProperty-55548b25.js} +1 -1
  111. package/dist/cjs/{es6.string.iterator-ab94a594.js → es6.string.iterator-cc0bbaa4.js} +1 -1
  112. package/dist/cjs/{extends-acc1318d.js → extends-0a918631.js} +1 -1
  113. package/dist/cjs/faundadb.js +6 -6
  114. package/dist/cjs/getRelatedArticle.js +73 -137
  115. package/dist/cjs/getRootDocGroup.js +6 -6
  116. package/dist/cjs/getSerializers.js +25 -25
  117. package/dist/cjs/{getTargeting-608e1fd1.js → getTargeting-a9a871f0.js} +11 -11
  118. package/dist/cjs/getTargeting.js +7 -7
  119. package/dist/cjs/iconBase-68959171.js +0 -3
  120. package/dist/cjs/{index-a7a90204.js → index-00a7ead6.js} +570 -541
  121. package/dist/cjs/{index-98e01cb9.js → index-2cf30c83.js} +9 -8
  122. package/dist/cjs/{index-79eed652.js → index-6367b7bf.js} +29 -29
  123. package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
  124. package/dist/cjs/{index-ff69979f.js → index-b5eb3ff8.js} +3 -8
  125. package/dist/cjs/{index-53e27416.js → index-e2e62963.js} +9 -25
  126. package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
  127. package/dist/cjs/{index.esm-bf016399.js → index.esm-3ffa049c.js} +18 -17
  128. package/dist/cjs/index.js +74 -71
  129. package/dist/cjs/{inherits-bfdb22af.js → inherits-0c7830c5.js} +8 -8
  130. package/dist/cjs/{keys-62e097ca.js → keys-a586b7a0.js} +2 -2
  131. package/dist/cjs/{lodash-b5e0d5f6.js → lodash-7fd85bcf.js} +9 -57
  132. package/dist/cjs/main-7b5e57b0.js +898 -0
  133. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
  134. package/dist/cjs/{slicedToArray-41819145.js → slicedToArray-8f385299.js} +4 -4
  135. package/dist/cjs/{stringify-7ccc8524.js → stringify-7c5aff47.js} +1 -1
  136. package/dist/cjs/{toConsumableArray-4fdb72e2.js → toConsumableArray-9a3476fe.js} +4 -4
  137. package/dist/cjs/{toNumber-f2f8744b.js → toNumber-36d1e7e5.js} +4 -39
  138. package/dist/cjs/{typeof-e83d4a26.js → typeof-9d7f610f.js} +5 -5
  139. package/dist/cjs/urlFor.js +3 -3
  140. package/dist/cjs/{ustream-api-c30d203c.js → ustream-api-d092dc31.js} +4 -4
  141. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  142. package/dist/cjs/{web.dom.iterable-68e3aaf2.js → web.dom.iterable-a0e279c1.js} +2 -2
  143. package/dist/esm/AD.js +7 -7
  144. package/dist/esm/AD300x250.js +18 -18
  145. package/dist/esm/AD300x250x600.js +18 -18
  146. package/dist/esm/AD728x90.js +19 -19
  147. package/dist/esm/ADFloatingFooter.js +20 -20
  148. package/dist/esm/ADFooter.js +11 -11
  149. package/dist/esm/ADGutter.js +20 -20
  150. package/dist/esm/{ADInfeed-dec9975c.js → ADInfeed-56a3db8b.js} +8 -8
  151. package/dist/esm/ADSkyscraper.js +20 -20
  152. package/dist/esm/ADSponsoredResources.js +20 -20
  153. package/dist/esm/ADWebcast.js +20 -20
  154. package/dist/esm/ADWelcome.js +34 -25
  155. package/dist/esm/{ADlgInfeed-1ea41fb6.js → ADlgInfeed-53edb995.js} +5 -5
  156. package/dist/esm/AccordionPanel.js +21 -21
  157. package/dist/esm/AdSlot.js +18 -18
  158. package/dist/esm/AdSlotsProvider.js +13 -13
  159. package/dist/esm/AlgoliaSearch.js +266 -280
  160. package/dist/esm/AlphabeticList.js +21 -21
  161. package/dist/esm/ArticleCarousel.js +15 -15
  162. package/dist/esm/ArticleProgramLandingPage.js +34 -34
  163. package/dist/esm/ArticleSeriesLandingPage.js +31 -31
  164. package/dist/esm/ArticleSeriesListing.js +45 -45
  165. package/dist/esm/Auth.js +275 -411
  166. package/dist/esm/AuthWrapper.js +253 -214
  167. package/dist/esm/{AuthorComponent-5cab1f6b.js → AuthorComponent-8ffd4679.js} +11 -11
  168. package/dist/esm/Beam.js +7 -7
  169. package/dist/esm/{BlockContent-ea93e8f7.js → BlockContent-d05b5b23.js} +4 -4
  170. package/dist/esm/Breadcrumbs.js +16 -16
  171. package/dist/esm/CMEDeck.js +72 -72
  172. package/dist/esm/Column1.js +9 -9
  173. package/dist/esm/Column2.js +25 -25
  174. package/dist/esm/Column3.js +43 -43
  175. package/dist/esm/ConferenceArticleCard.js +29 -29
  176. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  177. package/dist/esm/DeckContent.js +90 -90
  178. package/dist/esm/DeckQueue.js +75 -75
  179. package/dist/esm/{Dfp-4b94fbd4.js → Dfp-2f9796e1.js} +17 -17
  180. package/dist/esm/EventsDeck.js +120 -120
  181. package/dist/esm/ExternalResources.js +55 -55
  182. package/dist/esm/Feature.js +17 -17
  183. package/dist/esm/ForbesHero.js +32 -32
  184. package/dist/esm/GridContent.js +186 -186
  185. package/dist/esm/GridHero.js +33 -33
  186. package/dist/esm/GroupDeck.js +42 -42
  187. package/dist/esm/HamMagazine.js +105 -105
  188. package/dist/esm/Header.js +8 -8
  189. package/dist/esm/Hero.js +7 -7
  190. package/dist/esm/HighlightenVideo.js +14 -14
  191. package/dist/esm/HorizontalArticleListing.js +48 -48
  192. package/dist/esm/HorizontalHero.js +19 -19
  193. package/dist/esm/IssueContentDeck.js +57 -57
  194. package/dist/esm/IssueDeck.js +62 -62
  195. package/dist/esm/IssueLanding.js +69 -69
  196. package/dist/esm/KMTracker.js +15 -15
  197. package/dist/esm/LeftNav.js +27 -27
  198. package/dist/esm/MasterDeck.js +68 -68
  199. package/dist/esm/MediaSeriesLanding.js +484 -539
  200. package/dist/esm/NavDvm.js +53 -53
  201. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  202. package/dist/esm/NavMagazine.js +108 -108
  203. package/dist/esm/NavNative.js +100 -100
  204. package/dist/esm/OncliveHero.js +13 -13
  205. package/dist/esm/OncliveLargeHero.js +56 -56
  206. package/dist/esm/PageFilter.js +11 -11
  207. package/dist/esm/PartnerDetailListing.js +80 -80
  208. package/dist/esm/PdfDownload.js +5 -5
  209. package/dist/esm/PopUpModal.js +13 -13
  210. package/dist/esm/PubSection.js +28 -28
  211. package/dist/esm/PubToc.js +12 -12
  212. package/dist/esm/PublicationDeck.js +51 -51
  213. package/dist/esm/PublicationLanding.js +105 -105
  214. package/dist/esm/QueueDeckExpanded.js +262 -262
  215. package/dist/esm/RecentNews.js +16 -16
  216. package/dist/esm/RelatedContent.js +44 -44
  217. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  218. package/dist/esm/RolesDeck.js +25 -25
  219. package/dist/esm/Search.js +12 -12
  220. package/dist/esm/Segment.js +6 -6
  221. package/dist/esm/SeriesListingDeck.js +28 -28
  222. package/dist/esm/{SeriesSlider-5ba2e521.js → SeriesSlider-7d89f4d9.js} +29 -29
  223. package/dist/esm/SideFooter.js +29 -29
  224. package/dist/esm/SocialIcons.js +7 -7
  225. package/dist/esm/{SocialSearchComponent-9cc36413.js → SocialSearchComponent-47815365.js} +29 -29
  226. package/dist/esm/SocialShare.js +25 -25
  227. package/dist/esm/TaxonomyCard.js +52 -52
  228. package/dist/esm/TaxonomyDescription.js +30 -30
  229. package/dist/esm/TemplateNormal.js +42 -42
  230. package/dist/esm/ThumbnailCard.js +10 -10
  231. package/dist/esm/Ustream.js +24 -24
  232. package/dist/esm/VerticalHero.js +12 -12
  233. package/dist/esm/VideoProgramLandingPage.js +46 -46
  234. package/dist/esm/VideoSeriesCard.js +21 -21
  235. package/dist/esm/VideoSeriesFilter.js +13 -13
  236. package/dist/esm/VideoSeriesLandingPage.js +31 -31
  237. package/dist/esm/VideoSeriesListing.js +62 -62
  238. package/dist/esm/View.js +196 -196
  239. package/dist/esm/YahooHero.js +29 -29
  240. package/dist/esm/YoutubeGroup.js +45 -45
  241. package/dist/esm/{_is-array-328b85b7.js → _is-array-58e95429.js} +1 -1
  242. package/dist/esm/{_iter-detect-0fa1c752.js → _iter-detect-5d49a330.js} +2 -2
  243. package/dist/esm/{_object-sap-1b84e2bf.js → _object-sap-964b6feb.js} +1 -1
  244. package/dist/esm/{_object-to-array-c8f72bf1.js → _object-to-array-7e804fce.js} +1 -1
  245. package/dist/esm/{_to-object-cedb5b78.js → _to-object-a4107da3.js} +2 -2
  246. package/dist/esm/{asyncToGenerator-e1a2f43a.js → asyncToGenerator-fc1c2e29.js} +5 -5
  247. package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
  248. package/dist/esm/{core.get-iterator-method-227107e6.js → core.get-iterator-method-e1de7503.js} +2 -2
  249. package/dist/esm/{debounce-89969f66.js → debounce-9207d8ee.js} +1 -1
  250. package/dist/esm/{define-property-2f35af22.js → define-property-8af5f002.js} +1 -1
  251. package/dist/esm/{defineProperty-eb9699c0.js → defineProperty-94fd8bfc.js} +1 -1
  252. package/dist/esm/{es6.string.iterator-1577cb76.js → es6.string.iterator-c990c18c.js} +1 -1
  253. package/dist/esm/{extends-be71a29a.js → extends-6f2fcc99.js} +1 -1
  254. package/dist/esm/faundadb.js +6 -6
  255. package/dist/esm/getRelatedArticle.js +68 -132
  256. package/dist/esm/getRootDocGroup.js +6 -6
  257. package/dist/esm/getSerializers.js +25 -25
  258. package/dist/esm/{getTargeting-37cb4051.js → getTargeting-bd800589.js} +11 -11
  259. package/dist/esm/getTargeting.js +7 -7
  260. package/dist/esm/{index-03da2fcc.js → index-0500ae55.js} +513 -494
  261. package/dist/esm/{index-f7fdcc91.js → index-51a80699.js} +3 -8
  262. package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
  263. package/dist/esm/{index-637e8f49.js → index-aaa2dae0.js} +10 -25
  264. package/dist/esm/{index-511bdaa5.js → index-c00b0bbb.js} +29 -29
  265. package/dist/esm/{index-41a678ea.js → index-f7fb1e25.js} +3 -3
  266. package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
  267. package/dist/esm/{index.esm-ed50151c.js → index.esm-8ee5ff72.js} +15 -15
  268. package/dist/esm/index.js +63 -63
  269. package/dist/esm/{inherits-2cf82c38.js → inherits-75d45541.js} +5 -5
  270. package/dist/esm/{keys-526daf0a.js → keys-8eda7a5c.js} +2 -2
  271. package/dist/esm/{lodash-a818d390.js → lodash-ec8c6b48.js} +9 -57
  272. package/dist/esm/main-747e7d25.js +886 -0
  273. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
  274. package/dist/esm/{slicedToArray-f0edf3d6.js → slicedToArray-641f241f.js} +4 -4
  275. package/dist/esm/{stringify-d1b9276a.js → stringify-4330ccdc.js} +1 -1
  276. package/dist/esm/{toConsumableArray-81605212.js → toConsumableArray-43aa614d.js} +4 -4
  277. package/dist/esm/{toNumber-e3dcad26.js → toNumber-2f7a84cd.js} +4 -39
  278. package/dist/esm/{typeof-ad2c7a21.js → typeof-af9c50d8.js} +5 -5
  279. package/dist/esm/urlFor.js +1 -1
  280. package/dist/esm/{ustream-api-cf90f7e6.js → ustream-api-9a50644d.js} +4 -4
  281. package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
  282. package/dist/esm/{web.dom.iterable-ace8ed30.js → web.dom.iterable-4439f05a.js} +2 -2
  283. package/package.json +110 -110
  284. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  285. package/dist/cjs/main-bc7d4bf8.js +0 -972
  286. package/dist/esm/main-ae902629.js +0 -961
@@ -1,11 +1,11 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-cedb5b78.js';
3
- import './es6.string.iterator-1577cb76.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
4
4
  import './_library-528f1934.js';
5
- import './_iter-detect-0fa1c752.js';
6
- import './core.get-iterator-method-227107e6.js';
7
- import './web.dom.iterable-ace8ed30.js';
8
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-e1a2f43a.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
  import { c as cookie } from './index-db3bb315.js';
10
10
  import getQuery from './getQuery.js';
11
11
 
@@ -29,20 +29,9 @@ function parseString(setCookieValue, options) {
29
29
  ? Object.assign({}, defaultParseOptions, options)
30
30
  : defaultParseOptions;
31
31
 
32
- try {
33
- value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
34
- } catch (e) {
35
- console.error(
36
- "set-cookie-parser encountered an error while decoding a cookie with value '" +
37
- value +
38
- "'. Set options.decodeValues to false to disable this feature.",
39
- e
40
- );
41
- }
42
-
43
32
  var cookie = {
44
33
  name: name, // grab everything before the first =
45
- value: value,
34
+ value: options.decodeValues ? decodeURIComponent(value) : value, // decode cookie value
46
35
  };
47
36
 
48
37
  parts.forEach(function (part) {
@@ -213,7 +202,7 @@ setCookie.parse = parse_1;
213
202
  setCookie.parseString = parseString_1;
214
203
  setCookie.splitCookiesString = splitCookiesString_1;
215
204
 
216
- var utils = createCommonjsModule(function (module, exports) {
205
+ var dist = createCommonjsModule(function (module, exports) {
217
206
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
218
207
  __assign = Object.assign || function(t) {
219
208
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -226,33 +215,10 @@ var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
226
215
  return __assign.apply(this, arguments);
227
216
  };
228
217
  Object.defineProperty(exports, "__esModule", { value: true });
229
- exports.areCookiesEqual = exports.hasSameProperties = exports.createCookie = exports.isBrowser = void 0;
230
- /**
231
- * Tells whether we are in a browser or server.
232
- */
233
- function isBrowser() {
234
- return typeof window !== 'undefined';
235
- }
236
- exports.isBrowser = isBrowser;
237
- /**
238
- * Create an instance of the Cookie interface
239
- */
240
- function createCookie(name, value, options) {
241
- var sameSite = options.sameSite;
242
- if (sameSite === true) {
243
- sameSite = 'strict';
244
- }
245
- if (sameSite === undefined || sameSite === false) {
246
- sameSite = 'lax';
247
- }
248
- var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
249
- delete cookieToSet.encode;
250
- return __assign({ name: name, value: value }, cookieToSet);
251
- }
252
- exports.createCookie = createCookie;
253
- /**
254
- * Tells whether given objects have the same properties.
255
- */
218
+ exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
219
+
220
+
221
+ var isBrowser = function () { return typeof window !== 'undefined'; };
256
222
  function hasSameProperties(a, b) {
257
223
  var aProps = Object.getOwnPropertyNames(a);
258
224
  var bProps = Object.getOwnPropertyNames(b);
@@ -267,9 +233,8 @@ function hasSameProperties(a, b) {
267
233
  }
268
234
  return true;
269
235
  }
270
- exports.hasSameProperties = hasSameProperties;
271
236
  /**
272
- * Compare the cookie and return true if the cookies have equivalent
237
+ * Compare the cookie and return true if the cookies has equivalent
273
238
  * options and the cookies would be overwritten in the browser storage.
274
239
  *
275
240
  * @param a first Cookie for comparison
@@ -282,109 +247,71 @@ function areCookiesEqual(a, b) {
282
247
  }
283
248
  return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
284
249
  }
285
- exports.areCookiesEqual = areCookiesEqual;
286
- /* Functions */
287
-
288
- });
289
-
290
- unwrapExports(utils);
291
- var utils_1 = utils.areCookiesEqual;
292
- var utils_2 = utils.hasSameProperties;
293
- var utils_3 = utils.createCookie;
294
- var utils_4 = utils.isBrowser;
295
-
296
- var dist = createCommonjsModule(function (module, exports) {
297
- var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
298
- __assign = Object.assign || function(t) {
299
- for (var s, i = 1, n = arguments.length; i < n; i++) {
300
- s = arguments[i];
301
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
302
- t[p] = s[p];
303
- }
304
- return t;
305
- };
306
- return __assign.apply(this, arguments);
307
- };
308
- Object.defineProperty(exports, "__esModule", { value: true });
309
- exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
310
-
311
-
312
-
313
250
  /**
251
+ * Create an instance of the Cookie interface
252
+ *
253
+ * @param name name of the Cookie
254
+ * @param value value of the Cookie
255
+ * @param options Cookie options
256
+ */
257
+ function createCookie(name, value, options) {
258
+ var sameSite = options.sameSite;
259
+ if (sameSite === true) {
260
+ sameSite = 'strict';
261
+ }
262
+ if (sameSite === undefined || sameSite === false) {
263
+ sameSite = 'lax';
264
+ }
265
+ var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
266
+ delete cookieToSet.encode;
267
+ return __assign({ name: name, value: value }, cookieToSet);
268
+ }
269
+ /**
270
+ *
314
271
  * Parses cookies.
315
272
  *
316
- * @param ctx NextJS page or API context, express context, null or undefined.
317
- * @param options Options that we pass down to `cookie` library.
273
+ * @param ctx
274
+ * @param options
318
275
  */
319
276
  function parseCookies(ctx, options) {
320
- var _a, _b;
321
- if ((_b = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.req) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.cookie) {
277
+ if (ctx && ctx.req && ctx.req.headers && ctx.req.headers.cookie) {
322
278
  return cookie.parse(ctx.req.headers.cookie, options);
323
279
  }
324
- if (utils.isBrowser()) {
280
+ if (isBrowser()) {
325
281
  return cookie.parse(document.cookie, options);
326
282
  }
327
283
  return {};
328
284
  }
329
285
  exports.parseCookies = parseCookies;
330
286
  /**
287
+ *
331
288
  * Sets a cookie.
332
289
  *
333
- * @param ctx NextJS page or API context, express context, null or undefined.
334
- * @param name The name of your cookie.
335
- * @param value The value of your cookie.
336
- * @param options Options that we pass down to `cookie` library.
290
+ * @param ctx
291
+ * @param name
292
+ * @param value
293
+ * @param options
337
294
  */
338
295
  function setCookie$1(ctx, name, value, options) {
339
- var _a, _b;
340
- if (options === void 0) { options = {}; }
341
- // SSR
342
- if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
343
- // Check if response has finished and warn about it.
344
- if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
345
- console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
346
- console.warn("You should set cookie before res.send()");
347
- return {};
348
- }
349
- /**
350
- * Load existing cookies from the header and parse them.
351
- */
296
+ if (ctx && ctx.res && ctx.res.getHeader && ctx.res.setHeader) {
352
297
  var cookies = ctx.res.getHeader('Set-Cookie') || [];
353
298
  if (typeof cookies === 'string')
354
299
  cookies = [cookies];
355
300
  if (typeof cookies === 'number')
356
301
  cookies = [];
357
- /**
358
- * Parse cookies but ignore values - we've already encoded
359
- * them in the previous call.
360
- */
361
- var parsedCookies = setCookie.parse(cookies, {
362
- decodeValues: false,
363
- });
364
- /**
365
- * We create the new cookie and make sure that none of
366
- * the existing cookies match it.
367
- */
368
- var newCookie_1 = utils.createCookie(name, value, options);
302
+ var parsedCookies = setCookie.parse(cookies);
369
303
  var cookiesToSet_1 = [];
370
304
  parsedCookies.forEach(function (parsedCookie) {
371
- if (!utils.areCookiesEqual(parsedCookie, newCookie_1)) {
372
- /**
373
- * We serialize the cookie back to the original format
374
- * if it isn't the same as the new one.
375
- */
376
- var serializedCookie = cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
377
- // we prevent reencoding by default, but you might override it
378
- encode: function (val) { return val; } }, parsedCookie));
379
- cookiesToSet_1.push(serializedCookie);
305
+ if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
306
+ cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({ encode: function (val) { return val; } }, parsedCookie)));
380
307
  }
381
308
  });
382
309
  cookiesToSet_1.push(cookie.serialize(name, value, options));
383
- // Update the header.
384
- ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
310
+ if (!ctx.res.finished) {
311
+ ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
312
+ }
385
313
  }
386
- // Browser
387
- if (utils.isBrowser()) {
314
+ if (isBrowser()) {
388
315
  if (options && options.httpOnly) {
389
316
  throw new Error('Can not set a httpOnly cookie in the browser.');
390
317
  }
@@ -394,21 +321,30 @@ function setCookie$1(ctx, name, value, options) {
394
321
  }
395
322
  exports.setCookie = setCookie$1;
396
323
  /**
324
+ *
397
325
  * Destroys a cookie with a particular name.
398
326
  *
399
- * @param ctx NextJS page or API context, express context, null or undefined.
400
- * @param name Cookie name.
401
- * @param options Options that we pass down to `cookie` library.
327
+ * @param ctx
328
+ * @param name
329
+ * @param options
402
330
  */
403
331
  function destroyCookie(ctx, name, options) {
404
- /**
405
- * We forward the request destroy to setCookie function
406
- * as it is the same function with modified maxAge value.
407
- */
408
- return setCookie$1(ctx, name, '', __assign(__assign({}, (options || {})), { maxAge: -1 }));
332
+ var opts = __assign(__assign({}, (options || {})), { maxAge: -1 });
333
+ if (ctx && ctx.res && ctx.res.setHeader && ctx.res.getHeader) {
334
+ var cookies = ctx.res.getHeader('Set-Cookie') || [];
335
+ if (typeof cookies === 'string')
336
+ cookies = [cookies];
337
+ if (typeof cookies === 'number')
338
+ cookies = [];
339
+ cookies.push(cookie.serialize(name, '', opts));
340
+ ctx.res.setHeader('Set-Cookie', cookies);
341
+ }
342
+ if (isBrowser()) {
343
+ document.cookie = cookie.serialize(name, '', opts);
344
+ }
345
+ return {};
409
346
  }
410
347
  exports.destroyCookie = destroyCookie;
411
- /* Utility Exports */
412
348
  exports.default = {
413
349
  set: setCookie$1,
414
350
  get: parseCookies,
@@ -1,11 +1,11 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-cedb5b78.js';
3
- import './es6.string.iterator-1577cb76.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
4
4
  import './_library-528f1934.js';
5
- import './_iter-detect-0fa1c752.js';
6
- import './core.get-iterator-method-227107e6.js';
7
- import './web.dom.iterable-ace8ed30.js';
8
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-e1a2f43a.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,56 +1,56 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-cedb5b78.js';
3
- import './es6.string.iterator-1577cb76.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
4
4
  import './_library-528f1934.js';
5
- import './_iter-detect-0fa1c752.js';
6
- import './toConsumableArray-81605212.js';
7
- import './core.get-iterator-method-227107e6.js';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './toConsumableArray-43aa614d.js';
7
+ import './core.get-iterator-method-e1de7503.js';
8
8
  import './_object-pie-33c40e79.js';
9
- import './extends-be71a29a.js';
10
- import './_object-sap-1b84e2bf.js';
11
- import './inherits-2cf82c38.js';
12
- import './define-property-2f35af22.js';
13
- import './web.dom.iterable-ace8ed30.js';
14
- import './typeof-ad2c7a21.js';
15
- import './_is-array-328b85b7.js';
9
+ import './extends-6f2fcc99.js';
10
+ import './_object-sap-964b6feb.js';
11
+ import './inherits-75d45541.js';
12
+ import './define-property-8af5f002.js';
13
+ import './web.dom.iterable-4439f05a.js';
14
+ import './typeof-af9c50d8.js';
15
+ import './_is-array-58e95429.js';
16
16
  import 'react';
17
17
  import './events-6c3a7a63.js';
18
- import './index-41a678ea.js';
18
+ import './index-f7fb1e25.js';
19
19
  import 'prop-types';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
22
  import './moment-b6f49411.js';
23
23
  import 'next/router';
24
24
  import './isSymbol-1981418f.js';
25
- import './debounce-89969f66.js';
26
- import './toNumber-e3dcad26.js';
25
+ import './debounce-9207d8ee.js';
26
+ import './toNumber-2f7a84cd.js';
27
27
  import 'react-dom';
28
- import './index-f7fdcc91.js';
28
+ import './index-51a80699.js';
29
29
  import './urlFor.js';
30
- import './index-5f7e79e7.js';
31
- import './main-ae902629.js';
30
+ import './index-6c12bdd5.js';
31
+ import './main-747e7d25.js';
32
32
  import './entities-7cc3bf45.js';
33
- import './slicedToArray-f0edf3d6.js';
34
- import './stringify-d1b9276a.js';
35
- import './asyncToGenerator-e1a2f43a.js';
33
+ import './slicedToArray-641f241f.js';
34
+ import './stringify-4330ccdc.js';
35
+ import './asyncToGenerator-fc1c2e29.js';
36
36
  import './Segment.js';
37
37
  import './Beam.js';
38
38
  import './AdSlot.js';
39
39
  import 'react-bootstrap/Button';
40
- import './BlockContent-ea93e8f7.js';
40
+ import './BlockContent-d05b5b23.js';
41
41
  import './index-c7e2ac95.js';
42
42
  import './smoothscroll-0cd4c7a6.js';
43
43
  import './GroupDeck.js';
44
44
  import 'react-bootstrap';
45
45
  import './iconBase-602d52fe.js';
46
46
  import './index.esm-3fdda599.js';
47
- export { g as default } from './index-03da2fcc.js';
47
+ export { g as default } from './index-0500ae55.js';
48
48
  import './util-7700fc59.js';
49
- import './brightcove-react-player-loader.es-e761d404.js';
49
+ import './brightcove-react-player-loader.es-4abff0b1.js';
50
50
  import 'next/head';
51
51
  import 'react-share';
52
52
  import './SocialShare.js';
53
- import './_object-to-array-c8f72bf1.js';
53
+ import './_object-to-array-7e804fce.js';
54
54
  import 'react-bootstrap/Pagination';
55
55
  import 'react-bootstrap/Figure';
56
56
  import 'react-bootstrap/OverlayTrigger';
@@ -1,19 +1,19 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-81605212.js';
2
- import { _ as _extends } from './extends-be71a29a.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
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
14
+ cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {
@@ -1,9 +1,9 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-cedb5b78.js';
3
- import './es6.string.iterator-1577cb76.js';
4
- import './_iter-detect-0fa1c752.js';
5
- import './toConsumableArray-81605212.js';
6
- import './core.get-iterator-method-227107e6.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
4
+ import './_iter-detect-5d49a330.js';
5
+ import './toConsumableArray-43aa614d.js';
6
+ import './core.get-iterator-method-e1de7503.js';
7
7
  import './_object-pie-33c40e79.js';
8
- import './extends-be71a29a.js';
9
- export { g as default } from './getTargeting-37cb4051.js';
8
+ import './extends-6f2fcc99.js';
9
+ export { g as default } from './getTargeting-bd800589.js';