@mjhls/mjh-framework 1.0.236 → 1.0.238
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 +1 -1
- package/dist/cjs/AdSlot-1fe1c231.js +69 -0
- package/dist/cjs/DeckContent.js +26 -19
- package/dist/cjs/DeckQueue.js +24 -18
- package/dist/cjs/{Dfp-f16a4421.js → Dfp-045b016b.js} +10 -7
- package/dist/cjs/{GridContent-3f7dc5ac.js → GridContent-53e78cbf.js} +23 -20
- package/dist/cjs/GridContent.js +18 -12
- package/dist/cjs/IssueContentDeck.js +3 -3
- package/dist/cjs/IssueDeck.js +3 -3
- package/dist/cjs/MasterDeck-91c6ad85.js +917 -0
- package/dist/cjs/MasterDeck.js +18 -329
- package/dist/cjs/{Normal-815c5ad0.js → Normal-a94a1ec8.js} +34 -21
- package/dist/cjs/PublicationDeck.js +3 -3
- package/dist/cjs/QueueDeckExpanded.js +21 -16
- package/dist/cjs/{TaxonomyCard-0d4ec68b.js → TaxonomyCard-b5074d6e.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +6 -5
- package/dist/cjs/TemplateNormal.js +11 -8
- package/dist/cjs/ThumbnailCard.js +4 -4
- package/dist/cjs/{Ustream-5f595d09.js → Ustream-85b14a8d.js} +3 -5
- package/dist/cjs/Ustream.js +6 -2
- package/dist/cjs/VideoSeriesListing.js +19 -15
- package/dist/cjs/{YoutubeGroup-ad994d02.js → YoutubeGroup-fd44f8a0.js} +2 -2
- package/dist/cjs/YoutubeGroup.js +3 -3
- package/dist/cjs/{_commonjsHelpers-3fc1f64e.js → _commonjsHelpers-06173234.js} +5 -0
- package/dist/cjs/_to-object-329a650b.js +348 -0
- package/dist/cjs/core.get-iterator-method-e049ca4a.js +39 -0
- package/dist/cjs/{debounce-a963b136.js → debounce-bbca43c4.js} +1 -1
- package/dist/cjs/{entities-3e0b4a16.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/extends-e94dbea5.js +98 -0
- package/dist/cjs/{get-126b1712.js → get-af2516a4.js} +1 -1
- package/dist/cjs/{index-a4c53ff4.js → index-39beccb3.js} +1 -1
- package/dist/cjs/{index-0d0efcfa.js → index-fa0fb52c.js} +1 -1
- package/dist/cjs/{index-0322e486.js → index-fa3cec70.js} +1 -1
- package/dist/cjs/index.js +3128 -358
- package/dist/cjs/inherits-5b5ca8db.js +650 -0
- package/dist/cjs/{main-becc38ae.js → main-d9a1b014.js} +1 -2
- package/dist/cjs/slicedToArray-e38fb29d.js +95 -0
- package/dist/cjs/toConsumableArray-7e4caf3c.js +123 -0
- package/dist/cjs/{visibility-sensor-8936e703.js → visibility-sensor-b72d9527.js} +1 -1
- package/dist/cjs/web.dom.iterable-0998bdc3.js +254 -0
- package/dist/esm/AdSlot-017b8051.js +64 -0
- package/dist/esm/DeckContent.js +24 -17
- package/dist/esm/DeckQueue.js +22 -16
- package/dist/esm/{Dfp-0567f8a3.js → Dfp-01f14ae3.js} +10 -7
- package/dist/esm/{GridContent-e61fff04.js → GridContent-f5bc4d75.js} +21 -18
- package/dist/esm/GridContent.js +18 -12
- package/dist/esm/IssueContentDeck.js +3 -3
- package/dist/esm/IssueDeck.js +3 -3
- package/dist/esm/MasterDeck-5dd97a66.js +910 -0
- package/dist/esm/MasterDeck.js +17 -328
- package/dist/esm/{Normal-ebb02255.js → Normal-357f00d1.js} +34 -21
- package/dist/esm/PublicationDeck.js +3 -3
- package/dist/esm/QueueDeckExpanded.js +19 -14
- package/dist/esm/{TaxonomyCard-92f9e327.js → TaxonomyCard-f74512cb.js} +3 -3
- package/dist/esm/TaxonomyCard.js +6 -5
- package/dist/esm/TemplateNormal.js +11 -8
- package/dist/esm/ThumbnailCard.js +4 -4
- package/dist/esm/{Ustream-2bfb1813.js → Ustream-62a07a32.js} +3 -5
- package/dist/esm/Ustream.js +6 -2
- package/dist/esm/VideoSeriesListing.js +16 -12
- package/dist/esm/{YoutubeGroup-1368335c.js → YoutubeGroup-1b3eca73.js} +2 -2
- package/dist/esm/YoutubeGroup.js +3 -3
- package/dist/esm/{_commonjsHelpers-ae1b5db5.js → _commonjsHelpers-0c4b6f40.js} +5 -1
- package/dist/esm/_to-object-86553f76.js +318 -0
- package/dist/esm/core.get-iterator-method-709061dc.js +36 -0
- package/dist/esm/{debounce-dc0c02e5.js → debounce-fa7fbf11.js} +1 -1
- package/dist/esm/{entities-e85d3a4a.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/extends-7f88fa22.js +94 -0
- package/dist/esm/{get-b074314b.js → get-8d382479.js} +1 -1
- package/dist/esm/{index-ca4ff5cb.js → index-3849e3fe.js} +1 -1
- package/dist/esm/{index-3c1ee9ab.js → index-5f9f807a.js} +1 -1
- package/dist/esm/{index-70f7c966.js → index-fa84ea96.js} +1 -1
- package/dist/esm/index.js +3129 -358
- package/dist/esm/inherits-a82a4471.js +642 -0
- package/dist/esm/{main-e84e7749.js → main-eecf7b27.js} +2 -2
- package/dist/esm/slicedToArray-eb7eca9e.js +93 -0
- package/dist/esm/toConsumableArray-08d50169.js +117 -0
- package/dist/esm/{visibility-sensor-71e50a91.js → visibility-sensor-336093e1.js} +1 -1
- package/dist/esm/web.dom.iterable-f05d2f57.js +246 -0
- package/package.json +4 -1
- package/dist/cjs/AdSlot-983cfe5f.js +0 -515
- package/dist/cjs/_babelHelpers-4a69caad.js +0 -149
- package/dist/esm/AdSlot-c40f4438.js +0 -509
- package/dist/esm/_babelHelpers-c212c59c.js +0 -140
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('./_commonjsHelpers-06173234.js');
|
|
4
|
+
require('./_to-object-329a650b.js');
|
|
5
|
+
require('./web.dom.iterable-0998bdc3.js');
|
|
6
|
+
require('./core.get-iterator-method-e049ca4a.js');
|
|
3
7
|
require('react');
|
|
4
|
-
require('./
|
|
5
|
-
require('./index-0322e486.js');
|
|
8
|
+
require('./index-fa3cec70.js');
|
|
6
9
|
require('prop-types');
|
|
7
10
|
require('react-bootstrap/Container');
|
|
8
11
|
require('react-bootstrap/Row');
|
|
9
12
|
require('react-bootstrap/Col');
|
|
10
13
|
require('next/link');
|
|
11
|
-
require('./debounce-
|
|
12
|
-
require('./main-
|
|
13
|
-
require('./
|
|
14
|
-
require('./AdSlot-
|
|
15
|
-
require('./get-
|
|
14
|
+
require('./debounce-bbca43c4.js');
|
|
15
|
+
require('./main-d9a1b014.js');
|
|
16
|
+
require('./slicedToArray-e38fb29d.js');
|
|
17
|
+
require('./AdSlot-1fe1c231.js');
|
|
18
|
+
require('./get-af2516a4.js');
|
|
16
19
|
require('react-bootstrap');
|
|
17
20
|
require('./index.esm-340d3792.js');
|
|
18
21
|
require('react-bootstrap/Button');
|
|
19
|
-
var TemplateNormal = require('./Normal-
|
|
22
|
+
var TemplateNormal = require('./Normal-a94a1ec8.js');
|
|
20
23
|
require('react-bootstrap/ListGroup');
|
|
21
24
|
require('next/head');
|
|
22
25
|
require('react-bootstrap/Nav');
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
4
|
|
|
5
|
+
require('./_commonjsHelpers-06173234.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var React__default = _interopDefault(React);
|
|
7
|
-
require('./_commonjsHelpers-3fc1f64e.js');
|
|
8
8
|
require('prop-types');
|
|
9
9
|
require('react-dom');
|
|
10
|
-
var index$1 = require('./index-
|
|
11
|
-
var index$2 = require('./index-
|
|
12
|
-
var entities = require('./entities-
|
|
10
|
+
var index$1 = require('./index-39beccb3.js');
|
|
11
|
+
var index$2 = require('./index-fa0fb52c.js');
|
|
12
|
+
var entities = require('./entities-310b46ee.js');
|
|
13
13
|
var Media$1 = _interopDefault(require('react-bootstrap/Media'));
|
|
14
14
|
|
|
15
15
|
var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
@@ -4,7 +4,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var React__default = _interopDefault(React);
|
|
7
|
-
var
|
|
7
|
+
var slicedToArray = require('./slicedToArray-e38fb29d.js');
|
|
8
8
|
var index_esm = require('./index.esm-340d3792.js');
|
|
9
9
|
|
|
10
10
|
// THIS FILE IS AUTO GENERATED
|
|
@@ -17,8 +17,6 @@ var FaRegWindowClose = function (props) {
|
|
|
17
17
|
};
|
|
18
18
|
FaRegWindowClose.displayName = "FaRegWindowClose";
|
|
19
19
|
|
|
20
|
-
// UStream Component
|
|
21
|
-
|
|
22
20
|
var Ustream = function Ustream(_ref) {
|
|
23
21
|
var _ref$width = _ref.width,
|
|
24
22
|
width = _ref$width === undefined ? '300px' : _ref$width,
|
|
@@ -32,12 +30,12 @@ var Ustream = function Ustream(_ref) {
|
|
|
32
30
|
src = _ref$src === undefined ? 'https://video.ibm.com/embed/23627444?volume=0&autoplay=true' : _ref$src;
|
|
33
31
|
|
|
34
32
|
var _useState = React.useState(width),
|
|
35
|
-
_useState2 =
|
|
33
|
+
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
36
34
|
currentWidth = _useState2[0],
|
|
37
35
|
setWidth = _useState2[1];
|
|
38
36
|
|
|
39
37
|
var _useState3 = React.useState(height),
|
|
40
|
-
_useState4 =
|
|
38
|
+
_useState4 = slicedToArray._slicedToArray(_useState3, 2),
|
|
41
39
|
currentHeight = _useState4[0],
|
|
42
40
|
setHeight = _useState4[1];
|
|
43
41
|
|
package/dist/cjs/Ustream.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('./_commonjsHelpers-06173234.js');
|
|
4
|
+
require('./_to-object-329a650b.js');
|
|
5
|
+
require('./web.dom.iterable-0998bdc3.js');
|
|
6
|
+
require('./core.get-iterator-method-e049ca4a.js');
|
|
3
7
|
require('react');
|
|
4
|
-
require('./
|
|
8
|
+
require('./slicedToArray-e38fb29d.js');
|
|
5
9
|
require('./index.esm-340d3792.js');
|
|
6
|
-
var Ustream = require('./Ustream-
|
|
10
|
+
var Ustream = require('./Ustream-85b14a8d.js');
|
|
7
11
|
|
|
8
12
|
|
|
9
13
|
|
|
@@ -2,38 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
4
|
|
|
5
|
+
require('./_commonjsHelpers-06173234.js');
|
|
6
|
+
require('./_to-object-329a650b.js');
|
|
7
|
+
require('./web.dom.iterable-0998bdc3.js');
|
|
8
|
+
var inherits$2 = require('./inherits-5b5ca8db.js');
|
|
9
|
+
var _extends$2 = require('./extends-e94dbea5.js');
|
|
5
10
|
var React = require('react');
|
|
6
11
|
var React__default = _interopDefault(React);
|
|
7
|
-
require('./
|
|
8
|
-
var index = require('./index-0322e486.js');
|
|
12
|
+
var index = require('./index-fa3cec70.js');
|
|
9
13
|
require('prop-types');
|
|
10
14
|
var Container = _interopDefault(require('react-bootstrap/Container'));
|
|
11
|
-
var visibilitySensor = require('./visibility-sensor-
|
|
15
|
+
var visibilitySensor = require('./visibility-sensor-b72d9527.js');
|
|
12
16
|
require('next/link');
|
|
13
17
|
var Router = require('next/router');
|
|
14
18
|
var Router__default = _interopDefault(Router);
|
|
15
|
-
var debounce = require('./debounce-
|
|
19
|
+
var debounce = require('./debounce-bbca43c4.js');
|
|
16
20
|
require('react-dom');
|
|
17
|
-
require('./index-
|
|
18
|
-
var
|
|
19
|
-
var YoutubeGroup = require('./YoutubeGroup-ad994d02.js');
|
|
21
|
+
require('./index-fa0fb52c.js');
|
|
22
|
+
var YoutubeGroup = require('./YoutubeGroup-fd44f8a0.js');
|
|
20
23
|
var index_esm = require('./index.esm-340d3792.js');
|
|
21
24
|
|
|
22
25
|
var VideoSeriesListing = function (_React$Component) {
|
|
23
|
-
|
|
26
|
+
inherits$2._inherits(VideoSeriesListing, _React$Component);
|
|
24
27
|
|
|
25
28
|
function VideoSeriesListing() {
|
|
26
29
|
var _ref;
|
|
27
30
|
|
|
28
31
|
var _temp, _this, _ret;
|
|
29
32
|
|
|
30
|
-
|
|
33
|
+
inherits$2._classCallCheck(this, VideoSeriesListing);
|
|
31
34
|
|
|
32
35
|
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
33
36
|
args[_key] = arguments[_key];
|
|
34
37
|
}
|
|
35
38
|
|
|
36
|
-
return _ret = (_temp = (_this =
|
|
39
|
+
return _ret = (_temp = (_this = inherits$2._possibleConstructorReturn(this, (_ref = VideoSeriesListing.__proto__ || inherits$2._Object$getPrototypeOf(VideoSeriesListing)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.dataArr = [_this.data], _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.state = {
|
|
37
40
|
data: _this.dataArr,
|
|
38
41
|
per: _this.params ? _this.params.to : 2,
|
|
39
42
|
page: _this.props.currentPage || 1,
|
|
@@ -66,7 +69,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
66
69
|
var client = _this.props.client;
|
|
67
70
|
|
|
68
71
|
_this.changePageNumber(page);
|
|
69
|
-
var params =
|
|
72
|
+
var params = _extends$2._extends({}, _this.params, { from: from, to: to
|
|
70
73
|
// const queryUpdated = query.replace('$from', params.from).replace('$to', params.to)
|
|
71
74
|
// const query = '*[_type == "article" && defined(title) && defined(thumbnail)][$from...$to] { title, summary, thumbnail { asset-> }, url }'
|
|
72
75
|
});client.fetch(query, params).then(function (dataArr) {
|
|
@@ -75,7 +78,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
75
78
|
dataArr = dataArr[_this.pointerArray][pointer];
|
|
76
79
|
}
|
|
77
80
|
dataArr = dataArr.map(function (item) {
|
|
78
|
-
return
|
|
81
|
+
return _extends$2._extends({}, item, {
|
|
79
82
|
pageNumber: page
|
|
80
83
|
});
|
|
81
84
|
});
|
|
@@ -201,7 +204,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
201
204
|
)
|
|
202
205
|
)
|
|
203
206
|
),
|
|
204
|
-
docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup.YoutubeGroup,
|
|
207
|
+
docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup.YoutubeGroup, _extends$2._extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
205
208
|
'p',
|
|
206
209
|
null,
|
|
207
210
|
'No Video Found.'
|
|
@@ -209,10 +212,10 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
209
212
|
);
|
|
210
213
|
})
|
|
211
214
|
);
|
|
212
|
-
}, _temp),
|
|
215
|
+
}, _temp), inherits$2._possibleConstructorReturn(_this, _ret);
|
|
213
216
|
}
|
|
214
217
|
|
|
215
|
-
|
|
218
|
+
inherits$2._createClass(VideoSeriesListing, [{
|
|
216
219
|
key: 'render',
|
|
217
220
|
value: function render() {
|
|
218
221
|
var _this2 = this;
|
|
@@ -246,6 +249,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
246
249
|
);
|
|
247
250
|
}
|
|
248
251
|
}]);
|
|
252
|
+
|
|
249
253
|
return VideoSeriesListing;
|
|
250
254
|
}(React__default.Component);
|
|
251
255
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
4
|
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var React__default = _interopDefault(React);
|
|
7
|
-
var _commonjsHelpers = require('./_commonjsHelpers-3fc1f64e.js');
|
|
8
8
|
require('next/link');
|
|
9
|
-
var index$2 = require('./index-
|
|
9
|
+
var index$2 = require('./index-fa0fb52c.js');
|
|
10
10
|
|
|
11
11
|
var getYoutubeId = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
12
12
|
(function (root, factory) {
|
package/dist/cjs/YoutubeGroup.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('./_commonjsHelpers-06173234.js');
|
|
3
4
|
require('react');
|
|
4
|
-
require('./_commonjsHelpers-3fc1f64e.js');
|
|
5
5
|
require('prop-types');
|
|
6
6
|
require('next/link');
|
|
7
7
|
require('react-dom');
|
|
8
|
-
require('./index-
|
|
9
|
-
var YoutubeGroup = require('./YoutubeGroup-
|
|
8
|
+
require('./index-fa0fb52c.js');
|
|
9
|
+
var YoutubeGroup = require('./YoutubeGroup-fd44f8a0.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -14,7 +14,12 @@ function createCommonjsModule(fn, module) {
|
|
|
14
14
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
function getCjsExportFromNamespace (n) {
|
|
18
|
+
return n && n['default'] || n;
|
|
19
|
+
}
|
|
20
|
+
|
|
17
21
|
exports.commonjsGlobal = commonjsGlobal;
|
|
18
22
|
exports.commonjsRequire = commonjsRequire;
|
|
19
23
|
exports.createCommonjsModule = createCommonjsModule;
|
|
24
|
+
exports.getCjsExportFromNamespace = getCjsExportFromNamespace;
|
|
20
25
|
exports.unwrapExports = unwrapExports;
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
+
|
|
5
|
+
// 7.1.4 ToInteger
|
|
6
|
+
var ceil = Math.ceil;
|
|
7
|
+
var floor = Math.floor;
|
|
8
|
+
var _toInteger = function (it) {
|
|
9
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
// 7.2.1 RequireObjectCoercible(argument)
|
|
13
|
+
var _defined = function (it) {
|
|
14
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
15
|
+
return it;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var _global = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
19
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
20
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
21
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
22
|
+
// eslint-disable-next-line no-new-func
|
|
23
|
+
: Function('return this')();
|
|
24
|
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
var _core = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
28
|
+
var core = module.exports = { version: '2.6.11' };
|
|
29
|
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
30
|
+
});
|
|
31
|
+
var _core_1 = _core.version;
|
|
32
|
+
|
|
33
|
+
var _aFunction = function (it) {
|
|
34
|
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
|
35
|
+
return it;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// optional / simple context binding
|
|
39
|
+
|
|
40
|
+
var _ctx = function (fn, that, length) {
|
|
41
|
+
_aFunction(fn);
|
|
42
|
+
if (that === undefined) return fn;
|
|
43
|
+
switch (length) {
|
|
44
|
+
case 1: return function (a) {
|
|
45
|
+
return fn.call(that, a);
|
|
46
|
+
};
|
|
47
|
+
case 2: return function (a, b) {
|
|
48
|
+
return fn.call(that, a, b);
|
|
49
|
+
};
|
|
50
|
+
case 3: return function (a, b, c) {
|
|
51
|
+
return fn.call(that, a, b, c);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
return function (/* ...args */) {
|
|
55
|
+
return fn.apply(that, arguments);
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
var _isObject = function (it) {
|
|
60
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
var _anObject = function (it) {
|
|
64
|
+
if (!_isObject(it)) throw TypeError(it + ' is not an object!');
|
|
65
|
+
return it;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
var _fails = function (exec) {
|
|
69
|
+
try {
|
|
70
|
+
return !!exec();
|
|
71
|
+
} catch (e) {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Thank's IE8 for his funny defineProperty
|
|
77
|
+
var _descriptors = !_fails(function () {
|
|
78
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
var document = _global.document;
|
|
82
|
+
// typeof document.createElement is 'object' in old IE
|
|
83
|
+
var is = _isObject(document) && _isObject(document.createElement);
|
|
84
|
+
var _domCreate = function (it) {
|
|
85
|
+
return is ? document.createElement(it) : {};
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
89
|
+
return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
93
|
+
|
|
94
|
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
95
|
+
// and the second argument - flag - preferred type is a string
|
|
96
|
+
var _toPrimitive = function (it, S) {
|
|
97
|
+
if (!_isObject(it)) return it;
|
|
98
|
+
var fn, val;
|
|
99
|
+
if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
100
|
+
if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
101
|
+
if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
102
|
+
throw TypeError("Can't convert object to primitive value");
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
var dP = Object.defineProperty;
|
|
106
|
+
|
|
107
|
+
var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
108
|
+
_anObject(O);
|
|
109
|
+
P = _toPrimitive(P, true);
|
|
110
|
+
_anObject(Attributes);
|
|
111
|
+
if (_ie8DomDefine) try {
|
|
112
|
+
return dP(O, P, Attributes);
|
|
113
|
+
} catch (e) { /* empty */ }
|
|
114
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
115
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
116
|
+
return O;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
var _objectDp = {
|
|
120
|
+
f: f
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
var _propertyDesc = function (bitmap, value) {
|
|
124
|
+
return {
|
|
125
|
+
enumerable: !(bitmap & 1),
|
|
126
|
+
configurable: !(bitmap & 2),
|
|
127
|
+
writable: !(bitmap & 4),
|
|
128
|
+
value: value
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
var _hide = _descriptors ? function (object, key, value) {
|
|
133
|
+
return _objectDp.f(object, key, _propertyDesc(1, value));
|
|
134
|
+
} : function (object, key, value) {
|
|
135
|
+
object[key] = value;
|
|
136
|
+
return object;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
140
|
+
var _has = function (it, key) {
|
|
141
|
+
return hasOwnProperty.call(it, key);
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
var PROTOTYPE = 'prototype';
|
|
145
|
+
|
|
146
|
+
var $export = function (type, name, source) {
|
|
147
|
+
var IS_FORCED = type & $export.F;
|
|
148
|
+
var IS_GLOBAL = type & $export.G;
|
|
149
|
+
var IS_STATIC = type & $export.S;
|
|
150
|
+
var IS_PROTO = type & $export.P;
|
|
151
|
+
var IS_BIND = type & $export.B;
|
|
152
|
+
var IS_WRAP = type & $export.W;
|
|
153
|
+
var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
|
|
154
|
+
var expProto = exports[PROTOTYPE];
|
|
155
|
+
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
|
|
156
|
+
var key, own, out;
|
|
157
|
+
if (IS_GLOBAL) source = name;
|
|
158
|
+
for (key in source) {
|
|
159
|
+
// contains in native
|
|
160
|
+
own = !IS_FORCED && target && target[key] !== undefined;
|
|
161
|
+
if (own && _has(exports, key)) continue;
|
|
162
|
+
// export native or passed
|
|
163
|
+
out = own ? target[key] : source[key];
|
|
164
|
+
// prevent global pollution for namespaces
|
|
165
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
|
166
|
+
// bind timers to global for call from export context
|
|
167
|
+
: IS_BIND && own ? _ctx(out, _global)
|
|
168
|
+
// wrap global constructors for prevent change them in library
|
|
169
|
+
: IS_WRAP && target[key] == out ? (function (C) {
|
|
170
|
+
var F = function (a, b, c) {
|
|
171
|
+
if (this instanceof C) {
|
|
172
|
+
switch (arguments.length) {
|
|
173
|
+
case 0: return new C();
|
|
174
|
+
case 1: return new C(a);
|
|
175
|
+
case 2: return new C(a, b);
|
|
176
|
+
} return new C(a, b, c);
|
|
177
|
+
} return C.apply(this, arguments);
|
|
178
|
+
};
|
|
179
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
|
180
|
+
return F;
|
|
181
|
+
// make static versions for prototype methods
|
|
182
|
+
})(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
|
|
183
|
+
// export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
|
|
184
|
+
if (IS_PROTO) {
|
|
185
|
+
(exports.virtual || (exports.virtual = {}))[key] = out;
|
|
186
|
+
// export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
|
|
187
|
+
if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
// type bitmap
|
|
192
|
+
$export.F = 1; // forced
|
|
193
|
+
$export.G = 2; // global
|
|
194
|
+
$export.S = 4; // static
|
|
195
|
+
$export.P = 8; // proto
|
|
196
|
+
$export.B = 16; // bind
|
|
197
|
+
$export.W = 32; // wrap
|
|
198
|
+
$export.U = 64; // safe
|
|
199
|
+
$export.R = 128; // real proto method for `library`
|
|
200
|
+
var _export = $export;
|
|
201
|
+
|
|
202
|
+
var toString = {}.toString;
|
|
203
|
+
|
|
204
|
+
var _cof = function (it) {
|
|
205
|
+
return toString.call(it).slice(8, -1);
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
209
|
+
|
|
210
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
211
|
+
var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
212
|
+
return _cof(it) == 'String' ? it.split('') : Object(it);
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
var _toIobject = function (it) {
|
|
219
|
+
return _iobject(_defined(it));
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
// 7.1.15 ToLength
|
|
223
|
+
|
|
224
|
+
var min = Math.min;
|
|
225
|
+
var _toLength = function (it) {
|
|
226
|
+
return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
var max = Math.max;
|
|
230
|
+
var min$1 = Math.min;
|
|
231
|
+
var _toAbsoluteIndex = function (index, length) {
|
|
232
|
+
index = _toInteger(index);
|
|
233
|
+
return index < 0 ? max(index + length, 0) : min$1(index, length);
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
// false -> Array#indexOf
|
|
237
|
+
// true -> Array#includes
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
var _arrayIncludes = function (IS_INCLUDES) {
|
|
242
|
+
return function ($this, el, fromIndex) {
|
|
243
|
+
var O = _toIobject($this);
|
|
244
|
+
var length = _toLength(O.length);
|
|
245
|
+
var index = _toAbsoluteIndex(fromIndex, length);
|
|
246
|
+
var value;
|
|
247
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
248
|
+
// eslint-disable-next-line no-self-compare
|
|
249
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
250
|
+
value = O[index++];
|
|
251
|
+
// eslint-disable-next-line no-self-compare
|
|
252
|
+
if (value != value) return true;
|
|
253
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
254
|
+
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
|
|
255
|
+
if (O[index] === el) return IS_INCLUDES || index || 0;
|
|
256
|
+
} return !IS_INCLUDES && -1;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
var _shared = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
261
|
+
var SHARED = '__core-js_shared__';
|
|
262
|
+
var store = _global[SHARED] || (_global[SHARED] = {});
|
|
263
|
+
|
|
264
|
+
(module.exports = function (key, value) {
|
|
265
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
266
|
+
})('versions', []).push({
|
|
267
|
+
version: _core.version,
|
|
268
|
+
mode: 'pure' ,
|
|
269
|
+
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
var id = 0;
|
|
274
|
+
var px = Math.random();
|
|
275
|
+
var _uid = function (key) {
|
|
276
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
var shared = _shared('keys');
|
|
280
|
+
|
|
281
|
+
var _sharedKey = function (key) {
|
|
282
|
+
return shared[key] || (shared[key] = _uid(key));
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
var arrayIndexOf = _arrayIncludes(false);
|
|
286
|
+
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
287
|
+
|
|
288
|
+
var _objectKeysInternal = function (object, names) {
|
|
289
|
+
var O = _toIobject(object);
|
|
290
|
+
var i = 0;
|
|
291
|
+
var result = [];
|
|
292
|
+
var key;
|
|
293
|
+
for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
|
|
294
|
+
// Don't enum bug & hidden keys
|
|
295
|
+
while (names.length > i) if (_has(O, key = names[i++])) {
|
|
296
|
+
~arrayIndexOf(result, key) || result.push(key);
|
|
297
|
+
}
|
|
298
|
+
return result;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
// IE 8- don't enum bug keys
|
|
302
|
+
var _enumBugKeys = (
|
|
303
|
+
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
|
|
304
|
+
).split(',');
|
|
305
|
+
|
|
306
|
+
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
var _objectKeys = Object.keys || function keys(O) {
|
|
311
|
+
return _objectKeysInternal(O, _enumBugKeys);
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
// 7.1.13 ToObject(argument)
|
|
315
|
+
|
|
316
|
+
var _toObject = function (it) {
|
|
317
|
+
return Object(_defined(it));
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
exports._aFunction = _aFunction;
|
|
321
|
+
exports._anObject = _anObject;
|
|
322
|
+
exports._cof = _cof;
|
|
323
|
+
exports._core = _core;
|
|
324
|
+
exports._ctx = _ctx;
|
|
325
|
+
exports._defined = _defined;
|
|
326
|
+
exports._descriptors = _descriptors;
|
|
327
|
+
exports._domCreate = _domCreate;
|
|
328
|
+
exports._enumBugKeys = _enumBugKeys;
|
|
329
|
+
exports._export = _export;
|
|
330
|
+
exports._fails = _fails;
|
|
331
|
+
exports._global = _global;
|
|
332
|
+
exports._has = _has;
|
|
333
|
+
exports._hide = _hide;
|
|
334
|
+
exports._ie8DomDefine = _ie8DomDefine;
|
|
335
|
+
exports._iobject = _iobject;
|
|
336
|
+
exports._isObject = _isObject;
|
|
337
|
+
exports._objectDp = _objectDp;
|
|
338
|
+
exports._objectKeys = _objectKeys;
|
|
339
|
+
exports._objectKeysInternal = _objectKeysInternal;
|
|
340
|
+
exports._propertyDesc = _propertyDesc;
|
|
341
|
+
exports._shared = _shared;
|
|
342
|
+
exports._sharedKey = _sharedKey;
|
|
343
|
+
exports._toInteger = _toInteger;
|
|
344
|
+
exports._toIobject = _toIobject;
|
|
345
|
+
exports._toLength = _toLength;
|
|
346
|
+
exports._toObject = _toObject;
|
|
347
|
+
exports._toPrimitive = _toPrimitive;
|
|
348
|
+
exports._uid = _uid;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _toObject = require('./_to-object-329a650b.js');
|
|
4
|
+
var web_dom_iterable = require('./web.dom.iterable-0998bdc3.js');
|
|
5
|
+
|
|
6
|
+
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
7
|
+
|
|
8
|
+
var TAG = web_dom_iterable._wks('toStringTag');
|
|
9
|
+
// ES3 wrong here
|
|
10
|
+
var ARG = _toObject._cof(function () { return arguments; }()) == 'Arguments';
|
|
11
|
+
|
|
12
|
+
// fallback for IE11 Script Access Denied error
|
|
13
|
+
var tryGet = function (it, key) {
|
|
14
|
+
try {
|
|
15
|
+
return it[key];
|
|
16
|
+
} catch (e) { /* empty */ }
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
var _classof = function (it) {
|
|
20
|
+
var O, T, B;
|
|
21
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
22
|
+
// @@toStringTag case
|
|
23
|
+
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
24
|
+
// builtinTag case
|
|
25
|
+
: ARG ? _toObject._cof(O)
|
|
26
|
+
// ES3 arguments fallback
|
|
27
|
+
: (B = _toObject._cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var ITERATOR = web_dom_iterable._wks('iterator');
|
|
31
|
+
|
|
32
|
+
var core_getIteratorMethod = _toObject._core.getIteratorMethod = function (it) {
|
|
33
|
+
if (it != undefined) return it[ITERATOR]
|
|
34
|
+
|| it['@@iterator']
|
|
35
|
+
|| web_dom_iterable._iterators[_classof(it)];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
exports._classof = _classof;
|
|
39
|
+
exports.core_getIteratorMethod = core_getIteratorMethod;
|