@darajs/components 1.4.6 → 1.5.1
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/dist/common/anchor/anchor.d.ts.map +1 -1
- package/dist/common/anchor/anchor.js +17 -5
- package/dist/common/anchor/anchor.js.map +1 -1
- package/dist/common/button/button.js.map +1 -1
- package/dist/common/carousel/carousel.js.map +1 -1
- package/dist/common/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/common/code/code.js.map +1 -1
- package/dist/common/context/form-context.js.map +1 -1
- package/dist/common/datepicker/datepicker.js.map +1 -1
- package/dist/common/dropzone/dropzone.js.map +1 -1
- package/dist/common/form/form.js.map +1 -1
- package/dist/common/grid/row.js.map +1 -1
- package/dist/common/if/if.js.map +1 -1
- package/dist/common/input/input.js.map +1 -1
- package/dist/common/markdown/markdown.js.map +1 -1
- package/dist/common/select/select.js.map +1 -1
- package/dist/common/slider/slider.js.map +1 -1
- package/dist/common/stack/stack.js.map +1 -1
- package/dist/common/tabbed-card/tabbed-card.js.map +1 -1
- package/dist/common/table/cells/adaptive-precision-cell.js.map +1 -1
- package/dist/common/table/cells/code-cell.js.map +1 -1
- package/dist/common/table/cells/compare-cell.js.map +1 -1
- package/dist/common/table/cells/formatted-text-cell.js.map +1 -1
- package/dist/common/table/cells/link-cell.js.map +1 -1
- package/dist/common/table/cells/number-cell.js.map +1 -1
- package/dist/common/table/cells/number-intl-cell.js.map +1 -1
- package/dist/common/table/cells/percentage-cell.js.map +1 -1
- package/dist/common/table/cells/threshold-formatted-cell.js.map +1 -1
- package/dist/common/table/table.js.map +1 -1
- package/dist/common/text/text.js.map +1 -1
- package/dist/dara_components-1.5.1-py3-none-any.whl +0 -0
- package/dist/graphs/causal-graph-viewer.js.map +1 -1
- package/dist/graphs/graph-layout.js.map +1 -1
- package/dist/graphs/node-hierarchy-builder.js.map +1 -1
- package/dist/graphs/visual-edge-encoder.js.map +1 -1
- package/dist/plotting/bokeh/bokeh.js.map +1 -1
- package/dist/plotting/plotly/plotly.js.map +1 -1
- package/dist/smart/data-slicer-filter/data-slicer-filter.js.map +1 -1
- package/dist/umd/dara.components.umd.js +592 -984
- package/package.json +14 -14
- package/dist/dara_components-1.4.6-py3-none-any.whl +0 -0
|
@@ -212,18 +212,18 @@
|
|
|
212
212
|
}
|
|
213
213
|
})(jsxRuntime);
|
|
214
214
|
var Collapse$2 = {};
|
|
215
|
-
function _typeof$
|
|
215
|
+
function _typeof$9(obj) {
|
|
216
216
|
"@babel/helpers - typeof";
|
|
217
217
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
218
|
-
_typeof$
|
|
218
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
219
219
|
return typeof obj2;
|
|
220
220
|
};
|
|
221
221
|
} else {
|
|
222
|
-
_typeof$
|
|
222
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
223
223
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
return _typeof$
|
|
226
|
+
return _typeof$9(obj);
|
|
227
227
|
}
|
|
228
228
|
Object.defineProperty(Collapse$2, "__esModule", {
|
|
229
229
|
value: true
|
|
@@ -261,21 +261,21 @@
|
|
|
261
261
|
}
|
|
262
262
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
263
263
|
if (superClass)
|
|
264
|
-
_setPrototypeOf$
|
|
264
|
+
_setPrototypeOf$4(subClass, superClass);
|
|
265
265
|
}
|
|
266
|
-
function _setPrototypeOf$
|
|
267
|
-
_setPrototypeOf$
|
|
266
|
+
function _setPrototypeOf$4(o2, p2) {
|
|
267
|
+
_setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
268
268
|
o3.__proto__ = p3;
|
|
269
269
|
return o3;
|
|
270
270
|
};
|
|
271
|
-
return _setPrototypeOf$
|
|
271
|
+
return _setPrototypeOf$4(o2, p2);
|
|
272
272
|
}
|
|
273
273
|
function _createSuper$3(Derived) {
|
|
274
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
274
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$3();
|
|
275
275
|
return function _createSuperInternal() {
|
|
276
|
-
var Super = _getPrototypeOf$
|
|
276
|
+
var Super = _getPrototypeOf$3(Derived), result;
|
|
277
277
|
if (hasNativeReflectConstruct) {
|
|
278
|
-
var NewTarget = _getPrototypeOf$
|
|
278
|
+
var NewTarget = _getPrototypeOf$3(this).constructor;
|
|
279
279
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
280
280
|
} else {
|
|
281
281
|
result = Super.apply(this, arguments);
|
|
@@ -284,20 +284,20 @@
|
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
286
|
function _possibleConstructorReturn$3(self2, call2) {
|
|
287
|
-
if (call2 && (_typeof$
|
|
287
|
+
if (call2 && (_typeof$9(call2) === "object" || typeof call2 === "function")) {
|
|
288
288
|
return call2;
|
|
289
289
|
} else if (call2 !== void 0) {
|
|
290
290
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
291
291
|
}
|
|
292
|
-
return _assertThisInitialized$
|
|
292
|
+
return _assertThisInitialized$4(self2);
|
|
293
293
|
}
|
|
294
|
-
function _assertThisInitialized$
|
|
294
|
+
function _assertThisInitialized$4(self2) {
|
|
295
295
|
if (self2 === void 0) {
|
|
296
296
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
297
297
|
}
|
|
298
298
|
return self2;
|
|
299
299
|
}
|
|
300
|
-
function _isNativeReflectConstruct$
|
|
300
|
+
function _isNativeReflectConstruct$3() {
|
|
301
301
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
302
302
|
return false;
|
|
303
303
|
if (Reflect.construct.sham)
|
|
@@ -312,13 +312,13 @@
|
|
|
312
312
|
return false;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
function _getPrototypeOf$
|
|
316
|
-
_getPrototypeOf$
|
|
315
|
+
function _getPrototypeOf$3(o2) {
|
|
316
|
+
_getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
317
317
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
318
318
|
};
|
|
319
|
-
return _getPrototypeOf$
|
|
319
|
+
return _getPrototypeOf$3(o2);
|
|
320
320
|
}
|
|
321
|
-
function _defineProperty$
|
|
321
|
+
function _defineProperty$s(obj, key, value) {
|
|
322
322
|
if (key in obj) {
|
|
323
323
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
324
324
|
} else {
|
|
@@ -333,10 +333,10 @@
|
|
|
333
333
|
var _this;
|
|
334
334
|
_classCallCheck$j(this, Collapse2);
|
|
335
335
|
_this = _super.call(this, props);
|
|
336
|
-
_defineProperty$
|
|
337
|
-
_defineProperty$
|
|
338
|
-
_defineProperty$
|
|
339
|
-
_defineProperty$
|
|
336
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "timeout", void 0);
|
|
337
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "container", void 0);
|
|
338
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "content", void 0);
|
|
339
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "onResize", function() {
|
|
340
340
|
clearTimeout(_this.timeout);
|
|
341
341
|
if (!_this.container || !_this.content) {
|
|
342
342
|
return;
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
}, checkTimeout);
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
|
-
_defineProperty$
|
|
370
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "onRest", function(_ref2) {
|
|
371
371
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
372
372
|
if (!_this.container || !_this.content) {
|
|
373
373
|
return;
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
|
-
_defineProperty$
|
|
392
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "onWork", function(_ref2) {
|
|
393
393
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
394
394
|
if (!_this.container || !_this.content) {
|
|
395
395
|
return;
|
|
@@ -412,10 +412,10 @@
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
|
-
_defineProperty$
|
|
415
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "onRefContainer", function(container) {
|
|
416
416
|
_this.container = container;
|
|
417
417
|
});
|
|
418
|
-
_defineProperty$
|
|
418
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "onRefContent", function(content2) {
|
|
419
419
|
_this.content = content2;
|
|
420
420
|
});
|
|
421
421
|
if (props.initialStyle) {
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
return Collapse2;
|
|
485
485
|
}(_react$1["default"].Component);
|
|
486
486
|
Collapse$2.Collapse = Collapse$1;
|
|
487
|
-
_defineProperty$
|
|
487
|
+
_defineProperty$s(Collapse$1, "defaultProps", {
|
|
488
488
|
theme: {
|
|
489
489
|
collapse: "ReactCollapse--collapse",
|
|
490
490
|
content: "ReactCollapse--content"
|
|
@@ -495,18 +495,18 @@
|
|
|
495
495
|
checkTimeout: 50
|
|
496
496
|
});
|
|
497
497
|
var UnmountClosed$2 = {};
|
|
498
|
-
function _typeof$
|
|
498
|
+
function _typeof$8(obj) {
|
|
499
499
|
"@babel/helpers - typeof";
|
|
500
500
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
501
|
-
_typeof$
|
|
501
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
502
502
|
return typeof obj2;
|
|
503
503
|
};
|
|
504
504
|
} else {
|
|
505
|
-
_typeof$
|
|
505
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
506
506
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
return _typeof$
|
|
509
|
+
return _typeof$8(obj);
|
|
510
510
|
}
|
|
511
511
|
Object.defineProperty(UnmountClosed$2, "__esModule", {
|
|
512
512
|
value: true
|
|
@@ -518,8 +518,8 @@
|
|
|
518
518
|
function _interopRequireDefault(obj) {
|
|
519
519
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
520
520
|
}
|
|
521
|
-
function _extends$
|
|
522
|
-
_extends$
|
|
521
|
+
function _extends$3() {
|
|
522
|
+
_extends$3 = Object.assign || function(target) {
|
|
523
523
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
524
524
|
var source = arguments[i2];
|
|
525
525
|
for (var key in source) {
|
|
@@ -530,9 +530,9 @@
|
|
|
530
530
|
}
|
|
531
531
|
return target;
|
|
532
532
|
};
|
|
533
|
-
return _extends$
|
|
533
|
+
return _extends$3.apply(this, arguments);
|
|
534
534
|
}
|
|
535
|
-
function ownKeys$
|
|
535
|
+
function ownKeys$9(object2, enumerableOnly) {
|
|
536
536
|
var keys2 = Object.keys(object2);
|
|
537
537
|
if (Object.getOwnPropertySymbols) {
|
|
538
538
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -549,23 +549,23 @@
|
|
|
549
549
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
550
550
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
551
551
|
if (i2 % 2) {
|
|
552
|
-
ownKeys$
|
|
553
|
-
_defineProperty$
|
|
552
|
+
ownKeys$9(Object(source), true).forEach(function(key) {
|
|
553
|
+
_defineProperty$r(target, key, source[key]);
|
|
554
554
|
});
|
|
555
555
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
556
556
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
557
557
|
} else {
|
|
558
|
-
ownKeys$
|
|
558
|
+
ownKeys$9(Object(source)).forEach(function(key) {
|
|
559
559
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
560
560
|
});
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
return target;
|
|
564
564
|
}
|
|
565
|
-
function _objectWithoutProperties$
|
|
565
|
+
function _objectWithoutProperties$3(source, excluded) {
|
|
566
566
|
if (source == null)
|
|
567
567
|
return {};
|
|
568
|
-
var target = _objectWithoutPropertiesLoose$
|
|
568
|
+
var target = _objectWithoutPropertiesLoose$6(source, excluded);
|
|
569
569
|
var key, i2;
|
|
570
570
|
if (Object.getOwnPropertySymbols) {
|
|
571
571
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
}
|
|
581
581
|
return target;
|
|
582
582
|
}
|
|
583
|
-
function _objectWithoutPropertiesLoose$
|
|
583
|
+
function _objectWithoutPropertiesLoose$6(source, excluded) {
|
|
584
584
|
if (source == null)
|
|
585
585
|
return {};
|
|
586
586
|
var target = {};
|
|
@@ -622,21 +622,21 @@
|
|
|
622
622
|
}
|
|
623
623
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
624
624
|
if (superClass)
|
|
625
|
-
_setPrototypeOf$
|
|
625
|
+
_setPrototypeOf$3(subClass, superClass);
|
|
626
626
|
}
|
|
627
|
-
function _setPrototypeOf$
|
|
628
|
-
_setPrototypeOf$
|
|
627
|
+
function _setPrototypeOf$3(o2, p2) {
|
|
628
|
+
_setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
629
629
|
o3.__proto__ = p3;
|
|
630
630
|
return o3;
|
|
631
631
|
};
|
|
632
|
-
return _setPrototypeOf$
|
|
632
|
+
return _setPrototypeOf$3(o2, p2);
|
|
633
633
|
}
|
|
634
634
|
function _createSuper$2(Derived) {
|
|
635
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
635
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$2();
|
|
636
636
|
return function _createSuperInternal() {
|
|
637
|
-
var Super = _getPrototypeOf$
|
|
637
|
+
var Super = _getPrototypeOf$2(Derived), result;
|
|
638
638
|
if (hasNativeReflectConstruct) {
|
|
639
|
-
var NewTarget = _getPrototypeOf$
|
|
639
|
+
var NewTarget = _getPrototypeOf$2(this).constructor;
|
|
640
640
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
641
641
|
} else {
|
|
642
642
|
result = Super.apply(this, arguments);
|
|
@@ -645,20 +645,20 @@
|
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
647
|
function _possibleConstructorReturn$2(self2, call2) {
|
|
648
|
-
if (call2 && (_typeof$
|
|
648
|
+
if (call2 && (_typeof$8(call2) === "object" || typeof call2 === "function")) {
|
|
649
649
|
return call2;
|
|
650
650
|
} else if (call2 !== void 0) {
|
|
651
651
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
652
652
|
}
|
|
653
|
-
return _assertThisInitialized$
|
|
653
|
+
return _assertThisInitialized$3(self2);
|
|
654
654
|
}
|
|
655
|
-
function _assertThisInitialized$
|
|
655
|
+
function _assertThisInitialized$3(self2) {
|
|
656
656
|
if (self2 === void 0) {
|
|
657
657
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
658
658
|
}
|
|
659
659
|
return self2;
|
|
660
660
|
}
|
|
661
|
-
function _isNativeReflectConstruct$
|
|
661
|
+
function _isNativeReflectConstruct$2() {
|
|
662
662
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
663
663
|
return false;
|
|
664
664
|
if (Reflect.construct.sham)
|
|
@@ -673,13 +673,13 @@
|
|
|
673
673
|
return false;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
function _getPrototypeOf$
|
|
677
|
-
_getPrototypeOf$
|
|
676
|
+
function _getPrototypeOf$2(o2) {
|
|
677
|
+
_getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
678
678
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
679
679
|
};
|
|
680
|
-
return _getPrototypeOf$
|
|
680
|
+
return _getPrototypeOf$2(o2);
|
|
681
681
|
}
|
|
682
|
-
function _defineProperty$
|
|
682
|
+
function _defineProperty$r(obj, key, value) {
|
|
683
683
|
if (key in obj) {
|
|
684
684
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
685
685
|
} else {
|
|
@@ -694,8 +694,8 @@
|
|
|
694
694
|
var _this;
|
|
695
695
|
_classCallCheck$i(this, UnmountClosed2);
|
|
696
696
|
_this = _super.call(this, props);
|
|
697
|
-
_defineProperty$
|
|
698
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
697
|
+
_defineProperty$r(_assertThisInitialized$3(_this), "onWork", function(_ref2) {
|
|
698
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded$6);
|
|
699
699
|
_this.setState({
|
|
700
700
|
isResting: false,
|
|
701
701
|
isOpened
|
|
@@ -707,8 +707,8 @@
|
|
|
707
707
|
}, rest));
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
_defineProperty$
|
|
711
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
710
|
+
_defineProperty$r(_assertThisInitialized$3(_this), "onRest", function(_ref2) {
|
|
711
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded2$3);
|
|
712
712
|
_this.setState({
|
|
713
713
|
isResting: true,
|
|
714
714
|
isOpened,
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
}, rest));
|
|
722
722
|
}
|
|
723
723
|
});
|
|
724
|
-
_defineProperty$
|
|
724
|
+
_defineProperty$r(_assertThisInitialized$3(_this), "getInitialStyle", function() {
|
|
725
725
|
var _this$state = _this.state, isOpened = _this$state.isOpened, isInitialRender = _this$state.isInitialRender;
|
|
726
726
|
if (isInitialRender) {
|
|
727
727
|
return isOpened ? {
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
key: "render",
|
|
761
761
|
value: function render2() {
|
|
762
762
|
var _this$state2 = this.state, isResting = _this$state2.isResting, isOpened = _this$state2.isOpened;
|
|
763
|
-
return isResting && !isOpened ? null : /* @__PURE__ */ _react["default"].createElement(_Collapse.Collapse, _extends$
|
|
763
|
+
return isResting && !isOpened ? null : /* @__PURE__ */ _react["default"].createElement(_Collapse.Collapse, _extends$3({}, this.props, {
|
|
764
764
|
initialStyle: this.getInitialStyle(),
|
|
765
765
|
onWork: this.onWork,
|
|
766
766
|
onRest: this.onRest
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
return UnmountClosed2;
|
|
771
771
|
}(_react["default"].PureComponent);
|
|
772
772
|
UnmountClosed$2.UnmountClosed = UnmountClosed$1;
|
|
773
|
-
_defineProperty$
|
|
773
|
+
_defineProperty$r(UnmountClosed$1, "defaultProps", {
|
|
774
774
|
onWork: void 0,
|
|
775
775
|
onRest: void 0
|
|
776
776
|
});
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
iconName: "check",
|
|
923
923
|
icon: [448, 512, [10003, 10004], "f00c", "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]
|
|
924
924
|
};
|
|
925
|
-
function ownKeys$
|
|
925
|
+
function ownKeys$8(object2, enumerableOnly) {
|
|
926
926
|
var keys2 = Object.keys(object2);
|
|
927
927
|
if (Object.getOwnPropertySymbols) {
|
|
928
928
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -932,24 +932,24 @@
|
|
|
932
932
|
}
|
|
933
933
|
return keys2;
|
|
934
934
|
}
|
|
935
|
-
function _objectSpread2$
|
|
935
|
+
function _objectSpread2$2(target) {
|
|
936
936
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
937
937
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
938
|
-
i2 % 2 ? ownKeys$
|
|
939
|
-
_defineProperty$
|
|
940
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
938
|
+
i2 % 2 ? ownKeys$8(Object(source), true).forEach(function(key) {
|
|
939
|
+
_defineProperty$q(target, key, source[key]);
|
|
940
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function(key) {
|
|
941
941
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
942
942
|
});
|
|
943
943
|
}
|
|
944
944
|
return target;
|
|
945
945
|
}
|
|
946
|
-
function _typeof$
|
|
946
|
+
function _typeof$7(obj) {
|
|
947
947
|
"@babel/helpers - typeof";
|
|
948
|
-
return _typeof$
|
|
948
|
+
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
949
949
|
return typeof obj2;
|
|
950
950
|
} : function(obj2) {
|
|
951
951
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
952
|
-
}, _typeof$
|
|
952
|
+
}, _typeof$7(obj);
|
|
953
953
|
}
|
|
954
954
|
function _classCallCheck$h(instance2, Constructor) {
|
|
955
955
|
if (!(instance2 instanceof Constructor)) {
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
});
|
|
977
977
|
return Constructor;
|
|
978
978
|
}
|
|
979
|
-
function _defineProperty$
|
|
979
|
+
function _defineProperty$q(obj, key, value) {
|
|
980
980
|
if (key in obj) {
|
|
981
981
|
Object.defineProperty(obj, key, {
|
|
982
982
|
value,
|
|
@@ -990,20 +990,20 @@
|
|
|
990
990
|
return obj;
|
|
991
991
|
}
|
|
992
992
|
function _slicedToArray$a(arr, i2) {
|
|
993
|
-
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$
|
|
993
|
+
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$b(arr, i2) || _nonIterableRest$a();
|
|
994
994
|
}
|
|
995
|
-
function _toConsumableArray$
|
|
996
|
-
return _arrayWithoutHoles$
|
|
995
|
+
function _toConsumableArray$4(arr) {
|
|
996
|
+
return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$b(arr) || _nonIterableSpread$4();
|
|
997
997
|
}
|
|
998
|
-
function _arrayWithoutHoles$
|
|
998
|
+
function _arrayWithoutHoles$4(arr) {
|
|
999
999
|
if (Array.isArray(arr))
|
|
1000
|
-
return _arrayLikeToArray$
|
|
1000
|
+
return _arrayLikeToArray$b(arr);
|
|
1001
1001
|
}
|
|
1002
1002
|
function _arrayWithHoles$a(arr) {
|
|
1003
1003
|
if (Array.isArray(arr))
|
|
1004
1004
|
return arr;
|
|
1005
1005
|
}
|
|
1006
|
-
function _iterableToArray$
|
|
1006
|
+
function _iterableToArray$4(iter2) {
|
|
1007
1007
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
1008
1008
|
return Array.from(iter2);
|
|
1009
1009
|
}
|
|
@@ -1035,27 +1035,27 @@
|
|
|
1035
1035
|
}
|
|
1036
1036
|
return _arr;
|
|
1037
1037
|
}
|
|
1038
|
-
function _unsupportedIterableToArray$
|
|
1038
|
+
function _unsupportedIterableToArray$b(o2, minLen) {
|
|
1039
1039
|
if (!o2)
|
|
1040
1040
|
return;
|
|
1041
1041
|
if (typeof o2 === "string")
|
|
1042
|
-
return _arrayLikeToArray$
|
|
1042
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1043
1043
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
1044
1044
|
if (n2 === "Object" && o2.constructor)
|
|
1045
1045
|
n2 = o2.constructor.name;
|
|
1046
1046
|
if (n2 === "Map" || n2 === "Set")
|
|
1047
1047
|
return Array.from(o2);
|
|
1048
1048
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
1049
|
-
return _arrayLikeToArray$
|
|
1049
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1050
1050
|
}
|
|
1051
|
-
function _arrayLikeToArray$
|
|
1051
|
+
function _arrayLikeToArray$b(arr, len) {
|
|
1052
1052
|
if (len == null || len > arr.length)
|
|
1053
1053
|
len = arr.length;
|
|
1054
1054
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
1055
1055
|
arr2[i2] = arr[i2];
|
|
1056
1056
|
return arr2;
|
|
1057
1057
|
}
|
|
1058
|
-
function _nonIterableSpread$
|
|
1058
|
+
function _nonIterableSpread$4() {
|
|
1059
1059
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1060
1060
|
}
|
|
1061
1061
|
function _nonIterableRest$a() {
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
var HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
|
|
1103
1103
|
var MUTATION_APPROACH_ASYNC = "async";
|
|
1104
1104
|
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
|
|
1105
|
-
var PRODUCTION$
|
|
1105
|
+
var PRODUCTION$1 = function() {
|
|
1106
1106
|
try {
|
|
1107
1107
|
return true;
|
|
1108
1108
|
} catch (e3) {
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
}
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
|
-
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$
|
|
1122
|
+
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$q(_familyProxy, FAMILY_CLASSIC, {
|
|
1123
1123
|
"fa": "solid",
|
|
1124
1124
|
"fas": "solid",
|
|
1125
1125
|
"fa-solid": "solid",
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
"fa-brands": "brands",
|
|
1136
1136
|
"fak": "kit",
|
|
1137
1137
|
"fa-kit": "kit"
|
|
1138
|
-
}), _defineProperty$
|
|
1138
|
+
}), _defineProperty$q(_familyProxy, FAMILY_SHARP, {
|
|
1139
1139
|
"fa": "solid",
|
|
1140
1140
|
"fass": "solid",
|
|
1141
1141
|
"fa-solid": "solid",
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
"fasl": "light",
|
|
1145
1145
|
"fa-light": "light"
|
|
1146
1146
|
}), _familyProxy));
|
|
1147
|
-
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$
|
|
1147
|
+
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$q(_familyProxy2, FAMILY_CLASSIC, {
|
|
1148
1148
|
"solid": "fas",
|
|
1149
1149
|
"regular": "far",
|
|
1150
1150
|
"light": "fal",
|
|
@@ -1152,12 +1152,12 @@
|
|
|
1152
1152
|
"duotone": "fad",
|
|
1153
1153
|
"brands": "fab",
|
|
1154
1154
|
"kit": "fak"
|
|
1155
|
-
}), _defineProperty$
|
|
1155
|
+
}), _defineProperty$q(_familyProxy2, FAMILY_SHARP, {
|
|
1156
1156
|
"solid": "fass",
|
|
1157
1157
|
"regular": "fasr",
|
|
1158
1158
|
"light": "fasl"
|
|
1159
1159
|
}), _familyProxy2));
|
|
1160
|
-
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$
|
|
1160
|
+
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$q(_familyProxy3, FAMILY_CLASSIC, {
|
|
1161
1161
|
"fab": "fa-brands",
|
|
1162
1162
|
"fad": "fa-duotone",
|
|
1163
1163
|
"fak": "fa-kit",
|
|
@@ -1165,12 +1165,12 @@
|
|
|
1165
1165
|
"far": "fa-regular",
|
|
1166
1166
|
"fas": "fa-solid",
|
|
1167
1167
|
"fat": "fa-thin"
|
|
1168
|
-
}), _defineProperty$
|
|
1168
|
+
}), _defineProperty$q(_familyProxy3, FAMILY_SHARP, {
|
|
1169
1169
|
"fass": "fa-solid",
|
|
1170
1170
|
"fasr": "fa-regular",
|
|
1171
1171
|
"fasl": "fa-light"
|
|
1172
1172
|
}), _familyProxy3));
|
|
1173
|
-
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$
|
|
1173
|
+
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$q(_familyProxy4, FAMILY_CLASSIC, {
|
|
1174
1174
|
"fa-brands": "fab",
|
|
1175
1175
|
"fa-duotone": "fad",
|
|
1176
1176
|
"fa-kit": "fak",
|
|
@@ -1178,7 +1178,7 @@
|
|
|
1178
1178
|
"fa-regular": "far",
|
|
1179
1179
|
"fa-solid": "fas",
|
|
1180
1180
|
"fa-thin": "fat"
|
|
1181
|
-
}), _defineProperty$
|
|
1181
|
+
}), _defineProperty$q(_familyProxy4, FAMILY_SHARP, {
|
|
1182
1182
|
"fa-solid": "fass",
|
|
1183
1183
|
"fa-regular": "fasr",
|
|
1184
1184
|
"fa-light": "fasl"
|
|
@@ -1186,13 +1186,13 @@
|
|
|
1186
1186
|
var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/;
|
|
1187
1187
|
var LAYERS_TEXT_CLASSNAME = "fa-layers-text";
|
|
1188
1188
|
var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i;
|
|
1189
|
-
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$
|
|
1189
|
+
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$q(_familyProxy5, FAMILY_CLASSIC, {
|
|
1190
1190
|
"900": "fas",
|
|
1191
1191
|
"400": "far",
|
|
1192
1192
|
"normal": "far",
|
|
1193
1193
|
"300": "fal",
|
|
1194
1194
|
"100": "fat"
|
|
1195
|
-
}), _defineProperty$
|
|
1195
|
+
}), _defineProperty$q(_familyProxy5, FAMILY_SHARP, {
|
|
1196
1196
|
"900": "fass",
|
|
1197
1197
|
"400": "fasr",
|
|
1198
1198
|
"300": "fasl"
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
var prefixes = /* @__PURE__ */ new Set();
|
|
1210
1210
|
Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
|
|
1211
1211
|
Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
|
|
1212
|
-
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$
|
|
1212
|
+
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$4(prefixes), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", DUOTONE_CLASSES.GROUP, DUOTONE_CLASSES.SWAP_OPACITY, DUOTONE_CLASSES.PRIMARY, DUOTONE_CLASSES.SECONDARY]).concat(oneToTen.map(function(n2) {
|
|
1213
1213
|
return "".concat(n2, "x");
|
|
1214
1214
|
})).concat(oneToTwenty.map(function(n2) {
|
|
1215
1215
|
return "w-".concat(n2);
|
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
if (initial.familyPrefix) {
|
|
1259
1259
|
initial.cssPrefix = initial.familyPrefix;
|
|
1260
1260
|
}
|
|
1261
|
-
var _config = _objectSpread2$
|
|
1261
|
+
var _config = _objectSpread2$2(_objectSpread2$2({}, _default$2), initial);
|
|
1262
1262
|
if (!_config.autoReplaceSvg)
|
|
1263
1263
|
_config.observeMutations = false;
|
|
1264
1264
|
var config$1 = {};
|
|
@@ -1562,7 +1562,7 @@
|
|
|
1562
1562
|
if (typeof namespace$1.hooks.addPack === "function" && !skipHooks) {
|
|
1563
1563
|
namespace$1.hooks.addPack(prefix, normalizeIcons(icons));
|
|
1564
1564
|
} else {
|
|
1565
|
-
namespace$1.styles[prefix] = _objectSpread2$
|
|
1565
|
+
namespace$1.styles[prefix] = _objectSpread2$2(_objectSpread2$2({}, namespace$1.styles[prefix] || {}), normalized);
|
|
1566
1566
|
}
|
|
1567
1567
|
if (prefix === "fas") {
|
|
1568
1568
|
defineIcons("fa", icons);
|
|
@@ -1570,14 +1570,14 @@
|
|
|
1570
1570
|
}
|
|
1571
1571
|
var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
|
|
1572
1572
|
var styles = namespace$1.styles, shims = namespace$1.shims;
|
|
1573
|
-
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$
|
|
1573
|
+
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$q(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_LONG_STYLE, FAMILY_SHARP, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _LONG_STYLE);
|
|
1574
1574
|
var _defaultUsablePrefix = null;
|
|
1575
1575
|
var _byUnicode = {};
|
|
1576
1576
|
var _byLigature = {};
|
|
1577
1577
|
var _byOldName = {};
|
|
1578
1578
|
var _byOldUnicode = {};
|
|
1579
1579
|
var _byAlias = {};
|
|
1580
|
-
var PREFIXES = (_PREFIXES = {}, _defineProperty$
|
|
1580
|
+
var PREFIXES = (_PREFIXES = {}, _defineProperty$q(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES, FAMILY_SHARP, Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP])), _PREFIXES);
|
|
1581
1581
|
function isReserved(name2) {
|
|
1582
1582
|
return ~RESERVED_CLASSES.indexOf(name2);
|
|
1583
1583
|
}
|
|
@@ -1713,12 +1713,12 @@
|
|
|
1713
1713
|
var defined = styleOrPrefix in namespace$1.styles ? styleOrPrefix : null;
|
|
1714
1714
|
return prefix || defined || null;
|
|
1715
1715
|
}
|
|
1716
|
-
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$
|
|
1716
|
+
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_SHARP, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _PREFIXES_FOR_FAMILY);
|
|
1717
1717
|
function getCanonicalIcon(values) {
|
|
1718
1718
|
var _famProps;
|
|
1719
1719
|
var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1720
1720
|
var _params$skipLookups = params.skipLookups, skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
|
|
1721
|
-
var famProps = (_famProps = {}, _defineProperty$
|
|
1721
|
+
var famProps = (_famProps = {}, _defineProperty$q(_famProps, FAMILY_CLASSIC, "".concat(config$1.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty$q(_famProps, FAMILY_SHARP, "".concat(config$1.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
|
|
1722
1722
|
var givenPrefix = null;
|
|
1723
1723
|
var family = FAMILY_CLASSIC;
|
|
1724
1724
|
if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function(v2) {
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
}
|
|
1791
1791
|
var additions = definitions2.reduce(this._pullDefinitions, {});
|
|
1792
1792
|
Object.keys(additions).forEach(function(key) {
|
|
1793
|
-
_this.definitions[key] = _objectSpread2$
|
|
1793
|
+
_this.definitions[key] = _objectSpread2$2(_objectSpread2$2({}, _this.definitions[key] || {}), additions[key]);
|
|
1794
1794
|
defineIcons(key, additions[key]);
|
|
1795
1795
|
var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
|
|
1796
1796
|
if (longPrefix)
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
if (typeof mixout[tk] === "function") {
|
|
1848
1848
|
obj[tk] = mixout[tk];
|
|
1849
1849
|
}
|
|
1850
|
-
if (_typeof$
|
|
1850
|
+
if (_typeof$7(mixout[tk]) === "object") {
|
|
1851
1851
|
Object.keys(mixout[tk]).forEach(function(sk) {
|
|
1852
1852
|
if (!obj[tk]) {
|
|
1853
1853
|
obj[tk] = {};
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
if (_icon === null) {
|
|
1945
1945
|
return null;
|
|
1946
1946
|
}
|
|
1947
|
-
if (_typeof$
|
|
1947
|
+
if (_typeof$7(_icon) === "object" && _icon.prefix && _icon.iconName) {
|
|
1948
1948
|
return {
|
|
1949
1949
|
prefix: _icon.prefix,
|
|
1950
1950
|
iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
|
|
@@ -2023,7 +2023,7 @@
|
|
|
2023
2023
|
x: width / height / 2,
|
|
2024
2024
|
y: 0.5
|
|
2025
2025
|
};
|
|
2026
|
-
attributes2["style"] = joinStyles(_objectSpread2$
|
|
2026
|
+
attributes2["style"] = joinStyles(_objectSpread2$2(_objectSpread2$2({}, styles2), {}, {
|
|
2027
2027
|
"transform-origin": "".concat(offset2.x + transform.x / 16, "em ").concat(offset2.y + transform.y / 16, "em")
|
|
2028
2028
|
}));
|
|
2029
2029
|
}
|
|
@@ -2043,7 +2043,7 @@
|
|
|
2043
2043
|
},
|
|
2044
2044
|
children: [{
|
|
2045
2045
|
tag: "symbol",
|
|
2046
|
-
attributes: _objectSpread2$
|
|
2046
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, attributes2), {}, {
|
|
2047
2047
|
id: id2
|
|
2048
2048
|
}),
|
|
2049
2049
|
children: children2
|
|
@@ -2061,7 +2061,7 @@
|
|
|
2061
2061
|
}).concat(extra.classes).join(" ");
|
|
2062
2062
|
var content2 = {
|
|
2063
2063
|
children: [],
|
|
2064
|
-
attributes: _objectSpread2$
|
|
2064
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, extra.attributes), {}, {
|
|
2065
2065
|
"data-prefix": prefix,
|
|
2066
2066
|
"data-icon": iconName,
|
|
2067
2067
|
"class": attrClass,
|
|
@@ -2086,7 +2086,7 @@
|
|
|
2086
2086
|
});
|
|
2087
2087
|
delete content2.attributes.title;
|
|
2088
2088
|
}
|
|
2089
|
-
var args = _objectSpread2$
|
|
2089
|
+
var args = _objectSpread2$2(_objectSpread2$2({}, content2), {}, {
|
|
2090
2090
|
prefix,
|
|
2091
2091
|
iconName,
|
|
2092
2092
|
main: main2,
|
|
@@ -2094,7 +2094,7 @@
|
|
|
2094
2094
|
maskId,
|
|
2095
2095
|
transform,
|
|
2096
2096
|
symbol,
|
|
2097
|
-
styles: _objectSpread2$
|
|
2097
|
+
styles: _objectSpread2$2(_objectSpread2$2({}, uploadedIconWidthStyle), extra.styles)
|
|
2098
2098
|
});
|
|
2099
2099
|
var _ref22 = mask.found && main2.found ? callProvided("generateAbstractMask", args) || {
|
|
2100
2100
|
children: [],
|
|
@@ -2113,7 +2113,7 @@
|
|
|
2113
2113
|
}
|
|
2114
2114
|
function makeLayersTextAbstract(params) {
|
|
2115
2115
|
var content2 = params.content, width = params.width, height = params.height, transform = params.transform, title = params.title, extra = params.extra, _params$watchable2 = params.watchable, watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
|
|
2116
|
-
var attributes2 = _objectSpread2$
|
|
2116
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2117
2117
|
"title": title
|
|
2118
2118
|
} : {}), {}, {
|
|
2119
2119
|
"class": extra.classes.join(" ")
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
if (watchable) {
|
|
2122
2122
|
attributes2[DATA_FA_I2SVG] = "";
|
|
2123
2123
|
}
|
|
2124
|
-
var styles2 = _objectSpread2$
|
|
2124
|
+
var styles2 = _objectSpread2$2({}, extra.styles);
|
|
2125
2125
|
if (transformIsMeaningful(transform)) {
|
|
2126
2126
|
styles2["transform"] = transformForCss({
|
|
2127
2127
|
transform,
|
|
@@ -2154,7 +2154,7 @@
|
|
|
2154
2154
|
}
|
|
2155
2155
|
function makeLayersCounterAbstract(params) {
|
|
2156
2156
|
var content2 = params.content, title = params.title, extra = params.extra;
|
|
2157
|
-
var attributes2 = _objectSpread2$
|
|
2157
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2158
2158
|
"title": title
|
|
2159
2159
|
} : {}), {}, {
|
|
2160
2160
|
"class": extra.classes.join(" ")
|
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
height: 512
|
|
2231
2231
|
};
|
|
2232
2232
|
function maybeNotifyMissing(iconName, prefix) {
|
|
2233
|
-
if (!PRODUCTION$
|
|
2233
|
+
if (!PRODUCTION$1 && !config$1.showMissingIcons && iconName) {
|
|
2234
2234
|
console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix, '" is missing.'));
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
@@ -2256,7 +2256,7 @@
|
|
|
2256
2256
|
return resolve2(asFoundIcon(icon2));
|
|
2257
2257
|
}
|
|
2258
2258
|
maybeNotifyMissing(iconName, prefix);
|
|
2259
|
-
resolve2(_objectSpread2$
|
|
2259
|
+
resolve2(_objectSpread2$2(_objectSpread2$2({}, missingIconResolutionMixin), {}, {
|
|
2260
2260
|
icon: config$1.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
|
|
2261
2261
|
}));
|
|
2262
2262
|
});
|
|
@@ -2545,7 +2545,7 @@
|
|
|
2545
2545
|
var extraAttributes = attributesParser(node2);
|
|
2546
2546
|
var pluginMeta = chainHooks("parseNodeAttributes", {}, node2);
|
|
2547
2547
|
var extraStyles = parser2.styleParser ? styleParser(node2) : [];
|
|
2548
|
-
return _objectSpread2$
|
|
2548
|
+
return _objectSpread2$2({
|
|
2549
2549
|
iconName,
|
|
2550
2550
|
title: node2.getAttribute("title"),
|
|
2551
2551
|
titleId: node2.getAttribute("data-fa-title-id"),
|
|
@@ -2582,7 +2582,7 @@
|
|
|
2582
2582
|
});
|
|
2583
2583
|
Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2584
2584
|
Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2585
|
-
knownPrefixes = _toConsumableArray$
|
|
2585
|
+
knownPrefixes = _toConsumableArray$4(knownPrefixes);
|
|
2586
2586
|
function onTree(root2) {
|
|
2587
2587
|
var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2588
2588
|
if (!IS_DOM)
|
|
@@ -2625,7 +2625,7 @@
|
|
|
2625
2625
|
acc.push(mutation);
|
|
2626
2626
|
}
|
|
2627
2627
|
} catch (e3) {
|
|
2628
|
-
if (!PRODUCTION$
|
|
2628
|
+
if (!PRODUCTION$1) {
|
|
2629
2629
|
if (e3.name === "MissingIcon") {
|
|
2630
2630
|
console.error(e3);
|
|
2631
2631
|
}
|
|
@@ -2666,7 +2666,7 @@
|
|
|
2666
2666
|
if (mask) {
|
|
2667
2667
|
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
|
2668
2668
|
}
|
|
2669
|
-
return next2(iconDefinition, _objectSpread2$
|
|
2669
|
+
return next2(iconDefinition, _objectSpread2$2(_objectSpread2$2({}, params), {}, {
|
|
2670
2670
|
mask
|
|
2671
2671
|
}));
|
|
2672
2672
|
};
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
if (!iconDefinition)
|
|
2678
2678
|
return;
|
|
2679
2679
|
var prefix = iconDefinition.prefix, iconName = iconDefinition.iconName, icon2 = iconDefinition.icon;
|
|
2680
|
-
return domVariants(_objectSpread2$
|
|
2680
|
+
return domVariants(_objectSpread2$2({
|
|
2681
2681
|
type: "icon"
|
|
2682
2682
|
}, iconDefinition), function() {
|
|
2683
2683
|
callHooks("beforeDOMElementCreation", {
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
},
|
|
2705
2705
|
prefix,
|
|
2706
2706
|
iconName,
|
|
2707
|
-
transform: _objectSpread2$
|
|
2707
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2708
2708
|
symbol,
|
|
2709
2709
|
title,
|
|
2710
2710
|
maskId,
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
return [{
|
|
2812
2812
|
tag: "span",
|
|
2813
2813
|
attributes: {
|
|
2814
|
-
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$
|
|
2814
|
+
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$4(classes)).join(" ")
|
|
2815
2815
|
},
|
|
2816
2816
|
children: children2
|
|
2817
2817
|
}];
|
|
@@ -2840,7 +2840,7 @@
|
|
|
2840
2840
|
extra: {
|
|
2841
2841
|
attributes: attributes2,
|
|
2842
2842
|
styles: styles2,
|
|
2843
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$
|
|
2843
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$4(classes))
|
|
2844
2844
|
}
|
|
2845
2845
|
});
|
|
2846
2846
|
});
|
|
@@ -2864,12 +2864,12 @@
|
|
|
2864
2864
|
});
|
|
2865
2865
|
return makeLayersTextAbstract({
|
|
2866
2866
|
content: content2,
|
|
2867
|
-
transform: _objectSpread2$
|
|
2867
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2868
2868
|
title,
|
|
2869
2869
|
extra: {
|
|
2870
2870
|
attributes: attributes2,
|
|
2871
2871
|
styles: styles2,
|
|
2872
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$
|
|
2872
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$4(classes))
|
|
2873
2873
|
}
|
|
2874
2874
|
});
|
|
2875
2875
|
});
|
|
@@ -2955,7 +2955,7 @@
|
|
|
2955
2955
|
var extra = meta2.extra;
|
|
2956
2956
|
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position2;
|
|
2957
2957
|
findIcon(iconName, prefix).then(function(main2) {
|
|
2958
|
-
var _abstract = makeInlineSvgAbstract(_objectSpread2$
|
|
2958
|
+
var _abstract = makeInlineSvgAbstract(_objectSpread2$2(_objectSpread2$2({}, meta2), {}, {
|
|
2959
2959
|
icons: {
|
|
2960
2960
|
main: main2,
|
|
2961
2961
|
mask: emptyCanonicalIcon()
|
|
@@ -3154,14 +3154,14 @@
|
|
|
3154
3154
|
};
|
|
3155
3155
|
return {
|
|
3156
3156
|
tag: "g",
|
|
3157
|
-
attributes: _objectSpread2$
|
|
3157
|
+
attributes: _objectSpread2$2({}, operations.outer),
|
|
3158
3158
|
children: [{
|
|
3159
3159
|
tag: "g",
|
|
3160
|
-
attributes: _objectSpread2$
|
|
3160
|
+
attributes: _objectSpread2$2({}, operations.inner),
|
|
3161
3161
|
children: [{
|
|
3162
3162
|
tag: main2.icon.tag,
|
|
3163
3163
|
children: main2.icon.children,
|
|
3164
|
-
attributes: _objectSpread2$
|
|
3164
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, main2.icon.attributes), operations.path)
|
|
3165
3165
|
}]
|
|
3166
3166
|
}]
|
|
3167
3167
|
};
|
|
@@ -3217,7 +3217,7 @@
|
|
|
3217
3217
|
});
|
|
3218
3218
|
var maskRect = {
|
|
3219
3219
|
tag: "rect",
|
|
3220
|
-
attributes: _objectSpread2$
|
|
3220
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3221
3221
|
fill: "white"
|
|
3222
3222
|
})
|
|
3223
3223
|
};
|
|
@@ -3226,22 +3226,22 @@
|
|
|
3226
3226
|
} : {};
|
|
3227
3227
|
var maskInnerGroup = {
|
|
3228
3228
|
tag: "g",
|
|
3229
|
-
attributes: _objectSpread2$
|
|
3230
|
-
children: [fillBlack(_objectSpread2$
|
|
3229
|
+
attributes: _objectSpread2$2({}, trans.inner),
|
|
3230
|
+
children: [fillBlack(_objectSpread2$2({
|
|
3231
3231
|
tag: mainPath.tag,
|
|
3232
|
-
attributes: _objectSpread2$
|
|
3232
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, mainPath.attributes), trans.path)
|
|
3233
3233
|
}, maskInnerGroupChildrenMixin))]
|
|
3234
3234
|
};
|
|
3235
3235
|
var maskOuterGroup = {
|
|
3236
3236
|
tag: "g",
|
|
3237
|
-
attributes: _objectSpread2$
|
|
3237
|
+
attributes: _objectSpread2$2({}, trans.outer),
|
|
3238
3238
|
children: [maskInnerGroup]
|
|
3239
3239
|
};
|
|
3240
3240
|
var maskId = "mask-".concat(explicitMaskId || nextUniqueId$1());
|
|
3241
3241
|
var clipId = "clip-".concat(explicitMaskId || nextUniqueId$1());
|
|
3242
3242
|
var maskTag = {
|
|
3243
3243
|
tag: "mask",
|
|
3244
|
-
attributes: _objectSpread2$
|
|
3244
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3245
3245
|
id: maskId,
|
|
3246
3246
|
maskUnits: "userSpaceOnUse",
|
|
3247
3247
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
};
|
|
3261
3261
|
children2.push(defs2, {
|
|
3262
3262
|
tag: "rect",
|
|
3263
|
-
attributes: _objectSpread2$
|
|
3263
|
+
attributes: _objectSpread2$2({
|
|
3264
3264
|
fill: "currentColor",
|
|
3265
3265
|
"clip-path": "url(#".concat(clipId, ")"),
|
|
3266
3266
|
mask: "url(#".concat(maskId, ")")
|
|
@@ -3291,16 +3291,16 @@
|
|
|
3291
3291
|
};
|
|
3292
3292
|
gChildren.push({
|
|
3293
3293
|
tag: "path",
|
|
3294
|
-
attributes: _objectSpread2$
|
|
3294
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3295
3295
|
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
3296
3296
|
})
|
|
3297
3297
|
});
|
|
3298
|
-
var OPACITY_ANIMATE = _objectSpread2$
|
|
3298
|
+
var OPACITY_ANIMATE = _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3299
3299
|
attributeName: "opacity"
|
|
3300
3300
|
});
|
|
3301
3301
|
var dot2 = {
|
|
3302
3302
|
tag: "circle",
|
|
3303
|
-
attributes: _objectSpread2$
|
|
3303
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3304
3304
|
cx: "256",
|
|
3305
3305
|
cy: "364",
|
|
3306
3306
|
r: "28"
|
|
@@ -3310,13 +3310,13 @@
|
|
|
3310
3310
|
if (!reduceMotion) {
|
|
3311
3311
|
dot2.children.push({
|
|
3312
3312
|
tag: "animate",
|
|
3313
|
-
attributes: _objectSpread2$
|
|
3313
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3314
3314
|
attributeName: "r",
|
|
3315
3315
|
values: "28;14;28;28;14;28;"
|
|
3316
3316
|
})
|
|
3317
3317
|
}, {
|
|
3318
3318
|
tag: "animate",
|
|
3319
|
-
attributes: _objectSpread2$
|
|
3319
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3320
3320
|
values: "1;0;1;1;0;1;"
|
|
3321
3321
|
})
|
|
3322
3322
|
});
|
|
@@ -3324,13 +3324,13 @@
|
|
|
3324
3324
|
gChildren.push(dot2);
|
|
3325
3325
|
gChildren.push({
|
|
3326
3326
|
tag: "path",
|
|
3327
|
-
attributes: _objectSpread2$
|
|
3327
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3328
3328
|
opacity: "1",
|
|
3329
3329
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
3330
3330
|
}),
|
|
3331
3331
|
children: reduceMotion ? [] : [{
|
|
3332
3332
|
tag: "animate",
|
|
3333
|
-
attributes: _objectSpread2$
|
|
3333
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3334
3334
|
values: "1;0;0;0;0;1;"
|
|
3335
3335
|
})
|
|
3336
3336
|
}]
|
|
@@ -3338,13 +3338,13 @@
|
|
|
3338
3338
|
if (!reduceMotion) {
|
|
3339
3339
|
gChildren.push({
|
|
3340
3340
|
tag: "path",
|
|
3341
|
-
attributes: _objectSpread2$
|
|
3341
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3342
3342
|
opacity: "0",
|
|
3343
3343
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
3344
3344
|
}),
|
|
3345
3345
|
children: [{
|
|
3346
3346
|
tag: "animate",
|
|
3347
|
-
attributes: _objectSpread2$
|
|
3347
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3348
3348
|
values: "0;0;1;1;0;0;"
|
|
3349
3349
|
})
|
|
3350
3350
|
}]
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
{
|
|
3441
3441
|
propTypes.exports = factoryWithThrowingShims();
|
|
3442
3442
|
}
|
|
3443
|
-
function ownKeys$
|
|
3443
|
+
function ownKeys$7(object2, enumerableOnly) {
|
|
3444
3444
|
var keys2 = Object.keys(object2);
|
|
3445
3445
|
if (Object.getOwnPropertySymbols) {
|
|
3446
3446
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -3450,26 +3450,26 @@
|
|
|
3450
3450
|
}
|
|
3451
3451
|
return keys2;
|
|
3452
3452
|
}
|
|
3453
|
-
function _objectSpread2$
|
|
3453
|
+
function _objectSpread2$1(target) {
|
|
3454
3454
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
3455
3455
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
3456
|
-
i2 % 2 ? ownKeys$
|
|
3457
|
-
_defineProperty$
|
|
3458
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
3456
|
+
i2 % 2 ? ownKeys$7(Object(source), true).forEach(function(key) {
|
|
3457
|
+
_defineProperty$p(target, key, source[key]);
|
|
3458
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function(key) {
|
|
3459
3459
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3460
3460
|
});
|
|
3461
3461
|
}
|
|
3462
3462
|
return target;
|
|
3463
3463
|
}
|
|
3464
|
-
function _typeof$
|
|
3464
|
+
function _typeof$6(obj) {
|
|
3465
3465
|
"@babel/helpers - typeof";
|
|
3466
|
-
return _typeof$
|
|
3466
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
3467
3467
|
return typeof obj2;
|
|
3468
3468
|
} : function(obj2) {
|
|
3469
3469
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
3470
|
-
}, _typeof$
|
|
3470
|
+
}, _typeof$6(obj);
|
|
3471
3471
|
}
|
|
3472
|
-
function _defineProperty$
|
|
3472
|
+
function _defineProperty$p(obj, key, value) {
|
|
3473
3473
|
if (key in obj) {
|
|
3474
3474
|
Object.defineProperty(obj, key, {
|
|
3475
3475
|
value,
|
|
@@ -3482,7 +3482,7 @@
|
|
|
3482
3482
|
}
|
|
3483
3483
|
return obj;
|
|
3484
3484
|
}
|
|
3485
|
-
function _objectWithoutPropertiesLoose$
|
|
3485
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
3486
3486
|
if (source == null)
|
|
3487
3487
|
return {};
|
|
3488
3488
|
var target = {};
|
|
@@ -3496,10 +3496,10 @@
|
|
|
3496
3496
|
}
|
|
3497
3497
|
return target;
|
|
3498
3498
|
}
|
|
3499
|
-
function _objectWithoutProperties$
|
|
3499
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
3500
3500
|
if (source == null)
|
|
3501
3501
|
return {};
|
|
3502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
3502
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
3503
3503
|
var key, i2;
|
|
3504
3504
|
if (Object.getOwnPropertySymbols) {
|
|
3505
3505
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -3514,41 +3514,41 @@
|
|
|
3514
3514
|
}
|
|
3515
3515
|
return target;
|
|
3516
3516
|
}
|
|
3517
|
-
function _toConsumableArray$
|
|
3518
|
-
return _arrayWithoutHoles$
|
|
3517
|
+
function _toConsumableArray$3(arr) {
|
|
3518
|
+
return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$a(arr) || _nonIterableSpread$3();
|
|
3519
3519
|
}
|
|
3520
|
-
function _arrayWithoutHoles$
|
|
3520
|
+
function _arrayWithoutHoles$3(arr) {
|
|
3521
3521
|
if (Array.isArray(arr))
|
|
3522
|
-
return _arrayLikeToArray$
|
|
3522
|
+
return _arrayLikeToArray$a(arr);
|
|
3523
3523
|
}
|
|
3524
|
-
function _iterableToArray$
|
|
3524
|
+
function _iterableToArray$3(iter2) {
|
|
3525
3525
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
3526
3526
|
return Array.from(iter2);
|
|
3527
3527
|
}
|
|
3528
|
-
function _unsupportedIterableToArray$
|
|
3528
|
+
function _unsupportedIterableToArray$a(o2, minLen) {
|
|
3529
3529
|
if (!o2)
|
|
3530
3530
|
return;
|
|
3531
3531
|
if (typeof o2 === "string")
|
|
3532
|
-
return _arrayLikeToArray$
|
|
3532
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3533
3533
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
3534
3534
|
if (n2 === "Object" && o2.constructor)
|
|
3535
3535
|
n2 = o2.constructor.name;
|
|
3536
3536
|
if (n2 === "Map" || n2 === "Set")
|
|
3537
3537
|
return Array.from(o2);
|
|
3538
3538
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
3539
|
-
return _arrayLikeToArray$
|
|
3539
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3540
3540
|
}
|
|
3541
|
-
function _arrayLikeToArray$
|
|
3541
|
+
function _arrayLikeToArray$a(arr, len) {
|
|
3542
3542
|
if (len == null || len > arr.length)
|
|
3543
3543
|
len = arr.length;
|
|
3544
3544
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
3545
3545
|
arr2[i2] = arr[i2];
|
|
3546
3546
|
return arr2;
|
|
3547
3547
|
}
|
|
3548
|
-
function _nonIterableSpread$
|
|
3548
|
+
function _nonIterableSpread$3() {
|
|
3549
3549
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3550
3550
|
}
|
|
3551
|
-
function classList$
|
|
3551
|
+
function classList$1(props) {
|
|
3552
3552
|
var _classes;
|
|
3553
3553
|
var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem2 = props.listItem, flip2 = props.flip, size = props.size, rotation2 = props.rotation, pull = props.pull;
|
|
3554
3554
|
var classes = (_classes = {
|
|
@@ -3569,19 +3569,19 @@
|
|
|
3569
3569
|
"fa-flip": flip2 === true,
|
|
3570
3570
|
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
3571
3571
|
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
3572
|
-
}, _defineProperty$
|
|
3572
|
+
}, _defineProperty$p(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$p(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$p(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$p(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
3573
3573
|
return Object.keys(classes).map(function(key) {
|
|
3574
3574
|
return classes[key] ? key : null;
|
|
3575
3575
|
}).filter(function(key) {
|
|
3576
3576
|
return key;
|
|
3577
3577
|
});
|
|
3578
3578
|
}
|
|
3579
|
-
function _isNumerical
|
|
3579
|
+
function _isNumerical(obj) {
|
|
3580
3580
|
obj = obj - 0;
|
|
3581
3581
|
return obj === obj;
|
|
3582
3582
|
}
|
|
3583
|
-
function camelize
|
|
3584
|
-
if (_isNumerical
|
|
3583
|
+
function camelize(string2) {
|
|
3584
|
+
if (_isNumerical(string2)) {
|
|
3585
3585
|
return string2;
|
|
3586
3586
|
}
|
|
3587
3587
|
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
@@ -3590,29 +3590,29 @@
|
|
|
3590
3590
|
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
3591
3591
|
}
|
|
3592
3592
|
var _excluded$5 = ["style"];
|
|
3593
|
-
function capitalize$
|
|
3593
|
+
function capitalize$1(val) {
|
|
3594
3594
|
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
3595
3595
|
}
|
|
3596
|
-
function styleToObject$
|
|
3596
|
+
function styleToObject$1(style2) {
|
|
3597
3597
|
return style2.split(";").map(function(s2) {
|
|
3598
3598
|
return s2.trim();
|
|
3599
3599
|
}).filter(function(s2) {
|
|
3600
3600
|
return s2;
|
|
3601
3601
|
}).reduce(function(acc, pair2) {
|
|
3602
3602
|
var i2 = pair2.indexOf(":");
|
|
3603
|
-
var prop = camelize
|
|
3603
|
+
var prop = camelize(pair2.slice(0, i2));
|
|
3604
3604
|
var value = pair2.slice(i2 + 1).trim();
|
|
3605
|
-
prop.startsWith("webkit") ? acc[capitalize$
|
|
3605
|
+
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
3606
3606
|
return acc;
|
|
3607
3607
|
}, {});
|
|
3608
3608
|
}
|
|
3609
|
-
function convert$
|
|
3609
|
+
function convert$1(createElement2, element2) {
|
|
3610
3610
|
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3611
3611
|
if (typeof element2 === "string") {
|
|
3612
3612
|
return element2;
|
|
3613
3613
|
}
|
|
3614
3614
|
var children2 = (element2.children || []).map(function(child) {
|
|
3615
|
-
return convert$
|
|
3615
|
+
return convert$1(createElement2, child);
|
|
3616
3616
|
});
|
|
3617
3617
|
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
3618
3618
|
var val = element2.attributes[key];
|
|
@@ -3622,36 +3622,36 @@
|
|
|
3622
3622
|
delete element2.attributes["class"];
|
|
3623
3623
|
break;
|
|
3624
3624
|
case "style":
|
|
3625
|
-
acc.attrs["style"] = styleToObject$
|
|
3625
|
+
acc.attrs["style"] = styleToObject$1(val);
|
|
3626
3626
|
break;
|
|
3627
3627
|
default:
|
|
3628
3628
|
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
3629
3629
|
acc.attrs[key.toLowerCase()] = val;
|
|
3630
3630
|
} else {
|
|
3631
|
-
acc.attrs[camelize
|
|
3631
|
+
acc.attrs[camelize(key)] = val;
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
return acc;
|
|
3635
3635
|
}, {
|
|
3636
3636
|
attrs: {}
|
|
3637
3637
|
});
|
|
3638
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$
|
|
3639
|
-
mixins.attrs["style"] = _objectSpread2$
|
|
3640
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2$
|
|
3638
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$2(extraProps, _excluded$5);
|
|
3639
|
+
mixins.attrs["style"] = _objectSpread2$1(_objectSpread2$1({}, mixins.attrs["style"]), existingStyle);
|
|
3640
|
+
return createElement2.apply(void 0, [element2.tag, _objectSpread2$1(_objectSpread2$1({}, mixins.attrs), remaining)].concat(_toConsumableArray$3(children2)));
|
|
3641
3641
|
}
|
|
3642
|
-
var PRODUCTION
|
|
3642
|
+
var PRODUCTION = false;
|
|
3643
3643
|
try {
|
|
3644
|
-
PRODUCTION
|
|
3644
|
+
PRODUCTION = true;
|
|
3645
3645
|
} catch (e3) {
|
|
3646
3646
|
}
|
|
3647
|
-
function log
|
|
3648
|
-
if (!PRODUCTION
|
|
3647
|
+
function log() {
|
|
3648
|
+
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
3649
3649
|
var _console;
|
|
3650
3650
|
(_console = console).error.apply(_console, arguments);
|
|
3651
3651
|
}
|
|
3652
3652
|
}
|
|
3653
|
-
function normalizeIconArgs
|
|
3654
|
-
if (icon2 && _typeof$
|
|
3653
|
+
function normalizeIconArgs(icon2) {
|
|
3654
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
3655
3655
|
return icon2;
|
|
3656
3656
|
}
|
|
3657
3657
|
if (parse$1$1.icon) {
|
|
@@ -3660,7 +3660,7 @@
|
|
|
3660
3660
|
if (icon2 === null) {
|
|
3661
3661
|
return null;
|
|
3662
3662
|
}
|
|
3663
|
-
if (icon2 && _typeof$
|
|
3663
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
3664
3664
|
return icon2;
|
|
3665
3665
|
}
|
|
3666
3666
|
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
@@ -3676,23 +3676,23 @@
|
|
|
3676
3676
|
};
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
|
-
function objectWithKey
|
|
3680
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$
|
|
3679
|
+
function objectWithKey(key, value) {
|
|
3680
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$p({}, key, value) : {};
|
|
3681
3681
|
}
|
|
3682
|
-
var FontAwesomeIcon
|
|
3682
|
+
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
3683
3683
|
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
3684
|
-
var iconLookup = normalizeIconArgs
|
|
3685
|
-
var classes = objectWithKey
|
|
3686
|
-
var transform = objectWithKey
|
|
3687
|
-
var mask = objectWithKey
|
|
3688
|
-
var renderedIcon = icon(iconLookup, _objectSpread2$
|
|
3684
|
+
var iconLookup = normalizeIconArgs(iconArgs);
|
|
3685
|
+
var classes = objectWithKey("classes", [].concat(_toConsumableArray$3(classList$1(props)), _toConsumableArray$3(className.split(" "))));
|
|
3686
|
+
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
3687
|
+
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
3688
|
+
var renderedIcon = icon(iconLookup, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, classes), transform), mask), {}, {
|
|
3689
3689
|
symbol,
|
|
3690
3690
|
title,
|
|
3691
3691
|
titleId,
|
|
3692
3692
|
maskId
|
|
3693
3693
|
}));
|
|
3694
3694
|
if (!renderedIcon) {
|
|
3695
|
-
log
|
|
3695
|
+
log("Could not find icon", iconLookup);
|
|
3696
3696
|
return null;
|
|
3697
3697
|
}
|
|
3698
3698
|
var abstract = renderedIcon.abstract;
|
|
@@ -3700,14 +3700,14 @@
|
|
|
3700
3700
|
ref
|
|
3701
3701
|
};
|
|
3702
3702
|
Object.keys(props).forEach(function(key) {
|
|
3703
|
-
if (!FontAwesomeIcon
|
|
3703
|
+
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
3704
3704
|
extraProps[key] = props[key];
|
|
3705
3705
|
}
|
|
3706
3706
|
});
|
|
3707
|
-
return convertCurry
|
|
3707
|
+
return convertCurry(abstract[0], extraProps);
|
|
3708
3708
|
});
|
|
3709
|
-
FontAwesomeIcon
|
|
3710
|
-
FontAwesomeIcon
|
|
3709
|
+
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
3710
|
+
FontAwesomeIcon.propTypes = {
|
|
3711
3711
|
beat: propTypes.exports.bool,
|
|
3712
3712
|
border: propTypes.exports.bool,
|
|
3713
3713
|
beatFade: propTypes.exports.bool,
|
|
@@ -3736,7 +3736,7 @@
|
|
|
3736
3736
|
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
3737
3737
|
swapOpacity: propTypes.exports.bool
|
|
3738
3738
|
};
|
|
3739
|
-
FontAwesomeIcon
|
|
3739
|
+
FontAwesomeIcon.defaultProps = {
|
|
3740
3740
|
border: false,
|
|
3741
3741
|
className: "",
|
|
3742
3742
|
mask: null,
|
|
@@ -3764,7 +3764,7 @@
|
|
|
3764
3764
|
transform: null,
|
|
3765
3765
|
swapOpacity: false
|
|
3766
3766
|
};
|
|
3767
|
-
var convertCurry
|
|
3767
|
+
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
3768
3768
|
var Icon$2 = function(e3) {
|
|
3769
3769
|
var t2 = {};
|
|
3770
3770
|
function r2(n2) {
|
|
@@ -3886,7 +3886,7 @@
|
|
|
3886
3886
|
t2.default = d2;
|
|
3887
3887
|
}]);
|
|
3888
3888
|
const shouldForwardProp$4 = (prop) => !["asButton"].includes(prop);
|
|
3889
|
-
const StyledFAIcon = styled__default.default(FontAwesomeIcon
|
|
3889
|
+
const StyledFAIcon = styled__default.default(FontAwesomeIcon).withConfig({ shouldForwardProp: shouldForwardProp$4 })`
|
|
3890
3890
|
cursor: ${(props) => props.asButton ? "pointer" : "inherit"};
|
|
3891
3891
|
color: inherit;
|
|
3892
3892
|
${(props) => props.asButton ? `:hover { color: ${props.theme.colors.grey6}; }` : ""}
|
|
@@ -5769,8 +5769,8 @@
|
|
|
5769
5769
|
border: 1px solid ${(props) => props.color};
|
|
5770
5770
|
border-radius: ${(props) => props.height ? `${props.height / 2}px` : "1rem"};
|
|
5771
5771
|
`;
|
|
5772
|
-
function _extends$
|
|
5773
|
-
_extends$
|
|
5772
|
+
function _extends$2() {
|
|
5773
|
+
_extends$2 = Object.assign ? Object.assign.bind() : function(target) {
|
|
5774
5774
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
5775
5775
|
var source = arguments[i2];
|
|
5776
5776
|
for (var key in source) {
|
|
@@ -5781,40 +5781,40 @@
|
|
|
5781
5781
|
}
|
|
5782
5782
|
return target;
|
|
5783
5783
|
};
|
|
5784
|
-
return _extends$
|
|
5784
|
+
return _extends$2.apply(this, arguments);
|
|
5785
5785
|
}
|
|
5786
|
-
function _assertThisInitialized$
|
|
5786
|
+
function _assertThisInitialized$2(self2) {
|
|
5787
5787
|
if (self2 === void 0) {
|
|
5788
5788
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5789
5789
|
}
|
|
5790
5790
|
return self2;
|
|
5791
5791
|
}
|
|
5792
|
-
function _setPrototypeOf$
|
|
5793
|
-
_setPrototypeOf$
|
|
5792
|
+
function _setPrototypeOf$2(o2, p2) {
|
|
5793
|
+
_setPrototypeOf$2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
|
|
5794
5794
|
o3.__proto__ = p3;
|
|
5795
5795
|
return o3;
|
|
5796
5796
|
};
|
|
5797
|
-
return _setPrototypeOf$
|
|
5797
|
+
return _setPrototypeOf$2(o2, p2);
|
|
5798
5798
|
}
|
|
5799
|
-
function _inheritsLoose$
|
|
5799
|
+
function _inheritsLoose$1(subClass, superClass) {
|
|
5800
5800
|
subClass.prototype = Object.create(superClass.prototype);
|
|
5801
5801
|
subClass.prototype.constructor = subClass;
|
|
5802
|
-
_setPrototypeOf$
|
|
5802
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
5803
5803
|
}
|
|
5804
|
-
function _getPrototypeOf$
|
|
5805
|
-
_getPrototypeOf$
|
|
5804
|
+
function _getPrototypeOf$1(o2) {
|
|
5805
|
+
_getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
|
|
5806
5806
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
5807
5807
|
};
|
|
5808
|
-
return _getPrototypeOf$
|
|
5808
|
+
return _getPrototypeOf$1(o2);
|
|
5809
5809
|
}
|
|
5810
|
-
function _isNativeFunction
|
|
5810
|
+
function _isNativeFunction(fn2) {
|
|
5811
5811
|
try {
|
|
5812
5812
|
return Function.toString.call(fn2).indexOf("[native code]") !== -1;
|
|
5813
5813
|
} catch (e3) {
|
|
5814
5814
|
return typeof fn2 === "function";
|
|
5815
5815
|
}
|
|
5816
5816
|
}
|
|
5817
|
-
function _isNativeReflectConstruct$
|
|
5817
|
+
function _isNativeReflectConstruct$1() {
|
|
5818
5818
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
5819
5819
|
return false;
|
|
5820
5820
|
if (Reflect.construct.sham)
|
|
@@ -5829,26 +5829,26 @@
|
|
|
5829
5829
|
return false;
|
|
5830
5830
|
}
|
|
5831
5831
|
}
|
|
5832
|
-
function _construct
|
|
5833
|
-
if (_isNativeReflectConstruct$
|
|
5834
|
-
_construct
|
|
5832
|
+
function _construct(Parent, args, Class) {
|
|
5833
|
+
if (_isNativeReflectConstruct$1()) {
|
|
5834
|
+
_construct = Reflect.construct.bind();
|
|
5835
5835
|
} else {
|
|
5836
|
-
_construct
|
|
5836
|
+
_construct = function _construct2(Parent2, args2, Class2) {
|
|
5837
5837
|
var a2 = [null];
|
|
5838
5838
|
a2.push.apply(a2, args2);
|
|
5839
5839
|
var Constructor = Function.bind.apply(Parent2, a2);
|
|
5840
5840
|
var instance2 = new Constructor();
|
|
5841
5841
|
if (Class2)
|
|
5842
|
-
_setPrototypeOf$
|
|
5842
|
+
_setPrototypeOf$2(instance2, Class2.prototype);
|
|
5843
5843
|
return instance2;
|
|
5844
5844
|
};
|
|
5845
5845
|
}
|
|
5846
|
-
return _construct
|
|
5846
|
+
return _construct.apply(null, arguments);
|
|
5847
5847
|
}
|
|
5848
|
-
function _wrapNativeSuper
|
|
5848
|
+
function _wrapNativeSuper(Class) {
|
|
5849
5849
|
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
5850
|
-
_wrapNativeSuper
|
|
5851
|
-
if (Class2 === null || !_isNativeFunction
|
|
5850
|
+
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
5851
|
+
if (Class2 === null || !_isNativeFunction(Class2))
|
|
5852
5852
|
return Class2;
|
|
5853
5853
|
if (typeof Class2 !== "function") {
|
|
5854
5854
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -5859,7 +5859,7 @@
|
|
|
5859
5859
|
_cache.set(Class2, Wrapper2);
|
|
5860
5860
|
}
|
|
5861
5861
|
function Wrapper2() {
|
|
5862
|
-
return _construct
|
|
5862
|
+
return _construct(Class2, arguments, _getPrototypeOf$1(this).constructor);
|
|
5863
5863
|
}
|
|
5864
5864
|
Wrapper2.prototype = Object.create(Class2.prototype, {
|
|
5865
5865
|
constructor: {
|
|
@@ -5869,21 +5869,21 @@
|
|
|
5869
5869
|
configurable: true
|
|
5870
5870
|
}
|
|
5871
5871
|
});
|
|
5872
|
-
return _setPrototypeOf$
|
|
5872
|
+
return _setPrototypeOf$2(Wrapper2, Class2);
|
|
5873
5873
|
};
|
|
5874
|
-
return _wrapNativeSuper
|
|
5874
|
+
return _wrapNativeSuper(Class);
|
|
5875
5875
|
}
|
|
5876
5876
|
var PolishedError$1 = /* @__PURE__ */ function(_Error) {
|
|
5877
|
-
_inheritsLoose$
|
|
5877
|
+
_inheritsLoose$1(PolishedError2, _Error);
|
|
5878
5878
|
function PolishedError2(code2) {
|
|
5879
5879
|
var _this;
|
|
5880
5880
|
{
|
|
5881
5881
|
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/master/src/internalHelpers/errors.md#" + code2 + " for more information.") || this;
|
|
5882
5882
|
}
|
|
5883
|
-
return _assertThisInitialized$
|
|
5883
|
+
return _assertThisInitialized$2(_this);
|
|
5884
5884
|
}
|
|
5885
5885
|
return PolishedError2;
|
|
5886
|
-
}(/* @__PURE__ */ _wrapNativeSuper
|
|
5886
|
+
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
5887
5887
|
function colorToInt$1(color2) {
|
|
5888
5888
|
return Math.round(color2 * 255);
|
|
5889
5889
|
}
|
|
@@ -6227,7 +6227,7 @@
|
|
|
6227
6227
|
return color2;
|
|
6228
6228
|
var parsedColor = parseToRgb$1(color2);
|
|
6229
6229
|
var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
6230
|
-
var colorWithAlpha = _extends$
|
|
6230
|
+
var colorWithAlpha = _extends$2({}, parsedColor, {
|
|
6231
6231
|
alpha: guard$1(0, 1, (alpha * 100 - parseFloat(amount) * 100) / 100)
|
|
6232
6232
|
});
|
|
6233
6233
|
return rgba$3(colorWithAlpha);
|
|
@@ -7153,7 +7153,7 @@
|
|
|
7153
7153
|
setPreviousFilter(filterValue);
|
|
7154
7154
|
}, children: "Apply" })] });
|
|
7155
7155
|
}
|
|
7156
|
-
function _objectWithoutPropertiesLoose$
|
|
7156
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
7157
7157
|
if (source == null)
|
|
7158
7158
|
return {};
|
|
7159
7159
|
var target = {};
|
|
@@ -7697,7 +7697,7 @@
|
|
|
7697
7697
|
}
|
|
7698
7698
|
});
|
|
7699
7699
|
if (props.onStateChange && Object.keys(changes).length) {
|
|
7700
|
-
props.onStateChange(_extends$
|
|
7700
|
+
props.onStateChange(_extends$2({
|
|
7701
7701
|
type
|
|
7702
7702
|
}, changes));
|
|
7703
7703
|
}
|
|
@@ -7706,7 +7706,7 @@
|
|
|
7706
7706
|
var props = action.props, type = action.type;
|
|
7707
7707
|
var handler = "on" + capitalizeString(key) + "Change";
|
|
7708
7708
|
if (props[handler] && newState[key] !== void 0 && newState[key] !== state[key]) {
|
|
7709
|
-
props[handler](_extends$
|
|
7709
|
+
props[handler](_extends$2({
|
|
7710
7710
|
type
|
|
7711
7711
|
}, newState));
|
|
7712
7712
|
}
|
|
@@ -7770,7 +7770,7 @@
|
|
|
7770
7770
|
actionRef.current = action2;
|
|
7771
7771
|
state2 = getState(state2, action2.props);
|
|
7772
7772
|
var changes = reducer2(state2, action2);
|
|
7773
|
-
var newState = action2.props.stateReducer(state2, _extends$
|
|
7773
|
+
var newState = action2.props.stateReducer(state2, _extends$2({}, action2, {
|
|
7774
7774
|
changes
|
|
7775
7775
|
}));
|
|
7776
7776
|
return newState;
|
|
@@ -7778,7 +7778,7 @@
|
|
|
7778
7778
|
var _useReducer = React.useReducer(enhancedReducer, initialState2), state = _useReducer[0], dispatch2 = _useReducer[1];
|
|
7779
7779
|
var propsRef = useLatestRef(props);
|
|
7780
7780
|
var dispatchWithProps = React.useCallback(function(action2) {
|
|
7781
|
-
return dispatch2(_extends$
|
|
7781
|
+
return dispatch2(_extends$2({
|
|
7782
7782
|
props: propsRef.current
|
|
7783
7783
|
}, action2));
|
|
7784
7784
|
}, [propsRef]);
|
|
@@ -7910,13 +7910,13 @@
|
|
|
7910
7910
|
return noop$5;
|
|
7911
7911
|
};
|
|
7912
7912
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
7913
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
7913
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$3);
|
|
7914
7914
|
React.useEffect(function() {
|
|
7915
7915
|
if (isInitialMount || false) {
|
|
7916
7916
|
return;
|
|
7917
7917
|
}
|
|
7918
7918
|
updateA11yStatus(function() {
|
|
7919
|
-
return getA11yMessage(_extends$
|
|
7919
|
+
return getA11yMessage(_extends$2({
|
|
7920
7920
|
highlightedIndex,
|
|
7921
7921
|
highlightedItem: items[highlightedIndex],
|
|
7922
7922
|
resultCount: items.length
|
|
@@ -7946,10 +7946,10 @@
|
|
|
7946
7946
|
inputValue = true;
|
|
7947
7947
|
}
|
|
7948
7948
|
var shouldSelect = ((_props$items = props.items) == null ? void 0 : _props$items.length) && highlightedIndex >= 0;
|
|
7949
|
-
return _extends$
|
|
7949
|
+
return _extends$2({
|
|
7950
7950
|
isOpen: false,
|
|
7951
7951
|
highlightedIndex: -1
|
|
7952
|
-
}, shouldSelect && _extends$
|
|
7952
|
+
}, shouldSelect && _extends$2({
|
|
7953
7953
|
selectedItem: props.items[highlightedIndex],
|
|
7954
7954
|
isOpen: getDefaultValue$1(props, "isOpen"),
|
|
7955
7955
|
highlightedIndex: getDefaultValue$1(props, "highlightedIndex")
|
|
@@ -8010,7 +8010,7 @@
|
|
|
8010
8010
|
default:
|
|
8011
8011
|
throw new Error("Reducer called without proper action type.");
|
|
8012
8012
|
}
|
|
8013
|
-
return _extends$
|
|
8013
|
+
return _extends$2({}, state, changes);
|
|
8014
8014
|
}
|
|
8015
8015
|
function getItemIndexByCharacterKey(_a3) {
|
|
8016
8016
|
var keysSoFar = _a3.keysSoFar, highlightedIndex = _a3.highlightedIndex, items = _a3.items, itemToString2 = _a3.itemToString, getItemNodeFromIndex = _a3.getItemNodeFromIndex;
|
|
@@ -8206,7 +8206,7 @@
|
|
|
8206
8206
|
};
|
|
8207
8207
|
break;
|
|
8208
8208
|
case ToggleButtonBlur:
|
|
8209
|
-
changes = _extends$
|
|
8209
|
+
changes = _extends$2({
|
|
8210
8210
|
isOpen: false,
|
|
8211
8211
|
highlightedIndex: -1
|
|
8212
8212
|
}, state.highlightedIndex >= 0 && ((_props$items = props.items) == null ? void 0 : _props$items.length) && {
|
|
@@ -8221,7 +8221,7 @@
|
|
|
8221
8221
|
default:
|
|
8222
8222
|
return downshiftCommonReducer(state, action, stateChangeTypes$2$1);
|
|
8223
8223
|
}
|
|
8224
|
-
return _extends$
|
|
8224
|
+
return _extends$2({}, state, changes);
|
|
8225
8225
|
}
|
|
8226
8226
|
var _excluded$2 = ["onMouseLeave", "refKey", "onKeyDown", "onBlur", "ref"], _excluded2$2 = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], _excluded3$1 = ["item", "index", "onMouseMove", "onClick", "onPress", "refKey", "ref", "disabled"];
|
|
8227
8227
|
useSelect.stateChangeTypes = stateChangeTypes$2$1;
|
|
@@ -8229,7 +8229,7 @@
|
|
|
8229
8229
|
if (userProps === void 0) {
|
|
8230
8230
|
userProps = {};
|
|
8231
8231
|
}
|
|
8232
|
-
var props = _extends$
|
|
8232
|
+
var props = _extends$2({}, defaultProps$2$1, userProps);
|
|
8233
8233
|
var items = props.items, scrollIntoView2 = props.scrollIntoView, environment = props.environment, itemToString2 = props.itemToString, getA11ySelectionMessage2 = props.getA11ySelectionMessage, getA11yStatusMessage2 = props.getA11yStatusMessage;
|
|
8234
8234
|
var initialState2 = getInitialState$2(props);
|
|
8235
8235
|
var _useControlledReducer = useControlledReducer$1(downshiftSelectReducer, initialState2, props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
@@ -8248,14 +8248,14 @@
|
|
|
8248
8248
|
var getItemNodeFromIndex = React.useCallback(function(index2) {
|
|
8249
8249
|
return itemRefs.current[elementIds.getItemId(index2)];
|
|
8250
8250
|
}, [elementIds]);
|
|
8251
|
-
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$
|
|
8251
|
+
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$2({
|
|
8252
8252
|
isInitialMount: isInitialMountRef.current,
|
|
8253
8253
|
previousResultCount: previousResultCountRef.current,
|
|
8254
8254
|
items,
|
|
8255
8255
|
environment,
|
|
8256
8256
|
itemToString: itemToString2
|
|
8257
8257
|
}, state));
|
|
8258
|
-
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$
|
|
8258
|
+
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$2({
|
|
8259
8259
|
isInitialMount: isInitialMountRef.current,
|
|
8260
8260
|
previousResultCount: previousResultCountRef.current,
|
|
8261
8261
|
items,
|
|
@@ -8440,7 +8440,7 @@
|
|
|
8440
8440
|
});
|
|
8441
8441
|
}, [dispatch2]);
|
|
8442
8442
|
var getLabelProps = React.useCallback(function(labelProps) {
|
|
8443
|
-
return _extends$
|
|
8443
|
+
return _extends$2({
|
|
8444
8444
|
id: elementIds.labelId,
|
|
8445
8445
|
htmlFor: elementIds.toggleButtonId
|
|
8446
8446
|
}, labelProps);
|
|
@@ -8450,7 +8450,7 @@
|
|
|
8450
8450
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
8451
8451
|
_ref2.onKeyDown;
|
|
8452
8452
|
_ref2.onBlur;
|
|
8453
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8453
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$2);
|
|
8454
8454
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8455
8455
|
_ref22.suppressRefError;
|
|
8456
8456
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -8458,7 +8458,7 @@
|
|
|
8458
8458
|
type: MenuMouseLeave$1
|
|
8459
8459
|
});
|
|
8460
8460
|
};
|
|
8461
|
-
return _extends$
|
|
8461
|
+
return _extends$2((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
8462
8462
|
menuRef.current = menuNode;
|
|
8463
8463
|
}), _extends2.id = elementIds.menuId, _extends2.role = "listbox", _extends2["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, menuHandleMouseLeave), _extends2), rest);
|
|
8464
8464
|
}, [dispatch2, setGetterPropCallInfo, elementIds]);
|
|
@@ -8466,7 +8466,7 @@
|
|
|
8466
8466
|
var _extends3;
|
|
8467
8467
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
8468
8468
|
_ref3.onPress;
|
|
8469
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
8469
|
+
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$2);
|
|
8470
8470
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
8471
8471
|
_ref4.suppressRefError;
|
|
8472
8472
|
var latestState = latest.current.state;
|
|
@@ -8494,7 +8494,7 @@
|
|
|
8494
8494
|
});
|
|
8495
8495
|
}
|
|
8496
8496
|
};
|
|
8497
|
-
var toggleProps = _extends$
|
|
8497
|
+
var toggleProps = _extends$2((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(toggleButtonNode) {
|
|
8498
8498
|
toggleButtonRef.current = toggleButtonNode;
|
|
8499
8499
|
}), _extends3["aria-activedescendant"] = latestState.isOpen && latestState.highlightedIndex > -1 ? elementIds.getItemId(latestState.highlightedIndex) : "", _extends3["aria-controls"] = elementIds.menuId, _extends3["aria-expanded"] = latest.current.state.isOpen, _extends3["aria-haspopup"] = "listbox", _extends3["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends3.id = elementIds.toggleButtonId, _extends3.role = "combobox", _extends3.tabIndex = 0, _extends3.onBlur = callAllEventHandlers(onBlur, toggleButtonHandleBlur), _extends3), rest);
|
|
8500
8500
|
if (!rest.disabled) {
|
|
@@ -8509,7 +8509,7 @@
|
|
|
8509
8509
|
var _extends4;
|
|
8510
8510
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
8511
8511
|
_ref5.onPress;
|
|
8512
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8512
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3$1);
|
|
8513
8513
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
8514
8514
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
8515
8515
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -8529,7 +8529,7 @@
|
|
|
8529
8529
|
index: index2
|
|
8530
8530
|
});
|
|
8531
8531
|
};
|
|
8532
|
-
var itemProps = _extends$
|
|
8532
|
+
var itemProps = _extends$2((_extends4 = {
|
|
8533
8533
|
disabled: disabled2,
|
|
8534
8534
|
role: "option",
|
|
8535
8535
|
"aria-selected": "" + (item === selectedItem),
|
|
@@ -8621,7 +8621,7 @@
|
|
|
8621
8621
|
if (inputValue === "" && selectedItem && props.defaultInputValue === void 0 && props.initialInputValue === void 0 && props.inputValue === void 0) {
|
|
8622
8622
|
inputValue = props.itemToString(selectedItem);
|
|
8623
8623
|
}
|
|
8624
|
-
return _extends$
|
|
8624
|
+
return _extends$2({}, initialState2, {
|
|
8625
8625
|
inputValue
|
|
8626
8626
|
});
|
|
8627
8627
|
}
|
|
@@ -8682,7 +8682,7 @@
|
|
|
8682
8682
|
}, [state.selectedItem, props.selectedItem]);
|
|
8683
8683
|
return [getState(state, props), dispatch2];
|
|
8684
8684
|
}
|
|
8685
|
-
var defaultProps$1$1 = _extends$
|
|
8685
|
+
var defaultProps$1$1 = _extends$2({}, defaultProps$3, {
|
|
8686
8686
|
selectedItemChanged: function selectedItemChanged(prevItem, item) {
|
|
8687
8687
|
return prevItem !== item;
|
|
8688
8688
|
},
|
|
@@ -8733,7 +8733,7 @@
|
|
|
8733
8733
|
changes = getChangesOnSelection(props, state.highlightedIndex);
|
|
8734
8734
|
break;
|
|
8735
8735
|
case InputKeyDownEscape:
|
|
8736
|
-
changes = _extends$
|
|
8736
|
+
changes = _extends$2({
|
|
8737
8737
|
isOpen: false,
|
|
8738
8738
|
highlightedIndex: -1
|
|
8739
8739
|
}, !state.isOpen && {
|
|
@@ -8762,7 +8762,7 @@
|
|
|
8762
8762
|
};
|
|
8763
8763
|
break;
|
|
8764
8764
|
case InputBlur:
|
|
8765
|
-
changes = _extends$
|
|
8765
|
+
changes = _extends$2({
|
|
8766
8766
|
isOpen: false,
|
|
8767
8767
|
highlightedIndex: -1
|
|
8768
8768
|
}, state.highlightedIndex >= 0 && ((_props$items = props.items) == null ? void 0 : _props$items.length) && action.selectItem && {
|
|
@@ -8797,15 +8797,15 @@
|
|
|
8797
8797
|
default:
|
|
8798
8798
|
return downshiftCommonReducer(state, action, stateChangeTypes$1$1);
|
|
8799
8799
|
}
|
|
8800
|
-
return _extends$
|
|
8800
|
+
return _extends$2({}, state, changes);
|
|
8801
8801
|
}
|
|
8802
|
-
var _excluded$1
|
|
8802
|
+
var _excluded$1 = ["onMouseLeave", "refKey", "ref"], _excluded2$1 = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], _excluded3 = ["onClick", "onPress", "refKey", "ref"], _excluded4 = ["onKeyDown", "onChange", "onInput", "onFocus", "onBlur", "onChangeText", "refKey", "ref"];
|
|
8803
8803
|
useCombobox.stateChangeTypes = stateChangeTypes$1$1;
|
|
8804
8804
|
function useCombobox(userProps) {
|
|
8805
8805
|
if (userProps === void 0) {
|
|
8806
8806
|
userProps = {};
|
|
8807
8807
|
}
|
|
8808
|
-
var props = _extends$
|
|
8808
|
+
var props = _extends$2({}, defaultProps$1$1, userProps);
|
|
8809
8809
|
var initialIsOpen = props.initialIsOpen, defaultIsOpen = props.defaultIsOpen, items = props.items, scrollIntoView2 = props.scrollIntoView, environment = props.environment, getA11yStatusMessage2 = props.getA11yStatusMessage, getA11ySelectionMessage2 = props.getA11ySelectionMessage, itemToString2 = props.itemToString;
|
|
8810
8810
|
var initialState2 = getInitialState$1(props);
|
|
8811
8811
|
var _useControlledReducer = useControlledReducer(downshiftUseComboboxReducer, initialState2, props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
@@ -8824,14 +8824,14 @@
|
|
|
8824
8824
|
var getItemNodeFromIndex = React.useCallback(function(index2) {
|
|
8825
8825
|
return itemRefs.current[elementIds.getItemId(index2)];
|
|
8826
8826
|
}, [elementIds]);
|
|
8827
|
-
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$
|
|
8827
|
+
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$2({
|
|
8828
8828
|
isInitialMount: isInitialMountRef.current,
|
|
8829
8829
|
previousResultCount: previousResultCountRef.current,
|
|
8830
8830
|
items,
|
|
8831
8831
|
environment,
|
|
8832
8832
|
itemToString: itemToString2
|
|
8833
8833
|
}, state));
|
|
8834
|
-
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$
|
|
8834
|
+
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$2({
|
|
8835
8835
|
isInitialMount: isInitialMountRef.current,
|
|
8836
8836
|
previousResultCount: previousResultCountRef.current,
|
|
8837
8837
|
items,
|
|
@@ -8964,17 +8964,17 @@
|
|
|
8964
8964
|
};
|
|
8965
8965
|
}, [dispatch2, latest, getItemNodeFromIndex]);
|
|
8966
8966
|
var getLabelProps = React.useCallback(function(labelProps) {
|
|
8967
|
-
return _extends$
|
|
8967
|
+
return _extends$2({
|
|
8968
8968
|
id: elementIds.labelId,
|
|
8969
8969
|
htmlFor: elementIds.inputId
|
|
8970
8970
|
}, labelProps);
|
|
8971
8971
|
}, [elementIds]);
|
|
8972
8972
|
var getMenuProps = React.useCallback(function(_temp, _temp2) {
|
|
8973
8973
|
var _extends2;
|
|
8974
|
-
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8974
|
+
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$1);
|
|
8975
8975
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8976
8976
|
_ref22.suppressRefError;
|
|
8977
|
-
return _extends$
|
|
8977
|
+
return _extends$2((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
8978
8978
|
menuRef.current = menuNode;
|
|
8979
8979
|
}), _extends2.id = elementIds.menuId, _extends2.role = "listbox", _extends2["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, function() {
|
|
8980
8980
|
dispatch2({
|
|
@@ -8986,7 +8986,7 @@
|
|
|
8986
8986
|
var _extends3, _ref4;
|
|
8987
8987
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, itemProp = _ref3.item, indexProp = _ref3.index, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onMouseMove = _ref3.onMouseMove, onMouseDown = _ref3.onMouseDown, onClick = _ref3.onClick;
|
|
8988
8988
|
_ref3.onPress;
|
|
8989
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8989
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$1);
|
|
8990
8990
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
8991
8991
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
8992
8992
|
var onSelectKey = "onClick";
|
|
@@ -9011,7 +9011,7 @@
|
|
|
9011
9011
|
var itemHandleMouseDown = function itemHandleMouseDown2(e3) {
|
|
9012
9012
|
return e3.preventDefault();
|
|
9013
9013
|
};
|
|
9014
|
-
return _extends$
|
|
9014
|
+
return _extends$2((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(itemNode) {
|
|
9015
9015
|
if (itemNode) {
|
|
9016
9016
|
itemRefs.current[elementIds.getItemId(index2)] = itemNode;
|
|
9017
9017
|
}
|
|
@@ -9024,16 +9024,16 @@
|
|
|
9024
9024
|
var _extends4;
|
|
9025
9025
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
9026
9026
|
_ref5.onPress;
|
|
9027
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
9027
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3);
|
|
9028
9028
|
var latestState = latest.current.state;
|
|
9029
9029
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
9030
9030
|
dispatch2({
|
|
9031
9031
|
type: ToggleButtonClick
|
|
9032
9032
|
});
|
|
9033
9033
|
};
|
|
9034
|
-
return _extends$
|
|
9034
|
+
return _extends$2((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function(toggleButtonNode) {
|
|
9035
9035
|
toggleButtonRef.current = toggleButtonNode;
|
|
9036
|
-
}), _extends4["aria-controls"] = elementIds.menuId, _extends4["aria-expanded"] = latestState.isOpen, _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$
|
|
9036
|
+
}), _extends4["aria-controls"] = elementIds.menuId, _extends4["aria-expanded"] = latestState.isOpen, _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$2({}, {
|
|
9037
9037
|
onClick: callAllEventHandlers(onClick, toggleButtonHandleClick)
|
|
9038
9038
|
}), rest);
|
|
9039
9039
|
}, [dispatch2, latest, elementIds]);
|
|
@@ -9041,7 +9041,7 @@
|
|
|
9041
9041
|
var _extends5;
|
|
9042
9042
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
9043
9043
|
_ref6.onChangeText;
|
|
9044
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
9044
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$4(_ref6, _excluded4);
|
|
9045
9045
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
9046
9046
|
_ref7.suppressRefError;
|
|
9047
9047
|
var latestState = latest.current.state;
|
|
@@ -9079,7 +9079,7 @@
|
|
|
9079
9079
|
var _eventHandlers;
|
|
9080
9080
|
eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange2, onInput, inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, inputHandleBlur), _eventHandlers.onFocus = callAllEventHandlers(onFocus, inputHandleFocus), _eventHandlers);
|
|
9081
9081
|
}
|
|
9082
|
-
return _extends$
|
|
9082
|
+
return _extends$2((_extends5 = {}, _extends5[refKey] = handleRefs(ref, function(inputNode) {
|
|
9083
9083
|
inputRef.current = inputNode;
|
|
9084
9084
|
}), _extends5["aria-activedescendant"] = latestState.isOpen && latestState.highlightedIndex > -1 ? elementIds.getItemId(latestState.highlightedIndex) : "", _extends5["aria-autocomplete"] = "list", _extends5["aria-controls"] = elementIds.menuId, _extends5["aria-expanded"] = latestState.isOpen, _extends5["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends5.autoComplete = "off", _extends5.id = elementIds.inputId, _extends5.role = "combobox", _extends5.value = latestState.inputValue, _extends5), eventHandlers, rest);
|
|
9085
9085
|
}, [setGetterPropCallInfo, latest, elementIds, inputKeyDownHandlers, dispatch2, mouseAndTouchTrackersRef, environment]);
|
|
@@ -9264,7 +9264,7 @@
|
|
|
9264
9264
|
} else if (activeIndex === selectedItems.length - 1) {
|
|
9265
9265
|
newActiveIndex = selectedItems.length - 2;
|
|
9266
9266
|
}
|
|
9267
|
-
changes = _extends$
|
|
9267
|
+
changes = _extends$2({
|
|
9268
9268
|
selectedItems: [].concat(selectedItems.slice(0, activeIndex), selectedItems.slice(activeIndex + 1))
|
|
9269
9269
|
}, {
|
|
9270
9270
|
activeIndex: newActiveIndex
|
|
@@ -9331,7 +9331,7 @@
|
|
|
9331
9331
|
default:
|
|
9332
9332
|
throw new Error("Reducer called without proper action type.");
|
|
9333
9333
|
}
|
|
9334
|
-
return _extends$
|
|
9334
|
+
return _extends$2({}, state, changes);
|
|
9335
9335
|
}
|
|
9336
9336
|
var _excluded$4 = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"], _excluded2 = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"];
|
|
9337
9337
|
useMultipleSelection.stateChangeTypes = stateChangeTypes$4;
|
|
@@ -9339,7 +9339,7 @@
|
|
|
9339
9339
|
if (userProps === void 0) {
|
|
9340
9340
|
userProps = {};
|
|
9341
9341
|
}
|
|
9342
|
-
var props = _extends$
|
|
9342
|
+
var props = _extends$2({}, defaultProps$4, userProps);
|
|
9343
9343
|
var getA11yRemovalMessage2 = props.getA11yRemovalMessage, itemToString2 = props.itemToString, environment = props.environment, keyNavigationNext = props.keyNavigationNext, keyNavigationPrevious = props.keyNavigationPrevious;
|
|
9344
9344
|
var _useControlledReducer = useControlledReducer$1(downshiftMultipleSelectionReducer, getInitialState(props), props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
9345
9345
|
var activeIndex = state.activeIndex, selectedItems = state.selectedItems;
|
|
@@ -9430,7 +9430,7 @@
|
|
|
9430
9430
|
}, [dispatch2, keyNavigationPrevious]);
|
|
9431
9431
|
var getSelectedItemProps = React.useCallback(function(_temp) {
|
|
9432
9432
|
var _extends2;
|
|
9433
|
-
var _ref3 = _temp === void 0 ? {} : _temp, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onClick = _ref3.onClick, onKeyDown = _ref3.onKeyDown, selectedItemProp = _ref3.selectedItem, indexProp = _ref3.index, rest = _objectWithoutPropertiesLoose$
|
|
9433
|
+
var _ref3 = _temp === void 0 ? {} : _temp, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onClick = _ref3.onClick, onKeyDown = _ref3.onKeyDown, selectedItemProp = _ref3.selectedItem, indexProp = _ref3.index, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded$4);
|
|
9434
9434
|
var latestState = latest.current.state;
|
|
9435
9435
|
var _getItemAndIndex = getItemAndIndex(selectedItemProp, indexProp, latestState.selectedItems, "Pass either item or index to getSelectedItemProps!"), index2 = _getItemAndIndex[1];
|
|
9436
9436
|
var isFocusable = index2 > -1 && index2 === latestState.activeIndex;
|
|
@@ -9446,7 +9446,7 @@
|
|
|
9446
9446
|
selectedItemKeyDownHandlers[key](event2);
|
|
9447
9447
|
}
|
|
9448
9448
|
};
|
|
9449
|
-
return _extends$
|
|
9449
|
+
return _extends$2((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(selectedItemNode) {
|
|
9450
9450
|
if (selectedItemNode) {
|
|
9451
9451
|
selectedItemRefs.current.push(selectedItemNode);
|
|
9452
9452
|
}
|
|
@@ -9454,7 +9454,7 @@
|
|
|
9454
9454
|
}, [dispatch2, latest, selectedItemKeyDownHandlers]);
|
|
9455
9455
|
var getDropdownProps = React.useCallback(function(_temp2, _temp3) {
|
|
9456
9456
|
var _extends3;
|
|
9457
|
-
var _ref4 = _temp2 === void 0 ? {} : _temp2, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, ref = _ref4.ref, onKeyDown = _ref4.onKeyDown, onClick = _ref4.onClick, _ref4$preventKeyActio = _ref4.preventKeyAction, preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio, rest = _objectWithoutPropertiesLoose$
|
|
9457
|
+
var _ref4 = _temp2 === void 0 ? {} : _temp2, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, ref = _ref4.ref, onKeyDown = _ref4.onKeyDown, onClick = _ref4.onClick, _ref4$preventKeyActio = _ref4.preventKeyAction, preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio, rest = _objectWithoutPropertiesLoose$4(_ref4, _excluded2);
|
|
9458
9458
|
var _ref5 = _temp3 === void 0 ? {} : _temp3;
|
|
9459
9459
|
_ref5.suppressRefError;
|
|
9460
9460
|
var dropdownHandleKeyDown = function dropdownHandleKeyDown2(event2) {
|
|
@@ -9468,7 +9468,7 @@
|
|
|
9468
9468
|
type: DropdownClick
|
|
9469
9469
|
});
|
|
9470
9470
|
};
|
|
9471
|
-
return _extends$
|
|
9471
|
+
return _extends$2((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(dropdownNode) {
|
|
9472
9472
|
if (dropdownNode) {
|
|
9473
9473
|
dropdownRef.current = dropdownNode;
|
|
9474
9474
|
}
|
|
@@ -13218,7 +13218,7 @@
|
|
|
13218
13218
|
tippy$1.setDefaultProps({
|
|
13219
13219
|
animation: false
|
|
13220
13220
|
});
|
|
13221
|
-
function _objectWithoutPropertiesLoose$
|
|
13221
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
13222
13222
|
if (source == null)
|
|
13223
13223
|
return {};
|
|
13224
13224
|
var target = {};
|
|
@@ -13315,7 +13315,7 @@
|
|
|
13315
13315
|
var children2 = _ref2.children, content2 = _ref2.content, visible = _ref2.visible, singleton = _ref2.singleton, render2 = _ref2.render, reference2 = _ref2.reference, _ref$disabled = _ref2.disabled, disabled2 = _ref$disabled === void 0 ? false : _ref$disabled, _ref$ignoreAttributes = _ref2.ignoreAttributes, ignoreAttributes = _ref$ignoreAttributes === void 0 ? true : _ref$ignoreAttributes;
|
|
13316
13316
|
_ref2.__source;
|
|
13317
13317
|
_ref2.__self;
|
|
13318
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
13318
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$3(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
13319
13319
|
var isControlledMode = visible !== void 0;
|
|
13320
13320
|
var isSingletonMode = singleton !== void 0;
|
|
13321
13321
|
var _useState = React.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -13460,7 +13460,7 @@
|
|
|
13460
13460
|
}
|
|
13461
13461
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
13462
13462
|
return /* @__PURE__ */ React.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
13463
|
-
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
13463
|
+
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$3(_ref2, ["children"]);
|
|
13464
13464
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children2 ? /* @__PURE__ */ React.cloneElement(children2, {
|
|
13465
13465
|
ref: function ref(node2) {
|
|
13466
13466
|
preserveRef(_ref22, node2);
|
|
@@ -14816,8 +14816,8 @@
|
|
|
14816
14816
|
}}
|
|
14817
14817
|
}
|
|
14818
14818
|
`;
|
|
14819
|
-
function Tooltip$1({ appendTo = document.body, getReferenceClientRect, children: children2, className, content: content2, disabled: disabled2, hideOnClick = true, interactive, visible, placement = "auto", styling = "default", followCursor: followCursor$1 = false, hidden = false, style: style2, onClickOutside = () => false }) {
|
|
14820
|
-
return jsxRuntime.exports.jsx(Tippy, { appendTo, arrow: true, disabled: disabled2, followCursor: followCursor$1, getReferenceClientRect, hideOnClick: visible !== void 0 ? void 0 : hideOnClick, interactive, onClickOutside, placement, plugins: [followCursor], render: (attrs2) => jsxRuntime.exports.jsxs(TooltipWrapper, Object.assign({ "$hidden": hidden, className, style: style2, styling }, attrs2, { children: [content2, jsxRuntime.exports.jsx(Arrow, { "$hidden": hidden, "data-popper-arrow": "", placement: attrs2["data-placement"], styling })] })), visible, zIndex: 9998, children: children2 });
|
|
14819
|
+
function Tooltip$1({ appendTo = document.body, getReferenceClientRect, children: children2, className, content: content2, disabled: disabled2, hideOnClick = true, interactive, visible, placement = "auto", styling = "default", followCursor: followCursor$1 = false, hidden = false, style: style2, delay = 0, onClickOutside = () => false }) {
|
|
14820
|
+
return jsxRuntime.exports.jsx(Tippy, { appendTo, arrow: true, delay, disabled: disabled2, followCursor: followCursor$1, getReferenceClientRect, hideOnClick: visible !== void 0 ? void 0 : hideOnClick, interactive, onClickOutside, placement, plugins: [followCursor], render: (attrs2) => jsxRuntime.exports.jsxs(TooltipWrapper, Object.assign({ "$hidden": hidden, className, style: style2, styling }, attrs2, { children: [content2, jsxRuntime.exports.jsx(Arrow, { "$hidden": hidden, "data-popper-arrow": "", placement: attrs2["data-placement"], styling })] })), visible, zIndex: 9998, children: children2 });
|
|
14821
14821
|
}
|
|
14822
14822
|
const { stateChangeTypes: stateChangeTypes$3 } = useCombobox;
|
|
14823
14823
|
const Wrapper$a = styled__default.default.div`
|
|
@@ -23668,13 +23668,13 @@
|
|
|
23668
23668
|
})();
|
|
23669
23669
|
})(classnames);
|
|
23670
23670
|
const r$2 = classnames.exports;
|
|
23671
|
-
function _typeof$
|
|
23671
|
+
function _typeof$5(o2) {
|
|
23672
23672
|
"@babel/helpers - typeof";
|
|
23673
|
-
return _typeof$
|
|
23673
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
23674
23674
|
return typeof o3;
|
|
23675
23675
|
} : function(o3) {
|
|
23676
23676
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
23677
|
-
}, _typeof$
|
|
23677
|
+
}, _typeof$5(o2);
|
|
23678
23678
|
}
|
|
23679
23679
|
function requiredArgs(required2, args) {
|
|
23680
23680
|
if (args.length < required2) {
|
|
@@ -23683,12 +23683,12 @@
|
|
|
23683
23683
|
}
|
|
23684
23684
|
function isDate$1(value) {
|
|
23685
23685
|
requiredArgs(1, arguments);
|
|
23686
|
-
return value instanceof Date || _typeof$
|
|
23686
|
+
return value instanceof Date || _typeof$5(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
23687
23687
|
}
|
|
23688
23688
|
function toDate(argument) {
|
|
23689
23689
|
requiredArgs(1, arguments);
|
|
23690
23690
|
var argStr = Object.prototype.toString.call(argument);
|
|
23691
|
-
if (argument instanceof Date || _typeof$
|
|
23691
|
+
if (argument instanceof Date || _typeof$5(argument) === "object" && argStr === "[object Date]") {
|
|
23692
23692
|
return new Date(argument.getTime());
|
|
23693
23693
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
23694
23694
|
return new Date(argument);
|
|
@@ -25388,7 +25388,7 @@
|
|
|
25388
25388
|
var datesArray;
|
|
25389
25389
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25390
25390
|
datesArray = dirtyDatesArray;
|
|
25391
|
-
} else if (_typeof$
|
|
25391
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25392
25392
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25393
25393
|
} else {
|
|
25394
25394
|
return new Date(NaN);
|
|
@@ -25407,7 +25407,7 @@
|
|
|
25407
25407
|
var datesArray;
|
|
25408
25408
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25409
25409
|
datesArray = dirtyDatesArray;
|
|
25410
|
-
} else if (_typeof$
|
|
25410
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25411
25411
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25412
25412
|
} else {
|
|
25413
25413
|
return new Date(NaN);
|
|
@@ -25532,30 +25532,30 @@
|
|
|
25532
25532
|
}
|
|
25533
25533
|
return time >= startTime && time <= endTime;
|
|
25534
25534
|
}
|
|
25535
|
-
function _arrayLikeToArray$
|
|
25535
|
+
function _arrayLikeToArray$9(arr, len) {
|
|
25536
25536
|
if (len == null || len > arr.length)
|
|
25537
25537
|
len = arr.length;
|
|
25538
25538
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
25539
25539
|
arr2[i2] = arr[i2];
|
|
25540
25540
|
return arr2;
|
|
25541
25541
|
}
|
|
25542
|
-
function _unsupportedIterableToArray$
|
|
25542
|
+
function _unsupportedIterableToArray$9(o2, minLen) {
|
|
25543
25543
|
if (!o2)
|
|
25544
25544
|
return;
|
|
25545
25545
|
if (typeof o2 === "string")
|
|
25546
|
-
return _arrayLikeToArray$
|
|
25546
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25547
25547
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
25548
25548
|
if (n2 === "Object" && o2.constructor)
|
|
25549
25549
|
n2 = o2.constructor.name;
|
|
25550
25550
|
if (n2 === "Map" || n2 === "Set")
|
|
25551
25551
|
return Array.from(o2);
|
|
25552
25552
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
25553
|
-
return _arrayLikeToArray$
|
|
25553
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25554
25554
|
}
|
|
25555
25555
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
25556
25556
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
25557
25557
|
if (!it2) {
|
|
25558
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
25558
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$9(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
25559
25559
|
if (it2)
|
|
25560
25560
|
o2 = it2;
|
|
25561
25561
|
var i2 = 0;
|
|
@@ -25632,22 +25632,22 @@
|
|
|
25632
25632
|
writable: false
|
|
25633
25633
|
});
|
|
25634
25634
|
if (superClass)
|
|
25635
|
-
_setPrototypeOf$
|
|
25635
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
25636
25636
|
}
|
|
25637
25637
|
function _possibleConstructorReturn$1(self2, call2) {
|
|
25638
|
-
if (call2 && (_typeof$
|
|
25638
|
+
if (call2 && (_typeof$5(call2) === "object" || typeof call2 === "function")) {
|
|
25639
25639
|
return call2;
|
|
25640
25640
|
} else if (call2 !== void 0) {
|
|
25641
25641
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
25642
25642
|
}
|
|
25643
|
-
return _assertThisInitialized$
|
|
25643
|
+
return _assertThisInitialized$2(self2);
|
|
25644
25644
|
}
|
|
25645
25645
|
function _createSuper$1(Derived) {
|
|
25646
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
25646
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$1();
|
|
25647
25647
|
return function _createSuperInternal() {
|
|
25648
|
-
var Super = _getPrototypeOf$
|
|
25648
|
+
var Super = _getPrototypeOf$1(Derived), result;
|
|
25649
25649
|
if (hasNativeReflectConstruct) {
|
|
25650
|
-
var NewTarget = _getPrototypeOf$
|
|
25650
|
+
var NewTarget = _getPrototypeOf$1(this).constructor;
|
|
25651
25651
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
25652
25652
|
} else {
|
|
25653
25653
|
result = Super.apply(this, arguments);
|
|
@@ -25661,12 +25661,12 @@
|
|
|
25661
25661
|
}
|
|
25662
25662
|
}
|
|
25663
25663
|
function _toPrimitive(input, hint) {
|
|
25664
|
-
if (_typeof$
|
|
25664
|
+
if (_typeof$5(input) !== "object" || input === null)
|
|
25665
25665
|
return input;
|
|
25666
25666
|
var prim = input[Symbol.toPrimitive];
|
|
25667
25667
|
if (prim !== void 0) {
|
|
25668
25668
|
var res = prim.call(input, hint || "default");
|
|
25669
|
-
if (_typeof$
|
|
25669
|
+
if (_typeof$5(res) !== "object")
|
|
25670
25670
|
return res;
|
|
25671
25671
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25672
25672
|
}
|
|
@@ -25674,7 +25674,7 @@
|
|
|
25674
25674
|
}
|
|
25675
25675
|
function _toPropertyKey(arg) {
|
|
25676
25676
|
var key = _toPrimitive(arg, "string");
|
|
25677
|
-
return _typeof$
|
|
25677
|
+
return _typeof$5(key) === "symbol" ? key : String(key);
|
|
25678
25678
|
}
|
|
25679
25679
|
function _defineProperties$g(target, props) {
|
|
25680
25680
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -25696,7 +25696,7 @@
|
|
|
25696
25696
|
});
|
|
25697
25697
|
return Constructor;
|
|
25698
25698
|
}
|
|
25699
|
-
function _defineProperty$
|
|
25699
|
+
function _defineProperty$o(obj, key, value) {
|
|
25700
25700
|
key = _toPropertyKey(key);
|
|
25701
25701
|
if (key in obj) {
|
|
25702
25702
|
Object.defineProperty(obj, key, {
|
|
@@ -25714,8 +25714,8 @@
|
|
|
25714
25714
|
var Setter = /* @__PURE__ */ function() {
|
|
25715
25715
|
function Setter2() {
|
|
25716
25716
|
_classCallCheck$g(this, Setter2);
|
|
25717
|
-
_defineProperty$
|
|
25718
|
-
_defineProperty$
|
|
25717
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25718
|
+
_defineProperty$o(this, "subPriority", 0);
|
|
25719
25719
|
}
|
|
25720
25720
|
_createClass$g(Setter2, [{
|
|
25721
25721
|
key: "validate",
|
|
@@ -25764,8 +25764,8 @@
|
|
|
25764
25764
|
args[_key] = arguments[_key];
|
|
25765
25765
|
}
|
|
25766
25766
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
25767
|
-
_defineProperty$
|
|
25768
|
-
_defineProperty$
|
|
25767
|
+
_defineProperty$o(_assertThisInitialized$2(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
25768
|
+
_defineProperty$o(_assertThisInitialized$2(_this2), "subPriority", -1);
|
|
25769
25769
|
return _this2;
|
|
25770
25770
|
}
|
|
25771
25771
|
_createClass$g(DateToSystemTimezoneSetter2, [{
|
|
@@ -25785,9 +25785,9 @@
|
|
|
25785
25785
|
var Parser$2 = /* @__PURE__ */ function() {
|
|
25786
25786
|
function Parser2() {
|
|
25787
25787
|
_classCallCheck$g(this, Parser2);
|
|
25788
|
-
_defineProperty$
|
|
25789
|
-
_defineProperty$
|
|
25790
|
-
_defineProperty$
|
|
25788
|
+
_defineProperty$o(this, "incompatibleTokens", void 0);
|
|
25789
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25790
|
+
_defineProperty$o(this, "subPriority", void 0);
|
|
25791
25791
|
}
|
|
25792
25792
|
_createClass$g(Parser2, [{
|
|
25793
25793
|
key: "run",
|
|
@@ -25819,8 +25819,8 @@
|
|
|
25819
25819
|
args[_key] = arguments[_key];
|
|
25820
25820
|
}
|
|
25821
25821
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25822
|
-
_defineProperty$
|
|
25823
|
-
_defineProperty$
|
|
25822
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 140);
|
|
25823
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
25824
25824
|
return _this;
|
|
25825
25825
|
}
|
|
25826
25826
|
_createClass$g(EraParser2, [{
|
|
@@ -26006,8 +26006,8 @@
|
|
|
26006
26006
|
args[_key] = arguments[_key];
|
|
26007
26007
|
}
|
|
26008
26008
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26009
|
-
_defineProperty$
|
|
26010
|
-
_defineProperty$
|
|
26009
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26010
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26011
26011
|
return _this;
|
|
26012
26012
|
}
|
|
26013
26013
|
_createClass$g(YearParser2, [{
|
|
@@ -26063,8 +26063,8 @@
|
|
|
26063
26063
|
args[_key] = arguments[_key];
|
|
26064
26064
|
}
|
|
26065
26065
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26066
|
-
_defineProperty$
|
|
26067
|
-
_defineProperty$
|
|
26066
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26067
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26068
26068
|
return _this;
|
|
26069
26069
|
}
|
|
26070
26070
|
_createClass$g(LocalWeekYearParser2, [{
|
|
@@ -26120,8 +26120,8 @@
|
|
|
26120
26120
|
args[_key] = arguments[_key];
|
|
26121
26121
|
}
|
|
26122
26122
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26123
|
-
_defineProperty$
|
|
26124
|
-
_defineProperty$
|
|
26123
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26124
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26125
26125
|
return _this;
|
|
26126
26126
|
}
|
|
26127
26127
|
_createClass$g(ISOWeekYearParser2, [{
|
|
@@ -26153,8 +26153,8 @@
|
|
|
26153
26153
|
args[_key] = arguments[_key];
|
|
26154
26154
|
}
|
|
26155
26155
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26156
|
-
_defineProperty$
|
|
26157
|
-
_defineProperty$
|
|
26156
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26157
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26158
26158
|
return _this;
|
|
26159
26159
|
}
|
|
26160
26160
|
_createClass$g(ExtendedYearParser2, [{
|
|
@@ -26185,8 +26185,8 @@
|
|
|
26185
26185
|
args[_key] = arguments[_key];
|
|
26186
26186
|
}
|
|
26187
26187
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26188
|
-
_defineProperty$
|
|
26189
|
-
_defineProperty$
|
|
26188
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 120);
|
|
26189
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26190
26190
|
return _this;
|
|
26191
26191
|
}
|
|
26192
26192
|
_createClass$g(QuarterParser2, [{
|
|
@@ -26252,8 +26252,8 @@
|
|
|
26252
26252
|
args[_key] = arguments[_key];
|
|
26253
26253
|
}
|
|
26254
26254
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26255
|
-
_defineProperty$
|
|
26256
|
-
_defineProperty$
|
|
26255
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 120);
|
|
26256
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26257
26257
|
return _this;
|
|
26258
26258
|
}
|
|
26259
26259
|
_createClass$g(StandAloneQuarterParser2, [{
|
|
@@ -26319,8 +26319,8 @@
|
|
|
26319
26319
|
args[_key] = arguments[_key];
|
|
26320
26320
|
}
|
|
26321
26321
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26322
|
-
_defineProperty$
|
|
26323
|
-
_defineProperty$
|
|
26322
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26323
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 110);
|
|
26324
26324
|
return _this;
|
|
26325
26325
|
}
|
|
26326
26326
|
_createClass$g(MonthParser2, [{
|
|
@@ -26390,8 +26390,8 @@
|
|
|
26390
26390
|
args[_key] = arguments[_key];
|
|
26391
26391
|
}
|
|
26392
26392
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26393
|
-
_defineProperty$
|
|
26394
|
-
_defineProperty$
|
|
26393
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 110);
|
|
26394
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26395
26395
|
return _this;
|
|
26396
26396
|
}
|
|
26397
26397
|
_createClass$g(StandAloneMonthParser2, [{
|
|
@@ -26469,8 +26469,8 @@
|
|
|
26469
26469
|
args[_key] = arguments[_key];
|
|
26470
26470
|
}
|
|
26471
26471
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26472
|
-
_defineProperty$
|
|
26473
|
-
_defineProperty$
|
|
26472
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 100);
|
|
26473
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26474
26474
|
return _this;
|
|
26475
26475
|
}
|
|
26476
26476
|
_createClass$g(LocalWeekParser2, [{
|
|
@@ -26518,8 +26518,8 @@
|
|
|
26518
26518
|
args[_key] = arguments[_key];
|
|
26519
26519
|
}
|
|
26520
26520
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26521
|
-
_defineProperty$
|
|
26522
|
-
_defineProperty$
|
|
26521
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 100);
|
|
26522
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26523
26523
|
return _this;
|
|
26524
26524
|
}
|
|
26525
26525
|
_createClass$g(ISOWeekParser2, [{
|
|
@@ -26561,9 +26561,9 @@
|
|
|
26561
26561
|
args[_key] = arguments[_key];
|
|
26562
26562
|
}
|
|
26563
26563
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26564
|
-
_defineProperty$
|
|
26565
|
-
_defineProperty$
|
|
26566
|
-
_defineProperty$
|
|
26564
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26565
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "subPriority", 1);
|
|
26566
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26567
26567
|
return _this;
|
|
26568
26568
|
}
|
|
26569
26569
|
_createClass$g(DateParser2, [{
|
|
@@ -26612,9 +26612,9 @@
|
|
|
26612
26612
|
args[_key] = arguments[_key];
|
|
26613
26613
|
}
|
|
26614
26614
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26615
|
-
_defineProperty$
|
|
26616
|
-
_defineProperty$
|
|
26617
|
-
_defineProperty$
|
|
26615
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26616
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "subpriority", 1);
|
|
26617
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
26618
26618
|
return _this;
|
|
26619
26619
|
}
|
|
26620
26620
|
_createClass$g(DayOfYearParser2, [{
|
|
@@ -26680,8 +26680,8 @@
|
|
|
26680
26680
|
args[_key] = arguments[_key];
|
|
26681
26681
|
}
|
|
26682
26682
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26683
|
-
_defineProperty$
|
|
26684
|
-
_defineProperty$
|
|
26683
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26684
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
26685
26685
|
return _this;
|
|
26686
26686
|
}
|
|
26687
26687
|
_createClass$g(DayParser2, [{
|
|
@@ -26756,8 +26756,8 @@
|
|
|
26756
26756
|
args[_key] = arguments[_key];
|
|
26757
26757
|
}
|
|
26758
26758
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26759
|
-
_defineProperty$
|
|
26760
|
-
_defineProperty$
|
|
26759
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26760
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
26761
26761
|
return _this;
|
|
26762
26762
|
}
|
|
26763
26763
|
_createClass$g(LocalDayParser2, [{
|
|
@@ -26841,8 +26841,8 @@
|
|
|
26841
26841
|
args[_key] = arguments[_key];
|
|
26842
26842
|
}
|
|
26843
26843
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26844
|
-
_defineProperty$
|
|
26845
|
-
_defineProperty$
|
|
26844
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26845
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
26846
26846
|
return _this;
|
|
26847
26847
|
}
|
|
26848
26848
|
_createClass$g(StandAloneLocalDayParser2, [{
|
|
@@ -26941,8 +26941,8 @@
|
|
|
26941
26941
|
args[_key] = arguments[_key];
|
|
26942
26942
|
}
|
|
26943
26943
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26944
|
-
_defineProperty$
|
|
26945
|
-
_defineProperty$
|
|
26944
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26945
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
26946
26946
|
return _this;
|
|
26947
26947
|
}
|
|
26948
26948
|
_createClass$g(ISODayParser2, [{
|
|
@@ -27028,8 +27028,8 @@
|
|
|
27028
27028
|
args[_key] = arguments[_key];
|
|
27029
27029
|
}
|
|
27030
27030
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27031
|
-
_defineProperty$
|
|
27032
|
-
_defineProperty$
|
|
27031
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 80);
|
|
27032
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
27033
27033
|
return _this;
|
|
27034
27034
|
}
|
|
27035
27035
|
_createClass$g(AMPMParser2, [{
|
|
@@ -27084,8 +27084,8 @@
|
|
|
27084
27084
|
args[_key] = arguments[_key];
|
|
27085
27085
|
}
|
|
27086
27086
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27087
|
-
_defineProperty$
|
|
27088
|
-
_defineProperty$
|
|
27087
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 80);
|
|
27088
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
27089
27089
|
return _this;
|
|
27090
27090
|
}
|
|
27091
27091
|
_createClass$g(AMPMMidnightParser2, [{
|
|
@@ -27140,8 +27140,8 @@
|
|
|
27140
27140
|
args[_key] = arguments[_key];
|
|
27141
27141
|
}
|
|
27142
27142
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27143
|
-
_defineProperty$
|
|
27144
|
-
_defineProperty$
|
|
27143
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 80);
|
|
27144
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
27145
27145
|
return _this;
|
|
27146
27146
|
}
|
|
27147
27147
|
_createClass$g(DayPeriodParser2, [{
|
|
@@ -27196,8 +27196,8 @@
|
|
|
27196
27196
|
args[_key] = arguments[_key];
|
|
27197
27197
|
}
|
|
27198
27198
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27199
|
-
_defineProperty$
|
|
27200
|
-
_defineProperty$
|
|
27199
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27200
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
27201
27201
|
return _this;
|
|
27202
27202
|
}
|
|
27203
27203
|
_createClass$g(Hour1to12Parser2, [{
|
|
@@ -27245,8 +27245,8 @@
|
|
|
27245
27245
|
args[_key] = arguments[_key];
|
|
27246
27246
|
}
|
|
27247
27247
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27248
|
-
_defineProperty$
|
|
27249
|
-
_defineProperty$
|
|
27248
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27249
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
27250
27250
|
return _this;
|
|
27251
27251
|
}
|
|
27252
27252
|
_createClass$g(Hour0to23Parser2, [{
|
|
@@ -27287,8 +27287,8 @@
|
|
|
27287
27287
|
args[_key] = arguments[_key];
|
|
27288
27288
|
}
|
|
27289
27289
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27290
|
-
_defineProperty$
|
|
27291
|
-
_defineProperty$
|
|
27290
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27291
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
27292
27292
|
return _this;
|
|
27293
27293
|
}
|
|
27294
27294
|
_createClass$g(Hour0To11Parser2, [{
|
|
@@ -27334,8 +27334,8 @@
|
|
|
27334
27334
|
args[_key] = arguments[_key];
|
|
27335
27335
|
}
|
|
27336
27336
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27337
|
-
_defineProperty$
|
|
27338
|
-
_defineProperty$
|
|
27337
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27338
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
27339
27339
|
return _this;
|
|
27340
27340
|
}
|
|
27341
27341
|
_createClass$g(Hour1To24Parser2, [{
|
|
@@ -27377,8 +27377,8 @@
|
|
|
27377
27377
|
args[_key] = arguments[_key];
|
|
27378
27378
|
}
|
|
27379
27379
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27380
|
-
_defineProperty$
|
|
27381
|
-
_defineProperty$
|
|
27380
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 60);
|
|
27381
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27382
27382
|
return _this;
|
|
27383
27383
|
}
|
|
27384
27384
|
_createClass$g(MinuteParser2, [{
|
|
@@ -27419,8 +27419,8 @@
|
|
|
27419
27419
|
args[_key] = arguments[_key];
|
|
27420
27420
|
}
|
|
27421
27421
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27422
|
-
_defineProperty$
|
|
27423
|
-
_defineProperty$
|
|
27422
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 50);
|
|
27423
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27424
27424
|
return _this;
|
|
27425
27425
|
}
|
|
27426
27426
|
_createClass$g(SecondParser2, [{
|
|
@@ -27461,8 +27461,8 @@
|
|
|
27461
27461
|
args[_key] = arguments[_key];
|
|
27462
27462
|
}
|
|
27463
27463
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27464
|
-
_defineProperty$
|
|
27465
|
-
_defineProperty$
|
|
27464
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 30);
|
|
27465
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27466
27466
|
return _this;
|
|
27467
27467
|
}
|
|
27468
27468
|
_createClass$g(FractionOfSecondParser2, [{
|
|
@@ -27492,8 +27492,8 @@
|
|
|
27492
27492
|
args[_key] = arguments[_key];
|
|
27493
27493
|
}
|
|
27494
27494
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27495
|
-
_defineProperty$
|
|
27496
|
-
_defineProperty$
|
|
27495
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 10);
|
|
27496
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
27497
27497
|
return _this;
|
|
27498
27498
|
}
|
|
27499
27499
|
_createClass$g(ISOTimezoneWithZParser2, [{
|
|
@@ -27534,8 +27534,8 @@
|
|
|
27534
27534
|
args[_key] = arguments[_key];
|
|
27535
27535
|
}
|
|
27536
27536
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27537
|
-
_defineProperty$
|
|
27538
|
-
_defineProperty$
|
|
27537
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 10);
|
|
27538
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
27539
27539
|
return _this;
|
|
27540
27540
|
}
|
|
27541
27541
|
_createClass$g(ISOTimezoneParser2, [{
|
|
@@ -27576,8 +27576,8 @@
|
|
|
27576
27576
|
args[_key] = arguments[_key];
|
|
27577
27577
|
}
|
|
27578
27578
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27579
|
-
_defineProperty$
|
|
27580
|
-
_defineProperty$
|
|
27579
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 40);
|
|
27580
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
|
|
27581
27581
|
return _this;
|
|
27582
27582
|
}
|
|
27583
27583
|
_createClass$g(TimestampSecondsParser2, [{
|
|
@@ -27605,8 +27605,8 @@
|
|
|
27605
27605
|
args[_key] = arguments[_key];
|
|
27606
27606
|
}
|
|
27607
27607
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27608
|
-
_defineProperty$
|
|
27609
|
-
_defineProperty$
|
|
27608
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 20);
|
|
27609
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
|
|
27610
27610
|
return _this;
|
|
27611
27611
|
}
|
|
27612
27612
|
_createClass$g(TimestampMillisecondsParser2, [{
|
|
@@ -27759,7 +27759,7 @@
|
|
|
27759
27759
|
};
|
|
27760
27760
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
27761
27761
|
var _ret = _loop();
|
|
27762
|
-
if (_typeof$
|
|
27762
|
+
if (_typeof$5(_ret) === "object")
|
|
27763
27763
|
return _ret.v;
|
|
27764
27764
|
}
|
|
27765
27765
|
} catch (err) {
|
|
@@ -27997,19 +27997,19 @@
|
|
|
27997
27997
|
function validateTimezone(_hours, minutes) {
|
|
27998
27998
|
return minutes >= 0 && minutes <= 59;
|
|
27999
27999
|
}
|
|
28000
|
-
function _inheritsLoose
|
|
28000
|
+
function _inheritsLoose(subClass, superClass) {
|
|
28001
28001
|
subClass.prototype = Object.create(superClass.prototype);
|
|
28002
28002
|
subClass.prototype.constructor = subClass;
|
|
28003
|
-
_setPrototypeOf$
|
|
28003
|
+
_setPrototypeOf$1(subClass, superClass);
|
|
28004
28004
|
}
|
|
28005
|
-
function _setPrototypeOf$
|
|
28006
|
-
_setPrototypeOf$
|
|
28005
|
+
function _setPrototypeOf$1(o2, p2) {
|
|
28006
|
+
_setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
28007
28007
|
o3.__proto__ = p3;
|
|
28008
28008
|
return o3;
|
|
28009
28009
|
};
|
|
28010
|
-
return _setPrototypeOf$
|
|
28010
|
+
return _setPrototypeOf$1(o2, p2);
|
|
28011
28011
|
}
|
|
28012
|
-
function _objectWithoutPropertiesLoose$
|
|
28012
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
28013
28013
|
if (source == null)
|
|
28014
28014
|
return {};
|
|
28015
28015
|
var target = {};
|
|
@@ -28023,7 +28023,7 @@
|
|
|
28023
28023
|
}
|
|
28024
28024
|
return target;
|
|
28025
28025
|
}
|
|
28026
|
-
function _assertThisInitialized$
|
|
28026
|
+
function _assertThisInitialized$1(self2) {
|
|
28027
28027
|
if (self2 === void 0) {
|
|
28028
28028
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
28029
28029
|
}
|
|
@@ -28095,7 +28095,7 @@
|
|
|
28095
28095
|
var _class, _temp;
|
|
28096
28096
|
var componentName = WrappedComponent.displayName || WrappedComponent.name || "Component";
|
|
28097
28097
|
return _temp = _class = /* @__PURE__ */ function(_Component) {
|
|
28098
|
-
_inheritsLoose
|
|
28098
|
+
_inheritsLoose(onClickOutside, _Component);
|
|
28099
28099
|
function onClickOutside(props) {
|
|
28100
28100
|
var _this;
|
|
28101
28101
|
_this = _Component.call(this, props) || this;
|
|
@@ -28155,7 +28155,7 @@
|
|
|
28155
28155
|
_this.__outsideClickHandler(event2);
|
|
28156
28156
|
};
|
|
28157
28157
|
events2.forEach(function(eventName) {
|
|
28158
|
-
document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$
|
|
28158
|
+
document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$1(_this), eventName));
|
|
28159
28159
|
});
|
|
28160
28160
|
};
|
|
28161
28161
|
_this.disableOnClickOutside = function() {
|
|
@@ -28167,7 +28167,7 @@
|
|
|
28167
28167
|
events2 = [events2];
|
|
28168
28168
|
}
|
|
28169
28169
|
events2.forEach(function(eventName) {
|
|
28170
|
-
return document.removeEventListener(eventName, fn2, getEventHandlerOptions(_assertThisInitialized$
|
|
28170
|
+
return document.removeEventListener(eventName, fn2, getEventHandlerOptions(_assertThisInitialized$1(_this), eventName));
|
|
28171
28171
|
});
|
|
28172
28172
|
delete handlersMap[_this._uid];
|
|
28173
28173
|
}
|
|
@@ -28211,7 +28211,7 @@
|
|
|
28211
28211
|
_proto.render = function render2() {
|
|
28212
28212
|
var _this$props = this.props;
|
|
28213
28213
|
_this$props.excludeScrollbar;
|
|
28214
|
-
var props = _objectWithoutPropertiesLoose$
|
|
28214
|
+
var props = _objectWithoutPropertiesLoose$2(_this$props, ["excludeScrollbar"]);
|
|
28215
28215
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
28216
28216
|
props.ref = this.getRef;
|
|
28217
28217
|
} else {
|
|
@@ -31061,17 +31061,17 @@
|
|
|
31061
31061
|
});
|
|
31062
31062
|
};
|
|
31063
31063
|
}
|
|
31064
|
-
function _toConsumableArray$
|
|
31065
|
-
return _arrayWithoutHoles$
|
|
31064
|
+
function _toConsumableArray$2(arr) {
|
|
31065
|
+
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _nonIterableSpread$2();
|
|
31066
31066
|
}
|
|
31067
|
-
function _nonIterableSpread$
|
|
31067
|
+
function _nonIterableSpread$2() {
|
|
31068
31068
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
31069
31069
|
}
|
|
31070
|
-
function _iterableToArray$
|
|
31070
|
+
function _iterableToArray$2(iter2) {
|
|
31071
31071
|
if (Symbol.iterator in Object(iter2) || Object.prototype.toString.call(iter2) === "[object Arguments]")
|
|
31072
31072
|
return Array.from(iter2);
|
|
31073
31073
|
}
|
|
31074
|
-
function _arrayWithoutHoles$
|
|
31074
|
+
function _arrayWithoutHoles$2(arr) {
|
|
31075
31075
|
if (Array.isArray(arr)) {
|
|
31076
31076
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
31077
31077
|
arr2[i2] = arr[i2];
|
|
@@ -31117,7 +31117,7 @@
|
|
|
31117
31117
|
if (Array.isArray(arr))
|
|
31118
31118
|
return arr;
|
|
31119
31119
|
}
|
|
31120
|
-
function ownKeys$
|
|
31120
|
+
function ownKeys$6(object2, enumerableOnly) {
|
|
31121
31121
|
var keys2 = Object.keys(object2);
|
|
31122
31122
|
if (Object.getOwnPropertySymbols) {
|
|
31123
31123
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -31133,20 +31133,20 @@
|
|
|
31133
31133
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
31134
31134
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
31135
31135
|
if (i2 % 2) {
|
|
31136
|
-
ownKeys$
|
|
31137
|
-
_defineProperty$
|
|
31136
|
+
ownKeys$6(source, true).forEach(function(key) {
|
|
31137
|
+
_defineProperty$n(target, key, source[key]);
|
|
31138
31138
|
});
|
|
31139
31139
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
31140
31140
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
31141
31141
|
} else {
|
|
31142
|
-
ownKeys$
|
|
31142
|
+
ownKeys$6(source).forEach(function(key) {
|
|
31143
31143
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
31144
31144
|
});
|
|
31145
31145
|
}
|
|
31146
31146
|
}
|
|
31147
31147
|
return target;
|
|
31148
31148
|
}
|
|
31149
|
-
function _defineProperty$
|
|
31149
|
+
function _defineProperty$n(obj, key, value) {
|
|
31150
31150
|
if (key in obj) {
|
|
31151
31151
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
31152
31152
|
} else {
|
|
@@ -31154,10 +31154,10 @@
|
|
|
31154
31154
|
}
|
|
31155
31155
|
return obj;
|
|
31156
31156
|
}
|
|
31157
|
-
function _objectWithoutProperties$
|
|
31157
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
31158
31158
|
if (source == null)
|
|
31159
31159
|
return {};
|
|
31160
|
-
var target = _objectWithoutPropertiesLoose$
|
|
31160
|
+
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
31161
31161
|
var key, i2;
|
|
31162
31162
|
if (Object.getOwnPropertySymbols) {
|
|
31163
31163
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -31172,7 +31172,7 @@
|
|
|
31172
31172
|
}
|
|
31173
31173
|
return target;
|
|
31174
31174
|
}
|
|
31175
|
-
function _objectWithoutPropertiesLoose$
|
|
31175
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
31176
31176
|
if (source == null)
|
|
31177
31177
|
return {};
|
|
31178
31178
|
var target = {};
|
|
@@ -31187,8 +31187,8 @@
|
|
|
31187
31187
|
return target;
|
|
31188
31188
|
}
|
|
31189
31189
|
var Dropzone$1 = React.forwardRef(function(_ref2, ref) {
|
|
31190
|
-
var children2 = _ref2.children, params = _objectWithoutProperties$
|
|
31191
|
-
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$
|
|
31190
|
+
var children2 = _ref2.children, params = _objectWithoutProperties$1(_ref2, ["children"]);
|
|
31191
|
+
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$1(_useDropzone, ["open"]);
|
|
31192
31192
|
React.useImperativeHandle(ref, function() {
|
|
31193
31193
|
return {
|
|
31194
31194
|
open
|
|
@@ -31321,7 +31321,7 @@
|
|
|
31321
31321
|
event2.preventDefault();
|
|
31322
31322
|
event2.persist();
|
|
31323
31323
|
stopPropagation(event2);
|
|
31324
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
31324
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$2(dragTargetsRef.current), [event2.target]);
|
|
31325
31325
|
if (isEvtWithFiles(event2)) {
|
|
31326
31326
|
Promise.resolve(getFilesFromEvent(event2)).then(function(draggedFiles2) {
|
|
31327
31327
|
if (isPropagationStopped(event2) && !noDragEventsBubbling) {
|
|
@@ -31449,8 +31449,8 @@
|
|
|
31449
31449
|
};
|
|
31450
31450
|
var getRootProps = React.useMemo(function() {
|
|
31451
31451
|
return function() {
|
|
31452
|
-
var _ref3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, onKeyDown = _ref3.onKeyDown, onFocus = _ref3.onFocus, onBlur = _ref3.onBlur, onClick = _ref3.onClick, onDragEnter2 = _ref3.onDragEnter, onDragOver2 = _ref3.onDragOver, onDragLeave2 = _ref3.onDragLeave, onDrop2 = _ref3.onDrop, rest = _objectWithoutProperties$
|
|
31453
|
-
return _objectSpread$5(_defineProperty$
|
|
31452
|
+
var _ref3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, onKeyDown = _ref3.onKeyDown, onFocus = _ref3.onFocus, onBlur = _ref3.onBlur, onClick = _ref3.onClick, onDragEnter2 = _ref3.onDragEnter, onDragOver2 = _ref3.onDragOver, onDragLeave2 = _ref3.onDragLeave, onDrop2 = _ref3.onDrop, rest = _objectWithoutProperties$1(_ref3, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"]);
|
|
31453
|
+
return _objectSpread$5(_defineProperty$n({
|
|
31454
31454
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
31455
31455
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
31456
31456
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -31469,8 +31469,8 @@
|
|
|
31469
31469
|
}, []);
|
|
31470
31470
|
var getInputProps = React.useMemo(function() {
|
|
31471
31471
|
return function() {
|
|
31472
|
-
var _ref4 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, onChange2 = _ref4.onChange, onClick = _ref4.onClick, rest = _objectWithoutProperties$
|
|
31473
|
-
var inputProps = _defineProperty$
|
|
31472
|
+
var _ref4 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, onChange2 = _ref4.onChange, onClick = _ref4.onClick, rest = _objectWithoutProperties$1(_ref4, ["refKey", "onChange", "onClick"]);
|
|
31473
|
+
var inputProps = _defineProperty$n({
|
|
31474
31474
|
accept,
|
|
31475
31475
|
multiple,
|
|
31476
31476
|
type: "file",
|
|
@@ -32697,7 +32697,7 @@
|
|
|
32697
32697
|
const labels = arrayify$1(props.label, progresses.map((x2) => `${x2.value}%`));
|
|
32698
32698
|
return jsxRuntime.exports.jsx(Track$1, { className: props.className, multi: typeof props.progress !== "number", small: props.small, style: props.style, children: progresses.map((progress, index2) => jsxRuntime.exports.jsx(Bar, { color: colors2[progress.index], multi: typeof props.progress !== "number", small: props.small, style: { width: `${progress.value}%` }, children: !props.small && jsxRuntime.exports.jsx(Text$3, { progress: progress.value, children: labels[progress.index] }) }, index2)) });
|
|
32699
32699
|
}
|
|
32700
|
-
let nanoid
|
|
32700
|
+
let nanoid = (size = 21) => crypto.getRandomValues(new Uint8Array(size)).reduce((id2, byte) => {
|
|
32701
32701
|
byte &= 63;
|
|
32702
32702
|
if (byte < 36) {
|
|
32703
32703
|
id2 += byte.toString(36);
|
|
@@ -32815,7 +32815,7 @@
|
|
|
32815
32815
|
const [currentSelected, setCurrentSelected] = React.useState(props.items.findIndex((item) => props.value !== void 0 ? isEqual_1(item.value, props.value) : isEqual_1(item.value, props.initialValue)));
|
|
32816
32816
|
const uuid2 = React.useRef(null);
|
|
32817
32817
|
if (uuid2.current === null) {
|
|
32818
|
-
uuid2.current = nanoid
|
|
32818
|
+
uuid2.current = nanoid();
|
|
32819
32819
|
}
|
|
32820
32820
|
const onChangeValue = (event2) => {
|
|
32821
32821
|
var _a3;
|
|
@@ -33087,7 +33087,7 @@
|
|
|
33087
33087
|
_defineProperties$f(Constructor, staticProps);
|
|
33088
33088
|
return Constructor;
|
|
33089
33089
|
}
|
|
33090
|
-
function _defineProperty$
|
|
33090
|
+
function _defineProperty$m(obj, key, value) {
|
|
33091
33091
|
if (key in obj) {
|
|
33092
33092
|
Object.defineProperty(obj, key, {
|
|
33093
33093
|
value,
|
|
@@ -33100,7 +33100,7 @@
|
|
|
33100
33100
|
}
|
|
33101
33101
|
return obj;
|
|
33102
33102
|
}
|
|
33103
|
-
function ownKeys$
|
|
33103
|
+
function ownKeys$5(object2, enumerableOnly) {
|
|
33104
33104
|
var keys2 = Object.keys(object2);
|
|
33105
33105
|
if (Object.getOwnPropertySymbols) {
|
|
33106
33106
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -33112,17 +33112,17 @@
|
|
|
33112
33112
|
}
|
|
33113
33113
|
return keys2;
|
|
33114
33114
|
}
|
|
33115
|
-
function _objectSpread2
|
|
33115
|
+
function _objectSpread2(target) {
|
|
33116
33116
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
33117
33117
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
33118
33118
|
if (i2 % 2) {
|
|
33119
|
-
ownKeys$
|
|
33120
|
-
_defineProperty$
|
|
33119
|
+
ownKeys$5(Object(source), true).forEach(function(key) {
|
|
33120
|
+
_defineProperty$m(target, key, source[key]);
|
|
33121
33121
|
});
|
|
33122
33122
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
33123
33123
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
33124
33124
|
} else {
|
|
33125
|
-
ownKeys$
|
|
33125
|
+
ownKeys$5(Object(source)).forEach(function(key) {
|
|
33126
33126
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
33127
33127
|
});
|
|
33128
33128
|
}
|
|
@@ -33141,22 +33141,22 @@
|
|
|
33141
33141
|
}
|
|
33142
33142
|
});
|
|
33143
33143
|
if (superClass)
|
|
33144
|
-
_setPrototypeOf
|
|
33144
|
+
_setPrototypeOf(subClass, superClass);
|
|
33145
33145
|
}
|
|
33146
|
-
function _getPrototypeOf
|
|
33147
|
-
_getPrototypeOf
|
|
33146
|
+
function _getPrototypeOf(o2) {
|
|
33147
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
33148
33148
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
33149
33149
|
};
|
|
33150
|
-
return _getPrototypeOf
|
|
33150
|
+
return _getPrototypeOf(o2);
|
|
33151
33151
|
}
|
|
33152
|
-
function _setPrototypeOf
|
|
33153
|
-
_setPrototypeOf
|
|
33152
|
+
function _setPrototypeOf(o2, p2) {
|
|
33153
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
33154
33154
|
o3.__proto__ = p3;
|
|
33155
33155
|
return o3;
|
|
33156
33156
|
};
|
|
33157
|
-
return _setPrototypeOf
|
|
33157
|
+
return _setPrototypeOf(o2, p2);
|
|
33158
33158
|
}
|
|
33159
|
-
function _isNativeReflectConstruct
|
|
33159
|
+
function _isNativeReflectConstruct() {
|
|
33160
33160
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
33161
33161
|
return false;
|
|
33162
33162
|
if (Reflect.construct.sham)
|
|
@@ -33171,7 +33171,7 @@
|
|
|
33171
33171
|
return false;
|
|
33172
33172
|
}
|
|
33173
33173
|
}
|
|
33174
|
-
function _assertThisInitialized
|
|
33174
|
+
function _assertThisInitialized(self2) {
|
|
33175
33175
|
if (self2 === void 0) {
|
|
33176
33176
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
33177
33177
|
}
|
|
@@ -33181,14 +33181,14 @@
|
|
|
33181
33181
|
if (call2 && (typeof call2 === "object" || typeof call2 === "function")) {
|
|
33182
33182
|
return call2;
|
|
33183
33183
|
}
|
|
33184
|
-
return _assertThisInitialized
|
|
33184
|
+
return _assertThisInitialized(self2);
|
|
33185
33185
|
}
|
|
33186
33186
|
function _createSuper(Derived) {
|
|
33187
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct
|
|
33187
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
33188
33188
|
return function _createSuperInternal() {
|
|
33189
|
-
var Super = _getPrototypeOf
|
|
33189
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
33190
33190
|
if (hasNativeReflectConstruct) {
|
|
33191
|
-
var NewTarget = _getPrototypeOf
|
|
33191
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
33192
33192
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
33193
33193
|
} else {
|
|
33194
33194
|
result = Super.apply(this, arguments);
|
|
@@ -33197,20 +33197,20 @@
|
|
|
33197
33197
|
};
|
|
33198
33198
|
}
|
|
33199
33199
|
function _slicedToArray$7(arr, i2) {
|
|
33200
|
-
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$
|
|
33200
|
+
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$8(arr, i2) || _nonIterableRest$7();
|
|
33201
33201
|
}
|
|
33202
|
-
function _toConsumableArray$
|
|
33203
|
-
return _arrayWithoutHoles$
|
|
33202
|
+
function _toConsumableArray$1(arr) {
|
|
33203
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
33204
33204
|
}
|
|
33205
|
-
function _arrayWithoutHoles$
|
|
33205
|
+
function _arrayWithoutHoles$1(arr) {
|
|
33206
33206
|
if (Array.isArray(arr))
|
|
33207
|
-
return _arrayLikeToArray$
|
|
33207
|
+
return _arrayLikeToArray$8(arr);
|
|
33208
33208
|
}
|
|
33209
33209
|
function _arrayWithHoles$7(arr) {
|
|
33210
33210
|
if (Array.isArray(arr))
|
|
33211
33211
|
return arr;
|
|
33212
33212
|
}
|
|
33213
|
-
function _iterableToArray$
|
|
33213
|
+
function _iterableToArray$1(iter2) {
|
|
33214
33214
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter2))
|
|
33215
33215
|
return Array.from(iter2);
|
|
33216
33216
|
}
|
|
@@ -33241,27 +33241,27 @@
|
|
|
33241
33241
|
}
|
|
33242
33242
|
return _arr;
|
|
33243
33243
|
}
|
|
33244
|
-
function _unsupportedIterableToArray$
|
|
33244
|
+
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
33245
33245
|
if (!o2)
|
|
33246
33246
|
return;
|
|
33247
33247
|
if (typeof o2 === "string")
|
|
33248
|
-
return _arrayLikeToArray$
|
|
33248
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33249
33249
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
33250
33250
|
if (n2 === "Object" && o2.constructor)
|
|
33251
33251
|
n2 = o2.constructor.name;
|
|
33252
33252
|
if (n2 === "Map" || n2 === "Set")
|
|
33253
33253
|
return Array.from(o2);
|
|
33254
33254
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
33255
|
-
return _arrayLikeToArray$
|
|
33255
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33256
33256
|
}
|
|
33257
|
-
function _arrayLikeToArray$
|
|
33257
|
+
function _arrayLikeToArray$8(arr, len) {
|
|
33258
33258
|
if (len == null || len > arr.length)
|
|
33259
33259
|
len = arr.length;
|
|
33260
33260
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
33261
33261
|
arr2[i2] = arr[i2];
|
|
33262
33262
|
return arr2;
|
|
33263
33263
|
}
|
|
33264
|
-
function _nonIterableSpread$
|
|
33264
|
+
function _nonIterableSpread$1() {
|
|
33265
33265
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33266
33266
|
}
|
|
33267
33267
|
function _nonIterableRest$7() {
|
|
@@ -33289,10 +33289,10 @@
|
|
|
33289
33289
|
if (val === updateValue) {
|
|
33290
33290
|
return handles;
|
|
33291
33291
|
}
|
|
33292
|
-
return [].concat(_toConsumableArray$
|
|
33292
|
+
return [].concat(_toConsumableArray$1(handles.slice(0, index2)), [{
|
|
33293
33293
|
key,
|
|
33294
33294
|
val: updateValue
|
|
33295
|
-
}], _toConsumableArray$
|
|
33295
|
+
}], _toConsumableArray$1(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
33296
33296
|
}
|
|
33297
33297
|
return handles;
|
|
33298
33298
|
}
|
|
@@ -33430,7 +33430,7 @@
|
|
|
33430
33430
|
_this.getRailProps = function() {
|
|
33431
33431
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
33432
33432
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33433
|
-
return _objectSpread2
|
|
33433
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33434
33434
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33435
33435
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33436
33436
|
});
|
|
@@ -33469,7 +33469,7 @@
|
|
|
33469
33469
|
_this.getHandleProps = function(id2) {
|
|
33470
33470
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
33471
33471
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33472
|
-
return _objectSpread2
|
|
33472
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33473
33473
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
33474
33474
|
return emitKeyboard && emitKeyboard(e3, id2);
|
|
33475
33475
|
}),
|
|
@@ -33632,7 +33632,7 @@
|
|
|
33632
33632
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
33633
33633
|
_this.getTrackProps = function(props) {
|
|
33634
33634
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33635
|
-
return _objectSpread2
|
|
33635
|
+
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
33636
33636
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33637
33637
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33638
33638
|
});
|
|
@@ -33760,7 +33760,7 @@
|
|
|
33760
33760
|
_this.onKeyDown = function(e3, handleID) {
|
|
33761
33761
|
var validUpKeys = ["ArrowRight", "ArrowUp"];
|
|
33762
33762
|
var validDownKeys = ["ArrowDown", "ArrowLeft"];
|
|
33763
|
-
var _assertThisInitialize = _assertThisInitialized
|
|
33763
|
+
var _assertThisInitialize = _assertThisInitialized(_this), handles = _assertThisInitialize.state.handles, _assertThisInitialize2 = _assertThisInitialize.props, _assertThisInitialize3 = _assertThisInitialize2.step, step2 = _assertThisInitialize3 === void 0 ? 0.1 : _assertThisInitialize3, _assertThisInitialize4 = _assertThisInitialize2.reversed, reversed = _assertThisInitialize4 === void 0 ? false : _assertThisInitialize4, _assertThisInitialize5 = _assertThisInitialize2.vertical, vertical = _assertThisInitialize5 === void 0 ? false : _assertThisInitialize5, _assertThisInitialize6 = _assertThisInitialize2.domain, domain2 = _assertThisInitialize6 === void 0 ? [0, 100] : _assertThisInitialize6;
|
|
33764
33764
|
var key = e3.key || "".concat(e3.keyCode);
|
|
33765
33765
|
if (!validUpKeys.concat(validDownKeys).includes(key)) {
|
|
33766
33766
|
return;
|
|
@@ -33803,7 +33803,7 @@
|
|
|
33803
33803
|
_this.onStart(e3, handleID, true);
|
|
33804
33804
|
};
|
|
33805
33805
|
_this.getEventData = function(e3, isTouch) {
|
|
33806
|
-
var _assertThisInitialize7 = _assertThisInitialized
|
|
33806
|
+
var _assertThisInitialize7 = _assertThisInitialized(_this), _assertThisInitialize8 = _assertThisInitialize7.state, pixelToStep = _assertThisInitialize8.pixelToStep, valueToPerc = _assertThisInitialize8.valueToPerc, vertical = _assertThisInitialize7.props.vertical;
|
|
33807
33807
|
pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
|
|
33808
33808
|
var value;
|
|
33809
33809
|
if (isTouch && e3 instanceof TouchEvent) {
|
|
@@ -33817,14 +33817,14 @@
|
|
|
33817
33817
|
};
|
|
33818
33818
|
};
|
|
33819
33819
|
_this.onMouseMove = function(e3) {
|
|
33820
|
-
var _assertThisInitialize9 = _assertThisInitialized
|
|
33820
|
+
var _assertThisInitialize9 = _assertThisInitialized(_this), _assertThisInitialize10 = _assertThisInitialize9.state, curr = _assertThisInitialize10.handles, pixelToStep = _assertThisInitialize10.pixelToStep, _assertThisInitialize11 = _assertThisInitialize10.activeHandleID, activeHandleID = _assertThisInitialize11 === void 0 ? "" : _assertThisInitialize11, _assertThisInitialize12 = _assertThisInitialize9.props, vertical = _assertThisInitialize12.vertical, _assertThisInitialize13 = _assertThisInitialize12.reversed, reversed = _assertThisInitialize13 === void 0 ? false : _assertThisInitialize13;
|
|
33821
33821
|
pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
|
|
33822
33822
|
var updateValue = pixelToStep.getValue(vertical ? e3.clientY : e3.pageX);
|
|
33823
33823
|
var nextHandles = getUpdatedHandles(curr, activeHandleID, updateValue, reversed);
|
|
33824
33824
|
_this.submitUpdate(nextHandles);
|
|
33825
33825
|
};
|
|
33826
33826
|
_this.onTouchMove = function(e3) {
|
|
33827
|
-
var _assertThisInitialize14 = _assertThisInitialized
|
|
33827
|
+
var _assertThisInitialize14 = _assertThisInitialized(_this), _assertThisInitialize15 = _assertThisInitialize14.state, curr = _assertThisInitialize15.handles, pixelToStep = _assertThisInitialize15.pixelToStep, activeHandleID = _assertThisInitialize15.activeHandleID, _assertThisInitialize16 = _assertThisInitialize14.props, vertical = _assertThisInitialize16.vertical, reversed = _assertThisInitialize16.reversed;
|
|
33828
33828
|
if (pixelToStep === null || isNotValidTouch(e3)) {
|
|
33829
33829
|
return;
|
|
33830
33830
|
}
|
|
@@ -33834,7 +33834,7 @@
|
|
|
33834
33834
|
_this.submitUpdate(nextHandles);
|
|
33835
33835
|
};
|
|
33836
33836
|
_this.onMouseUp = function() {
|
|
33837
|
-
var _assertThisInitialize17 = _assertThisInitialized
|
|
33837
|
+
var _assertThisInitialize17 = _assertThisInitialized(_this), _assertThisInitialize18 = _assertThisInitialize17.state, _assertThisInitialize19 = _assertThisInitialize18.handles, handles = _assertThisInitialize19 === void 0 ? [] : _assertThisInitialize19, activeHandleID = _assertThisInitialize18.activeHandleID, _assertThisInitialize20 = _assertThisInitialize17.props, _assertThisInitialize21 = _assertThisInitialize20.onChange, onChange2 = _assertThisInitialize21 === void 0 ? noop$4 : _assertThisInitialize21, _assertThisInitialize22 = _assertThisInitialize20.onSlideEnd, onSlideEnd = _assertThisInitialize22 === void 0 ? noop$4 : _assertThisInitialize22;
|
|
33838
33838
|
onChange2(handles.map(function(d2) {
|
|
33839
33839
|
return d2.val;
|
|
33840
33840
|
}));
|
|
@@ -33852,7 +33852,7 @@
|
|
|
33852
33852
|
}
|
|
33853
33853
|
};
|
|
33854
33854
|
_this.onTouchEnd = function() {
|
|
33855
|
-
var _assertThisInitialize23 = _assertThisInitialized
|
|
33855
|
+
var _assertThisInitialize23 = _assertThisInitialized(_this), _assertThisInitialize24 = _assertThisInitialize23.state, handles = _assertThisInitialize24.handles, activeHandleID = _assertThisInitialize24.activeHandleID, _assertThisInitialize25 = _assertThisInitialize23.props, _assertThisInitialize26 = _assertThisInitialize25.onChange, onChange2 = _assertThisInitialize26 === void 0 ? noop$4 : _assertThisInitialize26, _assertThisInitialize27 = _assertThisInitialize25.onSlideEnd, onSlideEnd = _assertThisInitialize27 === void 0 ? noop$4 : _assertThisInitialize27;
|
|
33856
33856
|
onChange2(handles.map(function(d2) {
|
|
33857
33857
|
return d2.val;
|
|
33858
33858
|
}));
|
|
@@ -34035,11 +34035,11 @@
|
|
|
34035
34035
|
return child;
|
|
34036
34036
|
}
|
|
34037
34037
|
});
|
|
34038
|
-
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34038
|
+
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34039
34039
|
style: rootStyle,
|
|
34040
34040
|
className,
|
|
34041
34041
|
ref: this.slider
|
|
34042
|
-
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34042
|
+
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34043
34043
|
style: rootStyle,
|
|
34044
34044
|
className,
|
|
34045
34045
|
ref: this.slider
|
|
@@ -34416,331 +34416,6 @@
|
|
|
34416
34416
|
return jsxRuntime.exports.jsxs(SwitchWrapper, { className, "data-testid": "wrapper", enabled, onClick, ref, style: style2, children: [jsxRuntime.exports.jsx(SwitchHandle, { "data-testid": "handle", enabled }), jsxRuntime.exports.jsx("div", { style: { userSelect: "none" }, children: labelIconToShow })] });
|
|
34417
34417
|
}
|
|
34418
34418
|
const UISwitch = React.forwardRef(Switch$1);
|
|
34419
|
-
function ownKeys$5(object2, enumerableOnly) {
|
|
34420
|
-
var keys2 = Object.keys(object2);
|
|
34421
|
-
if (Object.getOwnPropertySymbols) {
|
|
34422
|
-
var symbols = Object.getOwnPropertySymbols(object2);
|
|
34423
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
34424
|
-
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
34425
|
-
})), keys2.push.apply(keys2, symbols);
|
|
34426
|
-
}
|
|
34427
|
-
return keys2;
|
|
34428
|
-
}
|
|
34429
|
-
function _objectSpread2(target) {
|
|
34430
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
34431
|
-
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
34432
|
-
i2 % 2 ? ownKeys$5(Object(source), true).forEach(function(key) {
|
|
34433
|
-
_defineProperty$m(target, key, source[key]);
|
|
34434
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
34435
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34436
|
-
});
|
|
34437
|
-
}
|
|
34438
|
-
return target;
|
|
34439
|
-
}
|
|
34440
|
-
function _typeof$5(obj) {
|
|
34441
|
-
"@babel/helpers - typeof";
|
|
34442
|
-
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
34443
|
-
return typeof obj2;
|
|
34444
|
-
} : function(obj2) {
|
|
34445
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
34446
|
-
}, _typeof$5(obj);
|
|
34447
|
-
}
|
|
34448
|
-
function _defineProperty$m(obj, key, value) {
|
|
34449
|
-
if (key in obj) {
|
|
34450
|
-
Object.defineProperty(obj, key, {
|
|
34451
|
-
value,
|
|
34452
|
-
enumerable: true,
|
|
34453
|
-
configurable: true,
|
|
34454
|
-
writable: true
|
|
34455
|
-
});
|
|
34456
|
-
} else {
|
|
34457
|
-
obj[key] = value;
|
|
34458
|
-
}
|
|
34459
|
-
return obj;
|
|
34460
|
-
}
|
|
34461
|
-
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
34462
|
-
if (source == null)
|
|
34463
|
-
return {};
|
|
34464
|
-
var target = {};
|
|
34465
|
-
var sourceKeys = Object.keys(source);
|
|
34466
|
-
var key, i2;
|
|
34467
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
34468
|
-
key = sourceKeys[i2];
|
|
34469
|
-
if (excluded.indexOf(key) >= 0)
|
|
34470
|
-
continue;
|
|
34471
|
-
target[key] = source[key];
|
|
34472
|
-
}
|
|
34473
|
-
return target;
|
|
34474
|
-
}
|
|
34475
|
-
function _objectWithoutProperties$1(source, excluded) {
|
|
34476
|
-
if (source == null)
|
|
34477
|
-
return {};
|
|
34478
|
-
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
34479
|
-
var key, i2;
|
|
34480
|
-
if (Object.getOwnPropertySymbols) {
|
|
34481
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
34482
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
34483
|
-
key = sourceSymbolKeys[i2];
|
|
34484
|
-
if (excluded.indexOf(key) >= 0)
|
|
34485
|
-
continue;
|
|
34486
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
34487
|
-
continue;
|
|
34488
|
-
target[key] = source[key];
|
|
34489
|
-
}
|
|
34490
|
-
}
|
|
34491
|
-
return target;
|
|
34492
|
-
}
|
|
34493
|
-
function _toConsumableArray$1(arr) {
|
|
34494
|
-
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
34495
|
-
}
|
|
34496
|
-
function _arrayWithoutHoles$1(arr) {
|
|
34497
|
-
if (Array.isArray(arr))
|
|
34498
|
-
return _arrayLikeToArray$8(arr);
|
|
34499
|
-
}
|
|
34500
|
-
function _iterableToArray$1(iter2) {
|
|
34501
|
-
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
34502
|
-
return Array.from(iter2);
|
|
34503
|
-
}
|
|
34504
|
-
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
34505
|
-
if (!o2)
|
|
34506
|
-
return;
|
|
34507
|
-
if (typeof o2 === "string")
|
|
34508
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34509
|
-
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
34510
|
-
if (n2 === "Object" && o2.constructor)
|
|
34511
|
-
n2 = o2.constructor.name;
|
|
34512
|
-
if (n2 === "Map" || n2 === "Set")
|
|
34513
|
-
return Array.from(o2);
|
|
34514
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
34515
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34516
|
-
}
|
|
34517
|
-
function _arrayLikeToArray$8(arr, len) {
|
|
34518
|
-
if (len == null || len > arr.length)
|
|
34519
|
-
len = arr.length;
|
|
34520
|
-
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
34521
|
-
arr2[i2] = arr[i2];
|
|
34522
|
-
return arr2;
|
|
34523
|
-
}
|
|
34524
|
-
function _nonIterableSpread$1() {
|
|
34525
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34526
|
-
}
|
|
34527
|
-
function classList$1(props) {
|
|
34528
|
-
var _classes;
|
|
34529
|
-
var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem2 = props.listItem, flip2 = props.flip, size = props.size, rotation2 = props.rotation, pull = props.pull;
|
|
34530
|
-
var classes = (_classes = {
|
|
34531
|
-
"fa-beat": beat,
|
|
34532
|
-
"fa-fade": fade,
|
|
34533
|
-
"fa-beat-fade": beatFade,
|
|
34534
|
-
"fa-bounce": bounce,
|
|
34535
|
-
"fa-shake": shake,
|
|
34536
|
-
"fa-flash": flash,
|
|
34537
|
-
"fa-spin": spin,
|
|
34538
|
-
"fa-spin-reverse": spinReverse,
|
|
34539
|
-
"fa-spin-pulse": spinPulse,
|
|
34540
|
-
"fa-pulse": pulse,
|
|
34541
|
-
"fa-fw": fixedWidth,
|
|
34542
|
-
"fa-inverse": inverse,
|
|
34543
|
-
"fa-border": border,
|
|
34544
|
-
"fa-li": listItem2,
|
|
34545
|
-
"fa-flip": flip2 === true,
|
|
34546
|
-
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
34547
|
-
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
34548
|
-
}, _defineProperty$m(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$m(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$m(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$m(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
34549
|
-
return Object.keys(classes).map(function(key) {
|
|
34550
|
-
return classes[key] ? key : null;
|
|
34551
|
-
}).filter(function(key) {
|
|
34552
|
-
return key;
|
|
34553
|
-
});
|
|
34554
|
-
}
|
|
34555
|
-
function _isNumerical(obj) {
|
|
34556
|
-
obj = obj - 0;
|
|
34557
|
-
return obj === obj;
|
|
34558
|
-
}
|
|
34559
|
-
function camelize(string2) {
|
|
34560
|
-
if (_isNumerical(string2)) {
|
|
34561
|
-
return string2;
|
|
34562
|
-
}
|
|
34563
|
-
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
34564
|
-
return chr ? chr.toUpperCase() : "";
|
|
34565
|
-
});
|
|
34566
|
-
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
34567
|
-
}
|
|
34568
|
-
var _excluded$1 = ["style"];
|
|
34569
|
-
function capitalize$1(val) {
|
|
34570
|
-
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
34571
|
-
}
|
|
34572
|
-
function styleToObject$1(style2) {
|
|
34573
|
-
return style2.split(";").map(function(s2) {
|
|
34574
|
-
return s2.trim();
|
|
34575
|
-
}).filter(function(s2) {
|
|
34576
|
-
return s2;
|
|
34577
|
-
}).reduce(function(acc, pair2) {
|
|
34578
|
-
var i2 = pair2.indexOf(":");
|
|
34579
|
-
var prop = camelize(pair2.slice(0, i2));
|
|
34580
|
-
var value = pair2.slice(i2 + 1).trim();
|
|
34581
|
-
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
34582
|
-
return acc;
|
|
34583
|
-
}, {});
|
|
34584
|
-
}
|
|
34585
|
-
function convert$1(createElement2, element2) {
|
|
34586
|
-
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
34587
|
-
if (typeof element2 === "string") {
|
|
34588
|
-
return element2;
|
|
34589
|
-
}
|
|
34590
|
-
var children2 = (element2.children || []).map(function(child) {
|
|
34591
|
-
return convert$1(createElement2, child);
|
|
34592
|
-
});
|
|
34593
|
-
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
34594
|
-
var val = element2.attributes[key];
|
|
34595
|
-
switch (key) {
|
|
34596
|
-
case "class":
|
|
34597
|
-
acc.attrs["className"] = val;
|
|
34598
|
-
delete element2.attributes["class"];
|
|
34599
|
-
break;
|
|
34600
|
-
case "style":
|
|
34601
|
-
acc.attrs["style"] = styleToObject$1(val);
|
|
34602
|
-
break;
|
|
34603
|
-
default:
|
|
34604
|
-
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
34605
|
-
acc.attrs[key.toLowerCase()] = val;
|
|
34606
|
-
} else {
|
|
34607
|
-
acc.attrs[camelize(key)] = val;
|
|
34608
|
-
}
|
|
34609
|
-
}
|
|
34610
|
-
return acc;
|
|
34611
|
-
}, {
|
|
34612
|
-
attrs: {}
|
|
34613
|
-
});
|
|
34614
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$1(extraProps, _excluded$1);
|
|
34615
|
-
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
34616
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray$1(children2)));
|
|
34617
|
-
}
|
|
34618
|
-
var PRODUCTION = false;
|
|
34619
|
-
try {
|
|
34620
|
-
PRODUCTION = true;
|
|
34621
|
-
} catch (e3) {
|
|
34622
|
-
}
|
|
34623
|
-
function log() {
|
|
34624
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
34625
|
-
var _console;
|
|
34626
|
-
(_console = console).error.apply(_console, arguments);
|
|
34627
|
-
}
|
|
34628
|
-
}
|
|
34629
|
-
function normalizeIconArgs(icon2) {
|
|
34630
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
34631
|
-
return icon2;
|
|
34632
|
-
}
|
|
34633
|
-
if (parse$1$1.icon) {
|
|
34634
|
-
return parse$1$1.icon(icon2);
|
|
34635
|
-
}
|
|
34636
|
-
if (icon2 === null) {
|
|
34637
|
-
return null;
|
|
34638
|
-
}
|
|
34639
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
34640
|
-
return icon2;
|
|
34641
|
-
}
|
|
34642
|
-
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
34643
|
-
return {
|
|
34644
|
-
prefix: icon2[0],
|
|
34645
|
-
iconName: icon2[1]
|
|
34646
|
-
};
|
|
34647
|
-
}
|
|
34648
|
-
if (typeof icon2 === "string") {
|
|
34649
|
-
return {
|
|
34650
|
-
prefix: "fas",
|
|
34651
|
-
iconName: icon2
|
|
34652
|
-
};
|
|
34653
|
-
}
|
|
34654
|
-
}
|
|
34655
|
-
function objectWithKey(key, value) {
|
|
34656
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$m({}, key, value) : {};
|
|
34657
|
-
}
|
|
34658
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
34659
|
-
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
34660
|
-
var iconLookup = normalizeIconArgs(iconArgs);
|
|
34661
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray$1(classList$1(props)), _toConsumableArray$1(className.split(" "))));
|
|
34662
|
-
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
34663
|
-
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
34664
|
-
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
34665
|
-
symbol,
|
|
34666
|
-
title,
|
|
34667
|
-
titleId,
|
|
34668
|
-
maskId
|
|
34669
|
-
}));
|
|
34670
|
-
if (!renderedIcon) {
|
|
34671
|
-
log("Could not find icon", iconLookup);
|
|
34672
|
-
return null;
|
|
34673
|
-
}
|
|
34674
|
-
var abstract = renderedIcon.abstract;
|
|
34675
|
-
var extraProps = {
|
|
34676
|
-
ref
|
|
34677
|
-
};
|
|
34678
|
-
Object.keys(props).forEach(function(key) {
|
|
34679
|
-
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
34680
|
-
extraProps[key] = props[key];
|
|
34681
|
-
}
|
|
34682
|
-
});
|
|
34683
|
-
return convertCurry(abstract[0], extraProps);
|
|
34684
|
-
});
|
|
34685
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
34686
|
-
FontAwesomeIcon.propTypes = {
|
|
34687
|
-
beat: propTypes.exports.bool,
|
|
34688
|
-
border: propTypes.exports.bool,
|
|
34689
|
-
beatFade: propTypes.exports.bool,
|
|
34690
|
-
bounce: propTypes.exports.bool,
|
|
34691
|
-
className: propTypes.exports.string,
|
|
34692
|
-
fade: propTypes.exports.bool,
|
|
34693
|
-
flash: propTypes.exports.bool,
|
|
34694
|
-
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34695
|
-
maskId: propTypes.exports.string,
|
|
34696
|
-
fixedWidth: propTypes.exports.bool,
|
|
34697
|
-
inverse: propTypes.exports.bool,
|
|
34698
|
-
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
34699
|
-
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34700
|
-
listItem: propTypes.exports.bool,
|
|
34701
|
-
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
34702
|
-
pulse: propTypes.exports.bool,
|
|
34703
|
-
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
34704
|
-
shake: propTypes.exports.bool,
|
|
34705
|
-
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
34706
|
-
spin: propTypes.exports.bool,
|
|
34707
|
-
spinPulse: propTypes.exports.bool,
|
|
34708
|
-
spinReverse: propTypes.exports.bool,
|
|
34709
|
-
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
34710
|
-
title: propTypes.exports.string,
|
|
34711
|
-
titleId: propTypes.exports.string,
|
|
34712
|
-
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
34713
|
-
swapOpacity: propTypes.exports.bool
|
|
34714
|
-
};
|
|
34715
|
-
FontAwesomeIcon.defaultProps = {
|
|
34716
|
-
border: false,
|
|
34717
|
-
className: "",
|
|
34718
|
-
mask: null,
|
|
34719
|
-
maskId: null,
|
|
34720
|
-
fixedWidth: false,
|
|
34721
|
-
inverse: false,
|
|
34722
|
-
flip: false,
|
|
34723
|
-
icon: null,
|
|
34724
|
-
listItem: false,
|
|
34725
|
-
pull: null,
|
|
34726
|
-
pulse: false,
|
|
34727
|
-
rotation: null,
|
|
34728
|
-
size: null,
|
|
34729
|
-
spin: false,
|
|
34730
|
-
spinPulse: false,
|
|
34731
|
-
spinReverse: false,
|
|
34732
|
-
beat: false,
|
|
34733
|
-
fade: false,
|
|
34734
|
-
beatFade: false,
|
|
34735
|
-
bounce: false,
|
|
34736
|
-
shake: false,
|
|
34737
|
-
symbol: false,
|
|
34738
|
-
title: "",
|
|
34739
|
-
titleId: null,
|
|
34740
|
-
transform: null,
|
|
34741
|
-
swapOpacity: false
|
|
34742
|
-
};
|
|
34743
|
-
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
34744
34419
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
34745
34420
|
return typeof value === "number" && value !== value;
|
|
34746
34421
|
};
|
|
@@ -36619,7 +36294,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
36619
36294
|
return Constructor;
|
|
36620
36295
|
};
|
|
36621
36296
|
}();
|
|
36622
|
-
var _extends$
|
|
36297
|
+
var _extends$1 = Object.assign || function(target) {
|
|
36623
36298
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
36624
36299
|
var source = arguments[i2];
|
|
36625
36300
|
for (var key in source) {
|
|
@@ -36949,7 +36624,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
36949
36624
|
{
|
|
36950
36625
|
className,
|
|
36951
36626
|
ref: this._setRef,
|
|
36952
|
-
style: _extends$
|
|
36627
|
+
style: _extends$1({}, outerStyle, style2)
|
|
36953
36628
|
},
|
|
36954
36629
|
!bailoutOnChildren && children2(childParams)
|
|
36955
36630
|
);
|
|
@@ -37075,15 +36750,15 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37075
36750
|
var _class, _temp;
|
|
37076
36751
|
var getItemOffset = _ref2.getItemOffset, getEstimatedTotalSize = _ref2.getEstimatedTotalSize, getItemSize = _ref2.getItemSize, getOffsetForIndexAndAlignment = _ref2.getOffsetForIndexAndAlignment, getStartIndexForOffset = _ref2.getStartIndexForOffset, getStopIndexForStartIndex = _ref2.getStopIndexForStartIndex, initInstanceProps = _ref2.initInstanceProps, shouldResetStyleCacheOnItemSizeChange = _ref2.shouldResetStyleCacheOnItemSizeChange, validateProps = _ref2.validateProps;
|
|
37077
36752
|
return _temp = _class = /* @__PURE__ */ function(_PureComponent) {
|
|
37078
|
-
_inheritsLoose$
|
|
36753
|
+
_inheritsLoose$1(List2, _PureComponent);
|
|
37079
36754
|
function List2(props) {
|
|
37080
36755
|
var _this;
|
|
37081
36756
|
_this = _PureComponent.call(this, props) || this;
|
|
37082
|
-
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized$
|
|
36757
|
+
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized$2(_assertThisInitialized$2(_this)));
|
|
37083
36758
|
_this._outerRef = void 0;
|
|
37084
36759
|
_this._resetIsScrollingTimeoutId = null;
|
|
37085
36760
|
_this.state = {
|
|
37086
|
-
instance: _assertThisInitialized$
|
|
36761
|
+
instance: _assertThisInitialized$2(_assertThisInitialized$2(_this)),
|
|
37087
36762
|
isScrolling: false,
|
|
37088
36763
|
scrollDirection: "forward",
|
|
37089
36764
|
scrollOffset: typeof _this.props.initialScrollOffset === "number" ? _this.props.initialScrollOffset : 0,
|
|
@@ -37297,7 +36972,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37297
36972
|
className,
|
|
37298
36973
|
onScroll,
|
|
37299
36974
|
ref: this._outerRefSetter,
|
|
37300
|
-
style: _extends$
|
|
36975
|
+
style: _extends$2({
|
|
37301
36976
|
position: "relative",
|
|
37302
36977
|
height,
|
|
37303
36978
|
width,
|
|
@@ -37449,8 +37124,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37449
37124
|
return false;
|
|
37450
37125
|
}
|
|
37451
37126
|
function areEqual(prevProps, nextProps) {
|
|
37452
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
37453
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
37127
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$4(prevProps, ["style"]);
|
|
37128
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$4(nextProps, ["style"]);
|
|
37454
37129
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
37455
37130
|
}
|
|
37456
37131
|
const GlobalStyle = styled.createGlobalStyle`
|
|
@@ -38672,7 +38347,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
38672
38347
|
ComponentType2["TOOLTIP"] = "tooltip";
|
|
38673
38348
|
return ComponentType2;
|
|
38674
38349
|
})(ComponentType || {});
|
|
38675
|
-
const
|
|
38350
|
+
const StyledA = core$2.injectCss(styled__default.default.a`
|
|
38676
38351
|
:visited {
|
|
38677
38352
|
color: ${(props) => props.theme.colors.secondary};
|
|
38678
38353
|
}
|
|
@@ -38685,20 +38360,35 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
38685
38360
|
:active {
|
|
38686
38361
|
color: ${(props) => props.theme.colors.primaryDown};
|
|
38687
38362
|
}
|
|
38688
|
-
|
|
38689
|
-
const StyledA = core$2.injectCss(CustomA);
|
|
38363
|
+
`);
|
|
38690
38364
|
function Anchor(props) {
|
|
38691
38365
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
38366
|
+
const isRelative = React.useMemo(() => {
|
|
38367
|
+
var _a3;
|
|
38368
|
+
return (_a3 = props.href) == null ? void 0 : _a3.startsWith("/");
|
|
38369
|
+
}, [props.href]);
|
|
38370
|
+
const extraProps = React.useMemo(() => {
|
|
38371
|
+
if (!isRelative) {
|
|
38372
|
+
return {};
|
|
38373
|
+
}
|
|
38374
|
+
return {
|
|
38375
|
+
href: void 0,
|
|
38376
|
+
to: props.href
|
|
38377
|
+
};
|
|
38378
|
+
}, [isRelative, props.href]);
|
|
38379
|
+
const AsComponent = React.useMemo(() => isRelative ? core$2.ReactRouter.Link : "a", [isRelative]);
|
|
38692
38380
|
return /* @__PURE__ */ React__default.default.createElement(
|
|
38693
38381
|
StyledA,
|
|
38694
38382
|
{
|
|
38695
38383
|
$rawCss: css2,
|
|
38384
|
+
as: AsComponent,
|
|
38696
38385
|
className: props.clean ? "report-clean-anchor" : props.className,
|
|
38697
38386
|
href: props.href,
|
|
38698
38387
|
id: props.name,
|
|
38699
38388
|
rel: "noreferrer",
|
|
38700
38389
|
style: style2,
|
|
38701
|
-
target: props.new_tab ? "_blank" : "_self"
|
|
38390
|
+
target: props.new_tab ? "_blank" : "_self",
|
|
38391
|
+
...extraProps
|
|
38702
38392
|
},
|
|
38703
38393
|
/* @__PURE__ */ React__default.default.createElement(core$2.DisplayCtx.Provider, { value: { component: ComponentType.ANCHOR, direction: "horizontal" } }, props.children.map((child, idx) => /* @__PURE__ */ React__default.default.createElement(core$2.DynamicComponent, { component: child, key: `stack-${idx}-${child.name}` })))
|
|
38704
38394
|
);
|
|
@@ -38848,114 +38538,14 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
38848
38538
|
}
|
|
38849
38539
|
);
|
|
38850
38540
|
}
|
|
38851
|
-
function _extends$1() {
|
|
38852
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
38853
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
38854
|
-
var source = arguments[i2];
|
|
38855
|
-
for (var key in source) {
|
|
38856
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
38857
|
-
target[key] = source[key];
|
|
38858
|
-
}
|
|
38859
|
-
}
|
|
38860
|
-
}
|
|
38861
|
-
return target;
|
|
38862
|
-
};
|
|
38863
|
-
return _extends$1.apply(this, arguments);
|
|
38864
|
-
}
|
|
38865
|
-
function _assertThisInitialized(self2) {
|
|
38866
|
-
if (self2 === void 0) {
|
|
38867
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
38868
|
-
}
|
|
38869
|
-
return self2;
|
|
38870
|
-
}
|
|
38871
|
-
function _setPrototypeOf(o2, p2) {
|
|
38872
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
|
|
38873
|
-
o3.__proto__ = p3;
|
|
38874
|
-
return o3;
|
|
38875
|
-
};
|
|
38876
|
-
return _setPrototypeOf(o2, p2);
|
|
38877
|
-
}
|
|
38878
|
-
function _inheritsLoose(subClass, superClass) {
|
|
38879
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
38880
|
-
subClass.prototype.constructor = subClass;
|
|
38881
|
-
_setPrototypeOf(subClass, superClass);
|
|
38882
|
-
}
|
|
38883
|
-
function _getPrototypeOf(o2) {
|
|
38884
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
|
|
38885
|
-
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
38886
|
-
};
|
|
38887
|
-
return _getPrototypeOf(o2);
|
|
38888
|
-
}
|
|
38889
|
-
function _isNativeFunction(fn2) {
|
|
38890
|
-
return Function.toString.call(fn2).indexOf("[native code]") !== -1;
|
|
38891
|
-
}
|
|
38892
|
-
function _isNativeReflectConstruct() {
|
|
38893
|
-
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
38894
|
-
return false;
|
|
38895
|
-
if (Reflect.construct.sham)
|
|
38896
|
-
return false;
|
|
38897
|
-
if (typeof Proxy === "function")
|
|
38898
|
-
return true;
|
|
38899
|
-
try {
|
|
38900
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
38901
|
-
}));
|
|
38902
|
-
return true;
|
|
38903
|
-
} catch (e3) {
|
|
38904
|
-
return false;
|
|
38905
|
-
}
|
|
38906
|
-
}
|
|
38907
|
-
function _construct(Parent, args, Class) {
|
|
38908
|
-
if (_isNativeReflectConstruct()) {
|
|
38909
|
-
_construct = Reflect.construct.bind();
|
|
38910
|
-
} else {
|
|
38911
|
-
_construct = function _construct2(Parent2, args2, Class2) {
|
|
38912
|
-
var a2 = [null];
|
|
38913
|
-
a2.push.apply(a2, args2);
|
|
38914
|
-
var Constructor = Function.bind.apply(Parent2, a2);
|
|
38915
|
-
var instance2 = new Constructor();
|
|
38916
|
-
if (Class2)
|
|
38917
|
-
_setPrototypeOf(instance2, Class2.prototype);
|
|
38918
|
-
return instance2;
|
|
38919
|
-
};
|
|
38920
|
-
}
|
|
38921
|
-
return _construct.apply(null, arguments);
|
|
38922
|
-
}
|
|
38923
|
-
function _wrapNativeSuper(Class) {
|
|
38924
|
-
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
38925
|
-
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
38926
|
-
if (Class2 === null || !_isNativeFunction(Class2))
|
|
38927
|
-
return Class2;
|
|
38928
|
-
if (typeof Class2 !== "function") {
|
|
38929
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
38930
|
-
}
|
|
38931
|
-
if (typeof _cache !== "undefined") {
|
|
38932
|
-
if (_cache.has(Class2))
|
|
38933
|
-
return _cache.get(Class2);
|
|
38934
|
-
_cache.set(Class2, Wrapper2);
|
|
38935
|
-
}
|
|
38936
|
-
function Wrapper2() {
|
|
38937
|
-
return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
|
|
38938
|
-
}
|
|
38939
|
-
Wrapper2.prototype = Object.create(Class2.prototype, {
|
|
38940
|
-
constructor: {
|
|
38941
|
-
value: Wrapper2,
|
|
38942
|
-
enumerable: false,
|
|
38943
|
-
writable: true,
|
|
38944
|
-
configurable: true
|
|
38945
|
-
}
|
|
38946
|
-
});
|
|
38947
|
-
return _setPrototypeOf(Wrapper2, Class2);
|
|
38948
|
-
};
|
|
38949
|
-
return _wrapNativeSuper(Class);
|
|
38950
|
-
}
|
|
38951
38541
|
var PolishedError = /* @__PURE__ */ function(_Error) {
|
|
38952
|
-
_inheritsLoose(PolishedError2, _Error);
|
|
38542
|
+
_inheritsLoose$1(PolishedError2, _Error);
|
|
38953
38543
|
function PolishedError2(code2) {
|
|
38954
38544
|
var _this;
|
|
38955
38545
|
{
|
|
38956
38546
|
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code2 + " for more information.") || this;
|
|
38957
38547
|
}
|
|
38958
|
-
return _assertThisInitialized(_this);
|
|
38548
|
+
return _assertThisInitialized$2(_this);
|
|
38959
38549
|
}
|
|
38960
38550
|
return PolishedError2;
|
|
38961
38551
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
@@ -39303,7 +38893,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
39303
38893
|
return color2;
|
|
39304
38894
|
var parsedColor = parseToRgb(color2);
|
|
39305
38895
|
var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
39306
|
-
var colorWithAlpha = _extends$
|
|
38896
|
+
var colorWithAlpha = _extends$2({}, parsedColor, {
|
|
39307
38897
|
alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
|
|
39308
38898
|
});
|
|
39309
38899
|
return rgba$2(colorWithAlpha);
|
|
@@ -50102,6 +49692,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50102
49692
|
onAuxClick: null,
|
|
50103
49693
|
onBeforeMatch: null,
|
|
50104
49694
|
onBeforePrint: null,
|
|
49695
|
+
onBeforeToggle: null,
|
|
50105
49696
|
onBeforeUnload: null,
|
|
50106
49697
|
onBlur: null,
|
|
50107
49698
|
onCancel: null,
|
|
@@ -50207,6 +49798,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50207
49798
|
scoped: boolean,
|
|
50208
49799
|
seamless: boolean,
|
|
50209
49800
|
selected: boolean,
|
|
49801
|
+
shadowRootDelegatesFocus: boolean,
|
|
49802
|
+
shadowRootMode: null,
|
|
50210
49803
|
shape: null,
|
|
50211
49804
|
size: number$4,
|
|
50212
49805
|
sizes: null,
|
|
@@ -100309,10 +99902,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
100309
99902
|
fullLayout = fullLayout || {};
|
|
100310
99903
|
var axId = ax._id || "x";
|
|
100311
99904
|
var axLetter = axId.charAt(0);
|
|
100312
|
-
function toLog(v2,
|
|
99905
|
+
function toLog(v2, clip2) {
|
|
100313
99906
|
if (v2 > 0)
|
|
100314
99907
|
return Math.log(v2) / Math.LN10;
|
|
100315
|
-
else if (v2 <= 0 &&
|
|
99908
|
+
else if (v2 <= 0 && clip2 && ax.range && ax.range.length === 2) {
|
|
100316
99909
|
var r0 = ax.range[0];
|
|
100317
99910
|
var r1 = ax.range[1];
|
|
100318
99911
|
return 0.5 * (r0 + r1 - 2 * LOG_CLIP * Math.abs(r0 - r1));
|
|
@@ -100444,8 +100037,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
100444
100037
|
ax.l2c = ax.type === "log" ? fromLog : ensureNumber;
|
|
100445
100038
|
ax.l2p = l2p;
|
|
100446
100039
|
ax.p2l = p2l;
|
|
100447
|
-
ax.c2p = ax.type === "log" ? function(v2,
|
|
100448
|
-
return l2p(toLog(v2,
|
|
100040
|
+
ax.c2p = ax.type === "log" ? function(v2, clip2) {
|
|
100041
|
+
return l2p(toLog(v2, clip2));
|
|
100449
100042
|
} : l2p;
|
|
100450
100043
|
ax.p2c = ax.type === "log" ? function(px) {
|
|
100451
100044
|
return fromLog(p2l(px));
|
|
@@ -100459,8 +100052,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
100459
100052
|
ax.p2d = ax.p2r = p2l;
|
|
100460
100053
|
ax.cleanPos = ensureNumber;
|
|
100461
100054
|
} else if (ax.type === "log") {
|
|
100462
|
-
ax.d2r = ax.d2l = function(v2,
|
|
100463
|
-
return toLog(cleanNumber(v2),
|
|
100055
|
+
ax.d2r = ax.d2l = function(v2, clip2) {
|
|
100056
|
+
return toLog(cleanNumber(v2), clip2);
|
|
100464
100057
|
};
|
|
100465
100058
|
ax.r2d = ax.r2c = function(v2) {
|
|
100466
100059
|
return fromLog(cleanNumber(v2));
|
|
@@ -100469,8 +100062,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
100469
100062
|
ax.c2d = ax.l2r = ensureNumber;
|
|
100470
100063
|
ax.c2r = toLog;
|
|
100471
100064
|
ax.l2d = fromLog;
|
|
100472
|
-
ax.d2p = function(v2,
|
|
100473
|
-
return ax.l2p(ax.d2r(v2,
|
|
100065
|
+
ax.d2p = function(v2, clip2) {
|
|
100066
|
+
return ax.l2p(ax.d2r(v2, clip2));
|
|
100474
100067
|
};
|
|
100475
100068
|
ax.p2d = function(px) {
|
|
100476
100069
|
return fromLog(p2l(px));
|
|
@@ -120065,11 +119658,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
120065
119658
|
};
|
|
120066
119659
|
function drawClipPath(trace, t2, layer, xaxis, yaxis) {
|
|
120067
119660
|
var seg, xp, yp, i2;
|
|
120068
|
-
var
|
|
120069
|
-
if (!
|
|
120070
|
-
|
|
119661
|
+
var clip2 = layer.select("#" + trace._clipPathId);
|
|
119662
|
+
if (!clip2.size()) {
|
|
119663
|
+
clip2 = layer.append("clipPath").classed("carpetclip", true);
|
|
120071
119664
|
}
|
|
120072
|
-
var path2 = Lib.ensureSingle(
|
|
119665
|
+
var path2 = Lib.ensureSingle(clip2, "path", "carpetboundary");
|
|
120073
119666
|
var segments = t2.clipsegments;
|
|
120074
119667
|
var segs = [];
|
|
120075
119668
|
for (i2 = 0; i2 < segments.length; i2++) {
|
|
@@ -120079,7 +119672,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
120079
119672
|
segs.push(makepath(xp, yp, seg.bicubic));
|
|
120080
119673
|
}
|
|
120081
119674
|
var clipPathData = "M" + segs.join("L") + "Z";
|
|
120082
|
-
|
|
119675
|
+
clip2.attr("id", trace._clipPathId);
|
|
120083
119676
|
path2.attr("d", clipPathData);
|
|
120084
119677
|
}
|
|
120085
119678
|
function drawGridLines(xaxis, yaxis, layer, axis, axisLetter, gridlines, isStatic) {
|
|
@@ -191008,10 +190601,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
191008
190601
|
};
|
|
191009
190602
|
}
|
|
191010
190603
|
function d3_geom_voronoiClipEdges(extent2) {
|
|
191011
|
-
var edges = d3_geom_voronoiEdges,
|
|
190604
|
+
var edges = d3_geom_voronoiEdges, clip2 = d3_geom_clipLine(extent2[0][0], extent2[0][1], extent2[1][0], extent2[1][1]), i2 = edges.length, e3;
|
|
191012
190605
|
while (i2--) {
|
|
191013
190606
|
e3 = edges[i2];
|
|
191014
|
-
if (!d3_geom_voronoiConnectEdge(e3, extent2) || !
|
|
190607
|
+
if (!d3_geom_voronoiConnectEdge(e3, extent2) || !clip2(e3) || abs(e3.a.x - e3.b.x) < \u03B5 && abs(e3.a.y - e3.b.y) < \u03B5) {
|
|
191015
190608
|
e3.a = e3.b = null;
|
|
191016
190609
|
edges.splice(i2, 1);
|
|
191017
190610
|
}
|
|
@@ -208392,21 +207985,21 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
208392
207985
|
function __WEBPACK_DEFAULT_EXPORT__(pointVisible, clipLine, interpolate2, start2) {
|
|
208393
207986
|
return function(sink) {
|
|
208394
207987
|
var line = clipLine(sink), ringBuffer = (0, _buffer_js__WEBPACK_IMPORTED_MODULE_1__.Z)(), ringSink = clipLine(ringBuffer), polygonStarted = false, polygon2, segments, ring;
|
|
208395
|
-
var
|
|
207988
|
+
var clip2 = {
|
|
208396
207989
|
point: point2,
|
|
208397
207990
|
lineStart,
|
|
208398
207991
|
lineEnd,
|
|
208399
207992
|
polygonStart: function() {
|
|
208400
|
-
|
|
208401
|
-
|
|
208402
|
-
|
|
207993
|
+
clip2.point = pointRing;
|
|
207994
|
+
clip2.lineStart = ringStart;
|
|
207995
|
+
clip2.lineEnd = ringEnd;
|
|
208403
207996
|
segments = [];
|
|
208404
207997
|
polygon2 = [];
|
|
208405
207998
|
},
|
|
208406
207999
|
polygonEnd: function() {
|
|
208407
|
-
|
|
208408
|
-
|
|
208409
|
-
|
|
208000
|
+
clip2.point = point2;
|
|
208001
|
+
clip2.lineStart = lineStart;
|
|
208002
|
+
clip2.lineEnd = lineEnd;
|
|
208410
208003
|
segments = (0, d3_array__WEBPACK_IMPORTED_MODULE_0__.TS)(segments);
|
|
208411
208004
|
var startInside = (0, _polygonContains_js__WEBPACK_IMPORTED_MODULE_2__.Z)(polygon2, start2);
|
|
208412
208005
|
if (segments.length) {
|
|
@@ -208440,11 +208033,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
208440
208033
|
line.point(lambda, phi2);
|
|
208441
208034
|
}
|
|
208442
208035
|
function lineStart() {
|
|
208443
|
-
|
|
208036
|
+
clip2.point = pointLine;
|
|
208444
208037
|
line.lineStart();
|
|
208445
208038
|
}
|
|
208446
208039
|
function lineEnd() {
|
|
208447
|
-
|
|
208040
|
+
clip2.point = point2;
|
|
208448
208041
|
line.lineEnd();
|
|
208449
208042
|
}
|
|
208450
208043
|
function pointRing(lambda, phi2) {
|
|
@@ -208480,7 +208073,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
208480
208073
|
ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));
|
|
208481
208074
|
segments.push(ringSegments.filter(validSegment));
|
|
208482
208075
|
}
|
|
208483
|
-
return
|
|
208076
|
+
return clip2;
|
|
208484
208077
|
};
|
|
208485
208078
|
}
|
|
208486
208079
|
function validSegment(segment) {
|
|
@@ -208715,7 +208308,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
208715
208308
|
this.n = this.p = null;
|
|
208716
208309
|
}
|
|
208717
208310
|
function __WEBPACK_DEFAULT_EXPORT__(segments, compareIntersection, startInside, interpolate2, stream) {
|
|
208718
|
-
var subject = [],
|
|
208311
|
+
var subject = [], clip2 = [], i2, n2;
|
|
208719
208312
|
segments.forEach(function(segment) {
|
|
208720
208313
|
if ((n3 = segment.length - 1) <= 0)
|
|
208721
208314
|
return;
|
|
@@ -208731,17 +208324,17 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
208731
208324
|
p1[0] += 2 * _math_js__WEBPACK_IMPORTED_MODULE_1__.Ho;
|
|
208732
208325
|
}
|
|
208733
208326
|
subject.push(x2 = new Intersection(p0, segment, null, true));
|
|
208734
|
-
|
|
208327
|
+
clip2.push(x2.o = new Intersection(p0, null, x2, false));
|
|
208735
208328
|
subject.push(x2 = new Intersection(p1, segment, null, false));
|
|
208736
|
-
|
|
208329
|
+
clip2.push(x2.o = new Intersection(p1, null, x2, true));
|
|
208737
208330
|
});
|
|
208738
208331
|
if (!subject.length)
|
|
208739
208332
|
return;
|
|
208740
|
-
|
|
208333
|
+
clip2.sort(compareIntersection);
|
|
208741
208334
|
link2(subject);
|
|
208742
|
-
link2(
|
|
208743
|
-
for (i2 = 0, n2 =
|
|
208744
|
-
|
|
208335
|
+
link2(clip2);
|
|
208336
|
+
for (i2 = 0, n2 = clip2.length; i2 < n2; ++i2) {
|
|
208337
|
+
clip2[i2].e = startInside = !startInside;
|
|
208745
208338
|
}
|
|
208746
208339
|
var start2 = subject[0], points, point2;
|
|
208747
208340
|
while (1) {
|
|
@@ -208977,13 +208570,13 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
208977
208570
|
var clip_circle = __webpack_require__2(1457);
|
|
208978
208571
|
var rectangle = __webpack_require__2(87605);
|
|
208979
208572
|
function extent2() {
|
|
208980
|
-
var x02 = 0, y02 = 0, x1 = 960, y1 = 500, cache2, cacheStream,
|
|
208981
|
-
return
|
|
208573
|
+
var x02 = 0, y02 = 0, x1 = 960, y1 = 500, cache2, cacheStream, clip2;
|
|
208574
|
+
return clip2 = {
|
|
208982
208575
|
stream: function(stream2) {
|
|
208983
208576
|
return cache2 && cacheStream === stream2 ? cache2 : cache2 = (0, rectangle.Z)(x02, y02, x1, y1)(cacheStream = stream2);
|
|
208984
208577
|
},
|
|
208985
208578
|
extent: function(_2) {
|
|
208986
|
-
return arguments.length ? (x02 = +_2[0][0], y02 = +_2[0][1], x1 = +_2[1][0], y1 = +_2[1][1], cache2 = cacheStream = null,
|
|
208579
|
+
return arguments.length ? (x02 = +_2[0][0], y02 = +_2[0][1], x1 = +_2[1][0], y1 = +_2[1][1], cache2 = cacheStream = null, clip2) : [[x02, y02], [x1, y1]];
|
|
208987
208580
|
}
|
|
208988
208581
|
};
|
|
208989
208582
|
}
|
|
@@ -210167,14 +209760,14 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
210167
209760
|
var _stream_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__2(72736);
|
|
210168
209761
|
var _path_bounds_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__2(3559);
|
|
210169
209762
|
function fit(projection, fitBounds, object2) {
|
|
210170
|
-
var
|
|
209763
|
+
var clip2 = projection.clipExtent && projection.clipExtent();
|
|
210171
209764
|
projection.scale(150).translate([0, 0]);
|
|
210172
|
-
if (
|
|
209765
|
+
if (clip2 != null)
|
|
210173
209766
|
projection.clipExtent(null);
|
|
210174
209767
|
(0, _stream_js__WEBPACK_IMPORTED_MODULE_0__.Z)(object2, projection.stream(_path_bounds_js__WEBPACK_IMPORTED_MODULE_1__.Z));
|
|
210175
209768
|
fitBounds(_path_bounds_js__WEBPACK_IMPORTED_MODULE_1__.Z.result());
|
|
210176
|
-
if (
|
|
210177
|
-
projection.clipExtent(
|
|
209769
|
+
if (clip2 != null)
|
|
209770
|
+
projection.clipExtent(clip2);
|
|
210178
209771
|
return projection;
|
|
210179
209772
|
}
|
|
210180
209773
|
function fitExtent(projection, extent2, object2) {
|
|
@@ -242670,7 +242263,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
242670
242263
|
var y22 = 0.5 - 0.25 * Math.log((1 + sin2) / (1 - sin2)) / Math.PI;
|
|
242671
242264
|
return y22 < 0 ? 0 : y22 > 1 ? 1 : y22;
|
|
242672
242265
|
}
|
|
242673
|
-
function
|
|
242266
|
+
function clip2(features, scale, k1, k2, axis, minAll, maxAll, options) {
|
|
242674
242267
|
k1 /= scale;
|
|
242675
242268
|
k2 /= scale;
|
|
242676
242269
|
if (minAll >= k1 && maxAll < k2) {
|
|
@@ -242845,10 +242438,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
242845
242438
|
function wrap2(features, options) {
|
|
242846
242439
|
var buffer2 = options.buffer / options.extent;
|
|
242847
242440
|
var merged = features;
|
|
242848
|
-
var left2 =
|
|
242849
|
-
var right2 =
|
|
242441
|
+
var left2 = clip2(features, 1, -1 - buffer2, buffer2, 0, -1, 2, options);
|
|
242442
|
+
var right2 = clip2(features, 1, 1 - buffer2, 2 + buffer2, 0, -1, 2, options);
|
|
242850
242443
|
if (left2 || right2) {
|
|
242851
|
-
merged =
|
|
242444
|
+
merged = clip2(features, 1, -buffer2, 1 + buffer2, 0, -1, 2, options) || [];
|
|
242852
242445
|
if (left2) {
|
|
242853
242446
|
merged = shiftFeatureCoords(left2, 1).concat(merged);
|
|
242854
242447
|
}
|
|
@@ -243151,17 +242744,17 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
243151
242744
|
}
|
|
243152
242745
|
var k1 = 0.5 * options.buffer / options.extent, k2 = 0.5 - k1, k3 = 0.5 + k1, k4 = 1 + k1, tl, bl, tr, br, left2, right2;
|
|
243153
242746
|
tl = bl = tr = br = null;
|
|
243154
|
-
left2 =
|
|
243155
|
-
right2 =
|
|
242747
|
+
left2 = clip2(features, z22, x2 - k1, x2 + k3, 0, tile.minX, tile.maxX, options);
|
|
242748
|
+
right2 = clip2(features, z22, x2 + k2, x2 + k4, 0, tile.minX, tile.maxX, options);
|
|
243156
242749
|
features = null;
|
|
243157
242750
|
if (left2) {
|
|
243158
|
-
tl =
|
|
243159
|
-
bl =
|
|
242751
|
+
tl = clip2(left2, z22, y2 - k1, y2 + k3, 1, tile.minY, tile.maxY, options);
|
|
242752
|
+
bl = clip2(left2, z22, y2 + k2, y2 + k4, 1, tile.minY, tile.maxY, options);
|
|
243160
242753
|
left2 = null;
|
|
243161
242754
|
}
|
|
243162
242755
|
if (right2) {
|
|
243163
|
-
tr =
|
|
243164
|
-
br =
|
|
242756
|
+
tr = clip2(right2, z22, y2 - k1, y2 + k3, 1, tile.minY, tile.maxY, options);
|
|
242757
|
+
br = clip2(right2, z22, y2 + k2, y2 + k4, 1, tile.minY, tile.maxY, options);
|
|
243165
242758
|
right2 = null;
|
|
243166
242759
|
}
|
|
243167
242760
|
if (debug > 1) {
|
|
@@ -283489,19 +283082,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
283489
283082
|
an.createDraft.bind(an);
|
|
283490
283083
|
an.finishDraft.bind(an);
|
|
283491
283084
|
const n$2 = fn$7;
|
|
283492
|
-
let nanoid = (size = 21) => crypto.getRandomValues(new Uint8Array(size)).reduce((id2, byte) => {
|
|
283493
|
-
byte &= 63;
|
|
283494
|
-
if (byte < 36) {
|
|
283495
|
-
id2 += byte.toString(36);
|
|
283496
|
-
} else if (byte < 62) {
|
|
283497
|
-
id2 += (byte - 26).toString(36).toUpperCase();
|
|
283498
|
-
} else if (byte > 62) {
|
|
283499
|
-
id2 += "-";
|
|
283500
|
-
} else {
|
|
283501
|
-
id2 += "_";
|
|
283502
|
-
}
|
|
283503
|
-
return id2;
|
|
283504
|
-
}, "");
|
|
283505
283085
|
const ColumnSelect = styled__default.default(Select$1)`
|
|
283506
283086
|
flex-basis: 15rem;
|
|
283507
283087
|
`;
|
|
@@ -287163,6 +286743,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287163
286743
|
return this.lineInner(n2, true, 1, 0);
|
|
287164
286744
|
}
|
|
287165
286745
|
replace(from, to, text2) {
|
|
286746
|
+
[from, to] = clip(this, from, to);
|
|
287166
286747
|
let parts = [];
|
|
287167
286748
|
this.decompose(0, from, parts, 2);
|
|
287168
286749
|
if (text2.length)
|
|
@@ -287174,6 +286755,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287174
286755
|
return this.replace(this.length, this.length, other);
|
|
287175
286756
|
}
|
|
287176
286757
|
slice(from, to = this.length) {
|
|
286758
|
+
[from, to] = clip(this, from, to);
|
|
287177
286759
|
let parts = [];
|
|
287178
286760
|
this.decompose(from, to, parts, 0);
|
|
287179
286761
|
return TextNode.from(parts, to - from);
|
|
@@ -287271,6 +286853,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287271
286853
|
replace(from, to, text2) {
|
|
287272
286854
|
if (!(text2 instanceof TextLeaf))
|
|
287273
286855
|
return super.replace(from, to, text2);
|
|
286856
|
+
[from, to] = clip(this, from, to);
|
|
287274
286857
|
let lines = appendText(this.text, appendText(text2.text, sliceText(this.text, 0, from)), to);
|
|
287275
286858
|
let newLen = this.length + text2.length - (to - from);
|
|
287276
286859
|
if (lines.length <= 32)
|
|
@@ -287278,6 +286861,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287278
286861
|
return TextNode.from(TextLeaf.split(lines, []), newLen);
|
|
287279
286862
|
}
|
|
287280
286863
|
sliceString(from, to = this.length, lineSep = "\n") {
|
|
286864
|
+
[from, to] = clip(this, from, to);
|
|
287281
286865
|
let result = "";
|
|
287282
286866
|
for (let pos = 0, i2 = 0; pos <= to && i2 < this.text.length; i2++) {
|
|
287283
286867
|
let line = this.text[i2], end2 = pos + line.length;
|
|
@@ -287344,6 +286928,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287344
286928
|
}
|
|
287345
286929
|
}
|
|
287346
286930
|
replace(from, to, text2) {
|
|
286931
|
+
[from, to] = clip(this, from, to);
|
|
287347
286932
|
if (text2.lines < this.lines)
|
|
287348
286933
|
for (let i2 = 0, pos = 0; i2 < this.children.length; i2++) {
|
|
287349
286934
|
let child = this.children[i2], end2 = pos + child.length;
|
|
@@ -287362,6 +286947,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287362
286947
|
return super.replace(from, to, text2);
|
|
287363
286948
|
}
|
|
287364
286949
|
sliceString(from, to = this.length, lineSep = "\n") {
|
|
286950
|
+
[from, to] = clip(this, from, to);
|
|
287365
286951
|
let result = "";
|
|
287366
286952
|
for (let i2 = 0, pos = 0; i2 < this.children.length && pos <= to; i2++) {
|
|
287367
286953
|
let child = this.children[i2], end2 = pos + child.length;
|
|
@@ -287573,7 +287159,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287573
287159
|
}
|
|
287574
287160
|
next(skip = 0) {
|
|
287575
287161
|
let { done, lineBreak, value } = this.inner.next(skip);
|
|
287576
|
-
if (done) {
|
|
287162
|
+
if (done && this.afterBreak) {
|
|
287163
|
+
this.value = "";
|
|
287164
|
+
this.afterBreak = false;
|
|
287165
|
+
} else if (done) {
|
|
287577
287166
|
this.done = true;
|
|
287578
287167
|
this.value = "";
|
|
287579
287168
|
} else if (lineBreak) {
|
|
@@ -287612,6 +287201,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287612
287201
|
return this.to - this.from;
|
|
287613
287202
|
}
|
|
287614
287203
|
}
|
|
287204
|
+
function clip(text2, from, to) {
|
|
287205
|
+
from = Math.max(0, Math.min(text2.length, from));
|
|
287206
|
+
return [from, Math.max(from, Math.min(text2.length, to))];
|
|
287207
|
+
}
|
|
287615
287208
|
let extend$1 = /* @__PURE__ */ "lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((s2) => s2 ? parseInt(s2, 36) : 1);
|
|
287616
287209
|
for (let i2 = 1; i2 < extend$1.length; i2++)
|
|
287617
287210
|
extend$1[i2] += extend$1[i2 - 1];
|
|
@@ -288975,7 +288568,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
288975
288568
|
} else {
|
|
288976
288569
|
startValues = tr.startState.values.slice();
|
|
288977
288570
|
}
|
|
288978
|
-
|
|
288571
|
+
let selection2 = tr.startState.facet(allowMultipleSelections) ? tr.newSelection : tr.newSelection.asSingle();
|
|
288572
|
+
new EditorState(conf, tr.newDoc, selection2, startValues, (state, slot) => slot.update(state, tr), tr);
|
|
288979
288573
|
}
|
|
288980
288574
|
replaceSelection(text2) {
|
|
288981
288575
|
if (typeof text2 == "string")
|
|
@@ -290532,7 +290126,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
290532
290126
|
this.markDirty();
|
|
290533
290127
|
for (let i2 = from; i2 < to; i2++) {
|
|
290534
290128
|
let child = this.children[i2];
|
|
290535
|
-
if (child.parent == this)
|
|
290129
|
+
if (child.parent == this && children2.indexOf(child) < 0)
|
|
290536
290130
|
child.destroy();
|
|
290537
290131
|
}
|
|
290538
290132
|
this.children.splice(from, to - from, ...children2);
|
|
@@ -290580,6 +290174,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
290580
290174
|
return 0;
|
|
290581
290175
|
}
|
|
290582
290176
|
destroy() {
|
|
290177
|
+
for (let child of this.children)
|
|
290178
|
+
child.destroy();
|
|
290583
290179
|
this.parent = null;
|
|
290584
290180
|
}
|
|
290585
290181
|
}
|
|
@@ -295242,6 +294838,13 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
295242
294838
|
"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor": {
|
|
295243
294839
|
display: "block"
|
|
295244
294840
|
},
|
|
294841
|
+
".cm-announced": {
|
|
294842
|
+
position: "fixed",
|
|
294843
|
+
top: "-10000px"
|
|
294844
|
+
},
|
|
294845
|
+
"@media print": {
|
|
294846
|
+
".cm-announced": { display: "none" }
|
|
294847
|
+
},
|
|
295245
294848
|
"&light .cm-activeLine": { backgroundColor: "#cceeff44" },
|
|
295246
294849
|
"&dark .cm-activeLine": { backgroundColor: "#99eeff33" },
|
|
295247
294850
|
"&light .cm-specialChar": { color: "red" },
|
|
@@ -296103,7 +295706,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
296103
295706
|
this.scrollDOM.className = "cm-scroller";
|
|
296104
295707
|
this.scrollDOM.appendChild(this.contentDOM);
|
|
296105
295708
|
this.announceDOM = document.createElement("div");
|
|
296106
|
-
this.announceDOM.
|
|
295709
|
+
this.announceDOM.className = "cm-announced";
|
|
296107
295710
|
this.announceDOM.setAttribute("aria-live", "polite");
|
|
296108
295711
|
this.dom = document.createElement("div");
|
|
296109
295712
|
this.dom.appendChild(this.announceDOM);
|
|
@@ -296238,6 +295841,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
296238
295841
|
this.pluginMap.clear();
|
|
296239
295842
|
for (let plugin of this.plugins)
|
|
296240
295843
|
plugin.update(this);
|
|
295844
|
+
this.docView.destroy();
|
|
296241
295845
|
this.docView = new DocView(this);
|
|
296242
295846
|
this.inputState.ensureHandlers(this.plugins);
|
|
296243
295847
|
this.mountStyles();
|
|
@@ -296575,6 +296179,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
296575
296179
|
plugin.destroy(this);
|
|
296576
296180
|
this.plugins = [];
|
|
296577
296181
|
this.inputState.destroy();
|
|
296182
|
+
this.docView.destroy();
|
|
296578
296183
|
this.dom.remove();
|
|
296579
296184
|
this.observer.destroy();
|
|
296580
296185
|
if (this.measureScheduled > -1)
|
|
@@ -296854,8 +296459,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
296854
296459
|
"&::selection": { backgroundColor: "transparent !important" }
|
|
296855
296460
|
}
|
|
296856
296461
|
};
|
|
296857
|
-
if (CanHidePrimary)
|
|
296462
|
+
if (CanHidePrimary) {
|
|
296858
296463
|
themeSpec[".cm-line"].caretColor = "transparent !important";
|
|
296464
|
+
themeSpec[".cm-content"] = { caretColor: "transparent !important" };
|
|
296465
|
+
}
|
|
296859
296466
|
const panelConfig = /* @__PURE__ */ Facet.define({
|
|
296860
296467
|
combine(configs) {
|
|
296861
296468
|
let topContainer, bottomContainer;
|
|
@@ -299964,6 +299571,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
299964
299571
|
const noTokens = /* @__PURE__ */ Object.create(null);
|
|
299965
299572
|
const typeArray = [NodeType.none];
|
|
299966
299573
|
const warned = [];
|
|
299574
|
+
const byTag = /* @__PURE__ */ Object.create(null);
|
|
299967
299575
|
const defaultTable = /* @__PURE__ */ Object.create(null);
|
|
299968
299576
|
for (let [legacyName, name2] of [
|
|
299969
299577
|
["variable", "variableName"],
|
|
@@ -300011,7 +299619,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
300011
299619
|
}
|
|
300012
299620
|
if (!tags$1.length)
|
|
300013
299621
|
return 0;
|
|
300014
|
-
let name2 = tagStr.replace(/ /g, "_"),
|
|
299622
|
+
let name2 = tagStr.replace(/ /g, "_"), key = name2 + " " + tags$1.map((t2) => t2.id);
|
|
299623
|
+
let known = byTag[key];
|
|
299624
|
+
if (known)
|
|
299625
|
+
return known.id;
|
|
299626
|
+
let type = byTag[key] = NodeType.define({
|
|
300015
299627
|
id: typeArray.length,
|
|
300016
299628
|
name: name2,
|
|
300017
299629
|
props: [styleTags({ [name2]: tags$1 })]
|
|
@@ -300407,11 +300019,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
300407
300019
|
return RangeSet.empty;
|
|
300408
300020
|
},
|
|
300409
300021
|
update(value, tr) {
|
|
300022
|
+
value = value.map(tr.changes);
|
|
300410
300023
|
if (tr.selection) {
|
|
300411
300024
|
let line = tr.state.doc.lineAt(tr.selection.main.head);
|
|
300412
300025
|
value = value.update({ filter: (from) => from >= line.from && from <= line.to });
|
|
300413
300026
|
}
|
|
300414
|
-
value = value.map(tr.changes);
|
|
300415
300027
|
for (let effect2 of tr.effects)
|
|
300416
300028
|
if (effect2.is(closeBracketEffect))
|
|
300417
300029
|
value = value.update({ add: [closedBracket.range(effect2.value, effect2.value + 1)] });
|
|
@@ -300744,11 +300356,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
300744
300356
|
});
|
|
300745
300357
|
}
|
|
300746
300358
|
});
|
|
300747
|
-
function changeEnd(changes) {
|
|
300748
|
-
let end2 = 0;
|
|
300749
|
-
changes.iterChangedRanges((_2, to) => end2 = to);
|
|
300750
|
-
return end2;
|
|
300751
|
-
}
|
|
300752
300359
|
const historyField_ = /* @__PURE__ */ StateField.define({
|
|
300753
300360
|
create() {
|
|
300754
300361
|
return HistoryState.empty;
|
|
@@ -300757,8 +300364,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
300757
300364
|
let config2 = tr.state.facet(historyConfig);
|
|
300758
300365
|
let fromHist = tr.annotation(fromHistory);
|
|
300759
300366
|
if (fromHist) {
|
|
300760
|
-
let
|
|
300761
|
-
let item = HistEvent.fromTransaction(tr, selection2), from = fromHist.side;
|
|
300367
|
+
let item = HistEvent.fromTransaction(tr, fromHist.selection), from = fromHist.side;
|
|
300762
300368
|
let other = from == 0 ? state.undone : state.done;
|
|
300763
300369
|
if (item)
|
|
300764
300370
|
other = updateBranch(other, other.length, config2.minDepth, item);
|
|
@@ -300958,15 +300564,15 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
300958
300564
|
addMapping(mapping) {
|
|
300959
300565
|
return new HistoryState(addMappingToBranch(this.done, mapping), addMappingToBranch(this.undone, mapping), this.prevTime, this.prevUserEvent);
|
|
300960
300566
|
}
|
|
300961
|
-
pop(side, state,
|
|
300567
|
+
pop(side, state, onlySelection) {
|
|
300962
300568
|
let branch = side == 0 ? this.done : this.undone;
|
|
300963
300569
|
if (branch.length == 0)
|
|
300964
300570
|
return null;
|
|
300965
|
-
let event2 = branch[branch.length - 1];
|
|
300966
|
-
if (
|
|
300571
|
+
let event2 = branch[branch.length - 1], selection2 = event2.selectionsAfter[0] || state.selection;
|
|
300572
|
+
if (onlySelection && event2.selectionsAfter.length) {
|
|
300967
300573
|
return state.update({
|
|
300968
300574
|
selection: event2.selectionsAfter[event2.selectionsAfter.length - 1],
|
|
300969
|
-
annotations: fromHistory.of({ side, rest: popSelection(branch) }),
|
|
300575
|
+
annotations: fromHistory.of({ side, rest: popSelection(branch), selection: selection2 }),
|
|
300970
300576
|
userEvent: side == 0 ? "select.undo" : "select.redo",
|
|
300971
300577
|
scrollIntoView: true
|
|
300972
300578
|
});
|
|
@@ -300980,7 +300586,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
300980
300586
|
changes: event2.changes,
|
|
300981
300587
|
selection: event2.startSelection,
|
|
300982
300588
|
effects: event2.effects,
|
|
300983
|
-
annotations: fromHistory.of({ side, rest }),
|
|
300589
|
+
annotations: fromHistory.of({ side, rest, selection: selection2 }),
|
|
300984
300590
|
filter: false,
|
|
300985
300591
|
userEvent: side == 0 ? "undo" : "redo",
|
|
300986
300592
|
scrollIntoView: true
|
|
@@ -301278,6 +300884,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301278
300884
|
targetPos = findClusterBreak(line.text, pos - line.from, forward, forward) + line.from;
|
|
301279
300885
|
if (targetPos == pos && line.number != (forward ? state.doc.lines : 1))
|
|
301280
300886
|
targetPos += forward ? 1 : -1;
|
|
300887
|
+
else if (!forward && /[\ufe00-\ufe0f]/.test(line.text.slice(targetPos - line.from, pos - line.from)))
|
|
300888
|
+
targetPos = findClusterBreak(line.text, targetPos - line.from, false, false) + line.from;
|
|
301281
300889
|
}
|
|
301282
300890
|
return targetPos;
|
|
301283
300891
|
});
|
|
@@ -304183,7 +303791,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
304183
303791
|
return this.prevMatchInRange(state, 0, curFrom) || this.prevMatchInRange(state, curTo, state.doc.length);
|
|
304184
303792
|
}
|
|
304185
303793
|
getReplacement(result) {
|
|
304186
|
-
return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g, (m2, i2) => i2 == "$" ? "$" : i2 == "&" ? result.match[0] : i2 != "0" && +i2 < result.match.length ? result.match[i2] : m2)
|
|
303794
|
+
return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g, (m2, i2) => i2 == "$" ? "$" : i2 == "&" ? result.match[0] : i2 != "0" && +i2 < result.match.length ? result.match[i2] : m2);
|
|
304187
303795
|
}
|
|
304188
303796
|
matchAll(state, limit) {
|
|
304189
303797
|
let cursor = regexpCursor(this.spec, state, 0, state.doc.length), ranges = [];
|
|
@@ -304426,7 +304034,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
304426
304034
|
{ key: "Mod-g", run: findNext, shift: findPrevious, scope: "editor search-panel", preventDefault: true },
|
|
304427
304035
|
{ key: "Escape", run: closeSearchPanel, scope: "editor search-panel" },
|
|
304428
304036
|
{ key: "Mod-Shift-l", run: selectSelectionMatches },
|
|
304429
|
-
{ key: "Alt-g", run: gotoLine },
|
|
304037
|
+
{ key: "Mod-Alt-g", run: gotoLine },
|
|
304430
304038
|
{ key: "Mod-d", run: selectNextOccurrence, preventDefault: true }
|
|
304431
304039
|
];
|
|
304432
304040
|
class SearchPanel {
|
|
@@ -367435,8 +367043,8 @@ ${e3}`);
|
|
|
367435
367043
|
var nodeTW = nodeW + (getIndexedStyle(node2, "background-width-relative-to", "value", index2) === "inner" ? 0 : paddingX2);
|
|
367436
367044
|
var nodeTH = nodeH + (getIndexedStyle(node2, "background-height-relative-to", "value", index2) === "inner" ? 0 : paddingX2);
|
|
367437
367045
|
var rs = node2._private.rscratch;
|
|
367438
|
-
var
|
|
367439
|
-
var shouldClip =
|
|
367046
|
+
var clip2 = getIndexedStyle(node2, "background-clip", "value", index2);
|
|
367047
|
+
var shouldClip = clip2 === "node";
|
|
367440
367048
|
var imgOpacity = getIndexedStyle(node2, "background-image-opacity", "value", index2) * nodeOpacity;
|
|
367441
367049
|
var smooth = getIndexedStyle(node2, "background-image-smoothing", "value", index2);
|
|
367442
367050
|
var imgW = img.width || img.cachedW;
|