@darajs/core 1.2.3 → 1.2.4
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.
|
@@ -1265,7 +1265,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1265
1265
|
module2.exports = reactIs_production_min$1;
|
|
1266
1266
|
}
|
|
1267
1267
|
})(reactIs$2);
|
|
1268
|
-
function _objectWithoutPropertiesLoose$
|
|
1268
|
+
function _objectWithoutPropertiesLoose$6(source, excluded) {
|
|
1269
1269
|
if (source == null)
|
|
1270
1270
|
return {};
|
|
1271
1271
|
var target = {};
|
|
@@ -1843,7 +1843,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1843
1843
|
context2.url = createURL(context2.location);
|
|
1844
1844
|
};
|
|
1845
1845
|
_proto.render = function render2() {
|
|
1846
|
-
var _this$props2 = this.props, _this$props2$basename = _this$props2.basename, basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, _this$props2$context = _this$props2.context, context2 = _this$props2$context === void 0 ? {} : _this$props2$context, _this$props2$location = _this$props2.location, location2 = _this$props2$location === void 0 ? "/" : _this$props2$location, rest = _objectWithoutPropertiesLoose$
|
|
1846
|
+
var _this$props2 = this.props, _this$props2$basename = _this$props2.basename, basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, _this$props2$context = _this$props2.context, context2 = _this$props2$context === void 0 ? {} : _this$props2$context, _this$props2$location = _this$props2.location, location2 = _this$props2$location === void 0 ? "/" : _this$props2$location, rest = _objectWithoutPropertiesLoose$6(_this$props2, ["basename", "context", "location"]);
|
|
1847
1847
|
var history2 = {
|
|
1848
1848
|
createHref: function createHref(path) {
|
|
1849
1849
|
return addLeadingSlash(basename + createURL(path));
|
|
@@ -1897,7 +1897,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1897
1897
|
function withRouter(Component) {
|
|
1898
1898
|
var displayName = "withRouter(" + (Component.displayName || Component.name) + ")";
|
|
1899
1899
|
var C2 = function C3(props) {
|
|
1900
|
-
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose$
|
|
1900
|
+
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose$6(props, ["wrappedComponentRef"]);
|
|
1901
1901
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
1902
1902
|
!context2 ? invariant$1(false) : void 0;
|
|
1903
1903
|
return /* @__PURE__ */ React__default.default.createElement(Component, _extends$4({}, remainingProps, context2, {
|
|
@@ -1982,7 +1982,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1982
1982
|
return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
|
|
1983
1983
|
}
|
|
1984
1984
|
var LinkAnchor = forwardRef$1(function(_ref2, forwardedRef) {
|
|
1985
|
-
var innerRef = _ref2.innerRef, navigate = _ref2.navigate, _onClick = _ref2.onClick, rest = _objectWithoutPropertiesLoose$
|
|
1985
|
+
var innerRef = _ref2.innerRef, navigate = _ref2.navigate, _onClick = _ref2.onClick, rest = _objectWithoutPropertiesLoose$6(_ref2, ["innerRef", "navigate", "onClick"]);
|
|
1986
1986
|
var target = rest.target;
|
|
1987
1987
|
var props = _extends$4({}, rest, {
|
|
1988
1988
|
onClick: function onClick(event) {
|
|
@@ -2007,7 +2007,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2007
2007
|
return /* @__PURE__ */ React__default.default.createElement("a", props);
|
|
2008
2008
|
});
|
|
2009
2009
|
var Link = forwardRef$1(function(_ref2, forwardedRef) {
|
|
2010
|
-
var _ref2$component = _ref2.component, component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, replace2 = _ref2.replace, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$
|
|
2010
|
+
var _ref2$component = _ref2.component, component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, replace2 = _ref2.replace, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$6(_ref2, ["component", "replace", "to", "innerRef"]);
|
|
2011
2011
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
2012
2012
|
!context2 ? invariant$1(false) : void 0;
|
|
2013
2013
|
var history2 = context2.history;
|
|
@@ -2046,7 +2046,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2046
2046
|
}).join(" ");
|
|
2047
2047
|
}
|
|
2048
2048
|
var NavLink = forwardRef$1$1(function(_ref2, forwardedRef) {
|
|
2049
|
-
var _ref$ariaCurrent = _ref2["aria-current"], ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, _ref$activeClassName = _ref2.activeClassName, activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, activeStyle = _ref2.activeStyle, classNameProp = _ref2.className, exact = _ref2.exact, isActiveProp = _ref2.isActive, locationProp = _ref2.location, sensitive = _ref2.sensitive, strict = _ref2.strict, styleProp = _ref2.style, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$
|
|
2049
|
+
var _ref$ariaCurrent = _ref2["aria-current"], ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, _ref$activeClassName = _ref2.activeClassName, activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, activeStyle = _ref2.activeStyle, classNameProp = _ref2.className, exact = _ref2.exact, isActiveProp = _ref2.isActive, locationProp = _ref2.location, sensitive = _ref2.sensitive, strict = _ref2.strict, styleProp = _ref2.style, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$6(_ref2, ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive", "location", "sensitive", "strict", "style", "to", "innerRef"]);
|
|
2050
2050
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
2051
2051
|
!context2 ? invariant$1(false) : void 0;
|
|
2052
2052
|
var currentLocation = locationProp || context2.location;
|
|
@@ -2124,7 +2124,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2124
2124
|
throw Recoil_err$2(message !== null && message !== void 0 ? message : "Got unexpected null or undefined");
|
|
2125
2125
|
}
|
|
2126
2126
|
var Recoil_nullthrows$1 = nullthrows$1;
|
|
2127
|
-
function _defineProperty$
|
|
2127
|
+
function _defineProperty$a(obj, key, value) {
|
|
2128
2128
|
if (key in obj) {
|
|
2129
2129
|
Object.defineProperty(obj, key, {
|
|
2130
2130
|
value,
|
|
@@ -2172,8 +2172,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2172
2172
|
class ValueLoadable extends BaseLoadable {
|
|
2173
2173
|
constructor(value) {
|
|
2174
2174
|
super();
|
|
2175
|
-
_defineProperty$
|
|
2176
|
-
_defineProperty$
|
|
2175
|
+
_defineProperty$a(this, "state", "hasValue");
|
|
2176
|
+
_defineProperty$a(this, "contents", void 0);
|
|
2177
2177
|
this.contents = value;
|
|
2178
2178
|
}
|
|
2179
2179
|
getValue() {
|
|
@@ -2206,8 +2206,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2206
2206
|
class ErrorLoadable extends BaseLoadable {
|
|
2207
2207
|
constructor(error) {
|
|
2208
2208
|
super();
|
|
2209
|
-
_defineProperty$
|
|
2210
|
-
_defineProperty$
|
|
2209
|
+
_defineProperty$a(this, "state", "hasError");
|
|
2210
|
+
_defineProperty$a(this, "contents", void 0);
|
|
2211
2211
|
this.contents = error;
|
|
2212
2212
|
}
|
|
2213
2213
|
getValue() {
|
|
@@ -2235,8 +2235,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2235
2235
|
class LoadingLoadable extends BaseLoadable {
|
|
2236
2236
|
constructor(promise) {
|
|
2237
2237
|
super();
|
|
2238
|
-
_defineProperty$
|
|
2239
|
-
_defineProperty$
|
|
2238
|
+
_defineProperty$a(this, "state", "loading");
|
|
2239
|
+
_defineProperty$a(this, "contents", void 0);
|
|
2240
2240
|
this.contents = promise;
|
|
2241
2241
|
}
|
|
2242
2242
|
getValue() {
|
|
@@ -2470,7 +2470,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2470
2470
|
};
|
|
2471
2471
|
class AbstractRecoilValue {
|
|
2472
2472
|
constructor(newKey) {
|
|
2473
|
-
_defineProperty$
|
|
2473
|
+
_defineProperty$a(this, "key", void 0);
|
|
2474
2474
|
this.key = newKey;
|
|
2475
2475
|
}
|
|
2476
2476
|
toJSON() {
|
|
@@ -3208,7 +3208,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3208
3208
|
});
|
|
3209
3209
|
class BuiltInMap {
|
|
3210
3210
|
constructor(existing) {
|
|
3211
|
-
_defineProperty$
|
|
3211
|
+
_defineProperty$a(this, "_map", void 0);
|
|
3212
3212
|
this._map = new Map(existing === null || existing === void 0 ? void 0 : existing.entries());
|
|
3213
3213
|
}
|
|
3214
3214
|
keys() {
|
|
@@ -3240,7 +3240,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3240
3240
|
}
|
|
3241
3241
|
class HashArrayMappedTrieMap {
|
|
3242
3242
|
constructor(existing) {
|
|
3243
|
-
_defineProperty$
|
|
3243
|
+
_defineProperty$a(this, "_hamt", hamt_1.empty.beginMutation());
|
|
3244
3244
|
if (existing instanceof HashArrayMappedTrieMap) {
|
|
3245
3245
|
const h2 = existing._hamt.endMutation();
|
|
3246
3246
|
existing._hamt = h2.beginMutation();
|
|
@@ -4305,17 +4305,17 @@ var __publicField = (obj, key, value) => {
|
|
|
4305
4305
|
} = Recoil_Memoize;
|
|
4306
4306
|
class Snapshot {
|
|
4307
4307
|
constructor(storeState, parentStoreID) {
|
|
4308
|
-
_defineProperty$
|
|
4309
|
-
_defineProperty$
|
|
4310
|
-
_defineProperty$
|
|
4308
|
+
_defineProperty$a(this, "_store", void 0);
|
|
4309
|
+
_defineProperty$a(this, "_refCount", 1);
|
|
4310
|
+
_defineProperty$a(this, "getLoadable", (recoilValue) => {
|
|
4311
4311
|
this.checkRefCount_INTERNAL();
|
|
4312
4312
|
return getRecoilValueAsLoadable$1(this._store, recoilValue);
|
|
4313
4313
|
});
|
|
4314
|
-
_defineProperty$
|
|
4314
|
+
_defineProperty$a(this, "getPromise", (recoilValue) => {
|
|
4315
4315
|
this.checkRefCount_INTERNAL();
|
|
4316
4316
|
return this.getLoadable(recoilValue).toPromise();
|
|
4317
4317
|
});
|
|
4318
|
-
_defineProperty$
|
|
4318
|
+
_defineProperty$a(this, "getNodes_UNSTABLE", (opt) => {
|
|
4319
4319
|
this.checkRefCount_INTERNAL();
|
|
4320
4320
|
if ((opt === null || opt === void 0 ? void 0 : opt.isModified) === true) {
|
|
4321
4321
|
if ((opt === null || opt === void 0 ? void 0 : opt.isInitialized) === false) {
|
|
@@ -4330,19 +4330,19 @@ var __publicField = (obj, key, value) => {
|
|
|
4330
4330
|
key
|
|
4331
4331
|
}) => !knownAtoms.has(key) && !knownSelectors.has(key));
|
|
4332
4332
|
});
|
|
4333
|
-
_defineProperty$
|
|
4333
|
+
_defineProperty$a(this, "getInfo_UNSTABLE", ({
|
|
4334
4334
|
key
|
|
4335
4335
|
}) => {
|
|
4336
4336
|
this.checkRefCount_INTERNAL();
|
|
4337
4337
|
return peekNodeInfo$1(this._store, this._store.getState().currentTree, key);
|
|
4338
4338
|
});
|
|
4339
|
-
_defineProperty$
|
|
4339
|
+
_defineProperty$a(this, "map", (mapper) => {
|
|
4340
4340
|
this.checkRefCount_INTERNAL();
|
|
4341
4341
|
const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);
|
|
4342
4342
|
mapper(mutableSnapshot);
|
|
4343
4343
|
return mutableSnapshot;
|
|
4344
4344
|
});
|
|
4345
|
-
_defineProperty$
|
|
4345
|
+
_defineProperty$a(this, "asyncMap", async (mapper) => {
|
|
4346
4346
|
this.checkRefCount_INTERNAL();
|
|
4347
4347
|
const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);
|
|
4348
4348
|
mutableSnapshot.retain();
|
|
@@ -4490,8 +4490,8 @@ var __publicField = (obj, key, value) => {
|
|
|
4490
4490
|
class MutableSnapshot extends Snapshot {
|
|
4491
4491
|
constructor(snapshot, batch) {
|
|
4492
4492
|
super(cloneStoreState(snapshot.getStore_INTERNAL(), snapshot.getStore_INTERNAL().getState().currentTree, true), snapshot.getStoreID());
|
|
4493
|
-
_defineProperty$
|
|
4494
|
-
_defineProperty$
|
|
4493
|
+
_defineProperty$a(this, "_batch", void 0);
|
|
4494
|
+
_defineProperty$a(this, "set", (recoilState, newValueOrUpdater) => {
|
|
4495
4495
|
this.checkRefCount_INTERNAL();
|
|
4496
4496
|
const store = this.getStore_INTERNAL();
|
|
4497
4497
|
this._batch(() => {
|
|
@@ -4499,7 +4499,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4499
4499
|
setRecoilValue$1(this.getStore_INTERNAL(), recoilState, newValueOrUpdater);
|
|
4500
4500
|
});
|
|
4501
4501
|
});
|
|
4502
|
-
_defineProperty$
|
|
4502
|
+
_defineProperty$a(this, "reset", (recoilState) => {
|
|
4503
4503
|
this.checkRefCount_INTERNAL();
|
|
4504
4504
|
const store = this.getStore_INTERNAL();
|
|
4505
4505
|
this._batch(() => {
|
|
@@ -4507,7 +4507,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4507
4507
|
setRecoilValue$1(this.getStore_INTERNAL(), recoilState, DEFAULT_VALUE$1$1);
|
|
4508
4508
|
});
|
|
4509
4509
|
});
|
|
4510
|
-
_defineProperty$
|
|
4510
|
+
_defineProperty$a(this, "setUnvalidatedAtomValues_DEPRECATED", (values) => {
|
|
4511
4511
|
this.checkRefCount_INTERNAL();
|
|
4512
4512
|
const store = this.getStore_INTERNAL();
|
|
4513
4513
|
batchUpdates$1(() => {
|
|
@@ -5622,10 +5622,10 @@ var __publicField = (obj, key, value) => {
|
|
|
5622
5622
|
}
|
|
5623
5623
|
class TransactionInterfaceImpl {
|
|
5624
5624
|
constructor(store, treeState) {
|
|
5625
|
-
_defineProperty$
|
|
5626
|
-
_defineProperty$
|
|
5627
|
-
_defineProperty$
|
|
5628
|
-
_defineProperty$
|
|
5625
|
+
_defineProperty$a(this, "_store", void 0);
|
|
5626
|
+
_defineProperty$a(this, "_treeState", void 0);
|
|
5627
|
+
_defineProperty$a(this, "_changes", void 0);
|
|
5628
|
+
_defineProperty$a(this, "get", (recoilValue) => {
|
|
5629
5629
|
if (this._changes.has(recoilValue.key)) {
|
|
5630
5630
|
return this._changes.get(recoilValue.key);
|
|
5631
5631
|
}
|
|
@@ -5641,7 +5641,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5641
5641
|
throw Recoil_err$2(`Expected Recoil atom ${recoilValue.key} to have a value, but it is in a loading state.`);
|
|
5642
5642
|
}
|
|
5643
5643
|
});
|
|
5644
|
-
_defineProperty$
|
|
5644
|
+
_defineProperty$a(this, "set", (recoilState, valueOrUpdater) => {
|
|
5645
5645
|
if (!isAtom(recoilState)) {
|
|
5646
5646
|
throw Recoil_err$2("Setting selectors within atomicUpdate is not supported");
|
|
5647
5647
|
}
|
|
@@ -5653,7 +5653,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5653
5653
|
this._changes.set(recoilState.key, valueOrUpdater);
|
|
5654
5654
|
}
|
|
5655
5655
|
});
|
|
5656
|
-
_defineProperty$
|
|
5656
|
+
_defineProperty$a(this, "reset", (recoilState) => {
|
|
5657
5657
|
this.set(recoilState, DEFAULT_VALUE$4);
|
|
5658
5658
|
});
|
|
5659
5659
|
this._store = store;
|
|
@@ -5818,7 +5818,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5818
5818
|
var Recoil_useRecoilTransaction = useRecoilTransaction;
|
|
5819
5819
|
class WrappedValue {
|
|
5820
5820
|
constructor(value) {
|
|
5821
|
-
_defineProperty$
|
|
5821
|
+
_defineProperty$a(this, "value", void 0);
|
|
5822
5822
|
this.value = value;
|
|
5823
5823
|
}
|
|
5824
5824
|
}
|
|
@@ -5838,12 +5838,12 @@ var __publicField = (obj, key, value) => {
|
|
|
5838
5838
|
class TreeCache {
|
|
5839
5839
|
constructor(options) {
|
|
5840
5840
|
var _options$onHit, _options$onSet, _options$mapNodeValue;
|
|
5841
|
-
_defineProperty$
|
|
5842
|
-
_defineProperty$
|
|
5843
|
-
_defineProperty$
|
|
5844
|
-
_defineProperty$
|
|
5845
|
-
_defineProperty$
|
|
5846
|
-
_defineProperty$
|
|
5841
|
+
_defineProperty$a(this, "_name", void 0);
|
|
5842
|
+
_defineProperty$a(this, "_numLeafs", void 0);
|
|
5843
|
+
_defineProperty$a(this, "_root", void 0);
|
|
5844
|
+
_defineProperty$a(this, "_onHit", void 0);
|
|
5845
|
+
_defineProperty$a(this, "_onSet", void 0);
|
|
5846
|
+
_defineProperty$a(this, "_mapNodeValue", void 0);
|
|
5847
5847
|
this._name = options === null || options === void 0 ? void 0 : options.name;
|
|
5848
5848
|
this._numLeafs = 0;
|
|
5849
5849
|
this._root = null;
|
|
@@ -5993,12 +5993,12 @@ var __publicField = (obj, key, value) => {
|
|
|
5993
5993
|
class LRUCache {
|
|
5994
5994
|
constructor(options) {
|
|
5995
5995
|
var _options$mapKey;
|
|
5996
|
-
_defineProperty$
|
|
5997
|
-
_defineProperty$
|
|
5998
|
-
_defineProperty$
|
|
5999
|
-
_defineProperty$
|
|
6000
|
-
_defineProperty$
|
|
6001
|
-
_defineProperty$
|
|
5996
|
+
_defineProperty$a(this, "_maxSize", void 0);
|
|
5997
|
+
_defineProperty$a(this, "_size", void 0);
|
|
5998
|
+
_defineProperty$a(this, "_head", void 0);
|
|
5999
|
+
_defineProperty$a(this, "_tail", void 0);
|
|
6000
|
+
_defineProperty$a(this, "_map", void 0);
|
|
6001
|
+
_defineProperty$a(this, "_keyMapper", void 0);
|
|
6002
6002
|
this._maxSize = options.maxSize;
|
|
6003
6003
|
this._size = 0;
|
|
6004
6004
|
this._head = null;
|
|
@@ -7087,8 +7087,8 @@ var __publicField = (obj, key, value) => {
|
|
|
7087
7087
|
class MapCache$4 {
|
|
7088
7088
|
constructor(options) {
|
|
7089
7089
|
var _options$mapKey;
|
|
7090
|
-
_defineProperty$
|
|
7091
|
-
_defineProperty$
|
|
7090
|
+
_defineProperty$a(this, "_map", void 0);
|
|
7091
|
+
_defineProperty$a(this, "_keyMapper", void 0);
|
|
7092
7092
|
this._map = /* @__PURE__ */ new Map();
|
|
7093
7093
|
this._keyMapper = (_options$mapKey = options === null || options === void 0 ? void 0 : options.mapKey) !== null && _options$mapKey !== void 0 ? _options$mapKey : (v2) => v2;
|
|
7094
7094
|
}
|
|
@@ -10566,7 +10566,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10566
10566
|
return proxy;
|
|
10567
10567
|
}
|
|
10568
10568
|
var Recoil_lazyProxy = lazyProxy;
|
|
10569
|
-
function _defineProperty$
|
|
10569
|
+
function _defineProperty$9(obj, key, value) {
|
|
10570
10570
|
if (key in obj) {
|
|
10571
10571
|
Object.defineProperty(obj, key, {
|
|
10572
10572
|
value,
|
|
@@ -10624,9 +10624,9 @@ var __publicField = (obj, key, value) => {
|
|
|
10624
10624
|
}
|
|
10625
10625
|
class Registries {
|
|
10626
10626
|
constructor() {
|
|
10627
|
-
_defineProperty$
|
|
10628
|
-
_defineProperty$
|
|
10629
|
-
_defineProperty$
|
|
10627
|
+
_defineProperty$9(this, "atomRegistries", /* @__PURE__ */ new Map());
|
|
10628
|
+
_defineProperty$9(this, "nextEffectKey", 0);
|
|
10629
|
+
_defineProperty$9(this, "storageRegistries", /* @__PURE__ */ new Map());
|
|
10630
10630
|
}
|
|
10631
10631
|
getAtomRegistry(recoilStoreID, externalStoreKey) {
|
|
10632
10632
|
if (!this.atomRegistries.has(recoilStoreID)) {
|
|
@@ -11011,8 +11011,8 @@ var __publicField = (obj, key, value) => {
|
|
|
11011
11011
|
};
|
|
11012
11012
|
class Path$5 {
|
|
11013
11013
|
constructor(parent = null, field = "<root>") {
|
|
11014
|
-
_defineProperty$
|
|
11015
|
-
_defineProperty$
|
|
11014
|
+
_defineProperty$9(this, "parent", void 0);
|
|
11015
|
+
_defineProperty$9(this, "field", void 0);
|
|
11016
11016
|
this.parent = parent;
|
|
11017
11017
|
this.field = field;
|
|
11018
11018
|
}
|
|
@@ -11147,7 +11147,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11147
11147
|
}
|
|
11148
11148
|
class OptionalProperty$1 {
|
|
11149
11149
|
constructor(checker) {
|
|
11150
|
-
_defineProperty$
|
|
11150
|
+
_defineProperty$9(this, "checker", void 0);
|
|
11151
11151
|
this.checker = checker;
|
|
11152
11152
|
}
|
|
11153
11153
|
}
|
|
@@ -12146,18 +12146,18 @@ var __publicField = (obj, key, value) => {
|
|
|
12146
12146
|
}
|
|
12147
12147
|
})(jsxRuntime);
|
|
12148
12148
|
var Collapse$2 = {};
|
|
12149
|
-
function _typeof$
|
|
12149
|
+
function _typeof$4(obj) {
|
|
12150
12150
|
"@babel/helpers - typeof";
|
|
12151
12151
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
12152
|
-
_typeof$
|
|
12152
|
+
_typeof$4 = function _typeof2(obj2) {
|
|
12153
12153
|
return typeof obj2;
|
|
12154
12154
|
};
|
|
12155
12155
|
} else {
|
|
12156
|
-
_typeof$
|
|
12156
|
+
_typeof$4 = function _typeof2(obj2) {
|
|
12157
12157
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
12158
12158
|
};
|
|
12159
12159
|
}
|
|
12160
|
-
return _typeof$
|
|
12160
|
+
return _typeof$4(obj);
|
|
12161
12161
|
}
|
|
12162
12162
|
Object.defineProperty(Collapse$2, "__esModule", {
|
|
12163
12163
|
value: true
|
|
@@ -12218,7 +12218,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12218
12218
|
};
|
|
12219
12219
|
}
|
|
12220
12220
|
function _possibleConstructorReturn$3(self2, call) {
|
|
12221
|
-
if (call && (_typeof$
|
|
12221
|
+
if (call && (_typeof$4(call) === "object" || typeof call === "function")) {
|
|
12222
12222
|
return call;
|
|
12223
12223
|
} else if (call !== void 0) {
|
|
12224
12224
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -12252,7 +12252,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12252
12252
|
};
|
|
12253
12253
|
return _getPrototypeOf$4(o2);
|
|
12254
12254
|
}
|
|
12255
|
-
function _defineProperty$
|
|
12255
|
+
function _defineProperty$8(obj, key, value) {
|
|
12256
12256
|
if (key in obj) {
|
|
12257
12257
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
12258
12258
|
} else {
|
|
@@ -12267,10 +12267,10 @@ var __publicField = (obj, key, value) => {
|
|
|
12267
12267
|
var _this;
|
|
12268
12268
|
_classCallCheck$4(this, Collapse2);
|
|
12269
12269
|
_this = _super.call(this, props);
|
|
12270
|
-
_defineProperty$
|
|
12271
|
-
_defineProperty$
|
|
12272
|
-
_defineProperty$
|
|
12273
|
-
_defineProperty$
|
|
12270
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "timeout", void 0);
|
|
12271
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "container", void 0);
|
|
12272
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "content", void 0);
|
|
12273
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "onResize", function() {
|
|
12274
12274
|
clearTimeout(_this.timeout);
|
|
12275
12275
|
if (!_this.container || !_this.content) {
|
|
12276
12276
|
return;
|
|
@@ -12301,7 +12301,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12301
12301
|
}, checkTimeout);
|
|
12302
12302
|
}
|
|
12303
12303
|
});
|
|
12304
|
-
_defineProperty$
|
|
12304
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "onRest", function(_ref2) {
|
|
12305
12305
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
12306
12306
|
if (!_this.container || !_this.content) {
|
|
12307
12307
|
return;
|
|
@@ -12323,7 +12323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12323
12323
|
}
|
|
12324
12324
|
}
|
|
12325
12325
|
});
|
|
12326
|
-
_defineProperty$
|
|
12326
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "onWork", function(_ref2) {
|
|
12327
12327
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
12328
12328
|
if (!_this.container || !_this.content) {
|
|
12329
12329
|
return;
|
|
@@ -12346,10 +12346,10 @@ var __publicField = (obj, key, value) => {
|
|
|
12346
12346
|
});
|
|
12347
12347
|
}
|
|
12348
12348
|
});
|
|
12349
|
-
_defineProperty$
|
|
12349
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "onRefContainer", function(container) {
|
|
12350
12350
|
_this.container = container;
|
|
12351
12351
|
});
|
|
12352
|
-
_defineProperty$
|
|
12352
|
+
_defineProperty$8(_assertThisInitialized$5(_this), "onRefContent", function(content) {
|
|
12353
12353
|
_this.content = content;
|
|
12354
12354
|
});
|
|
12355
12355
|
if (props.initialStyle) {
|
|
@@ -12418,7 +12418,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12418
12418
|
return Collapse2;
|
|
12419
12419
|
}(_react$1["default"].Component);
|
|
12420
12420
|
Collapse$2.Collapse = Collapse$1;
|
|
12421
|
-
_defineProperty$
|
|
12421
|
+
_defineProperty$8(Collapse$1, "defaultProps", {
|
|
12422
12422
|
theme: {
|
|
12423
12423
|
collapse: "ReactCollapse--collapse",
|
|
12424
12424
|
content: "ReactCollapse--content"
|
|
@@ -12429,18 +12429,18 @@ var __publicField = (obj, key, value) => {
|
|
|
12429
12429
|
checkTimeout: 50
|
|
12430
12430
|
});
|
|
12431
12431
|
var UnmountClosed$2 = {};
|
|
12432
|
-
function _typeof$
|
|
12432
|
+
function _typeof$3(obj) {
|
|
12433
12433
|
"@babel/helpers - typeof";
|
|
12434
12434
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
12435
|
-
_typeof$
|
|
12435
|
+
_typeof$3 = function _typeof2(obj2) {
|
|
12436
12436
|
return typeof obj2;
|
|
12437
12437
|
};
|
|
12438
12438
|
} else {
|
|
12439
|
-
_typeof$
|
|
12439
|
+
_typeof$3 = function _typeof2(obj2) {
|
|
12440
12440
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
12441
12441
|
};
|
|
12442
12442
|
}
|
|
12443
|
-
return _typeof$
|
|
12443
|
+
return _typeof$3(obj);
|
|
12444
12444
|
}
|
|
12445
12445
|
Object.defineProperty(UnmountClosed$2, "__esModule", {
|
|
12446
12446
|
value: true
|
|
@@ -12448,7 +12448,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12448
12448
|
UnmountClosed$2.UnmountClosed = void 0;
|
|
12449
12449
|
var _react = _interopRequireDefault(React__default.default);
|
|
12450
12450
|
var _Collapse = Collapse$2;
|
|
12451
|
-
var _excluded$
|
|
12451
|
+
var _excluded$4 = ["isOpened"], _excluded2 = ["isOpened"];
|
|
12452
12452
|
function _interopRequireDefault(obj) {
|
|
12453
12453
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
12454
12454
|
}
|
|
@@ -12466,7 +12466,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12466
12466
|
};
|
|
12467
12467
|
return _extends$2.apply(this, arguments);
|
|
12468
12468
|
}
|
|
12469
|
-
function ownKeys$
|
|
12469
|
+
function ownKeys$4(object2, enumerableOnly) {
|
|
12470
12470
|
var keys2 = Object.keys(object2);
|
|
12471
12471
|
if (Object.getOwnPropertySymbols) {
|
|
12472
12472
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -12483,23 +12483,23 @@ var __publicField = (obj, key, value) => {
|
|
|
12483
12483
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
12484
12484
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
12485
12485
|
if (i2 % 2) {
|
|
12486
|
-
ownKeys$
|
|
12487
|
-
_defineProperty$
|
|
12486
|
+
ownKeys$4(Object(source), true).forEach(function(key) {
|
|
12487
|
+
_defineProperty$7(target, key, source[key]);
|
|
12488
12488
|
});
|
|
12489
12489
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
12490
12490
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
12491
12491
|
} else {
|
|
12492
|
-
ownKeys$
|
|
12492
|
+
ownKeys$4(Object(source)).forEach(function(key) {
|
|
12493
12493
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
12494
12494
|
});
|
|
12495
12495
|
}
|
|
12496
12496
|
}
|
|
12497
12497
|
return target;
|
|
12498
12498
|
}
|
|
12499
|
-
function _objectWithoutProperties$
|
|
12499
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
12500
12500
|
if (source == null)
|
|
12501
12501
|
return {};
|
|
12502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
12502
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
12503
12503
|
var key, i2;
|
|
12504
12504
|
if (Object.getOwnPropertySymbols) {
|
|
12505
12505
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -12514,7 +12514,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12514
12514
|
}
|
|
12515
12515
|
return target;
|
|
12516
12516
|
}
|
|
12517
|
-
function _objectWithoutPropertiesLoose$
|
|
12517
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
12518
12518
|
if (source == null)
|
|
12519
12519
|
return {};
|
|
12520
12520
|
var target = {};
|
|
@@ -12579,7 +12579,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12579
12579
|
};
|
|
12580
12580
|
}
|
|
12581
12581
|
function _possibleConstructorReturn$2(self2, call) {
|
|
12582
|
-
if (call && (_typeof$
|
|
12582
|
+
if (call && (_typeof$3(call) === "object" || typeof call === "function")) {
|
|
12583
12583
|
return call;
|
|
12584
12584
|
} else if (call !== void 0) {
|
|
12585
12585
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -12613,7 +12613,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12613
12613
|
};
|
|
12614
12614
|
return _getPrototypeOf$3(o2);
|
|
12615
12615
|
}
|
|
12616
|
-
function _defineProperty$
|
|
12616
|
+
function _defineProperty$7(obj, key, value) {
|
|
12617
12617
|
if (key in obj) {
|
|
12618
12618
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
12619
12619
|
} else {
|
|
@@ -12628,8 +12628,8 @@ var __publicField = (obj, key, value) => {
|
|
|
12628
12628
|
var _this;
|
|
12629
12629
|
_classCallCheck$3(this, UnmountClosed2);
|
|
12630
12630
|
_this = _super.call(this, props);
|
|
12631
|
-
_defineProperty$
|
|
12632
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
12631
|
+
_defineProperty$7(_assertThisInitialized$4(_this), "onWork", function(_ref2) {
|
|
12632
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$2(_ref2, _excluded$4);
|
|
12633
12633
|
_this.setState({
|
|
12634
12634
|
isResting: false,
|
|
12635
12635
|
isOpened
|
|
@@ -12641,8 +12641,8 @@ var __publicField = (obj, key, value) => {
|
|
|
12641
12641
|
}, rest));
|
|
12642
12642
|
}
|
|
12643
12643
|
});
|
|
12644
|
-
_defineProperty$
|
|
12645
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
12644
|
+
_defineProperty$7(_assertThisInitialized$4(_this), "onRest", function(_ref2) {
|
|
12645
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$2(_ref2, _excluded2);
|
|
12646
12646
|
_this.setState({
|
|
12647
12647
|
isResting: true,
|
|
12648
12648
|
isOpened,
|
|
@@ -12655,7 +12655,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12655
12655
|
}, rest));
|
|
12656
12656
|
}
|
|
12657
12657
|
});
|
|
12658
|
-
_defineProperty$
|
|
12658
|
+
_defineProperty$7(_assertThisInitialized$4(_this), "getInitialStyle", function() {
|
|
12659
12659
|
var _this$state = _this.state, isOpened = _this$state.isOpened, isInitialRender = _this$state.isInitialRender;
|
|
12660
12660
|
if (isInitialRender) {
|
|
12661
12661
|
return isOpened ? {
|
|
@@ -12704,7 +12704,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12704
12704
|
return UnmountClosed2;
|
|
12705
12705
|
}(_react["default"].PureComponent);
|
|
12706
12706
|
UnmountClosed$2.UnmountClosed = UnmountClosed$1;
|
|
12707
|
-
_defineProperty$
|
|
12707
|
+
_defineProperty$7(UnmountClosed$1, "defaultProps", {
|
|
12708
12708
|
onWork: void 0,
|
|
12709
12709
|
onRest: void 0
|
|
12710
12710
|
});
|
|
@@ -12816,7 +12816,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12816
12816
|
iconName: "circle-xmark",
|
|
12817
12817
|
icon: [512, 512, [61532, "times-circle", "xmark-circle"], "f057", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
|
|
12818
12818
|
};
|
|
12819
|
-
function ownKeys$
|
|
12819
|
+
function ownKeys$3(object2, enumerableOnly) {
|
|
12820
12820
|
var keys2 = Object.keys(object2);
|
|
12821
12821
|
if (Object.getOwnPropertySymbols) {
|
|
12822
12822
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -12826,24 +12826,24 @@ var __publicField = (obj, key, value) => {
|
|
|
12826
12826
|
}
|
|
12827
12827
|
return keys2;
|
|
12828
12828
|
}
|
|
12829
|
-
function _objectSpread2$
|
|
12829
|
+
function _objectSpread2$2(target) {
|
|
12830
12830
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
12831
12831
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
12832
|
-
i2 % 2 ? ownKeys$
|
|
12833
|
-
_defineProperty$
|
|
12834
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
12832
|
+
i2 % 2 ? ownKeys$3(Object(source), true).forEach(function(key) {
|
|
12833
|
+
_defineProperty$6(target, key, source[key]);
|
|
12834
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function(key) {
|
|
12835
12835
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
12836
12836
|
});
|
|
12837
12837
|
}
|
|
12838
12838
|
return target;
|
|
12839
12839
|
}
|
|
12840
|
-
function _typeof$
|
|
12840
|
+
function _typeof$2(obj) {
|
|
12841
12841
|
"@babel/helpers - typeof";
|
|
12842
|
-
return _typeof$
|
|
12842
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
12843
12843
|
return typeof obj2;
|
|
12844
12844
|
} : function(obj2) {
|
|
12845
12845
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
12846
|
-
}, _typeof$
|
|
12846
|
+
}, _typeof$2(obj);
|
|
12847
12847
|
}
|
|
12848
12848
|
function _classCallCheck$2(instance, Constructor) {
|
|
12849
12849
|
if (!(instance instanceof Constructor)) {
|
|
@@ -12870,7 +12870,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12870
12870
|
});
|
|
12871
12871
|
return Constructor;
|
|
12872
12872
|
}
|
|
12873
|
-
function _defineProperty$
|
|
12873
|
+
function _defineProperty$6(obj, key, value) {
|
|
12874
12874
|
if (key in obj) {
|
|
12875
12875
|
Object.defineProperty(obj, key, {
|
|
12876
12876
|
value,
|
|
@@ -12884,20 +12884,20 @@ var __publicField = (obj, key, value) => {
|
|
|
12884
12884
|
return obj;
|
|
12885
12885
|
}
|
|
12886
12886
|
function _slicedToArray$3(arr, i2) {
|
|
12887
|
-
return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i2) || _unsupportedIterableToArray$
|
|
12887
|
+
return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i2) || _unsupportedIterableToArray$3(arr, i2) || _nonIterableRest$3();
|
|
12888
12888
|
}
|
|
12889
|
-
function _toConsumableArray$
|
|
12890
|
-
return _arrayWithoutHoles$
|
|
12889
|
+
function _toConsumableArray$3(arr) {
|
|
12890
|
+
return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$3(arr) || _nonIterableSpread$3();
|
|
12891
12891
|
}
|
|
12892
|
-
function _arrayWithoutHoles$
|
|
12892
|
+
function _arrayWithoutHoles$3(arr) {
|
|
12893
12893
|
if (Array.isArray(arr))
|
|
12894
|
-
return _arrayLikeToArray$
|
|
12894
|
+
return _arrayLikeToArray$3(arr);
|
|
12895
12895
|
}
|
|
12896
12896
|
function _arrayWithHoles$3(arr) {
|
|
12897
12897
|
if (Array.isArray(arr))
|
|
12898
12898
|
return arr;
|
|
12899
12899
|
}
|
|
12900
|
-
function _iterableToArray$
|
|
12900
|
+
function _iterableToArray$3(iter) {
|
|
12901
12901
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
12902
12902
|
return Array.from(iter);
|
|
12903
12903
|
}
|
|
@@ -12929,27 +12929,27 @@ var __publicField = (obj, key, value) => {
|
|
|
12929
12929
|
}
|
|
12930
12930
|
return _arr;
|
|
12931
12931
|
}
|
|
12932
|
-
function _unsupportedIterableToArray$
|
|
12932
|
+
function _unsupportedIterableToArray$3(o2, minLen) {
|
|
12933
12933
|
if (!o2)
|
|
12934
12934
|
return;
|
|
12935
12935
|
if (typeof o2 === "string")
|
|
12936
|
-
return _arrayLikeToArray$
|
|
12936
|
+
return _arrayLikeToArray$3(o2, minLen);
|
|
12937
12937
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
12938
12938
|
if (n2 === "Object" && o2.constructor)
|
|
12939
12939
|
n2 = o2.constructor.name;
|
|
12940
12940
|
if (n2 === "Map" || n2 === "Set")
|
|
12941
12941
|
return Array.from(o2);
|
|
12942
12942
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
12943
|
-
return _arrayLikeToArray$
|
|
12943
|
+
return _arrayLikeToArray$3(o2, minLen);
|
|
12944
12944
|
}
|
|
12945
|
-
function _arrayLikeToArray$
|
|
12945
|
+
function _arrayLikeToArray$3(arr, len) {
|
|
12946
12946
|
if (len == null || len > arr.length)
|
|
12947
12947
|
len = arr.length;
|
|
12948
12948
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
12949
12949
|
arr2[i2] = arr[i2];
|
|
12950
12950
|
return arr2;
|
|
12951
12951
|
}
|
|
12952
|
-
function _nonIterableSpread$
|
|
12952
|
+
function _nonIterableSpread$3() {
|
|
12953
12953
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12954
12954
|
}
|
|
12955
12955
|
function _nonIterableRest$3() {
|
|
@@ -12996,7 +12996,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12996
12996
|
var HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
|
|
12997
12997
|
var MUTATION_APPROACH_ASYNC = "async";
|
|
12998
12998
|
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
|
|
12999
|
-
var PRODUCTION$
|
|
12999
|
+
var PRODUCTION$1 = function() {
|
|
13000
13000
|
try {
|
|
13001
13001
|
return true;
|
|
13002
13002
|
} catch (e3) {
|
|
@@ -13013,7 +13013,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13013
13013
|
}
|
|
13014
13014
|
});
|
|
13015
13015
|
}
|
|
13016
|
-
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$
|
|
13016
|
+
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$6(_familyProxy, FAMILY_CLASSIC, {
|
|
13017
13017
|
"fa": "solid",
|
|
13018
13018
|
"fas": "solid",
|
|
13019
13019
|
"fa-solid": "solid",
|
|
@@ -13029,7 +13029,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13029
13029
|
"fa-brands": "brands",
|
|
13030
13030
|
"fak": "kit",
|
|
13031
13031
|
"fa-kit": "kit"
|
|
13032
|
-
}), _defineProperty$
|
|
13032
|
+
}), _defineProperty$6(_familyProxy, FAMILY_SHARP, {
|
|
13033
13033
|
"fa": "solid",
|
|
13034
13034
|
"fass": "solid",
|
|
13035
13035
|
"fa-solid": "solid",
|
|
@@ -13038,7 +13038,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13038
13038
|
"fasl": "light",
|
|
13039
13039
|
"fa-light": "light"
|
|
13040
13040
|
}), _familyProxy));
|
|
13041
|
-
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$
|
|
13041
|
+
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$6(_familyProxy2, FAMILY_CLASSIC, {
|
|
13042
13042
|
"solid": "fas",
|
|
13043
13043
|
"regular": "far",
|
|
13044
13044
|
"light": "fal",
|
|
@@ -13046,12 +13046,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13046
13046
|
"duotone": "fad",
|
|
13047
13047
|
"brands": "fab",
|
|
13048
13048
|
"kit": "fak"
|
|
13049
|
-
}), _defineProperty$
|
|
13049
|
+
}), _defineProperty$6(_familyProxy2, FAMILY_SHARP, {
|
|
13050
13050
|
"solid": "fass",
|
|
13051
13051
|
"regular": "fasr",
|
|
13052
13052
|
"light": "fasl"
|
|
13053
13053
|
}), _familyProxy2));
|
|
13054
|
-
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$
|
|
13054
|
+
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$6(_familyProxy3, FAMILY_CLASSIC, {
|
|
13055
13055
|
"fab": "fa-brands",
|
|
13056
13056
|
"fad": "fa-duotone",
|
|
13057
13057
|
"fak": "fa-kit",
|
|
@@ -13059,12 +13059,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13059
13059
|
"far": "fa-regular",
|
|
13060
13060
|
"fas": "fa-solid",
|
|
13061
13061
|
"fat": "fa-thin"
|
|
13062
|
-
}), _defineProperty$
|
|
13062
|
+
}), _defineProperty$6(_familyProxy3, FAMILY_SHARP, {
|
|
13063
13063
|
"fass": "fa-solid",
|
|
13064
13064
|
"fasr": "fa-regular",
|
|
13065
13065
|
"fasl": "fa-light"
|
|
13066
13066
|
}), _familyProxy3));
|
|
13067
|
-
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$
|
|
13067
|
+
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$6(_familyProxy4, FAMILY_CLASSIC, {
|
|
13068
13068
|
"fa-brands": "fab",
|
|
13069
13069
|
"fa-duotone": "fad",
|
|
13070
13070
|
"fa-kit": "fak",
|
|
@@ -13072,7 +13072,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13072
13072
|
"fa-regular": "far",
|
|
13073
13073
|
"fa-solid": "fas",
|
|
13074
13074
|
"fa-thin": "fat"
|
|
13075
|
-
}), _defineProperty$
|
|
13075
|
+
}), _defineProperty$6(_familyProxy4, FAMILY_SHARP, {
|
|
13076
13076
|
"fa-solid": "fass",
|
|
13077
13077
|
"fa-regular": "fasr",
|
|
13078
13078
|
"fa-light": "fasl"
|
|
@@ -13080,13 +13080,13 @@ var __publicField = (obj, key, value) => {
|
|
|
13080
13080
|
var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/;
|
|
13081
13081
|
var LAYERS_TEXT_CLASSNAME = "fa-layers-text";
|
|
13082
13082
|
var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i;
|
|
13083
|
-
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$
|
|
13083
|
+
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$6(_familyProxy5, FAMILY_CLASSIC, {
|
|
13084
13084
|
"900": "fas",
|
|
13085
13085
|
"400": "far",
|
|
13086
13086
|
"normal": "far",
|
|
13087
13087
|
"300": "fal",
|
|
13088
13088
|
"100": "fat"
|
|
13089
|
-
}), _defineProperty$
|
|
13089
|
+
}), _defineProperty$6(_familyProxy5, FAMILY_SHARP, {
|
|
13090
13090
|
"900": "fass",
|
|
13091
13091
|
"400": "fasr",
|
|
13092
13092
|
"300": "fasl"
|
|
@@ -13103,7 +13103,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13103
13103
|
var prefixes = /* @__PURE__ */ new Set();
|
|
13104
13104
|
Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
|
|
13105
13105
|
Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
|
|
13106
|
-
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$
|
|
13106
|
+
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$3(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) {
|
|
13107
13107
|
return "".concat(n2, "x");
|
|
13108
13108
|
})).concat(oneToTwenty.map(function(n2) {
|
|
13109
13109
|
return "w-".concat(n2);
|
|
@@ -13152,7 +13152,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13152
13152
|
if (initial.familyPrefix) {
|
|
13153
13153
|
initial.cssPrefix = initial.familyPrefix;
|
|
13154
13154
|
}
|
|
13155
|
-
var _config = _objectSpread2$
|
|
13155
|
+
var _config = _objectSpread2$2(_objectSpread2$2({}, _default$1), initial);
|
|
13156
13156
|
if (!_config.autoReplaceSvg)
|
|
13157
13157
|
_config.observeMutations = false;
|
|
13158
13158
|
var config$2 = {};
|
|
@@ -13456,7 +13456,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13456
13456
|
if (typeof namespace.hooks.addPack === "function" && !skipHooks) {
|
|
13457
13457
|
namespace.hooks.addPack(prefix2, normalizeIcons(icons));
|
|
13458
13458
|
} else {
|
|
13459
|
-
namespace.styles[prefix2] = _objectSpread2$
|
|
13459
|
+
namespace.styles[prefix2] = _objectSpread2$2(_objectSpread2$2({}, namespace.styles[prefix2] || {}), normalized);
|
|
13460
13460
|
}
|
|
13461
13461
|
if (prefix2 === "fas") {
|
|
13462
13462
|
defineIcons("fa", icons);
|
|
@@ -13464,14 +13464,14 @@ var __publicField = (obj, key, value) => {
|
|
|
13464
13464
|
}
|
|
13465
13465
|
var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
|
|
13466
13466
|
var styles = namespace.styles, shims = namespace.shims;
|
|
13467
|
-
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$
|
|
13467
|
+
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$6(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$6(_LONG_STYLE, FAMILY_SHARP, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _LONG_STYLE);
|
|
13468
13468
|
var _defaultUsablePrefix = null;
|
|
13469
13469
|
var _byUnicode = {};
|
|
13470
13470
|
var _byLigature = {};
|
|
13471
13471
|
var _byOldName = {};
|
|
13472
13472
|
var _byOldUnicode = {};
|
|
13473
13473
|
var _byAlias = {};
|
|
13474
|
-
var PREFIXES = (_PREFIXES = {}, _defineProperty$
|
|
13474
|
+
var PREFIXES = (_PREFIXES = {}, _defineProperty$6(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty$6(_PREFIXES, FAMILY_SHARP, Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP])), _PREFIXES);
|
|
13475
13475
|
function isReserved(name) {
|
|
13476
13476
|
return ~RESERVED_CLASSES.indexOf(name);
|
|
13477
13477
|
}
|
|
@@ -13607,12 +13607,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13607
13607
|
var defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null;
|
|
13608
13608
|
return prefix2 || defined || null;
|
|
13609
13609
|
}
|
|
13610
|
-
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$
|
|
13610
|
+
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$6(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$6(_PREFIXES_FOR_FAMILY, FAMILY_SHARP, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _PREFIXES_FOR_FAMILY);
|
|
13611
13611
|
function getCanonicalIcon(values) {
|
|
13612
13612
|
var _famProps;
|
|
13613
13613
|
var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
13614
13614
|
var _params$skipLookups = params.skipLookups, skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
|
|
13615
|
-
var famProps = (_famProps = {}, _defineProperty$
|
|
13615
|
+
var famProps = (_famProps = {}, _defineProperty$6(_famProps, FAMILY_CLASSIC, "".concat(config$2.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty$6(_famProps, FAMILY_SHARP, "".concat(config$2.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
|
|
13616
13616
|
var givenPrefix = null;
|
|
13617
13617
|
var family = FAMILY_CLASSIC;
|
|
13618
13618
|
if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function(v2) {
|
|
@@ -13684,7 +13684,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13684
13684
|
}
|
|
13685
13685
|
var additions = definitions.reduce(this._pullDefinitions, {});
|
|
13686
13686
|
Object.keys(additions).forEach(function(key) {
|
|
13687
|
-
_this.definitions[key] = _objectSpread2$
|
|
13687
|
+
_this.definitions[key] = _objectSpread2$2(_objectSpread2$2({}, _this.definitions[key] || {}), additions[key]);
|
|
13688
13688
|
defineIcons(key, additions[key]);
|
|
13689
13689
|
var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
|
|
13690
13690
|
if (longPrefix)
|
|
@@ -13741,7 +13741,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13741
13741
|
if (typeof mixout[tk] === "function") {
|
|
13742
13742
|
obj[tk] = mixout[tk];
|
|
13743
13743
|
}
|
|
13744
|
-
if (_typeof$
|
|
13744
|
+
if (_typeof$2(mixout[tk]) === "object") {
|
|
13745
13745
|
Object.keys(mixout[tk]).forEach(function(sk) {
|
|
13746
13746
|
if (!obj[tk]) {
|
|
13747
13747
|
obj[tk] = {};
|
|
@@ -13838,7 +13838,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13838
13838
|
if (_icon === null) {
|
|
13839
13839
|
return null;
|
|
13840
13840
|
}
|
|
13841
|
-
if (_typeof$
|
|
13841
|
+
if (_typeof$2(_icon) === "object" && _icon.prefix && _icon.iconName) {
|
|
13842
13842
|
return {
|
|
13843
13843
|
prefix: _icon.prefix,
|
|
13844
13844
|
iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
|
|
@@ -13917,7 +13917,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13917
13917
|
x: width / height / 2,
|
|
13918
13918
|
y: 0.5
|
|
13919
13919
|
};
|
|
13920
|
-
attributes["style"] = joinStyles(_objectSpread2$
|
|
13920
|
+
attributes["style"] = joinStyles(_objectSpread2$2(_objectSpread2$2({}, styles2), {}, {
|
|
13921
13921
|
"transform-origin": "".concat(offset2.x + transform.x / 16, "em ").concat(offset2.y + transform.y / 16, "em")
|
|
13922
13922
|
}));
|
|
13923
13923
|
}
|
|
@@ -13937,7 +13937,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13937
13937
|
},
|
|
13938
13938
|
children: [{
|
|
13939
13939
|
tag: "symbol",
|
|
13940
|
-
attributes: _objectSpread2$
|
|
13940
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, attributes), {}, {
|
|
13941
13941
|
id
|
|
13942
13942
|
}),
|
|
13943
13943
|
children
|
|
@@ -13955,7 +13955,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13955
13955
|
}).concat(extra.classes).join(" ");
|
|
13956
13956
|
var content = {
|
|
13957
13957
|
children: [],
|
|
13958
|
-
attributes: _objectSpread2$
|
|
13958
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, extra.attributes), {}, {
|
|
13959
13959
|
"data-prefix": prefix2,
|
|
13960
13960
|
"data-icon": iconName,
|
|
13961
13961
|
"class": attrClass,
|
|
@@ -13980,7 +13980,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13980
13980
|
});
|
|
13981
13981
|
delete content.attributes.title;
|
|
13982
13982
|
}
|
|
13983
|
-
var args = _objectSpread2$
|
|
13983
|
+
var args = _objectSpread2$2(_objectSpread2$2({}, content), {}, {
|
|
13984
13984
|
prefix: prefix2,
|
|
13985
13985
|
iconName,
|
|
13986
13986
|
main: main2,
|
|
@@ -13988,7 +13988,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13988
13988
|
maskId,
|
|
13989
13989
|
transform,
|
|
13990
13990
|
symbol,
|
|
13991
|
-
styles: _objectSpread2$
|
|
13991
|
+
styles: _objectSpread2$2(_objectSpread2$2({}, uploadedIconWidthStyle), extra.styles)
|
|
13992
13992
|
});
|
|
13993
13993
|
var _ref22 = mask.found && main2.found ? callProvided("generateAbstractMask", args) || {
|
|
13994
13994
|
children: [],
|
|
@@ -14007,7 +14007,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14007
14007
|
}
|
|
14008
14008
|
function makeLayersTextAbstract(params) {
|
|
14009
14009
|
var content = 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;
|
|
14010
|
-
var attributes = _objectSpread2$
|
|
14010
|
+
var attributes = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
14011
14011
|
"title": title
|
|
14012
14012
|
} : {}), {}, {
|
|
14013
14013
|
"class": extra.classes.join(" ")
|
|
@@ -14015,7 +14015,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14015
14015
|
if (watchable) {
|
|
14016
14016
|
attributes[DATA_FA_I2SVG] = "";
|
|
14017
14017
|
}
|
|
14018
|
-
var styles2 = _objectSpread2$
|
|
14018
|
+
var styles2 = _objectSpread2$2({}, extra.styles);
|
|
14019
14019
|
if (transformIsMeaningful(transform)) {
|
|
14020
14020
|
styles2["transform"] = transformForCss({
|
|
14021
14021
|
transform,
|
|
@@ -14048,7 +14048,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14048
14048
|
}
|
|
14049
14049
|
function makeLayersCounterAbstract(params) {
|
|
14050
14050
|
var content = params.content, title = params.title, extra = params.extra;
|
|
14051
|
-
var attributes = _objectSpread2$
|
|
14051
|
+
var attributes = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
14052
14052
|
"title": title
|
|
14053
14053
|
} : {}), {}, {
|
|
14054
14054
|
"class": extra.classes.join(" ")
|
|
@@ -14124,7 +14124,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14124
14124
|
height: 512
|
|
14125
14125
|
};
|
|
14126
14126
|
function maybeNotifyMissing(iconName, prefix2) {
|
|
14127
|
-
if (!PRODUCTION$
|
|
14127
|
+
if (!PRODUCTION$1 && !config$2.showMissingIcons && iconName) {
|
|
14128
14128
|
console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix2, '" is missing.'));
|
|
14129
14129
|
}
|
|
14130
14130
|
}
|
|
@@ -14150,7 +14150,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14150
14150
|
return resolve(asFoundIcon(icon2));
|
|
14151
14151
|
}
|
|
14152
14152
|
maybeNotifyMissing(iconName, prefix2);
|
|
14153
|
-
resolve(_objectSpread2$
|
|
14153
|
+
resolve(_objectSpread2$2(_objectSpread2$2({}, missingIconResolutionMixin), {}, {
|
|
14154
14154
|
icon: config$2.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
|
|
14155
14155
|
}));
|
|
14156
14156
|
});
|
|
@@ -14439,7 +14439,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14439
14439
|
var extraAttributes = attributesParser(node);
|
|
14440
14440
|
var pluginMeta = chainHooks("parseNodeAttributes", {}, node);
|
|
14441
14441
|
var extraStyles = parser.styleParser ? styleParser(node) : [];
|
|
14442
|
-
return _objectSpread2$
|
|
14442
|
+
return _objectSpread2$2({
|
|
14443
14443
|
iconName,
|
|
14444
14444
|
title: node.getAttribute("title"),
|
|
14445
14445
|
titleId: node.getAttribute("data-fa-title-id"),
|
|
@@ -14476,7 +14476,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14476
14476
|
});
|
|
14477
14477
|
Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
14478
14478
|
Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
14479
|
-
knownPrefixes = _toConsumableArray$
|
|
14479
|
+
knownPrefixes = _toConsumableArray$3(knownPrefixes);
|
|
14480
14480
|
function onTree(root2) {
|
|
14481
14481
|
var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
14482
14482
|
if (!IS_DOM)
|
|
@@ -14519,7 +14519,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14519
14519
|
acc.push(mutation);
|
|
14520
14520
|
}
|
|
14521
14521
|
} catch (e3) {
|
|
14522
|
-
if (!PRODUCTION$
|
|
14522
|
+
if (!PRODUCTION$1) {
|
|
14523
14523
|
if (e3.name === "MissingIcon") {
|
|
14524
14524
|
console.error(e3);
|
|
14525
14525
|
}
|
|
@@ -14560,7 +14560,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14560
14560
|
if (mask) {
|
|
14561
14561
|
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
|
14562
14562
|
}
|
|
14563
|
-
return next(iconDefinition, _objectSpread2$
|
|
14563
|
+
return next(iconDefinition, _objectSpread2$2(_objectSpread2$2({}, params), {}, {
|
|
14564
14564
|
mask
|
|
14565
14565
|
}));
|
|
14566
14566
|
};
|
|
@@ -14571,7 +14571,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14571
14571
|
if (!iconDefinition)
|
|
14572
14572
|
return;
|
|
14573
14573
|
var prefix2 = iconDefinition.prefix, iconName = iconDefinition.iconName, icon2 = iconDefinition.icon;
|
|
14574
|
-
return domVariants(_objectSpread2$
|
|
14574
|
+
return domVariants(_objectSpread2$2({
|
|
14575
14575
|
type: "icon"
|
|
14576
14576
|
}, iconDefinition), function() {
|
|
14577
14577
|
callHooks("beforeDOMElementCreation", {
|
|
@@ -14598,7 +14598,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14598
14598
|
},
|
|
14599
14599
|
prefix: prefix2,
|
|
14600
14600
|
iconName,
|
|
14601
|
-
transform: _objectSpread2$
|
|
14601
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
14602
14602
|
symbol,
|
|
14603
14603
|
title,
|
|
14604
14604
|
maskId,
|
|
@@ -14705,7 +14705,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14705
14705
|
return [{
|
|
14706
14706
|
tag: "span",
|
|
14707
14707
|
attributes: {
|
|
14708
|
-
class: ["".concat(config$2.cssPrefix, "-layers")].concat(_toConsumableArray$
|
|
14708
|
+
class: ["".concat(config$2.cssPrefix, "-layers")].concat(_toConsumableArray$3(classes)).join(" ")
|
|
14709
14709
|
},
|
|
14710
14710
|
children
|
|
14711
14711
|
}];
|
|
@@ -14734,7 +14734,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14734
14734
|
extra: {
|
|
14735
14735
|
attributes,
|
|
14736
14736
|
styles: styles2,
|
|
14737
|
-
classes: ["".concat(config$2.cssPrefix, "-layers-counter")].concat(_toConsumableArray$
|
|
14737
|
+
classes: ["".concat(config$2.cssPrefix, "-layers-counter")].concat(_toConsumableArray$3(classes))
|
|
14738
14738
|
}
|
|
14739
14739
|
});
|
|
14740
14740
|
});
|
|
@@ -14758,12 +14758,12 @@ var __publicField = (obj, key, value) => {
|
|
|
14758
14758
|
});
|
|
14759
14759
|
return makeLayersTextAbstract({
|
|
14760
14760
|
content,
|
|
14761
|
-
transform: _objectSpread2$
|
|
14761
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
14762
14762
|
title,
|
|
14763
14763
|
extra: {
|
|
14764
14764
|
attributes,
|
|
14765
14765
|
styles: styles2,
|
|
14766
|
-
classes: ["".concat(config$2.cssPrefix, "-layers-text")].concat(_toConsumableArray$
|
|
14766
|
+
classes: ["".concat(config$2.cssPrefix, "-layers-text")].concat(_toConsumableArray$3(classes))
|
|
14767
14767
|
}
|
|
14768
14768
|
});
|
|
14769
14769
|
});
|
|
@@ -14849,7 +14849,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14849
14849
|
var extra = meta.extra;
|
|
14850
14850
|
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position;
|
|
14851
14851
|
findIcon(iconName, prefix2).then(function(main2) {
|
|
14852
|
-
var _abstract = makeInlineSvgAbstract(_objectSpread2$
|
|
14852
|
+
var _abstract = makeInlineSvgAbstract(_objectSpread2$2(_objectSpread2$2({}, meta), {}, {
|
|
14853
14853
|
icons: {
|
|
14854
14854
|
main: main2,
|
|
14855
14855
|
mask: emptyCanonicalIcon()
|
|
@@ -15048,14 +15048,14 @@ var __publicField = (obj, key, value) => {
|
|
|
15048
15048
|
};
|
|
15049
15049
|
return {
|
|
15050
15050
|
tag: "g",
|
|
15051
|
-
attributes: _objectSpread2$
|
|
15051
|
+
attributes: _objectSpread2$2({}, operations.outer),
|
|
15052
15052
|
children: [{
|
|
15053
15053
|
tag: "g",
|
|
15054
|
-
attributes: _objectSpread2$
|
|
15054
|
+
attributes: _objectSpread2$2({}, operations.inner),
|
|
15055
15055
|
children: [{
|
|
15056
15056
|
tag: main2.icon.tag,
|
|
15057
15057
|
children: main2.icon.children,
|
|
15058
|
-
attributes: _objectSpread2$
|
|
15058
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, main2.icon.attributes), operations.path)
|
|
15059
15059
|
}]
|
|
15060
15060
|
}]
|
|
15061
15061
|
};
|
|
@@ -15111,7 +15111,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15111
15111
|
});
|
|
15112
15112
|
var maskRect = {
|
|
15113
15113
|
tag: "rect",
|
|
15114
|
-
attributes: _objectSpread2$
|
|
15114
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
15115
15115
|
fill: "white"
|
|
15116
15116
|
})
|
|
15117
15117
|
};
|
|
@@ -15120,22 +15120,22 @@ var __publicField = (obj, key, value) => {
|
|
|
15120
15120
|
} : {};
|
|
15121
15121
|
var maskInnerGroup = {
|
|
15122
15122
|
tag: "g",
|
|
15123
|
-
attributes: _objectSpread2$
|
|
15124
|
-
children: [fillBlack(_objectSpread2$
|
|
15123
|
+
attributes: _objectSpread2$2({}, trans.inner),
|
|
15124
|
+
children: [fillBlack(_objectSpread2$2({
|
|
15125
15125
|
tag: mainPath.tag,
|
|
15126
|
-
attributes: _objectSpread2$
|
|
15126
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, mainPath.attributes), trans.path)
|
|
15127
15127
|
}, maskInnerGroupChildrenMixin))]
|
|
15128
15128
|
};
|
|
15129
15129
|
var maskOuterGroup = {
|
|
15130
15130
|
tag: "g",
|
|
15131
|
-
attributes: _objectSpread2$
|
|
15131
|
+
attributes: _objectSpread2$2({}, trans.outer),
|
|
15132
15132
|
children: [maskInnerGroup]
|
|
15133
15133
|
};
|
|
15134
15134
|
var maskId = "mask-".concat(explicitMaskId || nextUniqueId());
|
|
15135
15135
|
var clipId = "clip-".concat(explicitMaskId || nextUniqueId());
|
|
15136
15136
|
var maskTag = {
|
|
15137
15137
|
tag: "mask",
|
|
15138
|
-
attributes: _objectSpread2$
|
|
15138
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
15139
15139
|
id: maskId,
|
|
15140
15140
|
maskUnits: "userSpaceOnUse",
|
|
15141
15141
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -15154,7 +15154,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15154
15154
|
};
|
|
15155
15155
|
children.push(defs, {
|
|
15156
15156
|
tag: "rect",
|
|
15157
|
-
attributes: _objectSpread2$
|
|
15157
|
+
attributes: _objectSpread2$2({
|
|
15158
15158
|
fill: "currentColor",
|
|
15159
15159
|
"clip-path": "url(#".concat(clipId, ")"),
|
|
15160
15160
|
mask: "url(#".concat(maskId, ")")
|
|
@@ -15185,16 +15185,16 @@ var __publicField = (obj, key, value) => {
|
|
|
15185
15185
|
};
|
|
15186
15186
|
gChildren.push({
|
|
15187
15187
|
tag: "path",
|
|
15188
|
-
attributes: _objectSpread2$
|
|
15188
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
15189
15189
|
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"
|
|
15190
15190
|
})
|
|
15191
15191
|
});
|
|
15192
|
-
var OPACITY_ANIMATE = _objectSpread2$
|
|
15192
|
+
var OPACITY_ANIMATE = _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
15193
15193
|
attributeName: "opacity"
|
|
15194
15194
|
});
|
|
15195
15195
|
var dot = {
|
|
15196
15196
|
tag: "circle",
|
|
15197
|
-
attributes: _objectSpread2$
|
|
15197
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
15198
15198
|
cx: "256",
|
|
15199
15199
|
cy: "364",
|
|
15200
15200
|
r: "28"
|
|
@@ -15204,13 +15204,13 @@ var __publicField = (obj, key, value) => {
|
|
|
15204
15204
|
if (!reduceMotion) {
|
|
15205
15205
|
dot.children.push({
|
|
15206
15206
|
tag: "animate",
|
|
15207
|
-
attributes: _objectSpread2$
|
|
15207
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
15208
15208
|
attributeName: "r",
|
|
15209
15209
|
values: "28;14;28;28;14;28;"
|
|
15210
15210
|
})
|
|
15211
15211
|
}, {
|
|
15212
15212
|
tag: "animate",
|
|
15213
|
-
attributes: _objectSpread2$
|
|
15213
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
15214
15214
|
values: "1;0;1;1;0;1;"
|
|
15215
15215
|
})
|
|
15216
15216
|
});
|
|
@@ -15218,13 +15218,13 @@ var __publicField = (obj, key, value) => {
|
|
|
15218
15218
|
gChildren.push(dot);
|
|
15219
15219
|
gChildren.push({
|
|
15220
15220
|
tag: "path",
|
|
15221
|
-
attributes: _objectSpread2$
|
|
15221
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
15222
15222
|
opacity: "1",
|
|
15223
15223
|
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"
|
|
15224
15224
|
}),
|
|
15225
15225
|
children: reduceMotion ? [] : [{
|
|
15226
15226
|
tag: "animate",
|
|
15227
|
-
attributes: _objectSpread2$
|
|
15227
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
15228
15228
|
values: "1;0;0;0;0;1;"
|
|
15229
15229
|
})
|
|
15230
15230
|
}]
|
|
@@ -15232,13 +15232,13 @@ var __publicField = (obj, key, value) => {
|
|
|
15232
15232
|
if (!reduceMotion) {
|
|
15233
15233
|
gChildren.push({
|
|
15234
15234
|
tag: "path",
|
|
15235
|
-
attributes: _objectSpread2$
|
|
15235
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
15236
15236
|
opacity: "0",
|
|
15237
15237
|
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"
|
|
15238
15238
|
}),
|
|
15239
15239
|
children: [{
|
|
15240
15240
|
tag: "animate",
|
|
15241
|
-
attributes: _objectSpread2$
|
|
15241
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
15242
15242
|
values: "0;0;1;1;0;0;"
|
|
15243
15243
|
})
|
|
15244
15244
|
}]
|
|
@@ -15281,7 +15281,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15281
15281
|
api.layer;
|
|
15282
15282
|
api.text;
|
|
15283
15283
|
api.counter;
|
|
15284
|
-
function ownKeys$
|
|
15284
|
+
function ownKeys$2(object2, enumerableOnly) {
|
|
15285
15285
|
var keys2 = Object.keys(object2);
|
|
15286
15286
|
if (Object.getOwnPropertySymbols) {
|
|
15287
15287
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -15291,26 +15291,26 @@ var __publicField = (obj, key, value) => {
|
|
|
15291
15291
|
}
|
|
15292
15292
|
return keys2;
|
|
15293
15293
|
}
|
|
15294
|
-
function _objectSpread2$
|
|
15294
|
+
function _objectSpread2$1(target) {
|
|
15295
15295
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
15296
15296
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
15297
|
-
i2 % 2 ? ownKeys$
|
|
15298
|
-
_defineProperty$
|
|
15299
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
15297
|
+
i2 % 2 ? ownKeys$2(Object(source), true).forEach(function(key) {
|
|
15298
|
+
_defineProperty$5(target, key, source[key]);
|
|
15299
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function(key) {
|
|
15300
15300
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15301
15301
|
});
|
|
15302
15302
|
}
|
|
15303
15303
|
return target;
|
|
15304
15304
|
}
|
|
15305
|
-
function _typeof$
|
|
15305
|
+
function _typeof$1(obj) {
|
|
15306
15306
|
"@babel/helpers - typeof";
|
|
15307
|
-
return _typeof$
|
|
15307
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
15308
15308
|
return typeof obj2;
|
|
15309
15309
|
} : function(obj2) {
|
|
15310
15310
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
15311
|
-
}, _typeof$
|
|
15311
|
+
}, _typeof$1(obj);
|
|
15312
15312
|
}
|
|
15313
|
-
function _defineProperty$
|
|
15313
|
+
function _defineProperty$5(obj, key, value) {
|
|
15314
15314
|
if (key in obj) {
|
|
15315
15315
|
Object.defineProperty(obj, key, {
|
|
15316
15316
|
value,
|
|
@@ -15323,7 +15323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15323
15323
|
}
|
|
15324
15324
|
return obj;
|
|
15325
15325
|
}
|
|
15326
|
-
function _objectWithoutPropertiesLoose$
|
|
15326
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
15327
15327
|
if (source == null)
|
|
15328
15328
|
return {};
|
|
15329
15329
|
var target = {};
|
|
@@ -15337,10 +15337,10 @@ var __publicField = (obj, key, value) => {
|
|
|
15337
15337
|
}
|
|
15338
15338
|
return target;
|
|
15339
15339
|
}
|
|
15340
|
-
function _objectWithoutProperties$
|
|
15340
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
15341
15341
|
if (source == null)
|
|
15342
15342
|
return {};
|
|
15343
|
-
var target = _objectWithoutPropertiesLoose$
|
|
15343
|
+
var target = _objectWithoutPropertiesLoose$4(source, excluded);
|
|
15344
15344
|
var key, i2;
|
|
15345
15345
|
if (Object.getOwnPropertySymbols) {
|
|
15346
15346
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -15355,41 +15355,41 @@ var __publicField = (obj, key, value) => {
|
|
|
15355
15355
|
}
|
|
15356
15356
|
return target;
|
|
15357
15357
|
}
|
|
15358
|
-
function _toConsumableArray$
|
|
15359
|
-
return _arrayWithoutHoles$
|
|
15358
|
+
function _toConsumableArray$2(arr) {
|
|
15359
|
+
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$2();
|
|
15360
15360
|
}
|
|
15361
|
-
function _arrayWithoutHoles$
|
|
15361
|
+
function _arrayWithoutHoles$2(arr) {
|
|
15362
15362
|
if (Array.isArray(arr))
|
|
15363
|
-
return _arrayLikeToArray$
|
|
15363
|
+
return _arrayLikeToArray$2(arr);
|
|
15364
15364
|
}
|
|
15365
|
-
function _iterableToArray$
|
|
15365
|
+
function _iterableToArray$2(iter) {
|
|
15366
15366
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
15367
15367
|
return Array.from(iter);
|
|
15368
15368
|
}
|
|
15369
|
-
function _unsupportedIterableToArray$
|
|
15369
|
+
function _unsupportedIterableToArray$2(o2, minLen) {
|
|
15370
15370
|
if (!o2)
|
|
15371
15371
|
return;
|
|
15372
15372
|
if (typeof o2 === "string")
|
|
15373
|
-
return _arrayLikeToArray$
|
|
15373
|
+
return _arrayLikeToArray$2(o2, minLen);
|
|
15374
15374
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
15375
15375
|
if (n2 === "Object" && o2.constructor)
|
|
15376
15376
|
n2 = o2.constructor.name;
|
|
15377
15377
|
if (n2 === "Map" || n2 === "Set")
|
|
15378
15378
|
return Array.from(o2);
|
|
15379
15379
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
15380
|
-
return _arrayLikeToArray$
|
|
15380
|
+
return _arrayLikeToArray$2(o2, minLen);
|
|
15381
15381
|
}
|
|
15382
|
-
function _arrayLikeToArray$
|
|
15382
|
+
function _arrayLikeToArray$2(arr, len) {
|
|
15383
15383
|
if (len == null || len > arr.length)
|
|
15384
15384
|
len = arr.length;
|
|
15385
15385
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
15386
15386
|
arr2[i2] = arr[i2];
|
|
15387
15387
|
return arr2;
|
|
15388
15388
|
}
|
|
15389
|
-
function _nonIterableSpread$
|
|
15389
|
+
function _nonIterableSpread$2() {
|
|
15390
15390
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15391
15391
|
}
|
|
15392
|
-
function classList
|
|
15392
|
+
function classList(props) {
|
|
15393
15393
|
var _classes;
|
|
15394
15394
|
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, listItem = props.listItem, flip2 = props.flip, size2 = props.size, rotation = props.rotation, pull = props.pull;
|
|
15395
15395
|
var classes = (_classes = {
|
|
@@ -15410,19 +15410,19 @@ var __publicField = (obj, key, value) => {
|
|
|
15410
15410
|
"fa-flip": flip2 === true,
|
|
15411
15411
|
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
15412
15412
|
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
15413
|
-
}, _defineProperty$
|
|
15413
|
+
}, _defineProperty$5(_classes, "fa-".concat(size2), typeof size2 !== "undefined" && size2 !== null), _defineProperty$5(_classes, "fa-rotate-".concat(rotation), typeof rotation !== "undefined" && rotation !== null && rotation !== 0), _defineProperty$5(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$5(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
15414
15414
|
return Object.keys(classes).map(function(key) {
|
|
15415
15415
|
return classes[key] ? key : null;
|
|
15416
15416
|
}).filter(function(key) {
|
|
15417
15417
|
return key;
|
|
15418
15418
|
});
|
|
15419
15419
|
}
|
|
15420
|
-
function _isNumerical
|
|
15420
|
+
function _isNumerical(obj) {
|
|
15421
15421
|
obj = obj - 0;
|
|
15422
15422
|
return obj === obj;
|
|
15423
15423
|
}
|
|
15424
|
-
function camelize
|
|
15425
|
-
if (_isNumerical
|
|
15424
|
+
function camelize(string2) {
|
|
15425
|
+
if (_isNumerical(string2)) {
|
|
15426
15426
|
return string2;
|
|
15427
15427
|
}
|
|
15428
15428
|
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
@@ -15430,30 +15430,30 @@ var __publicField = (obj, key, value) => {
|
|
|
15430
15430
|
});
|
|
15431
15431
|
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
15432
15432
|
}
|
|
15433
|
-
var _excluded
|
|
15434
|
-
function capitalize
|
|
15433
|
+
var _excluded = ["style"];
|
|
15434
|
+
function capitalize(val) {
|
|
15435
15435
|
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
15436
15436
|
}
|
|
15437
|
-
function styleToObject
|
|
15437
|
+
function styleToObject(style) {
|
|
15438
15438
|
return style.split(";").map(function(s) {
|
|
15439
15439
|
return s.trim();
|
|
15440
15440
|
}).filter(function(s) {
|
|
15441
15441
|
return s;
|
|
15442
15442
|
}).reduce(function(acc, pair) {
|
|
15443
15443
|
var i2 = pair.indexOf(":");
|
|
15444
|
-
var prop = camelize
|
|
15444
|
+
var prop = camelize(pair.slice(0, i2));
|
|
15445
15445
|
var value = pair.slice(i2 + 1).trim();
|
|
15446
|
-
prop.startsWith("webkit") ? acc[capitalize
|
|
15446
|
+
prop.startsWith("webkit") ? acc[capitalize(prop)] = value : acc[prop] = value;
|
|
15447
15447
|
return acc;
|
|
15448
15448
|
}, {});
|
|
15449
15449
|
}
|
|
15450
|
-
function convert
|
|
15450
|
+
function convert(createElement2, element) {
|
|
15451
15451
|
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
15452
15452
|
if (typeof element === "string") {
|
|
15453
15453
|
return element;
|
|
15454
15454
|
}
|
|
15455
15455
|
var children = (element.children || []).map(function(child) {
|
|
15456
|
-
return convert
|
|
15456
|
+
return convert(createElement2, child);
|
|
15457
15457
|
});
|
|
15458
15458
|
var mixins = Object.keys(element.attributes || {}).reduce(function(acc, key) {
|
|
15459
15459
|
var val = element.attributes[key];
|
|
@@ -15463,36 +15463,36 @@ var __publicField = (obj, key, value) => {
|
|
|
15463
15463
|
delete element.attributes["class"];
|
|
15464
15464
|
break;
|
|
15465
15465
|
case "style":
|
|
15466
|
-
acc.attrs["style"] = styleToObject
|
|
15466
|
+
acc.attrs["style"] = styleToObject(val);
|
|
15467
15467
|
break;
|
|
15468
15468
|
default:
|
|
15469
15469
|
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
15470
15470
|
acc.attrs[key.toLowerCase()] = val;
|
|
15471
15471
|
} else {
|
|
15472
|
-
acc.attrs[camelize
|
|
15472
|
+
acc.attrs[camelize(key)] = val;
|
|
15473
15473
|
}
|
|
15474
15474
|
}
|
|
15475
15475
|
return acc;
|
|
15476
15476
|
}, {
|
|
15477
15477
|
attrs: {}
|
|
15478
15478
|
});
|
|
15479
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$
|
|
15480
|
-
mixins.attrs["style"] = _objectSpread2$
|
|
15481
|
-
return createElement2.apply(void 0, [element.tag, _objectSpread2$
|
|
15479
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$1(extraProps, _excluded);
|
|
15480
|
+
mixins.attrs["style"] = _objectSpread2$1(_objectSpread2$1({}, mixins.attrs["style"]), existingStyle);
|
|
15481
|
+
return createElement2.apply(void 0, [element.tag, _objectSpread2$1(_objectSpread2$1({}, mixins.attrs), remaining)].concat(_toConsumableArray$2(children)));
|
|
15482
15482
|
}
|
|
15483
|
-
var PRODUCTION
|
|
15483
|
+
var PRODUCTION = false;
|
|
15484
15484
|
try {
|
|
15485
|
-
PRODUCTION
|
|
15485
|
+
PRODUCTION = true;
|
|
15486
15486
|
} catch (e3) {
|
|
15487
15487
|
}
|
|
15488
|
-
function log
|
|
15489
|
-
if (!PRODUCTION
|
|
15488
|
+
function log() {
|
|
15489
|
+
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
15490
15490
|
var _console;
|
|
15491
15491
|
(_console = console).error.apply(_console, arguments);
|
|
15492
15492
|
}
|
|
15493
15493
|
}
|
|
15494
|
-
function normalizeIconArgs
|
|
15495
|
-
if (icon2 && _typeof$
|
|
15494
|
+
function normalizeIconArgs(icon2) {
|
|
15495
|
+
if (icon2 && _typeof$1(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
15496
15496
|
return icon2;
|
|
15497
15497
|
}
|
|
15498
15498
|
if (parse$1$1.icon) {
|
|
@@ -15501,7 +15501,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15501
15501
|
if (icon2 === null) {
|
|
15502
15502
|
return null;
|
|
15503
15503
|
}
|
|
15504
|
-
if (icon2 && _typeof$
|
|
15504
|
+
if (icon2 && _typeof$1(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
15505
15505
|
return icon2;
|
|
15506
15506
|
}
|
|
15507
15507
|
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
@@ -15517,23 +15517,23 @@ var __publicField = (obj, key, value) => {
|
|
|
15517
15517
|
};
|
|
15518
15518
|
}
|
|
15519
15519
|
}
|
|
15520
|
-
function objectWithKey
|
|
15521
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$
|
|
15520
|
+
function objectWithKey(key, value) {
|
|
15521
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$5({}, key, value) : {};
|
|
15522
15522
|
}
|
|
15523
|
-
var FontAwesomeIcon
|
|
15523
|
+
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
15524
15524
|
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
15525
|
-
var iconLookup = normalizeIconArgs
|
|
15526
|
-
var classes = objectWithKey
|
|
15527
|
-
var transform = objectWithKey
|
|
15528
|
-
var mask = objectWithKey
|
|
15529
|
-
var renderedIcon = icon(iconLookup, _objectSpread2$
|
|
15525
|
+
var iconLookup = normalizeIconArgs(iconArgs);
|
|
15526
|
+
var classes = objectWithKey("classes", [].concat(_toConsumableArray$2(classList(props)), _toConsumableArray$2(className.split(" "))));
|
|
15527
|
+
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
15528
|
+
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
15529
|
+
var renderedIcon = icon(iconLookup, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, classes), transform), mask), {}, {
|
|
15530
15530
|
symbol,
|
|
15531
15531
|
title,
|
|
15532
15532
|
titleId,
|
|
15533
15533
|
maskId
|
|
15534
15534
|
}));
|
|
15535
15535
|
if (!renderedIcon) {
|
|
15536
|
-
log
|
|
15536
|
+
log("Could not find icon", iconLookup);
|
|
15537
15537
|
return null;
|
|
15538
15538
|
}
|
|
15539
15539
|
var abstract = renderedIcon.abstract;
|
|
@@ -15541,14 +15541,14 @@ var __publicField = (obj, key, value) => {
|
|
|
15541
15541
|
ref
|
|
15542
15542
|
};
|
|
15543
15543
|
Object.keys(props).forEach(function(key) {
|
|
15544
|
-
if (!FontAwesomeIcon
|
|
15544
|
+
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
15545
15545
|
extraProps[key] = props[key];
|
|
15546
15546
|
}
|
|
15547
15547
|
});
|
|
15548
|
-
return convertCurry
|
|
15548
|
+
return convertCurry(abstract[0], extraProps);
|
|
15549
15549
|
});
|
|
15550
|
-
FontAwesomeIcon
|
|
15551
|
-
FontAwesomeIcon
|
|
15550
|
+
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
15551
|
+
FontAwesomeIcon.propTypes = {
|
|
15552
15552
|
beat: propTypes.exports.bool,
|
|
15553
15553
|
border: propTypes.exports.bool,
|
|
15554
15554
|
beatFade: propTypes.exports.bool,
|
|
@@ -15577,7 +15577,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15577
15577
|
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
15578
15578
|
swapOpacity: propTypes.exports.bool
|
|
15579
15579
|
};
|
|
15580
|
-
FontAwesomeIcon
|
|
15580
|
+
FontAwesomeIcon.defaultProps = {
|
|
15581
15581
|
border: false,
|
|
15582
15582
|
className: "",
|
|
15583
15583
|
mask: null,
|
|
@@ -15605,7 +15605,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15605
15605
|
transform: null,
|
|
15606
15606
|
swapOpacity: false
|
|
15607
15607
|
};
|
|
15608
|
-
var convertCurry
|
|
15608
|
+
var convertCurry = convert.bind(null, React__default.default.createElement);
|
|
15609
15609
|
var Icon$3 = function(e3) {
|
|
15610
15610
|
var t2 = {};
|
|
15611
15611
|
function r2(n2) {
|
|
@@ -15727,7 +15727,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15727
15727
|
t2.default = d2;
|
|
15728
15728
|
}]);
|
|
15729
15729
|
const shouldForwardProp$6 = (prop) => !["asButton"].includes(prop);
|
|
15730
|
-
const StyledFAIcon = styled__default.default(FontAwesomeIcon
|
|
15730
|
+
const StyledFAIcon = styled__default.default(FontAwesomeIcon).withConfig({ shouldForwardProp: shouldForwardProp$6 })`
|
|
15731
15731
|
cursor: ${(props) => props.asButton ? "pointer" : "inherit"};
|
|
15732
15732
|
color: inherit;
|
|
15733
15733
|
${(props) => props.asButton ? `:hover { color: ${props.theme.colors.grey6}; }` : ""}
|
|
@@ -18743,7 +18743,7 @@ var __publicField = (obj, key, value) => {
|
|
|
18743
18743
|
setPreviousFilter(filterValue);
|
|
18744
18744
|
}, children: "Apply" })] });
|
|
18745
18745
|
}
|
|
18746
|
-
function _objectWithoutPropertiesLoose$
|
|
18746
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
18747
18747
|
if (source == null)
|
|
18748
18748
|
return {};
|
|
18749
18749
|
var target = {};
|
|
@@ -19500,7 +19500,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19500
19500
|
return noop$3;
|
|
19501
19501
|
};
|
|
19502
19502
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
19503
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
19503
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$3(_ref2, _excluded$3);
|
|
19504
19504
|
React$2.useEffect(function() {
|
|
19505
19505
|
if (isInitialMount || false) {
|
|
19506
19506
|
return;
|
|
@@ -20040,7 +20040,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20040
20040
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
20041
20041
|
_ref2.onKeyDown;
|
|
20042
20042
|
_ref2.onBlur;
|
|
20043
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
20043
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$3(_ref2, _excluded$2);
|
|
20044
20044
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20045
20045
|
_ref22.suppressRefError;
|
|
20046
20046
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -20056,7 +20056,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20056
20056
|
var _extends3;
|
|
20057
20057
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
20058
20058
|
_ref3.onPress;
|
|
20059
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
20059
|
+
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$3(_ref3, _excluded2$2);
|
|
20060
20060
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
20061
20061
|
_ref4.suppressRefError;
|
|
20062
20062
|
var latestState = latest.current.state;
|
|
@@ -20099,7 +20099,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20099
20099
|
var _extends4;
|
|
20100
20100
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
20101
20101
|
_ref5.onPress;
|
|
20102
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
20102
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$3(_ref5, _excluded3$1);
|
|
20103
20103
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
20104
20104
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
20105
20105
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -20561,7 +20561,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20561
20561
|
}, [elementIds]);
|
|
20562
20562
|
var getMenuProps = React$2.useCallback(function(_temp, _temp2) {
|
|
20563
20563
|
var _extends2;
|
|
20564
|
-
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$
|
|
20564
|
+
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$3(_ref2, _excluded$1);
|
|
20565
20565
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20566
20566
|
_ref22.suppressRefError;
|
|
20567
20567
|
return _extends$1((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
@@ -20576,7 +20576,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20576
20576
|
var _extends3, _ref4;
|
|
20577
20577
|
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;
|
|
20578
20578
|
_ref3.onPress;
|
|
20579
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
20579
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$3(_ref3, _excluded2$1);
|
|
20580
20580
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
20581
20581
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
20582
20582
|
var onSelectKey = "onClick";
|
|
@@ -20614,7 +20614,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20614
20614
|
var _extends4;
|
|
20615
20615
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
20616
20616
|
_ref5.onPress;
|
|
20617
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
20617
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$3(_ref5, _excluded3);
|
|
20618
20618
|
var latestState = latest.current.state;
|
|
20619
20619
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
20620
20620
|
dispatch2({
|
|
@@ -20631,7 +20631,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20631
20631
|
var _extends5;
|
|
20632
20632
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
20633
20633
|
_ref6.onChangeText;
|
|
20634
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
20634
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$3(_ref6, _excluded4);
|
|
20635
20635
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
20636
20636
|
_ref7.suppressRefError;
|
|
20637
20637
|
var latestState = latest.current.state;
|
|
@@ -24466,7 +24466,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24466
24466
|
tippy$1.setDefaultProps({
|
|
24467
24467
|
animation: false
|
|
24468
24468
|
});
|
|
24469
|
-
function _objectWithoutPropertiesLoose$
|
|
24469
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
24470
24470
|
if (source == null)
|
|
24471
24471
|
return {};
|
|
24472
24472
|
var target = {};
|
|
@@ -24563,7 +24563,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24563
24563
|
var children = _ref2.children, content = _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;
|
|
24564
24564
|
_ref2.__source;
|
|
24565
24565
|
_ref2.__self;
|
|
24566
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
24566
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$2(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
24567
24567
|
var isControlledMode = visible !== void 0;
|
|
24568
24568
|
var isSingletonMode = singleton !== void 0;
|
|
24569
24569
|
var _useState = React$2.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -24708,7 +24708,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24708
24708
|
}
|
|
24709
24709
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
24710
24710
|
return /* @__PURE__ */ React$2.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
24711
|
-
var children = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
24711
|
+
var children = _ref2.children, props = _objectWithoutPropertiesLoose$2(_ref2, ["children"]);
|
|
24712
24712
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children ? /* @__PURE__ */ React$2.cloneElement(children, {
|
|
24713
24713
|
ref: function ref(node) {
|
|
24714
24714
|
preserveRef(_ref22, node);
|
|
@@ -34801,13 +34801,13 @@ var __publicField = (obj, key, value) => {
|
|
|
34801
34801
|
})();
|
|
34802
34802
|
})(classnames);
|
|
34803
34803
|
const r = classnames.exports;
|
|
34804
|
-
function _typeof
|
|
34804
|
+
function _typeof(o2) {
|
|
34805
34805
|
"@babel/helpers - typeof";
|
|
34806
|
-
return _typeof
|
|
34806
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
34807
34807
|
return typeof o3;
|
|
34808
34808
|
} : function(o3) {
|
|
34809
34809
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
34810
|
-
}, _typeof
|
|
34810
|
+
}, _typeof(o2);
|
|
34811
34811
|
}
|
|
34812
34812
|
function requiredArgs(required, args) {
|
|
34813
34813
|
if (args.length < required) {
|
|
@@ -34816,12 +34816,12 @@ var __publicField = (obj, key, value) => {
|
|
|
34816
34816
|
}
|
|
34817
34817
|
function isDate$1(value) {
|
|
34818
34818
|
requiredArgs(1, arguments);
|
|
34819
|
-
return value instanceof Date || _typeof
|
|
34819
|
+
return value instanceof Date || _typeof(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
34820
34820
|
}
|
|
34821
34821
|
function toDate(argument) {
|
|
34822
34822
|
requiredArgs(1, arguments);
|
|
34823
34823
|
var argStr = Object.prototype.toString.call(argument);
|
|
34824
|
-
if (argument instanceof Date || _typeof
|
|
34824
|
+
if (argument instanceof Date || _typeof(argument) === "object" && argStr === "[object Date]") {
|
|
34825
34825
|
return new Date(argument.getTime());
|
|
34826
34826
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
34827
34827
|
return new Date(argument);
|
|
@@ -36521,7 +36521,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36521
36521
|
var datesArray;
|
|
36522
36522
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
36523
36523
|
datesArray = dirtyDatesArray;
|
|
36524
|
-
} else if (_typeof
|
|
36524
|
+
} else if (_typeof(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36525
36525
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
36526
36526
|
} else {
|
|
36527
36527
|
return new Date(NaN);
|
|
@@ -36540,7 +36540,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36540
36540
|
var datesArray;
|
|
36541
36541
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
36542
36542
|
datesArray = dirtyDatesArray;
|
|
36543
|
-
} else if (_typeof
|
|
36543
|
+
} else if (_typeof(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36544
36544
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
36545
36545
|
} else {
|
|
36546
36546
|
return new Date(NaN);
|
|
@@ -36665,30 +36665,30 @@ var __publicField = (obj, key, value) => {
|
|
|
36665
36665
|
}
|
|
36666
36666
|
return time >= startTime && time <= endTime;
|
|
36667
36667
|
}
|
|
36668
|
-
function _arrayLikeToArray$
|
|
36668
|
+
function _arrayLikeToArray$1(arr, len) {
|
|
36669
36669
|
if (len == null || len > arr.length)
|
|
36670
36670
|
len = arr.length;
|
|
36671
36671
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
36672
36672
|
arr2[i2] = arr[i2];
|
|
36673
36673
|
return arr2;
|
|
36674
36674
|
}
|
|
36675
|
-
function _unsupportedIterableToArray$
|
|
36675
|
+
function _unsupportedIterableToArray$1(o2, minLen) {
|
|
36676
36676
|
if (!o2)
|
|
36677
36677
|
return;
|
|
36678
36678
|
if (typeof o2 === "string")
|
|
36679
|
-
return _arrayLikeToArray$
|
|
36679
|
+
return _arrayLikeToArray$1(o2, minLen);
|
|
36680
36680
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
36681
36681
|
if (n2 === "Object" && o2.constructor)
|
|
36682
36682
|
n2 = o2.constructor.name;
|
|
36683
36683
|
if (n2 === "Map" || n2 === "Set")
|
|
36684
36684
|
return Array.from(o2);
|
|
36685
36685
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
36686
|
-
return _arrayLikeToArray$
|
|
36686
|
+
return _arrayLikeToArray$1(o2, minLen);
|
|
36687
36687
|
}
|
|
36688
36688
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
36689
36689
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
36690
36690
|
if (!it2) {
|
|
36691
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
36691
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
36692
36692
|
if (it2)
|
|
36693
36693
|
o2 = it2;
|
|
36694
36694
|
var i2 = 0;
|
|
@@ -36768,7 +36768,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36768
36768
|
_setPrototypeOf$2(subClass, superClass);
|
|
36769
36769
|
}
|
|
36770
36770
|
function _possibleConstructorReturn$1(self2, call) {
|
|
36771
|
-
if (call && (_typeof
|
|
36771
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
36772
36772
|
return call;
|
|
36773
36773
|
} else if (call !== void 0) {
|
|
36774
36774
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -36794,12 +36794,12 @@ var __publicField = (obj, key, value) => {
|
|
|
36794
36794
|
}
|
|
36795
36795
|
}
|
|
36796
36796
|
function _toPrimitive(input, hint) {
|
|
36797
|
-
if (_typeof
|
|
36797
|
+
if (_typeof(input) !== "object" || input === null)
|
|
36798
36798
|
return input;
|
|
36799
36799
|
var prim = input[Symbol.toPrimitive];
|
|
36800
36800
|
if (prim !== void 0) {
|
|
36801
36801
|
var res = prim.call(input, hint || "default");
|
|
36802
|
-
if (_typeof
|
|
36802
|
+
if (_typeof(res) !== "object")
|
|
36803
36803
|
return res;
|
|
36804
36804
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
36805
36805
|
}
|
|
@@ -36807,7 +36807,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36807
36807
|
}
|
|
36808
36808
|
function _toPropertyKey(arg) {
|
|
36809
36809
|
var key = _toPrimitive(arg, "string");
|
|
36810
|
-
return _typeof
|
|
36810
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
36811
36811
|
}
|
|
36812
36812
|
function _defineProperties$1(target, props) {
|
|
36813
36813
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -36829,7 +36829,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36829
36829
|
});
|
|
36830
36830
|
return Constructor;
|
|
36831
36831
|
}
|
|
36832
|
-
function _defineProperty$
|
|
36832
|
+
function _defineProperty$4(obj, key, value) {
|
|
36833
36833
|
key = _toPropertyKey(key);
|
|
36834
36834
|
if (key in obj) {
|
|
36835
36835
|
Object.defineProperty(obj, key, {
|
|
@@ -36847,8 +36847,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36847
36847
|
var Setter = /* @__PURE__ */ function() {
|
|
36848
36848
|
function Setter2() {
|
|
36849
36849
|
_classCallCheck$1(this, Setter2);
|
|
36850
|
-
_defineProperty$
|
|
36851
|
-
_defineProperty$
|
|
36850
|
+
_defineProperty$4(this, "priority", void 0);
|
|
36851
|
+
_defineProperty$4(this, "subPriority", 0);
|
|
36852
36852
|
}
|
|
36853
36853
|
_createClass$1(Setter2, [{
|
|
36854
36854
|
key: "validate",
|
|
@@ -36897,8 +36897,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36897
36897
|
args[_key] = arguments[_key];
|
|
36898
36898
|
}
|
|
36899
36899
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
36900
|
-
_defineProperty$
|
|
36901
|
-
_defineProperty$
|
|
36900
|
+
_defineProperty$4(_assertThisInitialized$3(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
36901
|
+
_defineProperty$4(_assertThisInitialized$3(_this2), "subPriority", -1);
|
|
36902
36902
|
return _this2;
|
|
36903
36903
|
}
|
|
36904
36904
|
_createClass$1(DateToSystemTimezoneSetter2, [{
|
|
@@ -36918,9 +36918,9 @@ var __publicField = (obj, key, value) => {
|
|
|
36918
36918
|
var Parser = /* @__PURE__ */ function() {
|
|
36919
36919
|
function Parser2() {
|
|
36920
36920
|
_classCallCheck$1(this, Parser2);
|
|
36921
|
-
_defineProperty$
|
|
36922
|
-
_defineProperty$
|
|
36923
|
-
_defineProperty$
|
|
36921
|
+
_defineProperty$4(this, "incompatibleTokens", void 0);
|
|
36922
|
+
_defineProperty$4(this, "priority", void 0);
|
|
36923
|
+
_defineProperty$4(this, "subPriority", void 0);
|
|
36924
36924
|
}
|
|
36925
36925
|
_createClass$1(Parser2, [{
|
|
36926
36926
|
key: "run",
|
|
@@ -36952,8 +36952,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36952
36952
|
args[_key] = arguments[_key];
|
|
36953
36953
|
}
|
|
36954
36954
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
36955
|
-
_defineProperty$
|
|
36956
|
-
_defineProperty$
|
|
36955
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 140);
|
|
36956
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
36957
36957
|
return _this;
|
|
36958
36958
|
}
|
|
36959
36959
|
_createClass$1(EraParser2, [{
|
|
@@ -37139,8 +37139,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37139
37139
|
args[_key] = arguments[_key];
|
|
37140
37140
|
}
|
|
37141
37141
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37142
|
-
_defineProperty$
|
|
37143
|
-
_defineProperty$
|
|
37142
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 130);
|
|
37143
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
37144
37144
|
return _this;
|
|
37145
37145
|
}
|
|
37146
37146
|
_createClass$1(YearParser2, [{
|
|
@@ -37196,8 +37196,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37196
37196
|
args[_key] = arguments[_key];
|
|
37197
37197
|
}
|
|
37198
37198
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37199
|
-
_defineProperty$
|
|
37200
|
-
_defineProperty$
|
|
37199
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 130);
|
|
37200
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
37201
37201
|
return _this;
|
|
37202
37202
|
}
|
|
37203
37203
|
_createClass$1(LocalWeekYearParser2, [{
|
|
@@ -37253,8 +37253,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37253
37253
|
args[_key] = arguments[_key];
|
|
37254
37254
|
}
|
|
37255
37255
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37256
|
-
_defineProperty$
|
|
37257
|
-
_defineProperty$
|
|
37256
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 130);
|
|
37257
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
37258
37258
|
return _this;
|
|
37259
37259
|
}
|
|
37260
37260
|
_createClass$1(ISOWeekYearParser2, [{
|
|
@@ -37286,8 +37286,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37286
37286
|
args[_key] = arguments[_key];
|
|
37287
37287
|
}
|
|
37288
37288
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37289
|
-
_defineProperty$
|
|
37290
|
-
_defineProperty$
|
|
37289
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 130);
|
|
37290
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
37291
37291
|
return _this;
|
|
37292
37292
|
}
|
|
37293
37293
|
_createClass$1(ExtendedYearParser2, [{
|
|
@@ -37318,8 +37318,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37318
37318
|
args[_key] = arguments[_key];
|
|
37319
37319
|
}
|
|
37320
37320
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37321
|
-
_defineProperty$
|
|
37322
|
-
_defineProperty$
|
|
37321
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 120);
|
|
37322
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
37323
37323
|
return _this;
|
|
37324
37324
|
}
|
|
37325
37325
|
_createClass$1(QuarterParser2, [{
|
|
@@ -37385,8 +37385,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37385
37385
|
args[_key] = arguments[_key];
|
|
37386
37386
|
}
|
|
37387
37387
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37388
|
-
_defineProperty$
|
|
37389
|
-
_defineProperty$
|
|
37388
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 120);
|
|
37389
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
37390
37390
|
return _this;
|
|
37391
37391
|
}
|
|
37392
37392
|
_createClass$1(StandAloneQuarterParser2, [{
|
|
@@ -37452,8 +37452,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37452
37452
|
args[_key] = arguments[_key];
|
|
37453
37453
|
}
|
|
37454
37454
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37455
|
-
_defineProperty$
|
|
37456
|
-
_defineProperty$
|
|
37455
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37456
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 110);
|
|
37457
37457
|
return _this;
|
|
37458
37458
|
}
|
|
37459
37459
|
_createClass$1(MonthParser2, [{
|
|
@@ -37523,8 +37523,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37523
37523
|
args[_key] = arguments[_key];
|
|
37524
37524
|
}
|
|
37525
37525
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37526
|
-
_defineProperty$
|
|
37527
|
-
_defineProperty$
|
|
37526
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 110);
|
|
37527
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37528
37528
|
return _this;
|
|
37529
37529
|
}
|
|
37530
37530
|
_createClass$1(StandAloneMonthParser2, [{
|
|
@@ -37602,8 +37602,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37602
37602
|
args[_key] = arguments[_key];
|
|
37603
37603
|
}
|
|
37604
37604
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37605
|
-
_defineProperty$
|
|
37606
|
-
_defineProperty$
|
|
37605
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 100);
|
|
37606
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
37607
37607
|
return _this;
|
|
37608
37608
|
}
|
|
37609
37609
|
_createClass$1(LocalWeekParser2, [{
|
|
@@ -37651,8 +37651,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37651
37651
|
args[_key] = arguments[_key];
|
|
37652
37652
|
}
|
|
37653
37653
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37654
|
-
_defineProperty$
|
|
37655
|
-
_defineProperty$
|
|
37654
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 100);
|
|
37655
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
37656
37656
|
return _this;
|
|
37657
37657
|
}
|
|
37658
37658
|
_createClass$1(ISOWeekParser2, [{
|
|
@@ -37694,9 +37694,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37694
37694
|
args[_key] = arguments[_key];
|
|
37695
37695
|
}
|
|
37696
37696
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37697
|
-
_defineProperty$
|
|
37698
|
-
_defineProperty$
|
|
37699
|
-
_defineProperty$
|
|
37697
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 90);
|
|
37698
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "subPriority", 1);
|
|
37699
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37700
37700
|
return _this;
|
|
37701
37701
|
}
|
|
37702
37702
|
_createClass$1(DateParser2, [{
|
|
@@ -37745,9 +37745,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37745
37745
|
args[_key] = arguments[_key];
|
|
37746
37746
|
}
|
|
37747
37747
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37748
|
-
_defineProperty$
|
|
37749
|
-
_defineProperty$
|
|
37750
|
-
_defineProperty$
|
|
37748
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 90);
|
|
37749
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "subpriority", 1);
|
|
37750
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
37751
37751
|
return _this;
|
|
37752
37752
|
}
|
|
37753
37753
|
_createClass$1(DayOfYearParser2, [{
|
|
@@ -37813,8 +37813,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37813
37813
|
args[_key] = arguments[_key];
|
|
37814
37814
|
}
|
|
37815
37815
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37816
|
-
_defineProperty$
|
|
37817
|
-
_defineProperty$
|
|
37816
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 90);
|
|
37817
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
37818
37818
|
return _this;
|
|
37819
37819
|
}
|
|
37820
37820
|
_createClass$1(DayParser2, [{
|
|
@@ -37889,8 +37889,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37889
37889
|
args[_key] = arguments[_key];
|
|
37890
37890
|
}
|
|
37891
37891
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37892
|
-
_defineProperty$
|
|
37893
|
-
_defineProperty$
|
|
37892
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 90);
|
|
37893
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
37894
37894
|
return _this;
|
|
37895
37895
|
}
|
|
37896
37896
|
_createClass$1(LocalDayParser2, [{
|
|
@@ -37974,8 +37974,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37974
37974
|
args[_key] = arguments[_key];
|
|
37975
37975
|
}
|
|
37976
37976
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37977
|
-
_defineProperty$
|
|
37978
|
-
_defineProperty$
|
|
37977
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 90);
|
|
37978
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
37979
37979
|
return _this;
|
|
37980
37980
|
}
|
|
37981
37981
|
_createClass$1(StandAloneLocalDayParser2, [{
|
|
@@ -38074,8 +38074,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38074
38074
|
args[_key] = arguments[_key];
|
|
38075
38075
|
}
|
|
38076
38076
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38077
|
-
_defineProperty$
|
|
38078
|
-
_defineProperty$
|
|
38077
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 90);
|
|
38078
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
38079
38079
|
return _this;
|
|
38080
38080
|
}
|
|
38081
38081
|
_createClass$1(ISODayParser2, [{
|
|
@@ -38161,8 +38161,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38161
38161
|
args[_key] = arguments[_key];
|
|
38162
38162
|
}
|
|
38163
38163
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38164
|
-
_defineProperty$
|
|
38165
|
-
_defineProperty$
|
|
38164
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 80);
|
|
38165
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
38166
38166
|
return _this;
|
|
38167
38167
|
}
|
|
38168
38168
|
_createClass$1(AMPMParser2, [{
|
|
@@ -38217,8 +38217,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38217
38217
|
args[_key] = arguments[_key];
|
|
38218
38218
|
}
|
|
38219
38219
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38220
|
-
_defineProperty$
|
|
38221
|
-
_defineProperty$
|
|
38220
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 80);
|
|
38221
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
38222
38222
|
return _this;
|
|
38223
38223
|
}
|
|
38224
38224
|
_createClass$1(AMPMMidnightParser2, [{
|
|
@@ -38273,8 +38273,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38273
38273
|
args[_key] = arguments[_key];
|
|
38274
38274
|
}
|
|
38275
38275
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38276
|
-
_defineProperty$
|
|
38277
|
-
_defineProperty$
|
|
38276
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 80);
|
|
38277
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
38278
38278
|
return _this;
|
|
38279
38279
|
}
|
|
38280
38280
|
_createClass$1(DayPeriodParser2, [{
|
|
@@ -38329,8 +38329,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38329
38329
|
args[_key] = arguments[_key];
|
|
38330
38330
|
}
|
|
38331
38331
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38332
|
-
_defineProperty$
|
|
38333
|
-
_defineProperty$
|
|
38332
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38333
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
38334
38334
|
return _this;
|
|
38335
38335
|
}
|
|
38336
38336
|
_createClass$1(Hour1to12Parser2, [{
|
|
@@ -38378,8 +38378,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38378
38378
|
args[_key] = arguments[_key];
|
|
38379
38379
|
}
|
|
38380
38380
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38381
|
-
_defineProperty$
|
|
38382
|
-
_defineProperty$
|
|
38381
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38382
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
38383
38383
|
return _this;
|
|
38384
38384
|
}
|
|
38385
38385
|
_createClass$1(Hour0to23Parser2, [{
|
|
@@ -38420,8 +38420,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38420
38420
|
args[_key] = arguments[_key];
|
|
38421
38421
|
}
|
|
38422
38422
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38423
|
-
_defineProperty$
|
|
38424
|
-
_defineProperty$
|
|
38423
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38424
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
38425
38425
|
return _this;
|
|
38426
38426
|
}
|
|
38427
38427
|
_createClass$1(Hour0To11Parser2, [{
|
|
@@ -38467,8 +38467,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38467
38467
|
args[_key] = arguments[_key];
|
|
38468
38468
|
}
|
|
38469
38469
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38470
|
-
_defineProperty$
|
|
38471
|
-
_defineProperty$
|
|
38470
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38471
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
38472
38472
|
return _this;
|
|
38473
38473
|
}
|
|
38474
38474
|
_createClass$1(Hour1To24Parser2, [{
|
|
@@ -38510,8 +38510,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38510
38510
|
args[_key] = arguments[_key];
|
|
38511
38511
|
}
|
|
38512
38512
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38513
|
-
_defineProperty$
|
|
38514
|
-
_defineProperty$
|
|
38513
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 60);
|
|
38514
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38515
38515
|
return _this;
|
|
38516
38516
|
}
|
|
38517
38517
|
_createClass$1(MinuteParser2, [{
|
|
@@ -38552,8 +38552,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38552
38552
|
args[_key] = arguments[_key];
|
|
38553
38553
|
}
|
|
38554
38554
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38555
|
-
_defineProperty$
|
|
38556
|
-
_defineProperty$
|
|
38555
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 50);
|
|
38556
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38557
38557
|
return _this;
|
|
38558
38558
|
}
|
|
38559
38559
|
_createClass$1(SecondParser2, [{
|
|
@@ -38594,8 +38594,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38594
38594
|
args[_key] = arguments[_key];
|
|
38595
38595
|
}
|
|
38596
38596
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38597
|
-
_defineProperty$
|
|
38598
|
-
_defineProperty$
|
|
38597
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 30);
|
|
38598
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38599
38599
|
return _this;
|
|
38600
38600
|
}
|
|
38601
38601
|
_createClass$1(FractionOfSecondParser2, [{
|
|
@@ -38625,8 +38625,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38625
38625
|
args[_key] = arguments[_key];
|
|
38626
38626
|
}
|
|
38627
38627
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38628
|
-
_defineProperty$
|
|
38629
|
-
_defineProperty$
|
|
38628
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 10);
|
|
38629
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
38630
38630
|
return _this;
|
|
38631
38631
|
}
|
|
38632
38632
|
_createClass$1(ISOTimezoneWithZParser2, [{
|
|
@@ -38667,8 +38667,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38667
38667
|
args[_key] = arguments[_key];
|
|
38668
38668
|
}
|
|
38669
38669
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38670
|
-
_defineProperty$
|
|
38671
|
-
_defineProperty$
|
|
38670
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 10);
|
|
38671
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
38672
38672
|
return _this;
|
|
38673
38673
|
}
|
|
38674
38674
|
_createClass$1(ISOTimezoneParser2, [{
|
|
@@ -38709,8 +38709,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38709
38709
|
args[_key] = arguments[_key];
|
|
38710
38710
|
}
|
|
38711
38711
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38712
|
-
_defineProperty$
|
|
38713
|
-
_defineProperty$
|
|
38712
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 40);
|
|
38713
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38714
38714
|
return _this;
|
|
38715
38715
|
}
|
|
38716
38716
|
_createClass$1(TimestampSecondsParser2, [{
|
|
@@ -38738,8 +38738,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38738
38738
|
args[_key] = arguments[_key];
|
|
38739
38739
|
}
|
|
38740
38740
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38741
|
-
_defineProperty$
|
|
38742
|
-
_defineProperty$
|
|
38741
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 20);
|
|
38742
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38743
38743
|
return _this;
|
|
38744
38744
|
}
|
|
38745
38745
|
_createClass$1(TimestampMillisecondsParser2, [{
|
|
@@ -38892,7 +38892,7 @@ var __publicField = (obj, key, value) => {
|
|
|
38892
38892
|
};
|
|
38893
38893
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
38894
38894
|
var _ret = _loop();
|
|
38895
|
-
if (_typeof
|
|
38895
|
+
if (_typeof(_ret) === "object")
|
|
38896
38896
|
return _ret.v;
|
|
38897
38897
|
}
|
|
38898
38898
|
} catch (err2) {
|
|
@@ -39142,7 +39142,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39142
39142
|
};
|
|
39143
39143
|
return _setPrototypeOf$1(o2, p2);
|
|
39144
39144
|
}
|
|
39145
|
-
function _objectWithoutPropertiesLoose$
|
|
39145
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
39146
39146
|
if (source == null)
|
|
39147
39147
|
return {};
|
|
39148
39148
|
var target = {};
|
|
@@ -39344,7 +39344,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39344
39344
|
_proto.render = function render2() {
|
|
39345
39345
|
var _this$props = this.props;
|
|
39346
39346
|
_this$props.excludeScrollbar;
|
|
39347
|
-
var props = _objectWithoutPropertiesLoose$
|
|
39347
|
+
var props = _objectWithoutPropertiesLoose$1(_this$props, ["excludeScrollbar"]);
|
|
39348
39348
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
39349
39349
|
props.ref = this.getRef;
|
|
39350
39350
|
} else {
|
|
@@ -42194,17 +42194,17 @@ var __publicField = (obj, key, value) => {
|
|
|
42194
42194
|
});
|
|
42195
42195
|
};
|
|
42196
42196
|
}
|
|
42197
|
-
function _toConsumableArray$
|
|
42198
|
-
return _arrayWithoutHoles$
|
|
42197
|
+
function _toConsumableArray$1(arr) {
|
|
42198
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _nonIterableSpread$1();
|
|
42199
42199
|
}
|
|
42200
|
-
function _nonIterableSpread$
|
|
42200
|
+
function _nonIterableSpread$1() {
|
|
42201
42201
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
42202
42202
|
}
|
|
42203
|
-
function _iterableToArray$
|
|
42203
|
+
function _iterableToArray$1(iter) {
|
|
42204
42204
|
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]")
|
|
42205
42205
|
return Array.from(iter);
|
|
42206
42206
|
}
|
|
42207
|
-
function _arrayWithoutHoles$
|
|
42207
|
+
function _arrayWithoutHoles$1(arr) {
|
|
42208
42208
|
if (Array.isArray(arr)) {
|
|
42209
42209
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
42210
42210
|
arr2[i2] = arr[i2];
|
|
@@ -42250,7 +42250,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42250
42250
|
if (Array.isArray(arr))
|
|
42251
42251
|
return arr;
|
|
42252
42252
|
}
|
|
42253
|
-
function ownKeys$
|
|
42253
|
+
function ownKeys$1(object2, enumerableOnly) {
|
|
42254
42254
|
var keys2 = Object.keys(object2);
|
|
42255
42255
|
if (Object.getOwnPropertySymbols) {
|
|
42256
42256
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -42266,20 +42266,20 @@ var __publicField = (obj, key, value) => {
|
|
|
42266
42266
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
42267
42267
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
42268
42268
|
if (i2 % 2) {
|
|
42269
|
-
ownKeys$
|
|
42270
|
-
_defineProperty$
|
|
42269
|
+
ownKeys$1(source, true).forEach(function(key) {
|
|
42270
|
+
_defineProperty$3(target, key, source[key]);
|
|
42271
42271
|
});
|
|
42272
42272
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
42273
42273
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
42274
42274
|
} else {
|
|
42275
|
-
ownKeys$
|
|
42275
|
+
ownKeys$1(source).forEach(function(key) {
|
|
42276
42276
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
42277
42277
|
});
|
|
42278
42278
|
}
|
|
42279
42279
|
}
|
|
42280
42280
|
return target;
|
|
42281
42281
|
}
|
|
42282
|
-
function _defineProperty$
|
|
42282
|
+
function _defineProperty$3(obj, key, value) {
|
|
42283
42283
|
if (key in obj) {
|
|
42284
42284
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
42285
42285
|
} else {
|
|
@@ -42287,10 +42287,10 @@ var __publicField = (obj, key, value) => {
|
|
|
42287
42287
|
}
|
|
42288
42288
|
return obj;
|
|
42289
42289
|
}
|
|
42290
|
-
function _objectWithoutProperties
|
|
42290
|
+
function _objectWithoutProperties(source, excluded) {
|
|
42291
42291
|
if (source == null)
|
|
42292
42292
|
return {};
|
|
42293
|
-
var target = _objectWithoutPropertiesLoose
|
|
42293
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
42294
42294
|
var key, i2;
|
|
42295
42295
|
if (Object.getOwnPropertySymbols) {
|
|
42296
42296
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -42305,7 +42305,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42305
42305
|
}
|
|
42306
42306
|
return target;
|
|
42307
42307
|
}
|
|
42308
|
-
function _objectWithoutPropertiesLoose
|
|
42308
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
42309
42309
|
if (source == null)
|
|
42310
42310
|
return {};
|
|
42311
42311
|
var target = {};
|
|
@@ -42320,8 +42320,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42320
42320
|
return target;
|
|
42321
42321
|
}
|
|
42322
42322
|
var Dropzone = React$2.forwardRef(function(_ref2, ref) {
|
|
42323
|
-
var children = _ref2.children, params = _objectWithoutProperties
|
|
42324
|
-
var _useDropzone = useDropzone(params), open2 = _useDropzone.open, props = _objectWithoutProperties
|
|
42323
|
+
var children = _ref2.children, params = _objectWithoutProperties(_ref2, ["children"]);
|
|
42324
|
+
var _useDropzone = useDropzone(params), open2 = _useDropzone.open, props = _objectWithoutProperties(_useDropzone, ["open"]);
|
|
42325
42325
|
React$2.useImperativeHandle(ref, function() {
|
|
42326
42326
|
return {
|
|
42327
42327
|
open: open2
|
|
@@ -42454,7 +42454,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42454
42454
|
event.preventDefault();
|
|
42455
42455
|
event.persist();
|
|
42456
42456
|
stopPropagation(event);
|
|
42457
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
42457
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$1(dragTargetsRef.current), [event.target]);
|
|
42458
42458
|
if (isEvtWithFiles(event)) {
|
|
42459
42459
|
Promise.resolve(getFilesFromEvent(event)).then(function(draggedFiles2) {
|
|
42460
42460
|
if (isPropagationStopped(event) && !noDragEventsBubbling) {
|
|
@@ -42582,8 +42582,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42582
42582
|
};
|
|
42583
42583
|
var getRootProps = React$2.useMemo(function() {
|
|
42584
42584
|
return function() {
|
|
42585
|
-
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
|
|
42586
|
-
return _objectSpread(_defineProperty$
|
|
42585
|
+
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(_ref3, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"]);
|
|
42586
|
+
return _objectSpread(_defineProperty$3({
|
|
42587
42587
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
42588
42588
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
42589
42589
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -42602,8 +42602,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42602
42602
|
}, []);
|
|
42603
42603
|
var getInputProps = React$2.useMemo(function() {
|
|
42604
42604
|
return function() {
|
|
42605
|
-
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
|
|
42606
|
-
var inputProps = _defineProperty$
|
|
42605
|
+
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(_ref4, ["refKey", "onChange", "onClick"]);
|
|
42606
|
+
var inputProps = _defineProperty$3({
|
|
42607
42607
|
accept,
|
|
42608
42608
|
multiple,
|
|
42609
42609
|
type: "file",
|
|
@@ -43973,7 +43973,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43973
43973
|
_defineProperties(Constructor, staticProps);
|
|
43974
43974
|
return Constructor;
|
|
43975
43975
|
}
|
|
43976
|
-
function _defineProperty$
|
|
43976
|
+
function _defineProperty$2(obj, key, value) {
|
|
43977
43977
|
if (key in obj) {
|
|
43978
43978
|
Object.defineProperty(obj, key, {
|
|
43979
43979
|
value,
|
|
@@ -43986,7 +43986,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43986
43986
|
}
|
|
43987
43987
|
return obj;
|
|
43988
43988
|
}
|
|
43989
|
-
function ownKeys
|
|
43989
|
+
function ownKeys(object2, enumerableOnly) {
|
|
43990
43990
|
var keys2 = Object.keys(object2);
|
|
43991
43991
|
if (Object.getOwnPropertySymbols) {
|
|
43992
43992
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -43998,17 +43998,17 @@ var __publicField = (obj, key, value) => {
|
|
|
43998
43998
|
}
|
|
43999
43999
|
return keys2;
|
|
44000
44000
|
}
|
|
44001
|
-
function _objectSpread2
|
|
44001
|
+
function _objectSpread2(target) {
|
|
44002
44002
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
44003
44003
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
44004
44004
|
if (i2 % 2) {
|
|
44005
|
-
ownKeys
|
|
44006
|
-
_defineProperty$
|
|
44005
|
+
ownKeys(Object(source), true).forEach(function(key) {
|
|
44006
|
+
_defineProperty$2(target, key, source[key]);
|
|
44007
44007
|
});
|
|
44008
44008
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
44009
44009
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
44010
44010
|
} else {
|
|
44011
|
-
ownKeys
|
|
44011
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
44012
44012
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
44013
44013
|
});
|
|
44014
44014
|
}
|
|
@@ -44083,20 +44083,20 @@ var __publicField = (obj, key, value) => {
|
|
|
44083
44083
|
};
|
|
44084
44084
|
}
|
|
44085
44085
|
function _slicedToArray(arr, i2) {
|
|
44086
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray
|
|
44086
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray(arr, i2) || _nonIterableRest();
|
|
44087
44087
|
}
|
|
44088
|
-
function _toConsumableArray
|
|
44089
|
-
return _arrayWithoutHoles
|
|
44088
|
+
function _toConsumableArray(arr) {
|
|
44089
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
44090
44090
|
}
|
|
44091
|
-
function _arrayWithoutHoles
|
|
44091
|
+
function _arrayWithoutHoles(arr) {
|
|
44092
44092
|
if (Array.isArray(arr))
|
|
44093
|
-
return _arrayLikeToArray
|
|
44093
|
+
return _arrayLikeToArray(arr);
|
|
44094
44094
|
}
|
|
44095
44095
|
function _arrayWithHoles(arr) {
|
|
44096
44096
|
if (Array.isArray(arr))
|
|
44097
44097
|
return arr;
|
|
44098
44098
|
}
|
|
44099
|
-
function _iterableToArray
|
|
44099
|
+
function _iterableToArray(iter) {
|
|
44100
44100
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter))
|
|
44101
44101
|
return Array.from(iter);
|
|
44102
44102
|
}
|
|
@@ -44127,27 +44127,27 @@ var __publicField = (obj, key, value) => {
|
|
|
44127
44127
|
}
|
|
44128
44128
|
return _arr;
|
|
44129
44129
|
}
|
|
44130
|
-
function _unsupportedIterableToArray
|
|
44130
|
+
function _unsupportedIterableToArray(o2, minLen) {
|
|
44131
44131
|
if (!o2)
|
|
44132
44132
|
return;
|
|
44133
44133
|
if (typeof o2 === "string")
|
|
44134
|
-
return _arrayLikeToArray
|
|
44134
|
+
return _arrayLikeToArray(o2, minLen);
|
|
44135
44135
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
44136
44136
|
if (n2 === "Object" && o2.constructor)
|
|
44137
44137
|
n2 = o2.constructor.name;
|
|
44138
44138
|
if (n2 === "Map" || n2 === "Set")
|
|
44139
44139
|
return Array.from(o2);
|
|
44140
44140
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
44141
|
-
return _arrayLikeToArray
|
|
44141
|
+
return _arrayLikeToArray(o2, minLen);
|
|
44142
44142
|
}
|
|
44143
|
-
function _arrayLikeToArray
|
|
44143
|
+
function _arrayLikeToArray(arr, len) {
|
|
44144
44144
|
if (len == null || len > arr.length)
|
|
44145
44145
|
len = arr.length;
|
|
44146
44146
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
44147
44147
|
arr2[i2] = arr[i2];
|
|
44148
44148
|
return arr2;
|
|
44149
44149
|
}
|
|
44150
|
-
function _nonIterableSpread
|
|
44150
|
+
function _nonIterableSpread() {
|
|
44151
44151
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
44152
44152
|
}
|
|
44153
44153
|
function _nonIterableRest() {
|
|
@@ -44175,10 +44175,10 @@ var __publicField = (obj, key, value) => {
|
|
|
44175
44175
|
if (val === updateValue) {
|
|
44176
44176
|
return handles;
|
|
44177
44177
|
}
|
|
44178
|
-
return [].concat(_toConsumableArray
|
|
44178
|
+
return [].concat(_toConsumableArray(handles.slice(0, index2)), [{
|
|
44179
44179
|
key,
|
|
44180
44180
|
val: updateValue
|
|
44181
|
-
}], _toConsumableArray
|
|
44181
|
+
}], _toConsumableArray(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
44182
44182
|
}
|
|
44183
44183
|
return handles;
|
|
44184
44184
|
}
|
|
@@ -44316,7 +44316,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44316
44316
|
_this.getRailProps = function() {
|
|
44317
44317
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
44318
44318
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44319
|
-
return _objectSpread2
|
|
44319
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
44320
44320
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
44321
44321
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
44322
44322
|
});
|
|
@@ -44355,7 +44355,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44355
44355
|
_this.getHandleProps = function(id) {
|
|
44356
44356
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
44357
44357
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44358
|
-
return _objectSpread2
|
|
44358
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
44359
44359
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
44360
44360
|
return emitKeyboard && emitKeyboard(e3, id);
|
|
44361
44361
|
}),
|
|
@@ -44518,7 +44518,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44518
44518
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
44519
44519
|
_this.getTrackProps = function(props) {
|
|
44520
44520
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44521
|
-
return _objectSpread2
|
|
44521
|
+
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
44522
44522
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
44523
44523
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
44524
44524
|
});
|
|
@@ -44921,11 +44921,11 @@ var __publicField = (obj, key, value) => {
|
|
|
44921
44921
|
return child;
|
|
44922
44922
|
}
|
|
44923
44923
|
});
|
|
44924
|
-
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
44924
|
+
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
44925
44925
|
style: rootStyle,
|
|
44926
44926
|
className,
|
|
44927
44927
|
ref: this.slider
|
|
44928
|
-
})), children) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
44928
|
+
})), children) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
44929
44929
|
style: rootStyle,
|
|
44930
44930
|
className,
|
|
44931
44931
|
ref: this.slider
|
|
@@ -45189,331 +45189,6 @@ var __publicField = (obj, key, value) => {
|
|
|
45189
45189
|
return jsxRuntime.exports.jsxs(SwitchWrapper, { className, "data-testid": "wrapper", enabled, onClick, ref, style, children: [jsxRuntime.exports.jsx(SwitchHandle, { "data-testid": "handle", enabled }), jsxRuntime.exports.jsx("div", { style: { userSelect: "none" }, children: labelIconToShow })] });
|
|
45190
45190
|
}
|
|
45191
45191
|
React$2.forwardRef(Switch);
|
|
45192
|
-
function ownKeys(object2, enumerableOnly) {
|
|
45193
|
-
var keys2 = Object.keys(object2);
|
|
45194
|
-
if (Object.getOwnPropertySymbols) {
|
|
45195
|
-
var symbols = Object.getOwnPropertySymbols(object2);
|
|
45196
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
45197
|
-
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
45198
|
-
})), keys2.push.apply(keys2, symbols);
|
|
45199
|
-
}
|
|
45200
|
-
return keys2;
|
|
45201
|
-
}
|
|
45202
|
-
function _objectSpread2(target) {
|
|
45203
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
45204
|
-
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
45205
|
-
i2 % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
45206
|
-
_defineProperty$2(target, key, source[key]);
|
|
45207
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
45208
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45209
|
-
});
|
|
45210
|
-
}
|
|
45211
|
-
return target;
|
|
45212
|
-
}
|
|
45213
|
-
function _typeof(obj) {
|
|
45214
|
-
"@babel/helpers - typeof";
|
|
45215
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
45216
|
-
return typeof obj2;
|
|
45217
|
-
} : function(obj2) {
|
|
45218
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
45219
|
-
}, _typeof(obj);
|
|
45220
|
-
}
|
|
45221
|
-
function _defineProperty$2(obj, key, value) {
|
|
45222
|
-
if (key in obj) {
|
|
45223
|
-
Object.defineProperty(obj, key, {
|
|
45224
|
-
value,
|
|
45225
|
-
enumerable: true,
|
|
45226
|
-
configurable: true,
|
|
45227
|
-
writable: true
|
|
45228
|
-
});
|
|
45229
|
-
} else {
|
|
45230
|
-
obj[key] = value;
|
|
45231
|
-
}
|
|
45232
|
-
return obj;
|
|
45233
|
-
}
|
|
45234
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
45235
|
-
if (source == null)
|
|
45236
|
-
return {};
|
|
45237
|
-
var target = {};
|
|
45238
|
-
var sourceKeys = Object.keys(source);
|
|
45239
|
-
var key, i2;
|
|
45240
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
45241
|
-
key = sourceKeys[i2];
|
|
45242
|
-
if (excluded.indexOf(key) >= 0)
|
|
45243
|
-
continue;
|
|
45244
|
-
target[key] = source[key];
|
|
45245
|
-
}
|
|
45246
|
-
return target;
|
|
45247
|
-
}
|
|
45248
|
-
function _objectWithoutProperties(source, excluded) {
|
|
45249
|
-
if (source == null)
|
|
45250
|
-
return {};
|
|
45251
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
45252
|
-
var key, i2;
|
|
45253
|
-
if (Object.getOwnPropertySymbols) {
|
|
45254
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
45255
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
45256
|
-
key = sourceSymbolKeys[i2];
|
|
45257
|
-
if (excluded.indexOf(key) >= 0)
|
|
45258
|
-
continue;
|
|
45259
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
45260
|
-
continue;
|
|
45261
|
-
target[key] = source[key];
|
|
45262
|
-
}
|
|
45263
|
-
}
|
|
45264
|
-
return target;
|
|
45265
|
-
}
|
|
45266
|
-
function _toConsumableArray(arr) {
|
|
45267
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
45268
|
-
}
|
|
45269
|
-
function _arrayWithoutHoles(arr) {
|
|
45270
|
-
if (Array.isArray(arr))
|
|
45271
|
-
return _arrayLikeToArray(arr);
|
|
45272
|
-
}
|
|
45273
|
-
function _iterableToArray(iter) {
|
|
45274
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
45275
|
-
return Array.from(iter);
|
|
45276
|
-
}
|
|
45277
|
-
function _unsupportedIterableToArray(o2, minLen) {
|
|
45278
|
-
if (!o2)
|
|
45279
|
-
return;
|
|
45280
|
-
if (typeof o2 === "string")
|
|
45281
|
-
return _arrayLikeToArray(o2, minLen);
|
|
45282
|
-
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
45283
|
-
if (n2 === "Object" && o2.constructor)
|
|
45284
|
-
n2 = o2.constructor.name;
|
|
45285
|
-
if (n2 === "Map" || n2 === "Set")
|
|
45286
|
-
return Array.from(o2);
|
|
45287
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
45288
|
-
return _arrayLikeToArray(o2, minLen);
|
|
45289
|
-
}
|
|
45290
|
-
function _arrayLikeToArray(arr, len) {
|
|
45291
|
-
if (len == null || len > arr.length)
|
|
45292
|
-
len = arr.length;
|
|
45293
|
-
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
45294
|
-
arr2[i2] = arr[i2];
|
|
45295
|
-
return arr2;
|
|
45296
|
-
}
|
|
45297
|
-
function _nonIterableSpread() {
|
|
45298
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
45299
|
-
}
|
|
45300
|
-
function classList(props) {
|
|
45301
|
-
var _classes;
|
|
45302
|
-
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, listItem = props.listItem, flip2 = props.flip, size2 = props.size, rotation = props.rotation, pull = props.pull;
|
|
45303
|
-
var classes = (_classes = {
|
|
45304
|
-
"fa-beat": beat,
|
|
45305
|
-
"fa-fade": fade,
|
|
45306
|
-
"fa-beat-fade": beatFade,
|
|
45307
|
-
"fa-bounce": bounce,
|
|
45308
|
-
"fa-shake": shake,
|
|
45309
|
-
"fa-flash": flash,
|
|
45310
|
-
"fa-spin": spin,
|
|
45311
|
-
"fa-spin-reverse": spinReverse,
|
|
45312
|
-
"fa-spin-pulse": spinPulse,
|
|
45313
|
-
"fa-pulse": pulse,
|
|
45314
|
-
"fa-fw": fixedWidth,
|
|
45315
|
-
"fa-inverse": inverse,
|
|
45316
|
-
"fa-border": border,
|
|
45317
|
-
"fa-li": listItem,
|
|
45318
|
-
"fa-flip": flip2 === true,
|
|
45319
|
-
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
45320
|
-
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
45321
|
-
}, _defineProperty$2(_classes, "fa-".concat(size2), typeof size2 !== "undefined" && size2 !== null), _defineProperty$2(_classes, "fa-rotate-".concat(rotation), typeof rotation !== "undefined" && rotation !== null && rotation !== 0), _defineProperty$2(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$2(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
45322
|
-
return Object.keys(classes).map(function(key) {
|
|
45323
|
-
return classes[key] ? key : null;
|
|
45324
|
-
}).filter(function(key) {
|
|
45325
|
-
return key;
|
|
45326
|
-
});
|
|
45327
|
-
}
|
|
45328
|
-
function _isNumerical(obj) {
|
|
45329
|
-
obj = obj - 0;
|
|
45330
|
-
return obj === obj;
|
|
45331
|
-
}
|
|
45332
|
-
function camelize(string2) {
|
|
45333
|
-
if (_isNumerical(string2)) {
|
|
45334
|
-
return string2;
|
|
45335
|
-
}
|
|
45336
|
-
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
45337
|
-
return chr ? chr.toUpperCase() : "";
|
|
45338
|
-
});
|
|
45339
|
-
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
45340
|
-
}
|
|
45341
|
-
var _excluded = ["style"];
|
|
45342
|
-
function capitalize(val) {
|
|
45343
|
-
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
45344
|
-
}
|
|
45345
|
-
function styleToObject(style) {
|
|
45346
|
-
return style.split(";").map(function(s) {
|
|
45347
|
-
return s.trim();
|
|
45348
|
-
}).filter(function(s) {
|
|
45349
|
-
return s;
|
|
45350
|
-
}).reduce(function(acc, pair) {
|
|
45351
|
-
var i2 = pair.indexOf(":");
|
|
45352
|
-
var prop = camelize(pair.slice(0, i2));
|
|
45353
|
-
var value = pair.slice(i2 + 1).trim();
|
|
45354
|
-
prop.startsWith("webkit") ? acc[capitalize(prop)] = value : acc[prop] = value;
|
|
45355
|
-
return acc;
|
|
45356
|
-
}, {});
|
|
45357
|
-
}
|
|
45358
|
-
function convert(createElement2, element) {
|
|
45359
|
-
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
45360
|
-
if (typeof element === "string") {
|
|
45361
|
-
return element;
|
|
45362
|
-
}
|
|
45363
|
-
var children = (element.children || []).map(function(child) {
|
|
45364
|
-
return convert(createElement2, child);
|
|
45365
|
-
});
|
|
45366
|
-
var mixins = Object.keys(element.attributes || {}).reduce(function(acc, key) {
|
|
45367
|
-
var val = element.attributes[key];
|
|
45368
|
-
switch (key) {
|
|
45369
|
-
case "class":
|
|
45370
|
-
acc.attrs["className"] = val;
|
|
45371
|
-
delete element.attributes["class"];
|
|
45372
|
-
break;
|
|
45373
|
-
case "style":
|
|
45374
|
-
acc.attrs["style"] = styleToObject(val);
|
|
45375
|
-
break;
|
|
45376
|
-
default:
|
|
45377
|
-
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
45378
|
-
acc.attrs[key.toLowerCase()] = val;
|
|
45379
|
-
} else {
|
|
45380
|
-
acc.attrs[camelize(key)] = val;
|
|
45381
|
-
}
|
|
45382
|
-
}
|
|
45383
|
-
return acc;
|
|
45384
|
-
}, {
|
|
45385
|
-
attrs: {}
|
|
45386
|
-
});
|
|
45387
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties(extraProps, _excluded);
|
|
45388
|
-
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
45389
|
-
return createElement2.apply(void 0, [element.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray(children)));
|
|
45390
|
-
}
|
|
45391
|
-
var PRODUCTION = false;
|
|
45392
|
-
try {
|
|
45393
|
-
PRODUCTION = true;
|
|
45394
|
-
} catch (e3) {
|
|
45395
|
-
}
|
|
45396
|
-
function log() {
|
|
45397
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
45398
|
-
var _console;
|
|
45399
|
-
(_console = console).error.apply(_console, arguments);
|
|
45400
|
-
}
|
|
45401
|
-
}
|
|
45402
|
-
function normalizeIconArgs(icon2) {
|
|
45403
|
-
if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
45404
|
-
return icon2;
|
|
45405
|
-
}
|
|
45406
|
-
if (parse$1$1.icon) {
|
|
45407
|
-
return parse$1$1.icon(icon2);
|
|
45408
|
-
}
|
|
45409
|
-
if (icon2 === null) {
|
|
45410
|
-
return null;
|
|
45411
|
-
}
|
|
45412
|
-
if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
45413
|
-
return icon2;
|
|
45414
|
-
}
|
|
45415
|
-
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
45416
|
-
return {
|
|
45417
|
-
prefix: icon2[0],
|
|
45418
|
-
iconName: icon2[1]
|
|
45419
|
-
};
|
|
45420
|
-
}
|
|
45421
|
-
if (typeof icon2 === "string") {
|
|
45422
|
-
return {
|
|
45423
|
-
prefix: "fas",
|
|
45424
|
-
iconName: icon2
|
|
45425
|
-
};
|
|
45426
|
-
}
|
|
45427
|
-
}
|
|
45428
|
-
function objectWithKey(key, value) {
|
|
45429
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$2({}, key, value) : {};
|
|
45430
|
-
}
|
|
45431
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
45432
|
-
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
45433
|
-
var iconLookup = normalizeIconArgs(iconArgs);
|
|
45434
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray(classList(props)), _toConsumableArray(className.split(" "))));
|
|
45435
|
-
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
45436
|
-
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
45437
|
-
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
45438
|
-
symbol,
|
|
45439
|
-
title,
|
|
45440
|
-
titleId,
|
|
45441
|
-
maskId
|
|
45442
|
-
}));
|
|
45443
|
-
if (!renderedIcon) {
|
|
45444
|
-
log("Could not find icon", iconLookup);
|
|
45445
|
-
return null;
|
|
45446
|
-
}
|
|
45447
|
-
var abstract = renderedIcon.abstract;
|
|
45448
|
-
var extraProps = {
|
|
45449
|
-
ref
|
|
45450
|
-
};
|
|
45451
|
-
Object.keys(props).forEach(function(key) {
|
|
45452
|
-
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
45453
|
-
extraProps[key] = props[key];
|
|
45454
|
-
}
|
|
45455
|
-
});
|
|
45456
|
-
return convertCurry(abstract[0], extraProps);
|
|
45457
|
-
});
|
|
45458
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
45459
|
-
FontAwesomeIcon.propTypes = {
|
|
45460
|
-
beat: propTypes.exports.bool,
|
|
45461
|
-
border: propTypes.exports.bool,
|
|
45462
|
-
beatFade: propTypes.exports.bool,
|
|
45463
|
-
bounce: propTypes.exports.bool,
|
|
45464
|
-
className: propTypes.exports.string,
|
|
45465
|
-
fade: propTypes.exports.bool,
|
|
45466
|
-
flash: propTypes.exports.bool,
|
|
45467
|
-
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
45468
|
-
maskId: propTypes.exports.string,
|
|
45469
|
-
fixedWidth: propTypes.exports.bool,
|
|
45470
|
-
inverse: propTypes.exports.bool,
|
|
45471
|
-
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
45472
|
-
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
45473
|
-
listItem: propTypes.exports.bool,
|
|
45474
|
-
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
45475
|
-
pulse: propTypes.exports.bool,
|
|
45476
|
-
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
45477
|
-
shake: propTypes.exports.bool,
|
|
45478
|
-
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
45479
|
-
spin: propTypes.exports.bool,
|
|
45480
|
-
spinPulse: propTypes.exports.bool,
|
|
45481
|
-
spinReverse: propTypes.exports.bool,
|
|
45482
|
-
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
45483
|
-
title: propTypes.exports.string,
|
|
45484
|
-
titleId: propTypes.exports.string,
|
|
45485
|
-
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
45486
|
-
swapOpacity: propTypes.exports.bool
|
|
45487
|
-
};
|
|
45488
|
-
FontAwesomeIcon.defaultProps = {
|
|
45489
|
-
border: false,
|
|
45490
|
-
className: "",
|
|
45491
|
-
mask: null,
|
|
45492
|
-
maskId: null,
|
|
45493
|
-
fixedWidth: false,
|
|
45494
|
-
inverse: false,
|
|
45495
|
-
flip: false,
|
|
45496
|
-
icon: null,
|
|
45497
|
-
listItem: false,
|
|
45498
|
-
pull: null,
|
|
45499
|
-
pulse: false,
|
|
45500
|
-
rotation: null,
|
|
45501
|
-
size: null,
|
|
45502
|
-
spin: false,
|
|
45503
|
-
spinPulse: false,
|
|
45504
|
-
spinReverse: false,
|
|
45505
|
-
beat: false,
|
|
45506
|
-
fade: false,
|
|
45507
|
-
beatFade: false,
|
|
45508
|
-
bounce: false,
|
|
45509
|
-
shake: false,
|
|
45510
|
-
symbol: false,
|
|
45511
|
-
title: "",
|
|
45512
|
-
titleId: null,
|
|
45513
|
-
transform: null,
|
|
45514
|
-
swapOpacity: false
|
|
45515
|
-
};
|
|
45516
|
-
var convertCurry = convert.bind(null, React__default.default.createElement);
|
|
45517
45192
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
45518
45193
|
return typeof value === "number" && value !== value;
|
|
45519
45194
|
};
|
|
@@ -48222,8 +47897,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
48222
47897
|
return false;
|
|
48223
47898
|
}
|
|
48224
47899
|
function areEqual(prevProps, nextProps) {
|
|
48225
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
48226
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
47900
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$3(prevProps, ["style"]);
|
|
47901
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$3(nextProps, ["style"]);
|
|
48227
47902
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
48228
47903
|
}
|
|
48229
47904
|
const GlobalStyle = styled.createGlobalStyle`
|