@mjhls/mjh-framework 1.0.715 → 1.0.717-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 (277) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +24 -25
  4. package/dist/cjs/AD300x250x600.js +24 -25
  5. package/dist/cjs/AD728x90.js +27 -28
  6. package/dist/cjs/ADFloatingFooter.js +26 -27
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +26 -27
  9. package/dist/cjs/{ADInfeed-2c7a6dd8.js → ADInfeed-5a561d7c.js} +11 -13
  10. package/dist/cjs/ADSkyscraper.js +26 -27
  11. package/dist/cjs/ADSponsoredResources.js +26 -27
  12. package/dist/cjs/ADWebcast.js +26 -27
  13. package/dist/cjs/ADWelcome.js +30 -31
  14. package/dist/cjs/{ADlgInfeed-fb101797.js → ADlgInfeed-c50f81d4.js} +8 -9
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +31 -32
  17. package/dist/cjs/AdSlotsProvider.js +16 -17
  18. package/dist/cjs/AlphabeticList.js +24 -25
  19. package/dist/cjs/ArticleCarousel.js +24 -27
  20. package/dist/cjs/ArticleSeriesListing.js +59 -60
  21. package/dist/cjs/Auth.js +334 -820
  22. package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
  23. package/dist/cjs/Beam.js +9 -9
  24. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
  25. package/dist/cjs/Breadcrumbs.js +27 -29
  26. package/dist/cjs/CMEDeck.js +83 -83
  27. package/dist/cjs/Column1.js +11 -14
  28. package/dist/cjs/Column2.js +32 -35
  29. package/dist/cjs/Column3.js +55 -58
  30. package/dist/cjs/ConferenceArticleCard.js +22 -23
  31. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  32. package/dist/cjs/DeckContent.js +94 -98
  33. package/dist/cjs/DeckQueue.js +86 -90
  34. package/dist/cjs/{Dfp-a863cf48.js → Dfp-ce7ac168.js} +30 -31
  35. package/dist/cjs/EventsDeck.js +132 -157
  36. package/dist/cjs/ExternalResources.js +76 -76
  37. package/dist/cjs/Feature.js +25 -27
  38. package/dist/cjs/ForbesHero.js +40 -41
  39. package/dist/cjs/GridContent.js +177 -181
  40. package/dist/cjs/GridHero.js +42 -43
  41. package/dist/cjs/GroupDeck.js +58 -59
  42. package/dist/cjs/HamMagazine.js +130 -135
  43. package/dist/cjs/Header.js +11 -13
  44. package/dist/cjs/Hero.js +12 -13
  45. package/dist/cjs/HighlightenVideo.js +17 -18
  46. package/dist/cjs/HorizontalArticleListing.js +157 -0
  47. package/dist/cjs/HorizontalHero.js +25 -26
  48. package/dist/cjs/IssueContentDeck.js +72 -77
  49. package/dist/cjs/IssueDeck.js +70 -75
  50. package/dist/cjs/IssueLanding.js +40 -41
  51. package/dist/cjs/LeftNav.js +36 -38
  52. package/dist/cjs/MasterDeck.js +71 -72
  53. package/dist/cjs/NavDvm.js +75 -80
  54. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  55. package/dist/cjs/NavMagazine.js +138 -143
  56. package/dist/cjs/NavNative.js +115 -123
  57. package/dist/cjs/NavNormal.js +48 -53
  58. package/dist/cjs/OncliveHero.js +20 -20
  59. package/dist/cjs/OncliveLargeHero.js +66 -67
  60. package/dist/cjs/PageFilter.js +14 -15
  61. package/dist/cjs/PartnerDetailListing.js +105 -105
  62. package/dist/cjs/PdfDownload.js +8 -9
  63. package/dist/cjs/PopUpModal.js +19 -21
  64. package/dist/cjs/PublicationDeck.js +61 -66
  65. package/dist/cjs/PublicationLanding.js +74 -78
  66. package/dist/cjs/QueueDeckExpanded.js +292 -292
  67. package/dist/cjs/RecentNews.js +23 -24
  68. package/dist/cjs/RelatedContent.js +24 -25
  69. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  70. package/dist/cjs/RolesDeck.js +27 -32
  71. package/dist/cjs/Search.js +18 -22
  72. package/dist/cjs/Segment.js +7 -7
  73. package/dist/cjs/SetCookie.js +1 -1
  74. package/dist/cjs/SideFooter.js +35 -36
  75. package/dist/cjs/SocialIcons.js +9 -10
  76. package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
  77. package/dist/cjs/SocialShare.js +29 -31
  78. package/dist/cjs/TaxonomyCard.js +57 -62
  79. package/dist/cjs/TaxonomyDescription.js +51 -51
  80. package/dist/cjs/TemplateNormal.js +72 -73
  81. package/dist/cjs/ThumbnailCard.js +20 -22
  82. package/dist/cjs/Ustream.js +26 -27
  83. package/dist/cjs/VerticalHero.js +17 -18
  84. package/dist/cjs/VideoProgramLandingPage.js +70 -73
  85. package/dist/cjs/VideoSeriesCard.js +31 -32
  86. package/dist/cjs/VideoSeriesFilter.js +19 -19
  87. package/dist/cjs/VideoSeriesLandingPage.js +46 -47
  88. package/dist/cjs/VideoSeriesListing.js +74 -75
  89. package/dist/cjs/View.js +239 -233
  90. package/dist/cjs/YahooHero.js +39 -40
  91. package/dist/cjs/YoutubeGroup.js +62 -63
  92. package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
  93. package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
  94. package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
  95. package/dist/cjs/_object-to-array-5762f850.js +25 -0
  96. package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
  97. package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
  98. package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
  99. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  100. package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
  101. package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
  102. package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
  103. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  104. package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
  105. package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
  106. package/dist/cjs/getRelatedArticle.js +76 -138
  107. package/dist/cjs/getSerializers.js +42 -41
  108. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
  109. package/dist/cjs/getTargeting.js +7 -7
  110. package/dist/cjs/iconBase-68959171.js +3 -0
  111. package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
  112. package/dist/cjs/{index-27f9e7ef.js → index-45cdb0a1.js} +1201 -905
  113. package/dist/cjs/{index-5ad2b070.js → index-8bf6c863.js} +48 -30
  114. package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
  115. package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
  116. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  117. package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
  118. package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
  119. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  120. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  121. package/dist/cjs/index.js +133 -132
  122. package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
  123. package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
  124. package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
  125. package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
  126. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  127. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  128. package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
  129. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  130. package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
  131. package/dist/cjs/timeDifferenceCalc.js +1 -1
  132. package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
  133. package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
  134. package/dist/cjs/urlFor.js +2 -2
  135. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  136. package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
  137. package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
  138. package/dist/esm/AD.js +7 -7
  139. package/dist/esm/AD300x250.js +22 -22
  140. package/dist/esm/AD300x250x600.js +22 -22
  141. package/dist/esm/AD728x90.js +25 -25
  142. package/dist/esm/ADFloatingFooter.js +24 -24
  143. package/dist/esm/ADFooter.js +11 -11
  144. package/dist/esm/ADGutter.js +24 -24
  145. package/dist/esm/{ADInfeed-a9a35a5c.js → ADInfeed-bb62ee44.js} +7 -7
  146. package/dist/esm/ADSkyscraper.js +24 -24
  147. package/dist/esm/ADSponsoredResources.js +24 -24
  148. package/dist/esm/ADWebcast.js +24 -24
  149. package/dist/esm/ADWelcome.js +28 -28
  150. package/dist/esm/{ADlgInfeed-ce2e0e3a.js → ADlgInfeed-ef0a892e.js} +6 -6
  151. package/dist/esm/AccordionPanel.js +24 -24
  152. package/dist/esm/AdSlot.js +23 -23
  153. package/dist/esm/AdSlotsProvider.js +13 -13
  154. package/dist/esm/AlphabeticList.js +22 -22
  155. package/dist/esm/ArticleCarousel.js +21 -23
  156. package/dist/esm/ArticleSeriesListing.js +54 -54
  157. package/dist/esm/Auth.js +317 -799
  158. package/dist/esm/{AuthorComponent-c29a0075.js → AuthorComponent-34b16174.js} +11 -11
  159. package/dist/esm/Beam.js +9 -9
  160. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
  161. package/dist/esm/Breadcrumbs.js +17 -17
  162. package/dist/esm/CMEDeck.js +79 -79
  163. package/dist/esm/Column1.js +5 -5
  164. package/dist/esm/Column2.js +26 -26
  165. package/dist/esm/Column3.js +49 -49
  166. package/dist/esm/ConferenceArticleCard.js +18 -18
  167. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  168. package/dist/esm/DeckContent.js +76 -76
  169. package/dist/esm/DeckQueue.js +64 -64
  170. package/dist/esm/{Dfp-db06d7dc.js → Dfp-e9a07597.js} +20 -20
  171. package/dist/esm/EventsDeck.js +84 -102
  172. package/dist/esm/ExternalResources.js +71 -70
  173. package/dist/esm/Feature.js +18 -18
  174. package/dist/esm/ForbesHero.js +34 -34
  175. package/dist/esm/GridContent.js +139 -139
  176. package/dist/esm/GridHero.js +36 -36
  177. package/dist/esm/GroupDeck.js +46 -46
  178. package/dist/esm/HamMagazine.js +104 -104
  179. package/dist/esm/Header.js +7 -7
  180. package/dist/esm/Hero.js +9 -9
  181. package/dist/esm/HighlightenVideo.js +14 -14
  182. package/dist/esm/HorizontalArticleListing.js +152 -0
  183. package/dist/esm/HorizontalHero.js +21 -21
  184. package/dist/esm/IssueContentDeck.js +49 -49
  185. package/dist/esm/IssueDeck.js +46 -46
  186. package/dist/esm/IssueLanding.js +38 -38
  187. package/dist/esm/LeftNav.js +33 -33
  188. package/dist/esm/MasterDeck.js +65 -65
  189. package/dist/esm/NavDvm.js +57 -57
  190. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  191. package/dist/esm/NavMagazine.js +114 -114
  192. package/dist/esm/NavNative.js +91 -91
  193. package/dist/esm/NavNormal.js +36 -36
  194. package/dist/esm/OncliveHero.js +17 -16
  195. package/dist/esm/OncliveLargeHero.js +59 -59
  196. package/dist/esm/PageFilter.js +12 -12
  197. package/dist/esm/PartnerDetailListing.js +102 -101
  198. package/dist/esm/PdfDownload.js +6 -6
  199. package/dist/esm/PopUpModal.js +14 -14
  200. package/dist/esm/PublicationDeck.js +38 -38
  201. package/dist/esm/PublicationLanding.js +50 -50
  202. package/dist/esm/QueueDeckExpanded.js +273 -273
  203. package/dist/esm/RecentNews.js +20 -20
  204. package/dist/esm/RelatedContent.js +19 -19
  205. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  206. package/dist/esm/RolesDeck.js +13 -13
  207. package/dist/esm/Search.js +12 -12
  208. package/dist/esm/Segment.js +7 -7
  209. package/dist/esm/SetCookie.js +1 -1
  210. package/dist/esm/SideFooter.js +31 -31
  211. package/dist/esm/SocialIcons.js +7 -7
  212. package/dist/esm/{SocialSearchComponent-fab3e851.js → SocialSearchComponent-a2ae84d1.js} +28 -28
  213. package/dist/esm/SocialShare.js +25 -25
  214. package/dist/esm/TaxonomyCard.js +41 -41
  215. package/dist/esm/TaxonomyDescription.js +47 -46
  216. package/dist/esm/TemplateNormal.js +67 -67
  217. package/dist/esm/ThumbnailCard.js +13 -13
  218. package/dist/esm/Ustream.js +23 -23
  219. package/dist/esm/VerticalHero.js +13 -13
  220. package/dist/esm/VideoProgramLandingPage.js +61 -60
  221. package/dist/esm/VideoSeriesCard.js +24 -24
  222. package/dist/esm/VideoSeriesFilter.js +16 -16
  223. package/dist/esm/VideoSeriesLandingPage.js +40 -40
  224. package/dist/esm/VideoSeriesListing.js +68 -68
  225. package/dist/esm/View.js +224 -214
  226. package/dist/esm/YahooHero.js +34 -34
  227. package/dist/esm/YoutubeGroup.js +46 -46
  228. package/dist/esm/{_is-array-9383b394.js → _is-array-58e95429.js} +6 -6
  229. package/dist/esm/{_iter-detect-d4d262ee.js → _iter-detect-5d49a330.js} +2 -2
  230. package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-33c40e79.js} +1 -1
  231. package/dist/esm/{_object-sap-6a003379.js → _object-sap-964b6feb.js} +1 -1
  232. package/dist/esm/_object-to-array-7e804fce.js +23 -0
  233. package/dist/esm/{_set-species-0b056cff.js → _set-species-3f8319f5.js} +4 -4
  234. package/dist/esm/{_to-object-9bef3b62.js → _to-object-a4107da3.js} +5 -5
  235. package/dist/esm/{asyncToGenerator-acd1cc47.js → asyncToGenerator-502f13b4.js} +8 -8
  236. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  237. package/dist/esm/{core.get-iterator-method-1b116089.js → core.get-iterator-method-e1de7503.js} +2 -2
  238. package/dist/esm/{define-property-9a008401.js → define-property-8af5f002.js} +1 -1
  239. package/dist/esm/{defineProperty-ddd52c29.js → defineProperty-94fd8bfc.js} +1 -1
  240. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  241. package/dist/esm/{es6.string.iterator-b24a54f2.js → es6.string.iterator-c990c18c.js} +3 -3
  242. package/dist/esm/{extends-c2b1c9d7.js → extends-eb69e8ac.js} +2 -2
  243. package/dist/esm/getRelatedArticle.js +71 -133
  244. package/dist/esm/getSerializers.js +42 -41
  245. package/dist/esm/{getTargeting-b1a7be54.js → getTargeting-7211f12c.js} +2 -2
  246. package/dist/esm/getTargeting.js +8 -8
  247. package/dist/esm/{index-db270302.js → index-3427650c.js} +1142 -839
  248. package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
  249. package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
  250. package/dist/esm/{index-669ff425.js → index-a9e53f80.js} +43 -24
  251. package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
  252. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  253. package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
  254. package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
  255. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  256. package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
  257. package/dist/esm/index.js +110 -109
  258. package/dist/esm/{inherits-18d4a779.js → inherits-fb9b6e8f.js} +5 -5
  259. package/dist/esm/{keys-9bb7939c.js → keys-8eda7a5c.js} +2 -2
  260. package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
  261. package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
  262. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  263. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
  264. package/dist/esm/{slicedToArray-34468155.js → slicedToArray-641f241f.js} +4 -4
  265. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  266. package/dist/esm/{stringify-8a4f19f7.js → stringify-4330ccdc.js} +1 -1
  267. package/dist/esm/timeDifferenceCalc.js +1 -1
  268. package/dist/esm/{toConsumableArray-5212fee7.js → toConsumableArray-43aa614d.js} +4 -4
  269. package/dist/esm/{typeof-64422756.js → typeof-6435ba1c.js} +7 -7
  270. package/dist/esm/urlFor.js +1 -1
  271. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  272. package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
  273. package/dist/esm/{web.dom.iterable-ca37144a.js → web.dom.iterable-4439f05a.js} +3 -3
  274. package/package.json +1 -1
  275. package/dist/cjs/BrowseVideosListing.js +0 -123
  276. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  277. package/dist/esm/BrowseVideosListing.js +0 -117
