@mjhls/mjh-framework 1.0.879 → 1.0.880-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 (309) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +28 -28
  4. package/dist/cjs/AD300x250x600.js +28 -28
  5. package/dist/cjs/AD728x90.js +31 -31
  6. package/dist/cjs/ADFloatingFooter.js +30 -30
  7. package/dist/cjs/ADFooter.js +12 -13
  8. package/dist/cjs/ADGutter.js +30 -30
  9. package/dist/cjs/{ADInfeed-51a39495.js → ADInfeed-2e48af77.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +30 -30
  11. package/dist/cjs/ADSponsoredResources.js +30 -30
  12. package/dist/cjs/ADWebcast.js +30 -30
  13. package/dist/cjs/ADWelcome.js +31 -31
  14. package/dist/cjs/{ADlgInfeed-12db4509.js → ADlgInfeed-c39c7131.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +27 -29
  16. package/dist/cjs/AdSlot.js +31 -31
  17. package/dist/cjs/AdSlotsProvider.js +910 -18
  18. package/dist/cjs/AlgoliaSearch.js +14023 -61
  19. package/dist/cjs/AlphabeticList.js +23 -24
  20. package/dist/cjs/ArticleCarousel.js +19 -21
  21. package/dist/cjs/ArticleProgramLandingPage.js +59 -60
  22. package/dist/cjs/ArticleSeriesLandingPage.js +39 -44
  23. package/dist/cjs/ArticleSeriesListing.js +59 -60
  24. package/dist/cjs/Auth.js +1504 -680
  25. package/dist/cjs/AuthWrapper.js +266 -308
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-02e827ae.js} +13 -14
  27. package/dist/cjs/Beam.js +6 -6
  28. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-9c6b07ad.js} +55 -56
  29. package/dist/cjs/Breadcrumbs.js +25 -27
  30. package/dist/cjs/CMEDeck.js +82 -81
  31. package/dist/cjs/Column1.js +11 -14
  32. package/dist/cjs/Column2.js +31 -34
  33. package/dist/cjs/Column3.js +57 -59
  34. package/dist/cjs/ConferenceArticleCard.js +26 -28
  35. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  36. package/dist/cjs/DeckContent.js +93 -97
  37. package/dist/cjs/DeckQueue.js +87 -91
  38. package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-14d2455c.js} +32 -32
  39. package/dist/cjs/EventsDeck.js +133 -140
  40. package/dist/cjs/ExternalResources.js +78 -79
  41. package/dist/cjs/Feature.js +28 -31
  42. package/dist/cjs/ForbesHero.js +41 -43
  43. package/dist/cjs/GridContent.js +232 -237
  44. package/dist/cjs/GridHero.js +43 -45
  45. package/dist/cjs/GroupDeck.js +58 -60
  46. package/dist/cjs/HamMagazine.js +130 -135
  47. package/dist/cjs/Header.js +12 -14
  48. package/dist/cjs/Hero.js +14 -16
  49. package/dist/cjs/HighlightenVideo.js +17 -18
  50. package/dist/cjs/HorizontalArticleListing.js +70 -71
  51. package/dist/cjs/HorizontalHero.js +29 -31
  52. package/dist/cjs/IssueContentDeck.js +71 -77
  53. package/dist/cjs/IssueDeck.js +70 -76
  54. package/dist/cjs/IssueLanding.js +63 -65
  55. package/dist/cjs/LeftNav.js +37 -38
  56. package/dist/cjs/MasterDeck.js +228 -355
  57. package/dist/cjs/MediaSeriesLanding.js +1093 -1185
  58. package/dist/cjs/NavDvm.js +72 -77
  59. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  60. package/dist/cjs/NavMagazine.js +136 -141
  61. package/dist/cjs/NavNative.js +128 -136
  62. package/dist/cjs/OncliveHero.js +23 -24
  63. package/dist/cjs/OncliveLargeHero.js +73 -75
  64. package/dist/cjs/PageFilter.js +12 -13
  65. package/dist/cjs/Pagination-9cb60fba.js +61 -0
  66. package/dist/cjs/PartnerDetailListing.js +3918 -119
  67. package/dist/cjs/PdfDownload.js +9 -10
  68. package/dist/cjs/PopUpModal.js +17 -19
  69. package/dist/cjs/PubSection.js +39 -41
  70. package/dist/cjs/PubToc.js +13 -14
  71. package/dist/cjs/PublicationDeck.js +65 -71
  72. package/dist/cjs/PublicationLanding.js +106 -110
  73. package/dist/cjs/QueueDeckExpanded.js +1002 -1173
  74. package/dist/cjs/RecentNews.js +22 -23
  75. package/dist/cjs/RelatedContent.js +29 -31
  76. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  77. package/dist/cjs/RolesDeck.js +27 -32
  78. package/dist/cjs/Search.js +16 -20
  79. package/dist/cjs/Segment.js +4 -4
  80. package/dist/cjs/SeriesListingDeck.js +37 -37
  81. package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-ec146338.js} +36 -37
  82. package/dist/cjs/SetCookie.js +1 -1
  83. package/dist/cjs/SideFooter.js +34 -35
  84. package/dist/cjs/SocialIcons.js +9 -10
  85. package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-e8477ca3.js} +36 -40
  86. package/dist/cjs/SocialShare.js +29 -31
  87. package/dist/cjs/TaxonomyCard.js +61 -67
  88. package/dist/cjs/TaxonomyDescription.js +53 -54
  89. package/dist/cjs/TemplateNormal.js +72 -72
  90. package/dist/cjs/ThumbnailCard.js +23 -26
  91. package/dist/cjs/Ustream.js +28 -29
  92. package/dist/cjs/VerticalHero.js +20 -22
  93. package/dist/cjs/VideoProgramLandingPage.js +73 -77
  94. package/dist/cjs/VideoSeriesCard.js +31 -33
  95. package/dist/cjs/VideoSeriesFilter.js +16 -16
  96. package/dist/cjs/VideoSeriesLandingPage.js +49 -52
  97. package/dist/cjs/VideoSeriesListing.js +76 -77
  98. package/dist/cjs/View.js +272 -275
  99. package/dist/cjs/YahooHero.js +40 -42
  100. package/dist/cjs/YoutubeGroup.js +62 -64
  101. package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
  102. package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
  103. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  104. package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
  105. package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
  106. package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
  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-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
  109. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  110. package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
  111. package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.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/events-1b438fe7.js +469 -0
  115. package/dist/cjs/{extends-7c86182f.js → extends-eed4f016.js} +7 -7
  116. package/dist/cjs/faundadb.js +19 -19
  117. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  118. package/dist/cjs/getRelatedArticle.js +18 -18
  119. package/dist/cjs/getRootDocGroup.js +6 -6
  120. package/dist/cjs/getSerializers.js +43 -43
  121. package/dist/cjs/{getTargeting-6d59cc5b.js → getTargeting-8874437b.js} +3 -3
  122. package/dist/cjs/getTargeting.js +6 -6
  123. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
  124. package/dist/cjs/{index-aafe16dd.js → index-17c6af5a.js} +1067 -1093
  125. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  126. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  127. package/dist/cjs/{index-0e4427c8.js → index-98e01cb9.js} +13 -479
  128. package/dist/cjs/index-e2e62963.js +89 -0
  129. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  130. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
  131. package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
  132. package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
  133. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
  134. package/dist/cjs/index.js +164 -169
  135. package/dist/cjs/inherits-8d29278d.js +110 -0
  136. package/dist/cjs/{inherits-de66ea16.js → inherits-cba9c846.js} +19 -19
  137. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  138. package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
  139. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  140. package/dist/cjs/main-02daeefe.js +862 -0
  141. package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
  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-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
  145. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  146. package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
  147. package/dist/cjs/timeDifferenceCalc.js +1 -1
  148. package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
  149. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  150. package/dist/cjs/{typeof-567e31ff.js → typeof-5f52cf64.js} +35 -35
  151. package/dist/cjs/{index-efca863c.js → urlFor-3a61226f.js} +88 -37
  152. package/dist/cjs/urlFor.js +5 -59
  153. package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
  154. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  155. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  156. package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
  157. package/dist/esm/AD.js +1 -1
  158. package/dist/esm/AD300x250.js +22 -21
  159. package/dist/esm/AD300x250x600.js +22 -21
  160. package/dist/esm/AD728x90.js +25 -24
  161. package/dist/esm/ADFloatingFooter.js +21 -20
  162. package/dist/esm/ADFooter.js +4 -4
  163. package/dist/esm/ADGutter.js +21 -20
  164. package/dist/esm/{ADInfeed-bba8b026.js → ADInfeed-0c13c803.js} +6 -6
  165. package/dist/esm/ADSkyscraper.js +21 -20
  166. package/dist/esm/ADSponsoredResources.js +21 -20
  167. package/dist/esm/ADWebcast.js +21 -20
  168. package/dist/esm/ADWelcome.js +18 -17
  169. package/dist/esm/{ADlgInfeed-a45afa1d.js → ADlgInfeed-e4e2031a.js} +4 -4
  170. package/dist/esm/AccordionPanel.js +6 -6
  171. package/dist/esm/AdSlot.js +20 -19
  172. package/dist/esm/AdSlotsProvider.js +907 -14
  173. package/dist/esm/AlgoliaSearch.js +13992 -29
  174. package/dist/esm/AlphabeticList.js +8 -8
  175. package/dist/esm/ArticleCarousel.js +13 -14
  176. package/dist/esm/ArticleProgramLandingPage.js +47 -47
  177. package/dist/esm/ArticleSeriesLandingPage.js +29 -33
  178. package/dist/esm/ArticleSeriesListing.js +32 -32
  179. package/dist/esm/Auth.js +1418 -590
  180. package/dist/esm/AuthWrapper.js +244 -285
  181. package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-e6f95c2f.js} +1 -1
  182. package/dist/esm/Beam.js +6 -6
  183. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-f4515898.js} +34 -34
  184. package/dist/esm/Breadcrumbs.js +5 -5
  185. package/dist/esm/CMEDeck.js +23 -22
  186. package/dist/esm/Column1.js +4 -4
  187. package/dist/esm/Column2.js +19 -19
  188. package/dist/esm/Column3.js +37 -36
  189. package/dist/esm/ConferenceArticleCard.js +10 -11
  190. package/dist/esm/DeckContent.js +47 -47
  191. package/dist/esm/DeckQueue.js +47 -47
  192. package/dist/esm/{Dfp-4b99f79d.js → Dfp-f867d061.js} +13 -12
  193. package/dist/esm/EventsDeck.js +50 -50
  194. package/dist/esm/ExternalResources.js +46 -46
  195. package/dist/esm/Feature.js +7 -8
  196. package/dist/esm/ForbesHero.js +9 -10
  197. package/dist/esm/GridContent.js +88 -88
  198. package/dist/esm/GridHero.js +10 -11
  199. package/dist/esm/GroupDeck.js +11 -12
  200. package/dist/esm/HamMagazine.js +28 -28
  201. package/dist/esm/Hero.js +6 -7
  202. package/dist/esm/HighlightenVideo.js +2 -2
  203. package/dist/esm/HorizontalArticleListing.js +45 -45
  204. package/dist/esm/HorizontalHero.js +8 -9
  205. package/dist/esm/IssueContentDeck.js +24 -25
  206. package/dist/esm/IssueDeck.js +34 -35
  207. package/dist/esm/IssueLanding.js +52 -53
  208. package/dist/esm/LeftNav.js +20 -19
  209. package/dist/esm/MasterDeck.js +210 -336
  210. package/dist/esm/MediaSeriesLanding.js +643 -732
  211. package/dist/esm/NavDvm.js +14 -14
  212. package/dist/esm/NavMagazine.js +32 -32
  213. package/dist/esm/NavNative.js +32 -32
  214. package/dist/esm/OncliveHero.js +8 -8
  215. package/dist/esm/OncliveLargeHero.js +10 -11
  216. package/dist/esm/PageFilter.js +4 -4
  217. package/dist/esm/Pagination-256b60e5.js +56 -0
  218. package/dist/esm/PartnerDetailListing.js +3861 -62
  219. package/dist/esm/PdfDownload.js +2 -2
  220. package/dist/esm/PopUpModal.js +4 -4
  221. package/dist/esm/PubSection.js +31 -32
  222. package/dist/esm/PubToc.js +6 -6
  223. package/dist/esm/PublicationDeck.js +26 -27
  224. package/dist/esm/PublicationLanding.js +47 -47
  225. package/dist/esm/QueueDeckExpanded.js +945 -1116
  226. package/dist/esm/RecentNews.js +4 -4
  227. package/dist/esm/RelatedContent.js +9 -10
  228. package/dist/esm/RolesDeck.js +12 -12
  229. package/dist/esm/Search.js +6 -6
  230. package/dist/esm/Segment.js +4 -4
  231. package/dist/esm/SeriesListingDeck.js +18 -18
  232. package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-d6561e33.js} +10 -10
  233. package/dist/esm/SetCookie.js +1 -1
  234. package/dist/esm/SideFooter.js +13 -13
  235. package/dist/esm/{SocialSearchComponent-9458fac6.js → SocialSearchComponent-b5be0e6c.js} +12 -12
  236. package/dist/esm/TaxonomyCard.js +26 -27
  237. package/dist/esm/TaxonomyDescription.js +44 -44
  238. package/dist/esm/TemplateNormal.js +48 -47
  239. package/dist/esm/ThumbnailCard.js +9 -10
  240. package/dist/esm/Ustream.js +12 -12
  241. package/dist/esm/VerticalHero.js +6 -7
  242. package/dist/esm/VideoProgramLandingPage.js +51 -51
  243. package/dist/esm/VideoSeriesCard.js +12 -13
  244. package/dist/esm/VideoSeriesFilter.js +7 -7
  245. package/dist/esm/VideoSeriesLandingPage.js +36 -38
  246. package/dist/esm/VideoSeriesListing.js +33 -33
  247. package/dist/esm/View.js +91 -90
  248. package/dist/esm/YahooHero.js +12 -13
  249. package/dist/esm/YoutubeGroup.js +16 -17
  250. package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
  251. package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-130ee549.js} +7 -7
  252. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  253. package/dist/esm/{_object-sap-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
  254. package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
  255. package/dist/esm/{asyncToGenerator-b4dfe691.js → asyncToGenerator-64812e90.js} +31 -31
  256. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
  257. package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-86d4db69.js} +36 -36
  258. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  259. package/dist/esm/{define-property-99e66838.js → define-property-6d26cb48.js} +6 -6
  260. package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.js} +1 -1
  261. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  262. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  263. package/dist/esm/events-6c3a7a63.js +467 -0
  264. package/dist/esm/{extends-dc6a71fd.js → extends-5b1796d4.js} +7 -7
  265. package/dist/esm/faundadb.js +5 -5
  266. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  267. package/dist/esm/getRelatedArticle.js +12 -12
  268. package/dist/esm/getRootDocGroup.js +4 -4
  269. package/dist/esm/getSerializers.js +43 -43
  270. package/dist/esm/{getTargeting-3792eba9.js → getTargeting-277c801e.js} +2 -2
  271. package/dist/esm/getTargeting.js +6 -6
  272. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  273. package/dist/esm/{index-5cc7b406.js → index-41a678ea.js} +4 -469
  274. package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
  275. package/dist/esm/{index-e57e375a.js → index-a35a5c39.js} +617 -633
  276. package/dist/esm/index-aaa2dae0.js +85 -0
  277. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  278. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  279. package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
  280. package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
  281. package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
  282. package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
  283. package/dist/esm/index.js +122 -124
  284. package/dist/esm/{inherits-8a801a18.js → inherits-2409637d.js} +18 -18
  285. package/dist/esm/inherits-77d5e4fc.js +101 -0
  286. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  287. package/dist/esm/{keys-425c8ab0.js → keys-69989821.js} +6 -6
  288. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  289. package/dist/esm/main-c0612122.js +851 -0
  290. package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
  291. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  292. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
  293. package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-67a08c9c.js} +12 -12
  294. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  295. package/dist/esm/stringify-70b72959.js +15 -0
  296. package/dist/esm/timeDifferenceCalc.js +1 -1
  297. package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
  298. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  299. package/dist/esm/{typeof-83d9eb10.js → typeof-c05a82ba.js} +35 -35
  300. package/dist/esm/{index-0dbff1d1.js → urlFor-23b2244b.js} +88 -37
  301. package/dist/esm/urlFor.js +4 -62
  302. package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
  303. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  304. package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
  305. package/package.json +2 -1
  306. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  307. package/dist/cjs/main-f1c77adb.js +0 -973
  308. package/dist/esm/main-1894c974.js +0 -961
  309. package/dist/esm/stringify-c21932b3.js +0 -15
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
+ var slicedToArray = require('./slicedToArray-f6d4eaa8.js');
4
5
 
