@spothero/ui 13.10.1 → 14.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/CHANGELOG.tmp +4 -4
- package/backlog/Alert/Alert.js +1 -4
- package/backlog/AutoSuggestInput/AutoSuggestInput.js +11 -18
- package/backlog/AutoSuggestInput/AutoSuggestItem.js +7 -10
- package/backlog/AutoSuggestInput/AutoSuggestList.js +9 -12
- package/backlog/Badge/Badge.js +1 -4
- package/backlog/Chart/Chart.js +11 -18
- package/backlog/Checkbox/Checkbox.js +7 -10
- package/backlog/DateTime/DatePicker.js +7 -10
- package/backlog/DateTime/DatePickerCalendar.js +7 -10
- package/backlog/DateTime/DatePickerCalendarNavigation.js +7 -10
- package/backlog/DateTime/DatePickerCalendarWithRange.js +11 -18
- package/backlog/DateTime/DateTimePicker.js +7 -10
- package/backlog/DateTime/DateTimeRangePicker.js +12 -21
- package/backlog/DateTime/TimePicker.js +7 -10
- package/backlog/DateTime/date-time-assertions.js +1 -4
- package/backlog/DateTime/index.js +7 -15
- package/backlog/ErrorBoundary/ErrorBoundary.js +7 -10
- package/backlog/Flyout/Flyout.js +11 -21
- package/backlog/Form/Form.js +8 -13
- package/backlog/Form/FormElementError.js +1 -4
- package/backlog/Form/FormGroup.js +1 -4
- package/backlog/Form/FormGroupError.js +1 -4
- package/backlog/Form/index.js +5 -11
- package/backlog/GooglePlacesSearchInput/GooglePlacesSearchInput.js +11 -18
- package/backlog/GooglePlacesSearchInput/PoweredByGoogle.js +1 -4
- package/backlog/GooglePlacesSearchInput/index.js +3 -7
- package/backlog/HorizontalRule/HorizontalRule.js +1 -4
- package/backlog/Label/Label.js +1 -4
- package/backlog/Modal/Modal.js +12 -22
- package/backlog/Modal/ModalContent.js +7 -10
- package/backlog/Modal/ModalFooter.js +7 -10
- package/backlog/Modal/index.js +4 -9
- package/backlog/Notification/Notification.js +7 -10
- package/backlog/Notification/NotificationContainer.js +7 -10
- package/backlog/Notification/NotificationPropTypes.js +1 -4
- package/backlog/Notification/index.js +3 -7
- package/backlog/PasswordControl/PasswordControl.js +8 -13
- package/backlog/Portal/Portal.js +7 -10
- package/backlog/PulseLoader/PulseLoader.js +1 -4
- package/backlog/Radio/Radio.js +7 -10
- package/backlog/Radio/RadioGroup.js +9 -12
- package/backlog/Radio/index.js +3 -7
- package/backlog/RenderInBody/RenderInBody.js +7 -10
- package/backlog/Select/Select.js +10 -15
- package/backlog/Select/SelectItemPropTypes.js +1 -4
- package/backlog/Select/index.js +3 -7
- package/backlog/SelectControlled/SelectControlled.js +10 -15
- package/backlog/SelectControlled/index.js +2 -5
- package/backlog/Sprite/Sprite.js +1 -4
- package/backlog/Tabs/Tab.js +7 -10
- package/backlog/Tabs/TabContent.js +6 -9
- package/backlog/Tabs/TabNavigation.js +8 -13
- package/backlog/Tabs/TabPanel.js +1 -4
- package/backlog/Tabs/Tabs.js +7 -10
- package/backlog/Tabs/index.js +6 -13
- package/backlog/TextArea/TextArea.js +7 -10
- package/backlog/TextInput/TextInput.js +9 -12
- package/backlog/TextInput/TextInputPropTypes.js +1 -4
- package/backlog/TextInput/index.js +3 -7
- package/backlog/Tooltip/Tooltip.js +9 -16
- package/backlog/index.js +55 -111
- package/backlog/v1/components/Button/Button.js +1 -4
- package/backlog/v1/components/Button/button-props.js +1 -4
- package/backlog/v1/components/Image/Image.js +9 -12
- package/backlog/v1/components/Loader/Loader.js +1 -4
- package/backlog/v1/components/Panel/Panel.js +7 -10
- package/backlog/v1/components/Table/Table.js +9 -14
- package/backlog/v1/components/Table/TableCell.js +1 -4
- package/backlog/v1/components/Table/TableCellPropTypes.js +1 -4
- package/backlog/v1/components/Table/TableControls.js +1 -4
- package/backlog/v1/components/Table/TableFooter.js +1 -4
- package/backlog/v1/components/Table/TableHeading.js +7 -10
- package/backlog/v1/components/Table/TableHeadingPropTypes.js +1 -4
- package/backlog/v1/components/Table/TableSortSelector.js +7 -10
- package/backlog/v1/components/Table/TableSortType.js +1 -4
- package/backlog/v1/components/Table/index.js +6 -13
- package/backlog/v1/components/TextButton/TextButton.js +8 -15
- package/backlog/v1/components/index.js +7 -15
- package/backlog/v1/utils/deprecate.js +3 -8
- package/package.json +13 -22
- package/v1/index-bundled-cjs/index.js +1 -1
- package/v1/index-bundled-cjs/index.js.map +1 -1
- package/v1/index-bundled-esm/index.js +1 -1
- package/v1/index-bundled-esm/index.js.map +1 -1
- package/v1/index-unbundled-cjs/index.js +4168 -1840
- package/v1/index-unbundled-cjs/index.js.map +1 -1
- package/v1/index-unbundled-esm/index.js +4162 -1829
- package/v1/index-unbundled-esm/index.js.map +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-080ac52d.js +2 -0
- package/v2/index-bundled-cjs/ImageCarousel-080ac52d.js.map +1 -0
- package/v2/index-bundled-cjs/index-3ec6f4f6.js +25 -0
- package/v2/index-bundled-cjs/index-3ec6f4f6.js.map +1 -0
- package/v2/index-bundled-cjs/index.js +1 -1
- package/v2/index-bundled-esm/ImageCarousel-f28813a0.js +2 -0
- package/v2/index-bundled-esm/ImageCarousel-f28813a0.js.map +1 -0
- package/v2/index-bundled-esm/index-1758d567.js +24 -0
- package/v2/index-bundled-esm/index-1758d567.js.map +1 -0
- package/v2/index-bundled-esm/index.js +1 -1
- package/v2/index-unbundled-cjs/{ImageCarousel-7f4217ce.js → ImageCarousel-a6361ff4.js} +963 -52
- package/v2/index-unbundled-cjs/ImageCarousel-a6361ff4.js.map +1 -0
- package/v2/index-unbundled-cjs/{index-1f80bed0.js → index-fc04c985.js} +1592 -2449
- package/v2/index-unbundled-cjs/index-fc04c985.js.map +1 -0
- package/v2/index-unbundled-cjs/index.js +15 -16
- package/v2/index-unbundled-cjs/index.js.map +1 -1
- package/v2/index-unbundled-esm/{ImageCarousel-346f9af1.js → ImageCarousel-3b5e450a.js} +963 -50
- package/v2/index-unbundled-esm/ImageCarousel-3b5e450a.js.map +1 -0
- package/v2/index-unbundled-esm/{index-fc416fa1.js → index-0a927912.js} +1558 -2432
- package/v2/index-unbundled-esm/index-0a927912.js.map +1 -0
- package/v2/index-unbundled-esm/index.js +1 -2
- package/v2/index-unbundled-esm/index.js.map +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-a5aa935d.js +0 -2
- package/v2/index-bundled-cjs/ImageCarousel-a5aa935d.js.map +0 -1
- package/v2/index-bundled-cjs/index-72b444ab.js +0 -26
- package/v2/index-bundled-cjs/index-72b444ab.js.map +0 -1
- package/v2/index-bundled-esm/ImageCarousel-a8dd3c5f.js +0 -2
- package/v2/index-bundled-esm/ImageCarousel-a8dd3c5f.js.map +0 -1
- package/v2/index-bundled-esm/index-f4a79d4d.js +0 -24
- package/v2/index-bundled-esm/index-f4a79d4d.js.map +0 -1
- package/v2/index-unbundled-cjs/ImageCarousel-7f4217ce.js.map +0 -1
- package/v2/index-unbundled-cjs/index-1f80bed0.js.map +0 -1
- package/v2/index-unbundled-esm/ImageCarousel-346f9af1.js.map +0 -1
- package/v2/index-unbundled-esm/index-fc416fa1.js.map +0 -1
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-fc04c985.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var PropTypes = require('prop-types');
|
|
6
|
-
var IconChevronLeft = require('@spothero/icons/chevron-left');
|
|
7
|
-
var IconChevronRight = require('@spothero/icons/chevron-right');
|
|
8
6
|
require('lodash/merge');
|
|
9
|
-
require('@spothero/utils/environment');
|
|
10
7
|
require('lodash/template');
|
|
11
8
|
require('react-dom');
|
|
12
9
|
|
|
@@ -14,8 +11,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
11
|
|
|
15
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
13
|
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
17
|
-
var IconChevronLeft__default = /*#__PURE__*/_interopDefaultLegacy(IconChevronLeft);
|
|
18
|
-
var IconChevronRight__default = /*#__PURE__*/_interopDefaultLegacy(IconChevronRight);
|
|
19
14
|
|
|
20
15
|
// `Array.isArray` method
|
|
21
16
|
// https://tc39.es/ecma262/#sec-array.isarray
|
|
@@ -23,7 +18,9 @@ index._export({ target: 'Array', stat: true }, {
|
|
|
23
18
|
isArray: index.isArray
|
|
24
19
|
});
|
|
25
20
|
|
|
26
|
-
var isArray$
|
|
21
|
+
var isArray$4 = index.path.Array.isArray;
|
|
22
|
+
|
|
23
|
+
var isArray$3 = isArray$4;
|
|
27
24
|
|
|
28
25
|
var isArray$2 = isArray$3;
|
|
29
26
|
|
|
@@ -91,7 +88,302 @@ index.defineWellKnownSymbol('unscopables');
|
|
|
91
88
|
// https://tc39.es/ecma262/#sec-json-@@tostringtag
|
|
92
89
|
index.setToStringTag(index.global_1.JSON, 'JSON', true);
|
|
93
90
|
|
|
94
|
-
var symbol$
|
|
91
|
+
var symbol$4 = index.path.Symbol;
|
|
92
|
+
|
|
93
|
+
var iterators = {};
|
|
94
|
+
|
|
95
|
+
var FunctionPrototype = Function.prototype;
|
|
96
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
97
|
+
var getDescriptor = index.descriptors && Object.getOwnPropertyDescriptor;
|
|
98
|
+
|
|
99
|
+
var EXISTS = index.hasOwnProperty_1(FunctionPrototype, 'name');
|
|
100
|
+
// additional protection from minified / mangled / dropped function names
|
|
101
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
102
|
+
var CONFIGURABLE = EXISTS && (!index.descriptors || (index.descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
103
|
+
|
|
104
|
+
var functionName = {
|
|
105
|
+
EXISTS: EXISTS,
|
|
106
|
+
PROPER: PROPER,
|
|
107
|
+
CONFIGURABLE: CONFIGURABLE
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
var correctPrototypeGetter = !index.fails(function () {
|
|
111
|
+
function F() { /* empty */ }
|
|
112
|
+
F.prototype.constructor = null;
|
|
113
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
114
|
+
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
var IE_PROTO = index.sharedKey('IE_PROTO');
|
|
118
|
+
var Object$1 = index.global_1.Object;
|
|
119
|
+
var ObjectPrototype = Object$1.prototype;
|
|
120
|
+
|
|
121
|
+
// `Object.getPrototypeOf` method
|
|
122
|
+
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
123
|
+
var objectGetPrototypeOf = correctPrototypeGetter ? Object$1.getPrototypeOf : function (O) {
|
|
124
|
+
var object = index.toObject(O);
|
|
125
|
+
if (index.hasOwnProperty_1(object, IE_PROTO)) return object[IE_PROTO];
|
|
126
|
+
var constructor = object.constructor;
|
|
127
|
+
if (index.isCallable(constructor) && object instanceof constructor) {
|
|
128
|
+
return constructor.prototype;
|
|
129
|
+
} return object instanceof Object$1 ? ObjectPrototype : null;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
var ITERATOR$4 = index.wellKnownSymbol('iterator');
|
|
133
|
+
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
134
|
+
|
|
135
|
+
// `%IteratorPrototype%` object
|
|
136
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
137
|
+
var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
138
|
+
|
|
139
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
140
|
+
if ([].keys) {
|
|
141
|
+
arrayIterator = [].keys();
|
|
142
|
+
// Safari 8 has buggy iterators w/o `next`
|
|
143
|
+
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
144
|
+
else {
|
|
145
|
+
PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator));
|
|
146
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$1 == undefined || index.fails(function () {
|
|
151
|
+
var test = {};
|
|
152
|
+
// FF44- legacy iterators case
|
|
153
|
+
return IteratorPrototype$1[ITERATOR$4].call(test) !== test;
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$1 = {};
|
|
157
|
+
else IteratorPrototype$1 = index.objectCreate(IteratorPrototype$1);
|
|
158
|
+
|
|
159
|
+
// `%IteratorPrototype%[@@iterator]()` method
|
|
160
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
161
|
+
if (!index.isCallable(IteratorPrototype$1[ITERATOR$4])) {
|
|
162
|
+
index.redefine(IteratorPrototype$1, ITERATOR$4, function () {
|
|
163
|
+
return this;
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
var iteratorsCore = {
|
|
168
|
+
IteratorPrototype: IteratorPrototype$1,
|
|
169
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
var returnThis$1 = function () { return this; };
|
|
179
|
+
|
|
180
|
+
var createIteratorConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
181
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
182
|
+
IteratorConstructor.prototype = index.objectCreate(IteratorPrototype, { next: index.createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
183
|
+
index.setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
|
|
184
|
+
iterators[TO_STRING_TAG] = returnThis$1;
|
|
185
|
+
return IteratorConstructor;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
var String$1 = index.global_1.String;
|
|
189
|
+
var TypeError$6 = index.global_1.TypeError;
|
|
190
|
+
|
|
191
|
+
var aPossiblePrototype = function (argument) {
|
|
192
|
+
if (typeof argument == 'object' || index.isCallable(argument)) return argument;
|
|
193
|
+
throw TypeError$6("Can't set " + String$1(argument) + ' as a prototype');
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/* eslint-disable no-proto -- safe */
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
// `Object.setPrototypeOf` method
|
|
202
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
203
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
204
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
205
|
+
Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
206
|
+
var CORRECT_SETTER = false;
|
|
207
|
+
var test = {};
|
|
208
|
+
var setter;
|
|
209
|
+
try {
|
|
210
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
211
|
+
setter = index.functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
212
|
+
setter(test, []);
|
|
213
|
+
CORRECT_SETTER = test instanceof Array;
|
|
214
|
+
} catch (error) { /* empty */ }
|
|
215
|
+
return function setPrototypeOf(O, proto) {
|
|
216
|
+
index.anObject(O);
|
|
217
|
+
aPossiblePrototype(proto);
|
|
218
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
219
|
+
else O.__proto__ = proto;
|
|
220
|
+
return O;
|
|
221
|
+
};
|
|
222
|
+
}() : undefined);
|
|
223
|
+
|
|
224
|
+
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
225
|
+
var BUGGY_SAFARI_ITERATORS = iteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
226
|
+
var ITERATOR$3 = index.wellKnownSymbol('iterator');
|
|
227
|
+
var KEYS = 'keys';
|
|
228
|
+
var VALUES = 'values';
|
|
229
|
+
var ENTRIES = 'entries';
|
|
230
|
+
|
|
231
|
+
var returnThis = function () { return this; };
|
|
232
|
+
|
|
233
|
+
var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
234
|
+
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
235
|
+
|
|
236
|
+
var getIterationMethod = function (KIND) {
|
|
237
|
+
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
238
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
239
|
+
switch (KIND) {
|
|
240
|
+
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
241
|
+
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
242
|
+
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
243
|
+
} return function () { return new IteratorConstructor(this); };
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
247
|
+
var INCORRECT_VALUES_NAME = false;
|
|
248
|
+
var IterablePrototype = Iterable.prototype;
|
|
249
|
+
var nativeIterator = IterablePrototype[ITERATOR$3]
|
|
250
|
+
|| IterablePrototype['@@iterator']
|
|
251
|
+
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
252
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
253
|
+
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
254
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
255
|
+
|
|
256
|
+
// fix native
|
|
257
|
+
if (anyNativeIterator) {
|
|
258
|
+
CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
259
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
260
|
+
// Set @@toStringTag to native iterators
|
|
261
|
+
index.setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
|
|
262
|
+
iterators[TO_STRING_TAG] = returnThis;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
267
|
+
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
268
|
+
{
|
|
269
|
+
INCORRECT_VALUES_NAME = true;
|
|
270
|
+
defaultIterator = function values() { return index.functionCall(nativeIterator, this); };
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// export additional methods
|
|
275
|
+
if (DEFAULT) {
|
|
276
|
+
methods = {
|
|
277
|
+
values: getIterationMethod(VALUES),
|
|
278
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
279
|
+
entries: getIterationMethod(ENTRIES)
|
|
280
|
+
};
|
|
281
|
+
if (FORCED) for (KEY in methods) {
|
|
282
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
283
|
+
index.redefine(IterablePrototype, KEY, methods[KEY]);
|
|
284
|
+
}
|
|
285
|
+
} else index._export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// define iterator
|
|
289
|
+
if ((FORCED) && IterablePrototype[ITERATOR$3] !== defaultIterator) {
|
|
290
|
+
index.redefine(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT });
|
|
291
|
+
}
|
|
292
|
+
iterators[NAME] = defaultIterator;
|
|
293
|
+
|
|
294
|
+
return methods;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
var ARRAY_ITERATOR = 'Array Iterator';
|
|
298
|
+
var setInternalState$3 = index.internalState.set;
|
|
299
|
+
var getInternalState$1 = index.internalState.getterFor(ARRAY_ITERATOR);
|
|
300
|
+
|
|
301
|
+
// `Array.prototype.entries` method
|
|
302
|
+
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
303
|
+
// `Array.prototype.keys` method
|
|
304
|
+
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
305
|
+
// `Array.prototype.values` method
|
|
306
|
+
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
307
|
+
// `Array.prototype[@@iterator]` method
|
|
308
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
309
|
+
// `CreateArrayIterator` internal method
|
|
310
|
+
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
311
|
+
defineIterator(Array, 'Array', function (iterated, kind) {
|
|
312
|
+
setInternalState$3(this, {
|
|
313
|
+
type: ARRAY_ITERATOR,
|
|
314
|
+
target: index.toIndexedObject(iterated), // target
|
|
315
|
+
index: 0, // next index
|
|
316
|
+
kind: kind // kind
|
|
317
|
+
});
|
|
318
|
+
// `%ArrayIteratorPrototype%.next` method
|
|
319
|
+
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
320
|
+
}, function () {
|
|
321
|
+
var state = getInternalState$1(this);
|
|
322
|
+
var target = state.target;
|
|
323
|
+
var kind = state.kind;
|
|
324
|
+
var index = state.index++;
|
|
325
|
+
if (!target || index >= target.length) {
|
|
326
|
+
state.target = undefined;
|
|
327
|
+
return { value: undefined, done: true };
|
|
328
|
+
}
|
|
329
|
+
if (kind == 'keys') return { value: index, done: false };
|
|
330
|
+
if (kind == 'values') return { value: target[index], done: false };
|
|
331
|
+
return { value: [index, target[index]], done: false };
|
|
332
|
+
}, 'values');
|
|
333
|
+
|
|
334
|
+
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
335
|
+
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
336
|
+
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
337
|
+
iterators.Arguments = iterators.Array;
|
|
338
|
+
|
|
339
|
+
// iterable DOM collections
|
|
340
|
+
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
341
|
+
var domIterables = {
|
|
342
|
+
CSSRuleList: 0,
|
|
343
|
+
CSSStyleDeclaration: 0,
|
|
344
|
+
CSSValueList: 0,
|
|
345
|
+
ClientRectList: 0,
|
|
346
|
+
DOMRectList: 0,
|
|
347
|
+
DOMStringList: 0,
|
|
348
|
+
DOMTokenList: 1,
|
|
349
|
+
DataTransferItemList: 0,
|
|
350
|
+
FileList: 0,
|
|
351
|
+
HTMLAllCollection: 0,
|
|
352
|
+
HTMLCollection: 0,
|
|
353
|
+
HTMLFormElement: 0,
|
|
354
|
+
HTMLSelectElement: 0,
|
|
355
|
+
MediaList: 0,
|
|
356
|
+
MimeTypeArray: 0,
|
|
357
|
+
NamedNodeMap: 0,
|
|
358
|
+
NodeList: 1,
|
|
359
|
+
PaintRequestList: 0,
|
|
360
|
+
Plugin: 0,
|
|
361
|
+
PluginArray: 0,
|
|
362
|
+
SVGLengthList: 0,
|
|
363
|
+
SVGNumberList: 0,
|
|
364
|
+
SVGPathSegList: 0,
|
|
365
|
+
SVGPointList: 0,
|
|
366
|
+
SVGStringList: 0,
|
|
367
|
+
SVGTransformList: 0,
|
|
368
|
+
SourceBufferList: 0,
|
|
369
|
+
StyleSheetList: 0,
|
|
370
|
+
TextTrackCueList: 0,
|
|
371
|
+
TextTrackList: 0,
|
|
372
|
+
TouchList: 0
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
var TO_STRING_TAG = index.wellKnownSymbol('toStringTag');
|
|
376
|
+
|
|
377
|
+
for (var COLLECTION_NAME in domIterables) {
|
|
378
|
+
var Collection = index.global_1[COLLECTION_NAME];
|
|
379
|
+
var CollectionPrototype = Collection && Collection.prototype;
|
|
380
|
+
if (CollectionPrototype && index.classof(CollectionPrototype) !== TO_STRING_TAG) {
|
|
381
|
+
index.createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
|
382
|
+
}
|
|
383
|
+
iterators[COLLECTION_NAME] = iterators.Array;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
var symbol$3 = symbol$4;
|
|
95
387
|
|
|
96
388
|
var symbol$2 = symbol$3;
|
|
97
389
|
|
|
@@ -174,13 +466,13 @@ var charAt = stringMultibyte.charAt;
|
|
|
174
466
|
|
|
175
467
|
|
|
176
468
|
var STRING_ITERATOR = 'String Iterator';
|
|
177
|
-
var setInternalState = index.internalState.set;
|
|
469
|
+
var setInternalState$2 = index.internalState.set;
|
|
178
470
|
var getInternalState = index.internalState.getterFor(STRING_ITERATOR);
|
|
179
471
|
|
|
180
472
|
// `String.prototype[@@iterator]` method
|
|
181
473
|
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
|
|
182
|
-
|
|
183
|
-
setInternalState(this, {
|
|
474
|
+
defineIterator(String, 'String', function (iterated) {
|
|
475
|
+
setInternalState$2(this, {
|
|
184
476
|
type: STRING_ITERATOR,
|
|
185
477
|
string: index.toString_1(iterated),
|
|
186
478
|
index: 0
|
|
@@ -200,15 +492,17 @@ index.defineIterator(String, 'String', function (iterated) {
|
|
|
200
492
|
|
|
201
493
|
var ITERATOR$2 = index.wellKnownSymbol('iterator');
|
|
202
494
|
|
|
203
|
-
var getIteratorMethod$
|
|
495
|
+
var getIteratorMethod$4 = function (it) {
|
|
204
496
|
if (it != undefined) return index.getMethod(it, ITERATOR$2)
|
|
205
497
|
|| index.getMethod(it, '@@iterator')
|
|
206
|
-
||
|
|
498
|
+
|| iterators[index.classof(it)];
|
|
207
499
|
};
|
|
208
500
|
|
|
209
|
-
var getIteratorMethod_1 = getIteratorMethod$
|
|
501
|
+
var getIteratorMethod_1 = getIteratorMethod$4;
|
|
210
502
|
|
|
211
|
-
var getIteratorMethod$
|
|
503
|
+
var getIteratorMethod$3 = getIteratorMethod_1;
|
|
504
|
+
|
|
505
|
+
var getIteratorMethod$2 = getIteratorMethod$3;
|
|
212
506
|
|
|
213
507
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
214
508
|
|
|
@@ -281,15 +575,17 @@ index._export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
|
281
575
|
}
|
|
282
576
|
});
|
|
283
577
|
|
|
284
|
-
var slice$
|
|
578
|
+
var slice$5 = index.entryVirtual('Array').slice;
|
|
285
579
|
|
|
286
580
|
var ArrayPrototype$1 = Array.prototype;
|
|
287
581
|
|
|
288
|
-
var slice$
|
|
582
|
+
var slice$4 = function (it) {
|
|
289
583
|
var own = it.slice;
|
|
290
|
-
return it === ArrayPrototype$1 || (index.objectIsPrototypeOf(ArrayPrototype$1, it) && own === ArrayPrototype$1.slice) ? slice$
|
|
584
|
+
return it === ArrayPrototype$1 || (index.objectIsPrototypeOf(ArrayPrototype$1, it) && own === ArrayPrototype$1.slice) ? slice$5 : own;
|
|
291
585
|
};
|
|
292
586
|
|
|
587
|
+
var slice$3 = slice$4;
|
|
588
|
+
|
|
293
589
|
var slice$2 = slice$3;
|
|
294
590
|
|
|
295
591
|
var slice$1 = slice$2;
|
|
@@ -330,15 +626,15 @@ var ArrayPrototype = Array.prototype;
|
|
|
330
626
|
|
|
331
627
|
// check on default Array iterator
|
|
332
628
|
var isArrayIteratorMethod = function (it) {
|
|
333
|
-
return it !== undefined && (
|
|
629
|
+
return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
334
630
|
};
|
|
335
631
|
|
|
336
|
-
var TypeError$
|
|
632
|
+
var TypeError$5 = index.global_1.TypeError;
|
|
337
633
|
|
|
338
634
|
var getIterator = function (argument, usingIterator) {
|
|
339
|
-
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$
|
|
635
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$4(argument) : usingIterator;
|
|
340
636
|
if (index.aCallable(iteratorMethod)) return index.anObject(index.functionCall(iteratorMethod, argument));
|
|
341
|
-
throw TypeError$
|
|
637
|
+
throw TypeError$5(index.tryToString(argument) + ' is not iterable');
|
|
342
638
|
};
|
|
343
639
|
|
|
344
640
|
var Array$1 = index.global_1.Array;
|
|
@@ -352,7 +648,7 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
|
|
|
352
648
|
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
|
|
353
649
|
var mapping = mapfn !== undefined;
|
|
354
650
|
if (mapping) mapfn = index.functionBindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
|
|
355
|
-
var iteratorMethod = getIteratorMethod$
|
|
651
|
+
var iteratorMethod = getIteratorMethod$4(O);
|
|
356
652
|
var index$1 = 0;
|
|
357
653
|
var length, result, step, iterator, next, value;
|
|
358
654
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
@@ -424,7 +720,9 @@ index._export({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
424
720
|
from: arrayFrom
|
|
425
721
|
});
|
|
426
722
|
|
|
427
|
-
var from_1$
|
|
723
|
+
var from_1$4 = index.path.Array.from;
|
|
724
|
+
|
|
725
|
+
var from_1$3 = from_1$4;
|
|
428
726
|
|
|
429
727
|
var from_1$2 = from_1$3;
|
|
430
728
|
|
|
@@ -2072,18 +2370,643 @@ function useEmblaCarousel(options) {
|
|
|
2072
2370
|
return [setViewport, embla];
|
|
2073
2371
|
}
|
|
2074
2372
|
|
|
2075
|
-
var
|
|
2373
|
+
var iterator$4 = index.wellKnownSymbolWrapped.f('iterator');
|
|
2374
|
+
|
|
2375
|
+
var iterator$3 = iterator$4;
|
|
2376
|
+
|
|
2377
|
+
var iterator$2 = iterator$3;
|
|
2378
|
+
|
|
2379
|
+
var iterator$1 = iterator$2;
|
|
2380
|
+
|
|
2381
|
+
var iterator = iterator$1;
|
|
2076
2382
|
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
enterModule && enterModule(module);
|
|
2080
|
-
})();
|
|
2383
|
+
function _typeof(obj) {
|
|
2384
|
+
"@babel/helpers - typeof";
|
|
2081
2385
|
|
|
2082
|
-
|
|
2083
|
-
|
|
2386
|
+
if (typeof symbol === "function" && typeof iterator === "symbol") {
|
|
2387
|
+
_typeof = function _typeof(obj) {
|
|
2388
|
+
return typeof obj;
|
|
2389
|
+
};
|
|
2390
|
+
} else {
|
|
2391
|
+
_typeof = function _typeof(obj) {
|
|
2392
|
+
return obj && typeof symbol === "function" && obj.constructor === symbol && obj !== symbol.prototype ? "symbol" : typeof obj;
|
|
2393
|
+
};
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
return _typeof(obj);
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
var redefineAll = function (target, src, options) {
|
|
2400
|
+
for (var key in src) {
|
|
2401
|
+
if (options && options.unsafe && target[key]) target[key] = src[key];
|
|
2402
|
+
else index.redefine(target, key, src[key], options);
|
|
2403
|
+
} return target;
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
var TypeError$4 = index.global_1.TypeError;
|
|
2407
|
+
|
|
2408
|
+
var Result = function (stopped, result) {
|
|
2409
|
+
this.stopped = stopped;
|
|
2410
|
+
this.result = result;
|
|
2411
|
+
};
|
|
2412
|
+
|
|
2413
|
+
var ResultPrototype = Result.prototype;
|
|
2414
|
+
|
|
2415
|
+
var iterate = function (iterable, unboundFunction, options) {
|
|
2416
|
+
var that = options && options.that;
|
|
2417
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
2418
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
2419
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
2420
|
+
var fn = index.functionBindContext(unboundFunction, that);
|
|
2421
|
+
var iterator, iterFn, index$1, length, result, next, step;
|
|
2422
|
+
|
|
2423
|
+
var stop = function (condition) {
|
|
2424
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
2425
|
+
return new Result(true, condition);
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2428
|
+
var callFn = function (value) {
|
|
2429
|
+
if (AS_ENTRIES) {
|
|
2430
|
+
index.anObject(value);
|
|
2431
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2432
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2433
|
+
};
|
|
2434
|
+
|
|
2435
|
+
if (IS_ITERATOR) {
|
|
2436
|
+
iterator = iterable;
|
|
2437
|
+
} else {
|
|
2438
|
+
iterFn = getIteratorMethod$4(iterable);
|
|
2439
|
+
if (!iterFn) throw TypeError$4(index.tryToString(iterable) + ' is not iterable');
|
|
2440
|
+
// optimisation for array iterators
|
|
2441
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
2442
|
+
for (index$1 = 0, length = index.lengthOfArrayLike(iterable); length > index$1; index$1++) {
|
|
2443
|
+
result = callFn(iterable[index$1]);
|
|
2444
|
+
if (result && index.objectIsPrototypeOf(ResultPrototype, result)) return result;
|
|
2445
|
+
} return new Result(false);
|
|
2446
|
+
}
|
|
2447
|
+
iterator = getIterator(iterable, iterFn);
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
next = iterator.next;
|
|
2451
|
+
while (!(step = index.functionCall(next, iterator)).done) {
|
|
2452
|
+
try {
|
|
2453
|
+
result = callFn(step.value);
|
|
2454
|
+
} catch (error) {
|
|
2455
|
+
iteratorClose(iterator, 'throw', error);
|
|
2456
|
+
}
|
|
2457
|
+
if (typeof result == 'object' && result && index.objectIsPrototypeOf(ResultPrototype, result)) return result;
|
|
2458
|
+
} return new Result(false);
|
|
2459
|
+
};
|
|
2460
|
+
|
|
2461
|
+
var TypeError$3 = index.global_1.TypeError;
|
|
2462
|
+
|
|
2463
|
+
var anInstance = function (it, Prototype) {
|
|
2464
|
+
if (index.objectIsPrototypeOf(Prototype, it)) return it;
|
|
2465
|
+
throw TypeError$3('Incorrect invocation');
|
|
2466
|
+
};
|
|
2467
|
+
|
|
2468
|
+
var defineProperty = index.objectDefineProperty.f;
|
|
2469
|
+
var forEach = index.arrayIteration.forEach;
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
var setInternalState$1 = index.internalState.set;
|
|
2474
|
+
var internalStateGetterFor$1 = index.internalState.getterFor;
|
|
2475
|
+
|
|
2476
|
+
var collection = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
2477
|
+
var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
|
|
2478
|
+
var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
|
|
2479
|
+
var ADDER = IS_MAP ? 'set' : 'add';
|
|
2480
|
+
var NativeConstructor = index.global_1[CONSTRUCTOR_NAME];
|
|
2481
|
+
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
|
|
2482
|
+
var exported = {};
|
|
2483
|
+
var Constructor;
|
|
2484
|
+
|
|
2485
|
+
if (!index.descriptors || !index.isCallable(NativeConstructor)
|
|
2486
|
+
|| !(IS_WEAK || NativePrototype.forEach && !index.fails(function () { new NativeConstructor().entries().next(); }))
|
|
2487
|
+
) {
|
|
2488
|
+
// create collection constructor
|
|
2489
|
+
Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
|
|
2490
|
+
index.internalMetadata.enable();
|
|
2491
|
+
} else {
|
|
2492
|
+
Constructor = wrapper(function (target, iterable) {
|
|
2493
|
+
setInternalState$1(anInstance(target, Prototype), {
|
|
2494
|
+
type: CONSTRUCTOR_NAME,
|
|
2495
|
+
collection: new NativeConstructor()
|
|
2496
|
+
});
|
|
2497
|
+
if (iterable != undefined) iterate(iterable, target[ADDER], { that: target, AS_ENTRIES: IS_MAP });
|
|
2498
|
+
});
|
|
2499
|
+
|
|
2500
|
+
var Prototype = Constructor.prototype;
|
|
2501
|
+
|
|
2502
|
+
var getInternalState = internalStateGetterFor$1(CONSTRUCTOR_NAME);
|
|
2503
|
+
|
|
2504
|
+
forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {
|
|
2505
|
+
var IS_ADDER = KEY == 'add' || KEY == 'set';
|
|
2506
|
+
if (KEY in NativePrototype && !(IS_WEAK && KEY == 'clear')) {
|
|
2507
|
+
index.createNonEnumerableProperty(Prototype, KEY, function (a, b) {
|
|
2508
|
+
var collection = getInternalState(this).collection;
|
|
2509
|
+
if (!IS_ADDER && IS_WEAK && !index.isObject(a)) return KEY == 'get' ? undefined : false;
|
|
2510
|
+
var result = collection[KEY](a === 0 ? 0 : a, b);
|
|
2511
|
+
return IS_ADDER ? this : result;
|
|
2512
|
+
});
|
|
2513
|
+
}
|
|
2514
|
+
});
|
|
2515
|
+
|
|
2516
|
+
IS_WEAK || defineProperty(Prototype, 'size', {
|
|
2517
|
+
configurable: true,
|
|
2518
|
+
get: function () {
|
|
2519
|
+
return getInternalState(this).collection.size;
|
|
2520
|
+
}
|
|
2521
|
+
});
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
index.setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);
|
|
2525
|
+
|
|
2526
|
+
exported[CONSTRUCTOR_NAME] = Constructor;
|
|
2527
|
+
index._export({ global: true, forced: true }, exported);
|
|
2528
|
+
|
|
2529
|
+
if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
|
|
2530
|
+
|
|
2531
|
+
return Constructor;
|
|
2532
|
+
};
|
|
2533
|
+
|
|
2534
|
+
var getWeakData = index.internalMetadata.getWeakData;
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
var setInternalState = index.internalState.set;
|
|
2544
|
+
var internalStateGetterFor = index.internalState.getterFor;
|
|
2545
|
+
var find = index.arrayIteration.find;
|
|
2546
|
+
var findIndex = index.arrayIteration.findIndex;
|
|
2547
|
+
var splice = index.functionUncurryThis([].splice);
|
|
2548
|
+
var id = 0;
|
|
2549
|
+
|
|
2550
|
+
// fallback for uncaught frozen keys
|
|
2551
|
+
var uncaughtFrozenStore = function (store) {
|
|
2552
|
+
return store.frozen || (store.frozen = new UncaughtFrozenStore());
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
var UncaughtFrozenStore = function () {
|
|
2556
|
+
this.entries = [];
|
|
2557
|
+
};
|
|
2558
|
+
|
|
2559
|
+
var findUncaughtFrozen = function (store, key) {
|
|
2560
|
+
return find(store.entries, function (it) {
|
|
2561
|
+
return it[0] === key;
|
|
2562
|
+
});
|
|
2084
2563
|
};
|
|
2085
2564
|
|
|
2565
|
+
UncaughtFrozenStore.prototype = {
|
|
2566
|
+
get: function (key) {
|
|
2567
|
+
var entry = findUncaughtFrozen(this, key);
|
|
2568
|
+
if (entry) return entry[1];
|
|
2569
|
+
},
|
|
2570
|
+
has: function (key) {
|
|
2571
|
+
return !!findUncaughtFrozen(this, key);
|
|
2572
|
+
},
|
|
2573
|
+
set: function (key, value) {
|
|
2574
|
+
var entry = findUncaughtFrozen(this, key);
|
|
2575
|
+
if (entry) entry[1] = value;
|
|
2576
|
+
else this.entries.push([key, value]);
|
|
2577
|
+
},
|
|
2578
|
+
'delete': function (key) {
|
|
2579
|
+
var index = findIndex(this.entries, function (it) {
|
|
2580
|
+
return it[0] === key;
|
|
2581
|
+
});
|
|
2582
|
+
if (~index) splice(this.entries, index, 1);
|
|
2583
|
+
return !!~index;
|
|
2584
|
+
}
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
var collectionWeak = {
|
|
2588
|
+
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
|
|
2589
|
+
var Constructor = wrapper(function (that, iterable) {
|
|
2590
|
+
anInstance(that, Prototype);
|
|
2591
|
+
setInternalState(that, {
|
|
2592
|
+
type: CONSTRUCTOR_NAME,
|
|
2593
|
+
id: id++,
|
|
2594
|
+
frozen: undefined
|
|
2595
|
+
});
|
|
2596
|
+
if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
|
|
2597
|
+
});
|
|
2598
|
+
|
|
2599
|
+
var Prototype = Constructor.prototype;
|
|
2600
|
+
|
|
2601
|
+
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
2602
|
+
|
|
2603
|
+
var define = function (that, key, value) {
|
|
2604
|
+
var state = getInternalState(that);
|
|
2605
|
+
var data = getWeakData(index.anObject(key), true);
|
|
2606
|
+
if (data === true) uncaughtFrozenStore(state).set(key, value);
|
|
2607
|
+
else data[state.id] = value;
|
|
2608
|
+
return that;
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
redefineAll(Prototype, {
|
|
2612
|
+
// `{ WeakMap, WeakSet }.prototype.delete(key)` methods
|
|
2613
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.delete
|
|
2614
|
+
// https://tc39.es/ecma262/#sec-weakset.prototype.delete
|
|
2615
|
+
'delete': function (key) {
|
|
2616
|
+
var state = getInternalState(this);
|
|
2617
|
+
if (!index.isObject(key)) return false;
|
|
2618
|
+
var data = getWeakData(key);
|
|
2619
|
+
if (data === true) return uncaughtFrozenStore(state)['delete'](key);
|
|
2620
|
+
return data && index.hasOwnProperty_1(data, state.id) && delete data[state.id];
|
|
2621
|
+
},
|
|
2622
|
+
// `{ WeakMap, WeakSet }.prototype.has(key)` methods
|
|
2623
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
|
|
2624
|
+
// https://tc39.es/ecma262/#sec-weakset.prototype.has
|
|
2625
|
+
has: function has(key) {
|
|
2626
|
+
var state = getInternalState(this);
|
|
2627
|
+
if (!index.isObject(key)) return false;
|
|
2628
|
+
var data = getWeakData(key);
|
|
2629
|
+
if (data === true) return uncaughtFrozenStore(state).has(key);
|
|
2630
|
+
return data && index.hasOwnProperty_1(data, state.id);
|
|
2631
|
+
}
|
|
2632
|
+
});
|
|
2633
|
+
|
|
2634
|
+
redefineAll(Prototype, IS_MAP ? {
|
|
2635
|
+
// `WeakMap.prototype.get(key)` method
|
|
2636
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.get
|
|
2637
|
+
get: function get(key) {
|
|
2638
|
+
var state = getInternalState(this);
|
|
2639
|
+
if (index.isObject(key)) {
|
|
2640
|
+
var data = getWeakData(key);
|
|
2641
|
+
if (data === true) return uncaughtFrozenStore(state).get(key);
|
|
2642
|
+
return data ? data[state.id] : undefined;
|
|
2643
|
+
}
|
|
2644
|
+
},
|
|
2645
|
+
// `WeakMap.prototype.set(key, value)` method
|
|
2646
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.set
|
|
2647
|
+
set: function set(key, value) {
|
|
2648
|
+
return define(this, key, value);
|
|
2649
|
+
}
|
|
2650
|
+
} : {
|
|
2651
|
+
// `WeakSet.prototype.add(value)` method
|
|
2652
|
+
// https://tc39.es/ecma262/#sec-weakset.prototype.add
|
|
2653
|
+
add: function add(value) {
|
|
2654
|
+
return define(this, value, true);
|
|
2655
|
+
}
|
|
2656
|
+
});
|
|
2657
|
+
|
|
2658
|
+
return Constructor;
|
|
2659
|
+
}
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
var enforceInternalState = index.internalState.enforce;
|
|
2663
|
+
|
|
2664
|
+
|
|
2665
|
+
var IS_IE11 = !index.global_1.ActiveXObject && 'ActiveXObject' in index.global_1;
|
|
2666
|
+
var InternalWeakMap;
|
|
2667
|
+
|
|
2668
|
+
var wrapper = function (init) {
|
|
2669
|
+
return function WeakMap() {
|
|
2670
|
+
return init(this, arguments.length ? arguments[0] : undefined);
|
|
2671
|
+
};
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
// `WeakMap` constructor
|
|
2675
|
+
// https://tc39.es/ecma262/#sec-weakmap-constructor
|
|
2676
|
+
var $WeakMap = collection('WeakMap', wrapper, collectionWeak);
|
|
2677
|
+
|
|
2678
|
+
// IE11 WeakMap frozen keys fix
|
|
2679
|
+
// We can't use feature detection because it crash some old IE builds
|
|
2680
|
+
// https://github.com/zloirock/core-js/issues/485
|
|
2681
|
+
if (index.nativeWeakMap && IS_IE11) {
|
|
2682
|
+
InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
|
|
2683
|
+
index.internalMetadata.enable();
|
|
2684
|
+
var WeakMapPrototype = $WeakMap.prototype;
|
|
2685
|
+
var nativeDelete = index.functionUncurryThis(WeakMapPrototype['delete']);
|
|
2686
|
+
var nativeHas = index.functionUncurryThis(WeakMapPrototype.has);
|
|
2687
|
+
var nativeGet = index.functionUncurryThis(WeakMapPrototype.get);
|
|
2688
|
+
var nativeSet = index.functionUncurryThis(WeakMapPrototype.set);
|
|
2689
|
+
redefineAll(WeakMapPrototype, {
|
|
2690
|
+
'delete': function (key) {
|
|
2691
|
+
if (index.isObject(key) && !index.objectIsExtensible(key)) {
|
|
2692
|
+
var state = enforceInternalState(this);
|
|
2693
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
2694
|
+
return nativeDelete(this, key) || state.frozen['delete'](key);
|
|
2695
|
+
} return nativeDelete(this, key);
|
|
2696
|
+
},
|
|
2697
|
+
has: function has(key) {
|
|
2698
|
+
if (index.isObject(key) && !index.objectIsExtensible(key)) {
|
|
2699
|
+
var state = enforceInternalState(this);
|
|
2700
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
2701
|
+
return nativeHas(this, key) || state.frozen.has(key);
|
|
2702
|
+
} return nativeHas(this, key);
|
|
2703
|
+
},
|
|
2704
|
+
get: function get(key) {
|
|
2705
|
+
if (index.isObject(key) && !index.objectIsExtensible(key)) {
|
|
2706
|
+
var state = enforceInternalState(this);
|
|
2707
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
2708
|
+
return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);
|
|
2709
|
+
} return nativeGet(this, key);
|
|
2710
|
+
},
|
|
2711
|
+
set: function set(key, value) {
|
|
2712
|
+
if (index.isObject(key) && !index.objectIsExtensible(key)) {
|
|
2713
|
+
var state = enforceInternalState(this);
|
|
2714
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
2715
|
+
nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);
|
|
2716
|
+
} else nativeSet(this, key, value);
|
|
2717
|
+
return this;
|
|
2718
|
+
}
|
|
2719
|
+
});
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
var weakMap$4 = index.path.WeakMap;
|
|
2723
|
+
|
|
2724
|
+
var weakMap$3 = weakMap$4;
|
|
2725
|
+
|
|
2726
|
+
var weakMap$2 = weakMap$3;
|
|
2727
|
+
|
|
2728
|
+
// `Map.prototype.emplace` method
|
|
2729
|
+
// https://github.com/thumbsupep/proposal-upsert
|
|
2730
|
+
var mapEmplace = function emplace(key, handler) {
|
|
2731
|
+
var map = index.anObject(this);
|
|
2732
|
+
var get = index.aCallable(map.get);
|
|
2733
|
+
var has = index.aCallable(map.has);
|
|
2734
|
+
var set = index.aCallable(map.set);
|
|
2735
|
+
var value = (index.functionCall(has, map, key) && 'update' in handler)
|
|
2736
|
+
? handler.update(index.functionCall(get, map, key), key, map)
|
|
2737
|
+
: handler.insert(key, map);
|
|
2738
|
+
index.functionCall(set, map, key, value);
|
|
2739
|
+
return value;
|
|
2740
|
+
};
|
|
2741
|
+
|
|
2742
|
+
// `WeakMap.prototype.emplace` method
|
|
2743
|
+
// https://github.com/tc39/proposal-upsert
|
|
2744
|
+
index._export({ target: 'WeakMap', proto: true, real: true, forced: true }, {
|
|
2745
|
+
emplace: mapEmplace
|
|
2746
|
+
});
|
|
2747
|
+
|
|
2748
|
+
var TypeError$2 = index.global_1.TypeError;
|
|
2749
|
+
|
|
2750
|
+
// `Assert: IsConstructor(argument) is true`
|
|
2751
|
+
var aConstructor = function (argument) {
|
|
2752
|
+
if (index.isConstructor(argument)) return argument;
|
|
2753
|
+
throw TypeError$2(index.tryToString(argument) + ' is not a constructor');
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
// https://tc39.github.io/proposal-setmap-offrom/
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
var push = [].push;
|
|
2764
|
+
|
|
2765
|
+
var collectionFrom = function from(source /* , mapFn, thisArg */) {
|
|
2766
|
+
var length = arguments.length;
|
|
2767
|
+
var mapFn = length > 1 ? arguments[1] : undefined;
|
|
2768
|
+
var mapping, array, n, boundFunction;
|
|
2769
|
+
aConstructor(this);
|
|
2770
|
+
mapping = mapFn !== undefined;
|
|
2771
|
+
if (mapping) index.aCallable(mapFn);
|
|
2772
|
+
if (source == undefined) return new this();
|
|
2773
|
+
array = [];
|
|
2774
|
+
if (mapping) {
|
|
2775
|
+
n = 0;
|
|
2776
|
+
boundFunction = index.functionBindContext(mapFn, length > 2 ? arguments[2] : undefined);
|
|
2777
|
+
iterate(source, function (nextItem) {
|
|
2778
|
+
index.functionCall(push, array, boundFunction(nextItem, n++));
|
|
2779
|
+
});
|
|
2780
|
+
} else {
|
|
2781
|
+
iterate(source, push, { that: array });
|
|
2782
|
+
}
|
|
2783
|
+
return new this(array);
|
|
2784
|
+
};
|
|
2785
|
+
|
|
2786
|
+
// `WeakMap.from` method
|
|
2787
|
+
// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from
|
|
2788
|
+
index._export({ target: 'WeakMap', stat: true, forced: true }, {
|
|
2789
|
+
from: collectionFrom
|
|
2790
|
+
});
|
|
2791
|
+
|
|
2792
|
+
// https://tc39.github.io/proposal-setmap-offrom/
|
|
2793
|
+
var collectionOf = function of() {
|
|
2794
|
+
return new this(index.arraySlice(arguments));
|
|
2795
|
+
};
|
|
2796
|
+
|
|
2797
|
+
// `WeakMap.of` method
|
|
2798
|
+
// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of
|
|
2799
|
+
index._export({ target: 'WeakMap', stat: true, forced: true }, {
|
|
2800
|
+
of: collectionOf
|
|
2801
|
+
});
|
|
2802
|
+
|
|
2803
|
+
// https://github.com/tc39/collection-methods
|
|
2804
|
+
var collectionDeleteAll = function deleteAll(/* ...elements */) {
|
|
2805
|
+
var collection = index.anObject(this);
|
|
2806
|
+
var remover = index.aCallable(collection['delete']);
|
|
2807
|
+
var allDeleted = true;
|
|
2808
|
+
var wasDeleted;
|
|
2809
|
+
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
2810
|
+
wasDeleted = index.functionCall(remover, collection, arguments[k]);
|
|
2811
|
+
allDeleted = allDeleted && wasDeleted;
|
|
2812
|
+
}
|
|
2813
|
+
return !!allDeleted;
|
|
2814
|
+
};
|
|
2815
|
+
|
|
2816
|
+
// `WeakMap.prototype.deleteAll` method
|
|
2817
|
+
// https://github.com/tc39/proposal-collection-methods
|
|
2818
|
+
index._export({ target: 'WeakMap', proto: true, real: true, forced: true }, {
|
|
2819
|
+
deleteAll: collectionDeleteAll
|
|
2820
|
+
});
|
|
2821
|
+
|
|
2822
|
+
var TypeError$1 = index.global_1.TypeError;
|
|
2823
|
+
|
|
2824
|
+
// `Map.prototype.upsert` method
|
|
2825
|
+
// https://github.com/thumbsupep/proposal-upsert
|
|
2826
|
+
var mapUpsert = function upsert(key, updateFn /* , insertFn */) {
|
|
2827
|
+
var map = index.anObject(this);
|
|
2828
|
+
var get = index.aCallable(map.get);
|
|
2829
|
+
var has = index.aCallable(map.has);
|
|
2830
|
+
var set = index.aCallable(map.set);
|
|
2831
|
+
var insertFn = arguments.length > 2 ? arguments[2] : undefined;
|
|
2832
|
+
var value;
|
|
2833
|
+
if (!index.isCallable(updateFn) && !index.isCallable(insertFn)) {
|
|
2834
|
+
throw TypeError$1('At least one callback required');
|
|
2835
|
+
}
|
|
2836
|
+
if (index.functionCall(has, map, key)) {
|
|
2837
|
+
value = index.functionCall(get, map, key);
|
|
2838
|
+
if (index.isCallable(updateFn)) {
|
|
2839
|
+
value = updateFn(value);
|
|
2840
|
+
index.functionCall(set, map, key, value);
|
|
2841
|
+
}
|
|
2842
|
+
} else if (index.isCallable(insertFn)) {
|
|
2843
|
+
value = insertFn();
|
|
2844
|
+
index.functionCall(set, map, key, value);
|
|
2845
|
+
} return value;
|
|
2846
|
+
};
|
|
2847
|
+
|
|
2848
|
+
// TODO: remove from `core-js@4`
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
// `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`)
|
|
2853
|
+
// https://github.com/tc39/proposal-upsert
|
|
2854
|
+
index._export({ target: 'WeakMap', proto: true, real: true, forced: true }, {
|
|
2855
|
+
upsert: mapUpsert
|
|
2856
|
+
});
|
|
2857
|
+
|
|
2858
|
+
// TODO: remove from `core-js@4`
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
var weakMap$1 = weakMap$2;
|
|
2862
|
+
|
|
2863
|
+
var weakMap = weakMap$1;
|
|
2864
|
+
|
|
2865
|
+
var getOwnPropertyDescriptor$2 = index.getOwnPropertyDescriptor;
|
|
2866
|
+
|
|
2867
|
+
var getOwnPropertyDescriptor$1 = getOwnPropertyDescriptor$2;
|
|
2868
|
+
|
|
2869
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptor$1;
|
|
2870
|
+
|
|
2871
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
2872
|
+
if (typeof weakMap !== "function") return null;
|
|
2873
|
+
var cacheBabelInterop = new weakMap();
|
|
2874
|
+
var cacheNodeInterop = new weakMap();
|
|
2875
|
+
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {
|
|
2876
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
2877
|
+
})(nodeInterop);
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
function _interopRequireWildcard(obj, nodeInterop) {
|
|
2881
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
2882
|
+
return obj;
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
|
|
2886
|
+
return {
|
|
2887
|
+
"default": obj
|
|
2888
|
+
};
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
2892
|
+
|
|
2893
|
+
if (cache && cache.has(obj)) {
|
|
2894
|
+
return cache.get(obj);
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
var newObj = {};
|
|
2898
|
+
var hasPropertyDescriptor = index.defineProperty && getOwnPropertyDescriptor;
|
|
2899
|
+
|
|
2900
|
+
for (var key in obj) {
|
|
2901
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
2902
|
+
var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor(obj, key) : null;
|
|
2903
|
+
|
|
2904
|
+
if (desc && (desc.get || desc.set)) {
|
|
2905
|
+
index.defineProperty(newObj, key, desc);
|
|
2906
|
+
} else {
|
|
2907
|
+
newObj[key] = obj[key];
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
newObj["default"] = obj;
|
|
2913
|
+
|
|
2914
|
+
if (cache) {
|
|
2915
|
+
cache.set(obj, newObj);
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
return newObj;
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
function _interopRequireDefault(obj) {
|
|
2922
|
+
return obj && obj.__esModule ? obj : {
|
|
2923
|
+
"default": obj
|
|
2924
|
+
};
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
var ChevronLeft = index.createCommonjsModule(function (module, exports) {
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
index.defineProperty$1(exports, "__esModule", {
|
|
2936
|
+
value: true
|
|
2937
|
+
});
|
|
2938
|
+
|
|
2939
|
+
exports.default = void 0;
|
|
2940
|
+
|
|
2941
|
+
var _extends2 = _interopRequireDefault(index._extends);
|
|
2942
|
+
|
|
2943
|
+
var React = _interopRequireWildcard(React__default['default']);
|
|
2944
|
+
|
|
2945
|
+
function SvgChevronLeft(props, svgRef) {
|
|
2946
|
+
return /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({}, props, {
|
|
2947
|
+
viewBox: "0 0 1024 1024",
|
|
2948
|
+
fill: "currentColor",
|
|
2949
|
+
className: "Icon ".concat(props.className ? props.className : ''),
|
|
2950
|
+
ref: svgRef
|
|
2951
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2952
|
+
d: "M199.5 480L762.8 10.5c21.3-17.1 51.2-12.8 64 8.5 17.1 25.6 12.8 55.5-8.5 68.3L306.1 514.1l516.4 426.8c21.3 17.1 25.6 42.7 8.5 64-17.1 21.3-42.7 25.6-64 8.5L199.5 556.8c-12.8-8.5-17.1-21.3-17.1-38.4 0-17.1 4.2-29.9 17.1-38.4z"
|
|
2953
|
+
}));
|
|
2954
|
+
}
|
|
2955
|
+
|
|
2956
|
+
var ForwardRef = React.forwardRef(SvgChevronLeft);
|
|
2957
|
+
var _default = ForwardRef;
|
|
2958
|
+
exports.default = _default;
|
|
2959
|
+
});
|
|
2960
|
+
|
|
2961
|
+
index.unwrapExports(ChevronLeft);
|
|
2962
|
+
|
|
2963
|
+
var chevronLeft = ChevronLeft;
|
|
2964
|
+
|
|
2965
|
+
var ChevronRight = index.createCommonjsModule(function (module, exports) {
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
index.defineProperty$1(exports, "__esModule", {
|
|
2974
|
+
value: true
|
|
2975
|
+
});
|
|
2976
|
+
|
|
2977
|
+
exports.default = void 0;
|
|
2978
|
+
|
|
2979
|
+
var _extends2 = _interopRequireDefault(index._extends);
|
|
2980
|
+
|
|
2981
|
+
var React = _interopRequireWildcard(React__default['default']);
|
|
2982
|
+
|
|
2983
|
+
function SvgChevronRight(props, svgRef) {
|
|
2984
|
+
return /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({}, props, {
|
|
2985
|
+
viewBox: "0 0 1024 1024",
|
|
2986
|
+
fill: "currentColor",
|
|
2987
|
+
className: "Icon ".concat(props.className ? props.className : ''),
|
|
2988
|
+
ref: svgRef
|
|
2989
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2990
|
+
d: "M841.6 518.4c0 17.1-4.3 29.9-17.1 38.4L257 1013.4c-21.3 17.1-46.9 12.8-64-8.5s-12.8-46.9 8.5-64l516.4-426.8L205.7 87.4c-21.3-12.8-25.6-42.7-8.5-68.3 12.8-21.3 42.7-25.6 64-8.5l563.3 469.5c12.9 8.5 17.1 21.3 17.1 38.3z"
|
|
2991
|
+
}));
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
var ForwardRef = React.forwardRef(SvgChevronRight);
|
|
2995
|
+
var _default = ForwardRef;
|
|
2996
|
+
exports.default = _default;
|
|
2997
|
+
});
|
|
2998
|
+
|
|
2999
|
+
index.unwrapExports(ChevronRight);
|
|
3000
|
+
|
|
3001
|
+
var chevronRight = ChevronRight;
|
|
3002
|
+
|
|
3003
|
+
var _s = $RefreshSig$();
|
|
3004
|
+
|
|
3005
|
+
var _excluded = ["images", "width", "height"];
|
|
3006
|
+
|
|
2086
3007
|
var ImageCarousel = function ImageCarousel(_ref) {
|
|
3008
|
+
_s();
|
|
3009
|
+
|
|
2087
3010
|
var images = _ref.images,
|
|
2088
3011
|
width = _ref.width,
|
|
2089
3012
|
height = _ref.height,
|
|
@@ -2167,7 +3090,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2167
3090
|
src: image.src,
|
|
2168
3091
|
alt: image.alt
|
|
2169
3092
|
})));
|
|
2170
|
-
}))), /*#__PURE__*/React__default['default'].createElement(index.
|
|
3093
|
+
}))), /*#__PURE__*/React__default['default'].createElement(index.Button, {
|
|
2171
3094
|
onClick: scrollPrev,
|
|
2172
3095
|
width: "16",
|
|
2173
3096
|
height: "100%",
|
|
@@ -2191,7 +3114,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2191
3114
|
borderRadius: "50%",
|
|
2192
3115
|
bgColor: "black",
|
|
2193
3116
|
opacity: "0.6"
|
|
2194
|
-
}, /*#__PURE__*/React__default['default'].createElement(
|
|
3117
|
+
}, /*#__PURE__*/React__default['default'].createElement(chevronLeft, null))), /*#__PURE__*/React__default['default'].createElement(index.Button, {
|
|
2195
3118
|
onClick: scrollNext,
|
|
2196
3119
|
width: "16",
|
|
2197
3120
|
height: "100%",
|
|
@@ -2215,7 +3138,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2215
3138
|
borderRadius: "50%",
|
|
2216
3139
|
bgColor: "black",
|
|
2217
3140
|
opacity: "0.6"
|
|
2218
|
-
}, /*#__PURE__*/React__default['default'].createElement(
|
|
3141
|
+
}, /*#__PURE__*/React__default['default'].createElement(chevronRight, null))), /*#__PURE__*/React__default['default'].createElement(index.Box, {
|
|
2219
3142
|
color: "white",
|
|
2220
3143
|
borderRadius: "1rem",
|
|
2221
3144
|
bgColor: "black",
|
|
@@ -2230,10 +3153,11 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2230
3153
|
}, selectedIndex + 1, "/", images.length));
|
|
2231
3154
|
};
|
|
2232
3155
|
|
|
2233
|
-
|
|
3156
|
+
_s(ImageCarousel, "jxp7tUf1mQMbqWwZGJWfZ+Ibdl8=", false, function () {
|
|
2234
3157
|
return [useEmblaCarousel];
|
|
2235
3158
|
});
|
|
2236
3159
|
|
|
3160
|
+
_c = ImageCarousel;
|
|
2237
3161
|
ImageCarousel.propTypes = {
|
|
2238
3162
|
/** Array of images with src and alt */
|
|
2239
3163
|
images: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
|
|
@@ -2247,23 +3171,10 @@ ImageCarousel.propTypes = {
|
|
|
2247
3171
|
/** Width of the carousel in rem */
|
|
2248
3172
|
width: PropTypes__default['default'].number
|
|
2249
3173
|
};
|
|
2250
|
-
var _default = ImageCarousel;
|
|
2251
3174
|
|
|
2252
|
-
|
|
2253
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
3175
|
+
var _c;
|
|
2254
3176
|
|
|
2255
|
-
|
|
2256
|
-
return;
|
|
2257
|
-
}
|
|
2258
|
-
|
|
2259
|
-
reactHotLoader.register(ImageCarousel, "ImageCarousel", "/tmp/build/44cb8d9a/src/src/v2/components/ImageCarousel/ImageCarousel.jsx");
|
|
2260
|
-
reactHotLoader.register(_default, "default", "/tmp/build/44cb8d9a/src/src/v2/components/ImageCarousel/ImageCarousel.jsx");
|
|
2261
|
-
})();
|
|
3177
|
+
$RefreshReg$(_c, "ImageCarousel");
|
|
2262
3178
|
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
leaveModule && leaveModule(module);
|
|
2266
|
-
})();
|
|
2267
|
-
|
|
2268
|
-
exports.default = _default;
|
|
2269
|
-
//# sourceMappingURL=ImageCarousel-7f4217ce.js.map
|
|
3179
|
+
exports.default = ImageCarousel;
|
|
3180
|
+
//# sourceMappingURL=ImageCarousel-a6361ff4.js.map
|