@akinon/ui-space 0.0.1 → 0.1.0
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/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +21 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +17 -0
- package/package.json +18 -11
- package/dist/index.cjs +0 -63
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4117
- /package/dist/{index.d.ts → cjs/index.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,MAAM,CAAC;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,UAAU,GAAG,aAAa,CAAC;AAEhC,eAAO,MAAM,KAAK,oCAAqC,UAAU,sBAEhE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Space = void 0;
|
|
15
|
+
const antd_1 = require("antd");
|
|
16
|
+
const React = require("react");
|
|
17
|
+
const Space = (_a) => {
|
|
18
|
+
var { children } = _a, restSpaceProps = __rest(_a, ["children"]);
|
|
19
|
+
return React.createElement(antd_1.Space, Object.assign({}, restSpaceProps), children);
|
|
20
|
+
};
|
|
21
|
+
exports.Space = Space;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SpaceProps as AntSpaceProps } from 'antd';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type SpaceProps = AntSpaceProps;
|
|
4
|
+
export declare const Space: ({ children, ...restSpaceProps }: SpaceProps) => React.JSX.Element;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,MAAM,CAAC;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,UAAU,GAAG,aAAa,CAAC;AAEhC,eAAO,MAAM,KAAK,oCAAqC,UAAU,sBAEhE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { Space as AntSpace } from 'antd';
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
export const Space = (_a) => {
|
|
15
|
+
var { children } = _a, restSpaceProps = __rest(_a, ["children"]);
|
|
16
|
+
return React.createElement(AntSpace, Object.assign({}, restSpaceProps), children);
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-space",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"module": "dist/index.js",
|
|
6
|
+
"main": "dist/esm/index.js",
|
|
7
|
+
"module": "dist/esm/index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
@@ -13,26 +13,33 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"clean-package": "2.2.0",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"copyfiles": "^2.4.1",
|
|
17
|
+
"rimraf": "^5.0.5",
|
|
18
|
+
"typescript": "^5.2.2",
|
|
19
|
+
"@akinon/vite-config": "0.2.0",
|
|
20
|
+
"@akinon/eslint-config": "0.1.0",
|
|
21
|
+
"@akinon/typescript-config": "0.0.0"
|
|
19
22
|
},
|
|
20
23
|
"peerDependencies": {
|
|
21
24
|
"react": ">=18",
|
|
22
25
|
"react-dom": ">=18"
|
|
23
26
|
},
|
|
24
27
|
"clean-package": "../../../clean-package.config.json",
|
|
25
|
-
"types": "dist/index.d.ts",
|
|
28
|
+
"types": "dist/esm/index.d.ts",
|
|
26
29
|
"exports": {
|
|
27
30
|
".": {
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
29
|
-
"import": "./dist/index.js",
|
|
30
|
-
"require": "./dist/index.
|
|
31
|
+
"types": "./dist/esm/index.d.ts",
|
|
32
|
+
"import": "./dist/esm/index.js",
|
|
33
|
+
"require": "./dist/cjs/index.js"
|
|
31
34
|
},
|
|
32
35
|
"./package.json": "./package.json"
|
|
33
36
|
},
|
|
34
37
|
"scripts": {
|
|
35
|
-
"build": "
|
|
38
|
+
"build": "pnpm run build:esm && pnpm run build:commonjs && pnpm run copy:files",
|
|
39
|
+
"build:esm": "tsc --outDir dist/esm",
|
|
40
|
+
"build:commonjs": "tsc --module commonjs --outDir dist/cjs",
|
|
41
|
+
"copy:files": "copyfiles -u 1 src/**/*.css dist/esm && copyfiles -u 1 src/**/*.css dist/cjs",
|
|
42
|
+
"clean": "rimraf dist/",
|
|
36
43
|
"lint": "eslint *.ts*",
|
|
37
44
|
"test": "vitest run",
|
|
38
45
|
"test:ui": "vitest --ui",
|
package/dist/index.cjs
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ia=require("react/jsx-runtime"),L=require("react"),ca=require("react-dom");function sa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const v=sa(L);function la(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pn={exports:{}};/*!
|
|
2
|
-
Copyright (c) 2018 Jed Watson.
|
|
3
|
-
Licensed under the MIT License (MIT), see
|
|
4
|
-
http://jedwatson.github.io/classnames
|
|
5
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=r.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Pn);var ua=Pn.exports;const Pt=la(ua);function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kt.apply(this,arguments)}var tr={exports:{}},j={};/**
|
|
6
|
-
* @license React
|
|
7
|
-
* react-is.production.min.js
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the MIT license found in the
|
|
12
|
-
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/var Vr;function fa(){if(Vr)return j;Vr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function g(u){if(typeof u=="object"&&u!==null){var S=u.$$typeof;switch(S){case e:switch(u=u.type,u){case r:case o:case n:case s:case f:return u;default:switch(u=u&&u.$$typeof,u){case c:case i:case l:case p:case d:case a:return u;default:return S}}case t:return S}}}return j.ContextConsumer=i,j.ContextProvider=a,j.Element=e,j.ForwardRef=l,j.Fragment=r,j.Lazy=p,j.Memo=d,j.Portal=t,j.Profiler=o,j.StrictMode=n,j.Suspense=s,j.SuspenseList=f,j.isAsyncMode=function(){return!1},j.isConcurrentMode=function(){return!1},j.isContextConsumer=function(u){return g(u)===i},j.isContextProvider=function(u){return g(u)===a},j.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},j.isForwardRef=function(u){return g(u)===l},j.isFragment=function(u){return g(u)===r},j.isLazy=function(u){return g(u)===p},j.isMemo=function(u){return g(u)===d},j.isPortal=function(u){return g(u)===t},j.isProfiler=function(u){return g(u)===o},j.isStrictMode=function(u){return g(u)===n},j.isSuspense=function(u){return g(u)===s},j.isSuspenseList=function(u){return g(u)===f},j.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===o||u===n||u===s||u===f||u===h||typeof u=="object"&&u!==null&&(u.$$typeof===p||u.$$typeof===d||u.$$typeof===a||u.$$typeof===i||u.$$typeof===l||u.$$typeof===y||u.getModuleId!==void 0)},j.typeOf=g,j}var I={};/**
|
|
14
|
-
* @license React
|
|
15
|
-
* react-is.development.js
|
|
16
|
-
*
|
|
17
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the MIT license found in the
|
|
20
|
-
* LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/var Gr;function da(){return Gr||(Gr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),y=!1,g=!1,u=!1,S=!1,m=!1,w;w=Symbol.for("react.module.reference");function T(x){return!!(typeof x=="string"||typeof x=="function"||x===r||x===o||m||x===n||x===s||x===f||S||x===h||y||g||u||typeof x=="object"&&x!==null&&(x.$$typeof===p||x.$$typeof===d||x.$$typeof===a||x.$$typeof===i||x.$$typeof===l||x.$$typeof===w||x.getModuleId!==void 0))}function E(x){if(typeof x=="object"&&x!==null){var oe=x.$$typeof;switch(oe){case e:var Ce=x.type;switch(Ce){case r:case o:case n:case s:case f:return Ce;default:var Te=Ce&&Ce.$$typeof;switch(Te){case c:case i:case l:case p:case d:case a:return Te;default:return oe}}case t:return oe}}}var C=i,b=a,A=e,D=l,O=r,R=p,P=d,k=t,N=o,M=n,H=s,G=f,U=!1,V=!1;function z(x){return U||(U=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(x){return V||(V=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function B(x){return E(x)===i}function re(x){return E(x)===a}function J(x){return typeof x=="object"&&x!==null&&x.$$typeof===e}function se(x){return E(x)===l}function Ne(x){return E(x)===r}function qe(x){return E(x)===p}function Ke(x){return E(x)===d}function Qe(x){return E(x)===t}function Le(x){return E(x)===o}function me(x){return E(x)===n}function Je(x){return E(x)===s}function $e(x){return E(x)===f}I.ContextConsumer=C,I.ContextProvider=b,I.Element=A,I.ForwardRef=D,I.Fragment=O,I.Lazy=R,I.Memo=P,I.Portal=k,I.Profiler=N,I.StrictMode=M,I.Suspense=H,I.SuspenseList=G,I.isAsyncMode=z,I.isConcurrentMode=F,I.isContextConsumer=B,I.isContextProvider=re,I.isElement=J,I.isForwardRef=se,I.isFragment=Ne,I.isLazy=qe,I.isMemo=Ke,I.isPortal=Qe,I.isProfiler=Le,I.isStrictMode=me,I.isSuspense=Je,I.isSuspenseList=$e,I.isValidElementType=T,I.typeOf=E}()),I}process.env.NODE_ENV==="production"?tr.exports=fa():tr.exports=da();var kn=tr.exports;function At(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return L.Children.forEach(e,function(n){n==null&&!t.keepEmpty||(Array.isArray(n)?r=r.concat(At(n)):kn.isFragment(n)&&n.props?r=r.concat(At(n.props.children,t)):r.push(n))}),r}var rr={},Ar=[],pa=function(t){Ar.push(t)};function Mr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Ar.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function va(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=Ar.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function An(){rr={}}function Mn(e,t,r){!t&&!rr[r]&&(e(!1,r),rr[r]=!0)}function Ie(e,t){Mn(Mr,e,t)}function ga(e,t){Mn(va,e,t)}Ie.preMessage=pa;Ie.resetWarned=An;Ie.noteOnce=ga;function q(e){"@babel/helpers - typeof";return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(e)}function ha(e,t){if(q(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(q(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rn(e){var t=ha(e,"string");return q(t)==="symbol"?t:String(t)}function $(e,t,r){return t=Rn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ur(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ur(Object(r),!0).forEach(function(n){$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ur(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ma(e){return e instanceof HTMLElement||e instanceof SVGElement}function ba(e){return ma(e)?e:e instanceof L.Component?ca.findDOMNode(e):null}function _n(e,t,r){var n=v.useRef({});return(!("value"in n.current)||r(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}function ya(e,t){typeof e=="function"?e(t):q(e)==="object"&&e&&"current"in e&&(e.current=t)}function Sa(e){var t,r,n=kn.isMemo(e)?e.type.type:e.type;return!(typeof n=="function"&&!((t=n.prototype)!==null&&t!==void 0&&t.render)||typeof e=="function"&&!((r=e.prototype)!==null&&r!==void 0&&r.render))}function ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Rn(n.key),n)}}function st(e,t,r){return t&&Xr(e.prototype,t),r&&Xr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nr(e,t){return nr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},nr(e,t)}function jn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nr(e,t)}function Mt(e){return Mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mt(e)}function xa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){if(t&&(q(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return or(e)}function In(e){var t=xa();return function(){var n=Mt(e),o;if(t){var a=Mt(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return Ea(this,o)}}function ar(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ca(e){if(Array.isArray(e))return ar(e)}function Nn(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rr(e,t){if(e){if(typeof e=="string")return ar(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ar(e,t)}}function Ta(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
22
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(e){return Ca(e)||Nn(e)||Rr(e)||Ta()}var Ln=function(t){return+setTimeout(t,16)},$n=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(Ln=function(t){return window.requestAnimationFrame(t)},$n=function(t){return window.cancelAnimationFrame(t)});var Yr=0,_r=new Map;function Dn(e){_r.delete(e)}var ir=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Yr+=1;var n=Yr;function o(a){if(a===0)Dn(n),t();else{var i=Ln(function(){o(a-1)});_r.set(n,i)}}return o(r),n};ir.cancel=function(e){var t=_r.get(e);return Dn(t),$n(t)};function jr(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Oa(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function cr(e,t){if(e==null)return{};var r=Oa(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function wa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=new Set;function o(a,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=n.has(a);if(Ie(!l,"Warning: There may be circular references"),l)return!1;if(a===i)return!0;if(r&&c>1)return!1;n.add(a);var s=c+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var f=0;f<a.length;f++)if(!o(a[f],i[f],s))return!1;return!0}if(a&&i&&q(a)==="object"&&q(i)==="object"){var d=Object.keys(a);return d.length!==Object.keys(i).length?!1:d.every(function(p){return o(a[p],i[p],s)})}return!1}return o(e,t)}var qr="%",Pa=function(){function e(t){ct(this,e),$(this,"instanceId",void 0),$(this,"cache",new Map),this.instanceId=t}return st(e,[{key:"get",value:function(r){return this.cache.get(r.join(qr))||null}},{key:"update",value:function(r,n){var o=r.join(qr),a=this.cache.get(o),i=n(a);i===null?this.cache.delete(o):this.cache.set(o,i)}}]),e}(),sr="data-token-hash",Re="data-css-hash",ka="data-cache-path",Fe="__cssinjs_instance__";function Aa(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Re,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[Fe]=o[Fe]||e,o[Fe]===e&&document.head.insertBefore(o,r)});var n={};Array.from(document.querySelectorAll("style[".concat(Re,"]"))).forEach(function(o){var a=o.getAttribute(Re);if(n[a]){if(o[Fe]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else n[a]=!0})}return new Pa(e)}var Ma=v.createContext({hashPriority:"low",cache:Aa(),defaultCache:!0});const Ir=Ma;function he(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ra(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var Kr="data-rc-order",Qr="data-rc-priority",_a="rc-util-key",lr=new Map;function Hn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):_a}function jt(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function ja(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function zn(e){return Array.from((lr.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Fn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!he())return null;var r=t.csp,n=t.prepend,o=t.priority,a=o===void 0?0:o,i=ja(n),c=i==="prependQueue",l=document.createElement("style");l.setAttribute(Kr,i),c&&a&&l.setAttribute(Qr,"".concat(a)),r!=null&&r.nonce&&(l.nonce=r==null?void 0:r.nonce),l.innerHTML=e;var s=jt(t),f=s.firstChild;if(n){if(c){var d=zn(s).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(Kr)))return!1;var h=Number(p.getAttribute(Qr)||0);return a>=h});if(d.length)return s.insertBefore(l,d[d.length-1].nextSibling),l}s.insertBefore(l,f)}else s.appendChild(l);return l}function Bn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=jt(t);return zn(r).find(function(n){return n.getAttribute(Hn(t))===e})}function Wn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Bn(e,t);if(r){var n=jt(t);n.removeChild(r)}}function Ia(e,t){var r=lr.get(e);if(!r||!Ra(document,r)){var n=Fn("",t),o=n.parentNode;lr.set(e,o),e.removeChild(n)}}function Rt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=jt(r);Ia(n,r);var o=Bn(t,r);if(o){var a,i;if((a=r.csp)!==null&&a!==void 0&&a.nonce&&o.nonce!==((i=r.csp)===null||i===void 0?void 0:i.nonce)){var c;o.nonce=(c=r.csp)===null||c===void 0?void 0:c.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var l=Fn(e,r);return l.setAttribute(Hn(r),t),l}function Vn(e){if(Array.isArray(e))return e}function Na(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(f){s=!0,o=f}finally{try{if(!l&&r.return!=null&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}function Gn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W(e,t){return Vn(e)||Na(e,t)||Rr(e,t)||Gn()}function La(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var Nr=function(){function e(){ct(this,e),$(this,"cache",void 0),$(this,"keys",void 0),$(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return st(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var n,o,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return r.forEach(function(c){if(!i)i=void 0;else{var l,s;i=(l=i)===null||l===void 0||(s=l.map)===null||s===void 0?void 0:s.get(c)}}),(n=i)!==null&&n!==void 0&&n.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var n;return(n=this.internalGet(r,!0))===null||n===void 0?void 0:n[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(s,f){var d=W(s,2),p=d[1];return o.internalGet(f)[1]<p?[f,o.internalGet(f)[1]]:s},[this.keys[0],this.cacheCallTimes]),i=W(a,1),c=i[0];this.delete(c)}this.keys.push(r)}var l=this.cache;r.forEach(function(s,f){if(f===r.length-1)l.set(s,{value:[n,o.cacheCallTimes++]});else{var d=l.get(s);d?d.map||(d.map=new Map):l.set(s,{map:new Map}),l=l.get(s).map}})}},{key:"deleteByPath",value:function(r,n){var o=r.get(n[0]);if(n.length===1){var a;return o.map?r.set(n[0],{map:o.map}):r.delete(n[0]),(a=o.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(n[0]),i}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(n){return!La(n,r)}),this.deleteByPath(this.cache,r)}}]),e}();$(Nr,"MAX_CACHE_SIZE",20);$(Nr,"MAX_CACHE_OFFSET",5);var Jr=0,Un=function(){function e(t){ct(this,e),$(this,"derivatives",void 0),$(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Jr,t.length===0&&Mr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Jr+=1}return st(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(n,o){return o(r,n)},void 0)}}]),e}(),Ft=new Nr;function ur(e){var t=Array.isArray(e)?e:[e];return Ft.has(t)||Ft.set(t,new Un(t)),Ft.get(t)}var $a=new WeakMap,Bt={};function Da(e,t){for(var r=$a,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(Bt)||r.set(Bt,e()),r.get(Bt)}var Zr=new WeakMap;function _t(e){var t=Zr.get(e)||"";return t||(Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof Un?t+=n.id:n&&q(n)==="object"?t+=_t(n):t+=n}),Zr.set(e,t)),t}function Ha(e,t){return jr("".concat(t,"_").concat(_t(e)))}var nt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Xn="_bAmBoO_";function za(e,t,r){if(he()){var n,o;Rt(e,nt);var a=document.createElement("div");a.style.position="fixed",a.style.left="0",a.style.top="0",t==null||t(a),document.body.appendChild(a),process.env.NODE_ENV!=="production"&&(a.innerHTML="Test",a.style.zIndex="9999999");var i=r?r(a):(n=getComputedStyle(a).content)===null||n===void 0?void 0:n.includes(Xn);return(o=a.parentNode)===null||o===void 0||o.removeChild(a),Wn(nt),i}return!1}var Wt=void 0;function Fa(){return Wt===void 0&&(Wt=za("@layer ".concat(nt," { .").concat(nt,' { content: "').concat(Xn,'"!important; } }'),function(e){e.className=nt})),Wt}var en=process.env.NODE_ENV!=="test"&&he()?v.useLayoutEffect:v.useEffect,Ba=function(t,r){var n=v.useRef(!0);en(function(){return t(n.current)},r),en(function(){return n.current=!1,function(){n.current=!0}},[])},Wa=_({},v),tn=Wa.useInsertionEffect,Va=function(t,r,n){v.useMemo(t,n),Ba(function(){return r(!0)},n)},Ga=tn?function(e,t,r){return tn(function(){return e(),t()},r)}:Va;const Ua=Ga;var Xa=_({},v),Ya=Xa.useInsertionEffect,qa=function(t){var r=[],n=!1;function o(a){if(n){process.env.NODE_ENV!=="production"&&Mr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(a)}return v.useEffect(function(){return n=!1,function(){n=!0,r.length&&r.forEach(function(a){return a()})}},t),o},Ka=function(){return function(t){t()}},Qa=typeof Ya<"u"?qa:Ka;const Ja=Qa;function Za(){return!1}var fr=!1;function ei(){return fr}const ti=process.env.NODE_ENV==="production"?Za:ei;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var Vt=window;if(typeof Vt.webpackHotUpdate=="function"){var ri=Vt.webpackHotUpdate;Vt.webpackHotUpdate=function(){return fr=!0,setTimeout(function(){fr=!1},0),ri.apply(void 0,arguments)}}}function Yn(e,t,r,n,o){var a=v.useContext(Ir),i=a.cache,c=[e].concat(we(t)),l=c.join("_"),s=Ja([l]),f=ti(),d=function(g){i.update(c,function(u){var S=u||[],m=W(S,2),w=m[0],T=w===void 0?0:w,E=m[1],C=E;process.env.NODE_ENV!=="production"&&E&&f&&(n==null||n(C,f),C=null);var b=C||r(),A=[T,b];return g?g(A):A})};v.useMemo(function(){d()},[l]);var p=i.get(c);process.env.NODE_ENV!=="production"&&!p&&(d(),p=i.get(c));var h=p[1];return Ua(function(){o==null||o(h)},function(y){return d(function(g){var u=W(g,2),S=u[0],m=u[1];return y&&S===0&&(o==null||o(h)),[S+1,m]}),function(){i.update(c,function(g){var u=g||[],S=W(u,2),m=S[0],w=m===void 0?0:m,T=S[1],E=w-1;return E===0?(s(function(){return n==null?void 0:n(T,!1)}),null):[w-1,T]})}},[l]),h}var ni={},oi=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",Ae=new Map;function ai(e){Ae.set(e,(Ae.get(e)||0)+1)}function ii(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(sr,'="').concat(e,'"]'));r.forEach(function(n){if(n[Fe]===t){var o;(o=n.parentNode)===null||o===void 0||o.removeChild(n)}})}}var ci=0;function si(e,t){Ae.set(e,(Ae.get(e)||0)-1);var r=Array.from(Ae.keys()),n=r.filter(function(o){var a=Ae.get(o)||0;return a<=0});r.length-n.length>ci&&n.forEach(function(o){ii(o,t),Ae.delete(o)})}var li=function(t,r,n,o){var a=n.getDerivativeToken(t),i=_(_({},a),r);return o&&(i=o(i)),i};function ui(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=L.useContext(Ir),o=n.cache.instanceId,a=r.salt,i=a===void 0?"":a,c=r.override,l=c===void 0?ni:c,s=r.formatToken,f=r.getComputedToken,d=Da(function(){return Object.assign.apply(Object,[{}].concat(we(t)))},t),p=_t(d),h=_t(l),y=Yn("token",[i,e.id,p,h],function(){var g=f?f(d,l,e):li(d,l,e,s),u=Ha(g,i);g._tokenKey=u,ai(u);var S="".concat(oi,"-").concat(jr(u));return g._hashId=S,[g,S]},function(g){si(g[0]._tokenKey,o)});return y}var fi={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,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},qn="comm",Kn="rule",Qn="decl",di="@import",pi="@keyframes",vi="@layer",gi=Math.abs,Lr=String.fromCharCode;function Jn(e){return e.trim()}function Et(e,t,r){return e.replace(t,r)}function hi(e,t){return e.indexOf(t)}function ot(e,t){return e.charCodeAt(t)|0}function at(e,t,r){return e.slice(t,r)}function Ee(e){return e.length}function mi(e){return e.length}function dt(e,t){return t.push(e),e}var It=1,Ve=1,Zn=0,ue=0,X=0,Ue="";function $r(e,t,r,n,o,a,i,c){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:It,column:Ve,length:i,return:"",siblings:c}}function bi(){return X}function yi(){return X=ue>0?ot(Ue,--ue):0,Ve--,X===10&&(Ve=1,It--),X}function pe(){return X=ue<Zn?ot(Ue,ue++):0,Ve++,X===10&&(Ve=1,It++),X}function _e(){return ot(Ue,ue)}function Ct(){return ue}function Nt(e,t){return at(Ue,e,t)}function dr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Si(e){return It=Ve=1,Zn=Ee(Ue=e),ue=0,[]}function xi(e){return Ue="",e}function Gt(e){return Jn(Nt(ue-1,pr(e===91?e+2:e===40?e+1:e)))}function Ei(e){for(;(X=_e())&&X<33;)pe();return dr(e)>2||dr(X)>3?"":" "}function Ci(e,t){for(;--t&&pe()&&!(X<48||X>102||X>57&&X<65||X>70&&X<97););return Nt(e,Ct()+(t<6&&_e()==32&&pe()==32))}function pr(e){for(;pe();)switch(X){case e:return ue;case 34:case 39:e!==34&&e!==39&&pr(X);break;case 40:e===41&&pr(e);break;case 92:pe();break}return ue}function Ti(e,t){for(;pe()&&e+X!==47+10;)if(e+X===42+42&&_e()===47)break;return"/*"+Nt(t,ue-1)+"*"+Lr(e===47?e:pe())}function Oi(e){for(;!dr(_e());)pe();return Nt(e,ue)}function wi(e){return xi(Tt("",null,null,null,[""],e=Si(e),0,[0],e))}function Tt(e,t,r,n,o,a,i,c,l){for(var s=0,f=0,d=i,p=0,h=0,y=0,g=1,u=1,S=1,m=0,w="",T=o,E=a,C=n,b=w;u;)switch(y=m,m=pe()){case 40:if(y!=108&&ot(b,d-1)==58){hi(b+=Et(Gt(m),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:b+=Gt(m);break;case 9:case 10:case 13:case 32:b+=Ei(y);break;case 92:b+=Ci(Ct()-1,7);continue;case 47:switch(_e()){case 42:case 47:dt(Pi(Ti(pe(),Ct()),t,r,l),l);break;default:b+="/"}break;case 123*g:c[s++]=Ee(b)*S;case 125*g:case 59:case 0:switch(m){case 0:case 125:u=0;case 59+f:S==-1&&(b=Et(b,/\f/g,"")),h>0&&Ee(b)-d&&dt(h>32?nn(b+";",n,r,d-1,l):nn(Et(b," ","")+";",n,r,d-2,l),l);break;case 59:b+=";";default:if(dt(C=rn(b,t,r,s,f,o,c,w,T=[],E=[],d,a),a),m===123)if(f===0)Tt(b,t,C,C,T,a,d,c,E);else switch(p===99&&ot(b,3)===110?100:p){case 100:case 108:case 109:case 115:Tt(e,C,C,n&&dt(rn(e,C,C,0,0,o,c,w,o,T=[],d,E),E),o,E,d,c,n?T:E);break;default:Tt(b,C,C,C,[""],E,0,c,E)}}s=f=h=0,g=S=1,w=b="",d=i;break;case 58:d=1+Ee(b),h=y;default:if(g<1){if(m==123)--g;else if(m==125&&g++==0&&yi()==125)continue}switch(b+=Lr(m),m*g){case 38:S=f>0?1:(b+="\f",-1);break;case 44:c[s++]=(Ee(b)-1)*S,S=1;break;case 64:_e()===45&&(b+=Gt(pe())),p=_e(),f=d=Ee(w=b+=Oi(Ct())),m++;break;case 45:y===45&&Ee(b)==2&&(g=0)}}return a}function rn(e,t,r,n,o,a,i,c,l,s,f,d){for(var p=o-1,h=o===0?a:[""],y=mi(h),g=0,u=0,S=0;g<n;++g)for(var m=0,w=at(e,p+1,p=gi(u=i[g])),T=e;m<y;++m)(T=Jn(u>0?h[m]+" "+w:Et(w,/&\f/g,h[m])))&&(l[S++]=T);return $r(e,t,r,o===0?Kn:c,l,s,f,d)}function Pi(e,t,r,n){return $r(e,t,r,qn,Lr(bi()),at(e,2,-2),0,n)}function nn(e,t,r,n,o){return $r(e,t,r,Qn,at(e,0,n),at(e,n+1,-1),n,o)}function vr(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function ki(e,t,r,n){switch(e.type){case vi:if(e.children.length)break;case di:case Qn:return e.return=e.return||e.value;case qn:return"";case pi:return e.return=e.value+"{"+vr(e.children,n)+"}";case Kn:if(!Ee(e.value=e.props.join(",")))return""}return Ee(r=vr(e.children,n))?e.return=e.value+"{"+r+"}":""}function eo(e,t){var r=t.path,n=t.parentSelectors;Ie(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}var Ai=function(t,r,n){if(t==="content"){var o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,a=["normal","none","initial","inherit","unset"];(typeof r!="string"||a.indexOf(r)===-1&&!o.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'"))&&eo("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r,"\"'`."),n)}},Mi=function(t,r,n){t==="animation"&&n.hashId&&r!=="none"&&eo("You seem to be using hashed animation '".concat(r,"', in which case 'animationName' with Keyframe as value is recommended."),n)},on="data-ant-cssinjs-cache-path",to="_FILE_STYLE__",je,ro=!0;function Ri(){if(!je&&(je={},he())){var e=document.createElement("div");e.className=on,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var a=o.split(":"),i=W(a,2),c=i[0],l=i[1];je[c]=l});var r=document.querySelector("style[".concat(on,"]"));if(r){var n;ro=!1,(n=r.parentNode)===null||n===void 0||n.removeChild(r)}document.body.removeChild(e)}}function _i(e){return Ri(),!!je[e]}function ji(e){var t=je[e],r=null;if(t&&he())if(ro)r=to;else{var n=document.querySelector("style[".concat(Re,'="').concat(je[e],'"]'));n?r=n.innerHTML:delete je[e]}return[r,t]}var an=he(),no="_skip_check_",oo="_multi_value_";function cn(e){var t=vr(wi(e),ki);return t.replace(/\{%%%\:[^;];}/g,";")}function Ii(e){return q(e)==="object"&&e&&(no in e||oo in e)}function Ni(e,t,r){if(!t)return e;var n=".".concat(t),o=r==="low"?":where(".concat(n,")"):n,a=e.split(",").map(function(i){var c,l=i.trim().split(/\s+/),s=l[0]||"",f=((c=s.match(/^\w+/))===null||c===void 0?void 0:c[0])||"";return s="".concat(f).concat(o).concat(s.slice(f.length)),[s].concat(we(l.slice(1))).join(" ")});return a.join(",")}var Li=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,a=n.injectHash,i=n.parentSelectors,c=r.hashId,l=r.layer,s=r.path,f=r.hashPriority,d=r.transformers,p=d===void 0?[]:d,h=r.linters,y=h===void 0?[]:h,g="",u={};function S(C){var b=C.getName(c);if(!u[b]){var A=e(C.style,r,{root:!1,parentSelectors:i}),D=W(A,1),O=D[0];u[b]="@keyframes ".concat(C.getName(c)).concat(O)}}function m(C){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.forEach(function(A){Array.isArray(A)?m(A,b):A&&b.push(A)}),b}var w=m(Array.isArray(t)?t:[t]);if(w.forEach(function(C){var b=typeof C=="string"&&!o?{}:C;if(typeof b=="string")g+="".concat(b,`
|
|
24
|
-
`);else if(b._keyframe)S(b);else{var A=p.reduce(function(D,O){var R;return(O==null||(R=O.visit)===null||R===void 0?void 0:R.call(O,D))||D},b);Object.keys(A).forEach(function(D){var O=A[D];if(q(O)==="object"&&O&&(D!=="animationName"||!O._keyframe)&&!Ii(O)){var R=!1,P=D.trim(),k=!1;(o||a)&&c?P.startsWith("@")?R=!0:P=Ni(D,c,f):o&&!c&&(P==="&"||P==="")&&(P="",k=!0);var N=e(O,r,{root:k,injectHash:R,parentSelectors:[].concat(we(i),[P])}),M=W(N,2),H=M[0],G=M[1];u=_(_({},u),G),g+="".concat(P).concat(H)}else{let z=function(F,B){process.env.NODE_ENV!=="production"&&(q(O)!=="object"||!(O!=null&&O[no]))&&[Ai,Mi].concat(we(y)).forEach(function(se){return se(F,B,{path:s,hashId:c,parentSelectors:i})});var re=F.replace(/[A-Z]/g,function(se){return"-".concat(se.toLowerCase())}),J=B;!fi[F]&&typeof J=="number"&&J!==0&&(J="".concat(J,"px")),F==="animationName"&&B!==null&&B!==void 0&&B._keyframe&&(S(B),J=B.getName(c)),g+="".concat(re,":").concat(J,";")};var U,V=(U=O==null?void 0:O.value)!==null&&U!==void 0?U:O;q(O)==="object"&&O!==null&&O!==void 0&&O[oo]&&Array.isArray(V)?V.forEach(function(F){z(D,F)}):z(D,V)}})}}),!o)g="{".concat(g,"}");else if(l&&Fa()){var T=l.split(","),E=T[T.length-1].trim();g="@layer ".concat(E," {").concat(g,"}"),T.length>1&&(g="@layer ".concat(l,"{%%%:%}").concat(g))}return[g,u]};function $i(e,t){return jr("".concat(e.join("%")).concat(t))}function Di(){return null}function gr(e,t){var r=e.token,n=e.path,o=e.hashId,a=e.layer,i=e.nonce,c=e.clientOnly,l=e.order,s=l===void 0?0:l,f=v.useContext(Ir),d=f.autoClear,p=f.mock,h=f.defaultCache,y=f.hashPriority,g=f.container,u=f.ssrInline,S=f.transformers,m=f.linters,w=f.cache,T=r._tokenKey,E=[T].concat(we(n)),C=an;process.env.NODE_ENV!=="production"&&p!==void 0&&(C=p==="client");var b=Yn("style",E,function(){var P=E.join("|");if(_i(P)){var k=ji(P),N=W(k,2),M=N[0],H=N[1];if(M)return[M,T,H,{},c,s]}var G=t(),U=Li(G,{hashId:o,hashPriority:y,layer:a,path:n.join("-"),transformers:S,linters:m}),V=W(U,2),z=V[0],F=V[1],B=cn(z),re=$i(E,B);return[B,T,re,F,c,s]},function(P,k){var N=W(P,3),M=N[2];(k||d)&&an&&Wn(M,{mark:Re})},function(P){var k=W(P,4),N=k[0];k[1];var M=k[2],H=k[3];if(C&&N!==to){var G={mark:Re,prepend:"queue",attachTo:g,priority:s},U=typeof i=="function"?i():i;U&&(G.csp={nonce:U});var V=Rt(N,M,G);V[Fe]=w.instanceId,V.setAttribute(sr,T),process.env.NODE_ENV!=="production"&&V.setAttribute(ka,E.join("|")),Object.keys(H).forEach(function(z){Rt(cn(H[z]),"_effect-".concat(z),G)})}}),A=W(b,3),D=A[0],O=A[1],R=A[2];return function(P){var k;if(!u||C||!h)k=v.createElement(Di,null);else{var N;k=v.createElement("style",kt({},(N={},$(N,sr,O),$(N,Re,R),N),{dangerouslySetInnerHTML:{__html:D}}))}return v.createElement(v.Fragment,null,k,P)}}function He(e){return e.notSplit=!0,e}He(["borderTop","borderBottom"]),He(["borderTop"]),He(["borderBottom"]),He(["borderLeft","borderRight"]),He(["borderLeft"]),He(["borderRight"]);var Hi=L.createContext({});const zi=Hi;function Fi(e){return Vn(e)||Nn(e)||Rr(e)||Gn()}function hr(e,t){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;r=r[t[n]]}return r}function ao(e,t,r,n){if(!t.length)return r;var o=Fi(t),a=o[0],i=o.slice(1),c;return!e&&typeof a=="number"?c=[]:Array.isArray(e)?c=we(e):c=_({},e),n&&r===void 0&&i.length===1?delete c[a][i[0]]:c[a]=ao(c[a],i,r,n),c}function Ut(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&n&&r===void 0&&!hr(e,t.slice(0,-1))?e:ao(e,t,r,n)}function Bi(e){return q(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function sn(e){return Array.isArray(e)?[]:{}}var Wi=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Vi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=sn(t[0]);return t.forEach(function(o){function a(i,c){var l=new Set(c),s=hr(o,i),f=Array.isArray(s);if(f||Bi(s)){if(!l.has(s)){l.add(s);var d=hr(n,i);f?n=Ut(n,i,[]):(!d||q(d)!=="object")&&(n=Ut(n,i,sn(s))),Wi(s).forEach(function(p){a([].concat(we(i),[p]),l)})}}else n=Ut(n,i,s)}a([])}),n}function io(){}let xe=null;function Gi(){xe=null,An()}let Dr=io;process.env.NODE_ENV!=="production"&&(Dr=(e,t,r)=>{Ie(e,`[antd: ${t}] ${r}`),process.env.NODE_ENV==="test"&&Gi()});const co=v.createContext({}),so=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=v.useContext(co),r=(n,o,a)=>{if(!n)if(t===!1&&o==="deprecated"){const i=xe;xe||(xe={}),xe[e]=xe[e]||[],xe[e].includes(a||"")||xe[e].push(a||""),i||console.warn("[antd] There exists deprecated usage in your code:",xe)}else process.env.NODE_ENV!=="production"&&Dr(n,e,a)};return r.deprecated=(n,o,a,i)=>{r(n,"deprecated",`\`${o}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`)},r}:()=>{const e=()=>{};return e.deprecated=io,e},Lt=Dr,Ui=L.createContext(void 0),Xi={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};var Yi={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"};const qi={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},lo=qi,Ki={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Yi),timePickerLocale:Object.assign({},lo)},ln=Ki,ae="${label} is not a valid ${type}",Qi={locale:"en",Pagination:Xi,DatePicker:ln,TimePicker:lo,Calendar:ln,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ae,method:ae,array:ae,object:ae,number:ae,date:ae,boolean:ae,integer:ae,float:ae,regexp:ae,email:ae,url:ae,hex:ae},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}},$t=Qi;Object.assign({},$t.Modal);let Ot=[];const un=()=>Ot.reduce((e,t)=>Object.assign(Object.assign({},e),t),$t.Modal);function Ji(e){if(e){const t=Object.assign({},e);return Ot.push(t),un(),()=>{Ot=Ot.filter(r=>r!==t),un()}}Object.assign({},$t.Modal)}const Zi=L.createContext(void 0),uo=Zi,fo="internalMark",po=e=>{const{locale:t={},children:r,_ANT_MARK__:n}=e;if(process.env.NODE_ENV!=="production"){const a=so("LocaleProvider");process.env.NODE_ENV!=="production"&&a(n===fo,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}v.useEffect(()=>Ji(t&&t.Modal),[t]);const o=v.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return v.createElement(uo.Provider,{value:o},r)};process.env.NODE_ENV!=="production"&&(po.displayName="LocaleProvider");const ec=po;function te(e,t){tc(e)&&(e="100%");var r=rc(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function pt(e){return Math.min(1,Math.max(0,e))}function tc(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function rc(e){return typeof e=="string"&&e.indexOf("%")!==-1}function vo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function vt(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Me(e){return e.length===1?"0"+e:String(e)}function nc(e,t,r){return{r:te(e,255)*255,g:te(t,255)*255,b:te(r,255)*255}}function fn(e,t,r){e=te(e,255),t=te(t,255),r=te(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=0,c=(n+o)/2;if(n===o)i=0,a=0;else{var l=n-o;switch(i=c>.5?l/(2-n-o):l/(n+o),n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4;break}a/=6}return{h:a,s:i,l:c}}function Xt(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function oc(e,t,r){var n,o,a;if(e=te(e,360),t=te(t,100),r=te(r,100),t===0)o=r,a=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,c=2*r-i;n=Xt(c,i,e+1/3),o=Xt(c,i,e),a=Xt(c,i,e-1/3)}return{r:n*255,g:o*255,b:a*255}}function mr(e,t,r){e=te(e,255),t=te(t,255),r=te(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a=0,i=n,c=n-o,l=n===0?0:c/n;if(n===o)a=0;else{switch(n){case e:a=(t-r)/c+(t<r?6:0);break;case t:a=(r-e)/c+2;break;case r:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,v:i}}function ac(e,t,r){e=te(e,360)*6,t=te(t,100),r=te(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),c=r*(1-(1-o)*t),l=n%6,s=[r,i,a,a,c,r][l],f=[c,r,r,i,a,a][l],d=[a,a,c,r,r,i][l];return{r:s*255,g:f*255,b:d*255}}function br(e,t,r,n){var o=[Me(Math.round(e).toString(16)),Me(Math.round(t).toString(16)),Me(Math.round(r).toString(16))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function ic(e,t,r,n,o){var a=[Me(Math.round(e).toString(16)),Me(Math.round(t).toString(16)),Me(Math.round(r).toString(16)),Me(cc(n))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function cc(e){return Math.round(parseFloat(e)*255).toString(16)}function dn(e){return ie(e)/255}function ie(e){return parseInt(e,16)}function sc(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var yr={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ze(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,i=!1,c=!1;return typeof e=="string"&&(e=fc(e)),typeof e=="object"&&(ye(e.r)&&ye(e.g)&&ye(e.b)?(t=nc(e.r,e.g,e.b),i=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ye(e.h)&&ye(e.s)&&ye(e.v)?(n=vt(e.s),o=vt(e.v),t=ac(e.h,n,o),i=!0,c="hsv"):ye(e.h)&&ye(e.s)&&ye(e.l)&&(n=vt(e.s),a=vt(e.l),t=oc(e.h,n,a),i=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=vo(r),{ok:i,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var lc="[-\\+]?\\d+%?",uc="[-\\+]?\\d*\\.\\d+%?",Oe="(?:".concat(uc,")|(?:").concat(lc,")"),Yt="[\\s|\\(]+(".concat(Oe,")[,|\\s]+(").concat(Oe,")[,|\\s]+(").concat(Oe,")\\s*\\)?"),qt="[\\s|\\(]+(".concat(Oe,")[,|\\s]+(").concat(Oe,")[,|\\s]+(").concat(Oe,")[,|\\s]+(").concat(Oe,")\\s*\\)?"),fe={CSS_UNIT:new RegExp(Oe),rgb:new RegExp("rgb"+Yt),rgba:new RegExp("rgba"+qt),hsl:new RegExp("hsl"+Yt),hsla:new RegExp("hsla"+qt),hsv:new RegExp("hsv"+Yt),hsva:new RegExp("hsva"+qt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function fc(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(yr[e])e=yr[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=fe.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=fe.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=fe.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=fe.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=fe.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=fe.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=fe.hex8.exec(e),r?{r:ie(r[1]),g:ie(r[2]),b:ie(r[3]),a:dn(r[4]),format:t?"name":"hex8"}:(r=fe.hex6.exec(e),r?{r:ie(r[1]),g:ie(r[2]),b:ie(r[3]),format:t?"name":"hex"}:(r=fe.hex4.exec(e),r?{r:ie(r[1]+r[1]),g:ie(r[2]+r[2]),b:ie(r[3]+r[3]),a:dn(r[4]+r[4]),format:t?"name":"hex8"}:(r=fe.hex3.exec(e),r?{r:ie(r[1]+r[1]),g:ie(r[2]+r[2]),b:ie(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function ye(e){return!!fe.CSS_UNIT.exec(String(e))}var ce=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=sc(t)),this.originalInput=t;var o=ze(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:o.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,o,a=t.r/255,i=t.g/255,c=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),c<=.03928?o=c/12.92:o=Math.pow((c+.055)/1.055,2.4),.2126*r+.7152*n+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=vo(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=mr(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=mr(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=fn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=fn(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),br(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),ic(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(te(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(te(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+br(this.r,this.g,this.b,!1),r=0,n=Object.entries(yr);r<n.length;r++){var o=n[r],a=o[0],i=o[1];if(t===i)return a}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,o=this.a<1&&this.a>=0,a=!r&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=pt(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=pt(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=pt(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=pt(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),a=r/100,i={r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),o=360/r,a=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,a=r.v,i=[],c=1/t;t--;)i.push(new e({h:n,s:o,v:a})),a=(a+c)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],a=360/t,i=1;i<t;i++)o.push(new e({h:(n+i*a)%360,s:r.s,l:r.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),gt=2,pn=.16,dc=.05,pc=.05,vc=.15,go=5,ho=4,gc=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function vn(e){var t=e.r,r=e.g,n=e.b,o=mr(t,r,n);return{h:o.h*360,s:o.s,v:o.v}}function ht(e){var t=e.r,r=e.g,n=e.b;return"#".concat(br(t,r,n,!1))}function hc(e,t,r){var n=r/100,o={r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b};return o}function gn(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-gt*t:Math.round(e.h)+gt*t:n=r?Math.round(e.h)+gt*t:Math.round(e.h)-gt*t,n<0?n+=360:n>=360&&(n-=360),n}function hn(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-pn*t:t===ho?n=e.s+pn:n=e.s+dc*t,n>1&&(n=1),r&&t===go&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function mn(e,t,r){var n;return r?n=e.v+pc*t:n=e.v-vc*t,n>1&&(n=1),Number(n.toFixed(2))}function Ge(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=ze(e),o=go;o>0;o-=1){var a=vn(n),i=ht(ze({h:gn(a,o,!0),s:hn(a,o,!0),v:mn(a,o,!0)}));r.push(i)}r.push(ht(n));for(var c=1;c<=ho;c+=1){var l=vn(n),s=ht(ze({h:gn(l,c),s:hn(l,c),v:mn(l,c)}));r.push(s)}return t.theme==="dark"?gc.map(function(f){var d=f.index,p=f.opacity,h=ht(hc(ze(t.backgroundColor||"#141414"),ze(r[d]),p*100));return h}):r}var Kt={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"},Qt={},Jt={};Object.keys(Kt).forEach(function(e){Qt[e]=Ge(Kt[e]),Qt[e].primary=Qt[e][5],Jt[e]=Ge(Kt[e],{theme:"dark",backgroundColor:"#141414"}),Jt[e].primary=Jt[e][5]});const mc=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},bc=mc;function yc(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const mo={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Sc=Object.assign(Object.assign({},mo),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
25
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
26
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),it=Sc;function xc(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t;const{colorSuccess:o,colorWarning:a,colorError:i,colorInfo:c,colorPrimary:l,colorBgBase:s,colorTextBase:f}=e,d=r(l),p=r(o),h=r(a),y=r(i),g=r(c),u=n(s,f),S=e.colorLink||e.colorInfo,m=r(S);return Object.assign(Object.assign({},u),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:y[1],colorErrorBgHover:y[2],colorErrorBorder:y[3],colorErrorBorderHover:y[4],colorErrorHover:y[5],colorError:y[6],colorErrorActive:y[7],colorErrorTextHover:y[8],colorErrorText:y[9],colorErrorTextActive:y[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new ce("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Ec=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},Cc=Ec;function Tc(e){const{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},Cc(n))}const Se=(e,t)=>new ce(e).setAlpha(t).toRgbString(),rt=(e,t)=>new ce(e).darken(t).toHexString(),Oc=e=>{const t=Ge(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},wc=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:Se(n,.88),colorTextSecondary:Se(n,.65),colorTextTertiary:Se(n,.45),colorTextQuaternary:Se(n,.25),colorFill:Se(n,.15),colorFillSecondary:Se(n,.06),colorFillTertiary:Se(n,.04),colorFillQuaternary:Se(n,.02),colorBgLayout:rt(r,4),colorBgContainer:rt(r,0),colorBgElevated:rt(r,0),colorBgSpotlight:Se(n,.85),colorBgBlur:"transparent",colorBorder:rt(r,15),colorBorderSecondary:rt(r,6)}};function Pc(e){const t=new Array(10).fill(null).map((r,n)=>{const o=n-1,a=e*Math.pow(2.71828,o/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(r=>{const n=r+8;return{size:r,lineHeight:n/r}})}const kc=e=>{const t=Pc(e),r=t.map(o=>o.size),n=t.map(o=>o.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Ac=kc;function Mc(e){const t=Object.keys(mo).map(r=>{const n=Ge(e[r]);return new Array(10).fill(1).reduce((o,a,i)=>(o[`${r}-${i+1}`]=n[i],o[`${r}${i+1}`]=n[i],o),{})}).reduce((r,n)=>(r=Object.assign(Object.assign({},r),n),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),xc(e,{generateColorPalettes:Oc,generateNeutralColorPalettes:wc})),Ac(e.fontSize)),yc(e)),bc(e)),Tc(e))}const bo=ur(Mc),yo={token:it,override:{override:it},hashed:!0},So=L.createContext(yo),xo="anticon",Rc=(e,t)=>t||(e?`ant-${e}`:"ant"),Xe=v.createContext({getPrefixCls:Rc,iconPrefixCls:xo}),_c=`-ant-${Date.now()}-${Math.random()}`;function jc(e,t){const r={},n=(i,c)=>{let l=i.clone();return l=(c==null?void 0:c(l))||l,l.toRgbString()},o=(i,c)=>{const l=new ce(i),s=Ge(l.toRgbString());r[`${c}-color`]=n(l),r[`${c}-color-disabled`]=s[1],r[`${c}-color-hover`]=s[4],r[`${c}-color-active`]=s[6],r[`${c}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),r[`${c}-color-deprecated-bg`]=s[0],r[`${c}-color-deprecated-border`]=s[2]};if(t.primaryColor){o(t.primaryColor,"primary");const i=new ce(t.primaryColor),c=Ge(i.toRgbString());c.forEach((s,f)=>{r[`primary-${f+1}`]=s}),r["primary-color-deprecated-l-35"]=n(i,s=>s.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,s=>s.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,s=>s.tint(20)),r["primary-color-deprecated-t-50"]=n(i,s=>s.tint(50)),r["primary-color-deprecated-f-12"]=n(i,s=>s.setAlpha(s.getAlpha()*.12));const l=new ce(c[0]);r["primary-color-active-deprecated-f-30"]=n(l,s=>s.setAlpha(s.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(l,s=>s.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`
|
|
27
|
-
:root {
|
|
28
|
-
${Object.keys(r).map(i=>`--${e}-${i}: ${r[i]};`).join(`
|
|
29
|
-
`)}
|
|
30
|
-
}
|
|
31
|
-
`.trim()}function Ic(e,t){const r=jc(e,t);he()?Rt(r,`${_c}-dynamic-theme`):process.env.NODE_ENV!=="production"&&Lt(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const Sr=v.createContext(!1),Nc=e=>{let{children:t,disabled:r}=e;const n=v.useContext(Sr);return v.createElement(Sr.Provider,{value:r??n},t)},Lc=Sr,xr=v.createContext(void 0),$c=e=>{let{children:t,size:r}=e;const n=v.useContext(xr);return v.createElement(xr.Provider,{value:r||n},t)},Dt=xr;function Dc(){const e=L.useContext(Lc),t=L.useContext(Dt);return{componentDisabled:e,componentSize:t}}const Hc="5.11.0";function Zt(e){return e>=0&&e<=255}function mt(e,t){const{r,g:n,b:o,a}=new ce(e).toRgb();if(a<1)return e;const{r:i,g:c,b:l}=new ce(t).toRgb();for(let s=.01;s<=1;s+=.01){const f=Math.round((r-i*(1-s))/s),d=Math.round((n-c*(1-s))/s),p=Math.round((o-l*(1-s))/s);if(Zt(f)&&Zt(d)&&Zt(p))return new ce({r:f,g:d,b:p,a:Math.round(s*100)/100}).toRgbString()}return new ce({r,g:n,b:o,a:1}).toRgbString()}var zc=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function Eo(e){const{override:t}=e,r=zc(e,["override"]),n=Object.assign({},t);Object.keys(it).forEach(p=>{delete n[p]});const o=Object.assign(Object.assign({},r),n),a=480,i=576,c=768,l=992,s=1200,f=1600;if(o.motion===!1){const p="0s";o.motionDurationFast=p,o.motionDurationMid=p,o.motionDurationSlow=p}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:mt(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:mt(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:mt(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:mt(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
32
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
-
`,boxShadowSecondary:`
|
|
36
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
37
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
38
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
39
|
-
`,boxShadowTertiary:`
|
|
40
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
41
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
42
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
43
|
-
`,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:f-1,screenXXL:f,screenXXLMin:f,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
44
|
-
0 1px 2px -2px ${new ce("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
45
|
-
0 3px 6px 0 ${new ce("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
46
|
-
0 5px 12px 4px ${new ce("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
47
|
-
`,boxShadowDrawerRight:`
|
|
48
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
49
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
50
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
51
|
-
`,boxShadowDrawerLeft:`
|
|
52
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
53
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
54
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
55
|
-
`,boxShadowDrawerUp:`
|
|
56
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
57
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
58
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
59
|
-
`,boxShadowDrawerDown:`
|
|
60
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
61
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
62
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
63
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),n)}var bn=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Co=(e,t,r)=>{const n=r.getDerivativeToken(e),{override:o}=t,a=bn(t,["override"]);let i=Object.assign(Object.assign({},n),{override:o});return i=Eo(i),a&&Object.entries(a).forEach(c=>{let[l,s]=c;const{theme:f}=s,d=bn(s,["theme"]);let p=d;f&&(p=Co(Object.assign(Object.assign({},i),d),{override:d},f)),i[l]=p}),i};function Hr(){const{token:e,hashed:t,theme:r,override:n}=L.useContext(So),o=`${Hc}-${t||""}`,a=r||bo,[i,c]=ui(a,[it,e],{salt:o,override:n,getComputedToken:Co,formatToken:Eo});return[a,i,t?c:""]}function wt(e){var t=v.useRef(!1),r=v.useState(e),n=W(r,2),o=n[0],a=n[1];v.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(c,l){l&&t.current||a(c)}return[o,i]}const Fc=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Bc=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Wc=(e,t)=>{const{fontFamily:r,fontSize:n}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:r,fontSize:n,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},To=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let Er=!0;function Cr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!To)return Object.assign.apply(Object,[{}].concat(t));Er=!1;const n={};return t.forEach(o=>{Object.keys(o).forEach(i=>{Object.defineProperty(n,i,{configurable:!0,enumerable:!0,get:()=>o[i]})})}),Er=!0,n}const yn={};function Vc(){}function Gc(e){let t,r=e,n=Vc;return To&&typeof Proxy<"u"&&(t=new Set,r=new Proxy(e,{get(o,a){return Er&&t.add(a),o[a]}}),n=(o,a)=>{var i;yn[o]={global:Array.from(t),component:Object.assign(Object.assign({},(i=yn[o])===null||i===void 0?void 0:i.component),a)}}),{token:r,keys:t,flush:n}}const Uc=(e,t)=>{const[r,n]=Hr();return gr({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Fc()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},Oo=Uc;function Xc(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=Array.isArray(e)?e:[e,e],[a]=o,i=o.join("-");return c=>{const[l,s,f]=Hr(),{getPrefixCls:d,iconPrefixCls:p,csp:h}=L.useContext(Xe),y=d(),g={theme:l,token:s,hashId:f,nonce:()=>h==null?void 0:h.nonce,clientOnly:n.clientOnly,order:n.order||-999};return gr(Object.assign(Object.assign({},g),{clientOnly:!1,path:["Shared",y]}),()=>[{"&":Bc(s)}]),Oo(p,h),[gr(Object.assign(Object.assign({},g),{path:[i,c,p]}),()=>{const{token:u,flush:S}=Gc(s),m=Object.assign({},s[a]);if(n.deprecatedTokens){const{deprecatedTokens:A}=n;A.forEach(D=>{let[O,R]=D;var P;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&Ie(!(m!=null&&m[O]),`The token '${String(O)}' of ${a} had deprecated, use '${String(R)}' instead.`),(m!=null&&m[O]||m!=null&&m[R])&&((P=m[R])!==null&&P!==void 0||(m[R]=m==null?void 0:m[O]))})}const w=typeof r=="function"?r(Cr(u,m??{})):r,T=Object.assign(Object.assign({},w),m),E=`.${c}`,C=Cr(u,{componentCls:E,prefixCls:c,iconCls:`.${p}`,antCls:`.${y}`},T),b=t(C,{hashId:f,prefixCls:c,rootPrefixCls:y,iconPrefixCls:p,overrideComponentToken:m});return S(a,T),[n.resetStyle===!1?null:Wc(s,c),b]}),f]}}function Yc(e,t){const r=e||{},n=r.inherit===!1||!t?yo:t;return _n(()=>{if(!e)return t;const o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(a=>{o[a]=Object.assign(Object.assign({},o[a]),e.components[a])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(o,a)=>o.some((i,c)=>{const l=a[c];return!wa(i,l,!0)}))}var qc=["children"],wo=v.createContext({});function Kc(e){var t=e.children,r=cr(e,qc);return v.createElement(wo.Provider,{value:r},t)}var Qc=function(e){jn(r,e);var t=In(r);function r(){return ct(this,r),t.apply(this,arguments)}return st(r,[{key:"render",value:function(){return this.props.children}}]),r}(v.Component),ke="none",bt="appear",yt="enter",St="leave",Sn="none",de="prepare",Be="start",We="active",zr="end",Po="prepared";function xn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function Jc(e,t){var r={animationend:xn("Animation","AnimationEnd"),transitionend:xn("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var Zc=Jc(he(),typeof window<"u"?window:{}),ko={};if(he()){var es=document.createElement("div");ko=es.style}var xt={};function Ao(e){if(xt[e])return xt[e];var t=Zc[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o<n;o+=1){var a=r[o];if(Object.prototype.hasOwnProperty.call(t,a)&&a in ko)return xt[e]=t[a],xt[e]}return""}var Mo=Ao("animationend"),Ro=Ao("transitionend"),_o=!!(Mo&&Ro),En=Mo||"animationend",Cn=Ro||"transitionend";function Tn(e,t){if(!e)return null;if(q(e)==="object"){var r=t.replace(/-\w/g,function(n){return n[1].toUpperCase()});return e[r]}return"".concat(e,"-").concat(t)}const ts=function(e){var t=L.useRef(),r=L.useRef(e);r.current=e;var n=v.useCallback(function(i){r.current(i)},[]);function o(i){i&&(i.removeEventListener(Cn,n),i.removeEventListener(En,n))}function a(i){t.current&&t.current!==i&&o(t.current),i&&i!==t.current&&(i.addEventListener(Cn,n),i.addEventListener(En,n),t.current=i)}return v.useEffect(function(){return function(){o(t.current)}},[]),[a,o]};var jo=he()?L.useLayoutEffect:L.useEffect;const rs=function(){var e=v.useRef(null);function t(){ir.cancel(e.current)}function r(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var a=ir(function(){o<=1?n({isCanceled:function(){return a!==e.current}}):r(n,o-1)});e.current=a}return v.useEffect(function(){return function(){t()}},[]),[r,t]};var ns=[de,Be,We,zr],os=[de,Po],Io=!1,as=!0;function No(e){return e===We||e===zr}const is=function(e,t,r){var n=wt(Sn),o=W(n,2),a=o[0],i=o[1],c=rs(),l=W(c,2),s=l[0],f=l[1];function d(){i(de,!0)}var p=t?os:ns;return jo(function(){if(a!==Sn&&a!==zr){var h=p.indexOf(a),y=p[h+1],g=r(a);g===Io?i(y,!0):y&&s(function(u){function S(){u.isCanceled()||i(y,!0)}g===!0?S():Promise.resolve(g).then(S)})}},[e,a]),v.useEffect(function(){return function(){f()}},[]),[d,a]};function cs(e,t,r,n){var o=n.motionEnter,a=o===void 0?!0:o,i=n.motionAppear,c=i===void 0?!0:i,l=n.motionLeave,s=l===void 0?!0:l,f=n.motionDeadline,d=n.motionLeaveImmediately,p=n.onAppearPrepare,h=n.onEnterPrepare,y=n.onLeavePrepare,g=n.onAppearStart,u=n.onEnterStart,S=n.onLeaveStart,m=n.onAppearActive,w=n.onEnterActive,T=n.onLeaveActive,E=n.onAppearEnd,C=n.onEnterEnd,b=n.onLeaveEnd,A=n.onVisibleChanged,D=wt(),O=W(D,2),R=O[0],P=O[1],k=wt(ke),N=W(k,2),M=N[0],H=N[1],G=wt(null),U=W(G,2),V=U[0],z=U[1],F=L.useRef(!1),B=L.useRef(null);function re(){return r()}var J=L.useRef(!1);function se(){H(ke,!0),z(null,!0)}function Ne(ne){var K=re();if(!(ne&&!ne.deadline&&ne.target!==K)){var Q=J.current,le;M===bt&&Q?le=E==null?void 0:E(K,ne):M===yt&&Q?le=C==null?void 0:C(K,ne):M===St&&Q&&(le=b==null?void 0:b(K,ne)),M!==ke&&Q&&le!==!1&&se()}}var qe=ts(Ne),Ke=W(qe,1),Qe=Ke[0],Le=function(K){var Q,le,Pe;switch(K){case bt:return Q={},$(Q,de,p),$(Q,Be,g),$(Q,We,m),Q;case yt:return le={},$(le,de,h),$(le,Be,u),$(le,We,w),le;case St:return Pe={},$(Pe,de,y),$(Pe,Be,S),$(Pe,We,T),Pe;default:return{}}},me=v.useMemo(function(){return Le(M)},[M]),Je=is(M,!e,function(ne){if(ne===de){var K=me[de];return K?K(re()):Io}if(oe in me){var Q;z(((Q=me[oe])===null||Q===void 0?void 0:Q.call(me,re(),null))||null)}return oe===We&&(Qe(re()),f>0&&(clearTimeout(B.current),B.current=setTimeout(function(){Ne({deadline:!0})},f))),oe===Po&&se(),as}),$e=W(Je,2),x=$e[0],oe=$e[1],Ce=No(oe);J.current=Ce,jo(function(){P(t);var ne=F.current;F.current=!0;var K;!ne&&t&&c&&(K=bt),ne&&t&&a&&(K=yt),(ne&&!t&&s||!ne&&d&&!t&&s)&&(K=St);var Q=Le(K);K&&(e||Q[de])?(H(K),x()):H(ke)},[t]),L.useEffect(function(){(M===bt&&!c||M===yt&&!a||M===St&&!s)&&H(ke)},[c,a,s]),L.useEffect(function(){return function(){F.current=!1,clearTimeout(B.current)}},[]);var Te=v.useRef(!1);L.useEffect(function(){R&&(Te.current=!0),R!==void 0&&M===ke&&((Te.current||R)&&(A==null||A(R)),Te.current=!0)},[R,M]);var Ze=V;return me[de]&&oe===Be&&(Ze=_({transition:"none"},Ze)),[M,oe,Ze,R??t]}function ss(e){var t=e;q(e)==="object"&&(t=e.transitionSupport);function r(o,a){return!!(o.motionName&&t&&a!==!1)}var n=v.forwardRef(function(o,a){var i=o.visible,c=i===void 0?!0:i,l=o.removeOnLeave,s=l===void 0?!0:l,f=o.forceRender,d=o.children,p=o.motionName,h=o.leavedClassName,y=o.eventProps,g=v.useContext(wo),u=g.motion,S=r(o,u),m=L.useRef(),w=L.useRef();function T(){try{return m.current instanceof HTMLElement?m.current:ba(w.current)}catch{return null}}var E=cs(S,c,T,o),C=W(E,4),b=C[0],A=C[1],D=C[2],O=C[3],R=v.useRef(O);O&&(R.current=!0);var P=v.useCallback(function(z){m.current=z,ya(a,z)},[a]),k,N=_(_({},y),{},{visible:c});if(!d)k=null;else if(b===ke)O?k=d(_({},N),P):!s&&R.current&&h?k=d(_(_({},N),{},{className:h}),P):f||!s&&!h?k=d(_(_({},N),{},{style:{display:"none"}}),P):k=null;else{var M,H;A===de?H="prepare":No(A)?H="active":A===Be&&(H="start");var G=Tn(p,"".concat(b,"-").concat(H));k=d(_(_({},N),{},{className:Pt(Tn(p,b),(M={},$(M,G,G&&H),$(M,p,typeof p=="string"),M)),style:D}),P)}if(v.isValidElement(k)&&Sa(k)){var U=k,V=U.ref;V||(k=v.cloneElement(k,{ref:P}))}return v.createElement(Qc,{ref:w},k)});return n.displayName="CSSMotion",n}const ls=ss(_o);var Tr="add",Or="keep",wr="remove",er="removed";function us(e){var t;return e&&q(e)==="object"&&"key"in e?t=e:t={key:e},_(_({},t),{},{key:String(t.key)})}function Pr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(us)}function fs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[],n=0,o=t.length,a=Pr(e),i=Pr(t);a.forEach(function(s){for(var f=!1,d=n;d<o;d+=1){var p=i[d];if(p.key===s.key){n<d&&(r=r.concat(i.slice(n,d).map(function(h){return _(_({},h),{},{status:Tr})})),n=d),r.push(_(_({},p),{},{status:Or})),n+=1,f=!0;break}}f||r.push(_(_({},s),{},{status:wr}))}),n<o&&(r=r.concat(i.slice(n).map(function(s){return _(_({},s),{},{status:Tr})})));var c={};r.forEach(function(s){var f=s.key;c[f]=(c[f]||0)+1});var l=Object.keys(c).filter(function(s){return c[s]>1});return l.forEach(function(s){r=r.filter(function(f){var d=f.key,p=f.status;return d!==s||p!==wr}),r.forEach(function(f){f.key===s&&(f.status=Or)})}),r}var ds=["component","children","onVisibleChanged","onAllRemoved"],ps=["status"],vs=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function gs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ls,r=function(n){jn(a,n);var o=In(a);function a(){var i;ct(this,a);for(var c=arguments.length,l=new Array(c),s=0;s<c;s++)l[s]=arguments[s];return i=o.call.apply(o,[this].concat(l)),$(or(i),"state",{keyEntities:[]}),$(or(i),"removeKey",function(f){var d=i.state.keyEntities,p=d.map(function(h){return h.key!==f?h:_(_({},h),{},{status:er})});return i.setState({keyEntities:p}),p.filter(function(h){var y=h.status;return y!==er}).length}),i}return st(a,[{key:"render",value:function(){var c=this,l=this.state.keyEntities,s=this.props,f=s.component,d=s.children,p=s.onVisibleChanged,h=s.onAllRemoved,y=cr(s,ds),g=f||v.Fragment,u={};return vs.forEach(function(S){u[S]=y[S],delete y[S]}),delete y.keys,v.createElement(g,y,l.map(function(S,m){var w=S.status,T=cr(S,ps),E=w===Tr||w===Or;return v.createElement(t,kt({},u,{key:T.key,visible:E,eventProps:T,onVisibleChanged:function(b){if(p==null||p(b,{key:T.key}),!b){var A=c.removeKey(T.key);A===0&&h&&h()}}}),function(C,b){return d(_(_({},C),{},{index:m}),b)})}))}}],[{key:"getDerivedStateFromProps",value:function(c,l){var s=c.keys,f=l.keyEntities,d=Pr(s),p=fs(f,d);return{keyEntities:p.filter(function(h){var y=f.find(function(g){var u=g.key;return h.key===u});return!(y&&y.status===er&&h.status===wr)})}}}]),a}(v.Component);return $(r,"defaultProps",{component:"div"}),r}gs(_o);function hs(e){const{children:t}=e,[,r]=Hr(),{motion:n}=r,o=v.useRef(!1);return o.current=o.current||n===!1,o.current?v.createElement(Kc,{motion:n},t):t}const Lo=v.memo(e=>{let{dropdownMatchSelectWidth:t}=e;return so("ConfigProvider").deprecated(t===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null});process.env.NODE_ENV!=="production"&&(Lo.displayName="PropWarning");const ms=process.env.NODE_ENV!=="production"?Lo:()=>null;var bs=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let kr=!1;process.env.NODE_ENV;const ys=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],Ss="ant";let $o;function xs(){return $o||Ss}function Es(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const Cs=e=>{let{prefixCls:t,iconPrefixCls:r,theme:n}=e;t!==void 0&&($o=t),n&&Es(n)&&(process.env.NODE_ENV!=="production"&&Lt(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Ic(xs(),n))},Ts=e=>{const{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:a,form:i,locale:c,componentSize:l,direction:s,space:f,virtual:d,dropdownMatchSelectWidth:p,popupMatchSelectWidth:h,popupOverflow:y,legacyLocale:g,parentContext:u,iconPrefixCls:S,theme:m,componentDisabled:w,segmented:T,statistic:E,spin:C,calendar:b,carousel:A,cascader:D,collapse:O,typography:R,checkbox:P,descriptions:k,divider:N,drawer:M,skeleton:H,steps:G,image:U,layout:V,list:z,mentions:F,modal:B,progress:re,result:J,slider:se,breadcrumb:Ne,menu:qe,pagination:Ke,input:Qe,empty:Le,badge:me,radio:Je,rate:$e,switch:x,transfer:oe,avatar:Ce,message:Te,tag:Ze,table:ne,card:K,tabs:Q,timeline:le,timePicker:Pe,upload:Vo,notification:Go,tree:Uo,colorPicker:Xo,datePicker:Yo,rangePicker:qo,flex:Ko,wave:Qo,dropdown:Jo,warning:Zo}=e,ea=v.useCallback((Y,ee)=>{const{prefixCls:ve}=e;if(ee)return ee;const ge=ve||u.getPrefixCls("");return Y?`${ge}-${Y}`:ge},[u.getPrefixCls,e.prefixCls]),et=S||u.iconPrefixCls||xo,tt=r||u.csp;Oo(et,tt);const lt=Yc(m,u.theme);process.env.NODE_ENV!=="production"&&(kr=kr||!!lt);const Ht={csp:tt,autoInsertSpaceInButton:n,alert:o,anchor:a,locale:c||g,direction:s,space:f,virtual:d,popupMatchSelectWidth:h??p,popupOverflow:y,getPrefixCls:ea,iconPrefixCls:et,theme:lt,segmented:T,statistic:E,spin:C,calendar:b,carousel:A,cascader:D,collapse:O,typography:R,checkbox:P,descriptions:k,divider:N,drawer:M,skeleton:H,steps:G,image:U,input:Qe,layout:V,list:z,mentions:F,modal:B,progress:re,result:J,slider:se,breadcrumb:Ne,menu:qe,pagination:Ke,empty:Le,badge:me,radio:Je,rate:$e,switch:x,transfer:oe,avatar:Ce,message:Te,tag:Ze,table:ne,card:K,tabs:Q,timeline:le,timePicker:Pe,upload:Vo,notification:Go,tree:Uo,colorPicker:Xo,datePicker:Yo,rangePicker:qo,flex:Ko,wave:Qo,dropdown:Jo,warning:Zo},ut=Object.assign({},u);Object.keys(Ht).forEach(Y=>{Ht[Y]!==void 0&&(ut[Y]=Ht[Y])}),ys.forEach(Y=>{const ee=e[Y];ee&&(ut[Y]=ee)});const De=_n(()=>ut,ut,(Y,ee)=>{const ve=Object.keys(Y),ge=Object.keys(ee);return ve.length!==ge.length||ve.some(ft=>Y[ft]!==ee[ft])}),ta=v.useMemo(()=>({prefixCls:et,csp:tt}),[et,tt]);let Z=v.createElement(v.Fragment,null,v.createElement(ms,{dropdownMatchSelectWidth:p}),t);const Fr=v.useMemo(()=>{var Y,ee,ve,ge;return Vi(((Y=$t.Form)===null||Y===void 0?void 0:Y.defaultValidateMessages)||{},((ve=(ee=De.locale)===null||ee===void 0?void 0:ee.Form)===null||ve===void 0?void 0:ve.defaultValidateMessages)||{},((ge=De.form)===null||ge===void 0?void 0:ge.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[De,i==null?void 0:i.validateMessages]);Object.keys(Fr).length>0&&(Z=v.createElement(Ui.Provider,{value:Fr},Z)),c&&(Z=v.createElement(ec,{locale:c,_ANT_MARK__:fo},Z)),(et||tt)&&(Z=v.createElement(zi.Provider,{value:ta},Z)),l&&(Z=v.createElement($c,{size:l},Z)),Z=v.createElement(hs,null,Z);const ra=v.useMemo(()=>{const Y=lt||{},{algorithm:ee,token:ve,components:ge}=Y,ft=bs(Y,["algorithm","token","components"]),Br=ee&&(!Array.isArray(ee)||ee.length>0)?ur(ee):bo,zt={};Object.entries(ge||{}).forEach(na=>{let[oa,aa]=na;const be=Object.assign({},aa);"algorithm"in be&&(be.algorithm===!0?be.theme=Br:(Array.isArray(be.algorithm)||typeof be.algorithm=="function")&&(be.theme=ur(be.algorithm)),delete be.algorithm),zt[oa]=be});const Wr=Object.assign(Object.assign({},it),ve);return Object.assign(Object.assign({},ft),{theme:Br,token:Wr,components:zt,override:Object.assign({override:Wr},zt)})},[lt]);return m&&(Z=v.createElement(So.Provider,{value:ra},Z)),De.warning&&(Z=v.createElement(co.Provider,{value:De.warning},Z)),w!==void 0&&(Z=v.createElement(Nc,{disabled:w},Z)),v.createElement(Xe.Provider,{value:De},Z)},Ye=e=>{const t=v.useContext(Xe),r=v.useContext(uo);return v.createElement(Ts,Object.assign({parentContext:t,legacyLocale:r},e))};Ye.ConfigContext=Xe;Ye.SizeContext=Dt;Ye.config=Cs;Ye.useConfig=Dc;Object.defineProperty(Ye,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&Lt(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Dt)});process.env.NODE_ENV!=="production"&&(Ye.displayName="ConfigProvider");const Os=e=>{const t=L.useContext(Dt);return L.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},ws=Os,Ps=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},ks=Ps,As=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},Ms=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},Do=Xc("Space",e=>{const t=Cr(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[As(t),Ms(t),ks(t)]},()=>({}),{resetStyle:!1});var Ho=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const zo=v.createContext(null),Rs=e=>{var{children:t}=e,r=Ho(e,["children"]);return v.createElement(zo.Provider,{value:r},t)},_s=e=>{const{getPrefixCls:t,direction:r}=v.useContext(Xe),{size:n,direction:o,block:a,prefixCls:i,className:c,rootClassName:l,children:s}=e,f=Ho(e,["size","direction","block","prefixCls","className","rootClassName","children"]),d=ws(w=>n??w),p=t("space-compact",i),[h,y]=Do(p),g=Pt(p,y,{[`${p}-rtl`]:r==="rtl",[`${p}-block`]:a,[`${p}-vertical`]:o==="vertical"},c,l),u=v.useContext(zo),S=At(s),m=v.useMemo(()=>S.map((w,T)=>{const E=w&&w.key||`${p}-item-${T}`;return v.createElement(Rs,{key:E,compactSize:d,compactDirection:o,isFirstItem:T===0&&(!u||(u==null?void 0:u.isFirstItem)),isLastItem:T===S.length-1&&(!u||(u==null?void 0:u.isLastItem))},w)}),[n,S,u]);return S.length===0?null:h(v.createElement("div",Object.assign({className:g},f),m))},js=_s;function On(e){return["small","middle","large"].includes(e)}function wn(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Fo=L.createContext({latestIndex:0}),Is=Fo.Provider,Ns=e=>{let{className:t,index:r,children:n,split:o,style:a}=e;const{latestIndex:i}=v.useContext(Fo);return n==null?null:v.createElement(v.Fragment,null,v.createElement("div",{className:t,style:a},n),r<i&&o&&v.createElement("span",{className:`${t}-split`},o))},Ls=Ns;var $s=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Bo=v.forwardRef((e,t)=>{var r,n;const{getPrefixCls:o,space:a,direction:i}=v.useContext(Xe),{size:c=(a==null?void 0:a.size)||"small",align:l,className:s,rootClassName:f,children:d,direction:p="horizontal",prefixCls:h,split:y,style:g,wrap:u=!1,classNames:S,styles:m}=e,w=$s(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[T,E]=Array.isArray(c)?c:[c,c],C=On(E),b=On(T),A=wn(E),D=wn(T),O=At(d,{keepEmpty:!0}),R=l===void 0&&p==="horizontal"?"center":l,P=o("space",h),[k,N]=Do(P),M=Pt(P,a==null?void 0:a.className,N,`${P}-${p}`,{[`${P}-rtl`]:i==="rtl",[`${P}-align-${R}`]:R,[`${P}-gap-row-${E}`]:C,[`${P}-gap-col-${T}`]:b},s,f),H=Pt(`${P}-item`,(r=S==null?void 0:S.item)!==null&&r!==void 0?r:(n=a==null?void 0:a.classNames)===null||n===void 0?void 0:n.item);let G=0;const U=O.map((F,B)=>{var re,J;F!=null&&(G=B);const se=F&&F.key||`${H}-${B}`;return v.createElement(Ls,{className:H,key:se,index:B,split:y,style:(re=m==null?void 0:m.item)!==null&&re!==void 0?re:(J=a==null?void 0:a.styles)===null||J===void 0?void 0:J.item},F)}),V=v.useMemo(()=>({latestIndex:G}),[G]);if(O.length===0)return null;const z={};return u&&(z.flexWrap="wrap"),!b&&D&&(z.columnGap=T),!C&&A&&(z.rowGap=E),k(v.createElement("div",Object.assign({ref:t,className:M,style:Object.assign(Object.assign(Object.assign({},z),a==null?void 0:a.style),g)},w),v.createElement(Is,{value:V},U)))});process.env.NODE_ENV!=="production"&&(Bo.displayName="Space");const Wo=Bo;Wo.Compact=js;const Ds=Wo,Hs=({children:e,...t})=>ia.jsx(Ds,{...t,children:e});exports.Space=Hs;
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,MAAM,CAAC;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,UAAU,GAAG,aAAa,CAAC;AAEhC,eAAO,MAAM,KAAK,oCAAqC,UAAU,sBAEhE,CAAC"}
|