@darajs/core 1.2.2 → 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}; }` : ""}
|
|
@@ -17460,7 +17460,11 @@ var __publicField = (obj, key, value) => {
|
|
|
17460
17460
|
return _getPrototypeOf$2(o2);
|
|
17461
17461
|
}
|
|
17462
17462
|
function _isNativeFunction$1(fn) {
|
|
17463
|
-
|
|
17463
|
+
try {
|
|
17464
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
17465
|
+
} catch (e3) {
|
|
17466
|
+
return typeof fn === "function";
|
|
17467
|
+
}
|
|
17464
17468
|
}
|
|
17465
17469
|
function _isNativeReflectConstruct$2() {
|
|
17466
17470
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
@@ -18739,7 +18743,7 @@ var __publicField = (obj, key, value) => {
|
|
|
18739
18743
|
setPreviousFilter(filterValue);
|
|
18740
18744
|
}, children: "Apply" })] });
|
|
18741
18745
|
}
|
|
18742
|
-
function _objectWithoutPropertiesLoose$
|
|
18746
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
18743
18747
|
if (source == null)
|
|
18744
18748
|
return {};
|
|
18745
18749
|
var target = {};
|
|
@@ -19496,7 +19500,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19496
19500
|
return noop$3;
|
|
19497
19501
|
};
|
|
19498
19502
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
19499
|
-
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);
|
|
19500
19504
|
React$2.useEffect(function() {
|
|
19501
19505
|
if (isInitialMount || false) {
|
|
19502
19506
|
return;
|
|
@@ -20036,7 +20040,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20036
20040
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
20037
20041
|
_ref2.onKeyDown;
|
|
20038
20042
|
_ref2.onBlur;
|
|
20039
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
20043
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$3(_ref2, _excluded$2);
|
|
20040
20044
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20041
20045
|
_ref22.suppressRefError;
|
|
20042
20046
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -20052,7 +20056,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20052
20056
|
var _extends3;
|
|
20053
20057
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
20054
20058
|
_ref3.onPress;
|
|
20055
|
-
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);
|
|
20056
20060
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
20057
20061
|
_ref4.suppressRefError;
|
|
20058
20062
|
var latestState = latest.current.state;
|
|
@@ -20095,7 +20099,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20095
20099
|
var _extends4;
|
|
20096
20100
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
20097
20101
|
_ref5.onPress;
|
|
20098
|
-
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);
|
|
20099
20103
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
20100
20104
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
20101
20105
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -20557,7 +20561,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20557
20561
|
}, [elementIds]);
|
|
20558
20562
|
var getMenuProps = React$2.useCallback(function(_temp, _temp2) {
|
|
20559
20563
|
var _extends2;
|
|
20560
|
-
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);
|
|
20561
20565
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20562
20566
|
_ref22.suppressRefError;
|
|
20563
20567
|
return _extends$1((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
@@ -20572,7 +20576,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20572
20576
|
var _extends3, _ref4;
|
|
20573
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;
|
|
20574
20578
|
_ref3.onPress;
|
|
20575
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
20579
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$3(_ref3, _excluded2$1);
|
|
20576
20580
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
20577
20581
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
20578
20582
|
var onSelectKey = "onClick";
|
|
@@ -20610,7 +20614,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20610
20614
|
var _extends4;
|
|
20611
20615
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
20612
20616
|
_ref5.onPress;
|
|
20613
|
-
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);
|
|
20614
20618
|
var latestState = latest.current.state;
|
|
20615
20619
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
20616
20620
|
dispatch2({
|
|
@@ -20627,7 +20631,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20627
20631
|
var _extends5;
|
|
20628
20632
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
20629
20633
|
_ref6.onChangeText;
|
|
20630
|
-
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);
|
|
20631
20635
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
20632
20636
|
_ref7.suppressRefError;
|
|
20633
20637
|
var latestState = latest.current.state;
|
|
@@ -24462,7 +24466,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24462
24466
|
tippy$1.setDefaultProps({
|
|
24463
24467
|
animation: false
|
|
24464
24468
|
});
|
|
24465
|
-
function _objectWithoutPropertiesLoose$
|
|
24469
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
24466
24470
|
if (source == null)
|
|
24467
24471
|
return {};
|
|
24468
24472
|
var target = {};
|
|
@@ -24559,7 +24563,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24559
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;
|
|
24560
24564
|
_ref2.__source;
|
|
24561
24565
|
_ref2.__self;
|
|
24562
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
24566
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$2(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
24563
24567
|
var isControlledMode = visible !== void 0;
|
|
24564
24568
|
var isSingletonMode = singleton !== void 0;
|
|
24565
24569
|
var _useState = React$2.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -24704,7 +24708,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24704
24708
|
}
|
|
24705
24709
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
24706
24710
|
return /* @__PURE__ */ React$2.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
24707
|
-
var children = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
24711
|
+
var children = _ref2.children, props = _objectWithoutPropertiesLoose$2(_ref2, ["children"]);
|
|
24708
24712
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children ? /* @__PURE__ */ React$2.cloneElement(children, {
|
|
24709
24713
|
ref: function ref(node) {
|
|
24710
24714
|
preserveRef(_ref22, node);
|
|
@@ -34797,13 +34801,13 @@ var __publicField = (obj, key, value) => {
|
|
|
34797
34801
|
})();
|
|
34798
34802
|
})(classnames);
|
|
34799
34803
|
const r = classnames.exports;
|
|
34800
|
-
function _typeof
|
|
34804
|
+
function _typeof(o2) {
|
|
34801
34805
|
"@babel/helpers - typeof";
|
|
34802
|
-
return _typeof
|
|
34806
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
34803
34807
|
return typeof o3;
|
|
34804
34808
|
} : function(o3) {
|
|
34805
34809
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
34806
|
-
}, _typeof
|
|
34810
|
+
}, _typeof(o2);
|
|
34807
34811
|
}
|
|
34808
34812
|
function requiredArgs(required, args) {
|
|
34809
34813
|
if (args.length < required) {
|
|
@@ -34812,12 +34816,12 @@ var __publicField = (obj, key, value) => {
|
|
|
34812
34816
|
}
|
|
34813
34817
|
function isDate$1(value) {
|
|
34814
34818
|
requiredArgs(1, arguments);
|
|
34815
|
-
return value instanceof Date || _typeof
|
|
34819
|
+
return value instanceof Date || _typeof(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
34816
34820
|
}
|
|
34817
34821
|
function toDate(argument) {
|
|
34818
34822
|
requiredArgs(1, arguments);
|
|
34819
34823
|
var argStr = Object.prototype.toString.call(argument);
|
|
34820
|
-
if (argument instanceof Date || _typeof
|
|
34824
|
+
if (argument instanceof Date || _typeof(argument) === "object" && argStr === "[object Date]") {
|
|
34821
34825
|
return new Date(argument.getTime());
|
|
34822
34826
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
34823
34827
|
return new Date(argument);
|
|
@@ -36517,7 +36521,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36517
36521
|
var datesArray;
|
|
36518
36522
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
36519
36523
|
datesArray = dirtyDatesArray;
|
|
36520
|
-
} else if (_typeof
|
|
36524
|
+
} else if (_typeof(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36521
36525
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
36522
36526
|
} else {
|
|
36523
36527
|
return new Date(NaN);
|
|
@@ -36536,7 +36540,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36536
36540
|
var datesArray;
|
|
36537
36541
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
36538
36542
|
datesArray = dirtyDatesArray;
|
|
36539
|
-
} else if (_typeof
|
|
36543
|
+
} else if (_typeof(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36540
36544
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
36541
36545
|
} else {
|
|
36542
36546
|
return new Date(NaN);
|
|
@@ -36661,30 +36665,30 @@ var __publicField = (obj, key, value) => {
|
|
|
36661
36665
|
}
|
|
36662
36666
|
return time >= startTime && time <= endTime;
|
|
36663
36667
|
}
|
|
36664
|
-
function _arrayLikeToArray$
|
|
36668
|
+
function _arrayLikeToArray$1(arr, len) {
|
|
36665
36669
|
if (len == null || len > arr.length)
|
|
36666
36670
|
len = arr.length;
|
|
36667
36671
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
36668
36672
|
arr2[i2] = arr[i2];
|
|
36669
36673
|
return arr2;
|
|
36670
36674
|
}
|
|
36671
|
-
function _unsupportedIterableToArray$
|
|
36675
|
+
function _unsupportedIterableToArray$1(o2, minLen) {
|
|
36672
36676
|
if (!o2)
|
|
36673
36677
|
return;
|
|
36674
36678
|
if (typeof o2 === "string")
|
|
36675
|
-
return _arrayLikeToArray$
|
|
36679
|
+
return _arrayLikeToArray$1(o2, minLen);
|
|
36676
36680
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
36677
36681
|
if (n2 === "Object" && o2.constructor)
|
|
36678
36682
|
n2 = o2.constructor.name;
|
|
36679
36683
|
if (n2 === "Map" || n2 === "Set")
|
|
36680
36684
|
return Array.from(o2);
|
|
36681
36685
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
36682
|
-
return _arrayLikeToArray$
|
|
36686
|
+
return _arrayLikeToArray$1(o2, minLen);
|
|
36683
36687
|
}
|
|
36684
36688
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
36685
36689
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
36686
36690
|
if (!it2) {
|
|
36687
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
36691
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$1(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
36688
36692
|
if (it2)
|
|
36689
36693
|
o2 = it2;
|
|
36690
36694
|
var i2 = 0;
|
|
@@ -36764,7 +36768,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36764
36768
|
_setPrototypeOf$2(subClass, superClass);
|
|
36765
36769
|
}
|
|
36766
36770
|
function _possibleConstructorReturn$1(self2, call) {
|
|
36767
|
-
if (call && (_typeof
|
|
36771
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
36768
36772
|
return call;
|
|
36769
36773
|
} else if (call !== void 0) {
|
|
36770
36774
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -36790,12 +36794,12 @@ var __publicField = (obj, key, value) => {
|
|
|
36790
36794
|
}
|
|
36791
36795
|
}
|
|
36792
36796
|
function _toPrimitive(input, hint) {
|
|
36793
|
-
if (_typeof
|
|
36797
|
+
if (_typeof(input) !== "object" || input === null)
|
|
36794
36798
|
return input;
|
|
36795
36799
|
var prim = input[Symbol.toPrimitive];
|
|
36796
36800
|
if (prim !== void 0) {
|
|
36797
36801
|
var res = prim.call(input, hint || "default");
|
|
36798
|
-
if (_typeof
|
|
36802
|
+
if (_typeof(res) !== "object")
|
|
36799
36803
|
return res;
|
|
36800
36804
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
36801
36805
|
}
|
|
@@ -36803,7 +36807,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36803
36807
|
}
|
|
36804
36808
|
function _toPropertyKey(arg) {
|
|
36805
36809
|
var key = _toPrimitive(arg, "string");
|
|
36806
|
-
return _typeof
|
|
36810
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
36807
36811
|
}
|
|
36808
36812
|
function _defineProperties$1(target, props) {
|
|
36809
36813
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -36825,7 +36829,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36825
36829
|
});
|
|
36826
36830
|
return Constructor;
|
|
36827
36831
|
}
|
|
36828
|
-
function _defineProperty$
|
|
36832
|
+
function _defineProperty$4(obj, key, value) {
|
|
36829
36833
|
key = _toPropertyKey(key);
|
|
36830
36834
|
if (key in obj) {
|
|
36831
36835
|
Object.defineProperty(obj, key, {
|
|
@@ -36843,8 +36847,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36843
36847
|
var Setter = /* @__PURE__ */ function() {
|
|
36844
36848
|
function Setter2() {
|
|
36845
36849
|
_classCallCheck$1(this, Setter2);
|
|
36846
|
-
_defineProperty$
|
|
36847
|
-
_defineProperty$
|
|
36850
|
+
_defineProperty$4(this, "priority", void 0);
|
|
36851
|
+
_defineProperty$4(this, "subPriority", 0);
|
|
36848
36852
|
}
|
|
36849
36853
|
_createClass$1(Setter2, [{
|
|
36850
36854
|
key: "validate",
|
|
@@ -36893,8 +36897,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36893
36897
|
args[_key] = arguments[_key];
|
|
36894
36898
|
}
|
|
36895
36899
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
36896
|
-
_defineProperty$
|
|
36897
|
-
_defineProperty$
|
|
36900
|
+
_defineProperty$4(_assertThisInitialized$3(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
36901
|
+
_defineProperty$4(_assertThisInitialized$3(_this2), "subPriority", -1);
|
|
36898
36902
|
return _this2;
|
|
36899
36903
|
}
|
|
36900
36904
|
_createClass$1(DateToSystemTimezoneSetter2, [{
|
|
@@ -36914,9 +36918,9 @@ var __publicField = (obj, key, value) => {
|
|
|
36914
36918
|
var Parser = /* @__PURE__ */ function() {
|
|
36915
36919
|
function Parser2() {
|
|
36916
36920
|
_classCallCheck$1(this, Parser2);
|
|
36917
|
-
_defineProperty$
|
|
36918
|
-
_defineProperty$
|
|
36919
|
-
_defineProperty$
|
|
36921
|
+
_defineProperty$4(this, "incompatibleTokens", void 0);
|
|
36922
|
+
_defineProperty$4(this, "priority", void 0);
|
|
36923
|
+
_defineProperty$4(this, "subPriority", void 0);
|
|
36920
36924
|
}
|
|
36921
36925
|
_createClass$1(Parser2, [{
|
|
36922
36926
|
key: "run",
|
|
@@ -36948,8 +36952,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36948
36952
|
args[_key] = arguments[_key];
|
|
36949
36953
|
}
|
|
36950
36954
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
36951
|
-
_defineProperty$
|
|
36952
|
-
_defineProperty$
|
|
36955
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 140);
|
|
36956
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
36953
36957
|
return _this;
|
|
36954
36958
|
}
|
|
36955
36959
|
_createClass$1(EraParser2, [{
|
|
@@ -37135,8 +37139,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37135
37139
|
args[_key] = arguments[_key];
|
|
37136
37140
|
}
|
|
37137
37141
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37138
|
-
_defineProperty$
|
|
37139
|
-
_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"]);
|
|
37140
37144
|
return _this;
|
|
37141
37145
|
}
|
|
37142
37146
|
_createClass$1(YearParser2, [{
|
|
@@ -37192,8 +37196,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37192
37196
|
args[_key] = arguments[_key];
|
|
37193
37197
|
}
|
|
37194
37198
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37195
|
-
_defineProperty$
|
|
37196
|
-
_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"]);
|
|
37197
37201
|
return _this;
|
|
37198
37202
|
}
|
|
37199
37203
|
_createClass$1(LocalWeekYearParser2, [{
|
|
@@ -37249,8 +37253,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37249
37253
|
args[_key] = arguments[_key];
|
|
37250
37254
|
}
|
|
37251
37255
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37252
|
-
_defineProperty$
|
|
37253
|
-
_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"]);
|
|
37254
37258
|
return _this;
|
|
37255
37259
|
}
|
|
37256
37260
|
_createClass$1(ISOWeekYearParser2, [{
|
|
@@ -37282,8 +37286,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37282
37286
|
args[_key] = arguments[_key];
|
|
37283
37287
|
}
|
|
37284
37288
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37285
|
-
_defineProperty$
|
|
37286
|
-
_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"]);
|
|
37287
37291
|
return _this;
|
|
37288
37292
|
}
|
|
37289
37293
|
_createClass$1(ExtendedYearParser2, [{
|
|
@@ -37314,8 +37318,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37314
37318
|
args[_key] = arguments[_key];
|
|
37315
37319
|
}
|
|
37316
37320
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37317
|
-
_defineProperty$
|
|
37318
|
-
_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"]);
|
|
37319
37323
|
return _this;
|
|
37320
37324
|
}
|
|
37321
37325
|
_createClass$1(QuarterParser2, [{
|
|
@@ -37381,8 +37385,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37381
37385
|
args[_key] = arguments[_key];
|
|
37382
37386
|
}
|
|
37383
37387
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37384
|
-
_defineProperty$
|
|
37385
|
-
_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"]);
|
|
37386
37390
|
return _this;
|
|
37387
37391
|
}
|
|
37388
37392
|
_createClass$1(StandAloneQuarterParser2, [{
|
|
@@ -37448,8 +37452,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37448
37452
|
args[_key] = arguments[_key];
|
|
37449
37453
|
}
|
|
37450
37454
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37451
|
-
_defineProperty$
|
|
37452
|
-
_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);
|
|
37453
37457
|
return _this;
|
|
37454
37458
|
}
|
|
37455
37459
|
_createClass$1(MonthParser2, [{
|
|
@@ -37519,8 +37523,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37519
37523
|
args[_key] = arguments[_key];
|
|
37520
37524
|
}
|
|
37521
37525
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37522
|
-
_defineProperty$
|
|
37523
|
-
_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"]);
|
|
37524
37528
|
return _this;
|
|
37525
37529
|
}
|
|
37526
37530
|
_createClass$1(StandAloneMonthParser2, [{
|
|
@@ -37598,8 +37602,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37598
37602
|
args[_key] = arguments[_key];
|
|
37599
37603
|
}
|
|
37600
37604
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37601
|
-
_defineProperty$
|
|
37602
|
-
_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"]);
|
|
37603
37607
|
return _this;
|
|
37604
37608
|
}
|
|
37605
37609
|
_createClass$1(LocalWeekParser2, [{
|
|
@@ -37647,8 +37651,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37647
37651
|
args[_key] = arguments[_key];
|
|
37648
37652
|
}
|
|
37649
37653
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37650
|
-
_defineProperty$
|
|
37651
|
-
_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"]);
|
|
37652
37656
|
return _this;
|
|
37653
37657
|
}
|
|
37654
37658
|
_createClass$1(ISOWeekParser2, [{
|
|
@@ -37690,9 +37694,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37690
37694
|
args[_key] = arguments[_key];
|
|
37691
37695
|
}
|
|
37692
37696
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37693
|
-
_defineProperty$
|
|
37694
|
-
_defineProperty$
|
|
37695
|
-
_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"]);
|
|
37696
37700
|
return _this;
|
|
37697
37701
|
}
|
|
37698
37702
|
_createClass$1(DateParser2, [{
|
|
@@ -37741,9 +37745,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37741
37745
|
args[_key] = arguments[_key];
|
|
37742
37746
|
}
|
|
37743
37747
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37744
|
-
_defineProperty$
|
|
37745
|
-
_defineProperty$
|
|
37746
|
-
_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"]);
|
|
37747
37751
|
return _this;
|
|
37748
37752
|
}
|
|
37749
37753
|
_createClass$1(DayOfYearParser2, [{
|
|
@@ -37809,8 +37813,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37809
37813
|
args[_key] = arguments[_key];
|
|
37810
37814
|
}
|
|
37811
37815
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37812
|
-
_defineProperty$
|
|
37813
|
-
_defineProperty$
|
|
37816
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 90);
|
|
37817
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
37814
37818
|
return _this;
|
|
37815
37819
|
}
|
|
37816
37820
|
_createClass$1(DayParser2, [{
|
|
@@ -37885,8 +37889,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37885
37889
|
args[_key] = arguments[_key];
|
|
37886
37890
|
}
|
|
37887
37891
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37888
|
-
_defineProperty$
|
|
37889
|
-
_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"]);
|
|
37890
37894
|
return _this;
|
|
37891
37895
|
}
|
|
37892
37896
|
_createClass$1(LocalDayParser2, [{
|
|
@@ -37970,8 +37974,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37970
37974
|
args[_key] = arguments[_key];
|
|
37971
37975
|
}
|
|
37972
37976
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37973
|
-
_defineProperty$
|
|
37974
|
-
_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"]);
|
|
37975
37979
|
return _this;
|
|
37976
37980
|
}
|
|
37977
37981
|
_createClass$1(StandAloneLocalDayParser2, [{
|
|
@@ -38070,8 +38074,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38070
38074
|
args[_key] = arguments[_key];
|
|
38071
38075
|
}
|
|
38072
38076
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38073
|
-
_defineProperty$
|
|
38074
|
-
_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"]);
|
|
38075
38079
|
return _this;
|
|
38076
38080
|
}
|
|
38077
38081
|
_createClass$1(ISODayParser2, [{
|
|
@@ -38157,8 +38161,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38157
38161
|
args[_key] = arguments[_key];
|
|
38158
38162
|
}
|
|
38159
38163
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38160
|
-
_defineProperty$
|
|
38161
|
-
_defineProperty$
|
|
38164
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 80);
|
|
38165
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
38162
38166
|
return _this;
|
|
38163
38167
|
}
|
|
38164
38168
|
_createClass$1(AMPMParser2, [{
|
|
@@ -38213,8 +38217,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38213
38217
|
args[_key] = arguments[_key];
|
|
38214
38218
|
}
|
|
38215
38219
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38216
|
-
_defineProperty$
|
|
38217
|
-
_defineProperty$
|
|
38220
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 80);
|
|
38221
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
38218
38222
|
return _this;
|
|
38219
38223
|
}
|
|
38220
38224
|
_createClass$1(AMPMMidnightParser2, [{
|
|
@@ -38269,8 +38273,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38269
38273
|
args[_key] = arguments[_key];
|
|
38270
38274
|
}
|
|
38271
38275
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38272
|
-
_defineProperty$
|
|
38273
|
-
_defineProperty$
|
|
38276
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 80);
|
|
38277
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
38274
38278
|
return _this;
|
|
38275
38279
|
}
|
|
38276
38280
|
_createClass$1(DayPeriodParser2, [{
|
|
@@ -38325,8 +38329,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38325
38329
|
args[_key] = arguments[_key];
|
|
38326
38330
|
}
|
|
38327
38331
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38328
|
-
_defineProperty$
|
|
38329
|
-
_defineProperty$
|
|
38332
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38333
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
38330
38334
|
return _this;
|
|
38331
38335
|
}
|
|
38332
38336
|
_createClass$1(Hour1to12Parser2, [{
|
|
@@ -38374,8 +38378,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38374
38378
|
args[_key] = arguments[_key];
|
|
38375
38379
|
}
|
|
38376
38380
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38377
|
-
_defineProperty$
|
|
38378
|
-
_defineProperty$
|
|
38381
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38382
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
38379
38383
|
return _this;
|
|
38380
38384
|
}
|
|
38381
38385
|
_createClass$1(Hour0to23Parser2, [{
|
|
@@ -38416,8 +38420,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38416
38420
|
args[_key] = arguments[_key];
|
|
38417
38421
|
}
|
|
38418
38422
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38419
|
-
_defineProperty$
|
|
38420
|
-
_defineProperty$
|
|
38423
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38424
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
38421
38425
|
return _this;
|
|
38422
38426
|
}
|
|
38423
38427
|
_createClass$1(Hour0To11Parser2, [{
|
|
@@ -38463,8 +38467,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38463
38467
|
args[_key] = arguments[_key];
|
|
38464
38468
|
}
|
|
38465
38469
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38466
|
-
_defineProperty$
|
|
38467
|
-
_defineProperty$
|
|
38470
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 70);
|
|
38471
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
38468
38472
|
return _this;
|
|
38469
38473
|
}
|
|
38470
38474
|
_createClass$1(Hour1To24Parser2, [{
|
|
@@ -38506,8 +38510,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38506
38510
|
args[_key] = arguments[_key];
|
|
38507
38511
|
}
|
|
38508
38512
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38509
|
-
_defineProperty$
|
|
38510
|
-
_defineProperty$
|
|
38513
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 60);
|
|
38514
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38511
38515
|
return _this;
|
|
38512
38516
|
}
|
|
38513
38517
|
_createClass$1(MinuteParser2, [{
|
|
@@ -38548,8 +38552,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38548
38552
|
args[_key] = arguments[_key];
|
|
38549
38553
|
}
|
|
38550
38554
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38551
|
-
_defineProperty$
|
|
38552
|
-
_defineProperty$
|
|
38555
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 50);
|
|
38556
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38553
38557
|
return _this;
|
|
38554
38558
|
}
|
|
38555
38559
|
_createClass$1(SecondParser2, [{
|
|
@@ -38590,8 +38594,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38590
38594
|
args[_key] = arguments[_key];
|
|
38591
38595
|
}
|
|
38592
38596
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38593
|
-
_defineProperty$
|
|
38594
|
-
_defineProperty$
|
|
38597
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 30);
|
|
38598
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38595
38599
|
return _this;
|
|
38596
38600
|
}
|
|
38597
38601
|
_createClass$1(FractionOfSecondParser2, [{
|
|
@@ -38621,8 +38625,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38621
38625
|
args[_key] = arguments[_key];
|
|
38622
38626
|
}
|
|
38623
38627
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38624
|
-
_defineProperty$
|
|
38625
|
-
_defineProperty$
|
|
38628
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 10);
|
|
38629
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
38626
38630
|
return _this;
|
|
38627
38631
|
}
|
|
38628
38632
|
_createClass$1(ISOTimezoneWithZParser2, [{
|
|
@@ -38663,8 +38667,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38663
38667
|
args[_key] = arguments[_key];
|
|
38664
38668
|
}
|
|
38665
38669
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38666
|
-
_defineProperty$
|
|
38667
|
-
_defineProperty$
|
|
38670
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 10);
|
|
38671
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
38668
38672
|
return _this;
|
|
38669
38673
|
}
|
|
38670
38674
|
_createClass$1(ISOTimezoneParser2, [{
|
|
@@ -38705,8 +38709,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38705
38709
|
args[_key] = arguments[_key];
|
|
38706
38710
|
}
|
|
38707
38711
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38708
|
-
_defineProperty$
|
|
38709
|
-
_defineProperty$
|
|
38712
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 40);
|
|
38713
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38710
38714
|
return _this;
|
|
38711
38715
|
}
|
|
38712
38716
|
_createClass$1(TimestampSecondsParser2, [{
|
|
@@ -38734,8 +38738,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38734
38738
|
args[_key] = arguments[_key];
|
|
38735
38739
|
}
|
|
38736
38740
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38737
|
-
_defineProperty$
|
|
38738
|
-
_defineProperty$
|
|
38741
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "priority", 20);
|
|
38742
|
+
_defineProperty$4(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38739
38743
|
return _this;
|
|
38740
38744
|
}
|
|
38741
38745
|
_createClass$1(TimestampMillisecondsParser2, [{
|
|
@@ -38888,7 +38892,7 @@ var __publicField = (obj, key, value) => {
|
|
|
38888
38892
|
};
|
|
38889
38893
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
38890
38894
|
var _ret = _loop();
|
|
38891
|
-
if (_typeof
|
|
38895
|
+
if (_typeof(_ret) === "object")
|
|
38892
38896
|
return _ret.v;
|
|
38893
38897
|
}
|
|
38894
38898
|
} catch (err2) {
|
|
@@ -39138,7 +39142,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39138
39142
|
};
|
|
39139
39143
|
return _setPrototypeOf$1(o2, p2);
|
|
39140
39144
|
}
|
|
39141
|
-
function _objectWithoutPropertiesLoose$
|
|
39145
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
39142
39146
|
if (source == null)
|
|
39143
39147
|
return {};
|
|
39144
39148
|
var target = {};
|
|
@@ -39340,7 +39344,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39340
39344
|
_proto.render = function render2() {
|
|
39341
39345
|
var _this$props = this.props;
|
|
39342
39346
|
_this$props.excludeScrollbar;
|
|
39343
|
-
var props = _objectWithoutPropertiesLoose$
|
|
39347
|
+
var props = _objectWithoutPropertiesLoose$1(_this$props, ["excludeScrollbar"]);
|
|
39344
39348
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
39345
39349
|
props.ref = this.getRef;
|
|
39346
39350
|
} else {
|
|
@@ -41320,6 +41324,9 @@ var __publicField = (obj, key, value) => {
|
|
|
41320
41324
|
display: flex;
|
|
41321
41325
|
flex-direction: ${(props) => props.inline ? "column" : "row"};
|
|
41322
41326
|
align-items: ${(props) => props.inline ? "baseline" : "center"};
|
|
41327
|
+
|
|
41328
|
+
width: 8.5rem;
|
|
41329
|
+
|
|
41323
41330
|
color: ${(props) => props.theme.colors.text};
|
|
41324
41331
|
|
|
41325
41332
|
.react-datepicker-popper {
|
|
@@ -42187,17 +42194,17 @@ var __publicField = (obj, key, value) => {
|
|
|
42187
42194
|
});
|
|
42188
42195
|
};
|
|
42189
42196
|
}
|
|
42190
|
-
function _toConsumableArray$
|
|
42191
|
-
return _arrayWithoutHoles$
|
|
42197
|
+
function _toConsumableArray$1(arr) {
|
|
42198
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _nonIterableSpread$1();
|
|
42192
42199
|
}
|
|
42193
|
-
function _nonIterableSpread$
|
|
42200
|
+
function _nonIterableSpread$1() {
|
|
42194
42201
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
42195
42202
|
}
|
|
42196
|
-
function _iterableToArray$
|
|
42203
|
+
function _iterableToArray$1(iter) {
|
|
42197
42204
|
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]")
|
|
42198
42205
|
return Array.from(iter);
|
|
42199
42206
|
}
|
|
42200
|
-
function _arrayWithoutHoles$
|
|
42207
|
+
function _arrayWithoutHoles$1(arr) {
|
|
42201
42208
|
if (Array.isArray(arr)) {
|
|
42202
42209
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
42203
42210
|
arr2[i2] = arr[i2];
|
|
@@ -42243,7 +42250,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42243
42250
|
if (Array.isArray(arr))
|
|
42244
42251
|
return arr;
|
|
42245
42252
|
}
|
|
42246
|
-
function ownKeys$
|
|
42253
|
+
function ownKeys$1(object2, enumerableOnly) {
|
|
42247
42254
|
var keys2 = Object.keys(object2);
|
|
42248
42255
|
if (Object.getOwnPropertySymbols) {
|
|
42249
42256
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -42259,20 +42266,20 @@ var __publicField = (obj, key, value) => {
|
|
|
42259
42266
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
42260
42267
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
42261
42268
|
if (i2 % 2) {
|
|
42262
|
-
ownKeys$
|
|
42263
|
-
_defineProperty$
|
|
42269
|
+
ownKeys$1(source, true).forEach(function(key) {
|
|
42270
|
+
_defineProperty$3(target, key, source[key]);
|
|
42264
42271
|
});
|
|
42265
42272
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
42266
42273
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
42267
42274
|
} else {
|
|
42268
|
-
ownKeys$
|
|
42275
|
+
ownKeys$1(source).forEach(function(key) {
|
|
42269
42276
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
42270
42277
|
});
|
|
42271
42278
|
}
|
|
42272
42279
|
}
|
|
42273
42280
|
return target;
|
|
42274
42281
|
}
|
|
42275
|
-
function _defineProperty$
|
|
42282
|
+
function _defineProperty$3(obj, key, value) {
|
|
42276
42283
|
if (key in obj) {
|
|
42277
42284
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
42278
42285
|
} else {
|
|
@@ -42280,10 +42287,10 @@ var __publicField = (obj, key, value) => {
|
|
|
42280
42287
|
}
|
|
42281
42288
|
return obj;
|
|
42282
42289
|
}
|
|
42283
|
-
function _objectWithoutProperties
|
|
42290
|
+
function _objectWithoutProperties(source, excluded) {
|
|
42284
42291
|
if (source == null)
|
|
42285
42292
|
return {};
|
|
42286
|
-
var target = _objectWithoutPropertiesLoose
|
|
42293
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
42287
42294
|
var key, i2;
|
|
42288
42295
|
if (Object.getOwnPropertySymbols) {
|
|
42289
42296
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -42298,7 +42305,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42298
42305
|
}
|
|
42299
42306
|
return target;
|
|
42300
42307
|
}
|
|
42301
|
-
function _objectWithoutPropertiesLoose
|
|
42308
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
42302
42309
|
if (source == null)
|
|
42303
42310
|
return {};
|
|
42304
42311
|
var target = {};
|
|
@@ -42313,8 +42320,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42313
42320
|
return target;
|
|
42314
42321
|
}
|
|
42315
42322
|
var Dropzone = React$2.forwardRef(function(_ref2, ref) {
|
|
42316
|
-
var children = _ref2.children, params = _objectWithoutProperties
|
|
42317
|
-
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"]);
|
|
42318
42325
|
React$2.useImperativeHandle(ref, function() {
|
|
42319
42326
|
return {
|
|
42320
42327
|
open: open2
|
|
@@ -42447,7 +42454,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42447
42454
|
event.preventDefault();
|
|
42448
42455
|
event.persist();
|
|
42449
42456
|
stopPropagation(event);
|
|
42450
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
42457
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$1(dragTargetsRef.current), [event.target]);
|
|
42451
42458
|
if (isEvtWithFiles(event)) {
|
|
42452
42459
|
Promise.resolve(getFilesFromEvent(event)).then(function(draggedFiles2) {
|
|
42453
42460
|
if (isPropagationStopped(event) && !noDragEventsBubbling) {
|
|
@@ -42575,8 +42582,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42575
42582
|
};
|
|
42576
42583
|
var getRootProps = React$2.useMemo(function() {
|
|
42577
42584
|
return function() {
|
|
42578
|
-
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
|
|
42579
|
-
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({
|
|
42580
42587
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
42581
42588
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
42582
42589
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -42595,8 +42602,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42595
42602
|
}, []);
|
|
42596
42603
|
var getInputProps = React$2.useMemo(function() {
|
|
42597
42604
|
return function() {
|
|
42598
|
-
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
|
|
42599
|
-
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({
|
|
42600
42607
|
accept,
|
|
42601
42608
|
multiple,
|
|
42602
42609
|
type: "file",
|
|
@@ -43389,7 +43396,6 @@ var __publicField = (obj, key, value) => {
|
|
|
43389
43396
|
}
|
|
43390
43397
|
|
|
43391
43398
|
input {
|
|
43392
|
-
width: calc(100% - 1.25rem);
|
|
43393
43399
|
height: calc(2.5rem - 2px);
|
|
43394
43400
|
border: none;
|
|
43395
43401
|
border-radius: 0.25rem;
|
|
@@ -43429,6 +43435,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43429
43435
|
// Fix: Overrides the 22ch default width of the nested regular input
|
|
43430
43436
|
> div:first-child {
|
|
43431
43437
|
width: 100%;
|
|
43438
|
+
height: auto;
|
|
43432
43439
|
}
|
|
43433
43440
|
`;
|
|
43434
43441
|
const numericFilter = (integerOnly) => (e3) => {
|
|
@@ -43518,7 +43525,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43518
43525
|
React$2.useEffect(() => {
|
|
43519
43526
|
setInput(getInitialValue(props.value, props.initialValue));
|
|
43520
43527
|
}, [props.value]);
|
|
43521
|
-
return jsxRuntime.exports.jsxs("div", { children: [jsxRuntime.exports.jsxs(InputWrapper$1, { disabled: props.disabled, errorMsg: props.errorMsg, stepper: props.stepper, children: [jsxRuntime.exports.jsx(Input$1, { autoFocus: props.autoFocus, className: props.className, disabled: props.disabled, keydownFilter, maxValue: props.maxValue, minValue: props.minValue, onBlur: props.onBlur, onChange: onChange2, onComplete: props.onComplete, onKeyDown, placeholder: props.placeholder, ref,
|
|
43528
|
+
return jsxRuntime.exports.jsxs("div", { children: [jsxRuntime.exports.jsxs(InputWrapper$1, { disabled: props.disabled, errorMsg: props.errorMsg, stepper: props.stepper, style: props.style, children: [jsxRuntime.exports.jsx(Input$1, { autoFocus: props.autoFocus, className: props.className, disabled: props.disabled, keydownFilter, maxValue: props.maxValue, minValue: props.minValue, onBlur: props.onBlur, onChange: onChange2, onComplete: props.onComplete, onKeyDown, placeholder: props.placeholder, ref, value: input }), props.stepper && jsxRuntime.exports.jsx(InputStepper, { disabled: props.disabled, step, stepSkip: props.stepSkip })] }), props.errorMsg && jsxRuntime.exports.jsx(ErrorMessage$1, { children: props.errorMsg })] });
|
|
43522
43529
|
});
|
|
43523
43530
|
Input$1.displayName = "NumericInput";
|
|
43524
43531
|
styled__default.default.div`
|
|
@@ -43966,7 +43973,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43966
43973
|
_defineProperties(Constructor, staticProps);
|
|
43967
43974
|
return Constructor;
|
|
43968
43975
|
}
|
|
43969
|
-
function _defineProperty$
|
|
43976
|
+
function _defineProperty$2(obj, key, value) {
|
|
43970
43977
|
if (key in obj) {
|
|
43971
43978
|
Object.defineProperty(obj, key, {
|
|
43972
43979
|
value,
|
|
@@ -43979,7 +43986,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43979
43986
|
}
|
|
43980
43987
|
return obj;
|
|
43981
43988
|
}
|
|
43982
|
-
function ownKeys
|
|
43989
|
+
function ownKeys(object2, enumerableOnly) {
|
|
43983
43990
|
var keys2 = Object.keys(object2);
|
|
43984
43991
|
if (Object.getOwnPropertySymbols) {
|
|
43985
43992
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -43991,17 +43998,17 @@ var __publicField = (obj, key, value) => {
|
|
|
43991
43998
|
}
|
|
43992
43999
|
return keys2;
|
|
43993
44000
|
}
|
|
43994
|
-
function _objectSpread2
|
|
44001
|
+
function _objectSpread2(target) {
|
|
43995
44002
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
43996
44003
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
43997
44004
|
if (i2 % 2) {
|
|
43998
|
-
ownKeys
|
|
43999
|
-
_defineProperty$
|
|
44005
|
+
ownKeys(Object(source), true).forEach(function(key) {
|
|
44006
|
+
_defineProperty$2(target, key, source[key]);
|
|
44000
44007
|
});
|
|
44001
44008
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
44002
44009
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
44003
44010
|
} else {
|
|
44004
|
-
ownKeys
|
|
44011
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
44005
44012
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
44006
44013
|
});
|
|
44007
44014
|
}
|
|
@@ -44076,20 +44083,20 @@ var __publicField = (obj, key, value) => {
|
|
|
44076
44083
|
};
|
|
44077
44084
|
}
|
|
44078
44085
|
function _slicedToArray(arr, i2) {
|
|
44079
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray
|
|
44086
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray(arr, i2) || _nonIterableRest();
|
|
44080
44087
|
}
|
|
44081
|
-
function _toConsumableArray
|
|
44082
|
-
return _arrayWithoutHoles
|
|
44088
|
+
function _toConsumableArray(arr) {
|
|
44089
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
44083
44090
|
}
|
|
44084
|
-
function _arrayWithoutHoles
|
|
44091
|
+
function _arrayWithoutHoles(arr) {
|
|
44085
44092
|
if (Array.isArray(arr))
|
|
44086
|
-
return _arrayLikeToArray
|
|
44093
|
+
return _arrayLikeToArray(arr);
|
|
44087
44094
|
}
|
|
44088
44095
|
function _arrayWithHoles(arr) {
|
|
44089
44096
|
if (Array.isArray(arr))
|
|
44090
44097
|
return arr;
|
|
44091
44098
|
}
|
|
44092
|
-
function _iterableToArray
|
|
44099
|
+
function _iterableToArray(iter) {
|
|
44093
44100
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter))
|
|
44094
44101
|
return Array.from(iter);
|
|
44095
44102
|
}
|
|
@@ -44120,27 +44127,27 @@ var __publicField = (obj, key, value) => {
|
|
|
44120
44127
|
}
|
|
44121
44128
|
return _arr;
|
|
44122
44129
|
}
|
|
44123
|
-
function _unsupportedIterableToArray
|
|
44130
|
+
function _unsupportedIterableToArray(o2, minLen) {
|
|
44124
44131
|
if (!o2)
|
|
44125
44132
|
return;
|
|
44126
44133
|
if (typeof o2 === "string")
|
|
44127
|
-
return _arrayLikeToArray
|
|
44134
|
+
return _arrayLikeToArray(o2, minLen);
|
|
44128
44135
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
44129
44136
|
if (n2 === "Object" && o2.constructor)
|
|
44130
44137
|
n2 = o2.constructor.name;
|
|
44131
44138
|
if (n2 === "Map" || n2 === "Set")
|
|
44132
44139
|
return Array.from(o2);
|
|
44133
44140
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
44134
|
-
return _arrayLikeToArray
|
|
44141
|
+
return _arrayLikeToArray(o2, minLen);
|
|
44135
44142
|
}
|
|
44136
|
-
function _arrayLikeToArray
|
|
44143
|
+
function _arrayLikeToArray(arr, len) {
|
|
44137
44144
|
if (len == null || len > arr.length)
|
|
44138
44145
|
len = arr.length;
|
|
44139
44146
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
44140
44147
|
arr2[i2] = arr[i2];
|
|
44141
44148
|
return arr2;
|
|
44142
44149
|
}
|
|
44143
|
-
function _nonIterableSpread
|
|
44150
|
+
function _nonIterableSpread() {
|
|
44144
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.");
|
|
44145
44152
|
}
|
|
44146
44153
|
function _nonIterableRest() {
|
|
@@ -44168,10 +44175,10 @@ var __publicField = (obj, key, value) => {
|
|
|
44168
44175
|
if (val === updateValue) {
|
|
44169
44176
|
return handles;
|
|
44170
44177
|
}
|
|
44171
|
-
return [].concat(_toConsumableArray
|
|
44178
|
+
return [].concat(_toConsumableArray(handles.slice(0, index2)), [{
|
|
44172
44179
|
key,
|
|
44173
44180
|
val: updateValue
|
|
44174
|
-
}], _toConsumableArray
|
|
44181
|
+
}], _toConsumableArray(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
44175
44182
|
}
|
|
44176
44183
|
return handles;
|
|
44177
44184
|
}
|
|
@@ -44309,7 +44316,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44309
44316
|
_this.getRailProps = function() {
|
|
44310
44317
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
44311
44318
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44312
|
-
return _objectSpread2
|
|
44319
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
44313
44320
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
44314
44321
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
44315
44322
|
});
|
|
@@ -44348,7 +44355,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44348
44355
|
_this.getHandleProps = function(id) {
|
|
44349
44356
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
44350
44357
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44351
|
-
return _objectSpread2
|
|
44358
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
44352
44359
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
44353
44360
|
return emitKeyboard && emitKeyboard(e3, id);
|
|
44354
44361
|
}),
|
|
@@ -44511,7 +44518,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44511
44518
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
44512
44519
|
_this.getTrackProps = function(props) {
|
|
44513
44520
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44514
|
-
return _objectSpread2
|
|
44521
|
+
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
44515
44522
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
44516
44523
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
44517
44524
|
});
|
|
@@ -44914,11 +44921,11 @@ var __publicField = (obj, key, value) => {
|
|
|
44914
44921
|
return child;
|
|
44915
44922
|
}
|
|
44916
44923
|
});
|
|
44917
|
-
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), {}, {
|
|
44918
44925
|
style: rootStyle,
|
|
44919
44926
|
className,
|
|
44920
44927
|
ref: this.slider
|
|
44921
|
-
})), 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), {}, {
|
|
44922
44929
|
style: rootStyle,
|
|
44923
44930
|
className,
|
|
44924
44931
|
ref: this.slider
|
|
@@ -45182,331 +45189,6 @@ var __publicField = (obj, key, value) => {
|
|
|
45182
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 })] });
|
|
45183
45190
|
}
|
|
45184
45191
|
React$2.forwardRef(Switch);
|
|
45185
|
-
function ownKeys(object2, enumerableOnly) {
|
|
45186
|
-
var keys2 = Object.keys(object2);
|
|
45187
|
-
if (Object.getOwnPropertySymbols) {
|
|
45188
|
-
var symbols = Object.getOwnPropertySymbols(object2);
|
|
45189
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
45190
|
-
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
45191
|
-
})), keys2.push.apply(keys2, symbols);
|
|
45192
|
-
}
|
|
45193
|
-
return keys2;
|
|
45194
|
-
}
|
|
45195
|
-
function _objectSpread2(target) {
|
|
45196
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
45197
|
-
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
45198
|
-
i2 % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
45199
|
-
_defineProperty$2(target, key, source[key]);
|
|
45200
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
45201
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45202
|
-
});
|
|
45203
|
-
}
|
|
45204
|
-
return target;
|
|
45205
|
-
}
|
|
45206
|
-
function _typeof(obj) {
|
|
45207
|
-
"@babel/helpers - typeof";
|
|
45208
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
45209
|
-
return typeof obj2;
|
|
45210
|
-
} : function(obj2) {
|
|
45211
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
45212
|
-
}, _typeof(obj);
|
|
45213
|
-
}
|
|
45214
|
-
function _defineProperty$2(obj, key, value) {
|
|
45215
|
-
if (key in obj) {
|
|
45216
|
-
Object.defineProperty(obj, key, {
|
|
45217
|
-
value,
|
|
45218
|
-
enumerable: true,
|
|
45219
|
-
configurable: true,
|
|
45220
|
-
writable: true
|
|
45221
|
-
});
|
|
45222
|
-
} else {
|
|
45223
|
-
obj[key] = value;
|
|
45224
|
-
}
|
|
45225
|
-
return obj;
|
|
45226
|
-
}
|
|
45227
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
45228
|
-
if (source == null)
|
|
45229
|
-
return {};
|
|
45230
|
-
var target = {};
|
|
45231
|
-
var sourceKeys = Object.keys(source);
|
|
45232
|
-
var key, i2;
|
|
45233
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
45234
|
-
key = sourceKeys[i2];
|
|
45235
|
-
if (excluded.indexOf(key) >= 0)
|
|
45236
|
-
continue;
|
|
45237
|
-
target[key] = source[key];
|
|
45238
|
-
}
|
|
45239
|
-
return target;
|
|
45240
|
-
}
|
|
45241
|
-
function _objectWithoutProperties(source, excluded) {
|
|
45242
|
-
if (source == null)
|
|
45243
|
-
return {};
|
|
45244
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
45245
|
-
var key, i2;
|
|
45246
|
-
if (Object.getOwnPropertySymbols) {
|
|
45247
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
45248
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
45249
|
-
key = sourceSymbolKeys[i2];
|
|
45250
|
-
if (excluded.indexOf(key) >= 0)
|
|
45251
|
-
continue;
|
|
45252
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
45253
|
-
continue;
|
|
45254
|
-
target[key] = source[key];
|
|
45255
|
-
}
|
|
45256
|
-
}
|
|
45257
|
-
return target;
|
|
45258
|
-
}
|
|
45259
|
-
function _toConsumableArray(arr) {
|
|
45260
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
45261
|
-
}
|
|
45262
|
-
function _arrayWithoutHoles(arr) {
|
|
45263
|
-
if (Array.isArray(arr))
|
|
45264
|
-
return _arrayLikeToArray(arr);
|
|
45265
|
-
}
|
|
45266
|
-
function _iterableToArray(iter) {
|
|
45267
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
45268
|
-
return Array.from(iter);
|
|
45269
|
-
}
|
|
45270
|
-
function _unsupportedIterableToArray(o2, minLen) {
|
|
45271
|
-
if (!o2)
|
|
45272
|
-
return;
|
|
45273
|
-
if (typeof o2 === "string")
|
|
45274
|
-
return _arrayLikeToArray(o2, minLen);
|
|
45275
|
-
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
45276
|
-
if (n2 === "Object" && o2.constructor)
|
|
45277
|
-
n2 = o2.constructor.name;
|
|
45278
|
-
if (n2 === "Map" || n2 === "Set")
|
|
45279
|
-
return Array.from(o2);
|
|
45280
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
45281
|
-
return _arrayLikeToArray(o2, minLen);
|
|
45282
|
-
}
|
|
45283
|
-
function _arrayLikeToArray(arr, len) {
|
|
45284
|
-
if (len == null || len > arr.length)
|
|
45285
|
-
len = arr.length;
|
|
45286
|
-
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
45287
|
-
arr2[i2] = arr[i2];
|
|
45288
|
-
return arr2;
|
|
45289
|
-
}
|
|
45290
|
-
function _nonIterableSpread() {
|
|
45291
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
45292
|
-
}
|
|
45293
|
-
function classList(props) {
|
|
45294
|
-
var _classes;
|
|
45295
|
-
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;
|
|
45296
|
-
var classes = (_classes = {
|
|
45297
|
-
"fa-beat": beat,
|
|
45298
|
-
"fa-fade": fade,
|
|
45299
|
-
"fa-beat-fade": beatFade,
|
|
45300
|
-
"fa-bounce": bounce,
|
|
45301
|
-
"fa-shake": shake,
|
|
45302
|
-
"fa-flash": flash,
|
|
45303
|
-
"fa-spin": spin,
|
|
45304
|
-
"fa-spin-reverse": spinReverse,
|
|
45305
|
-
"fa-spin-pulse": spinPulse,
|
|
45306
|
-
"fa-pulse": pulse,
|
|
45307
|
-
"fa-fw": fixedWidth,
|
|
45308
|
-
"fa-inverse": inverse,
|
|
45309
|
-
"fa-border": border,
|
|
45310
|
-
"fa-li": listItem,
|
|
45311
|
-
"fa-flip": flip2 === true,
|
|
45312
|
-
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
45313
|
-
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
45314
|
-
}, _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);
|
|
45315
|
-
return Object.keys(classes).map(function(key) {
|
|
45316
|
-
return classes[key] ? key : null;
|
|
45317
|
-
}).filter(function(key) {
|
|
45318
|
-
return key;
|
|
45319
|
-
});
|
|
45320
|
-
}
|
|
45321
|
-
function _isNumerical(obj) {
|
|
45322
|
-
obj = obj - 0;
|
|
45323
|
-
return obj === obj;
|
|
45324
|
-
}
|
|
45325
|
-
function camelize(string2) {
|
|
45326
|
-
if (_isNumerical(string2)) {
|
|
45327
|
-
return string2;
|
|
45328
|
-
}
|
|
45329
|
-
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
45330
|
-
return chr ? chr.toUpperCase() : "";
|
|
45331
|
-
});
|
|
45332
|
-
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
45333
|
-
}
|
|
45334
|
-
var _excluded = ["style"];
|
|
45335
|
-
function capitalize(val) {
|
|
45336
|
-
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
45337
|
-
}
|
|
45338
|
-
function styleToObject(style) {
|
|
45339
|
-
return style.split(";").map(function(s) {
|
|
45340
|
-
return s.trim();
|
|
45341
|
-
}).filter(function(s) {
|
|
45342
|
-
return s;
|
|
45343
|
-
}).reduce(function(acc, pair) {
|
|
45344
|
-
var i2 = pair.indexOf(":");
|
|
45345
|
-
var prop = camelize(pair.slice(0, i2));
|
|
45346
|
-
var value = pair.slice(i2 + 1).trim();
|
|
45347
|
-
prop.startsWith("webkit") ? acc[capitalize(prop)] = value : acc[prop] = value;
|
|
45348
|
-
return acc;
|
|
45349
|
-
}, {});
|
|
45350
|
-
}
|
|
45351
|
-
function convert(createElement2, element) {
|
|
45352
|
-
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
45353
|
-
if (typeof element === "string") {
|
|
45354
|
-
return element;
|
|
45355
|
-
}
|
|
45356
|
-
var children = (element.children || []).map(function(child) {
|
|
45357
|
-
return convert(createElement2, child);
|
|
45358
|
-
});
|
|
45359
|
-
var mixins = Object.keys(element.attributes || {}).reduce(function(acc, key) {
|
|
45360
|
-
var val = element.attributes[key];
|
|
45361
|
-
switch (key) {
|
|
45362
|
-
case "class":
|
|
45363
|
-
acc.attrs["className"] = val;
|
|
45364
|
-
delete element.attributes["class"];
|
|
45365
|
-
break;
|
|
45366
|
-
case "style":
|
|
45367
|
-
acc.attrs["style"] = styleToObject(val);
|
|
45368
|
-
break;
|
|
45369
|
-
default:
|
|
45370
|
-
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
45371
|
-
acc.attrs[key.toLowerCase()] = val;
|
|
45372
|
-
} else {
|
|
45373
|
-
acc.attrs[camelize(key)] = val;
|
|
45374
|
-
}
|
|
45375
|
-
}
|
|
45376
|
-
return acc;
|
|
45377
|
-
}, {
|
|
45378
|
-
attrs: {}
|
|
45379
|
-
});
|
|
45380
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties(extraProps, _excluded);
|
|
45381
|
-
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
45382
|
-
return createElement2.apply(void 0, [element.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray(children)));
|
|
45383
|
-
}
|
|
45384
|
-
var PRODUCTION = false;
|
|
45385
|
-
try {
|
|
45386
|
-
PRODUCTION = true;
|
|
45387
|
-
} catch (e3) {
|
|
45388
|
-
}
|
|
45389
|
-
function log() {
|
|
45390
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
45391
|
-
var _console;
|
|
45392
|
-
(_console = console).error.apply(_console, arguments);
|
|
45393
|
-
}
|
|
45394
|
-
}
|
|
45395
|
-
function normalizeIconArgs(icon2) {
|
|
45396
|
-
if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
45397
|
-
return icon2;
|
|
45398
|
-
}
|
|
45399
|
-
if (parse$1$1.icon) {
|
|
45400
|
-
return parse$1$1.icon(icon2);
|
|
45401
|
-
}
|
|
45402
|
-
if (icon2 === null) {
|
|
45403
|
-
return null;
|
|
45404
|
-
}
|
|
45405
|
-
if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
45406
|
-
return icon2;
|
|
45407
|
-
}
|
|
45408
|
-
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
45409
|
-
return {
|
|
45410
|
-
prefix: icon2[0],
|
|
45411
|
-
iconName: icon2[1]
|
|
45412
|
-
};
|
|
45413
|
-
}
|
|
45414
|
-
if (typeof icon2 === "string") {
|
|
45415
|
-
return {
|
|
45416
|
-
prefix: "fas",
|
|
45417
|
-
iconName: icon2
|
|
45418
|
-
};
|
|
45419
|
-
}
|
|
45420
|
-
}
|
|
45421
|
-
function objectWithKey(key, value) {
|
|
45422
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$2({}, key, value) : {};
|
|
45423
|
-
}
|
|
45424
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
45425
|
-
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
45426
|
-
var iconLookup = normalizeIconArgs(iconArgs);
|
|
45427
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray(classList(props)), _toConsumableArray(className.split(" "))));
|
|
45428
|
-
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
45429
|
-
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
45430
|
-
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
45431
|
-
symbol,
|
|
45432
|
-
title,
|
|
45433
|
-
titleId,
|
|
45434
|
-
maskId
|
|
45435
|
-
}));
|
|
45436
|
-
if (!renderedIcon) {
|
|
45437
|
-
log("Could not find icon", iconLookup);
|
|
45438
|
-
return null;
|
|
45439
|
-
}
|
|
45440
|
-
var abstract = renderedIcon.abstract;
|
|
45441
|
-
var extraProps = {
|
|
45442
|
-
ref
|
|
45443
|
-
};
|
|
45444
|
-
Object.keys(props).forEach(function(key) {
|
|
45445
|
-
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
45446
|
-
extraProps[key] = props[key];
|
|
45447
|
-
}
|
|
45448
|
-
});
|
|
45449
|
-
return convertCurry(abstract[0], extraProps);
|
|
45450
|
-
});
|
|
45451
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
45452
|
-
FontAwesomeIcon.propTypes = {
|
|
45453
|
-
beat: propTypes.exports.bool,
|
|
45454
|
-
border: propTypes.exports.bool,
|
|
45455
|
-
beatFade: propTypes.exports.bool,
|
|
45456
|
-
bounce: propTypes.exports.bool,
|
|
45457
|
-
className: propTypes.exports.string,
|
|
45458
|
-
fade: propTypes.exports.bool,
|
|
45459
|
-
flash: propTypes.exports.bool,
|
|
45460
|
-
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
45461
|
-
maskId: propTypes.exports.string,
|
|
45462
|
-
fixedWidth: propTypes.exports.bool,
|
|
45463
|
-
inverse: propTypes.exports.bool,
|
|
45464
|
-
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
45465
|
-
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
45466
|
-
listItem: propTypes.exports.bool,
|
|
45467
|
-
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
45468
|
-
pulse: propTypes.exports.bool,
|
|
45469
|
-
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
45470
|
-
shake: propTypes.exports.bool,
|
|
45471
|
-
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
45472
|
-
spin: propTypes.exports.bool,
|
|
45473
|
-
spinPulse: propTypes.exports.bool,
|
|
45474
|
-
spinReverse: propTypes.exports.bool,
|
|
45475
|
-
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
45476
|
-
title: propTypes.exports.string,
|
|
45477
|
-
titleId: propTypes.exports.string,
|
|
45478
|
-
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
45479
|
-
swapOpacity: propTypes.exports.bool
|
|
45480
|
-
};
|
|
45481
|
-
FontAwesomeIcon.defaultProps = {
|
|
45482
|
-
border: false,
|
|
45483
|
-
className: "",
|
|
45484
|
-
mask: null,
|
|
45485
|
-
maskId: null,
|
|
45486
|
-
fixedWidth: false,
|
|
45487
|
-
inverse: false,
|
|
45488
|
-
flip: false,
|
|
45489
|
-
icon: null,
|
|
45490
|
-
listItem: false,
|
|
45491
|
-
pull: null,
|
|
45492
|
-
pulse: false,
|
|
45493
|
-
rotation: null,
|
|
45494
|
-
size: null,
|
|
45495
|
-
spin: false,
|
|
45496
|
-
spinPulse: false,
|
|
45497
|
-
spinReverse: false,
|
|
45498
|
-
beat: false,
|
|
45499
|
-
fade: false,
|
|
45500
|
-
beatFade: false,
|
|
45501
|
-
bounce: false,
|
|
45502
|
-
shake: false,
|
|
45503
|
-
symbol: false,
|
|
45504
|
-
title: "",
|
|
45505
|
-
titleId: null,
|
|
45506
|
-
transform: null,
|
|
45507
|
-
swapOpacity: false
|
|
45508
|
-
};
|
|
45509
|
-
var convertCurry = convert.bind(null, React__default.default.createElement);
|
|
45510
45192
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
45511
45193
|
return typeof value === "number" && value !== value;
|
|
45512
45194
|
};
|
|
@@ -48215,8 +47897,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
48215
47897
|
return false;
|
|
48216
47898
|
}
|
|
48217
47899
|
function areEqual(prevProps, nextProps) {
|
|
48218
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
48219
|
-
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"]);
|
|
48220
47902
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
48221
47903
|
}
|
|
48222
47904
|
const GlobalStyle = styled.createGlobalStyle`
|
|
@@ -58919,7 +58601,7 @@ Inferred class string: "${iconClasses}."`
|
|
|
58919
58601
|
} else if (FallbackComponent) {
|
|
58920
58602
|
childToRender = React$2.createElement(FallbackComponent, props);
|
|
58921
58603
|
} else {
|
|
58922
|
-
throw
|
|
58604
|
+
throw error;
|
|
58923
58605
|
}
|
|
58924
58606
|
}
|
|
58925
58607
|
return React$2.createElement(ErrorBoundaryContext.Provider, {
|