@mjhls/mjh-framework 1.0.850-affiliatefix-v1 → 1.0.850-beta.1

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 (318) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +30 -31
  4. package/dist/cjs/AD300x250x600.js +30 -31
  5. package/dist/cjs/AD728x90.js +33 -34
  6. package/dist/cjs/ADFloatingFooter.js +32 -33
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +32 -33
  9. package/dist/cjs/{ADInfeed-859820d9.js → ADInfeed-98c71bcd.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +32 -33
  11. package/dist/cjs/ADSponsoredResources.js +32 -33
  12. package/dist/cjs/ADWebcast.js +32 -33
  13. package/dist/cjs/ADWelcome.js +33 -34
  14. package/dist/cjs/{ADlgInfeed-da3a36a6.js → ADlgInfeed-9de32585.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +101 -34
  17. package/dist/cjs/AdSlotsProvider.js +33 -25
  18. package/dist/cjs/AlgoliaSearch.js +1080 -1076
  19. package/dist/cjs/AlphabeticList.js +25 -26
  20. package/dist/cjs/ArticleCarousel.js +23 -24
  21. package/dist/cjs/ArticleProgramLandingPage.js +58 -60
  22. package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
  23. package/dist/cjs/ArticleSeriesListing.js +61 -62
  24. package/dist/cjs/AuthWrapper.js +423 -1739
  25. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
  26. package/dist/cjs/Beam.js +8 -8
  27. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
  28. package/dist/cjs/Breadcrumbs.js +27 -29
  29. package/dist/cjs/CMEDeck.js +83 -83
  30. package/dist/cjs/Column1.js +11 -14
  31. package/dist/cjs/Column2.js +33 -36
  32. package/dist/cjs/Column3.js +59 -62
  33. package/dist/cjs/ConferenceArticleCard.js +37 -38
  34. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  35. package/dist/cjs/DeckContent.js +103 -107
  36. package/dist/cjs/DeckQueue.js +90 -94
  37. package/dist/cjs/{Dfp-93399f8c.js → Dfp-26baccf1.js} +34 -35
  38. package/dist/cjs/EventsDeck.js +152 -159
  39. package/dist/cjs/ExternalResources.js +79 -81
  40. package/dist/cjs/Feature.js +24 -26
  41. package/dist/cjs/ForbesHero.js +42 -43
  42. package/dist/cjs/GridContent.js +304 -190
  43. package/dist/cjs/GridHero.js +44 -45
  44. package/dist/cjs/GroupDeck.js +59 -60
  45. package/dist/cjs/HamMagazine.js +141 -146
  46. package/dist/cjs/Header.js +12 -14
  47. package/dist/cjs/Hero.js +12 -13
  48. package/dist/cjs/HighlightenVideo.js +17 -18
  49. package/dist/cjs/HorizontalArticleListing.js +71 -73
  50. package/dist/cjs/HorizontalHero.js +25 -26
  51. package/dist/cjs/IssueContentDeck.js +73 -78
  52. package/dist/cjs/IssueDeck.js +72 -77
  53. package/dist/cjs/IssueLanding.js +92 -96
  54. package/dist/cjs/KMTracker.js +15 -15
  55. package/dist/cjs/LeftNav.js +39 -41
  56. package/dist/cjs/MasterDeck.js +80 -81
  57. package/dist/cjs/MediaSeriesLanding.js +1138 -1230
  58. package/dist/cjs/NavDvm.js +74 -79
  59. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  60. package/dist/cjs/NavMagazine.js +148 -153
  61. package/dist/cjs/NavNative.js +145 -153
  62. package/dist/cjs/OncliveHero.js +19 -19
  63. package/dist/cjs/OncliveLargeHero.js +72 -73
  64. package/dist/cjs/PageFilter.js +14 -15
  65. package/dist/cjs/PartnerDetailListing.js +106 -115
  66. package/dist/cjs/PdfDownload.js +9 -10
  67. package/dist/cjs/PopUpModal.js +19 -21
  68. package/dist/cjs/PubSection.js +40 -43
  69. package/dist/cjs/PubToc.js +15 -16
  70. package/dist/cjs/PublicationDeck.js +62 -67
  71. package/dist/cjs/PublicationLanding.js +135 -139
  72. package/dist/cjs/QueueDeckExpanded.js +2172 -1167
  73. package/dist/cjs/RecentNews.js +22 -23
  74. package/dist/cjs/RelatedContent.js +54 -55
  75. package/dist/cjs/RelatedTopicsDropdown.js +29 -32
  76. package/dist/cjs/RolesDeck.js +27 -32
  77. package/dist/cjs/Search.js +18 -22
  78. package/dist/cjs/Segment.js +368 -343
  79. package/dist/cjs/SeriesListingDeck.js +38 -38
  80. package/dist/cjs/{SeriesSlider-34c6cc2b.js → SeriesSlider-8bbc989f.js} +39 -40
  81. package/dist/cjs/SetCookie.js +1 -1
  82. package/dist/cjs/SideFooter.js +38 -39
  83. package/dist/cjs/SocialIcons.js +9 -10
  84. package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-cea213aa.js} +36 -40
  85. package/dist/cjs/SocialShare.js +29 -31
  86. package/dist/cjs/TaxonomyCard.js +59 -64
  87. package/dist/cjs/TaxonomyDescription.js +54 -56
  88. package/dist/cjs/TemplateNormal.js +74 -75
  89. package/dist/cjs/ThumbnailCard.js +21 -23
  90. package/dist/cjs/Ustream.js +30 -31
  91. package/dist/cjs/VerticalHero.js +16 -17
  92. package/dist/cjs/VideoProgramLandingPage.js +73 -78
  93. package/dist/cjs/VideoSeriesCard.js +33 -34
  94. package/dist/cjs/VideoSeriesFilter.js +18 -18
  95. package/dist/cjs/VideoSeriesLandingPage.js +50 -51
  96. package/dist/cjs/VideoSeriesListing.js +82 -81
  97. package/dist/cjs/View.js +342 -266
  98. package/dist/cjs/YahooHero.js +41 -42
  99. package/dist/cjs/YoutubeGroup.js +66 -67
  100. package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
  101. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
  102. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  103. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
  104. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
  105. package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
  106. package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
  107. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  108. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
  109. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  110. package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
  111. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
  112. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  113. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  114. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
  115. package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
  116. package/dist/cjs/faundadb.js +327 -10
  117. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  118. package/dist/cjs/getQuery.js +2 -2
  119. package/dist/cjs/getRelatedArticle.js +28 -445
  120. package/dist/cjs/getRootDocGroup.js +6 -6
  121. package/dist/cjs/getSerializers.js +44 -45
  122. package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-f1821260.js} +26 -17
  123. package/dist/cjs/getTargeting.js +8 -8
  124. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
  125. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  126. package/dist/cjs/{index-060c5d65.js → index-4151deb3.js} +1615 -1009
  127. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  128. package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
  129. package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
  130. package/dist/cjs/{index-50be6759.js → index-e2e62963.js} +10 -26
  131. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  132. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
  133. package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
  134. package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
  135. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
  136. package/dist/cjs/index.js +158 -170
  137. package/dist/cjs/{inherits-c2065b95.js → inherits-9953db94.js} +22 -22
  138. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  139. package/dist/cjs/keys-a586b7a0.js +25 -0
  140. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  141. package/dist/cjs/main-02daeefe.js +862 -0
  142. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  143. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  144. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
  145. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  146. package/dist/cjs/stringify-7c5aff47.js +17 -0
  147. package/dist/cjs/timeDifferenceCalc.js +1 -1
  148. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
  149. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  150. package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
  151. package/dist/cjs/urlFor.js +3 -3
  152. package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
  153. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  154. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
  155. package/dist/esm/AD.js +1 -1
  156. package/dist/esm/AD300x250.js +24 -24
  157. package/dist/esm/AD300x250x600.js +24 -24
  158. package/dist/esm/AD728x90.js +27 -27
  159. package/dist/esm/ADFloatingFooter.js +23 -23
  160. package/dist/esm/ADFooter.js +6 -6
  161. package/dist/esm/ADGutter.js +23 -23
  162. package/dist/esm/{ADInfeed-4bf3b2f9.js → ADInfeed-bbdd5398.js} +6 -6
  163. package/dist/esm/ADSkyscraper.js +23 -23
  164. package/dist/esm/ADSponsoredResources.js +23 -23
  165. package/dist/esm/ADWebcast.js +23 -23
  166. package/dist/esm/ADWelcome.js +20 -20
  167. package/dist/esm/{ADlgInfeed-a3377c4a.js → ADlgInfeed-4473ee3b.js} +4 -4
  168. package/dist/esm/AccordionPanel.js +8 -8
  169. package/dist/esm/AdSlot.js +92 -24
  170. package/dist/esm/AdSlotsProvider.js +27 -17
  171. package/dist/esm/AlgoliaSearch.js +530 -525
  172. package/dist/esm/AlphabeticList.js +10 -10
  173. package/dist/esm/ArticleCarousel.js +17 -17
  174. package/dist/esm/ArticleProgramLandingPage.js +49 -50
  175. package/dist/esm/ArticleSeriesLandingPage.js +32 -32
  176. package/dist/esm/ArticleSeriesListing.js +34 -34
  177. package/dist/esm/AuthWrapper.js +396 -1711
  178. package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
  179. package/dist/esm/Beam.js +8 -8
  180. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
  181. package/dist/esm/Breadcrumbs.js +7 -7
  182. package/dist/esm/CMEDeck.js +24 -24
  183. package/dist/esm/Column1.js +4 -4
  184. package/dist/esm/Column2.js +21 -21
  185. package/dist/esm/Column3.js +39 -39
  186. package/dist/esm/ConferenceArticleCard.js +22 -22
  187. package/dist/esm/DeckContent.js +57 -57
  188. package/dist/esm/DeckQueue.js +50 -50
  189. package/dist/esm/{Dfp-2c43d2a0.js → Dfp-b7236041.js} +15 -15
  190. package/dist/esm/EventsDeck.js +67 -67
  191. package/dist/esm/ExternalResources.js +47 -48
  192. package/dist/esm/Feature.js +4 -4
  193. package/dist/esm/ForbesHero.js +12 -12
  194. package/dist/esm/GridContent.js +200 -82
  195. package/dist/esm/GridHero.js +13 -13
  196. package/dist/esm/GroupDeck.js +14 -14
  197. package/dist/esm/HamMagazine.js +39 -39
  198. package/dist/esm/Hero.js +4 -4
  199. package/dist/esm/HighlightenVideo.js +2 -2
  200. package/dist/esm/HorizontalArticleListing.js +46 -47
  201. package/dist/esm/HorizontalHero.js +5 -5
  202. package/dist/esm/IssueContentDeck.js +27 -27
  203. package/dist/esm/IssueDeck.js +37 -37
  204. package/dist/esm/IssueLanding.js +81 -84
  205. package/dist/esm/KMTracker.js +15 -15
  206. package/dist/esm/LeftNav.js +22 -22
  207. package/dist/esm/MasterDeck.js +45 -45
  208. package/dist/esm/MediaSeriesLanding.js +662 -751
  209. package/dist/esm/NavDvm.js +16 -16
  210. package/dist/esm/NavMagazine.js +44 -44
  211. package/dist/esm/NavNative.js +49 -49
  212. package/dist/esm/OncliveHero.js +5 -4
  213. package/dist/esm/OncliveLargeHero.js +13 -13
  214. package/dist/esm/PageFilter.js +6 -6
  215. package/dist/esm/PartnerDetailListing.js +55 -63
  216. package/dist/esm/PdfDownload.js +2 -2
  217. package/dist/esm/PopUpModal.js +6 -6
  218. package/dist/esm/PubSection.js +32 -34
  219. package/dist/esm/PubToc.js +8 -8
  220. package/dist/esm/PublicationDeck.js +24 -24
  221. package/dist/esm/PublicationLanding.js +76 -76
  222. package/dist/esm/QueueDeckExpanded.js +2102 -1097
  223. package/dist/esm/RecentNews.js +4 -4
  224. package/dist/esm/RelatedContent.js +35 -35
  225. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  226. package/dist/esm/RolesDeck.js +12 -12
  227. package/dist/esm/Search.js +8 -8
  228. package/dist/esm/Segment.js +368 -343
  229. package/dist/esm/SeriesListingDeck.js +20 -20
  230. package/dist/esm/{SeriesSlider-5d5c08f4.js → SeriesSlider-a866bb21.js} +14 -14
  231. package/dist/esm/SetCookie.js +1 -1
  232. package/dist/esm/SideFooter.js +17 -17
  233. package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-03c3e869.js} +12 -12
  234. package/dist/esm/TaxonomyCard.js +25 -25
  235. package/dist/esm/TaxonomyDescription.js +45 -46
  236. package/dist/esm/TemplateNormal.js +50 -50
  237. package/dist/esm/ThumbnailCard.js +7 -7
  238. package/dist/esm/Ustream.js +14 -14
  239. package/dist/esm/VerticalHero.js +3 -3
  240. package/dist/esm/VideoProgramLandingPage.js +53 -54
  241. package/dist/esm/VideoSeriesCard.js +14 -14
  242. package/dist/esm/VideoSeriesFilter.js +9 -9
  243. package/dist/esm/VideoSeriesLandingPage.js +38 -38
  244. package/dist/esm/VideoSeriesListing.js +39 -37
  245. package/dist/esm/View.js +173 -93
  246. package/dist/esm/YahooHero.js +15 -15
  247. package/dist/esm/YoutubeGroup.js +26 -26
  248. package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
  249. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
  250. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  251. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
  252. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
  253. package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
  254. package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-4877b617.js} +33 -33
  255. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
  256. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
  257. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  258. package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
  259. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
  260. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  261. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  262. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
  263. package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
  264. package/dist/esm/faundadb.js +325 -8
  265. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  266. package/dist/esm/getQuery.js +2 -2
  267. package/dist/esm/getRelatedArticle.js +28 -445
  268. package/dist/esm/getRootDocGroup.js +6 -6
  269. package/dist/esm/getSerializers.js +44 -45
  270. package/dist/esm/{getTargeting-68291ce9.js → getTargeting-bd800589.js} +25 -16
  271. package/dist/esm/getTargeting.js +8 -8
  272. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  273. package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
  274. package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
  275. package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
  276. package/dist/esm/{index-98ca9cec.js → index-aaa2dae0.js} +11 -26
  277. package/dist/esm/{index-01d53c17.js → index-d6dc592a.js} +1261 -648
  278. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  279. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  280. package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
  281. package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
  282. package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
  283. package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
  284. package/dist/esm/index.js +117 -125
  285. package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.js} +19 -19
  286. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  287. package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
  288. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  289. package/dist/esm/main-e4a934b2.js +851 -0
  290. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  291. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
  292. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
  293. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  294. package/dist/esm/stringify-4330ccdc.js +15 -0
  295. package/dist/esm/timeDifferenceCalc.js +1 -1
  296. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
  297. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  298. package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
  299. package/dist/esm/urlFor.js +1 -1
  300. package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
  301. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
  302. package/package.json +116 -110
  303. package/dist/cjs/Auth.js +0 -3652
  304. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  305. package/dist/cjs/index-bd6c9f56.js +0 -211
  306. package/dist/cjs/keys-7f2c2108.js +0 -25
  307. package/dist/cjs/main-f1c77adb.js +0 -973
  308. package/dist/cjs/md5-e1ca5797.js +0 -323
  309. package/dist/cjs/stringify-c9ac1214.js +0 -17
  310. package/dist/cjs/typeof-1358762e.js +0 -33
  311. package/dist/cjs/util-6f784d85.js +0 -576
  312. package/dist/esm/Auth.js +0 -3632
  313. package/dist/esm/index-db3bb315.js +0 -207
  314. package/dist/esm/main-d4165069.js +0 -961
  315. package/dist/esm/md5-4e42248e.js +0 -321
  316. package/dist/esm/stringify-59c8f690.js +0 -15
  317. package/dist/esm/typeof-2f07d0e8.js +0 -30
  318. package/dist/esm/util-3ab476bf.js +0 -574
