@mjhls/mjh-framework 1.0.326 → 1.0.327
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.
- package/README.md +171 -171
- package/dist/cjs/{ADInfeed-b042a194.js → ADInfeed-d58f7a88.js} +1 -1
- package/dist/cjs/{AdSlot-c5bff604.js → AdSlot-c8f07bcf.js} +3 -3
- package/dist/cjs/DeckContent.js +18 -18
- package/dist/cjs/DeckQueue.js +8 -8
- package/dist/cjs/{Dfp-9ede68c7.js → Dfp-fc16f64b.js} +2 -2
- package/dist/cjs/{Figure-a47ec3a7.js → Figure-6805ef02.js} +1 -1
- package/dist/cjs/{GridContent-9f212ec5.js → GridContent-70d80f27.js} +12 -12
- package/dist/cjs/GridContent.js +11 -11
- package/dist/cjs/GroupDeck.js +4 -4
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/MasterDeck.js +16 -16
- package/dist/cjs/{Normal-c85aee96.js → Normal-cc2f9b2f.js} +39 -39
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +11 -11
- package/dist/cjs/{TaxonomyCard-e36602e8.js → TaxonomyCard-0b6bc8db.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/{debounce-528ad412.js → debounce-ba3eaee2.js} +6 -4
- package/dist/cjs/{get-3b23d857.js → get-de2660c3.js} +1 -1
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/index.js +805 -1185
- package/dist/cjs/{inherits-7548e3e8.js → inherits-d1613ef1.js} +1 -1
- package/dist/cjs/{main-987c23c6.js → main-6a82a5d2.js} +35 -66
- package/dist/cjs/{promise-3b44b2a3.js → promise-60431c75.js} +2 -2
- package/dist/cjs/{toConsumableArray-34b5e9a7.js → toConsumableArray-82ec1016.js} +1 -1
- package/dist/cjs/{visibility-sensor-c2ccc22d.js → visibility-sensor-b72d9527.js} +2 -4
- package/dist/esm/{ADInfeed-aadcfc25.js → ADInfeed-c42432d8.js} +1 -1
- package/dist/esm/{AdSlot-8946358f.js → AdSlot-4a85e252.js} +3 -3
- package/dist/esm/DeckContent.js +18 -18
- package/dist/esm/DeckQueue.js +8 -8
- package/dist/esm/{Dfp-9293acfb.js → Dfp-1cde9792.js} +2 -2
- package/dist/esm/{Figure-584ac0c8.js → Figure-ddfa279d.js} +1 -1
- package/dist/esm/{GridContent-13be42a1.js → GridContent-55e6512a.js} +12 -12
- package/dist/esm/GridContent.js +11 -11
- package/dist/esm/GroupDeck.js +4 -4
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/MasterDeck.js +16 -16
- package/dist/esm/{Normal-cbddc3c0.js → Normal-63478e2d.js} +39 -39
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +11 -11
- package/dist/esm/{TaxonomyCard-89325080.js → TaxonomyCard-c036f1c3.js} +1 -1
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +6 -6
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/{debounce-702eb224.js → debounce-93ab8f80.js} +6 -4
- package/dist/esm/{get-36d03764.js → get-9c285a85.js} +1 -1
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/index.js +808 -1188
- package/dist/esm/{inherits-4b85034c.js → inherits-424c89e9.js} +1 -1
- package/dist/esm/{main-cb86f95d.js → main-9ae8991d.js} +34 -65
- package/dist/esm/{promise-86cb8313.js → promise-e4a5eb9f.js} +2 -2
- package/dist/esm/{toConsumableArray-2718dc16.js → toConsumableArray-ec38f5fe.js} +1 -1
- package/dist/esm/{visibility-sensor-3cea5efb.js → visibility-sensor-336093e1.js} +2 -4
- package/package.json +104 -104
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
var _toObject = require('./_to-object-329a650b.js');
|
|
5
5
|
var web_dom_iterable = require('./web.dom.iterable-8b02d65e.js');
|
|
6
|
-
var debounce = require('./debounce-
|
|
6
|
+
var debounce = require('./debounce-ba3eaee2.js');
|
|
7
7
|
var _extends$2 = require('./extends-4c2285ff.js');
|
|
8
8
|
|
|
9
9
|
// most Object methods by ES6 should accept primitives
|
|
@@ -100,7 +100,7 @@ var getNavigatorInstance = function getNavigatorInstance() {
|
|
|
100
100
|
};
|
|
101
101
|
var isIOS13Check = function isIOS13Check(type) {
|
|
102
102
|
var nav = getNavigatorInstance();
|
|
103
|
-
return nav &&
|
|
103
|
+
return nav && (nav.platform.includes(type) || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
function _typeof(obj) {
|
|
@@ -271,15 +271,12 @@ var BROWSER_TYPES = {
|
|
|
271
271
|
EDGE: "Edge",
|
|
272
272
|
CHROMIUM: "Chromium",
|
|
273
273
|
IE: 'IE',
|
|
274
|
-
MOBILE_SAFARI: "Mobile Safari"
|
|
275
|
-
EDGE_CHROMIUM: "Edge Chromium"
|
|
274
|
+
MOBILE_SAFARI: "Mobile Safari"
|
|
276
275
|
};
|
|
277
276
|
var OS_TYPES = {
|
|
278
277
|
IOS: 'iOS',
|
|
279
278
|
ANDROID: "Android",
|
|
280
|
-
WINDOWS_PHONE: "Windows Phone"
|
|
281
|
-
WINDOWS: 'Windows',
|
|
282
|
-
MAC_OS: 'Mac OS'
|
|
279
|
+
WINDOWS_PHONE: "Windows Phone"
|
|
283
280
|
};
|
|
284
281
|
var initialData = {
|
|
285
282
|
isMobile: false,
|
|
@@ -432,14 +429,6 @@ var isMobileAndTabletType = function isMobileAndTabletType() {
|
|
|
432
429
|
}
|
|
433
430
|
};
|
|
434
431
|
|
|
435
|
-
var isEdgeChromiumType = function isEdgeChromiumType() {
|
|
436
|
-
if (os.name === OS_TYPES.WINDOWS && os.version === '10') {
|
|
437
|
-
return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
return false;
|
|
441
|
-
};
|
|
442
|
-
|
|
443
432
|
var isSmartTVType = function isSmartTVType() {
|
|
444
433
|
return device.type === DEVICE_TYPES.SMART_TV;
|
|
445
434
|
};
|
|
@@ -460,14 +449,6 @@ var isAndroidType = function isAndroidType() {
|
|
|
460
449
|
return os.name === OS_TYPES.ANDROID;
|
|
461
450
|
};
|
|
462
451
|
|
|
463
|
-
var isWindowsType = function isWindowsType() {
|
|
464
|
-
return os.name === OS_TYPES.WINDOWS;
|
|
465
|
-
};
|
|
466
|
-
|
|
467
|
-
var isMacOsType = function isMacOsType() {
|
|
468
|
-
return os.name === OS_TYPES.MAC_OS;
|
|
469
|
-
};
|
|
470
|
-
|
|
471
452
|
var isWinPhoneType = function isWinPhoneType() {
|
|
472
453
|
return os.name === OS_TYPES.WINDOWS_PHONE;
|
|
473
454
|
};
|
|
@@ -515,7 +496,7 @@ var isIEType = function isIEType() {
|
|
|
515
496
|
var isElectronType = function isElectronType() {
|
|
516
497
|
var nav = getNavigatorInstance();
|
|
517
498
|
var ua = nav && nav.userAgent.toLowerCase();
|
|
518
|
-
return typeof ua === 'string' ?
|
|
499
|
+
return typeof ua === 'string' ? ua.includes('electron') : false;
|
|
519
500
|
};
|
|
520
501
|
|
|
521
502
|
var getIOS13 = function getIOS13() {
|
|
@@ -582,15 +563,15 @@ var getDeviceType = function getDeviceType() {
|
|
|
582
563
|
var isSmartTV = isSmartTVType();
|
|
583
564
|
var isConsole = isConsoleType();
|
|
584
565
|
var isWearable = isWearableType();
|
|
585
|
-
var isMobileSafari = isMobileSafariType()
|
|
566
|
+
var isMobileSafari = isMobileSafariType();
|
|
586
567
|
var isChromium = isChromiumType();
|
|
587
|
-
var isMobile = isMobileAndTabletType()
|
|
568
|
+
var isMobile = isMobileAndTabletType();
|
|
588
569
|
var isMobileOnly = isMobileType();
|
|
589
|
-
var isTablet = isTabletType()
|
|
570
|
+
var isTablet = isTabletType();
|
|
590
571
|
var isBrowser = isBrowserType();
|
|
591
572
|
var isAndroid = isAndroidType();
|
|
592
573
|
var isWinPhone = isWinPhoneType();
|
|
593
|
-
var isIOS = isIOSType()
|
|
574
|
+
var isIOS = isIOSType();
|
|
594
575
|
var isChrome = isChromeType();
|
|
595
576
|
var isFirefox = isFirefoxType();
|
|
596
577
|
var isSafari = isSafariType();
|
|
@@ -606,7 +587,7 @@ var mobileModel = getMobileModel();
|
|
|
606
587
|
var engineName = getEngineName();
|
|
607
588
|
var engineVersion = getEngineVersion();
|
|
608
589
|
var getUA = getUseragent();
|
|
609
|
-
var isEdge = isEdgeType()
|
|
590
|
+
var isEdge = isEdgeType();
|
|
610
591
|
var isYandex = isYandexType();
|
|
611
592
|
var deviceType = getDeviceType();
|
|
612
593
|
var isIOS13 = getIOS13();
|
|
@@ -614,10 +595,6 @@ var isIPad13 = getIPad13();
|
|
|
614
595
|
var isIPhone13 = getIphone13();
|
|
615
596
|
var isIPod13 = getIPod13();
|
|
616
597
|
var isElectron = isElectronType();
|
|
617
|
-
var isEdgeChromium = isEdgeChromiumType();
|
|
618
|
-
var isLegacyEdge = isEdgeType();
|
|
619
|
-
var isWindows = isWindowsType();
|
|
620
|
-
var isMacOs = isMacOsType();
|
|
621
598
|
|
|
622
599
|
var AndroidView = function AndroidView(_ref) {
|
|
623
600
|
var renderWithFragment = _ref.renderWithFragment,
|
|
@@ -847,7 +824,6 @@ exports.isChrome = isChrome;
|
|
|
847
824
|
exports.isChromium = isChromium;
|
|
848
825
|
exports.isConsole = isConsole;
|
|
849
826
|
exports.isEdge = isEdge;
|
|
850
|
-
exports.isEdgeChromium = isEdgeChromium;
|
|
851
827
|
exports.isElectron = isElectron;
|
|
852
828
|
exports.isFirefox = isFirefox;
|
|
853
829
|
exports.isIE = isIE;
|
|
@@ -856,8 +832,6 @@ exports.isIOS13 = isIOS13;
|
|
|
856
832
|
exports.isIPad13 = isIPad13;
|
|
857
833
|
exports.isIPhone13 = isIPhone13;
|
|
858
834
|
exports.isIPod13 = isIPod13;
|
|
859
|
-
exports.isLegacyEdge = isLegacyEdge;
|
|
860
|
-
exports.isMacOs = isMacOs;
|
|
861
835
|
exports.isMobile = isMobile;
|
|
862
836
|
exports.isMobileOnly = isMobileOnly;
|
|
863
837
|
exports.isMobileSafari = isMobileSafari;
|
|
@@ -867,7 +841,6 @@ exports.isSmartTV = isSmartTV;
|
|
|
867
841
|
exports.isTablet = isTablet;
|
|
868
842
|
exports.isWearable = isWearable;
|
|
869
843
|
exports.isWinPhone = isWinPhone;
|
|
870
|
-
exports.isWindows = isWindows;
|
|
871
844
|
exports.isYandex = isYandex;
|
|
872
845
|
exports.mobileModel = mobileModel;
|
|
873
846
|
exports.mobileVendor = mobileVendor;
|
|
@@ -903,38 +876,34 @@ var main_23 = main.isChrome;
|
|
|
903
876
|
var main_24 = main.isChromium;
|
|
904
877
|
var main_25 = main.isConsole;
|
|
905
878
|
var main_26 = main.isEdge;
|
|
906
|
-
var main_27 = main.
|
|
907
|
-
var main_28 = main.
|
|
908
|
-
var main_29 = main.
|
|
909
|
-
var main_30 = main.
|
|
910
|
-
var main_31 = main.
|
|
911
|
-
var main_32 = main.
|
|
912
|
-
var main_33 = main.
|
|
913
|
-
var main_34 = main.
|
|
914
|
-
var main_35 = main.
|
|
915
|
-
var main_36 = main.
|
|
916
|
-
var main_37 = main.
|
|
917
|
-
var main_38 = main.
|
|
918
|
-
var main_39 = main.
|
|
919
|
-
var main_40 = main.
|
|
920
|
-
var main_41 = main.
|
|
921
|
-
var main_42 = main.
|
|
922
|
-
var main_43 = main.
|
|
923
|
-
var main_44 = main.
|
|
924
|
-
var main_45 = main.
|
|
925
|
-
var main_46 = main.
|
|
926
|
-
var main_47 = main.
|
|
927
|
-
var main_48 = main.
|
|
928
|
-
var main_49 = main.
|
|
929
|
-
var main_50 = main.mobileVendor;
|
|
930
|
-
var main_51 = main.osName;
|
|
931
|
-
var main_52 = main.osVersion;
|
|
932
|
-
var main_53 = main.withOrientationChange;
|
|
879
|
+
var main_27 = main.isElectron;
|
|
880
|
+
var main_28 = main.isFirefox;
|
|
881
|
+
var main_29 = main.isIE;
|
|
882
|
+
var main_30 = main.isIOS;
|
|
883
|
+
var main_31 = main.isIOS13;
|
|
884
|
+
var main_32 = main.isIPad13;
|
|
885
|
+
var main_33 = main.isIPhone13;
|
|
886
|
+
var main_34 = main.isIPod13;
|
|
887
|
+
var main_35 = main.isMobile;
|
|
888
|
+
var main_36 = main.isMobileOnly;
|
|
889
|
+
var main_37 = main.isMobileSafari;
|
|
890
|
+
var main_38 = main.isOpera;
|
|
891
|
+
var main_39 = main.isSafari;
|
|
892
|
+
var main_40 = main.isSmartTV;
|
|
893
|
+
var main_41 = main.isTablet;
|
|
894
|
+
var main_42 = main.isWearable;
|
|
895
|
+
var main_43 = main.isWinPhone;
|
|
896
|
+
var main_44 = main.isYandex;
|
|
897
|
+
var main_45 = main.mobileModel;
|
|
898
|
+
var main_46 = main.mobileVendor;
|
|
899
|
+
var main_47 = main.osName;
|
|
900
|
+
var main_48 = main.osVersion;
|
|
901
|
+
var main_49 = main.withOrientationChange;
|
|
933
902
|
|
|
934
903
|
exports._isArrayIter = _isArrayIter;
|
|
935
904
|
exports._iterCall = _iterCall;
|
|
936
905
|
exports._iterDetect = _iterDetect;
|
|
937
906
|
exports.main_16 = main_16;
|
|
938
|
-
exports.
|
|
939
|
-
exports.
|
|
940
|
-
exports.
|
|
907
|
+
exports.main_35 = main_35;
|
|
908
|
+
exports.main_36 = main_36;
|
|
909
|
+
exports.main_37 = main_37;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
var _toObject = require('./_to-object-329a650b.js');
|
|
5
5
|
var web_dom_iterable = require('./web.dom.iterable-8b02d65e.js');
|
|
6
|
-
var debounce = require('./debounce-
|
|
7
|
-
var main = require('./main-
|
|
6
|
+
var debounce = require('./debounce-ba3eaee2.js');
|
|
7
|
+
var main = require('./main-6a82a5d2.js');
|
|
8
8
|
|
|
9
9
|
var _anInstance = function (it, Constructor, name, forbiddenField) {
|
|
10
10
|
if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
var _toObject = require('./_to-object-329a650b.js');
|
|
5
5
|
var web_dom_iterable = require('./web.dom.iterable-8b02d65e.js');
|
|
6
|
-
var main = require('./main-
|
|
6
|
+
var main = require('./main-6a82a5d2.js');
|
|
7
7
|
|
|
8
8
|
var _createProperty = function (object, index, value) {
|
|
9
9
|
if (index in object) _toObject._objectDp.f(object, index, _toObject._propertyDesc(0, value));
|
|
@@ -5619,7 +5619,7 @@ var moment = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
5619
5619
|
|
|
5620
5620
|
//! moment.js
|
|
5621
5621
|
|
|
5622
|
-
hooks.version = '2.
|
|
5622
|
+
hooks.version = '2.26.0';
|
|
5623
5623
|
|
|
5624
5624
|
setHookCallback(createLocal);
|
|
5625
5625
|
|
|
@@ -5932,9 +5932,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
|
|
|
5932
5932
|
_this.dragging = false;
|
|
5933
5933
|
if (_this.state.pullToRefreshThresholdBreached) {
|
|
5934
5934
|
_this.props.refreshFunction && _this.props.refreshFunction();
|
|
5935
|
-
_this.setState({
|
|
5936
|
-
pullToRefreshThresholdBreached: false,
|
|
5937
|
-
});
|
|
5938
5935
|
}
|
|
5939
5936
|
requestAnimationFrame(function () {
|
|
5940
5937
|
// this._infScroll
|
|
@@ -6041,6 +6038,7 @@ var InfiniteScroll = /** @class */ (function (_super) {
|
|
|
6041
6038
|
// update state when new data was sent in
|
|
6042
6039
|
this.setState({
|
|
6043
6040
|
showLoader: false,
|
|
6041
|
+
pullToRefreshThresholdBreached: false,
|
|
6044
6042
|
});
|
|
6045
6043
|
};
|
|
6046
6044
|
InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import { b as _core } from './_to-object-b9b796ec.js';
|
|
3
|
-
import { d as debounce_1, e as lib_2 } from './debounce-
|
|
4
|
-
import { a as main_16 } from './main-
|
|
3
|
+
import { d as debounce_1, e as lib_2 } from './debounce-93ab8f80.js';
|
|
4
|
+
import { a as main_16 } from './main-9ae8991d.js';
|
|
5
5
|
import React__default, { useState } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
8
|
-
import { p as promise } from './promise-
|
|
8
|
+
import { p as promise } from './promise-e4a5eb9f.js';
|
|
9
9
|
|
|
10
10
|
var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
|
|
11
11
|
var stringify = function stringify(it) { // eslint-disable-line no-unused-vars
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
5
|
-
import { m as
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
4
|
+
import { d as debounce_1, l as lib_3 } from './debounce-93ab8f80.js';
|
|
5
|
+
import { m as main_36 } from './main-9ae8991d.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-ec38f5fe.js';
|
|
7
7
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
8
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
8
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-424c89e9.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-
|
|
15
|
+
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-336093e1.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import { withRouter } from 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import { i as imageUrlBuilder } from './index-
|
|
19
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
20
20
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
21
21
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
22
22
|
import './slicedToArray-a47a84a4.js';
|
|
23
|
-
import './AdSlot-
|
|
24
|
-
import './promise-
|
|
25
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
23
|
+
import './AdSlot-4a85e252.js';
|
|
24
|
+
import './promise-e4a5eb9f.js';
|
|
25
|
+
import { A as ADInfeed } from './ADInfeed-c42432d8.js';
|
|
26
26
|
|
|
27
27
|
var DeckContent = function (_React$Component) {
|
|
28
28
|
_inherits(DeckContent, _React$Component);
|
|
@@ -163,14 +163,14 @@ var DeckContent = function (_React$Component) {
|
|
|
163
163
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
164
164
|
|
|
165
165
|
// please leave this for later debug purpose : Yong Jun.
|
|
166
|
-
/* console.log('page change reported', {
|
|
167
|
-
currentPage: currentPage,
|
|
168
|
-
pageNumber: pageNumber,
|
|
169
|
-
pathname: pathname,
|
|
170
|
-
path: path,
|
|
171
|
-
newPath: newPath,
|
|
172
|
-
firstPage: pageNumber === 1,
|
|
173
|
-
queryString: queryString
|
|
166
|
+
/* console.log('page change reported', {
|
|
167
|
+
currentPage: currentPage,
|
|
168
|
+
pageNumber: pageNumber,
|
|
169
|
+
pathname: pathname,
|
|
170
|
+
path: path,
|
|
171
|
+
newPath: newPath,
|
|
172
|
+
firstPage: pageNumber === 1,
|
|
173
|
+
queryString: queryString
|
|
174
174
|
}) */
|
|
175
175
|
|
|
176
176
|
if (pageview) {
|
|
@@ -333,7 +333,7 @@ var DeckContent = function (_React$Component) {
|
|
|
333
333
|
)
|
|
334
334
|
)
|
|
335
335
|
),
|
|
336
|
-
|
|
336
|
+
main_36 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
337
337
|
);
|
|
338
338
|
}
|
|
339
339
|
})
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
5
|
-
import { m as
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
4
|
+
import { d as debounce_1, l as lib_3 } from './debounce-93ab8f80.js';
|
|
5
|
+
import { m as main_36 } from './main-9ae8991d.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-ec38f5fe.js';
|
|
7
7
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
8
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
8
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-424c89e9.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-
|
|
15
|
+
import { V as VisibilitySensor, m as moment, I as InfiniteScroll } from './visibility-sensor-336093e1.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import { withRouter } from 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import { i as imageUrlBuilder } from './index-
|
|
19
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
20
20
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
21
21
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
22
|
-
import { g as get_1 } from './get-
|
|
22
|
+
import { g as get_1 } from './get-9c285a85.js';
|
|
23
23
|
|
|
24
24
|
var DeckQueue = function (_React$Component) {
|
|
25
25
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -288,7 +288,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
288
288
|
)
|
|
289
289
|
)
|
|
290
290
|
),
|
|
291
|
-
|
|
291
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
292
292
|
);
|
|
293
293
|
})
|
|
294
294
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, a as lib_1, e as lib_2 } from './debounce-
|
|
4
|
+
import { d as debounce_1, a as lib_1, e as lib_2 } from './debounce-93ab8f80.js';
|
|
5
5
|
import React__default, { useState } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
7
|
+
import { V as VisibilitySensor } from './visibility-sensor-336093e1.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
4
|
import React__default, { useState } from 'react';
|
|
5
|
-
import { i as imageUrlBuilder } from './index-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
7
7
|
import { Figure as Figure$1 } from 'react-bootstrap';
|
|
8
8
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
2
|
-
import { m as
|
|
3
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
1
|
+
import { d as debounce_1, l as lib_3 } from './debounce-93ab8f80.js';
|
|
2
|
+
import { m as main_36 } from './main-9ae8991d.js';
|
|
3
|
+
import { _ as _toConsumableArray } from './toConsumableArray-ec38f5fe.js';
|
|
4
4
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
5
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
5
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-424c89e9.js';
|
|
6
6
|
import React__default, { Suspense } from 'react';
|
|
7
7
|
import Container from 'react-bootstrap/Container';
|
|
8
8
|
import Row from 'react-bootstrap/Row';
|
|
9
9
|
import Col from 'react-bootstrap/Col';
|
|
10
10
|
import Card from 'react-bootstrap/Card';
|
|
11
|
-
import { m as moment, V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-
|
|
11
|
+
import { m as moment, V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-336093e1.js';
|
|
12
12
|
import 'next/link';
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
|
-
import { i as imageUrlBuilder } from './index-
|
|
14
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
15
15
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
16
16
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
17
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
18
|
-
import { g as get_1 } from './get-
|
|
17
|
+
import { A as ADInfeed } from './ADInfeed-c42432d8.js';
|
|
18
|
+
import { g as get_1 } from './get-9c285a85.js';
|
|
19
19
|
|
|
20
20
|
var Dfp = React__default.lazy(function () {
|
|
21
|
-
return import('./Dfp-
|
|
21
|
+
return import('./Dfp-1cde9792.js');
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
var AD = function AD(props) {
|
|
@@ -440,7 +440,7 @@ var GridContent = function (_React$Component) {
|
|
|
440
440
|
)
|
|
441
441
|
),
|
|
442
442
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
443
|
-
|
|
443
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
444
444
|
);
|
|
445
445
|
} else {
|
|
446
446
|
return React__default.createElement(
|
|
@@ -502,7 +502,7 @@ var GridContent = function (_React$Component) {
|
|
|
502
502
|
)
|
|
503
503
|
),
|
|
504
504
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
505
|
-
|
|
505
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
506
506
|
);
|
|
507
507
|
}
|
|
508
508
|
} else if (row._type === 'BrandInsight' && row.adUnit) {
|
|
@@ -562,7 +562,7 @@ var GridContent = function (_React$Component) {
|
|
|
562
562
|
)
|
|
563
563
|
),
|
|
564
564
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
565
|
-
|
|
565
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
566
566
|
);
|
|
567
567
|
}) : React__default.createElement(
|
|
568
568
|
'div',
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import './debounce-
|
|
5
|
-
import './main-
|
|
6
|
-
import './toConsumableArray-
|
|
4
|
+
import './debounce-93ab8f80.js';
|
|
5
|
+
import './main-9ae8991d.js';
|
|
6
|
+
import './toConsumableArray-ec38f5fe.js';
|
|
7
7
|
import './extends-26d3b609.js';
|
|
8
|
-
import './inherits-
|
|
8
|
+
import './inherits-424c89e9.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import 'react-bootstrap/Container';
|
|
12
12
|
import 'react-bootstrap/Row';
|
|
13
13
|
import 'react-bootstrap/Col';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './visibility-sensor-
|
|
15
|
+
import './visibility-sensor-336093e1.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-73819142.js';
|
|
20
20
|
import './index-5f9f807a.js';
|
|
21
21
|
import './entities-7cc3bf45.js';
|
|
22
22
|
import './slicedToArray-a47a84a4.js';
|
|
23
|
-
import './AdSlot-
|
|
24
|
-
import './promise-
|
|
25
|
-
import './ADInfeed-
|
|
26
|
-
import './get-
|
|
27
|
-
export { G as default } from './GridContent-
|
|
23
|
+
import './AdSlot-4a85e252.js';
|
|
24
|
+
import './promise-e4a5eb9f.js';
|
|
25
|
+
import './ADInfeed-c42432d8.js';
|
|
26
|
+
import './get-9c285a85.js';
|
|
27
|
+
export { G as default } from './GridContent-55e6512a.js';
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -9,10 +9,10 @@ import { L as LazyLoad } from './index-5f9f807a.js';
|
|
|
9
9
|
import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
|
|
10
10
|
import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
11
11
|
|
|
12
|
-
/*
|
|
13
|
-
GROQ query -
|
|
14
|
-
accepts an array of title, URL
|
|
15
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
12
|
+
/*
|
|
13
|
+
GROQ query -
|
|
14
|
+
accepts an array of title, URL
|
|
15
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
var GroupDeck = function GroupDeck(props) {
|
|
@@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
7
|
import 'next/link';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import Badge from 'react-bootstrap/Badge';
|
|
12
12
|
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
7
|
import 'next/link';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-b9b796ec.js';
|
|
3
3
|
import './web.dom.iterable-7e9bebf9.js';
|
|
4
|
-
import { d as debounce_1, l as lib_3 } from './debounce-
|
|
5
|
-
import { m as
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
4
|
+
import { d as debounce_1, l as lib_3 } from './debounce-93ab8f80.js';
|
|
5
|
+
import { m as main_36 } from './main-9ae8991d.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-ec38f5fe.js';
|
|
7
7
|
import { _ as _extends } from './extends-26d3b609.js';
|
|
8
|
-
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-
|
|
8
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-424c89e9.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import 'react-bootstrap/Row';
|
|
13
13
|
import 'react-bootstrap/Col';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-
|
|
15
|
+
import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-336093e1.js';
|
|
16
16
|
import 'next/link';
|
|
17
17
|
import { withRouter } from 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import './index-
|
|
20
|
-
import { _ as _Promise } from './promise-
|
|
19
|
+
import './index-73819142.js';
|
|
20
|
+
import { _ as _Promise } from './promise-e4a5eb9f.js';
|
|
21
21
|
|
|
22
22
|
var MasterDeck = function (_React$Component) {
|
|
23
23
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -162,14 +162,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
162
162
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
163
163
|
|
|
164
164
|
// please leave this for later debug purpose : Yong Jun.
|
|
165
|
-
/* console.log('page change reported', {
|
|
166
|
-
currentPage: currentPage,
|
|
167
|
-
pageNumber: pageNumber,
|
|
168
|
-
pathname: pathname,
|
|
169
|
-
path: path,
|
|
170
|
-
newPath: newPath,
|
|
171
|
-
firstPage: pageNumber === 1,
|
|
172
|
-
queryString: queryString
|
|
165
|
+
/* console.log('page change reported', {
|
|
166
|
+
currentPage: currentPage,
|
|
167
|
+
pageNumber: pageNumber,
|
|
168
|
+
pathname: pathname,
|
|
169
|
+
path: path,
|
|
170
|
+
newPath: newPath,
|
|
171
|
+
firstPage: pageNumber === 1,
|
|
172
|
+
queryString: queryString
|
|
173
173
|
}) */
|
|
174
174
|
|
|
175
175
|
if (pageview) {
|
|
@@ -201,7 +201,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
201
201
|
} },
|
|
202
202
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
main_36 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
205
205
|
'div',
|
|
206
206
|
{ style: { margin: '0 auto' } },
|
|
207
207
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|