5
6
  var parseAssetId_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
6
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -20,7 +21,7 @@ function parseAssetId(ref) {
20
21
  return { id: id, width: width, height: height, format: format };
21
22
  }
22
23
  exports.default = parseAssetId;
23
- //# sourceMappingURL=parseAssetId.js.map
24
+
24
25
  });
25
26
 
26
27
  _commonjsHelpers.unwrapExports(parseAssetId_1);
@@ -60,35 +61,35 @@ function parseSource(source) {
60
61
  if (typeof source === 'string' && isUrl(source)) {
61
62
  // Someone passed an existing image url?
62
63
  image = {
63
- asset: { _ref: urlToId(source) },
64
+ asset: { _ref: urlToId(source) }
64
65
  };
65
66
  }
66
67
  else if (typeof source === 'string') {
67
68
  // Just an asset id
68
69
  image = {
69
- asset: { _ref: source },
70
+ asset: { _ref: source }
70
71
  };
71
72
  }
72
73
  else if (isRef(source)) {
73
74
  // We just got passed an asset directly
74
75
  image = {
75
- asset: source,
76
+ asset: source
76
77
  };
77
78
  }
78
79
  else if (isAsset(source)) {
79
80
  // If we were passed an image asset document
80
81
  image = {
81
82
  asset: {
82
- _ref: source._id || '',
83
- },
83
+ _ref: source._id || ''
84
+ }
84
85
  };
85
86
  }
