@mjhls/mjh-framework 1.0.657 → 1.0.658-masterdeck-loadmore

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 (144) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +3 -3
  4. package/dist/cjs/AD300x250x600.js +3 -3
  5. package/dist/cjs/AD728x90.js +4 -4
  6. package/dist/cjs/ADFloatingFooter.js +2 -2
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSkyscraper.js +2 -2
  9. package/dist/cjs/ADSponsoredResources.js +2 -2
  10. package/dist/cjs/ADWebcast.js +2 -2
  11. package/dist/cjs/ADWelcome.js +2 -2
  12. package/dist/cjs/AdSlot.js +2 -2
  13. package/dist/cjs/AdSlotsProvider.js +1 -1
  14. package/dist/cjs/ArticleSeriesListing.js +4 -4
  15. package/dist/cjs/Auth.js +256 -507
  16. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-091a991f.js} +1 -1
  17. package/dist/cjs/CMEDeck.js +5 -5
  18. package/dist/cjs/Column3.js +4 -4
  19. package/dist/cjs/ConferenceArticleCard.js +2 -2
  20. package/dist/cjs/DeckContent.js +7 -7
  21. package/dist/cjs/DeckQueue.js +6 -6
  22. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-f6a18ed2.js} +1 -1
  23. package/dist/cjs/EventsDeck.js +73 -38
  24. package/dist/cjs/ExternalResources.js +7 -7
  25. package/dist/cjs/Feature.js +3 -3
  26. package/dist/cjs/ForbesHero.js +2 -2
  27. package/dist/cjs/GridContent.js +10 -10
  28. package/dist/cjs/GridHero.js +2 -2
  29. package/dist/cjs/GroupDeck.js +1 -1
  30. package/dist/cjs/HamMagazine.js +4 -4
  31. package/dist/cjs/Hero.js +1 -1
  32. package/dist/cjs/HorizontalHero.js +2 -2
  33. package/dist/cjs/IssueContentDeck.js +2 -2
  34. package/dist/cjs/IssueDeck.js +2 -2
  35. package/dist/cjs/IssueLanding.js +7 -7
  36. package/dist/cjs/LeftNav.js +2 -2
  37. package/dist/cjs/MasterDeck.js +73 -41
  38. package/dist/cjs/NavMagazine.js +4 -4
  39. package/dist/cjs/NavNative.js +2 -2
  40. package/dist/cjs/OncliveHero.js +2 -2
  41. package/dist/cjs/OncliveLargeHero.js +2 -2
  42. package/dist/cjs/PartnerDetailListing.js +1212 -15
  43. package/dist/cjs/PublicationDeck.js +1 -1
  44. package/dist/cjs/QueueDeckExpanded.js +9 -9
  45. package/dist/cjs/RecentNews.js +2 -2
  46. package/dist/cjs/RelatedContent.js +2 -2
  47. package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-81a50f81.js} +5 -5
  48. package/dist/cjs/TaxonomyCard.js +2 -2
  49. package/dist/cjs/TemplateNormal.js +3 -3
  50. package/dist/cjs/ThumbnailCard.js +1 -1
  51. package/dist/cjs/Ustream.js +2 -2
  52. package/dist/cjs/VerticalHero.js +2 -2
  53. package/dist/cjs/VideoSeriesCard.js +2 -2
  54. package/dist/cjs/VideoSeriesListing.js +3 -3
  55. package/dist/cjs/View.js +42 -42
  56. package/dist/cjs/YahooHero.js +2 -2
  57. package/dist/cjs/YoutubeGroup.js +1 -1
  58. package/dist/cjs/getRelatedArticle.js +354 -5
  59. package/dist/cjs/getSerializers.js +6 -6
  60. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-9af0ef69.js} +2 -2
  61. package/dist/cjs/getTargeting.js +1 -1
  62. package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
  63. package/dist/cjs/index-bd6c9f56.js +211 -0
  64. package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
  65. package/dist/cjs/{index-47e709f6.js → index-c66ea549.js} +450 -462
  66. package/dist/cjs/{index-2d0a4911.js → index-fa8ed292.js} +27 -34
  67. package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
  68. package/dist/cjs/index.js +15 -16
  69. package/dist/cjs/{main-b6c96c8d.js → main-a4cb15bb.js} +36 -67
  70. package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
  71. package/dist/cjs/urlFor.js +1 -1
  72. package/dist/esm/AD.js +1 -1
  73. package/dist/esm/AD300x250.js +3 -3
  74. package/dist/esm/AD300x250x600.js +3 -3
  75. package/dist/esm/AD728x90.js +4 -4
  76. package/dist/esm/ADFloatingFooter.js +2 -2
  77. package/dist/esm/ADGutter.js +2 -2
  78. package/dist/esm/ADSkyscraper.js +2 -2
  79. package/dist/esm/ADSponsoredResources.js +2 -2
  80. package/dist/esm/ADWebcast.js +2 -2
  81. package/dist/esm/ADWelcome.js +2 -2
  82. package/dist/esm/AdSlot.js +2 -2
  83. package/dist/esm/AdSlotsProvider.js +1 -1
  84. package/dist/esm/ArticleSeriesListing.js +4 -4
  85. package/dist/esm/Auth.js +248 -499
  86. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e9b4ddcf.js} +1 -1
  87. package/dist/esm/CMEDeck.js +5 -5
  88. package/dist/esm/Column3.js +4 -4
  89. package/dist/esm/ConferenceArticleCard.js +2 -2
  90. package/dist/esm/DeckContent.js +7 -7
  91. package/dist/esm/DeckQueue.js +6 -6
  92. package/dist/esm/{Dfp-8a8fca18.js → Dfp-96b49def.js} +1 -1
  93. package/dist/esm/EventsDeck.js +73 -38
  94. package/dist/esm/ExternalResources.js +7 -7
  95. package/dist/esm/Feature.js +3 -3
  96. package/dist/esm/ForbesHero.js +2 -2
  97. package/dist/esm/GridContent.js +10 -10
  98. package/dist/esm/GridHero.js +2 -2
  99. package/dist/esm/GroupDeck.js +1 -1
  100. package/dist/esm/HamMagazine.js +4 -4
  101. package/dist/esm/Hero.js +1 -1
  102. package/dist/esm/HorizontalHero.js +2 -2
  103. package/dist/esm/IssueContentDeck.js +2 -2
  104. package/dist/esm/IssueDeck.js +2 -2
  105. package/dist/esm/IssueLanding.js +7 -7
  106. package/dist/esm/LeftNav.js +2 -2
  107. package/dist/esm/MasterDeck.js +73 -41
  108. package/dist/esm/NavMagazine.js +4 -4
  109. package/dist/esm/NavNative.js +2 -2
  110. package/dist/esm/OncliveHero.js +2 -2
  111. package/dist/esm/OncliveLargeHero.js +2 -2
  112. package/dist/esm/PartnerDetailListing.js +1209 -13
  113. package/dist/esm/PublicationDeck.js +1 -1
  114. package/dist/esm/QueueDeckExpanded.js +9 -9
  115. package/dist/esm/RecentNews.js +2 -2
  116. package/dist/esm/RelatedContent.js +2 -2
  117. package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-55960ec4.js} +5 -5
  118. package/dist/esm/TaxonomyCard.js +2 -2
  119. package/dist/esm/TemplateNormal.js +3 -3
  120. package/dist/esm/ThumbnailCard.js +1 -1
  121. package/dist/esm/Ustream.js +2 -2
  122. package/dist/esm/VerticalHero.js +2 -2
  123. package/dist/esm/VideoSeriesCard.js +2 -2
  124. package/dist/esm/VideoSeriesListing.js +3 -3
  125. package/dist/esm/View.js +15 -15
  126. package/dist/esm/YahooHero.js +2 -2
  127. package/dist/esm/YoutubeGroup.js +1 -1
  128. package/dist/esm/getRelatedArticle.js +354 -5
  129. package/dist/esm/getSerializers.js +6 -6
  130. package/dist/esm/{index-93ec3c59.js → index-0e45a0b2.js} +27 -34
  131. package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
  132. package/dist/esm/{index-ed279e5e.js → index-af4d4efb.js} +450 -462
  133. package/dist/esm/index-db3bb315.js +207 -0
  134. package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
  135. package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
  136. package/dist/esm/index.js +13 -14
  137. package/dist/esm/{main-0465b2a0.js → main-5d1e4bd3.js} +34 -65
  138. package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
  139. package/dist/esm/urlFor.js +1 -1
  140. package/package.json +1 -1
  141. /package/dist/cjs/{ADInfeed-eaa6c661.js → ADInfeed-15a7d07f.js} +0 -0
  142. /package/dist/cjs/{ADlgInfeed-f25eb4f7.js → ADlgInfeed-da05bb23.js} +0 -0
  143. /package/dist/esm/{ADInfeed-c27997a3.js → ADInfeed-e10d10a6.js} +0 -0
  144. /package/dist/esm/{ADlgInfeed-41c3909c.js → ADlgInfeed-c5dc4827.js} +0 -0
@@ -728,8 +728,6 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
728
728
 
729
729
  return new Promise(function (resolve) {
730
730
  _this3.getGoogletag().then(function (googletag) {
731
- _this3.configureInitialOptions(googletag);
732
-
733
731
  slotsToInitialize.forEach(function (currentSlotId) {
734
732
  registeredSlots[currentSlotId].loading = false;
735
733
  googletag.cmd.push(function () {
@@ -793,25 +791,14 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
793
791
  });
794
792
  });
795
793
  },
796
- // configure those gpt parameters that need to be set before pubsads service
797
- // initialization.
798
- configureInitialOptions: function configureInitialOptions(googletag) {
799
- var _this4 = this;
800
-
801
- googletag.cmd.push(function () {
802
- if (_this4.disableInitialLoadIsEnabled()) {
803
- googletag.pubads().disableInitialLoad();
804
- }
805
- });
806
- },
807
794
  configureOptions: function configureOptions(googletag) {
808
- var _this5 = this;
795
+ var _this4 = this;
809
796
 
810
797
  googletag.cmd.push(function () {
811
798
  var pubadsService = googletag.pubads();
812
- pubadsService.setRequestNonPersonalizedAds(_this5.personalizedAdsEnabled() ? 0 : 1);
799
+ pubadsService.setRequestNonPersonalizedAds(_this4.personalizedAdsEnabled() ? 0 : 1);
813
800
 
814
- var targetingArguments = _this5.getTargetingArguments(); // set global targetting arguments
801
+ var targetingArguments = _this4.getTargetingArguments(); // set global targetting arguments
815
802
 
816
803
 
817
804
  Object.keys(targetingArguments).forEach(function (varName) {
@@ -820,28 +807,34 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
820
807
  }
821
808
  }); // set global adSense attributes
822
809
 
823
- var adSenseAttributes = _this5.getAdSenseAttributes();
810
+ var adSenseAttributes = _this4.getAdSenseAttributes();
824
811
 
825
812
  Object.keys(adSenseAttributes).forEach(function (key) {
826
813
  pubadsService.set(key, adSenseAttributes[key]);
827
814
  });
828
815
 
829
- if (_this5.lazyLoadIsEnabled()) {
830
- var config = _this5.getLazyLoadConfig();
816
+ if (_this4.lazyLoadIsEnabled()) {
817
+ var args = [];
831
818
 
832
- if (config) {
833
- pubadsService.enableLazyLoad(config);
834
- } else {
835
- pubadsService.enableLazyLoad();
819
+ var config = _this4.getLazyLoadConfig();
820
+
821
+ if (config !== null) {
822
+ args.push(config);
836
823
  }
824
+
825
+ pubadsService.enableLazyLoad.call(args);
837
826
  }
838
827
 
839
- if (_this5.singleRequestIsEnabled()) {
828
+ if (_this4.singleRequestIsEnabled()) {
840
829
  pubadsService.enableSingleRequest();
841
830
  }
842
831
 
843
- if (_this5.collapseEmptyDivs === true || _this5.collapseEmptyDivs === false) {
844
- pubadsService.collapseEmptyDivs(_this5.collapseEmptyDivs);
832
+ if (_this4.disableInitialLoadIsEnabled()) {
833
+ pubadsService.disableInitialLoad();
834
+ }
835
+
836
+ if (_this4.collapseEmptyDivs === true || _this4.collapseEmptyDivs === false) {
837
+ pubadsService.collapseEmptyDivs(_this4.collapseEmptyDivs);
845
838
  }
846
839
  });
847
840
  },
@@ -883,10 +876,10 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
883
876
  }
884
877
  },
885
878
  gptRefreshAds: function gptRefreshAds(slots) {
886
- var _this6 = this;
879
+ var _this5 = this;
887
880
 
888
881
  return this.getGoogletag().then(function (googletag) {
889
- _this6.configureOptions(googletag);
882
+ _this5.configureOptions(googletag);
890
883
 
891
884
  googletag.cmd.push(function () {
892
885
  var pubadsService = googletag.pubads();
@@ -897,14 +890,14 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
897
890
  });
898
891
  },
899
892
  reload: function reload() {
900
- var _this7 = this;
893
+ var _this6 = this;
901
894
 
902
895
  return this.destroyGPTSlots.apply(this, arguments).then(function () {
903
- return _this7.load();
896
+ return _this6.load();
904
897
  });
905
898
  },
906
899
  destroyGPTSlots: function destroyGPTSlots() {
907
- var _this8 = this;
900
+ var _this7 = this;
908
901
 
909
902
  for (var _len4 = arguments.length, slotsToDestroy = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
910
903
  slotsToDestroy[_key4] = arguments[_key4];
@@ -924,7 +917,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
924
917
  slots.push(slot);
925
918
  }
926
919
 
927
- _this8.getGoogletag().then(function (googletag) {
920
+ _this7.getGoogletag().then(function (googletag) {
928
921
  googletag.cmd.push(function () {
929
922
  if (managerAlreadyInitialized === true) {
930
923
  if (slotsToDestroy.length > 0) {
@@ -947,7 +940,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
947
940
  });
948
941
  },
949
942
  registerSlot: function registerSlot(_ref) {
950
- var _this9 = this;
943
+ var _this8 = this;
951
944
 
952
945
  var slotId = _ref.slotId,
953
946
  dfpNetworkId = _ref.dfpNetworkId,
@@ -986,7 +979,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
986
979
  gptSlot = slot.gptSlot;
987
980
 
988
981
  if (loading === false && !gptSlot) {
989
- _this9.load(slotId);
982
+ _this8.load(slotId);
990
983
  }
991
984
  }
992
985
  });
@@ -268,9 +268,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
268
268
  _this.dragging = false;
269
269
  if (_this.state.pullToRefreshThresholdBreached) {
270
270
  _this.props.refreshFunction && _this.props.refreshFunction();
271
- _this.setState({
272
- pullToRefreshThresholdBreached: false,
273
- });
274
271
  }
275
272
  requestAnimationFrame(function () {
276
273
  // this._infScroll
@@ -377,6 +374,7 @@ var InfiniteScroll = /** @class */ (function (_super) {
377
374
  // update state when new data was sent in
378
375
  this.setState({
379
376
  showLoader: false,
377
+ pullToRefreshThresholdBreached: false,
380
378
  });
381
379
  };
382
380
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
package/dist/cjs/index.js CHANGED
@@ -18,22 +18,22 @@ require('./web.dom.iterable-a0e279c1.js');
18
18
  require('./typeof-725500bc.js');
19
19
  require('./_is-array-754e012d.js');
20
20
  require('react');
21
- require('./index-2d0a4911.js');
21
+ require('./index-fa8ed292.js');
22
22
  require('prop-types');
23
23
  require('react-bootstrap/Container');
24
24
  require('react-bootstrap/Row');
25
25
  require('react-bootstrap/Col');
26
26
  require('react-bootstrap/Card');
27
- require('./moment-66a6a284.js');
27
+ require('./moment-575fe24c.js');
28
28
  require('next/router');
29
29
  require('./isSymbol-04666465.js');
30
30
  require('./debounce-eb287781.js');
31
- require('./index.es-ab3f2690.js');
31
+ require('./index.es-9110add6.js');
32
32
  require('react-dom');
33
33
  require('./visibility-sensor-0c45a583.js');
34
- require('./index-b5eb3ff8.js');
34
+ require('./index-be0c82be.js');
35
35
  require('./index-da796b8c.js');
36
- require('./main-b6c96c8d.js');
36
+ require('./main-a4cb15bb.js');
37
37
  require('./entities-310b46ee.js');
38
38
  require('./stringify-7c5aff47.js');
39
39
  require('./slicedToArray-8f385299.js');
@@ -41,10 +41,10 @@ require('./asyncToGenerator-533d476a.js');
41
41
  require('./_set-species-f92c67c5.js');
42
42
  var Segment = require('./beam-7217b7e7.js');
43
43
  var AdSlot = require('./AdSlot.js');
44
- require('./ADInfeed-eaa6c661.js');
44
+ require('./ADInfeed-15a7d07f.js');
45
45
  var DeckContent = require('./DeckContent.js');
46
46
  require('./lodash-fc2922d0.js');
47
- require('./ADlgInfeed-f25eb4f7.js');
47
+ require('./ADlgInfeed-da05bb23.js');
48
48
  require('./getContentCategory-f38a4c00.js');
49
49
  require('./get-68c52cb1.js');
50
50
  var AD = require('./AD.js');
@@ -53,7 +53,7 @@ var GridContent = require('./GridContent.js');
53
53
  var DeckQueue = require('./DeckQueue.js');
54
54
  require('react-bootstrap/Media');
55
55
  var ThumbnailCard = require('./ThumbnailCard.js');
56
- require('./BlockContent-88f69acd.js');
56
+ require('./BlockContent-091a991f.js');
57
57
  require('./react-social-icons-f7f48f71.js');
58
58
  var TaxonomyCard = require('./TaxonomyCard.js');
59
59
  var RolesDeck = require('./RolesDeck.js');
@@ -76,10 +76,10 @@ require('./defineProperty-55548b25.js');
76
76
  var EventsDeck = require('./EventsDeck.js');
77
77
  require('react-bootstrap/Spinner');
78
78
  require('react-bootstrap/Form');
79
- require('./index-5be2866f.js');
79
+ require('./index-3294d3bc.js');
80
80
  require('./js.cookie-a511c430.js');
81
81
  var CMEDeck = require('./CMEDeck.js');
82
- var getSerializers = require('./index-47e709f6.js');
82
+ var getSerializers = require('./index-c66ea549.js');
83
83
  require('./util-f2c1b65b.js');
84
84
  require('./brightcove-react-player-loader.es-156bd4d6.js');
85
85
  require('react-bootstrap/Pagination');
@@ -110,7 +110,7 @@ require('./NavFooter-76c913e3.js');
110
110
  require('./index.esm-fe549f9c.js');
111
111
  var SocialIcons = require('./SocialIcons.js');
112
112
  require('react-bootstrap/FormControl');
113
- require('./SocialSearchComponent-962b1344.js');
113
+ require('./SocialSearchComponent-81a50f81.js');
114
114
  var NavMagazine = require('./NavMagazine.js');
115
115
  var NavNative = require('./NavNative.js');
116
116
  var Search = require('./Search.js');
@@ -157,19 +157,18 @@ var ConferenceArticleCard = require('./ConferenceArticleCard.js');
157
157
  var KMTracker = require('./KMTracker.js');
158
158
  var getSeriesDetail = require('./getSeriesDetail.js');
159
159
  var SetCookie = require('./SetCookie.js');
160
- require('nookies');
161
- var getQuery = require('./getQuery.js');
160
+ require('./index-bd6c9f56.js');
162
161
  var getRelatedArticle = require('./getRelatedArticle.js');
162
+ var getQuery = require('./getQuery.js');
163
163
  var Auth = require('./Auth.js');
164
164
  require('swr');
165
165
  require('passport-local');
166
166
  require('mysql');
167
- var getTargeting = require('./getTargeting-fee8c429.js');
167
+ var getTargeting = require('./getTargeting-9af0ef69.js');
168
168
  var View = require('./View.js');
169
169
  var getKeywords = require('./getKeywords.js');
170
170
  var urlFor = require('./urlFor.js');
171
171
  require('./style-inject.es-dcee06b6.js');
172
- require('react-twitter-embed');
173
172
  var PartnerDetailListing = require('./PartnerDetailListing.js');
174
173
 
175
174
 
@@ -249,8 +248,8 @@ exports.ConferenceArticleCard = ConferenceArticleCard;
249
248
  exports.KMTracker = KMTracker;
250
249
  exports.getSeriesDetail = getSeriesDetail;
251
250
  exports.SetCookie = SetCookie;
252
- exports.getQuery = getQuery;
253
251
  exports.getRelatedArticle = getRelatedArticle;
252
+ exports.getQuery = getQuery;
254
253
  exports.Auth = Auth.default;
255
254
  exports.getTargeting = getTargeting.getTargeting;
256
255
  exports.View = View;
@@ -53,7 +53,7 @@ var getNavigatorInstance = function getNavigatorInstance() {
53
53
  };
54
54
  var isIOS13Check = function isIOS13Check(type) {
55
55
  var nav = getNavigatorInstance();
56
- return nav && nav.platform && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
56
+ return nav && (nav.platform.includes(type) || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
57
57
  };
58
58
 
59
59
  function _typeof(obj) {
@@ -224,15 +224,12 @@ var BROWSER_TYPES = {
224
224
  EDGE: "Edge",
225
225
  CHROMIUM: "Chromium",
226
226
  IE: 'IE',
227
- MOBILE_SAFARI: "Mobile Safari",
228
- EDGE_CHROMIUM: "Edge Chromium"
227
+ MOBILE_SAFARI: "Mobile Safari"
229
228
  };
230
229
  var OS_TYPES = {
231
230
  IOS: 'iOS',
232
231
  ANDROID: "Android",
233
- WINDOWS_PHONE: "Windows Phone",
234
- WINDOWS: 'Windows',
235
- MAC_OS: 'Mac OS'
232
+ WINDOWS_PHONE: "Windows Phone"
236
233
  };
237
234
  var initialData = {
238
235
  isMobile: false,
@@ -385,14 +382,6 @@ var isMobileAndTabletType = function isMobileAndTabletType() {
385
382
  }
386
383
  };
387
384
 
388
- var isEdgeChromiumType = function isEdgeChromiumType() {
389
- if (os.name === OS_TYPES.WINDOWS && os.version === '10') {
390
- return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
391
- }
392
-
393
- return false;
394
- };
395
-
396
385
  var isSmartTVType = function isSmartTVType() {
397
386
  return device.type === DEVICE_TYPES.SMART_TV;
398
387
  };
@@ -413,14 +402,6 @@ var isAndroidType = function isAndroidType() {
413
402
  return os.name === OS_TYPES.ANDROID;
414
403
  };
415
404
 
416
- var isWindowsType = function isWindowsType() {
417
- return os.name === OS_TYPES.WINDOWS;
418
- };
419
-
420
- var isMacOsType = function isMacOsType() {
421
- return os.name === OS_TYPES.MAC_OS;
422
- };
423
-
424
405
  var isWinPhoneType = function isWinPhoneType() {
425
406
  return os.name === OS_TYPES.WINDOWS_PHONE;
426
407
  };
@@ -468,7 +449,7 @@ var isIEType = function isIEType() {
468
449
  var isElectronType = function isElectronType() {
469
450
  var nav = getNavigatorInstance();
470
451
  var ua = nav && nav.userAgent.toLowerCase();
471
- return typeof ua === 'string' ? /electron/.test(ua) : false;
452
+ return typeof ua === 'string' ? ua.includes('electron') : false;
472
453
  };
473
454
 
474
455
  var getIOS13 = function getIOS13() {
@@ -535,15 +516,15 @@ var getDeviceType = function getDeviceType() {
535
516
  var isSmartTV = isSmartTVType();
536
517
  var isConsole = isConsoleType();
537
518
  var isWearable = isWearableType();
538
- var isMobileSafari = isMobileSafariType() || getIPad13();
519
+ var isMobileSafari = isMobileSafariType();
539
520
  var isChromium = isChromiumType();
540
- var isMobile = isMobileAndTabletType() || getIPad13();
521
+ var isMobile = isMobileAndTabletType();
541
522
  var isMobileOnly = isMobileType();
542
- var isTablet = isTabletType() || getIPad13();
523
+ var isTablet = isTabletType();
543
524
  var isBrowser = isBrowserType();
544
525
  var isAndroid = isAndroidType();
545
526
  var isWinPhone = isWinPhoneType();
546
- var isIOS = isIOSType() || getIPad13();
527
+ var isIOS = isIOSType();
547
528
  var isChrome = isChromeType();
548
529
  var isFirefox = isFirefoxType();
549
530
  var isSafari = isSafariType();
@@ -559,7 +540,7 @@ var mobileModel = getMobileModel();
559
540
  var engineName = getEngineName();
560
541
  var engineVersion = getEngineVersion();
561
542
  var getUA = getUseragent();
562
- var isEdge = isEdgeType() || isEdgeChromiumType();
543
+ var isEdge = isEdgeType();
563
544
  var isYandex = isYandexType();
564
545
  var deviceType = getDeviceType();
565
546
  var isIOS13 = getIOS13();
@@ -567,10 +548,6 @@ var isIPad13 = getIPad13();
567
548
  var isIPhone13 = getIphone13();
568
549
  var isIPod13 = getIPod13();
569
550
  var isElectron = isElectronType();
570
- var isEdgeChromium = isEdgeChromiumType();
571
- var isLegacyEdge = isEdgeType();
572
- var isWindows = isWindowsType();
573
- var isMacOs = isMacOsType();
574
551
 
575
552
  var AndroidView = function AndroidView(_ref) {
576
553
  var renderWithFragment = _ref.renderWithFragment,
@@ -800,7 +777,6 @@ exports.isChrome = isChrome;
800
777
  exports.isChromium = isChromium;
801
778
  exports.isConsole = isConsole;
802
779
  exports.isEdge = isEdge;
803
- exports.isEdgeChromium = isEdgeChromium;
804
780
  exports.isElectron = isElectron;
805
781
  exports.isFirefox = isFirefox;
806
782
  exports.isIE = isIE;
@@ -809,8 +785,6 @@ exports.isIOS13 = isIOS13;
809
785
  exports.isIPad13 = isIPad13;
810
786
  exports.isIPhone13 = isIPhone13;
811
787
  exports.isIPod13 = isIPod13;
812
- exports.isLegacyEdge = isLegacyEdge;
813
- exports.isMacOs = isMacOs;
814
788
  exports.isMobile = isMobile;
815
789
  exports.isMobileOnly = isMobileOnly;
816
790
  exports.isMobileSafari = isMobileSafari;
@@ -820,7 +794,6 @@ exports.isSmartTV = isSmartTV;
820
794
  exports.isTablet = isTablet;
821
795
  exports.isWearable = isWearable;
822
796
  exports.isWinPhone = isWinPhone;
823
- exports.isWindows = isWindows;
824
797
  exports.isYandex = isYandex;
825
798
  exports.mobileModel = mobileModel;
826
799
  exports.mobileVendor = mobileVendor;
@@ -856,36 +829,32 @@ var main_23 = main.isChrome;
856
829
  var main_24 = main.isChromium;
857
830
  var main_25 = main.isConsole;
858
831
  var main_26 = main.isEdge;
859
- var main_27 = main.isEdgeChromium;
860
- var main_28 = main.isElectron;
861
- var main_29 = main.isFirefox;
862
- var main_30 = main.isIE;
863
- var main_31 = main.isIOS;
864
- var main_32 = main.isIOS13;
865
- var main_33 = main.isIPad13;
866
- var main_34 = main.isIPhone13;
867
- var main_35 = main.isIPod13;
868
- var main_36 = main.isLegacyEdge;
869
- var main_37 = main.isMacOs;
870
- var main_38 = main.isMobile;
871
- var main_39 = main.isMobileOnly;
872
- var main_40 = main.isMobileSafari;
873
- var main_41 = main.isOpera;
874
- var main_42 = main.isSafari;
875
- var main_43 = main.isSmartTV;
876
- var main_44 = main.isTablet;
877
- var main_45 = main.isWearable;
878
- var main_46 = main.isWinPhone;
879
- var main_47 = main.isWindows;
880
- var main_48 = main.isYandex;
881
- var main_49 = main.mobileModel;
882
- var main_50 = main.mobileVendor;
883
- var main_51 = main.osName;
884
- var main_52 = main.osVersion;
885
- var main_53 = main.withOrientationChange;
832
+ var main_27 = main.isElectron;
833
+ var main_28 = main.isFirefox;
834
+ var main_29 = main.isIE;
835
+ var main_30 = main.isIOS;
836
+ var main_31 = main.isIOS13;
837
+ var main_32 = main.isIPad13;
838
+ var main_33 = main.isIPhone13;
839
+ var main_34 = main.isIPod13;
840
+ var main_35 = main.isMobile;
841
+ var main_36 = main.isMobileOnly;
842
+ var main_37 = main.isMobileSafari;
843
+ var main_38 = main.isOpera;
844
+ var main_39 = main.isSafari;
845
+ var main_40 = main.isSmartTV;
846
+ var main_41 = main.isTablet;
847
+ var main_42 = main.isWearable;
848
+ var main_43 = main.isWinPhone;
849
+ var main_44 = main.isYandex;
850
+ var main_45 = main.mobileModel;
851
+ var main_46 = main.mobileVendor;
852
+ var main_47 = main.osName;
853
+ var main_48 = main.osVersion;
854
+ var main_49 = main.withOrientationChange;
886
855
 
887
856
  exports.main_16 = main_16;
888
- exports.main_31 = main_31;
889
- exports.main_38 = main_38;
890
- exports.main_39 = main_39;
891
- exports.main_40 = main_40;
857
+ exports.main_30 = main_30;
858
+ exports.main_35 = main_35;
859
+ exports.main_36 = main_36;
860
+ exports.main_37 = main_37;
@@ -5614,7 +5614,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
5614
5614
 
5615
5615
  //! moment.js
5616
5616
 
5617
- hooks.version = '2.27.0';
5617
+ hooks.version = '2.26.0';
5618
5618
 
5619
5619
  setHookCallback(createLocal);
5620
5620
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('./_commonjsHelpers-06173234.js');
4
- var index$1 = require('./index-b5eb3ff8.js');
4
+ var index$1 = require('./index-be0c82be.js');
5
5
 
6
6
  // Sanity image auto formating
7
7
  function urlFor(client, source) {
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-8a8fca18.js');
4
+ return import('./Dfp-96b49def.js');
5
5
  });
6
6
 
7
7
  var AD = function AD(props) {
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import { m as main_39 } from './main-0465b2a0.js';
13
+ import { m as main_36 } from './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -30,7 +30,7 @@ var AD300x250 = function AD300x250(_ref) {
30
30
  pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
31
31
 
32
32
  var mobileView = false;
33
- if (main_39) {
33
+ if (main_36) {
34
34
  pos = 'rec1-mobile';
35
35
  mobileView = true;
36
36
  }
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import { m as main_39 } from './main-0465b2a0.js';
13
+ import { m as main_36 } from './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -31,7 +31,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
31
31
  _ref$sizeMapFlag = _ref.sizeMapFlag,
32
32
  sizeMapFlag = _ref$sizeMapFlag === undefined ? true : _ref$sizeMapFlag;
33
33
 
34
- if (main_39) {
34
+ if (main_36) {
35
35
  pos = 'rec2-mobile';
36
36
  }
37
37
 
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import { m as main_39 } from './main-0465b2a0.js';
13
+ import { m as main_36 } from './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -30,7 +30,7 @@ var AD728x90 = function AD728x90(_ref) {
30
30
  _ref$fixedPos = _ref.fixedPos;
31
31
 
32
32
  var mobileView = false;
33
- if (main_39) {
33
+ if (main_36) {
34
34
  pos = 'top-mobile';
35
35
  mobileView = true;
36
36
  }
@@ -108,7 +108,7 @@ var AD728x90 = function AD728x90(_ref) {
108
108
  { jsx: 'true' },
109
109
  '\n .leaderboard-ad-wrapper {\n height: auto !important;\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 '
110
110
  ),
111
- main_39 && React__default.createElement(
111
+ main_36 && React__default.createElement(
112
112
  'style',
113
113
  { jsx: 'true' },
114
114
  '\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 '
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useState, useEffect } from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import './main-0465b2a0.js';
13
+ import './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useState, useEffect } from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import './main-0465b2a0.js';
13
+ import './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useState, useEffect } from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import './main-0465b2a0.js';
13
+ import './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useState, useEffect } from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import './main-0465b2a0.js';
13
+ import './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useState, useEffect } from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import './main-0465b2a0.js';
13
+ import './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
6
6
  import './core.get-iterator-method-54d2e411.js';
7
7
  import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useState, useEffect } from 'react';
9
- import './index-93ec3c59.js';
9
+ import './index-0e45a0b2.js';
10
10
  import 'prop-types';
11
11
  import './isSymbol-807e927e.js';
12
12
  import './debounce-1a993acf.js';
13
- import './main-0465b2a0.js';
13
+ import './main-5d1e4bd3.js';
14
14
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import './asyncToGenerator-7c654f36.js';