@@ -1,19 +1,19 @@
1
- import { _ as _extends } from './extends-60e0e1c6.js';
2
- import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.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.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) {
@@ -90,9 +90,6 @@ var getTargeting = function getTargeting(props) {
90
90
  if (document_groups && prevUrl && prevUrl.length) {
91
91
  document_groups.forEach(function (item) {
92
92
  var path = item.path;
93
- if (cpModificationRequired) {
94
- path = getContentPlacementUrl(item);
95
- }
96
93
 
97
94
  var previous_url_to_check = prevUrl;
98
95
  if (prevUrl.includes('?')) {
@@ -100,6 +97,14 @@ var getTargeting = function getTargeting(props) {
100
97
  }
101
98
 
102
99
  if (previous_url_to_check.endsWith(path)) {
100
+ if (item.adTargetingURL) {
101
+ path = item.adTargetingURL;
102
+ }
103
+
104
+ if (cpModificationRequired) {
105
+ path = getContentPlacementUrl(item);
106
+ }
107
+
103
108
  document_group_urls.push(path);
104
109
  }
105
110
  });
@@ -108,11 +113,15 @@ var getTargeting = function getTargeting(props) {
108
113
  if (document_groups) {
109
114
  if (document_group_urls.length === 0) {
110
115
  document_group_urls = document_groups.map(function (item) {
111
- return cpModificationRequired ? getContentPlacementUrl(item) : item.path;
116
+ return cpModificationRequired ? getContentPlacementUrl(item) : item.adTargetingURL ? item.adTargetingURL : item.path;
112
117
  });
113
118
  }
114
119
  } else {
115
- document_group_urls = [document_group];
120
+ var path = document_group;
121
+ if (article.documentGroup && article.documentGroup.adTargetingURL) {
122
+ path = article.documentGroup.adTargetingURL;
123
+ }
124
+ document_group_urls = [path];
116
125
  }
117
126
 
118
127
  var articleKeywords = [].concat(_toConsumableArray(internalTag), _toConsumableArray(userDefinedTag), _toConsumableArray(SponsorshipTag), _toConsumableArray(seoTag));
@@ -1,9 +1,9 @@
1
- import './extends-60e0e1c6.js';
2
- import './toConsumableArray-6d9a4616.js';
3
- export { g as default } from './getTargeting-68291ce9.js';
4
1
  import './_commonjsHelpers-0c4b6f40.js';
5
- import './_to-object-b50e61c3.js';
6
- import './_object-pie-133f504a.js';
7
- import './es6.string.iterator-bc33758b.js';
8
- import './_iter-detect-7e5e5ce2.js';
9
- import './core.get-iterator-method-133dfacd.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
+ import './_object-pie-33c40e79.js';
8
+ import './extends-6f2fcc99.js';
9
+ export { g as default } from './getTargeting-bd800589.js';
@@ -1,28 +1,4 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
-
5
- function _interopNamespace(e) {
6
- if (e && e.__esModule) return e;
7
- var n = Object.create(null);
8
- if (e) {
9
- Object.keys(e).forEach(function (k) {
10
- if (k !== 'default') {
11
- var d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: function () {
15
- return e[k];
16
- }
17
- });
18
- }
19
- });
20
- }
21
- n['default'] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var React__namespace = /*#__PURE__*/_interopNamespace(React);
1
+ import { createContext, createElement } from 'react';
26
2
 
27
3
  var DefaultContext = {
28
4
  color: undefined,
@@ -31,7 +7,7 @@ var DefaultContext = {
31
7
  style: undefined,
32
8
  attr: undefined
33
9
  };
34
- var IconContext = React__namespace.createContext && React__namespace.createContext(DefaultContext);
10
+ var IconContext = createContext && createContext(DefaultContext);
35
11
 
36
12
  var __assign = undefined && undefined.__assign || function () {
37
13
  __assign = Object.assign || function (t) {
@@ -58,7 +34,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
58
34
 
59
35
  function Tree2Element(tree) {
60
36
  return tree && tree.map(function (node, i) {
61
- return React__namespace.createElement(node.tag, __assign({
37
+ return createElement(node.tag, __assign({
62
38
  key: i
63
39
  }, node.attr), Tree2Element(node.child));
64
40
  });
@@ -66,7 +42,7 @@ function Tree2Element(tree) {
66
42
 
67
43
  function GenIcon(data) {
68
44
  return function (props) {
69
- return React__namespace.createElement(IconBase, __assign({
45
+ return createElement(IconBase, __assign({
70
46
  attr: __assign({}, data.attr)
71
47
  }, props), Tree2Element(data.child));
72
48
  };
@@ -82,7 +58,7 @@ function IconBase(props) {
82
58
  title = props.title,
83
59
  svgProps = __rest(props, ["attr", "title"]);
84
60
 
85
- return React__namespace.createElement("svg", __assign({
61
+ return createElement("svg", __assign({
86
62
  stroke: "currentColor",
87
63
  fill: "currentColor",
88
64
  strokeWidth: "0"
@@ -94,13 +70,12 @@ function IconBase(props) {
94
70
  height: computedSize,
95
71
  width: computedSize,
96
72
  xmlns: "http://www.w3.org/2000/svg"
97
- }), title && React__namespace.createElement("title", null, title), props.children);
73
+ }), title && createElement("title", null, title), props.children);
98
74
  };
99
75
 
100
- return IconContext !== undefined ? React__namespace.createElement(IconContext.Consumer, null, function (conf) {
76
+ return IconContext !== undefined ? createElement(IconContext.Consumer, null, function (conf) {
101
77
  return elem(conf);
102
78
  }) : elem(DefaultContext);
103
79
  }
104
80
 
105
- exports.GenIcon = GenIcon;
106
- exports.IconContext = IconContext;
81
+ export { GenIcon as G, IconContext as I };
@@ -1,6 +1,6 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { E as EventEmitter } from './events-6c3a7a63.js';
3
2
  import React__default from 'react';
3
+ import { E as EventEmitter } from './events-6c3a7a63.js';
4
4
  import PropTypes from 'prop-types';
5
5
 
6
6
  var utils = createCommonjsModule(function (module, exports) {
@@ -37,7 +37,7 @@ function loadGPTScript() {
37
37
  });
38
38
 
39
39
  unwrapExports(utils);
40
- utils.loadGPTScript;
40
+ var utils_1 = utils.loadGPTScript;
41
41
 
42
42
  var manager = createCommonjsModule(function (module, exports) {
43
43
 
@@ -880,7 +880,7 @@ if (Context === null) {
880
880
  });
881
881
 
882
882
  unwrapExports(dfpslotsprovider);
883
- dfpslotsprovider.Context;
883
+ var dfpslotsprovider_1 = dfpslotsprovider.Context;
884
884
 
885
885
  var adslot = createCommonjsModule(function (module, exports) {
886
886
 
@@ -1176,7 +1176,7 @@ exports.default = _default;
1176
1176
  });
1177
1177
 
1178
1178
  unwrapExports(adslot);
1179
- adslot.AdSlot;
1179
+ var adslot_1 = adslot.AdSlot;
1180
1180
 
1181
1181
  var lib = createCommonjsModule(function (module, exports) {
1182
1182
 
@@ -1,7 +1,7 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import ReactDOM from 'react-dom';
4
3
  import PropTypes from 'prop-types';
4
+ import ReactDOM from 'react-dom';
5
5
 
6
6
  var event = createCommonjsModule(function (module, exports) {
7
7
 
@@ -32,8 +32,8 @@ function off(el, eventName, callback, opts) {
32
32
  });
33
33
 
34
34
  unwrapExports(event);
35
- event.on;
36
- event.off;
35
+ var event_1 = event.on;
36
+ var event_2 = event.off;
37
37
 
38
38
  var scrollParent = createCommonjsModule(function (module, exports) {
39
39
 
@@ -598,8 +598,8 @@ exports.forceVisible = forceVisible;
598
598
  });
599
599
 
600
600
  var LazyLoad = unwrapExports(lib);
601
- lib.forceVisible;
602
- lib.forceCheck;
603
- lib.lazyload;
601
+ var lib_1 = lib.forceVisible;
602
+ var lib_2 = lib.forceCheck;
603
+ var lib_3 = lib.lazyload;
604
604
 
605
605
  export { LazyLoad as L };
@@ -18,7 +18,7 @@ function parseAssetId(ref) {
18
18
  return { id: id, width: width, height: height, format: format };
19
19
  }
20
20
  exports.default = parseAssetId;
21
- //# sourceMappingURL=parseAssetId.js.map
21
+
22
22
  });
23
23
 
24
24
  unwrapExports(parseAssetId_1);
@@ -58,35 +58,35 @@ function parseSource(source) {
58
58
  if (typeof source === 'string' && isUrl(source)) {
59
59
  // Someone passed an existing image url?
60
60
  image = {
61
- asset: { _ref: urlToId(source) },
61
+ asset: { _ref: urlToId(source) }
62
62
  };
63
63
  }
64
64
  else if (typeof source === 'string') {
65
65
  // Just an asset id
66
66
  image = {
67
- asset: { _ref: source },
67
+ asset: { _ref: source }
68
68
  };
69
69
  }
70
70
  else if (isRef(source)) {
71
71
  // We just got passed an asset directly
72
72
  image = {
73
- asset: source,
73
+ asset: source
74
74
  };
75
75
  }
76
76
  else if (isAsset(source)) {
77
77
  // If we were passed an image asset document
78
78
  image = {
79
79
  asset: {
80
- _ref: source._id || '',
81
- },
80
+ _ref: source._id || ''
81
+ }
82
82
  };
83
83
  }
84
84
  else if (isAssetStub(source)) {
85
85
  // If we were passed a partial asset (`url`, but no `_id`)
86
86
  image = {
87
87
  asset: {
88
- _ref: urlToId(source.asset.url),
89
- },
88
+ _ref: urlToId(source.asset.url)
89
+ }
90
90
  };
91
91
  }
92
92
  else if (typeof source.asset === 'object') {
@@ -127,7 +127,7 @@ function applyDefaults(image) {
127
127
  left: 0,
128
128
  top: 0,
129
129
  bottom: 0,
130
- right: 0,
130
+ right: 0
131
131
  };
132
132
  }
133
133
  if (!result.hotspot) {
@@ -135,12 +135,12 @@ function applyDefaults(image) {
135
135
  x: 0.5,
136
136
  y: 0.5,
137
137
  height: 1.0,
138
- width: 1.0,
138
+ width: 1.0
139
139
  };
140
140
  }
141
141
  return result;
142
142
  }
143
- //# sourceMappingURL=parseSource.js.map
143
+
144
144
  });
145
145
 
146
146
  unwrapExports(parseSource_1);
@@ -182,8 +182,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
182
182
  ['crop', 'crop'],
183
183
  ['saturation', 'sat'],
184
184
  ['auto', 'auto'],
185
- ['dpr', 'dpr'],
186
- ['pad', 'pad'],
185
+ ['dpr', 'dpr']
187
186
  ];
188
187
  function urlForImage(options) {
189
188
  var spec = __assign({}, (options || {}));
@@ -202,7 +201,7 @@ function urlForImage(options) {
202
201
  left: cropLeft,
203
202
  top: cropTop,
204
203
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
205
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
204
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
206
205
  };
207
206
  // Compute hot spot rect in terms of pixel coordinates
208
207
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -213,7 +212,7 @@ function urlForImage(options) {
213
212
  left: hotSpotCenterX - hotSpotHorizontalRadius,
214
213
  top: hotSpotCenterY - hotSpotVerticalRadius,
215
214
  right: hotSpotCenterX + hotSpotHorizontalRadius,
216
- bottom: hotSpotCenterY + hotSpotVerticalRadius,
215
+ bottom: hotSpotCenterY + hotSpotVerticalRadius
217
216
  };
218
217
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
219
218
  // the crop/hotspot.
@@ -295,7 +294,7 @@ function fit(source, spec) {
295
294
  left: Math.round(left),
296
295
  top: Math.round(top_2),
297
296
  width: Math.round(width),
298
- height: Math.round(height),
297
+ height: Math.round(height)
299
298
  };
300
299
  }
301
300
  else {
@@ -317,21 +316,21 @@ function fit(source, spec) {
317
316
  left: Math.max(0, Math.floor(left)),
318
317
  top: Math.max(0, Math.floor(top_3)),
319
318
  width: Math.round(width),
320
- height: Math.round(height),
319
+ height: Math.round(height)
321
320
  };
322
321
  }
323
322
  return {
324
323
  width: imgWidth,
325
324
  height: imgHeight,
326
- rect: cropRect,
325
+ rect: cropRect
327
326
  };
328
327
  }
329
- //# sourceMappingURL=urlForImage.js.map
328
+
330
329
  });
331
330
 
332
331
  unwrapExports(urlForImage_1);
333
- urlForImage_1.parseSource;
334
- urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
332
+ var urlForImage_2 = urlForImage_1.parseSource;
333
+ var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
335
334
 
336
335
  var builder = createCommonjsModule(function (module, exports) {
337
336
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
@@ -357,7 +356,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
357
356
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
358
357
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
359
358
  var validAutoModes = ['format'];
360
- function isSanityClientLike(client) {
359
+ function isSanityClient(client) {
361
360
  return client ? typeof client.clientConfig === 'object' : false;
362
361
  }
363
362
  function rewriteSpecName(key) {
@@ -374,14 +373,13 @@ function rewriteSpecName(key) {
374
373
  function urlBuilder(options) {
375
374
  // Did we get a SanityClient?
376
375
  var client = options;
377
- if (isSanityClientLike(client)) {
376
+ if (isSanityClient(client)) {
378
377
  // Inherit config from client
379
- var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
380
- var apiHost = apiUrl || 'https://api.sanity.io';
378
+ var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
381
379
  return new ImageUrlBuilder(null, {
382
380
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
383
381
  projectId: projectId,
384
- dataset: dataset,
382
+ dataset: dataset
385
383
  });
386
384
  }
387
385
  // Or just accept the options as given
@@ -394,7 +392,7 @@ var ImageUrlBuilder = /** @class */ (function () {
394
392
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
395
393
  }
396
394
  ImageUrlBuilder.prototype.withOptions = function (options) {
397
- var baseUrl = options.baseUrl || this.options.baseUrl;
395
+ var baseUrl = options.baseUrl || '';
398
396
  var newOptions = { baseUrl: baseUrl };
399
397
  for (var key in options) {
400
398
  if (options.hasOwnProperty(key)) {
@@ -488,7 +486,7 @@ var ImageUrlBuilder = /** @class */ (function () {
488
486
  ImageUrlBuilder.prototype.flipHorizontal = function () {
489
487
  return this.withOptions({ flipHorizontal: true });
490
488
  };
491
- // Flip image vertically
489
+ // Flip image verically
492
490
  ImageUrlBuilder.prototype.flipVertical = function () {
493
491
  return this.withOptions({ flipVertical: true });
494
492
  };
@@ -518,26 +516,22 @@ var ImageUrlBuilder = /** @class */ (function () {
518
516
  }
519
517
  return this.withOptions({ auto: value });
520
518
  };
521
- // Specify the number of pixels to pad the image
522
- ImageUrlBuilder.prototype.pad = function (pad) {
523
- return this.withOptions({ pad: pad });
524
- };
525
519
  // Gets the url based on the submitted parameters
526
520
  ImageUrlBuilder.prototype.url = function () {
527
521
  return urlForImage_1$1.default(this.options);
528
522
  };
529
- // Alias for url()
523
+ // Synonym for url()
530
524
  ImageUrlBuilder.prototype.toString = function () {
531
525
  return this.url();
532
526
  };
533
527
  return ImageUrlBuilder;
534
528
  }());
535
529
  exports.ImageUrlBuilder = ImageUrlBuilder;
536
- //# sourceMappingURL=builder.js.map
530
+
537
531
  });
538
532
 
539
533
  unwrapExports(builder);
540
- builder.ImageUrlBuilder;
534
+ var builder_1 = builder.ImageUrlBuilder;
541
535
 
542
536
  var node = createCommonjsModule(function (module) {
543
537
  var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
@@ -545,7 +539,7 @@ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || func
545
539
  };
546
540
  var builder_1 = __importDefault(builder);
547
541
  module.exports = builder_1.default;
548
- //# sourceMappingURL=index.js.map
542
+
549
543
  });
550
544
 
551
545
  var imageUrlBuilder = unwrapExports(node);
@@ -33,18 +33,9 @@ function _objectWithoutPropertiesLoose(source, excluded) {
33
33
  return target;
34
34
  }
35
35
 
36
- function _setPrototypeOf(o, p) {
37
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
38
- o.__proto__ = p;
39
- return o;
40
- };
41
-
42
- return _setPrototypeOf(o, p);
43
- }
44
-
45
36
  var classnames = createCommonjsModule(function (module) {
46
37
  /*!
47
- Copyright (c) 2018 Jed Watson.
38
+ Copyright (c) 2017 Jed Watson.
48
39
  Licensed under the MIT License (MIT), see
49
40
  http://jedwatson.github.io/classnames
50
41
  */
@@ -54,7 +45,7 @@ var classnames = createCommonjsModule(function (module) {
54
45
 
55
46
  var hasOwn = {}.hasOwnProperty;
56
47
 
57
- function classNames() {
48
+ function classNames () {
58
49
  var classes = [];
59
50
 
60
51
  for (var i = 0; i < arguments.length; i++) {
@@ -65,22 +56,16 @@ var classnames = createCommonjsModule(function (module) {
65
56
 
66
57
  if (argType === 'string' || argType === 'number') {
67
58
  classes.push(arg);
68
- } else if (Array.isArray(arg)) {
69
- if (arg.length) {
70
- var inner = classNames.apply(null, arg);
71
- if (inner) {
72
- classes.push(inner);
73
- }
59
+ } else if (Array.isArray(arg) && arg.length) {
60
+ var inner = classNames.apply(null, arg);
61
+ if (inner) {
62
+ classes.push(inner);
74
63
  }
75
64
  } else if (argType === 'object') {
76
- if (arg.toString === Object.prototype.toString) {
77
- for (var key in arg) {
78
- if (hasOwn.call(arg, key) && arg[key]) {
79
- classes.push(key);
80
- }
65
+ for (var key in arg) {
66
+ if (hasOwn.call(arg, key) && arg[key]) {
67
+ classes.push(key);
81
68
  }
82
- } else {
83
- classes.push(arg.toString());
84
69
  }
85
70
  }
86
71
  }
@@ -88,7 +73,7 @@ var classnames = createCommonjsModule(function (module) {
88
73
  return classes.join(' ');
89
74
  }
90
75
 
91
- if (module.exports) {
76
+ if ( module.exports) {
92
77
  classNames.default = classNames;
93
78
  module.exports = classNames;
94
79
  } else {
@@ -97,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
97
82
  }());
98
83
  });
99
84
 
100
- export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
85
+ export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };