@mjhls/mjh-framework 1.0.1036 → 1.0.1037
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/AlgoliaSearch.js +113 -49
- package/dist/cjs/AuthWrapper.js +89 -19
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
- package/dist/cjs/MediaSeriesLanding.js +2 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +1 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
- package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-71754b2a.js} +248 -206
- package/dist/cjs/View.js +7 -0
- package/dist/cjs/index-b95410f0.js +54 -0
- package/dist/cjs/index.js +2 -4
- package/dist/esm/AlgoliaSearch.js +100 -36
- package/dist/esm/AuthWrapper.js +86 -16
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-da225417.js} +157 -117
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +2 -2
- package/dist/esm/PartnerDetailListing.js +1 -2
- package/dist/esm/PartnerDetailListingPaginated.js +1 -2
- package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-8307d9d1.js} +43 -1
- package/dist/esm/View.js +7 -0
- package/dist/esm/index-174b5baf.js +52 -0
- package/dist/esm/index.js +2 -4
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/typeof-2f07d0e8.js +0 -30
package/dist/cjs/View.js
CHANGED
|
@@ -1729,10 +1729,17 @@ var Article = React__default["default"].memo(React.forwardRef(function (props, r
|
|
|
1729
1729
|
null,
|
|
1730
1730
|
article.title && React__default["default"].createElement('meta', { name: 'citation_title', content: article.title }),
|
|
1731
1731
|
published && React__default["default"].createElement('meta', { name: 'citation_date', content: moment.moment(published).format('LL') }),
|
|
1732
|
+
issue.publication && issue.publication.name && React__default["default"].createElement('meta', { name: 'citation_journal_title', content: issue.publication.name }),
|
|
1732
1733
|
issue.year && React__default["default"].createElement('meta', { name: 'citation_year', content: issue.year }),
|
|
1734
|
+
issue.volume && React__default["default"].createElement('meta', { name: 'citation_volume', content: issue.volume }),
|
|
1735
|
+
issue.issueNumber && React__default["default"].createElement('meta', { name: 'citation_issue', content: issue.issueNumber }),
|
|
1736
|
+
article.pageNumber && React__default["default"].createElement('meta', { name: 'citation_firstpage', content: article.pageNumber }),
|
|
1737
|
+
article.pageNumber && React__default["default"].createElement('meta', { name: 'citation_lastpage', content: article.pageNumber }),
|
|
1738
|
+
issue.name && React__default["default"].createElement('meta', { name: 'citation_series_title', content: issue.name }),
|
|
1733
1739
|
issue.isbn_issn && React__default["default"].createElement('meta', { name: 'citation_isbn', content: issue.isbn_issn }),
|
|
1734
1740
|
article.abstract && React__default["default"].createElement('meta', { name: 'citation_abstract', content: getAbstract() }),
|
|
1735
1741
|
React__default["default"].createElement('meta', { name: 'citation_author', content: getAuthorList() }),
|
|
1742
|
+
React__default["default"].createElement('meta', { name: 'citation_publisher', content: 'MJH Life Sciences' }),
|
|
1736
1743
|
issue.pdf && React__default["default"].createElement('meta', { name: 'citation_pdf_url', content: urlForFile.urlForFile({ asset: issue.pdf }, baseUrl) })
|
|
1737
1744
|
),
|
|
1738
1745
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
+
|
|
5
|
+
var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
6
|
+
/*!
|
|
7
|
+
Copyright (c) 2017 Jed Watson.
|
|
8
|
+
Licensed under the MIT License (MIT), see
|
|
9
|
+
http://jedwatson.github.io/classnames
|
|
10
|
+
*/
|
|
11
|
+
/* global define */
|
|
12
|
+
|
|
13
|
+
(function () {
|
|
14
|
+
|
|
15
|
+
var hasOwn = {}.hasOwnProperty;
|
|
16
|
+
|
|
17
|
+
function classNames () {
|
|
18
|
+
var classes = [];
|
|
19
|
+
|
|
20
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
21
|
+
var arg = arguments[i];
|
|
22
|
+
if (!arg) continue;
|
|
23
|
+
|
|
24
|
+
var argType = typeof arg;
|
|
25
|
+
|
|
26
|
+
if (argType === 'string' || argType === 'number') {
|
|
27
|
+
classes.push(arg);
|
|
28
|
+
} else if (Array.isArray(arg) && arg.length) {
|
|
29
|
+
var inner = classNames.apply(null, arg);
|
|
30
|
+
if (inner) {
|
|
31
|
+
classes.push(inner);
|
|
32
|
+
}
|
|
33
|
+
} else if (argType === 'object') {
|
|
34
|
+
for (var key in arg) {
|
|
35
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
36
|
+
classes.push(key);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return classes.join(' ');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (module.exports) {
|
|
46
|
+
classNames.default = classNames;
|
|
47
|
+
module.exports = classNames;
|
|
48
|
+
} else {
|
|
49
|
+
window.classNames = classNames;
|
|
50
|
+
}
|
|
51
|
+
}());
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
exports.classnames = classnames;
|
package/dist/cjs/index.js
CHANGED
|
@@ -157,8 +157,7 @@ require('./_object-to-array-9337ba83.js');
|
|
|
157
157
|
require('react-bootstrap/Spinner');
|
|
158
158
|
require('react-bootstrap/Form');
|
|
159
159
|
require('./js.cookie-a511c430.js');
|
|
160
|
-
require('./
|
|
161
|
-
require('./index-50be6759.js');
|
|
160
|
+
require('./index-b95410f0.js');
|
|
162
161
|
require('./ConferenceBanner-213003ce.js');
|
|
163
162
|
require('next/head');
|
|
164
163
|
require('@mjhls/mjh-framework/dist/cjs/urlFor');
|
|
@@ -200,8 +199,7 @@ require('./SeriesSlider-086a8319.js');
|
|
|
200
199
|
require('./style-inject.es-dcee06b6.js');
|
|
201
200
|
require('disqus-react');
|
|
202
201
|
require('react-twitter-embed');
|
|
203
|
-
require('./ImageSlider-
|
|
204
|
-
require('./defineProperty-e0fb52c5.js');
|
|
202
|
+
require('./ImageSlider-d65bc9c8.js');
|
|
205
203
|
require('./VideoSeriesCard.js');
|
|
206
204
|
|
|
207
205
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { _ as _extends$1 } from './extends-1559c147.js';
|
|
2
2
|
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-d21b4ef9.js';
|
|
3
|
-
import { _ as _typeof$
|
|
3
|
+
import { _ as _typeof$1 } from './typeof-657f25da.js';
|
|
4
4
|
import React__default, { createContext, Component, Fragment, Children, version as version$2 } from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import {
|
|
7
|
-
import { _ as _objectWithoutPropertiesLoose$1, a as _setPrototypeOf, b as _extends, c as classnames } from './index-98ca9cec.js';
|
|
6
|
+
import { c as classnames } from './index-174b5baf.js';
|
|
8
7
|
import { DropdownButton } from 'react-bootstrap';
|
|
9
8
|
import urlFor from './urlFor.js';
|
|
10
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
@@ -20,6 +19,39 @@ import './slicedToArray-6ebcbfea.js';
|
|
|
20
19
|
import './index-3f5c03b2.js';
|
|
21
20
|
import 'react-dom';
|
|
22
21
|
|
|
22
|
+
function _extends() {
|
|
23
|
+
_extends = Object.assign || function (target) {
|
|
24
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
25
|
+
var source = arguments[i];
|
|
26
|
+
|
|
27
|
+
for (var key in source) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
29
|
+
target[key] = source[key];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return target;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
return _extends.apply(this, arguments);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
41
|
+
if (source == null) return {};
|
|
42
|
+
var target = {};
|
|
43
|
+
var sourceKeys = Object.keys(source);
|
|
44
|
+
var key, i;
|
|
45
|
+
|
|
46
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
47
|
+
key = sourceKeys[i];
|
|
48
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
49
|
+
target[key] = source[key];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return target;
|
|
53
|
+
}
|
|
54
|
+
|
|
23
55
|
function _objectWithoutProperties(source, excluded) {
|
|
24
56
|
if (source == null) return {};
|
|
25
57
|
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
@@ -69,6 +101,15 @@ function _assertThisInitialized(self) {
|
|
|
69
101
|
return self;
|
|
70
102
|
}
|
|
71
103
|
|
|
104
|
+
function _setPrototypeOf(o, p) {
|
|
105
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
106
|
+
o.__proto__ = p;
|
|
107
|
+
return o;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
return _setPrototypeOf(o, p);
|
|
111
|
+
}
|
|
112
|
+
|
|
72
113
|
function _inherits(subClass, superClass) {
|
|
73
114
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
74
115
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -84,11 +125,25 @@ function _inherits(subClass, superClass) {
|
|
|
84
125
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
85
126
|
}
|
|
86
127
|
|
|
128
|
+
function _typeof(obj) {
|
|
129
|
+
"@babel/helpers - typeof";
|
|
130
|
+
|
|
131
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
132
|
+
_typeof = function _typeof(obj) {
|
|
133
|
+
return typeof obj;
|
|
134
|
+
};
|
|
135
|
+
} else {
|
|
136
|
+
_typeof = function _typeof(obj) {
|
|
137
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return _typeof(obj);
|
|
142
|
+
}
|
|
143
|
+
|
|
87
144
|
function _possibleConstructorReturn(self, call) {
|
|
88
|
-
if (call && (_typeof
|
|
145
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
89
146
|
return call;
|
|
90
|
-
} else if (call !== void 0) {
|
|
91
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
92
147
|
}
|
|
93
148
|
|
|
94
149
|
return _assertThisInitialized(self);
|
|
@@ -251,22 +306,6 @@ var reactFastCompare = function isEqual(a, b) {
|
|
|
251
306
|
}
|
|
252
307
|
};
|
|
253
308
|
|
|
254
|
-
function _typeof(obj) {
|
|
255
|
-
"@babel/helpers - typeof";
|
|
256
|
-
|
|
257
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
258
|
-
_typeof = function _typeof(obj) {
|
|
259
|
-
return typeof obj;
|
|
260
|
-
};
|
|
261
|
-
} else {
|
|
262
|
-
_typeof = function _typeof(obj) {
|
|
263
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
return _typeof(obj);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
309
|
function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
271
310
|
|
|
272
311
|
function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$f(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -819,7 +858,7 @@ function parseAlgoliaHit(_ref2) {
|
|
|
819
858
|
});
|
|
820
859
|
}
|
|
821
860
|
|
|
822
|
-
var version$1 = '6.
|
|
861
|
+
var version$1 = '6.18.0';
|
|
823
862
|
|
|
824
863
|
function _createSuper$p(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$p(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
825
864
|
|
|
@@ -830,6 +869,7 @@ var withKeysPropType = function withKeysPropType(keys) {
|
|
|
830
869
|
var prop = props[propName];
|
|
831
870
|
|
|
832
871
|
if (prop) {
|
|
872
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
833
873
|
for (var _i = 0, _Object$keys = Object.keys(prop); _i < _Object$keys.length; _i++) {
|
|
834
874
|
var key = _Object$keys[_i];
|
|
835
875
|
|
|
@@ -1262,7 +1302,7 @@ function _arrayWithoutHoles(arr) {
|
|
|
1262
1302
|
}
|
|
1263
1303
|
|
|
1264
1304
|
function _iterableToArray(iter) {
|
|
1265
|
-
if (typeof Symbol !== "undefined" &&
|
|
1305
|
+
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
|
1266
1306
|
}
|
|
1267
1307
|
|
|
1268
1308
|
function _unsupportedIterableToArray(o, minLen) {
|
|
@@ -6752,15 +6792,19 @@ ConfigureRelatedItems.propTypes = {
|
|
|
6752
6792
|
};
|
|
6753
6793
|
connectConfigureRelatedItems(ConfigureRelatedItems);
|
|
6754
6794
|
|
|
6795
|
+
var MAX_WILDCARD_FACETS = 20;
|
|
6755
6796
|
var connectDynamicWidgets = createConnectorWithContext({
|
|
6756
6797
|
displayName: 'AlgoliaDynamicWidgets',
|
|
6757
6798
|
defaultProps: {
|
|
6758
6799
|
transformItems: function transformItems(items) {
|
|
6759
6800
|
return items;
|
|
6760
|
-
}
|
|
6801
|
+
},
|
|
6802
|
+
maxValuesPerFacet: 20
|
|
6761
6803
|
},
|
|
6762
6804
|
propTypes: {
|
|
6763
|
-
transformItems: PropTypes.func
|
|
6805
|
+
transformItems: PropTypes.func,
|
|
6806
|
+
facets: PropTypes.arrayOf(PropTypes.string),
|
|
6807
|
+
maxValuesPerFacet: PropTypes.number
|
|
6764
6808
|
},
|
|
6765
6809
|
getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {
|
|
6766
6810
|
var results = getResults(searchResults, {
|
|
@@ -6768,6 +6812,10 @@ var connectDynamicWidgets = createConnectorWithContext({
|
|
|
6768
6812
|
multiIndexContext: props.indexContextValue
|
|
6769
6813
|
});
|
|
6770
6814
|
|
|
6815
|
+
if (props.facets && !(Array.isArray(props.facets) && props.facets.length <= 1 && (props.facets[0] === '*' || props.facets[0] === undefined))) {
|
|
6816
|
+
throw new Error("The `facets` prop only accepts [] or [\"*\"], you passed ".concat(JSON.stringify(props.facets)));
|
|
6817
|
+
}
|
|
6818
|
+
|
|
6771
6819
|
if (!results) {
|
|
6772
6820
|
return {
|
|
6773
6821
|
attributesToRender: []
|
|
@@ -6775,11 +6823,30 @@ var connectDynamicWidgets = createConnectorWithContext({
|
|
|
6775
6823
|
}
|
|
6776
6824
|
|
|
6777
6825
|
var facetOrder = results.renderingContent && results.renderingContent.facetOrdering && results.renderingContent.facetOrdering.facets && results.renderingContent.facetOrdering.facets.order || [];
|
|
6826
|
+
var attributesToRender = props.transformItems(facetOrder, {
|
|
6827
|
+
results: results
|
|
6828
|
+
});
|
|
6829
|
+
|
|
6830
|
+
if (attributesToRender.length > MAX_WILDCARD_FACETS && !props.facets) {
|
|
6831
|
+
// eslint-disable-next-line no-console
|
|
6832
|
+
console.warn("More than ".concat(MAX_WILDCARD_FACETS, " facets are requested to be displayed without explicitly setting which facets to retrieve. This could have a performance impact. Set \"facets\" to [] to do two smaller network requests, or explicitly to ['*'] to avoid this warning."));
|
|
6833
|
+
}
|
|
6834
|
+
|
|
6835
|
+
if (props.maxValuesPerFacet < results._state.maxValuesPerFacet) {
|
|
6836
|
+
// eslint-disable-next-line no-console
|
|
6837
|
+
console.warn("The maxValuesPerFacet set by dynamic widgets (".concat(props.maxValuesPerFacet, ") is smaller than one of the limits set by a widget (").concat(results._state.maxValuesPerFacet, "). This causes a mismatch in query parameters and thus an extra network request when that widget is mounted."));
|
|
6838
|
+
}
|
|
6839
|
+
|
|
6778
6840
|
return {
|
|
6779
|
-
attributesToRender:
|
|
6780
|
-
results: results
|
|
6781
|
-
})
|
|
6841
|
+
attributesToRender: attributesToRender
|
|
6782
6842
|
};
|
|
6843
|
+
},
|
|
6844
|
+
getSearchParameters: function getSearchParameters(searchParameters, props) {
|
|
6845
|
+
return (props.facets || ['*']).reduce(function (acc, curr) {
|
|
6846
|
+
return acc.addFacet(curr);
|
|
6847
|
+
}, searchParameters.setQueryParameters({
|
|
6848
|
+
maxValuesPerFacet: Math.max(props.maxValuesPerFacet || 0, searchParameters.maxValuesPerFacet || 0)
|
|
6849
|
+
}));
|
|
6783
6850
|
}
|
|
6784
6851
|
});
|
|
6785
6852
|
|
|
@@ -9067,17 +9134,14 @@ function _arrayWithHoles(arr) {
|
|
|
9067
9134
|
}
|
|
9068
9135
|
|
|
9069
9136
|
function _iterableToArrayLimit(arr, i) {
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
if (_i == null) return;
|
|
9137
|
+
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
|
|
9073
9138
|
var _arr = [];
|
|
9074
9139
|
var _n = true;
|
|
9075
9140
|
var _d = false;
|
|
9076
|
-
|
|
9077
|
-
var _s, _e;
|
|
9141
|
+
var _e = undefined;
|
|
9078
9142
|
|
|
9079
9143
|
try {
|
|
9080
|
-
for (_i =
|
|
9144
|
+
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
|
9081
9145
|
_arr.push(_s.value);
|
|
9082
9146
|
|
|
9083
9147
|
if (i && _arr.length === i) break;
|
|
@@ -14843,7 +14907,7 @@ var imageDiv = function imageDiv(hit, styles, client, siteType, defaultImage, va
|
|
|
14843
14907
|
LazyLoad,
|
|
14844
14908
|
{ once: true },
|
|
14845
14909
|
React__default.createElement('img', {
|
|
14846
|
-
src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$
|
|
14910
|
+
src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$1(hit.thumbnail === 'string') ? hit.thumbnail : defaultImage
|
|
14847
14911
|
})
|
|
14848
14912
|
)
|
|
14849
14913
|
)
|
package/dist/esm/AuthWrapper.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { a as _typeof_1 } from './typeof-2f07d0e8.js';
|
|
4
|
-
import { d as defineProperty, b as asyncToGenerator } from './defineProperty-23a8f8cd.js';
|
|
5
3
|
import React__default, { useState, useEffect } from 'react';
|
|
6
4
|
import { Form } from 'react-bootstrap';
|
|
7
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -15,12 +13,27 @@ function _interopRequireDefault(obj) {
|
|
|
15
13
|
};
|
|
16
14
|
}
|
|
17
15
|
|
|
18
|
-
module.exports = _interopRequireDefault;
|
|
19
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
16
|
+
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
20
17
|
});
|
|
21
18
|
|
|
22
19
|
unwrapExports(interopRequireDefault);
|
|
23
20
|
|
|
21
|
+
var _typeof_1 = createCommonjsModule(function (module) {
|
|
22
|
+
function _typeof(obj) {
|
|
23
|
+
"@babel/helpers - typeof";
|
|
24
|
+
|
|
25
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
26
|
+
return typeof obj;
|
|
27
|
+
} : function (obj) {
|
|
28
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
29
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
unwrapExports(_typeof_1);
|
|
36
|
+
|
|
24
37
|
var runtime_1 = createCommonjsModule(function (module) {
|
|
25
38
|
/**
|
|
26
39
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
@@ -779,13 +792,75 @@ try {
|
|
|
779
792
|
|
|
780
793
|
var regenerator = runtime_1;
|
|
781
794
|
|
|
795
|
+
var defineProperty = createCommonjsModule(function (module) {
|
|
796
|
+
function _defineProperty(obj, key, value) {
|
|
797
|
+
if (key in obj) {
|
|
798
|
+
Object.defineProperty(obj, key, {
|
|
799
|
+
value: value,
|
|
800
|
+
enumerable: true,
|
|
801
|
+
configurable: true,
|
|
802
|
+
writable: true
|
|
803
|
+
});
|
|
804
|
+
} else {
|
|
805
|
+
obj[key] = value;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
return obj;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
812
|
+
});
|
|
813
|
+
|
|
814
|
+
unwrapExports(defineProperty);
|
|
815
|
+
|
|
816
|
+
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
817
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
818
|
+
try {
|
|
819
|
+
var info = gen[key](arg);
|
|
820
|
+
var value = info.value;
|
|
821
|
+
} catch (error) {
|
|
822
|
+
reject(error);
|
|
823
|
+
return;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
if (info.done) {
|
|
827
|
+
resolve(value);
|
|
828
|
+
} else {
|
|
829
|
+
Promise.resolve(value).then(_next, _throw);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
function _asyncToGenerator(fn) {
|
|
834
|
+
return function () {
|
|
835
|
+
var self = this,
|
|
836
|
+
args = arguments;
|
|
837
|
+
return new Promise(function (resolve, reject) {
|
|
838
|
+
var gen = fn.apply(self, args);
|
|
839
|
+
|
|
840
|
+
function _next(value) {
|
|
841
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
function _throw(err) {
|
|
845
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
_next(undefined);
|
|
849
|
+
});
|
|
850
|
+
};
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
854
|
+
});
|
|
855
|
+
|
|
856
|
+
unwrapExports(asyncToGenerator);
|
|
857
|
+
|
|
782
858
|
var arrayWithHoles = createCommonjsModule(function (module) {
|
|
783
859
|
function _arrayWithHoles(arr) {
|
|
784
860
|
if (Array.isArray(arr)) return arr;
|
|
785
861
|
}
|
|
786
862
|
|
|
787
|
-
module.exports = _arrayWithHoles;
|
|
788
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
863
|
+
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
789
864
|
});
|
|
790
865
|
|
|
791
866
|
unwrapExports(arrayWithHoles);
|
|
@@ -821,8 +896,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
821
896
|
return _arr;
|
|
822
897
|
}
|
|
823
898
|
|
|
824
|
-
module.exports = _iterableToArrayLimit;
|
|
825
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
899
|
+
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
826
900
|
});
|
|
827
901
|
|
|
828
902
|
unwrapExports(iterableToArrayLimit);
|
|
@@ -838,8 +912,7 @@ function _arrayLikeToArray(arr, len) {
|
|
|
838
912
|
return arr2;
|
|
839
913
|
}
|
|
840
914
|
|
|
841
|
-
module.exports = _arrayLikeToArray;
|
|
842
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
915
|
+
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
843
916
|
});
|
|
844
917
|
|
|
845
918
|
unwrapExports(arrayLikeToArray);
|
|
@@ -854,8 +927,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
854
927
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
|
|
855
928
|
}
|
|
856
929
|
|
|
857
|
-
module.exports = _unsupportedIterableToArray;
|
|
858
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
930
|
+
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
859
931
|
});
|
|
860
932
|
|
|
861
933
|
unwrapExports(unsupportedIterableToArray);
|
|
@@ -865,8 +937,7 @@ function _nonIterableRest() {
|
|
|
865
937
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
866
938
|
}
|
|
867
939
|
|
|
868
|
-
module.exports = _nonIterableRest;
|
|
869
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
940
|
+
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
870
941
|
});
|
|
871
942
|
|
|
872
943
|
unwrapExports(nonIterableRest);
|
|
@@ -876,8 +947,7 @@ function _slicedToArray(arr, i) {
|
|
|
876
947
|
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
|
877
948
|
}
|
|
878
949
|
|
|
879
|
-
module.exports = _slicedToArray;
|
|
880
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
950
|
+
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
881
951
|
});
|
|
882
952
|
|
|
883
953
|
unwrapExports(slicedToArray);
|