86
87
  else if (isAssetStub(source)) {
87
88
  // If we were passed a partial asset (`url`, but no `_id`)
88
89
  image = {
89
90
  asset: {
90
- _ref: urlToId(source.asset.url),
91
- },
91
+ _ref: urlToId(source.asset.url)
92
+ }
92
93
  };
93
94
  }
94
95
  else if (typeof source.asset === 'object') {
@@ -129,7 +130,7 @@ function applyDefaults(image) {
129
130
  left: 0,
130
131
  top: 0,
131
132
  bottom: 0,
132
- right: 0,
133
+ right: 0
133
134
  };
134
135
  }
135
136
  if (!result.hotspot) {
@@ -137,12 +138,12 @@ function applyDefaults(image) {
137
138
  x: 0.5,
138
139
  y: 0.5,
139
140
  height: 1.0,
140
- width: 1.0,
141
+ width: 1.0
141
142
  };
142
143
  }
143
144
  return result;
144
145
  }
145
- //# sourceMappingURL=parseSource.js.map
146
+
146
147
  });
147
148
 
148
149
  _commonjsHelpers.unwrapExports(parseSource_1);
@@ -184,8 +185,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
184
185
  ['crop', 'crop'],
185
186
  ['saturation', 'sat'],
186
187
  ['auto', 'auto'],