@@ -1,13 +1,12 @@
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');
7
+ var React__default = _interopDefault(React);
5
8
  var PropTypes = require('prop-types');
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 PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
9
+ var PropTypes__default = _interopDefault(PropTypes);
11
10
 
12
11
  var domain;
13
12
 
@@ -509,7 +508,7 @@ function loadGPTScript() {
509
508
  });
510
509
 
511
510
  _commonjsHelpers.unwrapExports(utils);
512
- utils.loadGPTScript;
511
+ var utils_1 = utils.loadGPTScript;
513
512
 
514
513
  var manager = _commonjsHelpers.createCommonjsModule(function (module, exports) {
515
514
 
@@ -537,6 +536,7 @@ var disableInitialLoadEnabled = false;
537
536
  var lazyLoadEnabled = false;
538
537
  var lazyLoadConfig = null;
539
538
  var servePersonalizedAds = true;
539
+ var serveCookies = true;
540
540
  var registeredSlots = {};
541
541
  var managerAlreadyInitialized = false;
542
542
  var globalTargetingArguments = {};
@@ -578,9 +578,15 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
578
578
  configurePersonalizedAds: function configurePersonalizedAds(value) {
579
579
  servePersonalizedAds = value;
580
580
  },
581
+ configureCookieOption: function configureCookieOption(value) {
582
+ serveCookies = value;
583
+ },
581
584
  personalizedAdsEnabled: function personalizedAdsEnabled() {
582
585
  return servePersonalizedAds;
583
586
  },
587
+ cookiesEnabled: function cookiesEnabled() {
588
+ return serveCookies;
589
+ },
584
590
  setAdSenseAttribute: function setAdSenseAttribute(key, value) {
585
591
  this.setAdSenseAttributes(_defineProperty({}, key, value));
586
592
  },
@@ -671,6 +677,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
671
677
  });
