/******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 10129: /*!*******************************************************************************************!*\ !*** ./node_modules/_@ant-design_colors@7.0.2@@ant-design/colors/es/index.js + 1 modules ***! \*******************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { blue: function() { return /* binding */ blue; }, cyan: function() { return /* binding */ cyan; }, geekblue: function() { return /* binding */ geekblue; }, generate: function() { return /* reexport */ generate; }, gold: function() { return /* binding */ gold; }, gray: function() { return /* binding */ gray; }, green: function() { return /* binding */ green; }, grey: function() { return /* binding */ grey; }, lime: function() { return /* binding */ lime; }, magenta: function() { return /* binding */ magenta; }, orange: function() { return /* binding */ orange; }, presetDarkPalettes: function() { return /* binding */ presetDarkPalettes; }, presetPalettes: function() { return /* binding */ presetPalettes; }, presetPrimaryColors: function() { return /* binding */ presetPrimaryColors; }, purple: function() { return /* binding */ purple; }, red: function() { return /* binding */ red; }, volcano: function() { return /* binding */ volcano; }, yellow: function() { return /* binding */ yellow; } }); // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/conversion.js var conversion = __webpack_require__(12722); // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/format-input.js var format_input = __webpack_require__(9915); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_colors@7.0.2@@ant-design/colors/es/generate.js var hueStep = 2; // 色相阶梯 var saturationStep = 0.16; // 饱和度阶梯,浅色部分 var saturationStep2 = 0.05; // 饱和度阶梯,深色部分 var brightnessStep1 = 0.05; // 亮度阶梯,浅色部分 var brightnessStep2 = 0.15; // 亮度阶梯,深色部分 var lightColorCount = 5; // 浅色数量,主色上 var darkColorCount = 4; // 深色数量,主色下 // 暗色主题颜色映射关系表 var darkColorMap = [{ index: 7, opacity: 0.15 }, { index: 6, opacity: 0.25 }, { index: 5, opacity: 0.3 }, { index: 5, opacity: 0.45 }, { index: 5, opacity: 0.65 }, { index: 5, opacity: 0.85 }, { index: 4, opacity: 0.9 }, { index: 3, opacity: 0.95 }, { index: 2, opacity: 0.97 }, { index: 1, opacity: 0.98 }]; // Wrapper function ported from TinyColor.prototype.toHsv // Keep it here because of `hsv.h * 360` function toHsv(_ref) { var r = _ref.r, g = _ref.g, b = _ref.b; var hsv = (0,conversion/* rgbToHsv */.py)(r, g, b); return { h: hsv.h * 360, s: hsv.s, v: hsv.v }; } // Wrapper function ported from TinyColor.prototype.toHexString // Keep it here because of the prefix `#` function toHex(_ref2) { var r = _ref2.r, g = _ref2.g, b = _ref2.b; return "#".concat((0,conversion/* rgbToHex */.vq)(r, g, b, false)); } // Wrapper function ported from TinyColor.prototype.mix, not treeshakable. // Amount in range [0, 1] // Assume color1 & color2 has no alpha, since the following src code did so. function mix(rgb1, rgb2, amount) { var p = amount / 100; var rgb = { r: (rgb2.r - rgb1.r) * p + rgb1.r, g: (rgb2.g - rgb1.g) * p + rgb1.g, b: (rgb2.b - rgb1.b) * p + rgb1.b }; return rgb; } function getHue(hsv, i, light) { var hue; // 根据色相不同,色相转向不同 if (Math.round(hsv.h) >= 60 && Math.round(hsv.h) <= 240) { hue = light ? Math.round(hsv.h) - hueStep * i : Math.round(hsv.h) + hueStep * i; } else { hue = light ? Math.round(hsv.h) + hueStep * i : Math.round(hsv.h) - hueStep * i; } if (hue < 0) { hue += 360; } else if (hue >= 360) { hue -= 360; } return hue; } function getSaturation(hsv, i, light) { // grey color don't change saturation if (hsv.h === 0 && hsv.s === 0) { return hsv.s; } var saturation; if (light) { saturation = hsv.s - saturationStep * i; } else if (i === darkColorCount) { saturation = hsv.s + saturationStep; } else { saturation = hsv.s + saturationStep2 * i; } // 边界值修正 if (saturation > 1) { saturation = 1; } // 第一格的 s 限制在 0.06-0.1 之间 if (light && i === lightColorCount && saturation > 0.1) { saturation = 0.1; } if (saturation < 0.06) { saturation = 0.06; } return Number(saturation.toFixed(2)); } function getValue(hsv, i, light) { var value; if (light) { value = hsv.v + brightnessStep1 * i; } else { value = hsv.v - brightnessStep2 * i; } if (value > 1) { value = 1; } return Number(value.toFixed(2)); } function generate(color) { var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var patterns = []; var pColor = (0,format_input/* inputToRGB */.uA)(color); for (var i = lightColorCount; i > 0; i -= 1) { var hsv = toHsv(pColor); var colorString = toHex((0,format_input/* inputToRGB */.uA)({ h: getHue(hsv, i, true), s: getSaturation(hsv, i, true), v: getValue(hsv, i, true) })); patterns.push(colorString); } patterns.push(toHex(pColor)); for (var _i = 1; _i <= darkColorCount; _i += 1) { var _hsv = toHsv(pColor); var _colorString = toHex((0,format_input/* inputToRGB */.uA)({ h: getHue(_hsv, _i), s: getSaturation(_hsv, _i), v: getValue(_hsv, _i) })); patterns.push(_colorString); } // dark theme patterns if (opts.theme === 'dark') { return darkColorMap.map(function (_ref3) { var index = _ref3.index, opacity = _ref3.opacity; var darkColorString = toHex(mix((0,format_input/* inputToRGB */.uA)(opts.backgroundColor || '#141414'), (0,format_input/* inputToRGB */.uA)(patterns[index]), opacity * 100)); return darkColorString; }); } return patterns; } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_colors@7.0.2@@ant-design/colors/es/index.js var presetPrimaryColors = { red: '#F5222D', volcano: '#FA541C', orange: '#FA8C16', gold: '#FAAD14', yellow: '#FADB14', lime: '#A0D911', green: '#52C41A', cyan: '#13C2C2', blue: '#1677FF', geekblue: '#2F54EB', purple: '#722ED1', magenta: '#EB2F96', grey: '#666666' }; var presetPalettes = {}; var presetDarkPalettes = {}; Object.keys(presetPrimaryColors).forEach(function (key) { presetPalettes[key] = generate(presetPrimaryColors[key]); presetPalettes[key].primary = presetPalettes[key][5]; // dark presetPalettes presetDarkPalettes[key] = generate(presetPrimaryColors[key], { theme: 'dark', backgroundColor: '#141414' }); presetDarkPalettes[key].primary = presetDarkPalettes[key][5]; }); var red = presetPalettes.red; var volcano = presetPalettes.volcano; var gold = presetPalettes.gold; var orange = presetPalettes.orange; var yellow = presetPalettes.yellow; var lime = presetPalettes.lime; var green = presetPalettes.green; var cyan = presetPalettes.cyan; var blue = presetPalettes.blue; var geekblue = presetPalettes.geekblue; var purple = presetPalettes.purple; var magenta = presetPalettes.magenta; var grey = presetPalettes.grey; var gray = presetPalettes.grey; /***/ }), /***/ 49607: /*!***********************************************************************************************!*\ !*** ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/index.js + 35 modules ***! \***********************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { Keyframes: function() { return /* reexport */ Keyframes; }, NaNLinter: function() { return /* reexport */ NaNLinter; }, StyleProvider: function() { return /* reexport */ StyleProvider; }, Theme: function() { return /* reexport */ Theme; }, _experimental: function() { return /* binding */ _experimental; }, createCache: function() { return /* reexport */ createCache; }, createTheme: function() { return /* reexport */ createTheme; }, extractStyle: function() { return /* reexport */ extractStyle; }, getComputedToken: function() { return /* reexport */ getComputedToken; }, legacyLogicalPropertiesTransformer: function() { return /* reexport */ legacyLogicalProperties; }, legacyNotSelectorLinter: function() { return /* reexport */ legacyNotSelectorLinter; }, logicalPropertiesLinter: function() { return /* reexport */ logicalPropertiesLinter; }, parentSelectorLinter: function() { return /* reexport */ parentSelectorLinter; }, px2remTransformer: function() { return /* reexport */ px2rem; }, token2CSSVar: function() { return /* reexport */ token2CSSVar; }, unit: function() { return /* reexport */ unit; }, useCSSVarRegister: function() { return /* reexport */ hooks_useCSSVarRegister; }, useCacheToken: function() { return /* reexport */ useCacheToken; }, useStyleRegister: function() { return /* reexport */ useStyleRegister; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(69553); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/defineProperty.js var defineProperty = __webpack_require__(84957); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules var toConsumableArray = __webpack_require__(12101); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/objectSpread2.js var objectSpread2 = __webpack_require__(92158); ;// CONCATENATED MODULE: ./node_modules/_@emotion_hash@0.8.0@@emotion/hash/dist/hash.browser.esm.js /* eslint-disable */ // Inspired by https://github.com/garycourt/murmurhash-js // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86 function murmur2(str) { // 'm' and 'r' are mixing constants generated offline. // They're not really 'magic', they just happen to work well. // const m = 0x5bd1e995; // const r = 24; // Initialize the hash var h = 0; // Mix 4 bytes at a time into the hash var k, i = 0, len = str.length; for (; len >= 4; ++i, len -= 4) { k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24; k = /* Math.imul(k, m): */ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16); k ^= /* k >>> r: */ k >>> 24; h = /* Math.imul(k, m): */ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^ /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); } // Handle the last few bytes of the input array switch (len) { case 3: h ^= (str.charCodeAt(i + 2) & 0xff) << 16; case 2: h ^= (str.charCodeAt(i + 1) & 0xff) << 8; case 1: h ^= str.charCodeAt(i) & 0xff; h = /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); } // Do a few final mixes of the hash to ensure the last few // bytes are well-incorporated. h ^= h >>> 13; h = /* Math.imul(h, m): */ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16); return ((h ^ h >>> 15) >>> 0).toString(36); } /* harmony default export */ var hash_browser_esm = (murmur2); // EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/Dom/dynamicCSS.js var dynamicCSS = __webpack_require__(54543); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); var _react_17_0_2_react_namespaceObject = /*#__PURE__*/__webpack_require__.t(_react_17_0_2_react, 2); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/objectWithoutProperties.js var objectWithoutProperties = __webpack_require__(46012); // EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/hooks/useMemo.js var useMemo = __webpack_require__(37464); // EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/isEqual.js var isEqual = __webpack_require__(4960); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/classCallCheck.js var classCallCheck = __webpack_require__(70057); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/createClass.js var createClass = __webpack_require__(3643); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/Cache.js // [times, realValue] var SPLIT = '%'; /** Connect key with `SPLIT` */ function pathKey(keys) { return keys.join(SPLIT); } var Entity = /*#__PURE__*/function () { function Entity(instanceId) { (0,classCallCheck/* default */.Z)(this, Entity); (0,defineProperty/* default */.Z)(this, "instanceId", void 0); /** @private Internal cache map. Do not access this directly */ (0,defineProperty/* default */.Z)(this, "cache", new Map()); this.instanceId = instanceId; } (0,createClass/* default */.Z)(Entity, [{ key: "get", value: function get(keys) { return this.opGet(pathKey(keys)); } /** A fast get cache with `get` concat. */ }, { key: "opGet", value: function opGet(keyPathStr) { return this.cache.get(keyPathStr) || null; } }, { key: "update", value: function update(keys, valueFn) { return this.opUpdate(pathKey(keys), valueFn); } /** A fast get cache with `get` concat. */ }, { key: "opUpdate", value: function opUpdate(keyPathStr, valueFn) { var prevValue = this.cache.get(keyPathStr); var nextValue = valueFn(prevValue); if (nextValue === null) { this.cache.delete(keyPathStr); } else { this.cache.set(keyPathStr, nextValue); } } }]); return Entity; }(); /* harmony default export */ var Cache = (Entity); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/StyleContext.js var _excluded = ["children"]; var ATTR_TOKEN = 'data-token-hash'; var ATTR_MARK = 'data-css-hash'; var ATTR_CACHE_PATH = 'data-cache-path'; // Mark css-in-js instance in style element var CSS_IN_JS_INSTANCE = '__cssinjs_instance__'; function createCache() { var cssinjsInstanceId = Math.random().toString(12).slice(2); // Tricky SSR: Move all inline style to the head. // PS: We do not recommend tricky mode. if (typeof document !== 'undefined' && document.head && document.body) { var styles = document.body.querySelectorAll("style[".concat(ATTR_MARK, "]")) || []; var firstChild = document.head.firstChild; Array.from(styles).forEach(function (style) { style[CSS_IN_JS_INSTANCE] = style[CSS_IN_JS_INSTANCE] || cssinjsInstanceId; // Not force move if no head if (style[CSS_IN_JS_INSTANCE] === cssinjsInstanceId) { document.head.insertBefore(style, firstChild); } }); // Deduplicate of moved styles var styleHash = {}; Array.from(document.querySelectorAll("style[".concat(ATTR_MARK, "]"))).forEach(function (style) { var hash = style.getAttribute(ATTR_MARK); if (styleHash[hash]) { if (style[CSS_IN_JS_INSTANCE] === cssinjsInstanceId) { var _style$parentNode; (_style$parentNode = style.parentNode) === null || _style$parentNode === void 0 || _style$parentNode.removeChild(style); } } else { styleHash[hash] = true; } }); } return new Cache(cssinjsInstanceId); } var StyleContext = /*#__PURE__*/_react_17_0_2_react.createContext({ hashPriority: 'low', cache: createCache(), defaultCache: true }); var StyleProvider = function StyleProvider(props) { var children = props.children, restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); var parentContext = _react_17_0_2_react.useContext(StyleContext); var context = (0,useMemo/* default */.Z)(function () { var mergedContext = (0,objectSpread2/* default */.Z)({}, parentContext); Object.keys(restProps).forEach(function (key) { var value = restProps[key]; if (restProps[key] !== undefined) { mergedContext[key] = value; } }); var cache = restProps.cache; mergedContext.cache = mergedContext.cache || createCache(); mergedContext.defaultCache = !cache && parentContext.defaultCache; return mergedContext; }, [parentContext, restProps], function (prev, next) { return !(0,isEqual/* default */.Z)(prev[0], next[0], true) || !(0,isEqual/* default */.Z)(prev[1], next[1], true); }); return /*#__PURE__*/_react_17_0_2_react.createElement(StyleContext.Provider, { value: context }, children); }; /* harmony default export */ var es_StyleContext = (StyleContext); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/typeof.js var esm_typeof = __webpack_require__(71478); // EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/Dom/canUseDom.js var canUseDom = __webpack_require__(17227); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/theme/ThemeCache.js // ================================== Cache ================================== function sameDerivativeOption(left, right) { if (left.length !== right.length) { return false; } for (var i = 0; i < left.length; i++) { if (left[i] !== right[i]) { return false; } } return true; } var ThemeCache = /*#__PURE__*/function () { function ThemeCache() { (0,classCallCheck/* default */.Z)(this, ThemeCache); (0,defineProperty/* default */.Z)(this, "cache", void 0); (0,defineProperty/* default */.Z)(this, "keys", void 0); (0,defineProperty/* default */.Z)(this, "cacheCallTimes", void 0); this.cache = new Map(); this.keys = []; this.cacheCallTimes = 0; } (0,createClass/* default */.Z)(ThemeCache, [{ key: "size", value: function size() { return this.keys.length; } }, { key: "internalGet", value: function internalGet(derivativeOption) { var _cache2, _cache3; var updateCallTimes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var cache = { map: this.cache }; derivativeOption.forEach(function (derivative) { if (!cache) { cache = undefined; } else { var _cache; cache = (_cache = cache) === null || _cache === void 0 || (_cache = _cache.map) === null || _cache === void 0 ? void 0 : _cache.get(derivative); } }); if ((_cache2 = cache) !== null && _cache2 !== void 0 && _cache2.value && updateCallTimes) { cache.value[1] = this.cacheCallTimes++; } return (_cache3 = cache) === null || _cache3 === void 0 ? void 0 : _cache3.value; } }, { key: "get", value: function get(derivativeOption) { var _this$internalGet; return (_this$internalGet = this.internalGet(derivativeOption, true)) === null || _this$internalGet === void 0 ? void 0 : _this$internalGet[0]; } }, { key: "has", value: function has(derivativeOption) { return !!this.internalGet(derivativeOption); } }, { key: "set", value: function set(derivativeOption, value) { var _this = this; // New cache if (!this.has(derivativeOption)) { if (this.size() + 1 > ThemeCache.MAX_CACHE_SIZE + ThemeCache.MAX_CACHE_OFFSET) { var _this$keys$reduce = this.keys.reduce(function (result, key) { var _result = (0,slicedToArray/* default */.Z)(result, 2), callTimes = _result[1]; if (_this.internalGet(key)[1] < callTimes) { return [key, _this.internalGet(key)[1]]; } return result; }, [this.keys[0], this.cacheCallTimes]), _this$keys$reduce2 = (0,slicedToArray/* default */.Z)(_this$keys$reduce, 1), targetKey = _this$keys$reduce2[0]; this.delete(targetKey); } this.keys.push(derivativeOption); } var cache = this.cache; derivativeOption.forEach(function (derivative, index) { if (index === derivativeOption.length - 1) { cache.set(derivative, { value: [value, _this.cacheCallTimes++] }); } else { var cacheValue = cache.get(derivative); if (!cacheValue) { cache.set(derivative, { map: new Map() }); } else if (!cacheValue.map) { cacheValue.map = new Map(); } cache = cache.get(derivative).map; } }); } }, { key: "deleteByPath", value: function deleteByPath(currentCache, derivatives) { var cache = currentCache.get(derivatives[0]); if (derivatives.length === 1) { var _cache$value; if (!cache.map) { currentCache.delete(derivatives[0]); } else { currentCache.set(derivatives[0], { map: cache.map }); } return (_cache$value = cache.value) === null || _cache$value === void 0 ? void 0 : _cache$value[0]; } var result = this.deleteByPath(cache.map, derivatives.slice(1)); if ((!cache.map || cache.map.size === 0) && !cache.value) { currentCache.delete(derivatives[0]); } return result; } }, { key: "delete", value: function _delete(derivativeOption) { // If cache exists if (this.has(derivativeOption)) { this.keys = this.keys.filter(function (item) { return !sameDerivativeOption(item, derivativeOption); }); return this.deleteByPath(this.cache, derivativeOption); } return undefined; } }]); return ThemeCache; }(); (0,defineProperty/* default */.Z)(ThemeCache, "MAX_CACHE_SIZE", 20); (0,defineProperty/* default */.Z)(ThemeCache, "MAX_CACHE_OFFSET", 5); // EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/warning.js var warning = __webpack_require__(8098); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/theme/Theme.js var uuid = 0; /** * Theme with algorithms to derive tokens from design tokens. * Use `createTheme` first which will help to manage the theme instance cache. */ var Theme = /*#__PURE__*/function () { function Theme(derivatives) { (0,classCallCheck/* default */.Z)(this, Theme); (0,defineProperty/* default */.Z)(this, "derivatives", void 0); (0,defineProperty/* default */.Z)(this, "id", void 0); this.derivatives = Array.isArray(derivatives) ? derivatives : [derivatives]; this.id = uuid; if (derivatives.length === 0) { (0,warning/* warning */.Kp)(derivatives.length > 0, '[Ant Design CSS-in-JS] Theme should have at least one derivative function.'); } uuid += 1; } (0,createClass/* default */.Z)(Theme, [{ key: "getDerivativeToken", value: function getDerivativeToken(token) { return this.derivatives.reduce(function (result, derivative) { return derivative(token, result); }, undefined); } }]); return Theme; }(); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/theme/createTheme.js var cacheThemes = new ThemeCache(); /** * Same as new Theme, but will always return same one if `derivative` not changed. */ function createTheme(derivatives) { var derivativeArr = Array.isArray(derivatives) ? derivatives : [derivatives]; // Create new theme if not exist if (!cacheThemes.has(derivativeArr)) { cacheThemes.set(derivativeArr, new Theme(derivativeArr)); } // Get theme from cache and return return cacheThemes.get(derivativeArr); } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/theme/index.js ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/util/index.js // Create a cache for memo concat var resultCache = new WeakMap(); var RESULT_VALUE = {}; function memoResult(callback, deps) { var current = resultCache; for (var i = 0; i < deps.length; i += 1) { var dep = deps[i]; if (!current.has(dep)) { current.set(dep, new WeakMap()); } current = current.get(dep); } if (!current.has(RESULT_VALUE)) { current.set(RESULT_VALUE, callback()); } return current.get(RESULT_VALUE); } // Create a cache here to avoid always loop generate var flattenTokenCache = new WeakMap(); /** * Flatten token to string, this will auto cache the result when token not change */ function flattenToken(token) { var str = flattenTokenCache.get(token) || ''; if (!str) { Object.keys(token).forEach(function (key) { var value = token[key]; str += key; if (value instanceof Theme) { str += value.id; } else if (value && (0,esm_typeof/* default */.Z)(value) === 'object') { str += flattenToken(value); } else { str += value; } }); // Put in cache flattenTokenCache.set(token, str); } return str; } /** * Convert derivative token to key string */ function token2key(token, salt) { return hash_browser_esm("".concat(salt, "_").concat(flattenToken(token))); } var randomSelectorKey = "random-".concat(Date.now(), "-").concat(Math.random()).replace(/\./g, ''); // Magic `content` for detect selector support var checkContent = '_bAmBoO_'; function supportSelector(styleStr, handleElement, supportCheck) { if ((0,canUseDom/* default */.Z)()) { var _getComputedStyle$con, _ele$parentNode; (0,dynamicCSS/* updateCSS */.hq)(styleStr, randomSelectorKey); var _ele = document.createElement('div'); _ele.style.position = 'fixed'; _ele.style.left = '0'; _ele.style.top = '0'; handleElement === null || handleElement === void 0 || handleElement(_ele); document.body.appendChild(_ele); if (false) {} var support = supportCheck ? supportCheck(_ele) : (_getComputedStyle$con = getComputedStyle(_ele).content) === null || _getComputedStyle$con === void 0 ? void 0 : _getComputedStyle$con.includes(checkContent); (_ele$parentNode = _ele.parentNode) === null || _ele$parentNode === void 0 || _ele$parentNode.removeChild(_ele); (0,dynamicCSS/* removeCSS */.jL)(randomSelectorKey); return support; } return false; } var canLayer = (/* unused pure expression or super */ null && (undefined)); function supportLayer() { if (canLayer === undefined) { canLayer = supportSelector("@layer ".concat(randomSelectorKey, " { .").concat(randomSelectorKey, " { content: \"").concat(checkContent, "\"!important; } }"), function (ele) { ele.className = randomSelectorKey; }); } return canLayer; } var canWhere = undefined; function supportWhere() { if (canWhere === undefined) { canWhere = supportSelector(":where(.".concat(randomSelectorKey, ") { content: \"").concat(checkContent, "\"!important; }"), function (ele) { ele.className = randomSelectorKey; }); } return canWhere; } var canLogic = undefined; function supportLogicProps() { if (canLogic === undefined) { canLogic = supportSelector(".".concat(randomSelectorKey, " { inset-block: 93px !important; }"), function (ele) { ele.className = randomSelectorKey; }, function (ele) { return getComputedStyle(ele).bottom === '93px'; }); } return canLogic; } var isClientSide = (0,canUseDom/* default */.Z)(); function unit(num) { if (typeof num === 'number') { return "".concat(num, "px"); } return num; } function toStyleStr(style, tokenKey, styleId) { var _objectSpread2; var customizeAttrs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; var plain = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; if (plain) { return style; } var attrs = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, customizeAttrs), {}, (_objectSpread2 = {}, (0,defineProperty/* default */.Z)(_objectSpread2, ATTR_TOKEN, tokenKey), (0,defineProperty/* default */.Z)(_objectSpread2, ATTR_MARK, styleId), _objectSpread2)); var attrStr = Object.keys(attrs).map(function (attr) { var val = attrs[attr]; return val ? "".concat(attr, "=\"").concat(val, "\"") : null; }).filter(function (v) { return v; }).join(' '); return ""); } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/util/css-variables.js var token2CSSVar = function token2CSSVar(token) { var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; return "--".concat(prefix ? "".concat(prefix, "-") : '').concat(token).replace(/([a-z0-9])([A-Z])/g, '$1-$2').replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, '$1-$2').replace(/([a-z])([A-Z0-9])/g, '$1-$2').toLowerCase(); }; var serializeCSSVar = function serializeCSSVar(cssVars, hashId, options) { if (!Object.keys(cssVars).length) { return ''; } return ".".concat(hashId).concat(options !== null && options !== void 0 && options.scope ? ".".concat(options.scope) : '', "{").concat(Object.entries(cssVars).map(function (_ref) { var _ref2 = (0,slicedToArray/* default */.Z)(_ref, 2), key = _ref2[0], value = _ref2[1]; return "".concat(key, ":").concat(value, ";"); }).join(''), "}"); }; var transformToken = function transformToken(token, themeKey, config) { var cssVars = {}; var result = {}; Object.entries(token).forEach(function (_ref3) { var _config$preserve, _config$ignore; var _ref4 = (0,slicedToArray/* default */.Z)(_ref3, 2), key = _ref4[0], value = _ref4[1]; if (config !== null && config !== void 0 && (_config$preserve = config.preserve) !== null && _config$preserve !== void 0 && _config$preserve[key]) { result[key] = value; } else if ((typeof value === 'string' || typeof value === 'number') && !(config !== null && config !== void 0 && (_config$ignore = config.ignore) !== null && _config$ignore !== void 0 && _config$ignore[key])) { var _config$unitless; var cssVar = token2CSSVar(key, config === null || config === void 0 ? void 0 : config.prefix); cssVars[cssVar] = typeof value === 'number' && !(config !== null && config !== void 0 && (_config$unitless = config.unitless) !== null && _config$unitless !== void 0 && _config$unitless[key]) ? "".concat(value, "px") : String(value); result[key] = "var(".concat(cssVar, ")"); } }); return [result, serializeCSSVar(cssVars, themeKey, { scope: config === null || config === void 0 ? void 0 : config.scope })]; }; // EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/hooks/useLayoutEffect.js var useLayoutEffect = __webpack_require__(92420); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.js // import canUseDom from 'rc-util/lib/Dom/canUseDom'; // We need fully clone React function here // to avoid webpack warning React 17 do not export `useId` var fullClone = (0,objectSpread2/* default */.Z)({}, _react_17_0_2_react_namespaceObject); var useInsertionEffect = fullClone.useInsertionEffect; /** * Polyfill `useInsertionEffect` for React < 18 * @param renderEffect will be executed in `useMemo`, and do not have callback * @param effect will be executed in `useLayoutEffect` * @param deps */ var useInsertionEffectPolyfill = function useInsertionEffectPolyfill(renderEffect, effect, deps) { _react_17_0_2_react.useMemo(renderEffect, deps); (0,useLayoutEffect/* default */.Z)(function () { return effect(true); }, deps); }; /** * Compatible `useInsertionEffect` * will use `useInsertionEffect` if React version >= 18, * otherwise use `useInsertionEffectPolyfill`. */ var useCompatibleInsertionEffect = useInsertionEffect ? function (renderEffect, effect, deps) { return useInsertionEffect(function () { renderEffect(); return effect(); }, deps); } : useInsertionEffectPolyfill; /* harmony default export */ var hooks_useCompatibleInsertionEffect = (useCompatibleInsertionEffect); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.js var useEffectCleanupRegister_fullClone = (0,objectSpread2/* default */.Z)({}, _react_17_0_2_react_namespaceObject); var useEffectCleanupRegister_useInsertionEffect = useEffectCleanupRegister_fullClone.useInsertionEffect; // DO NOT register functions in useEffect cleanup function, or functions that registered will never be called. var useCleanupRegister = function useCleanupRegister(deps) { var effectCleanups = []; var cleanupFlag = false; function register(fn) { if (cleanupFlag) { if (false) {} return; } effectCleanups.push(fn); } _react_17_0_2_react.useEffect(function () { // Compatible with strict mode cleanupFlag = false; return function () { cleanupFlag = true; if (effectCleanups.length) { effectCleanups.forEach(function (fn) { return fn(); }); } }; }, deps); return register; }; var useRun = function useRun() { return function (fn) { fn(); }; }; // Only enable register in React 18 var useEffectCleanupRegister = typeof useEffectCleanupRegister_useInsertionEffect !== 'undefined' ? useCleanupRegister : useRun; /* harmony default export */ var hooks_useEffectCleanupRegister = (useEffectCleanupRegister); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/hooks/useHMR.js function useProdHMR() { return false; } var webpackHMR = false; function useDevHMR() { return webpackHMR; } /* harmony default export */ var useHMR = ( true ? useProdHMR : 0); // Webpack `module.hot.accept` do not support any deps update trigger // We have to hack handler to force mark as HRM if (false) { var originWebpackHotUpdate, win; } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/hooks/useGlobalCache.js function useGlobalCache(prefix, keyPath, cacheFn, onCacheRemove, // Add additional effect trigger by `useInsertionEffect` onCacheEffect) { var _React$useContext = _react_17_0_2_react.useContext(es_StyleContext), globalCache = _React$useContext.cache; var fullPath = [prefix].concat((0,toConsumableArray/* default */.Z)(keyPath)); var fullPathStr = pathKey(fullPath); var register = hooks_useEffectCleanupRegister([fullPathStr]); var HMRUpdate = useHMR(); var buildCache = function buildCache(updater) { globalCache.opUpdate(fullPathStr, function (prevCache) { var _ref = prevCache || [undefined, undefined], _ref2 = (0,slicedToArray/* default */.Z)(_ref, 2), _ref2$ = _ref2[0], times = _ref2$ === void 0 ? 0 : _ref2$, cache = _ref2[1]; // HMR should always ignore cache since developer may change it var tmpCache = cache; if (false) {} var mergedCache = tmpCache || cacheFn(); var data = [times, mergedCache]; // Call updater if need additional logic return updater ? updater(data) : data; }); }; // Create cache _react_17_0_2_react.useMemo(function () { buildCache(); }, /* eslint-disable react-hooks/exhaustive-deps */ [fullPathStr] /* eslint-enable */); var cacheEntity = globalCache.opGet(fullPathStr); // HMR clean the cache but not trigger `useMemo` again // Let's fallback of this // ref https://github.com/ant-design/cssinjs/issues/127 if (false) {} var cacheContent = cacheEntity[1]; // Remove if no need anymore hooks_useCompatibleInsertionEffect(function () { onCacheEffect === null || onCacheEffect === void 0 || onCacheEffect(cacheContent); }, function (polyfill) { // It's bad to call build again in effect. // But we have to do this since StrictMode will call effect twice // which will clear cache on the first time. buildCache(function (_ref3) { var _ref4 = (0,slicedToArray/* default */.Z)(_ref3, 2), times = _ref4[0], cache = _ref4[1]; if (polyfill && times === 0) { onCacheEffect === null || onCacheEffect === void 0 || onCacheEffect(cacheContent); } return [times + 1, cache]; }); return function () { globalCache.opUpdate(fullPathStr, function (prevCache) { var _ref5 = prevCache || [], _ref6 = (0,slicedToArray/* default */.Z)(_ref5, 2), _ref6$ = _ref6[0], times = _ref6$ === void 0 ? 0 : _ref6$, cache = _ref6[1]; var nextCount = times - 1; if (nextCount === 0) { // Always remove styles in useEffect callback register(function () { // With polyfill, registered callback will always be called synchronously // But without polyfill, it will be called in effect clean up, // And by that time this cache is cleaned up. if (polyfill || !globalCache.opGet(fullPathStr)) { onCacheRemove === null || onCacheRemove === void 0 || onCacheRemove(cache, false); } }); return null; } return [times - 1, cache]; }); }; }, [fullPathStr]); return cacheContent; } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/hooks/useCacheToken.js var EMPTY_OVERRIDE = {}; // Generate different prefix to make user selector break in production env. // This helps developer not to do style override directly on the hash id. var hashPrefix = false ? 0 : 'css'; var tokenKeys = new Map(); function recordCleanToken(tokenKey) { tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) + 1); } function removeStyleTags(key, instanceId) { if (typeof document !== 'undefined') { var styles = document.querySelectorAll("style[".concat(ATTR_TOKEN, "=\"").concat(key, "\"]")); styles.forEach(function (style) { if (style[CSS_IN_JS_INSTANCE] === instanceId) { var _style$parentNode; (_style$parentNode = style.parentNode) === null || _style$parentNode === void 0 || _style$parentNode.removeChild(style); } }); } } var TOKEN_THRESHOLD = 0; // Remove will check current keys first function cleanTokenStyle(tokenKey, instanceId) { tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) - 1); var tokenKeyList = Array.from(tokenKeys.keys()); var cleanableKeyList = tokenKeyList.filter(function (key) { var count = tokenKeys.get(key) || 0; return count <= 0; }); // Should keep tokens under threshold for not to insert style too often if (tokenKeyList.length - cleanableKeyList.length > TOKEN_THRESHOLD) { cleanableKeyList.forEach(function (key) { removeStyleTags(key, instanceId); tokenKeys.delete(key); }); } } var getComputedToken = function getComputedToken(originToken, overrideToken, theme, format) { var derivativeToken = theme.getDerivativeToken(originToken); // Merge with override var mergedDerivativeToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, derivativeToken), overrideToken); // Format if needed if (format) { mergedDerivativeToken = format(mergedDerivativeToken); } return mergedDerivativeToken; }; var TOKEN_PREFIX = 'token'; /** * Cache theme derivative token as global shared one * @param theme Theme entity * @param tokens List of tokens, used for cache. Please do not dynamic generate object directly * @param option Additional config * @returns Call Theme.getDerivativeToken(tokenObject) to get token */ function useCacheToken(theme, tokens) { var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; var _useContext = (0,_react_17_0_2_react.useContext)(es_StyleContext), instanceId = _useContext.cache.instanceId, container = _useContext.container; var _option$salt = option.salt, salt = _option$salt === void 0 ? '' : _option$salt, _option$override = option.override, override = _option$override === void 0 ? EMPTY_OVERRIDE : _option$override, formatToken = option.formatToken, compute = option.getComputedToken, cssVar = option.cssVar; // Basic - We do basic cache here var mergedToken = memoResult(function () { return Object.assign.apply(Object, [{}].concat((0,toConsumableArray/* default */.Z)(tokens))); }, tokens); var tokenStr = flattenToken(mergedToken); var overrideTokenStr = flattenToken(override); var cssVarStr = cssVar ? flattenToken(cssVar) : ''; var cachedToken = useGlobalCache(TOKEN_PREFIX, [salt, theme.id, tokenStr, overrideTokenStr, cssVarStr], function () { var _cssVar$key; var mergedDerivativeToken = compute ? compute(mergedToken, override, theme) : getComputedToken(mergedToken, override, theme, formatToken); // Replace token value with css variables var actualToken = (0,objectSpread2/* default */.Z)({}, mergedDerivativeToken); var cssVarsStr = ''; if (!!cssVar) { var _transformToken = transformToken(mergedDerivativeToken, cssVar.key, { prefix: cssVar.prefix, ignore: cssVar.ignore, unitless: cssVar.unitless, preserve: cssVar.preserve }); var _transformToken2 = (0,slicedToArray/* default */.Z)(_transformToken, 2); mergedDerivativeToken = _transformToken2[0]; cssVarsStr = _transformToken2[1]; } // Optimize for `useStyleRegister` performance var tokenKey = token2key(mergedDerivativeToken, salt); mergedDerivativeToken._tokenKey = tokenKey; actualToken._tokenKey = token2key(actualToken, salt); var themeKey = (_cssVar$key = cssVar === null || cssVar === void 0 ? void 0 : cssVar.key) !== null && _cssVar$key !== void 0 ? _cssVar$key : tokenKey; mergedDerivativeToken._themeKey = themeKey; recordCleanToken(themeKey); var hashId = "".concat(hashPrefix, "-").concat(hash_browser_esm(tokenKey)); mergedDerivativeToken._hashId = hashId; // Not used return [mergedDerivativeToken, hashId, actualToken, cssVarsStr, (cssVar === null || cssVar === void 0 ? void 0 : cssVar.key) || '']; }, function (cache) { // Remove token will remove all related style cleanTokenStyle(cache[0]._themeKey, instanceId); }, function (_ref) { var _ref2 = (0,slicedToArray/* default */.Z)(_ref, 4), token = _ref2[0], cssVarsStr = _ref2[3]; if (cssVar && cssVarsStr) { var style = (0,dynamicCSS/* updateCSS */.hq)(cssVarsStr, hash_browser_esm("css-variables-".concat(token._themeKey)), { mark: ATTR_MARK, prepend: 'queue', attachTo: container, priority: -999 }); style[CSS_IN_JS_INSTANCE] = instanceId; // Used for `useCacheToken` to remove on batch when token removed style.setAttribute(ATTR_TOKEN, token._themeKey); } }); return cachedToken; } var extract = function extract(cache, effectStyles, options) { var _cache = (0,slicedToArray/* default */.Z)(cache, 5), realToken = _cache[2], styleStr = _cache[3], cssVarKey = _cache[4]; var _ref3 = options || {}, plain = _ref3.plain; if (!styleStr) { return null; } var styleId = realToken._tokenKey; var order = -999; // ====================== Style ====================== // Used for rc-util var sharedAttrs = { 'data-rc-order': 'prependQueue', 'data-rc-priority': "".concat(order) }; var styleText = toStyleStr(styleStr, cssVarKey, styleId, sharedAttrs, plain); return [order, styleId, styleText]; }; // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(24931); ;// CONCATENATED MODULE: ./node_modules/_@emotion_unitless@0.7.5@@emotion/unitless/dist/unitless.browser.esm.js var unitlessKeys = { animationIterationCount: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, // SVG-related properties fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }; /* harmony default export */ var unitless_browser_esm = (unitlessKeys); ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.1@stylis/src/Enum.js var MS = '-ms-' var MOZ = '-moz-' var WEBKIT = '-webkit-' var COMMENT = 'comm' var RULESET = 'rule' var DECLARATION = 'decl' var PAGE = '@page' var MEDIA = '@media' var IMPORT = '@import' var CHARSET = '@charset' var VIEWPORT = '@viewport' var SUPPORTS = '@supports' var DOCUMENT = '@document' var NAMESPACE = '@namespace' var KEYFRAMES = '@keyframes' var FONT_FACE = '@font-face' var COUNTER_STYLE = '@counter-style' var FONT_FEATURE_VALUES = '@font-feature-values' var LAYER = '@layer' ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.1@stylis/src/Utility.js /** * @param {number} * @return {number} */ var abs = Math.abs /** * @param {number} * @return {string} */ var Utility_from = String.fromCharCode /** * @param {object} * @return {object} */ var Utility_assign = Object.assign /** * @param {string} value * @param {number} length * @return {number} */ function hash (value, length) { return charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0 } /** * @param {string} value * @return {string} */ function trim (value) { return value.trim() } /** * @param {string} value * @param {RegExp} pattern * @return {string?} */ function match (value, pattern) { return (value = pattern.exec(value)) ? value[0] : value } /** * @param {string} value * @param {(string|RegExp)} pattern * @param {string} replacement * @return {string} */ function replace (value, pattern, replacement) { return value.replace(pattern, replacement) } /** * @param {string} value * @param {string} search * @param {number} position * @return {number} */ function indexof (value, search, position) { return value.indexOf(search, position) } /** * @param {string} value * @param {number} index * @return {number} */ function charat (value, index) { return value.charCodeAt(index) | 0 } /** * @param {string} value * @param {number} begin * @param {number} end * @return {string} */ function substr (value, begin, end) { return value.slice(begin, end) } /** * @param {string} value * @return {number} */ function strlen (value) { return value.length } /** * @param {any[]} value * @return {number} */ function sizeof (value) { return value.length } /** * @param {any} value * @param {any[]} array * @return {any} */ function Utility_append (value, array) { return array.push(value), value } /** * @param {string[]} array * @param {function} callback * @return {string} */ function combine (array, callback) { return array.map(callback).join('') } /** * @param {string[]} array * @param {RegExp} pattern * @return {string[]} */ function filter (array, pattern) { return array.filter(function (value) { return !match(value, pattern) }) } ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.1@stylis/src/Serializer.js /** * @param {object[]} children * @param {function} callback * @return {string} */ function serialize (children, callback) { var output = '' for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '' return output } /** * @param {object} element * @param {number} index * @param {object[]} children * @param {function} callback * @return {string} */ function stringify (element, index, children, callback) { switch (element.type) { case LAYER: if (element.children.length) break case IMPORT: case DECLARATION: return element.return = element.return || element.value case COMMENT: return '' case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}' case RULESET: if (!strlen(element.value = element.props.join(','))) return '' } return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '' } ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.1@stylis/src/Tokenizer.js var line = 1 var column = 1 var Tokenizer_length = 0 var position = 0 var character = 0 var characters = '' /** * @param {string} value * @param {object | null} root * @param {object | null} parent * @param {string} type * @param {string[] | string} props * @param {object[] | string} children * @param {object[]} siblings * @param {number} length */ function node (value, root, parent, type, props, children, length, siblings) { return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings} } /** * @param {object} root * @param {object} props * @return {object} */ function copy (root, props) { return assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props) } /** * @param {object} root */ function lift (root) { while (root.root) root = copy(root.root, {children: [root]}) append(root, root.siblings) } /** * @return {number} */ function Tokenizer_char () { return character } /** * @return {number} */ function prev () { character = position > 0 ? charat(characters, --position) : 0 if (column--, character === 10) column = 1, line-- return character } /** * @return {number} */ function next () { character = position < Tokenizer_length ? charat(characters, position++) : 0 if (column++, character === 10) column = 1, line++ return character } /** * @return {number} */ function peek () { return charat(characters, position) } /** * @return {number} */ function caret () { return position } /** * @param {number} begin * @param {number} end * @return {string} */ function slice (begin, end) { return substr(characters, begin, end) } /** * @param {number} type * @return {number} */ function token (type) { switch (type) { // \0 \t \n \r \s whitespace token case 0: case 9: case 10: case 13: case 32: return 5 // ! + , / > @ ~ isolate token case 33: case 43: case 44: case 47: case 62: case 64: case 126: // ; { } breakpoint token case 59: case 123: case 125: return 4 // : accompanied token case 58: return 3 // " ' ( [ opening delimit token case 34: case 39: case 40: case 91: return 2 // ) ] closing delimit token case 41: case 93: return 1 } return 0 } /** * @param {string} value * @return {any[]} */ function alloc (value) { return line = column = 1, Tokenizer_length = strlen(characters = value), position = 0, [] } /** * @param {any} value * @return {any} */ function dealloc (value) { return characters = '', value } /** * @param {number} type * @return {string} */ function delimit (type) { return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type))) } /** * @param {string} value * @return {string[]} */ function tokenize (value) { return dealloc(tokenizer(alloc(value))) } /** * @param {number} type * @return {string} */ function whitespace (type) { while (character = peek()) if (character < 33) next() else break return token(type) > 2 || token(character) > 3 ? '' : ' ' } /** * @param {string[]} children * @return {string[]} */ function tokenizer (children) { while (next()) switch (token(character)) { case 0: append(identifier(position - 1), children) break case 2: append(delimit(character), children) break default: append(from(character), children) } return children } /** * @param {number} index * @param {number} count * @return {string} */ function escaping (index, count) { while (--count && next()) // not 0-9 A-F a-f if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97)) break return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32)) } /** * @param {number} type * @return {number} */ function delimiter (type) { while (next()) switch (character) { // ] ) " ' case type: return position // " ' case 34: case 39: if (type !== 34 && type !== 39) delimiter(character) break // ( case 40: if (type === 41) delimiter(type) break // \ case 92: next() break } return position } /** * @param {number} type * @param {number} index * @return {number} */ function commenter (type, index) { while (next()) // // if (type + character === 47 + 10) break // /* else if (type + character === 42 + 42 && peek() === 47) break return '/*' + slice(index, position - 1) + '*' + Utility_from(type === 47 ? type : next()) } /** * @param {number} index * @return {string} */ function identifier (index) { while (!token(peek())) next() return slice(index, position) } ;// CONCATENATED MODULE: ./node_modules/_stylis@4.3.1@stylis/src/Parser.js /** * @param {string} value * @return {object[]} */ function compile (value) { return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value)) } /** * @param {string} value * @param {object} root * @param {object?} parent * @param {string[]} rule * @param {string[]} rules * @param {string[]} rulesets * @param {number[]} pseudo * @param {number[]} points * @param {string[]} declarations * @return {object} */ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) { var index = 0 var offset = 0 var length = pseudo var atrule = 0 var property = 0 var previous = 0 var variable = 1 var scanning = 1 var ampersand = 1 var character = 0 var type = '' var props = rules var children = rulesets var reference = rule var characters = type while (scanning) switch (previous = character, character = next()) { // ( case 40: if (previous != 108 && charat(characters, length - 1) == 58) { if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1 break } // " ' [ case 34: case 39: case 91: characters += delimit(character) break // \t \n \r \s case 9: case 10: case 13: case 32: characters += whitespace(previous) break // \ case 92: characters += escaping(caret() - 1, 7) continue // / case 47: switch (peek()) { case 42: case 47: Utility_append(comment(commenter(next(), caret()), root, parent, declarations), declarations) break default: characters += '/' } break // { case 123 * variable: points[index++] = strlen(characters) * ampersand // } ; \0 case 125 * variable: case 59: case 0: switch (character) { // \0 } case 0: case 125: scanning = 0 // ; case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '') if (property > 0 && (strlen(characters) - length)) Utility_append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations) break // @ ; case 59: characters += ';' // { rule/at-rule default: Utility_append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets) if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children) else switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) { // d l m s case 100: case 108: case 109: case 115: parse(value, reference, reference, rule && Utility_append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children) break default: parse(characters, reference, reference, reference, [''], children, 0, points, children) } } index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo break // : case 58: length = 1 + strlen(characters), property = previous default: if (variable < 1) if (character == 123) --variable else if (character == 125 && variable++ == 0 && prev() == 125) continue switch (characters += Utility_from(character), character * variable) { // & case 38: ampersand = offset > 0 ? 1 : (characters += '\f', -1) break // , case 44: points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1 break // @ case 64: // - if (peek() === 45) characters += delimit(next()) atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++ break // - case 45: if (previous === 45 && strlen(characters) == 2) variable = 0 } } return rulesets } /** * @param {string} value * @param {object} root * @param {object?} parent * @param {number} index * @param {number} offset * @param {string[]} rules * @param {number[]} points * @param {string} type * @param {string[]} props * @param {string[]} children * @param {number} length * @param {object[]} siblings * @return {object} */ function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) { var post = offset - 1 var rule = offset === 0 ? rules : [''] var size = sizeof(rule) for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings) } /** * @param {number} value * @param {object} root * @param {object?} parent * @param {object[]} siblings * @return {object} */ function comment (value, root, parent, siblings) { return node(value, root, parent, COMMENT, Utility_from(Tokenizer_char()), substr(value, 2, -2), 0, siblings) } /** * @param {string} value * @param {object} root * @param {object?} parent * @param {number} length * @param {object[]} siblings * @return {object} */ function declaration (value, root, parent, length, siblings) { return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings) } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/utils.js function utils_lintWarning(message, info) { var path = info.path, parentSelectors = info.parentSelectors; (0,warning/* default */.ZP)(false, "[Ant Design CSS-in-JS] ".concat(path ? "Error in ".concat(path, ": ") : '').concat(message).concat(parentSelectors.length ? " Selector: ".concat(parentSelectors.join(' | ')) : '')); } ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/contentQuotesLinter.js var linter = function linter(key, value, info) { if (key === 'content') { // From emotion: https://github.com/emotion-js/emotion/blob/main/packages/serialize/src/index.js#L63 var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/; var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset']; if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) { lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(value, "\"'`."), info); } } }; /* harmony default export */ var contentQuotesLinter = ((/* unused pure expression or super */ null && (linter))); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/hashedAnimationLinter.js var hashedAnimationLinter_linter = function linter(key, value, info) { if (key === 'animation') { if (info.hashId && value !== 'none') { lintWarning("You seem to be using hashed animation '".concat(value, "', in which case 'animationName' with Keyframe as value is recommended."), info); } } }; /* harmony default export */ var hashedAnimationLinter = ((/* unused pure expression or super */ null && (hashedAnimationLinter_linter))); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/legacyNotSelectorLinter.js function isConcatSelector(selector) { var _selector$match; var notContent = ((_selector$match = selector.match(/:not\(([^)]*)\)/)) === null || _selector$match === void 0 ? void 0 : _selector$match[1]) || ''; // split selector. e.g. // `h1#a.b` => ['h1', #a', '.b'] var splitCells = notContent.split(/(\[[^[]*])|(?=[.#])/).filter(function (str) { return str; }); return splitCells.length > 1; } function parsePath(info) { return info.parentSelectors.reduce(function (prev, cur) { if (!prev) { return cur; } return cur.includes('&') ? cur.replace(/&/g, prev) : "".concat(prev, " ").concat(cur); }, ''); } var legacyNotSelectorLinter_linter = function linter(key, value, info) { var parentSelectorPath = parsePath(info); var notList = parentSelectorPath.match(/:not\([^)]*\)/g) || []; if (notList.length > 0 && notList.some(isConcatSelector)) { utils_lintWarning("Concat ':not' selector not support in legacy browsers.", info); } }; /* harmony default export */ var legacyNotSelectorLinter = (legacyNotSelectorLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/logicalPropertiesLinter.js var logicalPropertiesLinter_linter = function linter(key, value, info) { switch (key) { case 'marginLeft': case 'marginRight': case 'paddingLeft': case 'paddingRight': case 'left': case 'right': case 'borderLeft': case 'borderLeftWidth': case 'borderLeftStyle': case 'borderLeftColor': case 'borderRight': case 'borderRightWidth': case 'borderRightStyle': case 'borderRightColor': case 'borderTopLeftRadius': case 'borderTopRightRadius': case 'borderBottomLeftRadius': case 'borderBottomRightRadius': utils_lintWarning("You seem to be using non-logical property '".concat(key, "' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); return; case 'margin': case 'padding': case 'borderWidth': case 'borderStyle': // case 'borderColor': if (typeof value === 'string') { var valueArr = value.split(' ').map(function (item) { return item.trim(); }); if (valueArr.length === 4 && valueArr[1] !== valueArr[3]) { utils_lintWarning("You seem to be using '".concat(key, "' property with different left ").concat(key, " and right ").concat(key, ", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); } } return; case 'clear': case 'textAlign': if (value === 'left' || value === 'right') { utils_lintWarning("You seem to be using non-logical value '".concat(value, "' of ").concat(key, ", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); } return; case 'borderRadius': if (typeof value === 'string') { var radiusGroups = value.split('/').map(function (item) { return item.trim(); }); var invalid = radiusGroups.reduce(function (result, group) { if (result) { return result; } var radiusArr = group.split(' ').map(function (item) { return item.trim(); }); // borderRadius: '2px 4px' if (radiusArr.length >= 2 && radiusArr[0] !== radiusArr[1]) { return true; } // borderRadius: '4px 4px 2px' if (radiusArr.length === 3 && radiusArr[1] !== radiusArr[2]) { return true; } // borderRadius: '4px 4px 2px 4px' if (radiusArr.length === 4 && radiusArr[2] !== radiusArr[3]) { return true; } return result; }, false); if (invalid) { utils_lintWarning("You seem to be using non-logical value '".concat(value, "' of ").concat(key, ", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."), info); } } return; default: } }; /* harmony default export */ var logicalPropertiesLinter = (logicalPropertiesLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/NaNLinter.js var NaNLinter_linter = function linter(key, value, info) { if (typeof value === 'string' && /NaN/g.test(value) || Number.isNaN(value)) { utils_lintWarning("Unexpected 'NaN' in property '".concat(key, ": ").concat(value, "'."), info); } }; /* harmony default export */ var NaNLinter = (NaNLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/parentSelectorLinter.js var parentSelectorLinter_linter = function linter(key, value, info) { if (info.parentSelectors.some(function (selector) { var selectors = selector.split(','); return selectors.some(function (item) { return item.split('&').length > 2; }); })) { utils_lintWarning('Should not use more than one `&` in a selector.', info); } }; /* harmony default export */ var parentSelectorLinter = (parentSelectorLinter_linter); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/linters/index.js ;// CONCATENATED MODULE: ./node_modules/_@ant-design_cssinjs@1.19.1@@ant-design/cssinjs/es/util/cacheMapUtil.js var ATTR_CACHE_MAP = 'data-ant-cssinjs-cache-path'; /** * This marks style from the css file. * Which means not exist in `