sixseconds-modules 1.6.176 → 1.6.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +499 -1286
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +499 -1286
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -2
package/dist/index.es.js
CHANGED
|
@@ -4,6 +4,7 @@ import * as React from "react";
|
|
|
4
4
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo, useLayoutEffect, createContext, forwardRef, createElement, useContext, Component } from "react";
|
|
5
5
|
import axios from "axios";
|
|
6
6
|
import Cookies from "js-cookie";
|
|
7
|
+
import createCache from "@emotion/cache";
|
|
7
8
|
import { CacheProvider } from "@emotion/react";
|
|
8
9
|
import { Box, Typography, ThemeProvider, createTheme, Dialog, Stack as Stack$1, Button as Button$1, IconButton, Grid, Avatar, Chip, Link, Divider, ClickAwayListener, useMediaQuery, MenuItem, AppBar, Container, Badge, FormLabel, TextField, InputAdornment, styled as styled$1 } from "@mui/material";
|
|
9
10
|
import MenuIcon from "@mui/icons-material/Menu";
|
|
@@ -363,8 +364,8 @@ deepmerge.all = function deepmergeAll(array2, options) {
|
|
|
363
364
|
if (!Array.isArray(array2)) {
|
|
364
365
|
throw new Error("first argument should be an array");
|
|
365
366
|
}
|
|
366
|
-
return array2.reduce(function(
|
|
367
|
-
return deepmerge(
|
|
367
|
+
return array2.reduce(function(prev, next) {
|
|
368
|
+
return deepmerge(prev, next, options);
|
|
368
369
|
}, {});
|
|
369
370
|
};
|
|
370
371
|
var deepmerge_1 = deepmerge;
|
|
@@ -439,10 +440,10 @@ function eq(value, other) {
|
|
|
439
440
|
return value === other || value !== value && other !== other;
|
|
440
441
|
}
|
|
441
442
|
function assocIndexOf(array2, key) {
|
|
442
|
-
var
|
|
443
|
-
while (
|
|
444
|
-
if (eq(array2[
|
|
445
|
-
return
|
|
443
|
+
var length = array2.length;
|
|
444
|
+
while (length--) {
|
|
445
|
+
if (eq(array2[length][0], key)) {
|
|
446
|
+
return length;
|
|
446
447
|
}
|
|
447
448
|
}
|
|
448
449
|
return -1;
|
|
@@ -481,9 +482,9 @@ function listCacheSet(key, value) {
|
|
|
481
482
|
return this;
|
|
482
483
|
}
|
|
483
484
|
function ListCache(entries) {
|
|
484
|
-
var index = -1,
|
|
485
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
485
486
|
this.clear();
|
|
486
|
-
while (++index <
|
|
487
|
+
while (++index < length) {
|
|
487
488
|
var entry = entries[index];
|
|
488
489
|
this.set(entry[0], entry[1]);
|
|
489
490
|
}
|
|
@@ -601,9 +602,9 @@ function hashSet(key, value) {
|
|
|
601
602
|
return this;
|
|
602
603
|
}
|
|
603
604
|
function Hash(entries) {
|
|
604
|
-
var index = -1,
|
|
605
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
605
606
|
this.clear();
|
|
606
|
-
while (++index <
|
|
607
|
+
while (++index < length) {
|
|
607
608
|
var entry = entries[index];
|
|
608
609
|
this.set(entry[0], entry[1]);
|
|
609
610
|
}
|
|
@@ -647,9 +648,9 @@ function mapCacheSet(key, value) {
|
|
|
647
648
|
return this;
|
|
648
649
|
}
|
|
649
650
|
function MapCache(entries) {
|
|
650
|
-
var index = -1,
|
|
651
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
651
652
|
this.clear();
|
|
652
|
-
while (++index <
|
|
653
|
+
while (++index < length) {
|
|
653
654
|
var entry = entries[index];
|
|
654
655
|
this.set(entry[0], entry[1]);
|
|
655
656
|
}
|
|
@@ -685,8 +686,8 @@ Stack.prototype.get = stackGet;
|
|
|
685
686
|
Stack.prototype.has = stackHas;
|
|
686
687
|
Stack.prototype.set = stackSet;
|
|
687
688
|
function arrayEach(array2, iteratee) {
|
|
688
|
-
var index = -1,
|
|
689
|
-
while (++index <
|
|
689
|
+
var index = -1, length = array2 == null ? 0 : array2.length;
|
|
690
|
+
while (++index < length) {
|
|
690
691
|
if (iteratee(array2[index], index, array2) === false) {
|
|
691
692
|
break;
|
|
692
693
|
}
|
|
@@ -724,8 +725,8 @@ function assignValue(object2, key, value) {
|
|
|
724
725
|
function copyObject(source, props, object2, customizer) {
|
|
725
726
|
var isNew = !object2;
|
|
726
727
|
object2 || (object2 = {});
|
|
727
|
-
var index = -1,
|
|
728
|
-
while (++index <
|
|
728
|
+
var index = -1, length = props.length;
|
|
729
|
+
while (++index < length) {
|
|
729
730
|
var key = props[index];
|
|
730
731
|
var newValue = void 0;
|
|
731
732
|
if (newValue === void 0) {
|
|
@@ -770,10 +771,10 @@ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
|
|
|
770
771
|
var isBuffer = nativeIsBuffer || stubFalse;
|
|
771
772
|
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
772
773
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
773
|
-
function isIndex(value,
|
|
774
|
+
function isIndex(value, length) {
|
|
774
775
|
var type = typeof value;
|
|
775
|
-
|
|
776
|
-
return !!
|
|
776
|
+
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
777
|
+
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
|
777
778
|
}
|
|
778
779
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
779
780
|
function isLength(value) {
|
|
@@ -811,13 +812,13 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
|
|
|
811
812
|
var objectProto$5 = Object.prototype;
|
|
812
813
|
var hasOwnProperty$3 = objectProto$5.hasOwnProperty;
|
|
813
814
|
function arrayLikeKeys(value, inherited) {
|
|
814
|
-
var isArr = isArray$1(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
815
|
+
var isArr = isArray$1(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
815
816
|
for (var key in value) {
|
|
816
817
|
if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
817
818
|
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
818
819
|
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
819
820
|
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
|
820
|
-
isIndex(key,
|
|
821
|
+
isIndex(key, length)))) {
|
|
821
822
|
result.push(key);
|
|
822
823
|
}
|
|
823
824
|
}
|
|
@@ -889,21 +890,21 @@ function cloneBuffer(buffer, isDeep) {
|
|
|
889
890
|
if (isDeep) {
|
|
890
891
|
return buffer.slice();
|
|
891
892
|
}
|
|
892
|
-
var
|
|
893
|
+
var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
893
894
|
buffer.copy(result);
|
|
894
895
|
return result;
|
|
895
896
|
}
|
|
896
897
|
function copyArray(source, array2) {
|
|
897
|
-
var index = -1,
|
|
898
|
-
array2 || (array2 = Array(
|
|
899
|
-
while (++index <
|
|
898
|
+
var index = -1, length = source.length;
|
|
899
|
+
array2 || (array2 = Array(length));
|
|
900
|
+
while (++index < length) {
|
|
900
901
|
array2[index] = source[index];
|
|
901
902
|
}
|
|
902
903
|
return array2;
|
|
903
904
|
}
|
|
904
905
|
function arrayFilter(array2, predicate) {
|
|
905
|
-
var index = -1,
|
|
906
|
-
while (++index <
|
|
906
|
+
var index = -1, length = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
|
|
907
|
+
while (++index < length) {
|
|
907
908
|
var value = array2[index];
|
|
908
909
|
if (predicate(value, index, array2)) {
|
|
909
910
|
result[resIndex++] = value;
|
|
@@ -930,8 +931,8 @@ function copySymbols(source, object2) {
|
|
|
930
931
|
return copyObject(source, getSymbols(source), object2);
|
|
931
932
|
}
|
|
932
933
|
function arrayPush(array2, values) {
|
|
933
|
-
var index = -1,
|
|
934
|
-
while (++index <
|
|
934
|
+
var index = -1, length = values.length, offset2 = array2.length;
|
|
935
|
+
while (++index < length) {
|
|
935
936
|
array2[offset2 + index] = values[index];
|
|
936
937
|
}
|
|
937
938
|
return array2;
|
|
@@ -989,8 +990,8 @@ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2 || Map
|
|
|
989
990
|
var objectProto = Object.prototype;
|
|
990
991
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
991
992
|
function initCloneArray(array2) {
|
|
992
|
-
var
|
|
993
|
-
if (
|
|
993
|
+
var length = array2.length, result = new array2.constructor(length);
|
|
994
|
+
if (length && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
|
|
994
995
|
result.index = array2.index;
|
|
995
996
|
result.input = array2.input;
|
|
996
997
|
}
|
|
@@ -1169,11 +1170,11 @@ function requireReactFastCompare() {
|
|
|
1169
1170
|
function equal(a, b) {
|
|
1170
1171
|
if (a === b) return true;
|
|
1171
1172
|
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
1172
|
-
var arrA = isArray2(a), arrB = isArray2(b), i,
|
|
1173
|
+
var arrA = isArray2(a), arrB = isArray2(b), i, length, key;
|
|
1173
1174
|
if (arrA && arrB) {
|
|
1174
|
-
|
|
1175
|
-
if (
|
|
1176
|
-
for (i =
|
|
1175
|
+
length = a.length;
|
|
1176
|
+
if (length != b.length) return false;
|
|
1177
|
+
for (i = length; i-- !== 0; )
|
|
1177
1178
|
if (!equal(a[i], b[i])) return false;
|
|
1178
1179
|
return true;
|
|
1179
1180
|
}
|
|
@@ -1185,14 +1186,14 @@ function requireReactFastCompare() {
|
|
|
1185
1186
|
if (regexpA != regexpB) return false;
|
|
1186
1187
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
1187
1188
|
var keys2 = keyList(a);
|
|
1188
|
-
|
|
1189
|
-
if (
|
|
1189
|
+
length = keys2.length;
|
|
1190
|
+
if (length !== keyList(b).length)
|
|
1190
1191
|
return false;
|
|
1191
|
-
for (i =
|
|
1192
|
+
for (i = length; i-- !== 0; )
|
|
1192
1193
|
if (!hasProp.call(b, keys2[i])) return false;
|
|
1193
1194
|
if (hasElementType && a instanceof Element && b instanceof Element)
|
|
1194
1195
|
return a === b;
|
|
1195
|
-
for (i =
|
|
1196
|
+
for (i = length; i-- !== 0; ) {
|
|
1196
1197
|
key = keys2[i];
|
|
1197
1198
|
if (key === "_owner" && a.$$typeof) {
|
|
1198
1199
|
continue;
|
|
@@ -1237,8 +1238,8 @@ function clone$2(value) {
|
|
|
1237
1238
|
return baseClone(value, CLONE_SYMBOLS_FLAG);
|
|
1238
1239
|
}
|
|
1239
1240
|
function arrayMap(array2, iteratee) {
|
|
1240
|
-
var index = -1,
|
|
1241
|
-
while (++index <
|
|
1241
|
+
var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
|
|
1242
|
+
while (++index < length) {
|
|
1242
1243
|
result[index] = iteratee(array2[index], index, array2);
|
|
1243
1244
|
}
|
|
1244
1245
|
return result;
|
|
@@ -1283,8 +1284,8 @@ var stringToPath = memoizeCapped(function(string2) {
|
|
|
1283
1284
|
if (string2.charCodeAt(0) === 46) {
|
|
1284
1285
|
result.push("");
|
|
1285
1286
|
}
|
|
1286
|
-
string2.replace(rePropName, function(
|
|
1287
|
-
result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 ||
|
|
1287
|
+
string2.replace(rePropName, function(match, number2, quote, subString) {
|
|
1288
|
+
result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match);
|
|
1288
1289
|
});
|
|
1289
1290
|
return result;
|
|
1290
1291
|
});
|
|
@@ -1910,9 +1911,9 @@ function useFormik(_ref) {
|
|
|
1910
1911
|
});
|
|
1911
1912
|
var state = stateRef.current;
|
|
1912
1913
|
var dispatch = useCallback(function(action) {
|
|
1913
|
-
var
|
|
1914
|
-
stateRef.current = formikReducer(
|
|
1915
|
-
if (
|
|
1914
|
+
var prev = stateRef.current;
|
|
1915
|
+
stateRef.current = formikReducer(prev, action);
|
|
1916
|
+
if (prev !== stateRef.current) setIteration(function(x) {
|
|
1916
1917
|
return x + 1;
|
|
1917
1918
|
});
|
|
1918
1919
|
}, []);
|
|
@@ -1967,14 +1968,14 @@ function useFormik(_ref) {
|
|
|
1967
1968
|
return runSingleFieldLevelValidation(f, getIn$1(values, f));
|
|
1968
1969
|
}) : [Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];
|
|
1969
1970
|
return Promise.all(fieldValidations).then(function(fieldErrorsList) {
|
|
1970
|
-
return fieldErrorsList.reduce(function(
|
|
1971
|
+
return fieldErrorsList.reduce(function(prev, curr, index) {
|
|
1971
1972
|
if (curr === "DO_NOT_DELETE_YOU_WILL_BE_FIRED") {
|
|
1972
|
-
return
|
|
1973
|
+
return prev;
|
|
1973
1974
|
}
|
|
1974
1975
|
if (curr) {
|
|
1975
|
-
|
|
1976
|
+
prev = setIn(prev, fieldKeysWithValidation[index], curr);
|
|
1976
1977
|
}
|
|
1977
|
-
return
|
|
1978
|
+
return prev;
|
|
1978
1979
|
}, {});
|
|
1979
1980
|
});
|
|
1980
1981
|
}, [runSingleFieldLevelValidation]);
|
|
@@ -6767,8 +6768,8 @@ function removeFormattingTokens(input) {
|
|
|
6767
6768
|
return input.replace(/\\/g, "");
|
|
6768
6769
|
}
|
|
6769
6770
|
function makeFormatFunction(format2) {
|
|
6770
|
-
var array2 = format2.match(formattingTokens), i,
|
|
6771
|
-
for (i = 0,
|
|
6771
|
+
var array2 = format2.match(formattingTokens), i, length;
|
|
6772
|
+
for (i = 0, length = array2.length; i < length; i++) {
|
|
6772
6773
|
if (formatTokenFunctions[array2[i]]) {
|
|
6773
6774
|
array2[i] = formatTokenFunctions[array2[i]];
|
|
6774
6775
|
} else {
|
|
@@ -6777,7 +6778,7 @@ function makeFormatFunction(format2) {
|
|
|
6777
6778
|
}
|
|
6778
6779
|
return function(mom) {
|
|
6779
6780
|
var output = "", i2;
|
|
6780
|
-
for (i2 = 0; i2 <
|
|
6781
|
+
for (i2 = 0; i2 < length; i2++) {
|
|
6781
6782
|
output += isFunction2(array2[i2]) ? array2[i2].call(mom, format2) : array2[i2];
|
|
6782
6783
|
}
|
|
6783
6784
|
return output;
|
|
@@ -7915,18 +7916,18 @@ function normalizeLocale(key) {
|
|
|
7915
7916
|
return key ? key.toLowerCase().replace("_", "-") : key;
|
|
7916
7917
|
}
|
|
7917
7918
|
function chooseLocale(names) {
|
|
7918
|
-
var i = 0, j,
|
|
7919
|
+
var i = 0, j, next, locale2, split;
|
|
7919
7920
|
while (i < names.length) {
|
|
7920
7921
|
split = normalizeLocale(names[i]).split("-");
|
|
7921
7922
|
j = split.length;
|
|
7922
|
-
|
|
7923
|
-
|
|
7923
|
+
next = normalizeLocale(names[i + 1]);
|
|
7924
|
+
next = next ? next.split("-") : null;
|
|
7924
7925
|
while (j > 0) {
|
|
7925
7926
|
locale2 = loadLocale(split.slice(0, j).join("-"));
|
|
7926
7927
|
if (locale2) {
|
|
7927
7928
|
return locale2;
|
|
7928
7929
|
}
|
|
7929
|
-
if (
|
|
7930
|
+
if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
|
|
7930
7931
|
break;
|
|
7931
7932
|
}
|
|
7932
7933
|
j--;
|
|
@@ -8121,11 +8122,11 @@ var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\
|
|
|
8121
8122
|
PST: -8 * 60
|
|
8122
8123
|
};
|
|
8123
8124
|
function configFromISO(config) {
|
|
8124
|
-
var i, l, string2 = config._i,
|
|
8125
|
-
if (
|
|
8125
|
+
var i, l, string2 = config._i, match = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
|
|
8126
|
+
if (match) {
|
|
8126
8127
|
getParsingFlags(config).iso = true;
|
|
8127
8128
|
for (i = 0, l = isoDatesLen; i < l; i++) {
|
|
8128
|
-
if (isoDates[i][1].exec(
|
|
8129
|
+
if (isoDates[i][1].exec(match[1])) {
|
|
8129
8130
|
dateFormat = isoDates[i][0];
|
|
8130
8131
|
allowTime = isoDates[i][2] !== false;
|
|
8131
8132
|
break;
|
|
@@ -8135,10 +8136,10 @@ function configFromISO(config) {
|
|
|
8135
8136
|
config._isValid = false;
|
|
8136
8137
|
return;
|
|
8137
8138
|
}
|
|
8138
|
-
if (
|
|
8139
|
+
if (match[3]) {
|
|
8139
8140
|
for (i = 0, l = isoTimesLen; i < l; i++) {
|
|
8140
|
-
if (isoTimes[i][1].exec(
|
|
8141
|
-
timeFormat = (
|
|
8141
|
+
if (isoTimes[i][1].exec(match[3])) {
|
|
8142
|
+
timeFormat = (match[2] || " ") + isoTimes[i][0];
|
|
8142
8143
|
break;
|
|
8143
8144
|
}
|
|
8144
8145
|
}
|
|
@@ -8151,8 +8152,8 @@ function configFromISO(config) {
|
|
|
8151
8152
|
config._isValid = false;
|
|
8152
8153
|
return;
|
|
8153
8154
|
}
|
|
8154
|
-
if (
|
|
8155
|
-
if (tzRegex.exec(
|
|
8155
|
+
if (match[4]) {
|
|
8156
|
+
if (tzRegex.exec(match[4])) {
|
|
8156
8157
|
tzFormat = "Z";
|
|
8157
8158
|
} else {
|
|
8158
8159
|
config._isValid = false;
|
|
@@ -8216,21 +8217,21 @@ function calculateOffset(obsOffset, militaryOffset, numOffset) {
|
|
|
8216
8217
|
}
|
|
8217
8218
|
}
|
|
8218
8219
|
function configFromRFC2822(config) {
|
|
8219
|
-
var
|
|
8220
|
-
if (
|
|
8220
|
+
var match = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
|
|
8221
|
+
if (match) {
|
|
8221
8222
|
parsedArray = extractFromRFC2822Strings(
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8223
|
+
match[4],
|
|
8224
|
+
match[3],
|
|
8225
|
+
match[2],
|
|
8226
|
+
match[5],
|
|
8227
|
+
match[6],
|
|
8228
|
+
match[7]
|
|
8228
8229
|
);
|
|
8229
|
-
if (!checkWeekday(
|
|
8230
|
+
if (!checkWeekday(match[1], parsedArray, config)) {
|
|
8230
8231
|
return;
|
|
8231
8232
|
}
|
|
8232
8233
|
config._a = parsedArray;
|
|
8233
|
-
config._tzm = calculateOffset(
|
|
8234
|
+
config._tzm = calculateOffset(match[8], match[9], match[10]);
|
|
8234
8235
|
config._d = createUTCDate.apply(null, config._a);
|
|
8235
8236
|
config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
|
|
8236
8237
|
getParsingFlags(config).rfc2822 = true;
|
|
@@ -8865,7 +8866,7 @@ function isUtc() {
|
|
|
8865
8866
|
}
|
|
8866
8867
|
var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
8867
8868
|
function createDuration(input, key) {
|
|
8868
|
-
var duration = input,
|
|
8869
|
+
var duration = input, match = null, sign2, ret, diffRes;
|
|
8869
8870
|
if (isDuration(input)) {
|
|
8870
8871
|
duration = {
|
|
8871
8872
|
ms: input._milliseconds,
|
|
@@ -8879,27 +8880,27 @@ function createDuration(input, key) {
|
|
|
8879
8880
|
} else {
|
|
8880
8881
|
duration.milliseconds = +input;
|
|
8881
8882
|
}
|
|
8882
|
-
} else if (
|
|
8883
|
-
sign2 =
|
|
8883
|
+
} else if (match = aspNetRegex.exec(input)) {
|
|
8884
|
+
sign2 = match[1] === "-" ? -1 : 1;
|
|
8884
8885
|
duration = {
|
|
8885
8886
|
y: 0,
|
|
8886
|
-
d: toInt(
|
|
8887
|
-
h: toInt(
|
|
8888
|
-
m: toInt(
|
|
8889
|
-
s: toInt(
|
|
8890
|
-
ms: toInt(absRound(
|
|
8887
|
+
d: toInt(match[DATE]) * sign2,
|
|
8888
|
+
h: toInt(match[HOUR]) * sign2,
|
|
8889
|
+
m: toInt(match[MINUTE]) * sign2,
|
|
8890
|
+
s: toInt(match[SECOND]) * sign2,
|
|
8891
|
+
ms: toInt(absRound(match[MILLISECOND] * 1e3)) * sign2
|
|
8891
8892
|
// the millisecond decimal point is included in the match
|
|
8892
8893
|
};
|
|
8893
|
-
} else if (
|
|
8894
|
-
sign2 =
|
|
8894
|
+
} else if (match = isoRegex.exec(input)) {
|
|
8895
|
+
sign2 = match[1] === "-" ? -1 : 1;
|
|
8895
8896
|
duration = {
|
|
8896
|
-
y: parseIso(
|
|
8897
|
-
M: parseIso(
|
|
8898
|
-
w: parseIso(
|
|
8899
|
-
d: parseIso(
|
|
8900
|
-
h: parseIso(
|
|
8901
|
-
m: parseIso(
|
|
8902
|
-
s: parseIso(
|
|
8897
|
+
y: parseIso(match[2], sign2),
|
|
8898
|
+
M: parseIso(match[3], sign2),
|
|
8899
|
+
w: parseIso(match[4], sign2),
|
|
8900
|
+
d: parseIso(match[5], sign2),
|
|
8901
|
+
h: parseIso(match[6], sign2),
|
|
8902
|
+
m: parseIso(match[7], sign2),
|
|
8903
|
+
s: parseIso(match[8], sign2)
|
|
8903
8904
|
};
|
|
8904
8905
|
} else if (duration == null) {
|
|
8905
8906
|
duration = {};
|
|
@@ -9219,16 +9220,16 @@ function inspect() {
|
|
|
9219
9220
|
if (!this.isValid()) {
|
|
9220
9221
|
return "moment.invalid(/* " + this._i + " */)";
|
|
9221
9222
|
}
|
|
9222
|
-
var func = "moment", zone = "",
|
|
9223
|
+
var func = "moment", zone = "", prefix, year, datetime, suffix;
|
|
9223
9224
|
if (!this.isLocal()) {
|
|
9224
9225
|
func = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone";
|
|
9225
9226
|
zone = "Z";
|
|
9226
9227
|
}
|
|
9227
|
-
|
|
9228
|
+
prefix = "[" + func + '("]';
|
|
9228
9229
|
year = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY";
|
|
9229
9230
|
datetime = "-MM-DD[T]HH:mm:ss.SSS";
|
|
9230
9231
|
suffix = zone + '[")]';
|
|
9231
|
-
return this.format(
|
|
9232
|
+
return this.format(prefix + year + datetime + suffix);
|
|
9232
9233
|
}
|
|
9233
9234
|
function format(inputString) {
|
|
9234
9235
|
if (!inputString) {
|
|
@@ -9237,7 +9238,7 @@ function format(inputString) {
|
|
|
9237
9238
|
var output = formatMoment(this, inputString);
|
|
9238
9239
|
return this.localeData().postformat(output);
|
|
9239
9240
|
}
|
|
9240
|
-
function from
|
|
9241
|
+
function from(time, withoutSuffix) {
|
|
9241
9242
|
if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
|
|
9242
9243
|
return createDuration({ to: this, from: time }).locale(this.locale()).humanize(!withoutSuffix);
|
|
9243
9244
|
} else {
|
|
@@ -9504,12 +9505,12 @@ addRegexToken("yyyy", matchUnsigned);
|
|
|
9504
9505
|
addRegexToken("yo", matchEraYearOrdinal);
|
|
9505
9506
|
addParseToken(["y", "yy", "yyy", "yyyy"], YEAR);
|
|
9506
9507
|
addParseToken(["yo"], function(input, array2, config, token2) {
|
|
9507
|
-
var
|
|
9508
|
+
var match;
|
|
9508
9509
|
if (config._locale._eraYearOrdinalRegex) {
|
|
9509
|
-
|
|
9510
|
+
match = input.match(config._locale._eraYearOrdinalRegex);
|
|
9510
9511
|
}
|
|
9511
9512
|
if (config._locale.eraYearOrdinalParse) {
|
|
9512
|
-
array2[YEAR] = config._locale.eraYearOrdinalParse(input,
|
|
9513
|
+
array2[YEAR] = config._locale.eraYearOrdinalParse(input, match);
|
|
9513
9514
|
} else {
|
|
9514
9515
|
array2[YEAR] = parseInt(input, 10);
|
|
9515
9516
|
}
|
|
@@ -9828,15 +9829,15 @@ addFormatToken(0, ["SSSSSSSSS", 9], 0, function() {
|
|
|
9828
9829
|
addRegexToken("S", match1to3, match1);
|
|
9829
9830
|
addRegexToken("SS", match1to3, match2);
|
|
9830
9831
|
addRegexToken("SSS", match1to3, match3);
|
|
9831
|
-
var token
|
|
9832
|
-
for (token
|
|
9833
|
-
addRegexToken(token
|
|
9832
|
+
var token, getSetMillisecond;
|
|
9833
|
+
for (token = "SSSS"; token.length <= 9; token += "S") {
|
|
9834
|
+
addRegexToken(token, matchUnsigned);
|
|
9834
9835
|
}
|
|
9835
9836
|
function parseMs(input, array2) {
|
|
9836
9837
|
array2[MILLISECOND] = toInt(("0." + input) * 1e3);
|
|
9837
9838
|
}
|
|
9838
|
-
for (token
|
|
9839
|
-
addParseToken(token
|
|
9839
|
+
for (token = "S"; token.length <= 9; token += "S") {
|
|
9840
|
+
addParseToken(token, parseMs);
|
|
9840
9841
|
}
|
|
9841
9842
|
getSetMillisecond = makeGetSet("Milliseconds", false);
|
|
9842
9843
|
addFormatToken("z", 0, 0, "zoneAbbr");
|
|
@@ -9854,7 +9855,7 @@ proto.clone = clone$1;
|
|
|
9854
9855
|
proto.diff = diff;
|
|
9855
9856
|
proto.endOf = endOf;
|
|
9856
9857
|
proto.format = format;
|
|
9857
|
-
proto.from = from
|
|
9858
|
+
proto.from = from;
|
|
9858
9859
|
proto.fromNow = fromNow;
|
|
9859
9860
|
proto.to = to;
|
|
9860
9861
|
proto.toNow = toNow;
|
|
@@ -10085,7 +10086,7 @@ hooks.langData = deprecate(
|
|
|
10085
10086
|
getLocale
|
|
10086
10087
|
);
|
|
10087
10088
|
var mathAbs = Math.abs;
|
|
10088
|
-
function abs
|
|
10089
|
+
function abs() {
|
|
10089
10090
|
var data = this._data;
|
|
10090
10091
|
this._milliseconds = mathAbs(this._milliseconds);
|
|
10091
10092
|
this._days = mathAbs(this._days);
|
|
@@ -10287,7 +10288,7 @@ function humanize(argWithSuffix, argThresholds) {
|
|
|
10287
10288
|
}
|
|
10288
10289
|
return locale2.postformat(output);
|
|
10289
10290
|
}
|
|
10290
|
-
var abs$1
|
|
10291
|
+
var abs$1 = Math.abs;
|
|
10291
10292
|
function sign(x) {
|
|
10292
10293
|
return (x > 0) - (x < 0) || +x;
|
|
10293
10294
|
}
|
|
@@ -10295,7 +10296,7 @@ function toISOString$1() {
|
|
|
10295
10296
|
if (!this.isValid()) {
|
|
10296
10297
|
return this.localeData().invalidDate();
|
|
10297
10298
|
}
|
|
10298
|
-
var seconds2 = abs$1
|
|
10299
|
+
var seconds2 = abs$1(this._milliseconds) / 1e3, days2 = abs$1(this._days), months2 = abs$1(this._months), minutes2, hours2, years2, s, total = this.asSeconds(), totalSign, ymSign, daysSign, hmsSign;
|
|
10299
10300
|
if (!total) {
|
|
10300
10301
|
return "P0D";
|
|
10301
10302
|
}
|
|
@@ -10314,7 +10315,7 @@ function toISOString$1() {
|
|
|
10314
10315
|
}
|
|
10315
10316
|
var proto$2 = Duration.prototype;
|
|
10316
10317
|
proto$2.isValid = isValid$1;
|
|
10317
|
-
proto$2.abs = abs
|
|
10318
|
+
proto$2.abs = abs;
|
|
10318
10319
|
proto$2.add = add$1;
|
|
10319
10320
|
proto$2.subtract = subtract$1;
|
|
10320
10321
|
proto$2.as = as;
|
|
@@ -10527,7 +10528,7 @@ function requireTinyCase() {
|
|
|
10527
10528
|
const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
|
|
10528
10529
|
const join = (str, d) => words(str).join(d).toLowerCase();
|
|
10529
10530
|
const camelCase = (str) => words(str).reduce(
|
|
10530
|
-
(acc,
|
|
10531
|
+
(acc, next) => `${acc}${!acc ? next.toLowerCase() : next[0].toUpperCase() + next.slice(1).toLowerCase()}`,
|
|
10531
10532
|
""
|
|
10532
10533
|
);
|
|
10533
10534
|
const pascalCase = (str) => upperFirst(camelCase(str));
|
|
@@ -10568,32 +10569,32 @@ function requireToposort() {
|
|
|
10568
10569
|
if (!visited[i]) visit(nodes[i], i, /* @__PURE__ */ new Set());
|
|
10569
10570
|
}
|
|
10570
10571
|
return sorted;
|
|
10571
|
-
function visit(
|
|
10572
|
-
if (predecessors.has(
|
|
10572
|
+
function visit(node, i2, predecessors) {
|
|
10573
|
+
if (predecessors.has(node)) {
|
|
10573
10574
|
var nodeRep;
|
|
10574
10575
|
try {
|
|
10575
|
-
nodeRep = ", node was:" + JSON.stringify(
|
|
10576
|
+
nodeRep = ", node was:" + JSON.stringify(node);
|
|
10576
10577
|
} catch (e) {
|
|
10577
10578
|
nodeRep = "";
|
|
10578
10579
|
}
|
|
10579
10580
|
throw new Error("Cyclic dependency" + nodeRep);
|
|
10580
10581
|
}
|
|
10581
|
-
if (!nodesHash.has(
|
|
10582
|
-
throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(
|
|
10582
|
+
if (!nodesHash.has(node)) {
|
|
10583
|
+
throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node));
|
|
10583
10584
|
}
|
|
10584
10585
|
if (visited[i2]) return;
|
|
10585
10586
|
visited[i2] = true;
|
|
10586
|
-
var outgoing = outgoingEdges.get(
|
|
10587
|
+
var outgoing = outgoingEdges.get(node) || /* @__PURE__ */ new Set();
|
|
10587
10588
|
outgoing = Array.from(outgoing);
|
|
10588
10589
|
if (i2 = outgoing.length) {
|
|
10589
|
-
predecessors.add(
|
|
10590
|
+
predecessors.add(node);
|
|
10590
10591
|
do {
|
|
10591
10592
|
var child = outgoing[--i2];
|
|
10592
10593
|
visit(child, nodesHash.get(child), predecessors);
|
|
10593
10594
|
} while (i2);
|
|
10594
|
-
predecessors.delete(
|
|
10595
|
+
predecessors.delete(node);
|
|
10595
10596
|
}
|
|
10596
|
-
sorted[--cursor] =
|
|
10597
|
+
sorted[--cursor] = node;
|
|
10597
10598
|
}
|
|
10598
10599
|
}
|
|
10599
10600
|
function uniqueNodes(arr) {
|
|
@@ -10874,8 +10875,8 @@ class Reference {
|
|
|
10874
10875
|
this.isContext = this.key[0] === prefixes.context;
|
|
10875
10876
|
this.isValue = this.key[0] === prefixes.value;
|
|
10876
10877
|
this.isSibling = !this.isContext && !this.isValue;
|
|
10877
|
-
let
|
|
10878
|
-
this.path = this.key.slice(
|
|
10878
|
+
let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
|
|
10879
|
+
this.path = this.key.slice(prefix.length);
|
|
10879
10880
|
this.getter = this.path && propertyExprExports.getter(this.path, true);
|
|
10880
10881
|
this.map = options.map;
|
|
10881
10882
|
}
|
|
@@ -10920,7 +10921,7 @@ function createValidation(config) {
|
|
|
10920
10921
|
options,
|
|
10921
10922
|
originalValue,
|
|
10922
10923
|
schema
|
|
10923
|
-
}, panic,
|
|
10924
|
+
}, panic, next) {
|
|
10924
10925
|
const {
|
|
10925
10926
|
name,
|
|
10926
10927
|
test,
|
|
@@ -10952,7 +10953,7 @@ function createValidation(config) {
|
|
|
10952
10953
|
error.params = nextParams;
|
|
10953
10954
|
return error;
|
|
10954
10955
|
}
|
|
10955
|
-
const invalid = abortEarly ? panic :
|
|
10956
|
+
const invalid = abortEarly ? panic : next;
|
|
10956
10957
|
let ctx = {
|
|
10957
10958
|
path,
|
|
10958
10959
|
parent,
|
|
@@ -10969,7 +10970,7 @@ function createValidation(config) {
|
|
|
10969
10970
|
const handleResult2 = (validOrError) => {
|
|
10970
10971
|
if (ValidationError.isError(validOrError)) invalid(validOrError);
|
|
10971
10972
|
else if (!validOrError) invalid(createError());
|
|
10972
|
-
else
|
|
10973
|
+
else next(null);
|
|
10973
10974
|
};
|
|
10974
10975
|
const handleError = (err) => {
|
|
10975
10976
|
if (ValidationError.isError(err)) invalid(err);
|
|
@@ -11067,42 +11068,42 @@ class ReferenceSet extends Set {
|
|
|
11067
11068
|
return new ReferenceSet(this.values());
|
|
11068
11069
|
}
|
|
11069
11070
|
merge(newItems, removeItems) {
|
|
11070
|
-
const
|
|
11071
|
-
newItems.forEach((value) =>
|
|
11072
|
-
removeItems.forEach((value) =>
|
|
11073
|
-
return
|
|
11071
|
+
const next = this.clone();
|
|
11072
|
+
newItems.forEach((value) => next.add(value));
|
|
11073
|
+
removeItems.forEach((value) => next.delete(value));
|
|
11074
|
+
return next;
|
|
11074
11075
|
}
|
|
11075
11076
|
}
|
|
11076
11077
|
function clone(src, seen = /* @__PURE__ */ new Map()) {
|
|
11077
11078
|
if (isSchema(src) || !src || typeof src !== "object") return src;
|
|
11078
11079
|
if (seen.has(src)) return seen.get(src);
|
|
11079
|
-
let
|
|
11080
|
+
let copy;
|
|
11080
11081
|
if (src instanceof Date) {
|
|
11081
|
-
|
|
11082
|
-
seen.set(src,
|
|
11082
|
+
copy = new Date(src.getTime());
|
|
11083
|
+
seen.set(src, copy);
|
|
11083
11084
|
} else if (src instanceof RegExp) {
|
|
11084
|
-
|
|
11085
|
-
seen.set(src,
|
|
11085
|
+
copy = new RegExp(src);
|
|
11086
|
+
seen.set(src, copy);
|
|
11086
11087
|
} else if (Array.isArray(src)) {
|
|
11087
|
-
|
|
11088
|
-
seen.set(src,
|
|
11089
|
-
for (let i = 0; i < src.length; i++)
|
|
11088
|
+
copy = new Array(src.length);
|
|
11089
|
+
seen.set(src, copy);
|
|
11090
|
+
for (let i = 0; i < src.length; i++) copy[i] = clone(src[i], seen);
|
|
11090
11091
|
} else if (src instanceof Map) {
|
|
11091
|
-
|
|
11092
|
-
seen.set(src,
|
|
11093
|
-
for (const [k, v] of src.entries())
|
|
11092
|
+
copy = /* @__PURE__ */ new Map();
|
|
11093
|
+
seen.set(src, copy);
|
|
11094
|
+
for (const [k, v] of src.entries()) copy.set(k, clone(v, seen));
|
|
11094
11095
|
} else if (src instanceof Set) {
|
|
11095
|
-
|
|
11096
|
-
seen.set(src,
|
|
11097
|
-
for (const v of src)
|
|
11096
|
+
copy = /* @__PURE__ */ new Set();
|
|
11097
|
+
seen.set(src, copy);
|
|
11098
|
+
for (const v of src) copy.add(clone(v, seen));
|
|
11098
11099
|
} else if (src instanceof Object) {
|
|
11099
|
-
|
|
11100
|
-
seen.set(src,
|
|
11101
|
-
for (const [k, v] of Object.entries(src))
|
|
11100
|
+
copy = {};
|
|
11101
|
+
seen.set(src, copy);
|
|
11102
|
+
for (const [k, v] of Object.entries(src)) copy[k] = clone(v, seen);
|
|
11102
11103
|
} else {
|
|
11103
11104
|
throw Error(`Unable to clone ${src}`);
|
|
11104
11105
|
}
|
|
11105
|
-
return
|
|
11106
|
+
return copy;
|
|
11106
11107
|
}
|
|
11107
11108
|
function createStandardPath(path) {
|
|
11108
11109
|
if (!(path != null && path.length)) {
|
|
@@ -11113,8 +11114,8 @@ function createStandardPath(path) {
|
|
|
11113
11114
|
let inBrackets = false;
|
|
11114
11115
|
let inQuotes = false;
|
|
11115
11116
|
for (let i = 0; i < path.length; i++) {
|
|
11116
|
-
const
|
|
11117
|
-
if (
|
|
11117
|
+
const char = path[i];
|
|
11118
|
+
if (char === "[" && !inQuotes) {
|
|
11118
11119
|
if (currentSegment) {
|
|
11119
11120
|
segments.push(...currentSegment.split(".").filter(Boolean));
|
|
11120
11121
|
currentSegment = "";
|
|
@@ -11122,7 +11123,7 @@ function createStandardPath(path) {
|
|
|
11122
11123
|
inBrackets = true;
|
|
11123
11124
|
continue;
|
|
11124
11125
|
}
|
|
11125
|
-
if (
|
|
11126
|
+
if (char === "]" && !inQuotes) {
|
|
11126
11127
|
if (currentSegment) {
|
|
11127
11128
|
if (/^\d+$/.test(currentSegment)) {
|
|
11128
11129
|
segments.push(currentSegment);
|
|
@@ -11134,18 +11135,18 @@ function createStandardPath(path) {
|
|
|
11134
11135
|
inBrackets = false;
|
|
11135
11136
|
continue;
|
|
11136
11137
|
}
|
|
11137
|
-
if (
|
|
11138
|
+
if (char === '"') {
|
|
11138
11139
|
inQuotes = !inQuotes;
|
|
11139
11140
|
continue;
|
|
11140
11141
|
}
|
|
11141
|
-
if (
|
|
11142
|
+
if (char === "." && !inBrackets && !inQuotes) {
|
|
11142
11143
|
if (currentSegment) {
|
|
11143
11144
|
segments.push(currentSegment);
|
|
11144
11145
|
currentSegment = "";
|
|
11145
11146
|
}
|
|
11146
11147
|
continue;
|
|
11147
11148
|
}
|
|
11148
|
-
currentSegment +=
|
|
11149
|
+
currentSegment += char;
|
|
11149
11150
|
}
|
|
11150
11151
|
if (currentSegment) {
|
|
11151
11152
|
segments.push(...currentSegment.split(".").filter(Boolean));
|
|
@@ -11211,30 +11212,30 @@ class Schema {
|
|
|
11211
11212
|
if (spec) Object.assign(this.spec, spec);
|
|
11212
11213
|
return this;
|
|
11213
11214
|
}
|
|
11214
|
-
const
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
|
|
11224
|
-
|
|
11225
|
-
|
|
11226
|
-
return
|
|
11215
|
+
const next = Object.create(Object.getPrototypeOf(this));
|
|
11216
|
+
next.type = this.type;
|
|
11217
|
+
next._typeCheck = this._typeCheck;
|
|
11218
|
+
next._whitelist = this._whitelist.clone();
|
|
11219
|
+
next._blacklist = this._blacklist.clone();
|
|
11220
|
+
next.internalTests = Object.assign({}, this.internalTests);
|
|
11221
|
+
next.exclusiveTests = Object.assign({}, this.exclusiveTests);
|
|
11222
|
+
next.deps = [...this.deps];
|
|
11223
|
+
next.conditions = [...this.conditions];
|
|
11224
|
+
next.tests = [...this.tests];
|
|
11225
|
+
next.transforms = [...this.transforms];
|
|
11226
|
+
next.spec = clone(Object.assign({}, this.spec, spec));
|
|
11227
|
+
return next;
|
|
11227
11228
|
}
|
|
11228
11229
|
label(label) {
|
|
11229
|
-
let
|
|
11230
|
-
|
|
11231
|
-
return
|
|
11230
|
+
let next = this.clone();
|
|
11231
|
+
next.spec.label = label;
|
|
11232
|
+
return next;
|
|
11232
11233
|
}
|
|
11233
11234
|
meta(...args) {
|
|
11234
11235
|
if (args.length === 0) return this.spec.meta;
|
|
11235
|
-
let
|
|
11236
|
-
|
|
11237
|
-
return
|
|
11236
|
+
let next = this.clone();
|
|
11237
|
+
next.spec.meta = Object.assign(next.spec.meta || {}, args[0]);
|
|
11238
|
+
return next;
|
|
11238
11239
|
}
|
|
11239
11240
|
withMutation(fn) {
|
|
11240
11241
|
let before = this._mutate;
|
|
@@ -11255,9 +11256,9 @@ class Schema {
|
|
|
11255
11256
|
combined._blacklist = base._blacklist.merge(schema._blacklist, schema._whitelist);
|
|
11256
11257
|
combined.tests = base.tests;
|
|
11257
11258
|
combined.exclusiveTests = base.exclusiveTests;
|
|
11258
|
-
combined.withMutation((
|
|
11259
|
+
combined.withMutation((next) => {
|
|
11259
11260
|
schema.tests.forEach((fn) => {
|
|
11260
|
-
|
|
11261
|
+
next.test(fn.OPTIONS);
|
|
11261
11262
|
});
|
|
11262
11263
|
});
|
|
11263
11264
|
combined.transforms = [...base.transforms, ...combined.transforms];
|
|
@@ -11323,7 +11324,7 @@ attempted value: ${formattedValue}
|
|
|
11323
11324
|
}
|
|
11324
11325
|
return value;
|
|
11325
11326
|
}
|
|
11326
|
-
_validate(_value, options = {}, panic,
|
|
11327
|
+
_validate(_value, options = {}, panic, next) {
|
|
11327
11328
|
let {
|
|
11328
11329
|
path,
|
|
11329
11330
|
originalValue = _value,
|
|
@@ -11347,7 +11348,7 @@ attempted value: ${formattedValue}
|
|
|
11347
11348
|
tests: initialTests
|
|
11348
11349
|
}, panic, (initialErrors) => {
|
|
11349
11350
|
if (initialErrors.length) {
|
|
11350
|
-
return
|
|
11351
|
+
return next(initialErrors, value);
|
|
11351
11352
|
}
|
|
11352
11353
|
this.runTests({
|
|
11353
11354
|
path,
|
|
@@ -11355,14 +11356,14 @@ attempted value: ${formattedValue}
|
|
|
11355
11356
|
originalValue,
|
|
11356
11357
|
options,
|
|
11357
11358
|
tests: this.tests
|
|
11358
|
-
}, panic,
|
|
11359
|
+
}, panic, next);
|
|
11359
11360
|
});
|
|
11360
11361
|
}
|
|
11361
11362
|
/**
|
|
11362
11363
|
* Executes a set of validations, either schema, produced Tests or a nested
|
|
11363
11364
|
* schema validate result.
|
|
11364
11365
|
*/
|
|
11365
|
-
runTests(runOptions, panic,
|
|
11366
|
+
runTests(runOptions, panic, next) {
|
|
11366
11367
|
let fired = false;
|
|
11367
11368
|
let {
|
|
11368
11369
|
tests,
|
|
@@ -11379,7 +11380,7 @@ attempted value: ${formattedValue}
|
|
|
11379
11380
|
let nextOnce = (arg) => {
|
|
11380
11381
|
if (fired) return;
|
|
11381
11382
|
fired = true;
|
|
11382
|
-
|
|
11383
|
+
next(arg, value);
|
|
11383
11384
|
};
|
|
11384
11385
|
let count = tests.length;
|
|
11385
11386
|
let nestedErrors = [];
|
|
@@ -11432,7 +11433,7 @@ attempted value: ${formattedValue}
|
|
|
11432
11433
|
[isIndex2 ? "index" : "key"]: k,
|
|
11433
11434
|
path: isIndex2 || k.includes(".") ? `${parentPath || ""}[${isIndex2 ? k : `"${k}"`}]` : (parentPath ? `${parentPath}.` : "") + key
|
|
11434
11435
|
});
|
|
11435
|
-
return (_, panic,
|
|
11436
|
+
return (_, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
|
|
11436
11437
|
}
|
|
11437
11438
|
validate(value, options) {
|
|
11438
11439
|
var _options$disableStack2;
|
|
@@ -11496,10 +11497,10 @@ attempted value: ${formattedValue}
|
|
|
11496
11497
|
if (arguments.length === 0) {
|
|
11497
11498
|
return this._getDefault();
|
|
11498
11499
|
}
|
|
11499
|
-
let
|
|
11500
|
+
let next = this.clone({
|
|
11500
11501
|
default: def
|
|
11501
11502
|
});
|
|
11502
|
-
return
|
|
11503
|
+
return next;
|
|
11503
11504
|
}
|
|
11504
11505
|
strict(isStrict = true) {
|
|
11505
11506
|
return this.clone({
|
|
@@ -11507,30 +11508,30 @@ attempted value: ${formattedValue}
|
|
|
11507
11508
|
});
|
|
11508
11509
|
}
|
|
11509
11510
|
nullability(nullable, message) {
|
|
11510
|
-
const
|
|
11511
|
+
const next = this.clone({
|
|
11511
11512
|
nullable
|
|
11512
11513
|
});
|
|
11513
|
-
|
|
11514
|
+
next.internalTests.nullable = createValidation({
|
|
11514
11515
|
message,
|
|
11515
11516
|
name: "nullable",
|
|
11516
11517
|
test(value) {
|
|
11517
11518
|
return value === null ? this.schema.spec.nullable : true;
|
|
11518
11519
|
}
|
|
11519
11520
|
});
|
|
11520
|
-
return
|
|
11521
|
+
return next;
|
|
11521
11522
|
}
|
|
11522
11523
|
optionality(optional, message) {
|
|
11523
|
-
const
|
|
11524
|
+
const next = this.clone({
|
|
11524
11525
|
optional
|
|
11525
11526
|
});
|
|
11526
|
-
|
|
11527
|
+
next.internalTests.optionality = createValidation({
|
|
11527
11528
|
message,
|
|
11528
11529
|
name: "optionality",
|
|
11529
11530
|
test(value) {
|
|
11530
11531
|
return value === void 0 ? this.schema.spec.optional : true;
|
|
11531
11532
|
}
|
|
11532
11533
|
});
|
|
11533
|
-
return
|
|
11534
|
+
return next;
|
|
11534
11535
|
}
|
|
11535
11536
|
optional() {
|
|
11536
11537
|
return this.optionality(true);
|
|
@@ -11545,15 +11546,15 @@ attempted value: ${formattedValue}
|
|
|
11545
11546
|
return this.nullability(false, message);
|
|
11546
11547
|
}
|
|
11547
11548
|
required(message = mixed.required) {
|
|
11548
|
-
return this.clone().withMutation((
|
|
11549
|
+
return this.clone().withMutation((next) => next.nonNullable(message).defined(message));
|
|
11549
11550
|
}
|
|
11550
11551
|
notRequired() {
|
|
11551
|
-
return this.clone().withMutation((
|
|
11552
|
+
return this.clone().withMutation((next) => next.nullable().optional());
|
|
11552
11553
|
}
|
|
11553
11554
|
transform(fn) {
|
|
11554
|
-
let
|
|
11555
|
-
|
|
11556
|
-
return
|
|
11555
|
+
let next = this.clone();
|
|
11556
|
+
next.transforms.push(fn);
|
|
11557
|
+
return next;
|
|
11557
11558
|
}
|
|
11558
11559
|
/**
|
|
11559
11560
|
* Adds a test function to the schema's queue of tests.
|
|
@@ -11592,39 +11593,39 @@ attempted value: ${formattedValue}
|
|
|
11592
11593
|
}
|
|
11593
11594
|
if (opts.message === void 0) opts.message = mixed.default;
|
|
11594
11595
|
if (typeof opts.test !== "function") throw new TypeError("`test` is a required parameters");
|
|
11595
|
-
let
|
|
11596
|
+
let next = this.clone();
|
|
11596
11597
|
let validate = createValidation(opts);
|
|
11597
|
-
let isExclusive = opts.exclusive || opts.name &&
|
|
11598
|
+
let isExclusive = opts.exclusive || opts.name && next.exclusiveTests[opts.name] === true;
|
|
11598
11599
|
if (opts.exclusive) {
|
|
11599
11600
|
if (!opts.name) throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");
|
|
11600
11601
|
}
|
|
11601
|
-
if (opts.name)
|
|
11602
|
-
|
|
11602
|
+
if (opts.name) next.exclusiveTests[opts.name] = !!opts.exclusive;
|
|
11603
|
+
next.tests = next.tests.filter((fn) => {
|
|
11603
11604
|
if (fn.OPTIONS.name === opts.name) {
|
|
11604
11605
|
if (isExclusive) return false;
|
|
11605
11606
|
if (fn.OPTIONS.test === validate.OPTIONS.test) return false;
|
|
11606
11607
|
}
|
|
11607
11608
|
return true;
|
|
11608
11609
|
});
|
|
11609
|
-
|
|
11610
|
-
return
|
|
11610
|
+
next.tests.push(validate);
|
|
11611
|
+
return next;
|
|
11611
11612
|
}
|
|
11612
11613
|
when(keys2, options) {
|
|
11613
11614
|
if (!Array.isArray(keys2) && typeof keys2 !== "string") {
|
|
11614
11615
|
options = keys2;
|
|
11615
11616
|
keys2 = ".";
|
|
11616
11617
|
}
|
|
11617
|
-
let
|
|
11618
|
+
let next = this.clone();
|
|
11618
11619
|
let deps = toArray(keys2).map((key) => new Reference(key));
|
|
11619
11620
|
deps.forEach((dep) => {
|
|
11620
|
-
if (dep.isSibling)
|
|
11621
|
+
if (dep.isSibling) next.deps.push(dep.key);
|
|
11621
11622
|
});
|
|
11622
|
-
|
|
11623
|
-
return
|
|
11623
|
+
next.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
|
|
11624
|
+
return next;
|
|
11624
11625
|
}
|
|
11625
11626
|
typeError(message) {
|
|
11626
|
-
let
|
|
11627
|
-
|
|
11627
|
+
let next = this.clone();
|
|
11628
|
+
next.internalTests.typeError = createValidation({
|
|
11628
11629
|
message,
|
|
11629
11630
|
name: "typeError",
|
|
11630
11631
|
skipAbsent: true,
|
|
@@ -11637,15 +11638,15 @@ attempted value: ${formattedValue}
|
|
|
11637
11638
|
return true;
|
|
11638
11639
|
}
|
|
11639
11640
|
});
|
|
11640
|
-
return
|
|
11641
|
+
return next;
|
|
11641
11642
|
}
|
|
11642
11643
|
oneOf(enums, message = mixed.oneOf) {
|
|
11643
|
-
let
|
|
11644
|
+
let next = this.clone();
|
|
11644
11645
|
enums.forEach((val) => {
|
|
11645
|
-
|
|
11646
|
-
|
|
11646
|
+
next._whitelist.add(val);
|
|
11647
|
+
next._blacklist.delete(val);
|
|
11647
11648
|
});
|
|
11648
|
-
|
|
11649
|
+
next.internalTests.whiteList = createValidation({
|
|
11649
11650
|
message,
|
|
11650
11651
|
name: "oneOf",
|
|
11651
11652
|
skipAbsent: true,
|
|
@@ -11660,15 +11661,15 @@ attempted value: ${formattedValue}
|
|
|
11660
11661
|
});
|
|
11661
11662
|
}
|
|
11662
11663
|
});
|
|
11663
|
-
return
|
|
11664
|
+
return next;
|
|
11664
11665
|
}
|
|
11665
11666
|
notOneOf(enums, message = mixed.notOneOf) {
|
|
11666
|
-
let
|
|
11667
|
+
let next = this.clone();
|
|
11667
11668
|
enums.forEach((val) => {
|
|
11668
|
-
|
|
11669
|
-
|
|
11669
|
+
next._blacklist.add(val);
|
|
11670
|
+
next._whitelist.delete(val);
|
|
11670
11671
|
});
|
|
11671
|
-
|
|
11672
|
+
next.internalTests.blacklist = createValidation({
|
|
11672
11673
|
message,
|
|
11673
11674
|
name: "notOneOf",
|
|
11674
11675
|
test(value) {
|
|
@@ -11683,12 +11684,12 @@ attempted value: ${formattedValue}
|
|
|
11683
11684
|
return true;
|
|
11684
11685
|
}
|
|
11685
11686
|
});
|
|
11686
|
-
return
|
|
11687
|
+
return next;
|
|
11687
11688
|
}
|
|
11688
11689
|
strip(strip = true) {
|
|
11689
|
-
let
|
|
11690
|
-
|
|
11691
|
-
return
|
|
11690
|
+
let next = this.clone();
|
|
11691
|
+
next.spec.strip = strip;
|
|
11692
|
+
return next;
|
|
11692
11693
|
}
|
|
11693
11694
|
/**
|
|
11694
11695
|
* Return a serialized description of the schema including validations, flags, types etc.
|
|
@@ -11696,23 +11697,23 @@ attempted value: ${formattedValue}
|
|
|
11696
11697
|
* @param options Provide any needed context for resolving runtime schema alterations (lazy, when conditions, etc).
|
|
11697
11698
|
*/
|
|
11698
11699
|
describe(options) {
|
|
11699
|
-
const
|
|
11700
|
+
const next = (options ? this.resolve(options) : this).clone();
|
|
11700
11701
|
const {
|
|
11701
11702
|
label,
|
|
11702
11703
|
meta,
|
|
11703
11704
|
optional,
|
|
11704
11705
|
nullable
|
|
11705
|
-
} =
|
|
11706
|
+
} = next.spec;
|
|
11706
11707
|
const description = {
|
|
11707
11708
|
meta,
|
|
11708
11709
|
label,
|
|
11709
11710
|
optional,
|
|
11710
11711
|
nullable,
|
|
11711
|
-
default:
|
|
11712
|
-
type:
|
|
11713
|
-
oneOf:
|
|
11714
|
-
notOneOf:
|
|
11715
|
-
tests:
|
|
11712
|
+
default: next.getDefault(options),
|
|
11713
|
+
type: next.type,
|
|
11714
|
+
oneOf: next._whitelist.describe(),
|
|
11715
|
+
notOneOf: next._blacklist.describe(),
|
|
11716
|
+
tests: next.tests.filter((n, idx, list) => list.findIndex((c) => c.OPTIONS.name === n.OPTIONS.name) === idx).map((fn) => {
|
|
11716
11717
|
const params = fn.OPTIONS.params && options ? resolveParams(Object.assign({}, fn.OPTIONS.params), options) : fn.OPTIONS.params;
|
|
11717
11718
|
return {
|
|
11718
11719
|
name: fn.OPTIONS.name,
|
|
@@ -11868,17 +11869,17 @@ class StringSchema extends Schema {
|
|
|
11868
11869
|
return schema;
|
|
11869
11870
|
});
|
|
11870
11871
|
}
|
|
11871
|
-
length(
|
|
11872
|
+
length(length, message = string.length) {
|
|
11872
11873
|
return this.test({
|
|
11873
11874
|
message,
|
|
11874
11875
|
name: "length",
|
|
11875
11876
|
exclusive: true,
|
|
11876
11877
|
params: {
|
|
11877
|
-
length
|
|
11878
|
+
length
|
|
11878
11879
|
},
|
|
11879
11880
|
skipAbsent: true,
|
|
11880
11881
|
test(value) {
|
|
11881
|
-
return value.length === this.resolve(
|
|
11882
|
+
return value.length === this.resolve(length);
|
|
11882
11883
|
}
|
|
11883
11884
|
});
|
|
11884
11885
|
}
|
|
@@ -12210,9 +12211,9 @@ function sortFields(fields, excludedEdges = []) {
|
|
|
12210
12211
|
let nodes = /* @__PURE__ */ new Set();
|
|
12211
12212
|
let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
|
|
12212
12213
|
function addNode(depPath, key) {
|
|
12213
|
-
let
|
|
12214
|
-
nodes.add(
|
|
12215
|
-
if (!excludes.has(`${key}-${
|
|
12214
|
+
let node = propertyExprExports.split(depPath)[0];
|
|
12215
|
+
nodes.add(node);
|
|
12216
|
+
if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
|
|
12216
12217
|
}
|
|
12217
12218
|
for (const key of Object.keys(fields)) {
|
|
12218
12219
|
let value = fields[key];
|
|
@@ -12351,7 +12352,7 @@ class ObjectSchema extends Schema {
|
|
|
12351
12352
|
}
|
|
12352
12353
|
return isChanged ? intermediateValue : value;
|
|
12353
12354
|
}
|
|
12354
|
-
_validate(_value, options = {}, panic,
|
|
12355
|
+
_validate(_value, options = {}, panic, next) {
|
|
12355
12356
|
let {
|
|
12356
12357
|
from: from2 = [],
|
|
12357
12358
|
originalValue = _value,
|
|
@@ -12365,7 +12366,7 @@ class ObjectSchema extends Schema {
|
|
|
12365
12366
|
options.originalValue = originalValue;
|
|
12366
12367
|
super._validate(_value, options, panic, (objectErrors, value) => {
|
|
12367
12368
|
if (!recursive || !isObject2(value)) {
|
|
12368
|
-
|
|
12369
|
+
next(objectErrors, value);
|
|
12369
12370
|
return;
|
|
12370
12371
|
}
|
|
12371
12372
|
originalValue = originalValue || value;
|
|
@@ -12389,26 +12390,26 @@ class ObjectSchema extends Schema {
|
|
|
12389
12390
|
originalValue,
|
|
12390
12391
|
options
|
|
12391
12392
|
}, panic, (fieldErrors) => {
|
|
12392
|
-
|
|
12393
|
+
next(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
|
|
12393
12394
|
});
|
|
12394
12395
|
});
|
|
12395
12396
|
}
|
|
12396
12397
|
clone(spec) {
|
|
12397
|
-
const
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
return
|
|
12398
|
+
const next = super.clone(spec);
|
|
12399
|
+
next.fields = Object.assign({}, this.fields);
|
|
12400
|
+
next._nodes = this._nodes;
|
|
12401
|
+
next._excludedEdges = this._excludedEdges;
|
|
12402
|
+
next._sortErrors = this._sortErrors;
|
|
12403
|
+
return next;
|
|
12403
12404
|
}
|
|
12404
12405
|
concat(schema) {
|
|
12405
|
-
let
|
|
12406
|
-
let nextFields =
|
|
12406
|
+
let next = super.concat(schema);
|
|
12407
|
+
let nextFields = next.fields;
|
|
12407
12408
|
for (let [field, schemaOrRef] of Object.entries(this.fields)) {
|
|
12408
12409
|
const target = nextFields[field];
|
|
12409
12410
|
nextFields[field] = target === void 0 ? schemaOrRef : target;
|
|
12410
12411
|
}
|
|
12411
|
-
return
|
|
12412
|
+
return next.withMutation((s) => (
|
|
12412
12413
|
// XXX: excludes here is wrong
|
|
12413
12414
|
s.setFields(nextFields, [...this._excludedEdges, ...schema._excludedEdges])
|
|
12414
12415
|
));
|
|
@@ -12436,21 +12437,21 @@ class ObjectSchema extends Schema {
|
|
|
12436
12437
|
return dft;
|
|
12437
12438
|
}
|
|
12438
12439
|
setFields(shape, excludedEdges) {
|
|
12439
|
-
let
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
|
|
12443
|
-
if (excludedEdges)
|
|
12444
|
-
return
|
|
12440
|
+
let next = this.clone();
|
|
12441
|
+
next.fields = shape;
|
|
12442
|
+
next._nodes = sortFields(shape, excludedEdges);
|
|
12443
|
+
next._sortErrors = sortByKeyOrder(Object.keys(shape));
|
|
12444
|
+
if (excludedEdges) next._excludedEdges = excludedEdges;
|
|
12445
|
+
return next;
|
|
12445
12446
|
}
|
|
12446
12447
|
shape(additions, excludes = []) {
|
|
12447
|
-
return this.clone().withMutation((
|
|
12448
|
-
let edges =
|
|
12448
|
+
return this.clone().withMutation((next) => {
|
|
12449
|
+
let edges = next._excludedEdges;
|
|
12449
12450
|
if (excludes.length) {
|
|
12450
12451
|
if (!Array.isArray(excludes[0])) excludes = [excludes];
|
|
12451
|
-
edges = [...
|
|
12452
|
+
edges = [...next._excludedEdges, ...excludes];
|
|
12452
12453
|
}
|
|
12453
|
-
return
|
|
12454
|
+
return next.setFields(Object.assign(next.fields, additions), edges);
|
|
12454
12455
|
});
|
|
12455
12456
|
}
|
|
12456
12457
|
partial() {
|
|
@@ -12461,8 +12462,8 @@ class ObjectSchema extends Schema {
|
|
|
12461
12462
|
return this.setFields(partial);
|
|
12462
12463
|
}
|
|
12463
12464
|
deepPartial() {
|
|
12464
|
-
const
|
|
12465
|
-
return
|
|
12465
|
+
const next = deepPartial(this);
|
|
12466
|
+
return next;
|
|
12466
12467
|
}
|
|
12467
12468
|
pick(keys2) {
|
|
12468
12469
|
const picked = {};
|
|
@@ -12525,7 +12526,7 @@ class ObjectSchema extends Schema {
|
|
|
12525
12526
|
message = noAllow;
|
|
12526
12527
|
noAllow = true;
|
|
12527
12528
|
}
|
|
12528
|
-
let
|
|
12529
|
+
let next = this.test({
|
|
12529
12530
|
name: "noUnknown",
|
|
12530
12531
|
exclusive: true,
|
|
12531
12532
|
message,
|
|
@@ -12539,8 +12540,8 @@ class ObjectSchema extends Schema {
|
|
|
12539
12540
|
});
|
|
12540
12541
|
}
|
|
12541
12542
|
});
|
|
12542
|
-
|
|
12543
|
-
return
|
|
12543
|
+
next.spec.noUnknown = noAllow;
|
|
12544
|
+
return next;
|
|
12544
12545
|
}
|
|
12545
12546
|
unknown(allow = true, message = object.noUnknown) {
|
|
12546
12547
|
return this.noUnknown(!allow, message);
|
|
@@ -12563,10 +12564,10 @@ class ObjectSchema extends Schema {
|
|
|
12563
12564
|
return this.transformKeys((key) => tinyCaseExports.snakeCase(key).toUpperCase());
|
|
12564
12565
|
}
|
|
12565
12566
|
describe(options) {
|
|
12566
|
-
const
|
|
12567
|
+
const next = (options ? this.resolve(options) : this).clone();
|
|
12567
12568
|
const base = super.describe(options);
|
|
12568
12569
|
base.fields = {};
|
|
12569
|
-
for (const [key, value] of Object.entries(
|
|
12570
|
+
for (const [key, value] of Object.entries(next.fields)) {
|
|
12570
12571
|
var _innerOptions2;
|
|
12571
12572
|
let innerOptions = options;
|
|
12572
12573
|
if ((_innerOptions2 = innerOptions) != null && _innerOptions2.value) {
|
|
@@ -12851,806 +12852,22 @@ const IMAGES = {
|
|
|
12851
12852
|
Us,
|
|
12852
12853
|
DefaultLang
|
|
12853
12854
|
};
|
|
12854
|
-
function sheetForTag(tag) {
|
|
12855
|
-
if (tag.sheet) {
|
|
12856
|
-
return tag.sheet;
|
|
12857
|
-
}
|
|
12858
|
-
for (var i = 0; i < document.styleSheets.length; i++) {
|
|
12859
|
-
if (document.styleSheets[i].ownerNode === tag) {
|
|
12860
|
-
return document.styleSheets[i];
|
|
12861
|
-
}
|
|
12862
|
-
}
|
|
12863
|
-
return void 0;
|
|
12864
|
-
}
|
|
12865
|
-
function createStyleElement(options) {
|
|
12866
|
-
var tag = document.createElement("style");
|
|
12867
|
-
tag.setAttribute("data-emotion", options.key);
|
|
12868
|
-
if (options.nonce !== void 0) {
|
|
12869
|
-
tag.setAttribute("nonce", options.nonce);
|
|
12870
|
-
}
|
|
12871
|
-
tag.appendChild(document.createTextNode(""));
|
|
12872
|
-
tag.setAttribute("data-s", "");
|
|
12873
|
-
return tag;
|
|
12874
|
-
}
|
|
12875
|
-
var StyleSheet = /* @__PURE__ */ (function() {
|
|
12876
|
-
function StyleSheet2(options) {
|
|
12877
|
-
var _this = this;
|
|
12878
|
-
this._insertTag = function(tag) {
|
|
12879
|
-
var before;
|
|
12880
|
-
if (_this.tags.length === 0) {
|
|
12881
|
-
if (_this.insertionPoint) {
|
|
12882
|
-
before = _this.insertionPoint.nextSibling;
|
|
12883
|
-
} else if (_this.prepend) {
|
|
12884
|
-
before = _this.container.firstChild;
|
|
12885
|
-
} else {
|
|
12886
|
-
before = _this.before;
|
|
12887
|
-
}
|
|
12888
|
-
} else {
|
|
12889
|
-
before = _this.tags[_this.tags.length - 1].nextSibling;
|
|
12890
|
-
}
|
|
12891
|
-
_this.container.insertBefore(tag, before);
|
|
12892
|
-
_this.tags.push(tag);
|
|
12893
|
-
};
|
|
12894
|
-
this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
|
|
12895
|
-
this.tags = [];
|
|
12896
|
-
this.ctr = 0;
|
|
12897
|
-
this.nonce = options.nonce;
|
|
12898
|
-
this.key = options.key;
|
|
12899
|
-
this.container = options.container;
|
|
12900
|
-
this.prepend = options.prepend;
|
|
12901
|
-
this.insertionPoint = options.insertionPoint;
|
|
12902
|
-
this.before = null;
|
|
12903
|
-
}
|
|
12904
|
-
var _proto = StyleSheet2.prototype;
|
|
12905
|
-
_proto.hydrate = function hydrate(nodes) {
|
|
12906
|
-
nodes.forEach(this._insertTag);
|
|
12907
|
-
};
|
|
12908
|
-
_proto.insert = function insert(rule) {
|
|
12909
|
-
if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
|
|
12910
|
-
this._insertTag(createStyleElement(this));
|
|
12911
|
-
}
|
|
12912
|
-
var tag = this.tags[this.tags.length - 1];
|
|
12913
|
-
if (this.isSpeedy) {
|
|
12914
|
-
var sheet = sheetForTag(tag);
|
|
12915
|
-
try {
|
|
12916
|
-
sheet.insertRule(rule, sheet.cssRules.length);
|
|
12917
|
-
} catch (e) {
|
|
12918
|
-
}
|
|
12919
|
-
} else {
|
|
12920
|
-
tag.appendChild(document.createTextNode(rule));
|
|
12921
|
-
}
|
|
12922
|
-
this.ctr++;
|
|
12923
|
-
};
|
|
12924
|
-
_proto.flush = function flush() {
|
|
12925
|
-
this.tags.forEach(function(tag) {
|
|
12926
|
-
var _tag$parentNode;
|
|
12927
|
-
return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
|
|
12928
|
-
});
|
|
12929
|
-
this.tags = [];
|
|
12930
|
-
this.ctr = 0;
|
|
12931
|
-
};
|
|
12932
|
-
return StyleSheet2;
|
|
12933
|
-
})();
|
|
12934
|
-
var MS = "-ms-";
|
|
12935
|
-
var MOZ = "-moz-";
|
|
12936
|
-
var WEBKIT = "-webkit-";
|
|
12937
|
-
var COMMENT = "comm";
|
|
12938
|
-
var RULESET = "rule";
|
|
12939
|
-
var DECLARATION = "decl";
|
|
12940
|
-
var IMPORT = "@import";
|
|
12941
|
-
var KEYFRAMES = "@keyframes";
|
|
12942
|
-
var LAYER = "@layer";
|
|
12943
|
-
var abs = Math.abs;
|
|
12944
|
-
var from = String.fromCharCode;
|
|
12945
|
-
var assign = Object.assign;
|
|
12946
|
-
function hash(value, length2) {
|
|
12947
|
-
return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
|
|
12948
|
-
}
|
|
12949
|
-
function trim(value) {
|
|
12950
|
-
return value.trim();
|
|
12951
|
-
}
|
|
12952
|
-
function match(value, pattern) {
|
|
12953
|
-
return (value = pattern.exec(value)) ? value[0] : value;
|
|
12954
|
-
}
|
|
12955
|
-
function replace(value, pattern, replacement) {
|
|
12956
|
-
return value.replace(pattern, replacement);
|
|
12957
|
-
}
|
|
12958
|
-
function indexof(value, search) {
|
|
12959
|
-
return value.indexOf(search);
|
|
12960
|
-
}
|
|
12961
|
-
function charat(value, index) {
|
|
12962
|
-
return value.charCodeAt(index) | 0;
|
|
12963
|
-
}
|
|
12964
|
-
function substr(value, begin, end) {
|
|
12965
|
-
return value.slice(begin, end);
|
|
12966
|
-
}
|
|
12967
|
-
function strlen(value) {
|
|
12968
|
-
return value.length;
|
|
12969
|
-
}
|
|
12970
|
-
function sizeof(value) {
|
|
12971
|
-
return value.length;
|
|
12972
|
-
}
|
|
12973
|
-
function append(value, array2) {
|
|
12974
|
-
return array2.push(value), value;
|
|
12975
|
-
}
|
|
12976
|
-
function combine(array2, callback) {
|
|
12977
|
-
return array2.map(callback).join("");
|
|
12978
|
-
}
|
|
12979
|
-
var line = 1;
|
|
12980
|
-
var column = 1;
|
|
12981
|
-
var length = 0;
|
|
12982
|
-
var position = 0;
|
|
12983
|
-
var character = 0;
|
|
12984
|
-
var characters = "";
|
|
12985
|
-
function node(value, root2, parent, type, props, children, length2) {
|
|
12986
|
-
return { value, root: root2, parent, type, props, children, line, column, length: length2, return: "" };
|
|
12987
|
-
}
|
|
12988
|
-
function copy(root2, props) {
|
|
12989
|
-
return assign(node("", null, null, "", null, null, 0), root2, { length: -root2.length }, props);
|
|
12990
|
-
}
|
|
12991
|
-
function char() {
|
|
12992
|
-
return character;
|
|
12993
|
-
}
|
|
12994
|
-
function prev() {
|
|
12995
|
-
character = position > 0 ? charat(characters, --position) : 0;
|
|
12996
|
-
if (column--, character === 10)
|
|
12997
|
-
column = 1, line--;
|
|
12998
|
-
return character;
|
|
12999
|
-
}
|
|
13000
|
-
function next() {
|
|
13001
|
-
character = position < length ? charat(characters, position++) : 0;
|
|
13002
|
-
if (column++, character === 10)
|
|
13003
|
-
column = 1, line++;
|
|
13004
|
-
return character;
|
|
13005
|
-
}
|
|
13006
|
-
function peek() {
|
|
13007
|
-
return charat(characters, position);
|
|
13008
|
-
}
|
|
13009
|
-
function caret() {
|
|
13010
|
-
return position;
|
|
13011
|
-
}
|
|
13012
|
-
function slice(begin, end) {
|
|
13013
|
-
return substr(characters, begin, end);
|
|
13014
|
-
}
|
|
13015
|
-
function token(type) {
|
|
13016
|
-
switch (type) {
|
|
13017
|
-
// \0 \t \n \r \s whitespace token
|
|
13018
|
-
case 0:
|
|
13019
|
-
case 9:
|
|
13020
|
-
case 10:
|
|
13021
|
-
case 13:
|
|
13022
|
-
case 32:
|
|
13023
|
-
return 5;
|
|
13024
|
-
// ! + , / > @ ~ isolate token
|
|
13025
|
-
case 33:
|
|
13026
|
-
case 43:
|
|
13027
|
-
case 44:
|
|
13028
|
-
case 47:
|
|
13029
|
-
case 62:
|
|
13030
|
-
case 64:
|
|
13031
|
-
case 126:
|
|
13032
|
-
// ; { } breakpoint token
|
|
13033
|
-
case 59:
|
|
13034
|
-
case 123:
|
|
13035
|
-
case 125:
|
|
13036
|
-
return 4;
|
|
13037
|
-
// : accompanied token
|
|
13038
|
-
case 58:
|
|
13039
|
-
return 3;
|
|
13040
|
-
// " ' ( [ opening delimit token
|
|
13041
|
-
case 34:
|
|
13042
|
-
case 39:
|
|
13043
|
-
case 40:
|
|
13044
|
-
case 91:
|
|
13045
|
-
return 2;
|
|
13046
|
-
// ) ] closing delimit token
|
|
13047
|
-
case 41:
|
|
13048
|
-
case 93:
|
|
13049
|
-
return 1;
|
|
13050
|
-
}
|
|
13051
|
-
return 0;
|
|
13052
|
-
}
|
|
13053
|
-
function alloc(value) {
|
|
13054
|
-
return line = column = 1, length = strlen(characters = value), position = 0, [];
|
|
13055
|
-
}
|
|
13056
|
-
function dealloc(value) {
|
|
13057
|
-
return characters = "", value;
|
|
13058
|
-
}
|
|
13059
|
-
function delimit(type) {
|
|
13060
|
-
return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
|
|
13061
|
-
}
|
|
13062
|
-
function whitespace(type) {
|
|
13063
|
-
while (character = peek())
|
|
13064
|
-
if (character < 33)
|
|
13065
|
-
next();
|
|
13066
|
-
else
|
|
13067
|
-
break;
|
|
13068
|
-
return token(type) > 2 || token(character) > 3 ? "" : " ";
|
|
13069
|
-
}
|
|
13070
|
-
function escaping(index, count) {
|
|
13071
|
-
while (--count && next())
|
|
13072
|
-
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
|
|
13073
|
-
break;
|
|
13074
|
-
return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
|
|
13075
|
-
}
|
|
13076
|
-
function delimiter(type) {
|
|
13077
|
-
while (next())
|
|
13078
|
-
switch (character) {
|
|
13079
|
-
// ] ) " '
|
|
13080
|
-
case type:
|
|
13081
|
-
return position;
|
|
13082
|
-
// " '
|
|
13083
|
-
case 34:
|
|
13084
|
-
case 39:
|
|
13085
|
-
if (type !== 34 && type !== 39)
|
|
13086
|
-
delimiter(character);
|
|
13087
|
-
break;
|
|
13088
|
-
// (
|
|
13089
|
-
case 40:
|
|
13090
|
-
if (type === 41)
|
|
13091
|
-
delimiter(type);
|
|
13092
|
-
break;
|
|
13093
|
-
// \
|
|
13094
|
-
case 92:
|
|
13095
|
-
next();
|
|
13096
|
-
break;
|
|
13097
|
-
}
|
|
13098
|
-
return position;
|
|
13099
|
-
}
|
|
13100
|
-
function commenter(type, index) {
|
|
13101
|
-
while (next())
|
|
13102
|
-
if (type + character === 47 + 10)
|
|
13103
|
-
break;
|
|
13104
|
-
else if (type + character === 42 + 42 && peek() === 47)
|
|
13105
|
-
break;
|
|
13106
|
-
return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
|
|
13107
|
-
}
|
|
13108
|
-
function identifier(index) {
|
|
13109
|
-
while (!token(peek()))
|
|
13110
|
-
next();
|
|
13111
|
-
return slice(index, position);
|
|
13112
|
-
}
|
|
13113
|
-
function compile(value) {
|
|
13114
|
-
return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
|
|
13115
|
-
}
|
|
13116
|
-
function parse(value, root2, parent, rule, rules, rulesets, pseudo, points, declarations) {
|
|
13117
|
-
var index = 0;
|
|
13118
|
-
var offset2 = 0;
|
|
13119
|
-
var length2 = pseudo;
|
|
13120
|
-
var atrule = 0;
|
|
13121
|
-
var property = 0;
|
|
13122
|
-
var previous = 0;
|
|
13123
|
-
var variable = 1;
|
|
13124
|
-
var scanning = 1;
|
|
13125
|
-
var ampersand = 1;
|
|
13126
|
-
var character2 = 0;
|
|
13127
|
-
var type = "";
|
|
13128
|
-
var props = rules;
|
|
13129
|
-
var children = rulesets;
|
|
13130
|
-
var reference = rule;
|
|
13131
|
-
var characters2 = type;
|
|
13132
|
-
while (scanning)
|
|
13133
|
-
switch (previous = character2, character2 = next()) {
|
|
13134
|
-
// (
|
|
13135
|
-
case 40:
|
|
13136
|
-
if (previous != 108 && charat(characters2, length2 - 1) == 58) {
|
|
13137
|
-
if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
|
|
13138
|
-
ampersand = -1;
|
|
13139
|
-
break;
|
|
13140
|
-
}
|
|
13141
|
-
// " ' [
|
|
13142
|
-
case 34:
|
|
13143
|
-
case 39:
|
|
13144
|
-
case 91:
|
|
13145
|
-
characters2 += delimit(character2);
|
|
13146
|
-
break;
|
|
13147
|
-
// \t \n \r \s
|
|
13148
|
-
case 9:
|
|
13149
|
-
case 10:
|
|
13150
|
-
case 13:
|
|
13151
|
-
case 32:
|
|
13152
|
-
characters2 += whitespace(previous);
|
|
13153
|
-
break;
|
|
13154
|
-
// \
|
|
13155
|
-
case 92:
|
|
13156
|
-
characters2 += escaping(caret() - 1, 7);
|
|
13157
|
-
continue;
|
|
13158
|
-
// /
|
|
13159
|
-
case 47:
|
|
13160
|
-
switch (peek()) {
|
|
13161
|
-
case 42:
|
|
13162
|
-
case 47:
|
|
13163
|
-
append(comment(commenter(next(), caret()), root2, parent), declarations);
|
|
13164
|
-
break;
|
|
13165
|
-
default:
|
|
13166
|
-
characters2 += "/";
|
|
13167
|
-
}
|
|
13168
|
-
break;
|
|
13169
|
-
// {
|
|
13170
|
-
case 123 * variable:
|
|
13171
|
-
points[index++] = strlen(characters2) * ampersand;
|
|
13172
|
-
// } ; \0
|
|
13173
|
-
case 125 * variable:
|
|
13174
|
-
case 59:
|
|
13175
|
-
case 0:
|
|
13176
|
-
switch (character2) {
|
|
13177
|
-
// \0 }
|
|
13178
|
-
case 0:
|
|
13179
|
-
case 125:
|
|
13180
|
-
scanning = 0;
|
|
13181
|
-
// ;
|
|
13182
|
-
case 59 + offset2:
|
|
13183
|
-
if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
|
|
13184
|
-
if (property > 0 && strlen(characters2) - length2)
|
|
13185
|
-
append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
|
|
13186
|
-
break;
|
|
13187
|
-
// @ ;
|
|
13188
|
-
case 59:
|
|
13189
|
-
characters2 += ";";
|
|
13190
|
-
// { rule/at-rule
|
|
13191
|
-
default:
|
|
13192
|
-
append(reference = ruleset(characters2, root2, parent, index, offset2, rules, points, type, props = [], children = [], length2), rulesets);
|
|
13193
|
-
if (character2 === 123)
|
|
13194
|
-
if (offset2 === 0)
|
|
13195
|
-
parse(characters2, root2, reference, reference, props, rulesets, length2, points, children);
|
|
13196
|
-
else
|
|
13197
|
-
switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
|
|
13198
|
-
// d l m s
|
|
13199
|
-
case 100:
|
|
13200
|
-
case 108:
|
|
13201
|
-
case 109:
|
|
13202
|
-
case 115:
|
|
13203
|
-
parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
|
|
13204
|
-
break;
|
|
13205
|
-
default:
|
|
13206
|
-
parse(characters2, reference, reference, reference, [""], children, 0, points, children);
|
|
13207
|
-
}
|
|
13208
|
-
}
|
|
13209
|
-
index = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
|
|
13210
|
-
break;
|
|
13211
|
-
// :
|
|
13212
|
-
case 58:
|
|
13213
|
-
length2 = 1 + strlen(characters2), property = previous;
|
|
13214
|
-
default:
|
|
13215
|
-
if (variable < 1) {
|
|
13216
|
-
if (character2 == 123)
|
|
13217
|
-
--variable;
|
|
13218
|
-
else if (character2 == 125 && variable++ == 0 && prev() == 125)
|
|
13219
|
-
continue;
|
|
13220
|
-
}
|
|
13221
|
-
switch (characters2 += from(character2), character2 * variable) {
|
|
13222
|
-
// &
|
|
13223
|
-
case 38:
|
|
13224
|
-
ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
|
|
13225
|
-
break;
|
|
13226
|
-
// ,
|
|
13227
|
-
case 44:
|
|
13228
|
-
points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
|
|
13229
|
-
break;
|
|
13230
|
-
// @
|
|
13231
|
-
case 64:
|
|
13232
|
-
if (peek() === 45)
|
|
13233
|
-
characters2 += delimit(next());
|
|
13234
|
-
atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
|
|
13235
|
-
break;
|
|
13236
|
-
// -
|
|
13237
|
-
case 45:
|
|
13238
|
-
if (previous === 45 && strlen(characters2) == 2)
|
|
13239
|
-
variable = 0;
|
|
13240
|
-
}
|
|
13241
|
-
}
|
|
13242
|
-
return rulesets;
|
|
13243
|
-
}
|
|
13244
|
-
function ruleset(value, root2, parent, index, offset2, rules, points, type, props, children, length2) {
|
|
13245
|
-
var post = offset2 - 1;
|
|
13246
|
-
var rule = offset2 === 0 ? rules : [""];
|
|
13247
|
-
var size = sizeof(rule);
|
|
13248
|
-
for (var i = 0, j = 0, k = 0; i < index; ++i)
|
|
13249
|
-
for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
|
|
13250
|
-
if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
|
|
13251
|
-
props[k++] = z;
|
|
13252
|
-
return node(value, root2, parent, offset2 === 0 ? RULESET : type, props, children, length2);
|
|
13253
|
-
}
|
|
13254
|
-
function comment(value, root2, parent) {
|
|
13255
|
-
return node(value, root2, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
|
|
13256
|
-
}
|
|
13257
|
-
function declaration(value, root2, parent, length2) {
|
|
13258
|
-
return node(value, root2, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
|
|
13259
|
-
}
|
|
13260
|
-
function serialize(children, callback) {
|
|
13261
|
-
var output = "";
|
|
13262
|
-
var length2 = sizeof(children);
|
|
13263
|
-
for (var i = 0; i < length2; i++)
|
|
13264
|
-
output += callback(children[i], i, children, callback) || "";
|
|
13265
|
-
return output;
|
|
13266
|
-
}
|
|
13267
|
-
function stringify(element, index, children, callback) {
|
|
13268
|
-
switch (element.type) {
|
|
13269
|
-
case LAYER:
|
|
13270
|
-
if (element.children.length) break;
|
|
13271
|
-
case IMPORT:
|
|
13272
|
-
case DECLARATION:
|
|
13273
|
-
return element.return = element.return || element.value;
|
|
13274
|
-
case COMMENT:
|
|
13275
|
-
return "";
|
|
13276
|
-
case KEYFRAMES:
|
|
13277
|
-
return element.return = element.value + "{" + serialize(element.children, callback) + "}";
|
|
13278
|
-
case RULESET:
|
|
13279
|
-
element.value = element.props.join(",");
|
|
13280
|
-
}
|
|
13281
|
-
return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
|
|
13282
|
-
}
|
|
13283
|
-
function middleware(collection) {
|
|
13284
|
-
var length2 = sizeof(collection);
|
|
13285
|
-
return function(element, index, children, callback) {
|
|
13286
|
-
var output = "";
|
|
13287
|
-
for (var i = 0; i < length2; i++)
|
|
13288
|
-
output += collection[i](element, index, children, callback) || "";
|
|
13289
|
-
return output;
|
|
13290
|
-
};
|
|
13291
|
-
}
|
|
13292
|
-
function rulesheet(callback) {
|
|
13293
|
-
return function(element) {
|
|
13294
|
-
if (!element.root) {
|
|
13295
|
-
if (element = element.return)
|
|
13296
|
-
callback(element);
|
|
13297
|
-
}
|
|
13298
|
-
};
|
|
13299
|
-
}
|
|
13300
|
-
var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
|
|
13301
|
-
var previous = 0;
|
|
13302
|
-
var character2 = 0;
|
|
13303
|
-
while (true) {
|
|
13304
|
-
previous = character2;
|
|
13305
|
-
character2 = peek();
|
|
13306
|
-
if (previous === 38 && character2 === 12) {
|
|
13307
|
-
points[index] = 1;
|
|
13308
|
-
}
|
|
13309
|
-
if (token(character2)) {
|
|
13310
|
-
break;
|
|
13311
|
-
}
|
|
13312
|
-
next();
|
|
13313
|
-
}
|
|
13314
|
-
return slice(begin, position);
|
|
13315
|
-
};
|
|
13316
|
-
var toRules = function toRules2(parsed, points) {
|
|
13317
|
-
var index = -1;
|
|
13318
|
-
var character2 = 44;
|
|
13319
|
-
do {
|
|
13320
|
-
switch (token(character2)) {
|
|
13321
|
-
case 0:
|
|
13322
|
-
if (character2 === 38 && peek() === 12) {
|
|
13323
|
-
points[index] = 1;
|
|
13324
|
-
}
|
|
13325
|
-
parsed[index] += identifierWithPointTracking(position - 1, points, index);
|
|
13326
|
-
break;
|
|
13327
|
-
case 2:
|
|
13328
|
-
parsed[index] += delimit(character2);
|
|
13329
|
-
break;
|
|
13330
|
-
case 4:
|
|
13331
|
-
if (character2 === 44) {
|
|
13332
|
-
parsed[++index] = peek() === 58 ? "&\f" : "";
|
|
13333
|
-
points[index] = parsed[index].length;
|
|
13334
|
-
break;
|
|
13335
|
-
}
|
|
13336
|
-
// fallthrough
|
|
13337
|
-
default:
|
|
13338
|
-
parsed[index] += from(character2);
|
|
13339
|
-
}
|
|
13340
|
-
} while (character2 = next());
|
|
13341
|
-
return parsed;
|
|
13342
|
-
};
|
|
13343
|
-
var getRules = function getRules2(value, points) {
|
|
13344
|
-
return dealloc(toRules(alloc(value), points));
|
|
13345
|
-
};
|
|
13346
|
-
var fixedElements = /* @__PURE__ */ new WeakMap();
|
|
13347
|
-
var compat = function compat2(element) {
|
|
13348
|
-
if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
|
|
13349
|
-
// negative .length indicates that this rule has been already prefixed
|
|
13350
|
-
element.length < 1) {
|
|
13351
|
-
return;
|
|
13352
|
-
}
|
|
13353
|
-
var value = element.value;
|
|
13354
|
-
var parent = element.parent;
|
|
13355
|
-
var isImplicitRule = element.column === parent.column && element.line === parent.line;
|
|
13356
|
-
while (parent.type !== "rule") {
|
|
13357
|
-
parent = parent.parent;
|
|
13358
|
-
if (!parent) return;
|
|
13359
|
-
}
|
|
13360
|
-
if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
|
|
13361
|
-
return;
|
|
13362
|
-
}
|
|
13363
|
-
if (isImplicitRule) {
|
|
13364
|
-
return;
|
|
13365
|
-
}
|
|
13366
|
-
fixedElements.set(element, true);
|
|
13367
|
-
var points = [];
|
|
13368
|
-
var rules = getRules(value, points);
|
|
13369
|
-
var parentRules = parent.props;
|
|
13370
|
-
for (var i = 0, k = 0; i < rules.length; i++) {
|
|
13371
|
-
for (var j = 0; j < parentRules.length; j++, k++) {
|
|
13372
|
-
element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
|
|
13373
|
-
}
|
|
13374
|
-
}
|
|
13375
|
-
};
|
|
13376
|
-
var removeLabel = function removeLabel2(element) {
|
|
13377
|
-
if (element.type === "decl") {
|
|
13378
|
-
var value = element.value;
|
|
13379
|
-
if (
|
|
13380
|
-
// charcode for l
|
|
13381
|
-
value.charCodeAt(0) === 108 && // charcode for b
|
|
13382
|
-
value.charCodeAt(2) === 98
|
|
13383
|
-
) {
|
|
13384
|
-
element["return"] = "";
|
|
13385
|
-
element.value = "";
|
|
13386
|
-
}
|
|
13387
|
-
}
|
|
13388
|
-
};
|
|
13389
|
-
function prefix(value, length2) {
|
|
13390
|
-
switch (hash(value, length2)) {
|
|
13391
|
-
// color-adjust
|
|
13392
|
-
case 5103:
|
|
13393
|
-
return WEBKIT + "print-" + value + value;
|
|
13394
|
-
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
13395
|
-
case 5737:
|
|
13396
|
-
case 4201:
|
|
13397
|
-
case 3177:
|
|
13398
|
-
case 3433:
|
|
13399
|
-
case 1641:
|
|
13400
|
-
case 4457:
|
|
13401
|
-
case 2921:
|
|
13402
|
-
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
13403
|
-
case 5572:
|
|
13404
|
-
case 6356:
|
|
13405
|
-
case 5844:
|
|
13406
|
-
case 3191:
|
|
13407
|
-
case 6645:
|
|
13408
|
-
case 3005:
|
|
13409
|
-
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
13410
|
-
case 6391:
|
|
13411
|
-
case 5879:
|
|
13412
|
-
case 5623:
|
|
13413
|
-
case 6135:
|
|
13414
|
-
case 4599:
|
|
13415
|
-
case 4855:
|
|
13416
|
-
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
13417
|
-
case 4215:
|
|
13418
|
-
case 6389:
|
|
13419
|
-
case 5109:
|
|
13420
|
-
case 5365:
|
|
13421
|
-
case 5621:
|
|
13422
|
-
case 3829:
|
|
13423
|
-
return WEBKIT + value + value;
|
|
13424
|
-
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
13425
|
-
case 5349:
|
|
13426
|
-
case 4246:
|
|
13427
|
-
case 4810:
|
|
13428
|
-
case 6968:
|
|
13429
|
-
case 2756:
|
|
13430
|
-
return WEBKIT + value + MOZ + value + MS + value + value;
|
|
13431
|
-
// flex, flex-direction
|
|
13432
|
-
case 6828:
|
|
13433
|
-
case 4268:
|
|
13434
|
-
return WEBKIT + value + MS + value + value;
|
|
13435
|
-
// order
|
|
13436
|
-
case 6165:
|
|
13437
|
-
return WEBKIT + value + MS + "flex-" + value + value;
|
|
13438
|
-
// align-items
|
|
13439
|
-
case 5187:
|
|
13440
|
-
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
|
|
13441
|
-
// align-self
|
|
13442
|
-
case 5443:
|
|
13443
|
-
return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
|
|
13444
|
-
// align-content
|
|
13445
|
-
case 4675:
|
|
13446
|
-
return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
|
|
13447
|
-
// flex-shrink
|
|
13448
|
-
case 5548:
|
|
13449
|
-
return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
|
|
13450
|
-
// flex-basis
|
|
13451
|
-
case 5292:
|
|
13452
|
-
return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
|
|
13453
|
-
// flex-grow
|
|
13454
|
-
case 6060:
|
|
13455
|
-
return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
|
|
13456
|
-
// transition
|
|
13457
|
-
case 4554:
|
|
13458
|
-
return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
|
|
13459
|
-
// cursor
|
|
13460
|
-
case 6187:
|
|
13461
|
-
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
|
|
13462
|
-
// background, background-image
|
|
13463
|
-
case 5495:
|
|
13464
|
-
case 3959:
|
|
13465
|
-
return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
|
|
13466
|
-
// justify-content
|
|
13467
|
-
case 4968:
|
|
13468
|
-
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
|
|
13469
|
-
// (margin|padding)-inline-(start|end)
|
|
13470
|
-
case 4095:
|
|
13471
|
-
case 3583:
|
|
13472
|
-
case 4068:
|
|
13473
|
-
case 2532:
|
|
13474
|
-
return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
|
|
13475
|
-
// (min|max)?(width|height|inline-size|block-size)
|
|
13476
|
-
case 8116:
|
|
13477
|
-
case 7059:
|
|
13478
|
-
case 5753:
|
|
13479
|
-
case 5535:
|
|
13480
|
-
case 5445:
|
|
13481
|
-
case 5701:
|
|
13482
|
-
case 4933:
|
|
13483
|
-
case 4677:
|
|
13484
|
-
case 5533:
|
|
13485
|
-
case 5789:
|
|
13486
|
-
case 5021:
|
|
13487
|
-
case 4765:
|
|
13488
|
-
if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
|
|
13489
|
-
// (m)ax-content, (m)in-content
|
|
13490
|
-
case 109:
|
|
13491
|
-
if (charat(value, length2 + 4) !== 45) break;
|
|
13492
|
-
// (f)ill-available, (f)it-content
|
|
13493
|
-
case 102:
|
|
13494
|
-
return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
|
|
13495
|
-
// (s)tretch
|
|
13496
|
-
case 115:
|
|
13497
|
-
return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
|
|
13498
|
-
}
|
|
13499
|
-
break;
|
|
13500
|
-
// position: sticky
|
|
13501
|
-
case 4949:
|
|
13502
|
-
if (charat(value, length2 + 1) !== 115) break;
|
|
13503
|
-
// display: (flex|inline-flex)
|
|
13504
|
-
case 6444:
|
|
13505
|
-
switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
|
|
13506
|
-
// stic(k)y
|
|
13507
|
-
case 107:
|
|
13508
|
-
return replace(value, ":", ":" + WEBKIT) + value;
|
|
13509
|
-
// (inline-)?fl(e)x
|
|
13510
|
-
case 101:
|
|
13511
|
-
return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
|
|
13512
|
-
}
|
|
13513
|
-
break;
|
|
13514
|
-
// writing-mode
|
|
13515
|
-
case 5936:
|
|
13516
|
-
switch (charat(value, length2 + 11)) {
|
|
13517
|
-
// vertical-l(r)
|
|
13518
|
-
case 114:
|
|
13519
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
|
|
13520
|
-
// vertical-r(l)
|
|
13521
|
-
case 108:
|
|
13522
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
|
|
13523
|
-
// horizontal(-)tb
|
|
13524
|
-
case 45:
|
|
13525
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
|
|
13526
|
-
}
|
|
13527
|
-
return WEBKIT + value + MS + value + value;
|
|
13528
|
-
}
|
|
13529
|
-
return value;
|
|
13530
|
-
}
|
|
13531
|
-
var prefixer = function prefixer2(element, index, children, callback) {
|
|
13532
|
-
if (element.length > -1) {
|
|
13533
|
-
if (!element["return"]) switch (element.type) {
|
|
13534
|
-
case DECLARATION:
|
|
13535
|
-
element["return"] = prefix(element.value, element.length);
|
|
13536
|
-
break;
|
|
13537
|
-
case KEYFRAMES:
|
|
13538
|
-
return serialize([copy(element, {
|
|
13539
|
-
value: replace(element.value, "@", "@" + WEBKIT)
|
|
13540
|
-
})], callback);
|
|
13541
|
-
case RULESET:
|
|
13542
|
-
if (element.length) return combine(element.props, function(value) {
|
|
13543
|
-
switch (match(value, /(::plac\w+|:read-\w+)/)) {
|
|
13544
|
-
// :read-(only|write)
|
|
13545
|
-
case ":read-only":
|
|
13546
|
-
case ":read-write":
|
|
13547
|
-
return serialize([copy(element, {
|
|
13548
|
-
props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
|
|
13549
|
-
})], callback);
|
|
13550
|
-
// :placeholder
|
|
13551
|
-
case "::placeholder":
|
|
13552
|
-
return serialize([copy(element, {
|
|
13553
|
-
props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
|
|
13554
|
-
}), copy(element, {
|
|
13555
|
-
props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
|
|
13556
|
-
}), copy(element, {
|
|
13557
|
-
props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
|
|
13558
|
-
})], callback);
|
|
13559
|
-
}
|
|
13560
|
-
return "";
|
|
13561
|
-
});
|
|
13562
|
-
}
|
|
13563
|
-
}
|
|
13564
|
-
};
|
|
13565
|
-
var defaultStylisPlugins = [prefixer];
|
|
13566
|
-
var createCache = function createCache2(options) {
|
|
13567
|
-
var key = options.key;
|
|
13568
|
-
if (key === "css") {
|
|
13569
|
-
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
13570
|
-
Array.prototype.forEach.call(ssrStyles, function(node2) {
|
|
13571
|
-
var dataEmotionAttribute = node2.getAttribute("data-emotion");
|
|
13572
|
-
if (dataEmotionAttribute.indexOf(" ") === -1) {
|
|
13573
|
-
return;
|
|
13574
|
-
}
|
|
13575
|
-
document.head.appendChild(node2);
|
|
13576
|
-
node2.setAttribute("data-s", "");
|
|
13577
|
-
});
|
|
13578
|
-
}
|
|
13579
|
-
var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
|
|
13580
|
-
var inserted = {};
|
|
13581
|
-
var container;
|
|
13582
|
-
var nodesToHydrate = [];
|
|
13583
|
-
{
|
|
13584
|
-
container = options.container || document.head;
|
|
13585
|
-
Array.prototype.forEach.call(
|
|
13586
|
-
// this means we will ignore elements which don't have a space in them which
|
|
13587
|
-
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
13588
|
-
document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
|
|
13589
|
-
function(node2) {
|
|
13590
|
-
var attrib = node2.getAttribute("data-emotion").split(" ");
|
|
13591
|
-
for (var i = 1; i < attrib.length; i++) {
|
|
13592
|
-
inserted[attrib[i]] = true;
|
|
13593
|
-
}
|
|
13594
|
-
nodesToHydrate.push(node2);
|
|
13595
|
-
}
|
|
13596
|
-
);
|
|
13597
|
-
}
|
|
13598
|
-
var _insert;
|
|
13599
|
-
var omnipresentPlugins = [compat, removeLabel];
|
|
13600
|
-
{
|
|
13601
|
-
var currentSheet;
|
|
13602
|
-
var finalizingPlugins = [stringify, rulesheet(function(rule) {
|
|
13603
|
-
currentSheet.insert(rule);
|
|
13604
|
-
})];
|
|
13605
|
-
var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
13606
|
-
var stylis = function stylis2(styles) {
|
|
13607
|
-
return serialize(compile(styles), serializer);
|
|
13608
|
-
};
|
|
13609
|
-
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
|
13610
|
-
currentSheet = sheet;
|
|
13611
|
-
stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
|
|
13612
|
-
if (shouldCache) {
|
|
13613
|
-
cache.inserted[serialized.name] = true;
|
|
13614
|
-
}
|
|
13615
|
-
};
|
|
13616
|
-
}
|
|
13617
|
-
var cache = {
|
|
13618
|
-
key,
|
|
13619
|
-
sheet: new StyleSheet({
|
|
13620
|
-
key,
|
|
13621
|
-
container,
|
|
13622
|
-
nonce: options.nonce,
|
|
13623
|
-
speedy: options.speedy,
|
|
13624
|
-
prepend: options.prepend,
|
|
13625
|
-
insertionPoint: options.insertionPoint
|
|
13626
|
-
}),
|
|
13627
|
-
nonce: options.nonce,
|
|
13628
|
-
inserted,
|
|
13629
|
-
registered: {},
|
|
13630
|
-
insert: _insert
|
|
13631
|
-
};
|
|
13632
|
-
cache.sheet.hydrate(nodesToHydrate);
|
|
13633
|
-
return cache;
|
|
13634
|
-
};
|
|
13635
12855
|
const isolatedTheme = createTheme({
|
|
13636
12856
|
typography: {
|
|
13637
|
-
fontFamily: "'
|
|
12857
|
+
fontFamily: "'Inter', sans-serif"
|
|
13638
12858
|
}
|
|
13639
12859
|
});
|
|
13640
12860
|
function createEmotionCache() {
|
|
13641
|
-
|
|
13642
|
-
|
|
12861
|
+
const isBrowser = typeof document !== "undefined";
|
|
12862
|
+
if (!isBrowser) {
|
|
12863
|
+
return createCache({ key: "sixseconds" });
|
|
13643
12864
|
}
|
|
13644
|
-
let insertionPoint;
|
|
13645
12865
|
const metaTag = document.querySelector('meta[name="sixseconds-insertion-point"]');
|
|
13646
|
-
|
|
13647
|
-
insertionPoint = metaTag;
|
|
13648
|
-
}
|
|
12866
|
+
const insertionPoint = metaTag || void 0;
|
|
13649
12867
|
return createCache({
|
|
13650
12868
|
key: "sixseconds",
|
|
13651
|
-
|
|
13652
|
-
|
|
13653
|
-
...insertionPoint ? { insertionPoint } : { prepend: true }
|
|
12869
|
+
insertionPoint,
|
|
12870
|
+
prepend: !insertionPoint
|
|
13654
12871
|
});
|
|
13655
12872
|
}
|
|
13656
12873
|
function MuiProvider({ children }) {
|
|
@@ -13687,17 +12904,11 @@ const DangerDialog = ({
|
|
|
13687
12904
|
Typography,
|
|
13688
12905
|
{
|
|
13689
12906
|
variant: "h5",
|
|
13690
|
-
sx: { fontSize: "20px", fontWeight: "600", color: "#1a1c1e", fontFamily: "'
|
|
12907
|
+
sx: { fontSize: "20px", fontWeight: "600", color: "#1a1c1e", fontFamily: "'Inter', sans-serif" },
|
|
13691
12908
|
children: title
|
|
13692
12909
|
}
|
|
13693
12910
|
),
|
|
13694
|
-
/* @__PURE__ */ jsx(
|
|
13695
|
-
Typography,
|
|
13696
|
-
{
|
|
13697
|
-
sx: { fontSize: "15px", fontWeight: "400", color: "#5f6368", fontFamily: "'IBM Plex Sans', sans-serif" },
|
|
13698
|
-
children: description
|
|
13699
|
-
}
|
|
13700
|
-
)
|
|
12911
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontSize: "15px", fontWeight: "400", color: "#5f6368", fontFamily: "'Inter', sans-serif" }, children: description })
|
|
13701
12912
|
] }),
|
|
13702
12913
|
/* @__PURE__ */ jsxs(Stack$1, { direction: "row", alignItems: "center", spacing: 2, sx: { mt: 3 }, children: [
|
|
13703
12914
|
/* @__PURE__ */ jsx(
|
|
@@ -13714,7 +12925,7 @@ const DangerDialog = ({
|
|
|
13714
12925
|
fontSize: "14px",
|
|
13715
12926
|
fontWeight: 500,
|
|
13716
12927
|
padding: "10px",
|
|
13717
|
-
fontFamily: "'
|
|
12928
|
+
fontFamily: "'Inter', sans-serif",
|
|
13718
12929
|
"&:hover": { borderColor: "#0073b1", color: "#0073b1", background: "rgba(0, 115, 177, 0.04)" }
|
|
13719
12930
|
},
|
|
13720
12931
|
children: "Cancel"
|
|
@@ -13737,7 +12948,7 @@ const DangerDialog = ({
|
|
|
13737
12948
|
fontSize: "14px",
|
|
13738
12949
|
fontWeight: 500,
|
|
13739
12950
|
padding: "10px",
|
|
13740
|
-
fontFamily: "'
|
|
12951
|
+
fontFamily: "'Inter', sans-serif",
|
|
13741
12952
|
"&:hover": { background: "#b71c1c" }
|
|
13742
12953
|
},
|
|
13743
12954
|
children: isLoading ? ALERT_MESSAGES.commonLoadingMessage : buttonTitle
|
|
@@ -13759,7 +12970,7 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13759
12970
|
padding: "16px",
|
|
13760
12971
|
borderRadius: "12px",
|
|
13761
12972
|
boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.05)",
|
|
13762
|
-
fontFamily: "'
|
|
12973
|
+
fontFamily: "'Inter', sans-serif",
|
|
13763
12974
|
width: "100%",
|
|
13764
12975
|
boxSizing: "border-box"
|
|
13765
12976
|
},
|
|
@@ -13769,7 +12980,7 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13769
12980
|
borderRadius: "12px",
|
|
13770
12981
|
boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.05)",
|
|
13771
12982
|
height: "729px",
|
|
13772
|
-
fontFamily: "'
|
|
12983
|
+
fontFamily: "'Inter', sans-serif",
|
|
13773
12984
|
overflow: "auto"
|
|
13774
12985
|
},
|
|
13775
12986
|
"& .dashboard": {
|
|
@@ -13777,45 +12988,45 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13777
12988
|
gap: "16px",
|
|
13778
12989
|
width: "100%",
|
|
13779
12990
|
alignItems: "center",
|
|
13780
|
-
fontFamily: "'
|
|
12991
|
+
fontFamily: "'Inter', sans-serif"
|
|
13781
12992
|
},
|
|
13782
12993
|
"& .product": {
|
|
13783
12994
|
display: "flex",
|
|
13784
|
-
fontFamily: "'
|
|
12995
|
+
fontFamily: "'Inter', sans-serif",
|
|
13785
12996
|
gap: "16px"
|
|
13786
12997
|
},
|
|
13787
12998
|
"& .project": {
|
|
13788
12999
|
fontSize: "14px",
|
|
13789
13000
|
fontWeight: "400",
|
|
13790
13001
|
color: "#5f6368",
|
|
13791
|
-
fontFamily: "'
|
|
13002
|
+
fontFamily: "'Inter', sans-serif"
|
|
13792
13003
|
},
|
|
13793
13004
|
"& .seiDetail": {
|
|
13794
13005
|
background: "#f0f7ff",
|
|
13795
13006
|
padding: "12px",
|
|
13796
13007
|
borderRadius: "12px",
|
|
13797
13008
|
height: "100%",
|
|
13798
|
-
fontFamily: "'
|
|
13009
|
+
fontFamily: "'Inter', sans-serif"
|
|
13799
13010
|
},
|
|
13800
13011
|
"& .vsDetail": {
|
|
13801
13012
|
background: "#fff9f2",
|
|
13802
13013
|
padding: "12px",
|
|
13803
13014
|
borderRadius: "12px",
|
|
13804
13015
|
height: " 100%",
|
|
13805
|
-
fontFamily: "'
|
|
13016
|
+
fontFamily: "'Inter', sans-serif"
|
|
13806
13017
|
},
|
|
13807
13018
|
"& .emotional": {
|
|
13808
13019
|
fontSize: "16px",
|
|
13809
13020
|
fontWeight: "600",
|
|
13810
13021
|
color: "#1a1c1e",
|
|
13811
|
-
fontFamily: "'
|
|
13022
|
+
fontFamily: "'Inter', sans-serif"
|
|
13812
13023
|
},
|
|
13813
13024
|
"& .Detail": {
|
|
13814
13025
|
fontSize: "14px",
|
|
13815
13026
|
fontWeight: "400",
|
|
13816
13027
|
color: "#5f6368",
|
|
13817
13028
|
margin: "10px 0px",
|
|
13818
|
-
fontFamily: "'
|
|
13029
|
+
fontFamily: "'Inter', sans-serif"
|
|
13819
13030
|
},
|
|
13820
13031
|
"& .link": {
|
|
13821
13032
|
fontSize: "16px",
|
|
@@ -13823,39 +13034,39 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13823
13034
|
fontWeight: "500",
|
|
13824
13035
|
marginTop: "4%",
|
|
13825
13036
|
padding: "12px 5px 0px",
|
|
13826
|
-
fontFamily: "'
|
|
13037
|
+
fontFamily: "'Inter', sans-serif"
|
|
13827
13038
|
},
|
|
13828
13039
|
"& .group": {
|
|
13829
13040
|
paddingTop: "12px",
|
|
13830
|
-
fontFamily: "'
|
|
13041
|
+
fontFamily: "'Inter', sans-serif"
|
|
13831
13042
|
},
|
|
13832
13043
|
"& .creation": {
|
|
13833
13044
|
display: "flex",
|
|
13834
13045
|
paddingBottom: "10px",
|
|
13835
|
-
fontFamily: "'
|
|
13046
|
+
fontFamily: "'Inter', sans-serif"
|
|
13836
13047
|
},
|
|
13837
13048
|
"& .groupDetailData": {
|
|
13838
13049
|
fontSize: "14px",
|
|
13839
13050
|
fontWeight: "400",
|
|
13840
13051
|
color: "#5f6368",
|
|
13841
13052
|
margin: "0px 13px 0px 0px",
|
|
13842
|
-
fontFamily: "'
|
|
13053
|
+
fontFamily: "'Inter', sans-serif"
|
|
13843
13054
|
},
|
|
13844
13055
|
"& .title": {
|
|
13845
13056
|
color: "#1a1c1e",
|
|
13846
13057
|
fontSize: "16px",
|
|
13847
13058
|
fontWeight: "600",
|
|
13848
|
-
fontFamily: "'
|
|
13059
|
+
fontFamily: "'Inter', sans-serif"
|
|
13849
13060
|
},
|
|
13850
13061
|
"& .reportActivityDetail": {
|
|
13851
13062
|
display: "flex",
|
|
13852
13063
|
alignItems: "center",
|
|
13853
13064
|
margin: "0px 0px 7px 0px",
|
|
13854
|
-
fontFamily: "'
|
|
13065
|
+
fontFamily: "'Inter', sans-serif"
|
|
13855
13066
|
},
|
|
13856
13067
|
"& .reportActivityDetail svg": {
|
|
13857
13068
|
margin: "0px 13px 0px 0px",
|
|
13858
|
-
fontFamily: "'
|
|
13069
|
+
fontFamily: "'Inter', sans-serif"
|
|
13859
13070
|
},
|
|
13860
13071
|
"& .version": {
|
|
13861
13072
|
display: "flex",
|
|
@@ -13863,42 +13074,42 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13863
13074
|
width: "98%",
|
|
13864
13075
|
alignItems: "center",
|
|
13865
13076
|
margin: "8px 0px 8px 0px",
|
|
13866
|
-
fontFamily: "'
|
|
13077
|
+
fontFamily: "'Inter', sans-serif"
|
|
13867
13078
|
},
|
|
13868
13079
|
"& .dotted": {
|
|
13869
13080
|
fontSize: "14px",
|
|
13870
13081
|
fontWeight: "500",
|
|
13871
13082
|
display: "flex",
|
|
13872
13083
|
alignItems: "center",
|
|
13873
|
-
fontFamily: "'
|
|
13084
|
+
fontFamily: "'Inter', sans-serif"
|
|
13874
13085
|
},
|
|
13875
13086
|
"& .seiDetail .dotted": {
|
|
13876
13087
|
color: "#0073b1",
|
|
13877
|
-
fontFamily: "'
|
|
13088
|
+
fontFamily: "'Inter', sans-serif"
|
|
13878
13089
|
},
|
|
13879
13090
|
"& .vsDetail .dotted": {
|
|
13880
13091
|
color: "#f68926",
|
|
13881
|
-
fontFamily: "'
|
|
13092
|
+
fontFamily: "'Inter', sans-serif"
|
|
13882
13093
|
},
|
|
13883
13094
|
"& .seiDetail .version svg": {
|
|
13884
13095
|
color: "#0073b1",
|
|
13885
|
-
fontFamily: "'
|
|
13096
|
+
fontFamily: "'Inter', sans-serif"
|
|
13886
13097
|
},
|
|
13887
13098
|
"& .vsDetail .version svg": {
|
|
13888
13099
|
color: "#f68926",
|
|
13889
|
-
fontFamily: "'
|
|
13100
|
+
fontFamily: "'Inter', sans-serif"
|
|
13890
13101
|
},
|
|
13891
13102
|
"& .seiDetail .accordionTitle": {
|
|
13892
13103
|
color: "#0073b1",
|
|
13893
13104
|
fontSize: "14px",
|
|
13894
13105
|
fontWeight: "500",
|
|
13895
|
-
fontFamily: "'
|
|
13106
|
+
fontFamily: "'Inter', sans-serif"
|
|
13896
13107
|
},
|
|
13897
13108
|
"& .vsDetail .accordionTitle": {
|
|
13898
13109
|
color: "#f68926",
|
|
13899
13110
|
fontSize: "14px",
|
|
13900
13111
|
fontWeight: "500",
|
|
13901
|
-
fontFamily: "'
|
|
13112
|
+
fontFamily: "'Inter', sans-serif"
|
|
13902
13113
|
},
|
|
13903
13114
|
"& .seiDetail .toggle svg": {
|
|
13904
13115
|
color: "#0073b1"
|
|
@@ -13911,14 +13122,14 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13911
13122
|
color: "#5f6368",
|
|
13912
13123
|
fontWeight: "400",
|
|
13913
13124
|
margin: "3px 3px",
|
|
13914
|
-
fontFamily: "'
|
|
13125
|
+
fontFamily: "'Inter', sans-serif"
|
|
13915
13126
|
},
|
|
13916
13127
|
"& .recant": {
|
|
13917
13128
|
fontSize: "16px",
|
|
13918
13129
|
fontWeight: "600",
|
|
13919
13130
|
color: "#1a1c1e",
|
|
13920
13131
|
padding: "9px 4px",
|
|
13921
|
-
fontFamily: "'
|
|
13132
|
+
fontFamily: "'Inter', sans-serif"
|
|
13922
13133
|
},
|
|
13923
13134
|
"& .viewFile": {
|
|
13924
13135
|
color: "#5f6368",
|
|
@@ -13954,7 +13165,7 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
13954
13165
|
margin: "10px 0px",
|
|
13955
13166
|
padding: "16px",
|
|
13956
13167
|
borderRadius: "12px",
|
|
13957
|
-
fontFamily: "'
|
|
13168
|
+
fontFamily: "'Inter', sans-serif",
|
|
13958
13169
|
width: "100%",
|
|
13959
13170
|
boxSizing: "border-box"
|
|
13960
13171
|
},
|
|
@@ -13963,7 +13174,7 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
13963
13174
|
padding: "12px",
|
|
13964
13175
|
borderRadius: "12px",
|
|
13965
13176
|
height: "729px",
|
|
13966
|
-
fontFamily: "'
|
|
13177
|
+
fontFamily: "'Inter', sans-serif",
|
|
13967
13178
|
overflow: "auto"
|
|
13968
13179
|
},
|
|
13969
13180
|
"& .dashboard": {
|
|
@@ -13971,45 +13182,45 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
13971
13182
|
gap: "16px",
|
|
13972
13183
|
width: "100%",
|
|
13973
13184
|
alignItems: "center",
|
|
13974
|
-
fontFamily: "'
|
|
13185
|
+
fontFamily: "'Inter', sans-serif"
|
|
13975
13186
|
},
|
|
13976
13187
|
"& .product": {
|
|
13977
13188
|
display: "flex",
|
|
13978
|
-
fontFamily: "'
|
|
13189
|
+
fontFamily: "'Inter', sans-serif",
|
|
13979
13190
|
gap: "16px"
|
|
13980
13191
|
},
|
|
13981
13192
|
"& .project": {
|
|
13982
13193
|
fontSize: "14px",
|
|
13983
13194
|
fontWeight: "400",
|
|
13984
13195
|
color: "#5f6368",
|
|
13985
|
-
fontFamily: "'
|
|
13196
|
+
fontFamily: "'Inter', sans-serif"
|
|
13986
13197
|
},
|
|
13987
13198
|
"& .seiDetail": {
|
|
13988
13199
|
background: "#f0f7ff",
|
|
13989
13200
|
padding: "12px",
|
|
13990
13201
|
borderRadius: "12px",
|
|
13991
13202
|
height: "100%",
|
|
13992
|
-
fontFamily: "'
|
|
13203
|
+
fontFamily: "'Inter', sans-serif"
|
|
13993
13204
|
},
|
|
13994
13205
|
"& .vsDetail": {
|
|
13995
13206
|
background: "#fff9f2",
|
|
13996
13207
|
padding: "12px",
|
|
13997
13208
|
borderRadius: "12px",
|
|
13998
13209
|
height: " 100%",
|
|
13999
|
-
fontFamily: "'
|
|
13210
|
+
fontFamily: "'Inter', sans-serif"
|
|
14000
13211
|
},
|
|
14001
13212
|
"& .emotional": {
|
|
14002
13213
|
fontSize: "16px",
|
|
14003
13214
|
fontWeight: "600",
|
|
14004
13215
|
color: "#1a1c1e",
|
|
14005
|
-
fontFamily: "'
|
|
13216
|
+
fontFamily: "'Inter', sans-serif"
|
|
14006
13217
|
},
|
|
14007
13218
|
"& .Detail": {
|
|
14008
13219
|
fontSize: "14px",
|
|
14009
13220
|
fontWeight: "400",
|
|
14010
13221
|
color: "#5f6368",
|
|
14011
13222
|
margin: "10px 0px",
|
|
14012
|
-
fontFamily: "'
|
|
13223
|
+
fontFamily: "'Inter', sans-serif"
|
|
14013
13224
|
},
|
|
14014
13225
|
"& .link": {
|
|
14015
13226
|
fontSize: "16px",
|
|
@@ -14017,39 +13228,39 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
14017
13228
|
fontWeight: "500",
|
|
14018
13229
|
marginTop: "4%",
|
|
14019
13230
|
padding: "12px 5px 0px",
|
|
14020
|
-
fontFamily: "'
|
|
13231
|
+
fontFamily: "'Inter', sans-serif"
|
|
14021
13232
|
},
|
|
14022
13233
|
"& .group": {
|
|
14023
13234
|
paddingTop: "12px",
|
|
14024
|
-
fontFamily: "'
|
|
13235
|
+
fontFamily: "'Inter', sans-serif"
|
|
14025
13236
|
},
|
|
14026
13237
|
"& .creation": {
|
|
14027
13238
|
display: "flex",
|
|
14028
13239
|
paddingBottom: "10px",
|
|
14029
|
-
fontFamily: "'
|
|
13240
|
+
fontFamily: "'Inter', sans-serif"
|
|
14030
13241
|
},
|
|
14031
13242
|
"& .groupDetailData": {
|
|
14032
13243
|
fontSize: "14px",
|
|
14033
13244
|
fontWeight: "400",
|
|
14034
13245
|
color: "#5f6368",
|
|
14035
13246
|
margin: "0px 13px 0px 0px",
|
|
14036
|
-
fontFamily: "'
|
|
13247
|
+
fontFamily: "'Inter', sans-serif"
|
|
14037
13248
|
},
|
|
14038
13249
|
"& .title": {
|
|
14039
13250
|
color: "#1a1c1e",
|
|
14040
13251
|
fontSize: "16px",
|
|
14041
13252
|
fontWeight: "600",
|
|
14042
|
-
fontFamily: "'
|
|
13253
|
+
fontFamily: "'Inter', sans-serif"
|
|
14043
13254
|
},
|
|
14044
13255
|
"& .reportActivityDetail": {
|
|
14045
13256
|
display: "flex",
|
|
14046
13257
|
alignItems: "center",
|
|
14047
13258
|
margin: "0px 0px 7px 0px",
|
|
14048
|
-
fontFamily: "'
|
|
13259
|
+
fontFamily: "'Inter', sans-serif"
|
|
14049
13260
|
},
|
|
14050
13261
|
"& .reportActivityDetail svg": {
|
|
14051
13262
|
margin: "0px 13px 0px 0px",
|
|
14052
|
-
fontFamily: "'
|
|
13263
|
+
fontFamily: "'Inter', sans-serif"
|
|
14053
13264
|
},
|
|
14054
13265
|
"& .version": {
|
|
14055
13266
|
display: "flex",
|
|
@@ -14057,42 +13268,42 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
14057
13268
|
width: "98%",
|
|
14058
13269
|
alignItems: "center",
|
|
14059
13270
|
margin: "8px 0px 8px 0px",
|
|
14060
|
-
fontFamily: "'
|
|
13271
|
+
fontFamily: "'Inter', sans-serif"
|
|
14061
13272
|
},
|
|
14062
13273
|
"& .dotted": {
|
|
14063
13274
|
fontSize: "14px",
|
|
14064
13275
|
fontWeight: "500",
|
|
14065
13276
|
display: "flex",
|
|
14066
13277
|
alignItems: "center",
|
|
14067
|
-
fontFamily: "'
|
|
13278
|
+
fontFamily: "'Inter', sans-serif"
|
|
14068
13279
|
},
|
|
14069
13280
|
"& .seiDetail .dotted": {
|
|
14070
13281
|
color: "#0073b1",
|
|
14071
|
-
fontFamily: "'
|
|
13282
|
+
fontFamily: "'Inter', sans-serif"
|
|
14072
13283
|
},
|
|
14073
13284
|
"& .vsDetail .dotted": {
|
|
14074
13285
|
color: "#f68926",
|
|
14075
|
-
fontFamily: "'
|
|
13286
|
+
fontFamily: "'Inter', sans-serif"
|
|
14076
13287
|
},
|
|
14077
13288
|
"& .seiDetail .version svg": {
|
|
14078
13289
|
color: "#0073b1",
|
|
14079
|
-
fontFamily: "'
|
|
13290
|
+
fontFamily: "'Inter', sans-serif"
|
|
14080
13291
|
},
|
|
14081
13292
|
"& .vsDetail .version svg": {
|
|
14082
13293
|
color: "#f68926",
|
|
14083
|
-
fontFamily: "'
|
|
13294
|
+
fontFamily: "'Inter', sans-serif"
|
|
14084
13295
|
},
|
|
14085
13296
|
"& .seiDetail .accordionTitle": {
|
|
14086
13297
|
color: "#0073b1",
|
|
14087
13298
|
fontSize: "14px",
|
|
14088
13299
|
fontWeight: "500",
|
|
14089
|
-
fontFamily: "'
|
|
13300
|
+
fontFamily: "'Inter', sans-serif"
|
|
14090
13301
|
},
|
|
14091
13302
|
"& .vsDetail .accordionTitle": {
|
|
14092
13303
|
color: "#f68926",
|
|
14093
13304
|
fontSize: "14px",
|
|
14094
13305
|
fontWeight: "500",
|
|
14095
|
-
fontFamily: "'
|
|
13306
|
+
fontFamily: "'Inter', sans-serif"
|
|
14096
13307
|
},
|
|
14097
13308
|
"& .seiDetail .toggle svg": {
|
|
14098
13309
|
color: "#0073b1"
|
|
@@ -14105,14 +13316,14 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
14105
13316
|
color: "#5f6368",
|
|
14106
13317
|
fontWeight: "400",
|
|
14107
13318
|
// margin: "3px 3px",
|
|
14108
|
-
fontFamily: "'
|
|
13319
|
+
fontFamily: "'Inter', sans-serif"
|
|
14109
13320
|
},
|
|
14110
13321
|
"& .recant": {
|
|
14111
13322
|
fontSize: "16px",
|
|
14112
13323
|
fontWeight: "600",
|
|
14113
13324
|
color: "#1a1c1e",
|
|
14114
13325
|
padding: "9px 4px",
|
|
14115
|
-
fontFamily: "'
|
|
13326
|
+
fontFamily: "'Inter', sans-serif"
|
|
14116
13327
|
},
|
|
14117
13328
|
"& .viewFile": {
|
|
14118
13329
|
color: "#5f6368",
|
|
@@ -14302,7 +13513,7 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
|
|
|
14302
13513
|
fontWeight: "800",
|
|
14303
13514
|
color: "#1a1c1e",
|
|
14304
13515
|
mb: 2,
|
|
14305
|
-
fontFamily: "'
|
|
13516
|
+
fontFamily: "'Inter', sans-serif"
|
|
14306
13517
|
},
|
|
14307
13518
|
children: userData?.fullName
|
|
14308
13519
|
}
|
|
@@ -14416,7 +13627,7 @@ function ChangePasswordDialog({ isOpen, email, t: t2, setInitialState }) {
|
|
|
14416
13627
|
fontWeight: 700,
|
|
14417
13628
|
color: "#1a1c1e",
|
|
14418
13629
|
mb: 3,
|
|
14419
|
-
fontFamily: "'
|
|
13630
|
+
fontFamily: "'Inter', sans-serif",
|
|
14420
13631
|
textAlign: "start"
|
|
14421
13632
|
},
|
|
14422
13633
|
children: t2("Change Password")
|
|
@@ -14513,22 +13724,17 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
14513
13724
|
Box,
|
|
14514
13725
|
{
|
|
14515
13726
|
className: "sixseconds-header-dashboard-boxes",
|
|
13727
|
+
component: IconButton,
|
|
14516
13728
|
sx: {
|
|
14517
13729
|
display: "flex",
|
|
14518
13730
|
flexDirection: "column",
|
|
14519
13731
|
justifyContent: "flex-start",
|
|
14520
13732
|
alignItems: "center",
|
|
14521
13733
|
textAlign: "center",
|
|
14522
|
-
p: { xs: 1, md: 2 },
|
|
14523
13734
|
height: "100%",
|
|
14524
13735
|
borderRadius: "12px",
|
|
14525
13736
|
transition: "all 0.2s",
|
|
14526
|
-
"
|
|
14527
|
-
background: "#f8f9fa",
|
|
14528
|
-
"& .sixseconds-header-menu-text": {
|
|
14529
|
-
color: "#0073b1"
|
|
14530
|
-
}
|
|
14531
|
-
}
|
|
13737
|
+
width: "100%"
|
|
14532
13738
|
},
|
|
14533
13739
|
children: [
|
|
14534
13740
|
/* @__PURE__ */ jsx(Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsx(
|
|
@@ -14550,7 +13756,8 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
14550
13756
|
color: "#1a1c1e",
|
|
14551
13757
|
fontWeight: 500,
|
|
14552
13758
|
lineHeight: 1.2,
|
|
14553
|
-
|
|
13759
|
+
minWidth: "110px",
|
|
13760
|
+
wordBreak: "break-all"
|
|
14554
13761
|
},
|
|
14555
13762
|
children: t2(item.name)
|
|
14556
13763
|
}
|
|
@@ -14563,9 +13770,9 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
14563
13770
|
)) }) }) });
|
|
14564
13771
|
};
|
|
14565
13772
|
const DropdownMenu = ({ headerMenuArray, initialState }) => {
|
|
14566
|
-
const pathname = window.location.pathname;
|
|
13773
|
+
const pathname = typeof window !== "undefined" ? window.location.pathname : "";
|
|
14567
13774
|
const isMobile = useMediaQuery("(max-width: 1324px)");
|
|
14568
|
-
return /* @__PURE__ */ jsx("nav", {
|
|
13775
|
+
return /* @__PURE__ */ jsx("nav", { className: "sixseconds-header-nav", children: !isMobile ? /* @__PURE__ */ jsx("ul", { className: "sixseconds-header-main-list-menu sixseconds-header-desktop-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxs("li", { className: "sixseconds-header-menu-item", style: { listStyle: "none" }, children: [
|
|
14569
13776
|
/* @__PURE__ */ jsx("a", { href: items.value || "", target: items.target, className: `sixseconds-header-menu-link`, children: items.label }),
|
|
14570
13777
|
Boolean(items.children.length) && /* @__PURE__ */ jsx("ul", { className: "sixseconds-header-submenu-data", children: items.children?.map((child, index2) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: child.value || "", target: child.target, className: "sixseconds-header-submenu-link", children: child.label }) }, index2)) })
|
|
14571
13778
|
] }, index)) }) : initialState.toggles.dropDownMenu && /* @__PURE__ */ jsx("div", { className: "lg:hidden sixseconds-header-small-device-menu", id: "mobile-menu", children: /* @__PURE__ */ jsx("div", { className: "sixseconds-header-layout-mobile-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -15066,8 +14273,8 @@ const Notification = ({ setInitialState, notificationAccessApps, initialState, t
|
|
|
15066
14273
|
return;
|
|
15067
14274
|
}
|
|
15068
14275
|
const newNotifications = pager?.data?.map((itm) => transformNotifications(itm));
|
|
15069
|
-
setNotifications((
|
|
15070
|
-
setPage((
|
|
14276
|
+
setNotifications((prev) => [...prev, ...newNotifications]);
|
|
14277
|
+
setPage((prev) => prev + 1);
|
|
15071
14278
|
}
|
|
15072
14279
|
};
|
|
15073
14280
|
return /* @__PURE__ */ jsx(ClickAwayListener, { onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsxs(
|
|
@@ -15187,7 +14394,7 @@ const SubHeaderStyled = styled(AppBar)(() => ({
|
|
|
15187
14394
|
color: "#1a1c1e",
|
|
15188
14395
|
height: "64px",
|
|
15189
14396
|
width: "100%",
|
|
15190
|
-
fontFamily: "'
|
|
14397
|
+
fontFamily: "'Inter', sans-serif",
|
|
15191
14398
|
position: "fixed",
|
|
15192
14399
|
zIndex: "1000",
|
|
15193
14400
|
right: "0px",
|
|
@@ -15202,7 +14409,7 @@ const SubHeaderStyled = styled(AppBar)(() => ({
|
|
|
15202
14409
|
justifyContent: "space-between",
|
|
15203
14410
|
alignItems: "center",
|
|
15204
14411
|
margin: "0px",
|
|
15205
|
-
fontFamily: "'
|
|
14412
|
+
fontFamily: "'Inter', sans-serif"
|
|
15206
14413
|
},
|
|
15207
14414
|
"& .sixseconds-header-profile": {
|
|
15208
14415
|
position: "absolute",
|
|
@@ -15213,7 +14420,7 @@ const SubHeaderStyled = styled(AppBar)(() => ({
|
|
|
15213
14420
|
borderRadius: "12px",
|
|
15214
14421
|
zIndex: "1100",
|
|
15215
14422
|
boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.1)",
|
|
15216
|
-
fontFamily: "'
|
|
14423
|
+
fontFamily: "'Inter', sans-serif",
|
|
15217
14424
|
border: "1px solid #e0e0e0",
|
|
15218
14425
|
overflow: "hidden",
|
|
15219
14426
|
"& ul": {
|
|
@@ -15235,11 +14442,11 @@ const SubHeaderStyled = styled(AppBar)(() => ({
|
|
|
15235
14442
|
"& .sixseconds-header-notification": {
|
|
15236
14443
|
display: "flex",
|
|
15237
14444
|
alignItems: "center",
|
|
15238
|
-
fontFamily: "'
|
|
14445
|
+
fontFamily: "'Inter', sans-serif"
|
|
15239
14446
|
},
|
|
15240
14447
|
"& .sixseconds-header-notification h6, & .sixseconds-header-notification p": {
|
|
15241
14448
|
margin: "10px",
|
|
15242
|
-
fontFamily: "'
|
|
14449
|
+
fontFamily: "'Inter', sans-serif"
|
|
15243
14450
|
},
|
|
15244
14451
|
"& .sixseconds-header-total": {
|
|
15245
14452
|
border: "1px solid #e0e0e0",
|
|
@@ -15249,7 +14456,7 @@ const SubHeaderStyled = styled(AppBar)(() => ({
|
|
|
15249
14456
|
fontSize: "14px",
|
|
15250
14457
|
fontWeight: "500",
|
|
15251
14458
|
display: "flex",
|
|
15252
|
-
fontFamily: "'
|
|
14459
|
+
fontFamily: "'Inter', sans-serif"
|
|
15253
14460
|
}
|
|
15254
14461
|
}));
|
|
15255
14462
|
const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, router }) => {
|
|
@@ -15505,168 +14712,175 @@ const HeaderInner = ({
|
|
|
15505
14712
|
margin: { md: "10px", lg: "10px", xs: "10px 0" },
|
|
15506
14713
|
position: "relative"
|
|
15507
14714
|
},
|
|
15508
|
-
children: /* @__PURE__ */ jsxs(
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
|
|
15513
|
-
|
|
15514
|
-
|
|
15515
|
-
|
|
15516
|
-
alignItems: "center",
|
|
15517
|
-
cursor: "pointer",
|
|
15518
|
-
width: "auto",
|
|
15519
|
-
height: "auto",
|
|
15520
|
-
"& svg": {
|
|
15521
|
-
color: "#808080",
|
|
15522
|
-
width: { md: "40px", lg: "40px", xs: "30px" },
|
|
15523
|
-
height: { md: "40px", lg: "40px", xs: "30px" }
|
|
15524
|
-
}
|
|
15525
|
-
},
|
|
15526
|
-
"data-toggle-name": "appMenus",
|
|
15527
|
-
onClick: (e) => handleOpenUtil(e, setState),
|
|
15528
|
-
children: /* @__PURE__ */ jsx(SVG.GridIcon, {})
|
|
15529
|
-
}
|
|
15530
|
-
),
|
|
15531
|
-
state.toggles.appMenus && Boolean(userData?.appAccess?.length) && /* @__PURE__ */ jsx(
|
|
15532
|
-
Box,
|
|
15533
|
-
{
|
|
15534
|
-
className: "sixseconds-header-menu sixseconds-header-profile sixseconds-header-menu",
|
|
15535
|
-
sx: {
|
|
15536
|
-
width: "400px !important",
|
|
15537
|
-
p: 1,
|
|
15538
|
-
zIndex: "99999999 !important",
|
|
15539
|
-
"[dir='rtl'] &": { left: "0 !important", right: "unset" }
|
|
15540
|
-
},
|
|
15541
|
-
children: /* @__PURE__ */ jsx(
|
|
15542
|
-
AppMenus,
|
|
15543
|
-
{
|
|
15544
|
-
router,
|
|
15545
|
-
t,
|
|
15546
|
-
appName: userData?.appName,
|
|
15547
|
-
menuItems: userData?.appAccess,
|
|
15548
|
-
setInitialState: setState
|
|
15549
|
-
}
|
|
15550
|
-
)
|
|
15551
|
-
}
|
|
15552
|
-
)
|
|
15553
|
-
] }),
|
|
15554
|
-
isNotification && /* @__PURE__ */ jsxs(
|
|
15555
|
-
Box,
|
|
15556
|
-
{
|
|
15557
|
-
sx: {
|
|
15558
|
-
position: "relative"
|
|
15559
|
-
},
|
|
15560
|
-
children: [
|
|
14715
|
+
children: /* @__PURE__ */ jsxs(
|
|
14716
|
+
Box,
|
|
14717
|
+
{
|
|
14718
|
+
className: "sixseconds-header-notification",
|
|
14719
|
+
sx: { display: "flex", justifyContent: "center", alignItems: "center", gap: 1 },
|
|
14720
|
+
children: [
|
|
14721
|
+
endCustomComponents,
|
|
14722
|
+
isAccessAppMenu && Boolean(userData?.appAccess?.length) && /* @__PURE__ */ jsxs(Box, { children: [
|
|
15561
14723
|
/* @__PURE__ */ jsx(
|
|
15562
14724
|
Box,
|
|
15563
14725
|
{
|
|
15564
|
-
component: "span",
|
|
15565
14726
|
sx: {
|
|
15566
|
-
|
|
14727
|
+
display: "flex",
|
|
14728
|
+
alignItems: "center",
|
|
14729
|
+
cursor: "pointer",
|
|
14730
|
+
width: "auto",
|
|
14731
|
+
height: "auto",
|
|
14732
|
+
"& svg": {
|
|
14733
|
+
color: "#808080",
|
|
14734
|
+
width: { md: "40px", lg: "40px", xs: "30px" },
|
|
14735
|
+
height: { md: "40px", lg: "40px", xs: "30px" }
|
|
14736
|
+
}
|
|
15567
14737
|
},
|
|
15568
|
-
"data-toggle-name": "
|
|
14738
|
+
"data-toggle-name": "appMenus",
|
|
15569
14739
|
onClick: (e) => handleOpenUtil(e, setState),
|
|
15570
|
-
children: /* @__PURE__ */ jsx(
|
|
15571
|
-
Badge,
|
|
15572
|
-
{
|
|
15573
|
-
badgeContent: userData?.notificationCount,
|
|
15574
|
-
color: "error",
|
|
15575
|
-
className: "sixseconds-header-notification-icon-error",
|
|
15576
|
-
children: /* @__PURE__ */ jsx(SVG.Bell, {})
|
|
15577
|
-
}
|
|
15578
|
-
)
|
|
14740
|
+
children: /* @__PURE__ */ jsx(SVG.GridIcon, {})
|
|
15579
14741
|
}
|
|
15580
14742
|
),
|
|
15581
|
-
state.toggles.
|
|
15582
|
-
Notification,
|
|
15583
|
-
{
|
|
15584
|
-
t,
|
|
15585
|
-
initialState: state,
|
|
15586
|
-
notificationAccessApps,
|
|
15587
|
-
setInitialState: setState
|
|
15588
|
-
}
|
|
15589
|
-
) })
|
|
15590
|
-
]
|
|
15591
|
-
}
|
|
15592
|
-
),
|
|
15593
|
-
Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxs(
|
|
15594
|
-
Box,
|
|
15595
|
-
{
|
|
15596
|
-
sx: {
|
|
15597
|
-
position: "relative"
|
|
15598
|
-
},
|
|
15599
|
-
children: [
|
|
15600
|
-
/* @__PURE__ */ jsxs(
|
|
14743
|
+
state.toggles.appMenus && Boolean(userData?.appAccess?.length) && /* @__PURE__ */ jsx(
|
|
15601
14744
|
Box,
|
|
15602
14745
|
{
|
|
15603
|
-
|
|
15604
|
-
"data-toggle-name": "lang",
|
|
15605
|
-
onClick: (e) => handleOpenUtil(e, setState),
|
|
14746
|
+
className: "sixseconds-header-menu sixseconds-header-profile sixseconds-header-menu",
|
|
15606
14747
|
sx: {
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
cursor: "pointer"
|
|
14748
|
+
minWidth: "400px !important",
|
|
14749
|
+
p: 2,
|
|
14750
|
+
zIndex: "99999999 !important",
|
|
14751
|
+
"[dir='rtl'] &": { left: "0 !important", right: "unset" }
|
|
15612
14752
|
},
|
|
15613
|
-
children:
|
|
15614
|
-
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
|
|
15620
|
-
|
|
15621
|
-
|
|
15622
|
-
|
|
15623
|
-
alt: "lang",
|
|
15624
|
-
"data-cookiecategory": "essential",
|
|
15625
|
-
"data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
|
|
15626
|
-
src: selectedInterFaceLang?.flag || IMAGES.DefaultLang
|
|
15627
|
-
}
|
|
15628
|
-
),
|
|
15629
|
-
/* @__PURE__ */ jsx(Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsx(SVG.Dawn, {}) })
|
|
15630
|
-
]
|
|
15631
|
-
}
|
|
15632
|
-
),
|
|
15633
|
-
state.toggles.lang && /* @__PURE__ */ jsx(
|
|
15634
|
-
Language,
|
|
15635
|
-
{
|
|
15636
|
-
t,
|
|
15637
|
-
setInitialState: setState,
|
|
15638
|
-
interFaceLangList,
|
|
15639
|
-
userData,
|
|
15640
|
-
updateInterfaceLang,
|
|
15641
|
-
setState,
|
|
15642
|
-
selectedInterFaceLang
|
|
14753
|
+
children: /* @__PURE__ */ jsx(
|
|
14754
|
+
AppMenus,
|
|
14755
|
+
{
|
|
14756
|
+
router,
|
|
14757
|
+
t,
|
|
14758
|
+
appName: userData?.appName,
|
|
14759
|
+
menuItems: userData?.appAccess,
|
|
14760
|
+
setInitialState: setState
|
|
14761
|
+
}
|
|
14762
|
+
)
|
|
15643
14763
|
}
|
|
15644
14764
|
)
|
|
15645
|
-
]
|
|
15646
|
-
|
|
15647
|
-
|
|
15648
|
-
|
|
15649
|
-
|
|
15650
|
-
|
|
15651
|
-
|
|
15652
|
-
|
|
15653
|
-
|
|
15654
|
-
|
|
15655
|
-
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
|
|
15663
|
-
|
|
15664
|
-
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
14765
|
+
] }),
|
|
14766
|
+
isNotification && /* @__PURE__ */ jsxs(
|
|
14767
|
+
Box,
|
|
14768
|
+
{
|
|
14769
|
+
sx: {
|
|
14770
|
+
position: "relative"
|
|
14771
|
+
},
|
|
14772
|
+
children: [
|
|
14773
|
+
/* @__PURE__ */ jsx(
|
|
14774
|
+
Box,
|
|
14775
|
+
{
|
|
14776
|
+
component: "span",
|
|
14777
|
+
sx: {
|
|
14778
|
+
cursor: "pointer"
|
|
14779
|
+
},
|
|
14780
|
+
"data-toggle-name": "notification",
|
|
14781
|
+
onClick: (e) => handleOpenUtil(e, setState),
|
|
14782
|
+
children: /* @__PURE__ */ jsx(
|
|
14783
|
+
Badge,
|
|
14784
|
+
{
|
|
14785
|
+
badgeContent: userData?.notificationCount,
|
|
14786
|
+
color: "error",
|
|
14787
|
+
className: "sixseconds-header-notification-icon-error",
|
|
14788
|
+
children: /* @__PURE__ */ jsx(SVG.Bell, {})
|
|
14789
|
+
}
|
|
14790
|
+
)
|
|
14791
|
+
}
|
|
14792
|
+
),
|
|
14793
|
+
state.toggles.notification && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
14794
|
+
Notification,
|
|
14795
|
+
{
|
|
14796
|
+
t,
|
|
14797
|
+
initialState: state,
|
|
14798
|
+
notificationAccessApps,
|
|
14799
|
+
setInitialState: setState
|
|
14800
|
+
}
|
|
14801
|
+
) })
|
|
14802
|
+
]
|
|
14803
|
+
}
|
|
14804
|
+
),
|
|
14805
|
+
Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxs(
|
|
14806
|
+
Box,
|
|
14807
|
+
{
|
|
14808
|
+
sx: {
|
|
14809
|
+
position: "relative"
|
|
14810
|
+
},
|
|
14811
|
+
children: [
|
|
14812
|
+
/* @__PURE__ */ jsxs(
|
|
14813
|
+
Box,
|
|
14814
|
+
{
|
|
14815
|
+
component: "span",
|
|
14816
|
+
"data-toggle-name": "lang",
|
|
14817
|
+
onClick: (e) => handleOpenUtil(e, setState),
|
|
14818
|
+
sx: {
|
|
14819
|
+
display: "inline-flex",
|
|
14820
|
+
gap: "5px",
|
|
14821
|
+
alignItems: "center",
|
|
14822
|
+
color: "#777777",
|
|
14823
|
+
cursor: "pointer"
|
|
14824
|
+
},
|
|
14825
|
+
children: [
|
|
14826
|
+
/* @__PURE__ */ jsx(
|
|
14827
|
+
"img",
|
|
14828
|
+
{
|
|
14829
|
+
style: {
|
|
14830
|
+
width: "40px !important",
|
|
14831
|
+
height: "30px !important"
|
|
14832
|
+
},
|
|
14833
|
+
width: 40,
|
|
14834
|
+
height: 30,
|
|
14835
|
+
alt: "lang",
|
|
14836
|
+
"data-cookiecategory": "essential",
|
|
14837
|
+
"data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
|
|
14838
|
+
src: selectedInterFaceLang?.flag || IMAGES.DefaultLang
|
|
14839
|
+
}
|
|
14840
|
+
),
|
|
14841
|
+
/* @__PURE__ */ jsx(Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsx(SVG.Dawn, {}) })
|
|
14842
|
+
]
|
|
14843
|
+
}
|
|
14844
|
+
),
|
|
14845
|
+
state.toggles.lang && /* @__PURE__ */ jsx(
|
|
14846
|
+
Language,
|
|
14847
|
+
{
|
|
14848
|
+
t,
|
|
14849
|
+
setInitialState: setState,
|
|
14850
|
+
interFaceLangList,
|
|
14851
|
+
userData,
|
|
14852
|
+
updateInterfaceLang,
|
|
14853
|
+
setState,
|
|
14854
|
+
selectedInterFaceLang
|
|
14855
|
+
}
|
|
14856
|
+
)
|
|
14857
|
+
]
|
|
14858
|
+
}
|
|
14859
|
+
),
|
|
14860
|
+
Boolean(userData?.fullName) && /* @__PURE__ */ jsx(
|
|
14861
|
+
UserProfile,
|
|
14862
|
+
{
|
|
14863
|
+
router,
|
|
14864
|
+
t,
|
|
14865
|
+
userData,
|
|
14866
|
+
initialState: state,
|
|
14867
|
+
setInitialState: setState,
|
|
14868
|
+
extraMenuOptions
|
|
14869
|
+
}
|
|
14870
|
+
),
|
|
14871
|
+
Boolean(totallyEndCustomComponent) && totallyEndCustomComponent,
|
|
14872
|
+
isMobile && isMenu && state.isMenuIconsShow && /* @__PURE__ */ jsx(
|
|
14873
|
+
IconButton,
|
|
14874
|
+
{
|
|
14875
|
+
style: { paddingRight: 0 },
|
|
14876
|
+
className: "sixseconds-header-hamburger-icon-btn",
|
|
14877
|
+
onClick: () => setState((p) => ({ ...p, toggles: { ...p.toggles, dropDownMenu: !p.toggles.dropDownMenu } })),
|
|
14878
|
+
children: /* @__PURE__ */ jsx(MenuIcon, { style: { width: "1em", height: "1em" } })
|
|
14879
|
+
}
|
|
14880
|
+
)
|
|
14881
|
+
]
|
|
14882
|
+
}
|
|
14883
|
+
)
|
|
15670
14884
|
}
|
|
15671
14885
|
)
|
|
15672
14886
|
] }) }),
|
|
@@ -16074,7 +15288,7 @@ const App = () => {
|
|
|
16074
15288
|
type: "app"
|
|
16075
15289
|
},
|
|
16076
15290
|
{
|
|
16077
|
-
name: "Cards
|
|
15291
|
+
name: "Cards Homeassdfasddf",
|
|
16078
15292
|
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
16079
15293
|
link: "https://cards.6seconds.org",
|
|
16080
15294
|
type: "app"
|
|
@@ -16116,7 +15330,7 @@ const App = () => {
|
|
|
16116
15330
|
id: 1,
|
|
16117
15331
|
label: "Chinese",
|
|
16118
15332
|
value: "zh",
|
|
16119
|
-
flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/
|
|
15333
|
+
flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
|
|
16120
15334
|
},
|
|
16121
15335
|
{
|
|
16122
15336
|
id: 1,
|
|
@@ -16135,10 +15349,9 @@ const App = () => {
|
|
|
16135
15349
|
id: 1,
|
|
16136
15350
|
label: "Chinese",
|
|
16137
15351
|
value: "zh",
|
|
16138
|
-
flag: ""
|
|
15352
|
+
flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
|
|
16139
15353
|
},
|
|
16140
15354
|
isMainLogo: true,
|
|
16141
|
-
isNotification: true,
|
|
16142
15355
|
totallyEndCustomComponent: "asdfsdf",
|
|
16143
15356
|
extraMenuOptions: {
|
|
16144
15357
|
components: /* @__PURE__ */ jsx(Fragment, {}),
|
|
@@ -16174,7 +15387,7 @@ export {
|
|
|
16174
15387
|
try {
|
|
16175
15388
|
if (typeof document != "undefined") {
|
|
16176
15389
|
var elementStyle = document.createElement("style");
|
|
16177
|
-
elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=
|
|
15390
|
+
elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");\n\n.sixseconds-header-root blockquote,\n.sixseconds-header-root dl,\n.sixseconds-header-root dd,\n.sixseconds-header-root h1,\n.sixseconds-header-root h2,\n.sixseconds-header-root h3,\n.sixseconds-header-root h4,\n.sixseconds-header-root h5,\n.sixseconds-header-root h6,\n.sixseconds-header-root hr,\n.sixseconds-header-root figure,\n.sixseconds-header-root p,\n.sixseconds-header-root pre,\n.sixseconds-header-root span,\n.sixseconds-header-root a,\n.sixseconds-header-root div,\n.sixseconds-header-root li,\n.sixseconds-header-root button {\n font-family: "Inter", sans-serif !important;\n}\n\n.sixseconds-header-main-list-menu {\n display: flex;\n}\n\n.sixseconds-header-main-list-menu li {\n padding: 0.5rem 0.5rem;\n}\n\n.sixseconds-header-main-list-menu li a {\n padding: 0 0.25rem;\n font-weight: 500;\n font-size: 14px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item {\n position: relative;\n padding: 0 16px;\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link {\n text-decoration: none;\n color: #2a2a2a; /* Closer to 6seconds */\n font-weight: 500;\n font-size: 15px;\n padding: 12px 4px;\n transition: color 0.2s ease;\n font-family: "Inter", sans-serif;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link:hover {\n color: #0073b1;\n}\n\n/* Submenu (Dropdown) */\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data {\n position: absolute;\n top: 100%;\n left: 50%;\n background: white;\n border: 1px solid #f1f1f1;\n box-shadow: 0px 12px 48px rgba(0, 0, 0, 0.1); /* Even more premium shadow */\n display: block;\n opacity: 0;\n visibility: hidden;\n transform: translateX(-50%) translateY(12px);\n min-width: 260px;\n z-index: 1000;\n border-radius: 4px; /* More angular per 6seconds style */\n padding: 16px 0;\n transition:\n opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n visibility 0.25s;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data li {\n list-style: none;\n padding: 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link {\n display: block;\n padding: 12px 28px;\n text-decoration: none;\n color: #2a2a2a; /* Darker grey */\n font-weight: 400;\n font-size: 14.5px;\n line-height: 1.4;\n transition: all 0.2s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link:hover {\n background: #fbfbfc;\n color: #0073b1;\n padding-left: 32px; /* Slight nudge */\n}\n\n/* Show dropdown on hover */\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item:hover .sixseconds-header-submenu-data {\n opacity: 1;\n visibility: visible;\n transform: translateX(-50%) translateY(0);\n}\n\n.sixseconds-header-small-device-menu {\n display: none;\n width: 100%;\n left: 0;\n top: 64px;\n background-color: #fff;\n position: fixed;\n overflow-y: auto;\n height: 95vh;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.sixseconds-header-small-device-menu a.sixseconds-header-bg-main-menu {\n display: block;\n text-decoration: none;\n}\n\n.sixseconds-header-submenu-child li {\n padding: 0.5rem 0;\n}\n\n.sixseconds-header-submenu-child li a {\n text-decoration: none;\n}\n\n.sixseconds-header-layout-mobile-menu {\n padding-bottom: 12px;\n padding-inline: 0;\n height: 95vh;\n overflow-y: auto;\n padding-top: 8px;\n}\n\n.sixseconds-header-small-device-menu a {\n background-color: transparent;\n font-size: 16px; /* Slightly larger */\n font-weight: 600; /* Bolder for parent items */\n color: #1a1c1e;\n margin-bottom: 4px;\n padding: 16px 20px;\n border-bottom: 1px solid #f1f3f4;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.sixseconds-header-small-device-menu .sixseconds-header-submenu-child {\n padding-left: 0px;\n min-width: 100%;\n max-width: 100%;\n margin-top: 0;\n background-color: #fbfbfc; /* Slightly different background for sub-items */\n color: #1a1c1e;\n}\n\n.sixseconds-header-small-device-menu ul li .sixseconds-header-submenu-child-link {\n padding: 12px 32px; /* Indent more */\n font-weight: 400; /* Regular weight for sub-links */\n font-size: 14px;\n}\n\n.sixseconds-header-small-device-menu ul li a {\n background-color: transparent;\n color: #4a4d50;\n}\n\n.sixseconds-header-small-device-menu ul {\n padding-left: 15px;\n}\n\n.sixseconds-header-desktop-menu {\n display: flex;\n}\n\n.sixseconds-header-button-hamburger {\n display: none;\n position: absolute;\n right: 20px;\n top: 18px;\n z-index: 9;\n}\n\n.sixseconds-header-root .tox-editor-header {\n background-color: transparent;\n}\n\n.sixseconds-header-hamburger-icon-btn {\n padding: 8px;\n color: #5f6368;\n}\n\n.sixseconds-header-desktop-menu .sixseconds-header-menu-item .sixseconds-header-menu-link {\n font-size: 14px;\n font-weight: 500;\n}\n\n.sixseconds-header-small-device-menu {\n padding-inline: 20px;\n}\n\n@media screen and (max-width: 600px) and (min-width: 320px) {\n .sixseconds-header-notification-icon-error .MuiBadge-badge {\n font-size: 10px;\n padding: 0 4px;\n min-width: 16px;\n right: 5px;\n background-color: #d32f2f;\n }\n\n .sixseconds-header-submenu nav {\n padding: 0 !important;\n }\n\n .sixseconds-header-root .MuiPagination-root.MuiPagination-outlined {\n display: flex;\n justify-content: center;\n margin-left: 0;\n }\n\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n z-index: 99;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 90% !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n border-right: 1px solid #e0e0e0;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 600px) {\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 450px !important;\n }\n\n .sixseconds-header-banner {\n margin-left: 0 !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1380px) and (min-width: 1024px) {\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n}'));
|
|
16178
15391
|
document.head.appendChild(elementStyle);
|
|
16179
15392
|
}
|
|
16180
15393
|
} catch (e) {
|