672
678
  });
673
679
  pubadsService.setRequestNonPersonalizedAds(_this.personalizedAdsEnabled() ? 0 : 1);
680
+ pubadsService.setCookieOptions(_this.cookiesEnabled() ? 0 : 1);
674
681
  });
675
682
  });
676
683
  }
@@ -782,13 +789,9 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
782
789
 
783
790
  googletag.cmd.push(function () {
784
791
  googletag.enableServices();
785
-
786
- if (!_this3.disableInitialLoadIsEnabled()) {
787
- slotsToInitialize.forEach(function (theSlotId) {
788
- googletag.display(theSlotId);
789
- });
790
- }
791
-
792
+ slotsToInitialize.forEach(function (theSlotId) {
793
+ googletag.display(theSlotId);
794
+ });
792
795
  resolve();
793
796
  });
794
797
  });
@@ -811,6 +814,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
811
814
  googletag.cmd.push(function () {
812
815
  var pubadsService = googletag.pubads();
813
816
  pubadsService.setRequestNonPersonalizedAds(_this5.personalizedAdsEnabled() ? 0 : 1);
817
+ pubadsService.setCookieOptions(_this5.cookiesEnabled() ? 0 : 1);
814
818
 
815
819
  var targetingArguments = _this5.getTargetingArguments(); // set global targetting arguments
816
820
 
@@ -877,17 +881,25 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
877
881
  }, slots);