187
- ['dpr', 'dpr'],
188
- ['pad', 'pad'],
188
+ ['dpr', 'dpr']
189
189
  ];
190
190
  function urlForImage(options) {
191
191
  var spec = __assign({}, (options || {}));
@@ -204,7 +204,7 @@ function urlForImage(options) {
204
204
  left: cropLeft,
205
205
  top: cropTop,
206
206
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
207
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
207
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
208
208
  };
209
209
  // Compute hot spot rect in terms of pixel coordinates
210
210
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -215,7 +215,7 @@ function urlForImage(options) {
215
215
  left: hotSpotCenterX - hotSpotHorizontalRadius,
216
216
  top: hotSpotCenterY - hotSpotVerticalRadius,
217
217
  right: hotSpotCenterX + hotSpotHorizontalRadius,
218
- bottom: hotSpotCenterY + hotSpotVerticalRadius,
218
+ bottom: hotSpotCenterY + hotSpotVerticalRadius
219
219
  };
220
220
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
221
221
  // the crop/hotspot.
@@ -297,7 +297,7 @@ function fit(source, spec) {
297
297
  left: Math.round(left),
298
298
  top: Math.round(top_2),
299
299
  width: Math.round(width),
300
- height: Math.round(height),
300
+ height: Math.round(height)
301
301
  };
302
302
  }
303
303
  else {
@@ -319,21 +319,21 @@ function fit(source, spec) {
319
319
  left: Math.max(0, Math.floor(left)),
320
320
  top: Math.max(0, Math.floor(top_3)),
321
321
  width: Math.round(width),
322
- height: Math.round(height),
322
+ height: Math.round(height)
323
323
  };
324
324
  }
325
325
  return {
326
326
  width: imgWidth,
327
327
  height: imgHeight,
328
- rect: cropRect,
328
+ rect: cropRect
329
329
  };
330
330
  }
331
- //# sourceMappingURL=urlForImage.js.map
331
+
332
332
  });
333
333
 
334
334
  _commonjsHelpers.unwrapExports(urlForImage_1);
335
- urlForImage_1.parseSource;
336
- urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
335
+ var urlForImage_2 = urlForImage_1.parseSource;
336
+ var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
337
337
 