878
882
  },
879
883
  refresh: function refresh() {
884
+ var _this6 = this;
885
+
886
+ for (var _len4 = arguments.length, slots = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
887
+ slots[_key4] = arguments[_key4];
888
+ }
889
+
880
890
  if (loadPromise === null) {
881
891
  this.load();
882
892
  } else {
883
- this.gptRefreshAds(Object.keys(this.getRefreshableSlots.apply(this, arguments)));
893
+ loadPromise.then(function () {
894
+ _this6.gptRefreshAds(Object.keys(_this6.getRefreshableSlots.apply(_this6, slots)));
895
+ });
884
896
  }
885
897
  },
886
898
  gptRefreshAds: function gptRefreshAds(slots) {
887
- var _this6 = this;
899
+ var _this7 = this;
888
900
 
889
901
  return this.getGoogletag().then(function (googletag) {
890
- _this6.configureOptions(googletag);
902
+ _this7.configureOptions(googletag);
891
903
 
892
904
  googletag.cmd.push(function () {
893
905
  var pubadsService = googletag.pubads();
@@ -898,17 +910,17 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
898
910
  });
899
911
  },
900
912
  reload: function reload() {
901
- var _this7 = this;
913
+ var _this8 = this;
902
914
 
903
915
  return this.destroyGPTSlots.apply(this, arguments).then(function () {
904
- return _this7.load();
916
+ return _this8.load();
905
917
  });
906
918
  },
907
919
  destroyGPTSlots: function destroyGPTSlots() {
908
- var _this8 = this;
920
+ var _this9 = this;
909
921
 
910
- for (var _len4 = arguments.length, slotsToDestroy = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
911
- slotsToDestroy[_key4] = arguments[_key4];
922
+ for (var _len5 = arguments.length, slotsToDestroy = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
923
+ slotsToDestroy[_key5] = arguments[_key5];
912
924
  }
913
925
 
914
926
  if (slotsToDestroy.length === 0) {
@@ -925,7 +937,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
925
937
  slots.push(slot);
926
938
  }
927
939
 
928
- _this8.getGoogletag().then(function (googletag) {
940
+ _this9.getGoogletag().then(function (googletag) {
929
941
  googletag.cmd.push(function () {
930
942
  if (managerAlreadyInitialized === true) {
931
943
  if (slotsToDestroy.length > 0) {
@@ -948,7 +960,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
948
960
  });
949
961
  },
950
962
  registerSlot: function registerSlot(_ref) {
951
- var _this9 = this;
963
+ var _this10 = this;
952
964
 
953
965
  var slotId = _ref.slotId,
954
966
  dfpNetworkId = _ref.dfpNetworkId,
@@ -987,7 +999,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
987
999
  gptSlot = slot.gptSlot;
988
1000
 
989
1001
  if (loading === false && !gptSlot) {
990
- _this9.load(slotId);
1002
+ _this10.load(slotId);
991
1003
  }
992
1004
  }
993
1005
  });
@@ -1034,9 +1046,9 @@ Object.defineProperty(exports, "__esModule", {
1034
1046
  });
1035
1047
  exports.default = exports.Context = void 0;
1036
1048
 
1037
- var _react = _interopRequireDefault(React__default['default']);
1049
+ var _react = _interopRequireDefault(React__default);
1038
1050
 
1039
- var _propTypes = _interopRequireDefault(PropTypes__default['default']);
1051
+ var _propTypes = _interopRequireDefault(PropTypes__default);
1040
1052
 
1041
1053
  var _manager = _interopRequireDefault(manager);
1042
1054
 
@@ -1177,6 +1189,8 @@ function (_React$Component) {
1177
1189
  value: function applyConfigs() {
1178
1190
  _manager.default.configurePersonalizedAds(this.props.personalizedAds);
1179
1191
 
1192
+ _manager.default.configureCookieOption(this.props.cookieOption);
1193
+
1180
1194
  _manager.default.configureSingleRequest(this.props.singleRequest);
1181
1195
 
1182
1196
  _manager.default.configureDisableInitialLoad(this.props.disableInitialLoad);
@@ -1273,6 +1287,7 @@ _defineProperty(DFPSlotsProvider, "propTypes", {
1273
1287
  autoReload: _propTypes.default.shape({
1274
1288
  dfpNetworkId: _propTypes.default.bool,
1275
1289
  personalizedAds: _propTypes.default.bool,
1290
+ cookieOption: _propTypes.default.bool,
1276
1291
  singleRequest: _propTypes.default.bool,
1277
1292
  disableInitialLoad: _propTypes.default.bool,
1278
1293
  adUnit: _propTypes.default.bool,
@@ -1284,6 +1299,7 @@ _defineProperty(DFPSlotsProvider, "propTypes", {
1284
1299
  }),
1285
1300
  dfpNetworkId: _propTypes.default.string.isRequired,
1286
1301
  personalizedAds: _propTypes.default.bool,
1302
+ cookieOption: _propTypes.default.bool,
1287
1303
  singleRequest: _propTypes.default.bool,
1288
1304
  disableInitialLoad: _propTypes.default.bool,
1289
1305
  adUnit: _propTypes.default.string,
@@ -1304,6 +1320,7 @@ _defineProperty(DFPSlotsProvider, "defaultProps", {
1304
1320
  autoReload: {
1305
1321
  dfpNetworkId: false,
1306
1322
  personalizedAds: false,
1323
+ cookieOption: false,
1307
1324
  singleRequest: false,
1308
1325
  disableInitialLoad: false,
1309
1326
  adUnit: false,
@@ -1314,6 +1331,7 @@ _defineProperty(DFPSlotsProvider, "defaultProps", {
1314
1331
  lazyLoad: false
1315
1332
  },
1316
1333
  personalizedAds: true,
1334
+ cookieOption: true,
1317
1335
  singleRequest: true,
1318
1336
  disableInitialLoad: false,
1319
1337
  collapseEmptyDivs: null,
@@ -1333,7 +1351,7 @@ if (Context === null) {
1333
1351
  });
1334
1352
 
1335
1353
  _commonjsHelpers.unwrapExports(dfpslotsprovider);
1336
- dfpslotsprovider.Context;
1354
+ var dfpslotsprovider_1 = dfpslotsprovider.Context;
1337
1355
 
1338
1356
  var adslot = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1339
1357
 
@@ -1342,9 +1360,9 @@ Object.defineProperty(exports, "__esModule", {
1342
1360
  });
1343
1361
  exports.default = exports.AdSlot = void 0;
1344
1362
 
1345
- var _react = _interopRequireDefault(React__default['default']);
1363
+ var _react = _interopRequireDefault(React__default);
1346
1364
 
1347
- var _propTypes = _interopRequireDefault(PropTypes__default['default']);
1365
+ var _propTypes = _interopRequireDefault(PropTypes__default);
1348
1366
 
1349
1367
  var _manager = _interopRequireDefault(manager);
1350
1368
 
@@ -1629,7 +1647,7 @@ exports.default = _default;
1629
1647
  });
1630
1648
 
1631
1649
  _commonjsHelpers.unwrapExports(adslot);
1632
- adslot.AdSlot;
1650
+ var adslot_1 = adslot.AdSlot;
1633
1651
 
1634
1652
  var lib = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1635
1653
 
@@ -60,35 +60,35 @@ function parseSource(source) {
60
60
  if (typeof source === 'string' && isUrl(source)) {
61
61
  // Someone passed an existing image url?
62
62
  image = {
63
- asset: { _ref: urlToId(source) },
63
+ asset: { _ref: urlToId(source) }
64
64
  };
65
65
  }
66
66
  else if (typeof source === 'string') {
67
67
  // Just an asset id
68
68
  image = {
69
- asset: { _ref: source },
69
+ asset: { _ref: source }
70
70
  };
71
71
  }
72
72
  else if (isRef(source)) {
73
73
  // We just got passed an asset directly
74
74
  image = {
75
- asset: source,
75
+ asset: source
76
76
  };
77
77
  }
78
78
  else if (isAsset(source)) {
79
79
  // If we were passed an image asset document
80
80
  image = {
81
81
  asset: {
82
- _ref: source._id || '',
83
- },
82
+ _ref: source._id || ''
83
+ }
84
84
  };
85
85
  }
86
86
  else if (isAssetStub(source)) {
87
87
  // If we were passed a partial asset (`url`, but no `_id`)
88
88
  image = {
89
89
  asset: {
90
- _ref: urlToId(source.asset.url),
91
- },
90
+ _ref: urlToId(source.asset.url)
91
+ }
92
92
  };
93
93
  }
94
94
  else if (typeof source.asset === 'object') {
@@ -129,7 +129,7 @@ function applyDefaults(image) {
129
129
  left: 0,
130
130
  top: 0,
131
131
  bottom: 0,
132
- right: 0,
132
+ right: 0
133
133
  };
134
134
  }
135
135
  if (!result.hotspot) {
@@ -137,7 +137,7 @@ function applyDefaults(image) {
137
137
  x: 0.5,
138
138
  y: 0.5,
139
139
  height: 1.0,
140
- width: 1.0,
140
+ width: 1.0
141
141
  };
142
142
  }
143
143
  return result;
@@ -184,8 +184,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
184
184
  ['crop', 'crop'],
185
185
  ['saturation', 'sat'],
186
186
  ['auto', 'auto'],
187
- ['dpr', 'dpr'],
188
- ['pad', 'pad'],
187
+ ['dpr', 'dpr']
189
188
  ];
190
189
  function urlForImage(options) {
191
190
  var spec = __assign({}, (options || {}));
@@ -204,7 +203,7 @@ function urlForImage(options) {
204
203
  left: cropLeft,
205
204
  top: cropTop,
206
205
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
207
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
206
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
208
207
  };
209
208
  // Compute hot spot rect in terms of pixel coordinates
210
209
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -215,7 +214,7 @@ function urlForImage(options) {
215
214
  left: hotSpotCenterX - hotSpotHorizontalRadius,
216
215
  top: hotSpotCenterY - hotSpotVerticalRadius,
217
216
  right: hotSpotCenterX + hotSpotHorizontalRadius,
218
- bottom: hotSpotCenterY + hotSpotVerticalRadius,
217
+ bottom: hotSpotCenterY + hotSpotVerticalRadius
219
218
  };
220
219
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
221
220
  // the crop/hotspot.
@@ -297,7 +296,7 @@ function fit(source, spec) {
297
296
  left: Math.round(left),
298
297
  top: Math.round(top_2),
299
298
  width: Math.round(width),
300
- height: Math.round(height),
299
+ height: Math.round(height)
301
300
  };
302
301
  }
303
302
  else {
@@ -319,21 +318,21 @@ function fit(source, spec) {
319
318
  left: Math.max(0, Math.floor(left)),
320
319
  top: Math.max(0, Math.floor(top_3)),
321
320
  width: Math.round(width),
322
- height: Math.round(height),
321
+ height: Math.round(height)
323
322
  };
324
323
  }
325
324
  return {
326
325
  width: imgWidth,
327
326
  height: imgHeight,
328
- rect: cropRect,
327
+ rect: cropRect
329
328
  };
330
329
  }
331
330
 
332
331
  });
333
332
 
334
333
  _commonjsHelpers.unwrapExports(urlForImage_1);
335
- urlForImage_1.parseSource;
336
- urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
334
+ var urlForImage_2 = urlForImage_1.parseSource;
335
+ var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
337
336
 
338
337
  var builder = _commonjsHelpers.createCommonjsModule(function (module, exports) {
339
338
  var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
@@ -359,7 +358,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
359
358
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
360
359
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
361
360
  var validAutoModes = ['format'];
362
- function isSanityClientLike(client) {
361
+ function isSanityClient(client) {
363
362
  return client ? typeof client.clientConfig === 'object' : false;
364
363
  }
365
364
  function rewriteSpecName(key) {
@@ -376,14 +375,13 @@ function rewriteSpecName(key) {
376
375
  function urlBuilder(options) {
377
376
  // Did we get a SanityClient?
378
377
  var client = options;
379
- if (isSanityClientLike(client)) {
378
+ if (isSanityClient(client)) {
380
379
  // 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';
380
+ var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
383
381
  return new ImageUrlBuilder(null, {
384
382
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
385
383
  projectId: projectId,
386
- dataset: dataset,
384
+ dataset: dataset
387
385
  });
388
386
  }
389
387
  // Or just accept the options as given
@@ -396,7 +394,7 @@ var ImageUrlBuilder = /** @class */ (function () {
396
394
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
397
395
  }
398
396
  ImageUrlBuilder.prototype.withOptions = function (options) {
399
- var baseUrl = options.baseUrl || this.options.baseUrl;
397
+ var baseUrl = options.baseUrl || '';
400
398
  var newOptions = { baseUrl: baseUrl };
401
399
  for (var key in options) {
402
400
  if (options.hasOwnProperty(key)) {
@@ -490,7 +488,7 @@ var ImageUrlBuilder = /** @class */ (function () {
490
488
  ImageUrlBuilder.prototype.flipHorizontal = function () {
491
489
  return this.withOptions({ flipHorizontal: true });
492
490
  };
493
- // Flip image vertically
491
+ // Flip image verically
494
492
  ImageUrlBuilder.prototype.flipVertical = function () {
495
493
  return this.withOptions({ flipVertical: true });
496
494
  };
@@ -520,15 +518,11 @@ var ImageUrlBuilder = /** @class */ (function () {
520
518
  }
521
519
  return this.withOptions({ auto: value });
522
520
  };
523
- // Specify the number of pixels to pad the image
524
- ImageUrlBuilder.prototype.pad = function (pad) {
525
- return this.withOptions({ pad: pad });
526
- };
527
521
  // Gets the url based on the submitted parameters
528
522
  ImageUrlBuilder.prototype.url = function () {
529
523
  return urlForImage_1$1.default(this.options);
530
524
  };
531
- // Alias for url()
525
+ // Synonym for url()
532
526
  ImageUrlBuilder.prototype.toString = function () {
533
527
  return this.url();
534
528
  };
@@ -539,7 +533,7 @@ exports.ImageUrlBuilder = ImageUrlBuilder;
539
533
  });
540
534
 
541
535
  _commonjsHelpers.unwrapExports(builder);
542
- builder.ImageUrlBuilder;
536
+ var builder_1 = builder.ImageUrlBuilder;
543
537
 
544
538
  var node = _commonjsHelpers.createCommonjsModule(function (module) {
545
539
  var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
@@ -1,15 +1,13 @@
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');
7
+ var React__default = _interopDefault(React);
6
8
  var PropTypes = require('prop-types');
7
-
8
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
-
10
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
- var reactDom__default = /*#__PURE__*/_interopDefaultLegacy(reactDom);
12
- var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
9
+ var PropTypes__default = _interopDefault(PropTypes);
10
+ var reactDom = _interopDefault(require('react-dom'));
13
11
 
14
12
  var event = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15
13
 
@@ -40,8 +38,8 @@ function off(el, eventName, callback, opts) {
40
38
  });
41
39
 
42
40
  _commonjsHelpers.unwrapExports(event);
43
- event.on;
44
- event.off;
41
+ var event_1 = event.on;
42
+ var event_2 = event.off;
45
43
 
46
44
  var scrollParent = _commonjsHelpers.createCommonjsModule(function (module, exports) {
47
45
 
@@ -187,15 +185,15 @@ var _createClass = function () { function defineProperties(target, props) { for
187
185
 
188
186
 
189
187
 
190
- var _react2 = _interopRequireDefault(React__default['default']);
188
+ var _react2 = _interopRequireDefault(React__default);
191
189
 
192
190
 
193
191
 
194
- var _reactDom2 = _interopRequireDefault(reactDom__default['default']);
192
+ var _reactDom2 = _interopRequireDefault(reactDom);
195
193
 
196
194
 
197
195
 
198
- var _propTypes2 = _interopRequireDefault(PropTypes__default['default']);
196
+ var _propTypes2 = _interopRequireDefault(PropTypes__default);
199
197
 
200
198
 
201
199
 
@@ -538,7 +536,7 @@ var LazyLoad = function (_Component) {
538
536
  }]);
539
537
 
540
538
  return LazyLoad;
541
- }(React__default['default'].Component);
539
+ }(React__default.Component);
542
540
 
543
541
  LazyLoad.propTypes = {
544
542
  once: _propTypes2.default.bool,
@@ -595,7 +593,7 @@ var decorator = function decorator() {
595
593
  }]);
596
594
 
597
595
  return LazyLoadDecorated;
598
- }(React__default['default'].Component);
596
+ }(React__default.Component);
599
597
  };
600
598
  };
601
599
 
@@ -606,8 +604,8 @@ exports.forceVisible = forceVisible;
606
604
  });
607
605
 
608
606
  var LazyLoad = _commonjsHelpers.unwrapExports(lib);
609
- lib.forceVisible;
610
- lib.forceCheck;
611
- lib.lazyload;
607
+ var lib_1 = lib.forceVisible;
608
+ var lib_2 = lib.forceCheck;
609
+ var lib_3 = lib.lazyload;
612
610
 
613
611
  exports.LazyLoad = LazyLoad;
@@ -1,10 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
4
-
5
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
4
 
7
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
5
+ var React = require('react');
6
+ var React__default = _interopDefault(React);
8
7
 
9
8
  /*! *****************************************************************************
10
9
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -269,9 +268,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
269
268
  _this.dragging = false;
270
269
  if (_this.state.pullToRefreshThresholdBreached) {
271
270
  _this.props.refreshFunction && _this.props.refreshFunction();
272
- _this.setState({
273
- pullToRefreshThresholdBreached: false,
274
- });
275
271
  }
276
272
  requestAnimationFrame(function () {
277
273
  // this._infScroll
@@ -297,9 +293,7 @@ var InfiniteScroll = /** @class */ (function (_super) {
297
293
  // prevents multiple triggers.
298
294
  if (_this.actionTriggered)
299
295
  return;
300
- var atBottom = _this.props.inverse
301
- ? _this.isElementAtTop(target, _this.props.scrollThreshold)
302
- : _this.isElementAtBottom(target, _this.props.scrollThreshold);
296
+ var atBottom = _this.isElementAtBottom(target, _this.props.scrollThreshold);
303
297
  // call the `next` function in the props to trigger the next data fetch
304
298
  if (atBottom && _this.props.hasMore) {
305
299
  _this.actionTriggered = true;
@@ -372,30 +366,17 @@ var InfiniteScroll = /** @class */ (function (_super) {
372
366
  }
373
367
  };
374
368
  InfiniteScroll.prototype.UNSAFE_componentWillReceiveProps = function (props) {
375
- // do nothing when dataLength is unchanged
376
- if (this.props.dataLength === props.dataLength)
369
+ // do nothing when dataLength and key are unchanged
370
+ if (this.props.key === props.key &&
371
+ this.props.dataLength === props.dataLength)
377
372
  return;
378
373
  this.actionTriggered = false;
379
374
  // update state when new data was sent in
380
375
  this.setState({
381
376
  showLoader: false,
377
+ pullToRefreshThresholdBreached: false,
382
378
  });
383
379
  };
384
- InfiniteScroll.prototype.isElementAtTop = function (target, scrollThreshold) {
385
- if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
386
- var clientHeight = target === document.body || target === document.documentElement
387
- ? window.screen.availHeight
388
- : target.clientHeight;
389
- var threshold = parseThreshold(scrollThreshold);
390
- if (threshold.unit === ThresholdUnits.Pixel) {
391
- return (target.scrollTop <=
392
- threshold.value + clientHeight - target.scrollHeight + 1 ||
393
- target.scrollTop === 0);
394
- }
395
- return (target.scrollTop <=
396
- threshold.value / 100 + clientHeight - target.scrollHeight + 1 ||
397
- target.scrollTop === 0);
398
- };
399
380
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
400
381
  if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
401
382
  var clientHeight = target === document.body || target === document.documentElement
@@ -420,10 +401,10 @@ var InfiniteScroll = /** @class */ (function (_super) {
420
401
  var outerDivStyle = this.props.pullDownToRefresh && this.props.height
421
402
  ? { overflow: 'auto' }
422
403
  : {};
423
- return (React__default['default'].createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
424
- React__default['default'].createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
425
- this.props.pullDownToRefresh && (React__default['default'].createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
426
- React__default['default'].createElement("div", { style: {
404
+ return (React__default.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
405
+ React__default.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
406
+ this.props.pullDownToRefresh && (React__default.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
407
+ React__default.createElement("div", { style: {
427
408
  position: 'absolute',
428
409
  left: 0,
429
410
  right: 0,