338
338
  var builder = _commonjsHelpers.createCommonjsModule(function (module, exports) {
339
339
  var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
@@ -359,7 +359,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
359
359
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
360
360
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
361
361
  var validAutoModes = ['format'];
362
- function isSanityClientLike(client) {
362
+ function isSanityClient(client) {
363
363
  return client ? typeof client.clientConfig === 'object' : false;
364
364
  }
365
365
  function rewriteSpecName(key) {
@@ -376,14 +376,13 @@ function rewriteSpecName(key) {
376
376
  function urlBuilder(options) {
377
377
  // Did we get a SanityClient?
378
378
  var client = options;
379
- if (isSanityClientLike(client)) {
379
+ if (isSanityClient(client)) {
380
380
  // Inherit config from client
381
- var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
382
- var apiHost = apiUrl || 'https://api.sanity.io';
381
+ var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
383
382
  return new ImageUrlBuilder(null, {
384
383
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
385
384
  projectId: projectId,
386
- dataset: dataset,
385
+ dataset: dataset
387
386
  });
388
387
  }
389
388
  // Or just accept the options as given
@@ -396,7 +395,7 @@ var ImageUrlBuilder = /** @class */ (function () {
396
395
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
397
396
  }
398
397
  ImageUrlBuilder.prototype.withOptions = function (options) {
399
- var baseUrl = options.baseUrl || this.options.baseUrl;
398
+ var baseUrl = options.baseUrl || '';
400
399
  var newOptions = { baseUrl: baseUrl };
401
400
  for (var key in options) {
402
401
  if (options.hasOwnProperty(key)) {
@@ -490,7 +489,7 @@ var ImageUrlBuilder = /** @class */ (function () {
490
489
  ImageUrlBuilder.prototype.flipHorizontal = function () {
491
490
  return this.withOptions({ flipHorizontal: true });
492
491
  };
493
- // Flip image vertically
492
+ // Flip image verically
494
493
  ImageUrlBuilder.prototype.flipVertical = function () {
495
494
  return this.withOptions({ flipVertical: true });
496
495
  };
@@ -520,26 +519,22 @@ var ImageUrlBuilder = /** @class */ (function () {
520
519
  }
521
520
  return this.withOptions({ auto: value });
522
521
  };
523
- // Specify the number of pixels to pad the image
524
- ImageUrlBuilder.prototype.pad = function (pad) {
525
- return this.withOptions({ pad: pad });
526
- };
527
522
  // Gets the url based on the submitted parameters
528
523
  ImageUrlBuilder.prototype.url = function () {
529
524
  return urlForImage_1$1.default(this.options);
530
525
  };
531
- // Alias for url()
526
+ // Synonym for url()
532
527
  ImageUrlBuilder.prototype.toString = function () {
533
528
  return this.url();
534
529
  };
535
530
  return ImageUrlBuilder;
536
531
  }());
537
532
  exports.ImageUrlBuilder = ImageUrlBuilder;
538
- //# sourceMappingURL=builder.js.map
533
+
539
534
  });
540
535
 
541
536
  _commonjsHelpers.unwrapExports(builder);
542
- builder.ImageUrlBuilder;
537
+ var builder_1 = builder.ImageUrlBuilder;
543
538
 
544
539
  var node = _commonjsHelpers.createCommonjsModule(function (module) {
545
540
  var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
@@ -547,10 +542,66 @@ var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commo
547
542
  };
548
543
  var builder_1 = __importDefault(builder);
549
544
  module.exports = builder_1.default;
550
- //# sourceMappingURL=index.js.map
545
+
551
546
  });
552
547
 
553
548
  var imageUrlBuilder = _commonjsHelpers.unwrapExports(node);
554
549
 
555
- exports.imageUrlBuilder = imageUrlBuilder;
550
+ // Sanity image auto formating
551
+
552
+ function urlFor(_ref) {
553
+ var client = _ref.client,
554
+ source = _ref.source,
555
+ _ref$imageWidth = _ref.imageWidth,
556
+ imageWidth = _ref$imageWidth === undefined ? null : _ref$imageWidth,
557
+ _ref$imageHeight = _ref.imageHeight,
558
+ imageHeight = _ref$imageHeight === undefined ? null : _ref$imageHeight,
559
+ _ref$imageMaxHeight = _ref.imageMaxHeight,
560
+ imageMaxHeight = _ref$imageMaxHeight === undefined ? null : _ref$imageMaxHeight,
561
+ _ref$imageFit = _ref.imageFit,
562
+ imageFit = _ref$imageFit === undefined ? 'crop' : _ref$imageFit;
563
+
564
+
565
+ // when imageFit value = null and it's specifically provided, it's value not gets defaulted to 'crop'
566
+ if (!imageFit) {
567
+ imageFit = 'crop';
568
+ }
569
+
570
+ //checks for old usage so it wont break view pages
571
+ //All view pages are using urlFor(client, thumbnail.asset).url()
572
+ //will need to update to urlFor({client, source: thumbnail.asset})
573
+ //All framework components are using new format
574
+ if (arguments[1] && arguments[1]._ref) {
575
+ return imageUrlBuilder(client).image(source).auto('format');
576
+ }
577
+
578
+ if (imageWidth && imageHeight) {
579
+ imageMaxHeight = imageHeight;
580
+ imageHeight = null;
581
+ }
582
+
583
+ var builder = imageUrlBuilder(client);
584
+ var url = builder.image(source);
585
+ if (imageWidth) url = url.width(imageWidth);
586
+ if (imageHeight) url = url.height(imageHeight);
587
+ if (imageMaxHeight) url = url.maxHeight(imageMaxHeight);
588
+ if (imageFit) url = url.fit(imageFit);
589
+ url = url.auto('format').url();
590
+
591
+ // Appending file name in URL
592
+ var originalFilename = source && source.originalFilename ? source.originalFilename : source && source.asset && source.asset.originalFilename && source.asset.originalFilename;
593
+ if (originalFilename) {
594
+ var _url$split = url.split('?'),
595
+ _url$split2 = slicedToArray._slicedToArray(_url$split, 2),
596
+ path = _url$split2[0],
597
+ queryString = _url$split2[1];
598
+
599
+ originalFilename = encodeURIComponent(originalFilename);
600
+ url = queryString ? path + '/' + originalFilename + '?' + queryString : path + '/' + originalFilename;
601
+ }
602
+
603
+ return url;
604
+ }
605
+
556
606
  exports.node = node;
607
+ exports.urlFor = urlFor;
@@ -1,65 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var slicedToArray = require('./slicedToArray-067dd3bc.js');
4
- var index = require('./index-efca863c.js');
5
3
  require('./_commonjsHelpers-06173234.js');
6
- require('./web.dom.iterable-d98303e0.js');
7
- require('./core.get-iterator-method-5643aa10.js');
4
+ require('./core.get-iterator-method-f3c44602.js');
5
+ require('./web.dom.iterable-e34bf324.js');
6
+ require('./slicedToArray-f6d4eaa8.js');
7
+ var urlFor = require('./urlFor-3a61226f.js');
8
8
 
9
- // Sanity image auto formating
10
9
 
11
- function urlFor(_ref) {
12
- var client = _ref.client,
13
- source = _ref.source,
14
- _ref$imageWidth = _ref.imageWidth,
15
- imageWidth = _ref$imageWidth === undefined ? null : _ref$imageWidth,
16
- _ref$imageHeight = _ref.imageHeight,
17
- imageHeight = _ref$imageHeight === undefined ? null : _ref$imageHeight,
18
- _ref$imageMaxHeight = _ref.imageMaxHeight,
19
- imageMaxHeight = _ref$imageMaxHeight === undefined ? null : _ref$imageMaxHeight,
20
- _ref$imageFit = _ref.imageFit,
21
- imageFit = _ref$imageFit === undefined ? 'crop' : _ref$imageFit;
22
10
 
23
-
24
- // when imageFit value = null and it's specifically provided, it's value not gets defaulted to 'crop'
25
- if (!imageFit) {
26
- imageFit = 'crop';
27
- }
28
-
29
- //checks for old usage so it wont break view pages
30
- //All view pages are using urlFor(client, thumbnail.asset).url()
31
- //will need to update to urlFor({client, source: thumbnail.asset})
32
- //All framework components are using new format
33
- if (arguments[1] && arguments[1]._ref) {
34
- return index.imageUrlBuilder(client).image(source).auto('format');
35
- }
36
-
37
- if (imageWidth && imageHeight) {
38
- imageMaxHeight = imageHeight;
39
- imageHeight = null;
40
- }
41
-
42
- var builder = index.imageUrlBuilder(client);
43
- var url = builder.image(source);
44
- if (imageWidth) url = url.width(imageWidth);
45
- if (imageHeight) url = url.height(imageHeight);
46
- if (imageMaxHeight) url = url.maxHeight(imageMaxHeight);
47
- if (imageFit) url = url.fit(imageFit);
48
- url = url.auto('format').url();
49
-
50
- // Appending file name in URL
51
- var originalFilename = source && source.originalFilename ? source.originalFilename : source && source.asset && source.asset.originalFilename && source.asset.originalFilename;
52
- if (originalFilename) {
53
- var _url$split = url.split('?'),
54
- _url$split2 = slicedToArray._slicedToArray(_url$split, 2),
55
- path = _url$split2[0],
56
- queryString = _url$split2[1];
57
-
58
- originalFilename = encodeURIComponent(originalFilename);
59
- url = queryString ? path + '/' + originalFilename + '?' + queryString : path + '/' + originalFilename;
60
- }
61
-
62
- return url;
63
- }
64
-
65
- module.exports = urlFor;
11
+ module.exports = urlFor.urlFor;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var stringify = require('./stringify-f7a37a8d.js');
4
- var keys = require('./keys-e982b3fa.js');
5
3
  require('./_commonjsHelpers-06173234.js');
6
- require('./core.get-iterator-method-5643aa10.js');
7
- require('./_object-sap-d1978572.js');
4
+ require('./core.get-iterator-method-f3c44602.js');
5
+ require('./_object-sap-171b9ea5.js');
6
+ var stringify = require('./stringify-bbc68047.js');
7
+ var keys = require('./keys-d207942e.js');
8
8
 
9
9
  var UstreamEmbed = function () {
10
10
  function a(a) {
@@ -94,7 +94,7 @@ var debugs = {};
94
94
  var debugEnviron;
95
95
  function debuglog(set) {
96
96
  if (isUndefined(debugEnviron))
97
- debugEnviron = '';
97
+ debugEnviron = '';
98
98
  set = set.toUpperCase();
99
99
  if (!debugs[set]) {
100
100
  if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
@@ -1,17 +1,15 @@
1
1
  'use strict';
2
2
 
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
3
5
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
6
  var React = require('react');
5
- var ReactDOM = require('react-dom');
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
- var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
7
+ var React__default = _interopDefault(React);
8
+ var ReactDOM = _interopDefault(require('react-dom'));
11
9
 
12
10
  var visibilitySensor = _commonjsHelpers.createCommonjsModule(function (module, exports) {
13
11
  (function webpackUniversalModuleDefinition(root, factory) {
14
- module.exports = factory(React__default['default'], ReactDOM__default['default']);
12
+ module.exports = factory(React__default, ReactDOM);
15
13
  })(_commonjsHelpers.commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
16
14
  return /******/ (function(modules) { // webpackBootstrap
17
15
  /******/ // The module cache
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var core_getIteratorMethod = require('./core.get-iterator-method-5643aa10.js');
3
+ var core_getIteratorMethod = require('./core.get-iterator-method-f3c44602.js');
4
4
 
5
5
  var _iterStep = function (done, value) {
6
6
  return { value: value, done: !!done };
@@ -10,7 +10,7 @@ var _iterStep = function (done, value) {
10
10
  // 22.1.3.13 Array.prototype.keys()
11
11
  // 22.1.3.29 Array.prototype.values()
12
12
  // 22.1.3.30 Array.prototype[@@iterator]()
13
- core_getIteratorMethod._iterDefine(Array, 'Array', function (iterated, kind) {
13
+ var es6_array_iterator = core_getIteratorMethod._iterDefine(Array, 'Array', function (iterated, kind) {
14
14
  this._t = core_getIteratorMethod._toIobject(iterated); // target
15
15
  this._i = 0; // next index
16
16
  this._k = kind; // kind
package/dist/esm/AD.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import React__default, { Suspense } from 'react';
2
2
 
3
3
  var Dfp = React__default.lazy(function () {
4
- return import('./Dfp-4b99f79d.js');
4
+ return import('./Dfp-f867d061.js');
5
5
  });
6
6
 
7
7
  var AD = function AD(props) {
@@ -1,23 +1,24 @@
1
- import './stringify-c21932b3.js';
2
- import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
3
- import React__default, { useState, useEffect } from 'react';
4
- import { m as main_43 } from './main-1894c974.js';
5
- import DFPAdSlot from './AdSlot.js';
6
1
  import './_commonjsHelpers-0c4b6f40.js';
7
- import './core.get-iterator-method-e903ff31.js';
8
- import './web.dom.iterable-fdf034f5.js';
9
- import './extends-dc6a71fd.js';
10
- import './_object-pie-133f504a.js';
11
- import 'prop-types';
12
- import './index-5cc7b406.js';
13
- import './debounce-533d9748.js';
14
- import './isSymbol-a7e9aafe.js';
15
- import './toNumber-5aeba6e7.js';
16
- import './Beam.js';
17
- import './asyncToGenerator-b4dfe691.js';
2
+ import './core.get-iterator-method-86d4db69.js';
18
3
  import './_library-528f1934.js';
19
- import './_iter-detect-f089461c.js';
4
+ import './_iter-detect-130ee549.js';
5
+ import './_object-pie-33c40e79.js';
6
+ import './extends-5b1796d4.js';
7
+ import './web.dom.iterable-f8f967cd.js';
8
+ import React__default, { useState, useEffect } from 'react';
9
+ import './events-6c3a7a63.js';
10
+ import './index-41a678ea.js';
11
+ import 'prop-types';
12
+ import './isSymbol-1981418f.js';
13
+ import './debounce-9207d8ee.js';
14
+ import './toNumber-2f7a84cd.js';
15
+ import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
16
+ import { m as main_36 } from './main-c0612122.js';
17
+ import './stringify-70b72959.js';
18
+ import './asyncToGenerator-64812e90.js';
20
19
  import './Segment.js';
20
+ import './Beam.js';
21
+ import DFPAdSlot from './AdSlot.js';
21
22
 
22
23
  // removed static slotID ,because defining static slotID is restricting AD to render only once.
23
24
  var AD300x250 = function AD300x250(_ref) {
@@ -31,15 +32,15 @@ var AD300x250 = function AD300x250(_ref) {
31
32
  pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
32
33
 
33
34
  var mobileView = false;
34
- if (main_43) {
35
+ if (main_36) {
35
36
  pos = 'rec1-mobile';
36
37
  mobileView = true;
37
38
  }
38
39
 
39
40
  var _useState = useState(true),
40
- _useState2 = _slicedToArray(_useState, 2);
41
- _useState2[0];
42
- var setPreviewAd = _useState2[1];
41
+ _useState2 = _slicedToArray(_useState, 2),
42
+ previewAd = _useState2[0],
43
+ setPreviewAd = _useState2[1];
43
44
 
44
45
  useEffect(function () {
45
46
  var path = window && window.location && window.location.search;
@@ -1,23 +1,24 @@
1
- import './stringify-c21932b3.js';
2
- import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
3
- import React__default, { useState, useEffect } from 'react';
4
- import { m as main_43 } from './main-1894c974.js';
5
- import DFPAdSlot from './AdSlot.js';
6
1
  import './_commonjsHelpers-0c4b6f40.js';
7
- import './core.get-iterator-method-e903ff31.js';
8
- import './web.dom.iterable-fdf034f5.js';
9
- import './extends-dc6a71fd.js';
10
- import './_object-pie-133f504a.js';
11
- import 'prop-types';
12
- import './index-5cc7b406.js';
13
- import './debounce-533d9748.js';
14
- import './isSymbol-a7e9aafe.js';
15
- import './toNumber-5aeba6e7.js';
16
- import './Beam.js';
17
- import './asyncToGenerator-b4dfe691.js';
2
+ import './core.get-iterator-method-86d4db69.js';
18
3
  import './_library-528f1934.js';
19
- import './_iter-detect-f089461c.js';
4
+ import './_iter-detect-130ee549.js';
5
+ import './_object-pie-33c40e79.js';
6
+ import './extends-5b1796d4.js';
7
+ import './web.dom.iterable-f8f967cd.js';
8
+ import React__default, { useState, useEffect } from 'react';
9
+ import './events-6c3a7a63.js';
10
+ import './index-41a678ea.js';
11
+ import 'prop-types';
12
+ import './isSymbol-1981418f.js';
13
+ import './debounce-9207d8ee.js';
14
+ import './toNumber-2f7a84cd.js';
15
+ import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
16
+ import { m as main_36 } from './main-c0612122.js';
17
+ import './stringify-70b72959.js';
18
+ import './asyncToGenerator-64812e90.js';
20
19
  import './Segment.js';
20
+ import './Beam.js';
21
+ import DFPAdSlot from './AdSlot.js';
21
22
 
22
23
  // removed static slotID ,because defining static slotID is restricting AD to render only once.
23
24
  var AD300x250x600 = function AD300x250x600(_ref) {
@@ -32,14 +33,14 @@ var AD300x250x600 = function AD300x250x600(_ref) {
32
33
  _ref$sizeMapFlag = _ref.sizeMapFlag,
33
34
  sizeMapFlag = _ref$sizeMapFlag === undefined ? true : _ref$sizeMapFlag;
34
35
 
35
- if (main_43) {
36
+ if (main_36) {
36
37
  pos = 'rec2-mobile';
37
38
  }
38
39
 
39
40
  var _useState = useState(true),
40
- _useState2 = _slicedToArray(_useState, 2);
41
- _useState2[0];
42
- var setPreviewAd = _useState2[1];
41
+ _useState2 = _slicedToArray(_useState, 2),
42
+ previewAd = _useState2[0],
43
+ setPreviewAd = _useState2[1];
43
44
 
44
45
  useEffect(function () {
45
46
  var path = window && window.location && window.location.search;
@@ -1,23 +1,24 @@
1
- import './stringify-c21932b3.js';
2
- import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
3
- import React__default, { useState, useEffect } from 'react';
4
- import { m as main_43 } from './main-1894c974.js';
5
- import DFPAdSlot from './AdSlot.js';
6
1
  import './_commonjsHelpers-0c4b6f40.js';
7
- import './core.get-iterator-method-e903ff31.js';
8
- import './web.dom.iterable-fdf034f5.js';
9
- import './extends-dc6a71fd.js';
10
- import './_object-pie-133f504a.js';
11
- import 'prop-types';
12
- import './index-5cc7b406.js';
13
- import './debounce-533d9748.js';
14
- import './isSymbol-a7e9aafe.js';
15
- import './toNumber-5aeba6e7.js';
16
- import './Beam.js';
17
- import './asyncToGenerator-b4dfe691.js';
2
+ import './core.get-iterator-method-86d4db69.js';
18
3
  import './_library-528f1934.js';
19
- import './_iter-detect-f089461c.js';
4
+ import './_iter-detect-130ee549.js';
5
+ import './_object-pie-33c40e79.js';
6
+ import './extends-5b1796d4.js';
7
+ import './web.dom.iterable-f8f967cd.js';
8
+ import React__default, { useState, useEffect } from 'react';
9
+ import './events-6c3a7a63.js';
10
+ import './index-41a678ea.js';
11
+ import 'prop-types';
12
+ import './isSymbol-1981418f.js';
13
+ import './debounce-9207d8ee.js';
14
+ import './toNumber-2f7a84cd.js';
15
+ import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
16
+ import { m as main_36 } from './main-c0612122.js';
17
+ import './stringify-70b72959.js';
18
+ import './asyncToGenerator-64812e90.js';
20
19
  import './Segment.js';
20
+ import './Beam.js';
21
+ import DFPAdSlot from './AdSlot.js';
21
22
 
22
23
  var AD728x90 = function AD728x90(_ref) {
23
24
  var networkID = _ref.networkID,
@@ -27,19 +28,19 @@ var AD728x90 = function AD728x90(_ref) {
27
28
  _ref$targeting = _ref.targeting,
28
29
  targeting = _ref$targeting === undefined ? {} : _ref$targeting,
29
30
  _ref$pos = _ref.pos,
30
- pos = _ref$pos === undefined ? 'top' : _ref$pos;
31
- _ref.fixedPos;
31
+ pos = _ref$pos === undefined ? 'top' : _ref$pos,
32
+ _ref$fixedPos = _ref.fixedPos;
32
33
 
33
34
  var mobileView = false;
34
- if (main_43) {
35
+ if (main_36) {
35
36
  pos = 'top-mobile';
36
37
  mobileView = true;
37
38
  }
38
39
 
39
40
  var _useState = useState(true),
40
- _useState2 = _slicedToArray(_useState, 2);
41
- _useState2[0];
42
- var setPreviewAd = _useState2[1];
41
+ _useState2 = _slicedToArray(_useState, 2),
42
+ previewAd = _useState2[0],
43
+ setPreviewAd = _useState2[1];
43
44
 
44
45
  useEffect(function () {
45
46
  var path = window && window.location && window.location.search;
@@ -92,7 +93,7 @@ var AD728x90 = function AD728x90(_ref) {
92
93
  { jsx: 'true' },
93
94
  '\n .leaderboard-ad-wrapper {\n height: auto !important;\n min-height: 90px;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
94
95
  ),
95
- main_43 && React__default.createElement(
96
+ main_36 && React__default.createElement(
96
97
  'style',
97
98
  { jsx: 'true' },
98
99
  '\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '