@gientech/modual 1.2.0 → 1.2.2
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/assets/_commonjsHelpers-gnU0ypJ3.js +1 -0
- package/assets/index--DG-fVvc.js +26 -0
- package/assets/index-5gkRuYoC.js +1505 -0
- package/assets/{index-CkrtMipy.js → index-Cim_5352.js} +64 -64
- package/assets/{plus-0NfJVqOP.js → plus-fNg4vmeA.js} +1 -1
- package/assets/style.css +1 -1
- package/assets/{x-CRBeKR4J.js → x-tMUaBf0a.js} +1 -1
- package/chat.js +506 -176
- package/database.js +2 -2
- package/databaseId.js +2 -2
- package/databaseTable.js +2 -14
- package/modelManage.js +1 -1
- package/package.json +3 -23
- package/sensitive.d.ts +2 -0
- package/sensitive.js +1 -1
- package/streamFilesReader.js +19 -19
- package/assets/LeftOutlined-BDNvU9GN.js +0 -1
- package/assets/index-CZ9KcyHq.js +0 -31
- package/assets/index-C_syaGTO.js +0 -217
- package/assets/index-CtbH8bkI.js +0 -1
- package/assets/index-CwZH-3RQ.js +0 -1577
- package/assets/index-DHmv5xUB.js +0 -1
- package/assets/index-DhLqP5fb.js +0 -1
- /package/assets/{mysql.svg → MySQL.svg} +0 -0
package/assets/index-CwZH-3RQ.js
DELETED
|
@@ -1,1577 +0,0 @@
|
|
|
1
|
-
import{jsxs as Ct,jsx as ee,Fragment as Hd}from"react/jsx-runtime";import*as d from"react";import ue,{useState as Rt,useRef as at,useEffect as Yt,forwardRef as rr,createElement as qr,useMemo as Mn,useContext as Yn,useImperativeHandle as Yo,createContext as Hi,useCallback as Pt,version as bx,Children as yx,useLayoutEffect as xx,isValidElement as Cx}from"react";import{d as St,f as wx}from"./styled-components.browser.esm-DPkS13KC.js";import{s as qo,b as sr,i as jn,c as Lg,g as ja,C as Sx}from"./index-CZ9KcyHq.js";import*as Ex from"react-dom";import Cm,{createPortal as ks,flushSync as Ql,unstable_batchedUpdates as kx}from"react-dom";import{b as et,v as $r,a as ye,K as st,f as Be,_ as Fn,ba as Ix,c as Li,ar as wo,F as Vg,e as He,d as yt,T as Wg,l as xi,bb as Mx,h as Ft,bc as Kg,m as Nx,as as Dr,k as Kn,u as Ox,at as Px,o as Vi,ak as Rx,t as Ax,a6 as Ld,ag as Wi,Q as Cr,H as Go,J as gr,aa as Is,x as Fr,M as Jl,a1 as _l,P as vr,X as Yg,Y as qg,Z as Gg,$ as Ug,G as es,R as Vd,D as Ae,bd as Wd,I as Ki,an as Dx,aq as jx,ao as $x,aw as Xg,be as Fx,B as Ci,ad as Ms,bf as Yi,V as So,bg as Uo,a_ as $a,aE as Eo,bh as wi,S as Kd,aR as Tx,bi as Ns,a9 as Os,aG as ar,U as Cn,w as Pn,bj as Nl,j as Bx,bk as Zg,r as Yd,q as qd,E as Qg,bl as Gd,bm as Jg,bn as zx,bo as Hx,aT as _g,a4 as Lx,bp as eh,bq as th,br as nh,bs as rh,aS as oh,bt as Vx,bu as ah,bv as ih,bw as Wx,bx as Kx,aU as lh,by as Yx,bz as qx,bA as Gx,aK as Ux,i as Xx,z as Ps,ae as du,bB as sh,a2 as Zx,aJ as jt,aI as Zn,aM as Qx}from"./index-C_syaGTO.js";const Jx=St.button`
|
|
2
|
-
height: 36px;
|
|
3
|
-
min-height: 36px;
|
|
4
|
-
max-height: 36px;
|
|
5
|
-
line-height: 34px;
|
|
6
|
-
padding: 0 12px;
|
|
7
|
-
border-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
|
|
8
|
-
font-size: 12px;
|
|
9
|
-
border: none;
|
|
10
|
-
cursor: ${e=>e.$disabled||e.$loading?"not-allowed":"pointer"};
|
|
11
|
-
transition: all 0.2s;
|
|
12
|
-
opacity: ${e=>e.$disabled?.5:1};
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
gap: 6px;
|
|
17
|
-
position: relative;
|
|
18
|
-
background: ${({$btnType:e,$theme:t})=>{var n,r,o;return e==="text"?"none":e==="primary"?((n=t==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff":e==="error"?((r=t==null?void 0:t.colors)==null?void 0:r.error)||"#FF0000":e==="default"?((o=t==null?void 0:t.colors)==null?void 0:o.background)||"#f8f9fa":"none"}};
|
|
19
|
-
color: ${({$btnType:e,$theme:t})=>{var n,r;return e==="text"?((n=t==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff":e==="primary"||e==="error"?"#ffffff":((r=t==null?void 0:t.colors)==null?void 0:r.text)||"#343a40"}};
|
|
20
|
-
border: ${({$btnType:e,$theme:t})=>{var n;return e==="default"?`1px solid ${((n=t==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}`:"none"}};
|
|
21
|
-
box-shadow: none;
|
|
22
|
-
|
|
23
|
-
/* Loading 状态样式 */
|
|
24
|
-
${e=>e.$loading&&`
|
|
25
|
-
pointer-events: none;
|
|
26
|
-
opacity: 0.8;
|
|
27
|
-
|
|
28
|
-
.button-loading {
|
|
29
|
-
width: 14px;
|
|
30
|
-
height: 14px;
|
|
31
|
-
border: 2px solid transparent;
|
|
32
|
-
border-top: 2px solid currentColor;
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
animation: spin 1s linear infinite;
|
|
35
|
-
margin-right: 6px;
|
|
36
|
-
}
|
|
37
|
-
`}
|
|
38
|
-
|
|
39
|
-
@keyframes spin {
|
|
40
|
-
0% { transform: rotate(0deg); }
|
|
41
|
-
100% { transform: rotate(360deg); }
|
|
42
|
-
}
|
|
43
|
-
`,ba=({mode:e="default",label:t,icon:n,disabled:r=!1,loading:o=!1,onClick:a,styles:i,style:s,className:l,children:u,...c})=>{const f=qo(),v=sr(sr({theme:jn,mode:"light"},f),i),p=()=>{!r&&!o&&a&&a()};return Ct(Jx,{$btnType:e,$disabled:r,$loading:o,$theme:v.theme||jn,onClick:p,disabled:r||o,style:s,className:l,...c,children:[o&&ee("span",{className:"button-loading"}),n&&ee("span",{className:"button-icon",style:{marginRight:4},children:n}),t&&ee("span",{className:"button-label",children:t}),u]})};/**
|
|
44
|
-
* @license lucide-react v0.456.0 - ISC
|
|
45
|
-
*
|
|
46
|
-
* This source code is licensed under the ISC license.
|
|
47
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/const _x=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ch=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
|
|
49
|
-
* @license lucide-react v0.456.0 - ISC
|
|
50
|
-
*
|
|
51
|
-
* This source code is licensed under the ISC license.
|
|
52
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/var eC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
54
|
-
* @license lucide-react v0.456.0 - ISC
|
|
55
|
-
*
|
|
56
|
-
* This source code is licensed under the ISC license.
|
|
57
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/const tC=rr(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:i,...s},l)=>qr("svg",{ref:l,...eC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ch("lucide",o),...s},[...i.map(([u,c])=>qr(u,c)),...Array.isArray(a)?a:[a]]));/**
|
|
59
|
-
* @license lucide-react v0.456.0 - ISC
|
|
60
|
-
*
|
|
61
|
-
* This source code is licensed under the ISC license.
|
|
62
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/const uh=(e,t)=>{const n=rr(({className:r,...o},a)=>qr(tC,{ref:a,iconNode:t,className:ch(`lucide-${_x(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
|
|
64
|
-
* @license lucide-react v0.456.0 - ISC
|
|
65
|
-
*
|
|
66
|
-
* This source code is licensed under the ISC license.
|
|
67
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/const nC=uh("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
69
|
-
* @license lucide-react v0.456.0 - ISC
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the ISC license.
|
|
72
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/const rC=uh("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]),oC=St.div`
|
|
74
|
-
position: fixed;
|
|
75
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
|
|
76
|
-
border: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
|
|
77
|
-
border-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
|
|
78
|
-
box-shadow: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.shadow)||"0 1px 3px rgba(0, 0, 0, 0.12)"}};
|
|
79
|
-
z-index: 9999;
|
|
80
|
-
min-width: ${e=>e.$buttonRect?`${e.$buttonRect.width}px`:"auto"};
|
|
81
|
-
max-width: 300px;
|
|
82
|
-
overflow: hidden;
|
|
83
|
-
padding: 4px 0;
|
|
84
|
-
`,aC=St.div`
|
|
85
|
-
padding: 8px 12px;
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
display: flex;
|
|
88
|
-
align-items: center;
|
|
89
|
-
gap: 8px;
|
|
90
|
-
font-size: 12px;
|
|
91
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)||"#343a40"}};
|
|
92
|
-
background: transparent;
|
|
93
|
-
transition: background-color 0.2s;
|
|
94
|
-
|
|
95
|
-
&:hover {
|
|
96
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.disabledBackground)||"#F5F5F5"}};
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:first-child {
|
|
100
|
-
border-top-left-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
|
|
101
|
-
border-top-right-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&:last-child {
|
|
105
|
-
border-bottom-left-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
|
|
106
|
-
border-bottom-right-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
|
|
107
|
-
}
|
|
108
|
-
`,iC=St.div`
|
|
109
|
-
height: 1px;
|
|
110
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
|
|
111
|
-
margin: 4px 0;
|
|
112
|
-
`,wF=({mode:e="default",label:t="\u9009\u62E9\u9009\u9879",actions:n,styles:r,icon:o,disabled:a=!1,style:i,className:s,children:l,eventEmit:u,...c})=>{const[f,v]=Rt(!1),p=at(null),[b,g]=Rt(null),[h,y]=Rt({top:0,left:0}),m=qo(),x=sr(sr({theme:jn,mode:"light"},m),r);Yt(()=>{console.log("[DropDownButton] \u7EC4\u4EF6\u6302\u8F7D\uFF0CeventEmit:",u),console.log("[DropDownButton] actions:",n)},[u,n]);const C=()=>{if(!p.current)return;const E=p.current.getBoundingClientRect();g(E);const O=E.bottom+4,M=E.left;y({top:O,left:M})};Yt(()=>{if(!f)return;const E=N=>{p.current&&!p.current.contains(N.target)&&v(!1)},O=()=>v(!1),M=()=>v(!1);return document.addEventListener("mousedown",E),window.addEventListener("scroll",O,!0),window.addEventListener("resize",M),()=>{document.removeEventListener("mousedown",E),window.removeEventListener("scroll",O,!0),window.removeEventListener("resize",M)}},[f]);const w=E=>{u&&u("dropdown_action",{key:E}),v(!1)},S=()=>{a||(f||C(),v(!f))},k=()=>!f||!b?null:ee(oC,{$theme:x.theme||jn,$buttonRect:b,style:{top:h.top,left:h.left},children:n.map((E,O)=>E.type==="divider"?ee(iC,{$theme:x.theme||jn},E.key||`divider-${O}`):Ct(aC,{$theme:x.theme||jn,onMouseDown:M=>{M.preventDefault(),M.stopPropagation(),w(E.key),E.onClick&&E.onClick()},children:[E.icon&&ee("span",{className:"mr-2",children:E.icon}),E.component||E.label]},E.key||`action-${O}`))});return Ct("div",{ref:p,style:{position:"relative",display:"inline-block"},className:s,children:[Ct(ba,{mode:e,label:t,icon:o,disabled:a,onClick:S,styles:r,style:i,...c,children:[l,ee(nC,{size:14,style:{marginLeft:4,transition:"transform 0.2s",transform:f?"rotate(180deg)":"rotate(0deg)"}})]}),f&&ks(k(),document.body)]})},dh=({actions:e,onAction:t,direction:n="top",styles:r})=>{const[o,a]=Rt(!1),i=at(null),[s,l]=Rt({}),u=at(null);Yt(()=>{if(!o)return;const p=i.current;if(!p)return;const b=p.getBoundingClientRect(),g=window.scrollX||window.pageXOffset,h=window.scrollY||window.pageYOffset,y=128,m=8;let x={position:"absolute",left:b.right-y+g,width:y,zIndex:9999};if(n==="bottom")x.top=b.bottom+m-12+h;else{const C=e.length*30+1;x.top=b.top-m+10-C+h}l(x)},[o,n,e]),Yt(()=>{if(!o)return;const p=g=>{i.current&&i.current.contains(g.target)||u.current&&u.current.contains(g.target)||a(!1)},b=()=>a(!1);return document.addEventListener("mousedown",p),window.addEventListener("scroll",b,!0),()=>{document.removeEventListener("mousedown",p),window.removeEventListener("scroll",b,!0)}},[o]);const c=qo(),f=sr(sr({theme:jn,mode:"light"},c),r),v=ee("div",{ref:u,className:`origin-bottom-right absolute right-0 w-32 rounded-md shadow-lg focus:outline-none border transition-all duration-200 ease-in-out
|
|
113
|
-
${o?"opacity-100 translate-y-0 pointer-events-auto scale-100":"opacity-0 pointer-events-none scale-95"}
|
|
114
|
-
`,style:{...s,background:f.theme.colors.background,color:f.theme.colors.text,border:`1px solid ${f.theme.colors.border}`,borderRadius:f.theme.space.radius,boxShadow:f.theme.colors.shadow,minWidth:128,zIndex:9999},children:ee("div",{className:"py-1 px-2",children:e.map((p,b)=>p.type==="divider"?ee("div",{className:"my-2 bg-gray-100",style:{height:1}},p.key||`divider-${b}`):Ct("button",{className:"w-full rounded flex cursor-pointer items-center px-4 py-2 text-sm transition whitespace-nowrap",style:{color:f.theme.colors.text,background:"transparent",border:"none",fontSize:12},onClick:g=>{g.stopPropagation(),a(!1),t(p.key),p.onClick&&p.onClick()},type:"button",onMouseOver:g=>g.currentTarget.style.background=f.theme.colors.disabledBackground,onMouseOut:g=>g.currentTarget.style.background="transparent",children:[p.icon&&ee("span",{className:"mr-2",children:p.icon}),p.label]},p.key||`action-${b}`))})});return Ct(Hd,{children:[ee("button",{ref:i,className:"card-action-more-btn cursor-pointer! flex items-center justify-center w-9 h-9 rounded-sm transition border-none outline-none",style:{background:"transparent",color:f.theme.colors.primary,borderRadius:f.theme.space.radius},onClick:p=>{p.stopPropagation(),a(b=>!b)},tabIndex:0,"aria-label":"\u66F4\u591A\u64CD\u4F5C",type:"button",children:ee(rC,{size:18,className:"text-blue-500"})}),o&&ks(v,document.body)]})};if(typeof window<"u"&&!document.getElementById("card-action-more-btn-style")){const e=document.createElement("style");e.id="card-action-more-btn-style",e.innerHTML=`
|
|
115
|
-
.card-action-more-btn:hover {
|
|
116
|
-
background: #f5f6fa !important;
|
|
117
|
-
color: #222 !important;
|
|
118
|
-
box-shadow: 0 2px 8px 0 rgba(51,112,255,0.06);
|
|
119
|
-
}
|
|
120
|
-
`,document.head.appendChild(e)}const fh=({current:e,pageSize:t,total:n,onChange:r,showSizeChanger:o=!0,pageSizeOptions:a=[6,12,24,48],onPageSizeChange:i,theme:s,size:l="md",showPageNumbers:u=!0})=>{const c=Math.ceil(n/t);if(c<=1&&!o)return null;const f={colors:{background:"#ffffff",text:"#1f2937",border:"#d9d9d9",disabledBackground:"#f5f5f5",primary:"#1677ff"},space:{radius:"6px"},...s},v=(()=>{const C=[],w=[];for(let S=Math.max(2,e-2);S<=Math.min(c-1,e+2);S++)C.push(S);return e-2>2?w.push(1,"..."):w.push(1),w.push(...C),e+2<c-1?w.push("...",c):c>1&&w.push(c),w})(),p=l==="sm"?{height:24,minWidth:24,fontSize:12,paddingX:8}:{height:28,minWidth:28,fontSize:12,paddingX:8},[b,g]=ue.useState(""),h=()=>{if(!b||b.trim()==="")return;const C=parseInt(b,10);if(Number.isNaN(C))return;const w=Math.max(1,Math.min(c,C));w!==e&&r(w),g(String(w))},y={background:f.colors.background,color:f.colors.text,border:"1px solid transparent",borderRadius:f.space.radius,height:p.height,minWidth:p.minWidth,padding:`0 ${p.paddingX}px`,fontSize:p.fontSize,lineHeight:`${p.height}px`},m={...y,border:`1px solid ${f.colors.primary}`,color:f.colors.primary},x={background:"transparent",color:f.colors.text,border:"none",height:p.height,minWidth:p.minWidth,padding:`0 ${p.paddingX}px`,fontSize:p.fontSize,lineHeight:`${p.height}px`,borderRadius:f.space.radius};return Ct("div",{className:"flex items-center justify-center gap-2 select-none",children:[o&&Ct("div",{className:"flex items-center gap-2 mr-3",children:[ee("span",{style:{fontSize:p.fontSize,color:f.colors.text},children:"\u6BCF\u9875"}),ee("select",{value:t,onChange:C=>i&&i(parseInt(C.target.value,10)),style:{height:p.height,border:`1px solid ${f.colors.border}`,borderRadius:f.space.radius,padding:`0 ${p.paddingX}px`,background:f.colors.background,color:f.colors.text,fontSize:p.fontSize},"aria-label":"\u6BCF\u9875\u6761\u6570",children:a.map(C=>ee("option",{value:C,children:C},C))}),ee("span",{style:{fontSize:p.fontSize,color:f.colors.text},children:"\u6761"})]}),ee("button",{disabled:e===1,onClick:()=>r(e-1),className:"flex items-center justify-center disabled:opacity-40 disabled:cursor-not-allowed transition-colors duration-200",style:x,onMouseEnter:C=>{e!==1&&(C.currentTarget.style.color=f.colors.primary)},onMouseLeave:C=>{C.currentTarget.style.color=e===1?"#bfbfbf":f.colors.text},"aria-label":"\u4E0A\u4E00\u9875",children:ee("svg",{width:p.fontSize+4,height:p.fontSize+4,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{color:e===1?"#bfbfbf":void 0},children:ee("polyline",{points:"15,18 9,12 15,6"})})}),u&&v.map((C,w)=>{if(C==="...")return ee("span",{style:{...y,color:"#bfbfbf"},children:"..."},`ellipsis-${w}`);const S=C===e;return ee("button",{onClick:()=>r(C),className:"flex items-center justify-center transition-all duration-150",style:S?m:y,onMouseEnter:k=>{S||(k.currentTarget.style.borderColor=f.colors.primary,k.currentTarget.style.color=f.colors.primary)},onMouseLeave:k=>{S||(k.currentTarget.style.borderColor="transparent",k.currentTarget.style.color=f.colors.text)},"aria-label":`\u7B2C ${C} \u9875`,"aria-current":S?"page":void 0,children:C},C)}),ee("button",{disabled:e===c,onClick:()=>r(e+1),className:"flex items-center justify-center disabled:opacity-40 disabled:cursor-not-allowed transition-colors duration-200",style:x,onMouseEnter:C=>{e!==c&&(C.currentTarget.style.color=f.colors.primary)},onMouseLeave:C=>{C.currentTarget.style.color=e===c?"#bfbfbf":f.colors.text},"aria-label":"\u4E0B\u4E00\u9875",children:ee("svg",{width:p.fontSize+4,height:p.fontSize+4,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{color:e===c?"#bfbfbf":void 0},children:ee("polyline",{points:"9,18 15,12 9,6"})})}),Ct("div",{className:"flex items-center gap-2 ml-4",children:[ee("span",{style:{fontSize:p.fontSize,color:f.colors.text},children:"\u524D\u5F80"}),ee("input",{type:"number",inputMode:"numeric",min:1,max:c,value:b,onChange:C=>g(C.target.value),onKeyDown:C=>{C.key==="Enter"&&(C.preventDefault(),h())},onBlur:()=>h(),style:{height:p.height,width:l==="sm"?48:64,border:`1px solid ${f.colors.border}`,borderRadius:f.space.radius,padding:`0 ${p.paddingX}px`,background:f.colors.background,color:f.colors.text,fontSize:p.fontSize},"aria-label":"\u8DF3\u8F6C\u9875\u7801\u8F93\u5165"}),ee("span",{style:{fontSize:p.fontSize,color:f.colors.text},children:"\u9875"})]})]})};var mh={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Ud={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},lC=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],ts={CSS:{},springs:{}};function Hr(e,t,n){return Math.min(Math.max(e,t),n)}function di(e,t){return e.indexOf(t)>-1}function xc(e,t){return e.apply(null,t)}var vt={arr:function(e){return Array.isArray(e)},obj:function(e){return di(Object.prototype.toString.call(e),"Object")},pth:function(e){return vt.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||vt.svg(e)},str:function(e){return typeof e=="string"},fnc:function(e){return typeof e=="function"},und:function(e){return typeof e>"u"},nil:function(e){return vt.und(e)||e===null},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return vt.hex(e)||vt.rgb(e)||vt.hsl(e)},key:function(e){return!mh.hasOwnProperty(e)&&!Ud.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function ph(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map(function(n){return parseFloat(n)}):[]}function vh(e,t){var n=ph(e),r=Hr(vt.und(n[0])?1:n[0],.1,100),o=Hr(vt.und(n[1])?100:n[1],.1,100),a=Hr(vt.und(n[2])?10:n[2],.1,100),i=Hr(vt.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),l=a/(2*Math.sqrt(o*r)),u=l<1?s*Math.sqrt(1-l*l):0,c=1,f=l<1?(l*s+-i)/u:-i+s;function v(b){var g=t?t*b/1e3:b;return l<1?g=Math.exp(-g*l*s)*(c*Math.cos(u*g)+f*Math.sin(u*g)):g=(c+f*g)*Math.exp(-g*s),b===0||b===1?b:1-g}function p(){var b=ts.springs[e];if(b)return b;for(var g=1/6,h=0,y=0;;)if(h+=g,v(h)===1){if(y++,y>=16)break}else y=0;var m=h*g*1e3;return ts.springs[e]=m,m}return t?v:p}function sC(e){return e===void 0&&(e=10),function(t){return Math.ceil(Hr(t,1e-6,1)*e)*(1/e)}}var cC=(function(){var e=11,t=1/(e-1);function n(c,f){return 1-3*f+3*c}function r(c,f){return 3*f-6*c}function o(c){return 3*c}function a(c,f,v){return((n(f,v)*c+r(f,v))*c+o(f))*c}function i(c,f,v){return 3*n(f,v)*c*c+2*r(f,v)*c+o(f)}function s(c,f,v,p,b){var g,h,y=0;do h=f+(v-f)/2,g=a(h,p,b)-c,g>0?v=h:f=h;while(Math.abs(g)>1e-7&&++y<10);return h}function l(c,f,v,p){for(var b=0;b<4;++b){var g=i(f,v,p);if(g===0)return f;var h=a(f,v,p)-c;f-=h/g}return f}function u(c,f,v,p){if(!(0<=c&&c<=1&&0<=v&&v<=1))return;var b=new Float32Array(e);if(c!==f||v!==p)for(var g=0;g<e;++g)b[g]=a(g*t,c,v);function h(y){for(var m=0,x=1,C=e-1;x!==C&&b[x]<=y;++x)m+=t;--x;var w=(y-b[x])/(b[x+1]-b[x]),S=m+w*t,k=i(S,c,v);return k>=.001?l(y,S,c,v):k===0?S:s(y,m,m+t,c,v)}return function(y){return c===f&&v===p||y===0||y===1?y:a(h(y),f,p)}}return u})(),gh=(function(){var e={linear:function(){return function(r){return r}}},t={Sine:function(){return function(r){return 1-Math.cos(r*Math.PI/2)}},Expo:function(){return function(r){return r?Math.pow(2,10*r-10):0}},Circ:function(){return function(r){return 1-Math.sqrt(1-r*r)}},Back:function(){return function(r){return r*r*(3*r-2)}},Bounce:function(){return function(r){for(var o,a=4;r<((o=Math.pow(2,--a))-1)/11;);return 1/Math.pow(4,3-a)-7.5625*Math.pow((o*3-2)/22-r,2)}},Elastic:function(r,o){r===void 0&&(r=1),o===void 0&&(o=.5);var a=Hr(r,1,10),i=Hr(o,.1,2);return function(s){return s===0||s===1?s:-a*Math.pow(2,10*(s-1))*Math.sin((s-1-i/(Math.PI*2)*Math.asin(1/a))*(Math.PI*2)/i)}}},n=["Quad","Cubic","Quart","Quint"];return n.forEach(function(r,o){t[r]=function(){return function(a){return Math.pow(a,o+2)}}}),Object.keys(t).forEach(function(r){var o=t[r];e["easeIn"+r]=o,e["easeOut"+r]=function(a,i){return function(s){return 1-o(a,i)(1-s)}},e["easeInOut"+r]=function(a,i){return function(s){return s<.5?o(a,i)(s*2)/2:1-o(a,i)(s*-2+2)/2}},e["easeOutIn"+r]=function(a,i){return function(s){return s<.5?(1-o(a,i)(1-s*2))/2:(o(a,i)(s*2-1)+1)/2}}}),e})();function Xd(e,t){if(vt.fnc(e))return e;var n=e.split("(")[0],r=gh[n],o=ph(e);switch(n){case"spring":return vh(e,t);case"cubicBezier":return xc(cC,o);case"steps":return xc(sC,o);default:return xc(r,o)}}function hh(e){try{var t=document.querySelectorAll(e);return t}catch{return}}function Rs(e,t){for(var n=e.length,r=arguments.length>=2?arguments[1]:void 0,o=[],a=0;a<n;a++)if(a in e){var i=e[a];t.call(r,i,a,e)&&o.push(i)}return o}function As(e){return e.reduce(function(t,n){return t.concat(vt.arr(n)?As(n):n)},[])}function wm(e){return vt.arr(e)?e:(vt.str(e)&&(e=hh(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function Zd(e,t){return e.some(function(n){return n===t})}function Qd(e){var t={};for(var n in e)t[n]=e[n];return t}function fu(e,t){var n=Qd(e);for(var r in e)n[r]=t.hasOwnProperty(r)?t[r]:e[r];return n}function Ds(e,t){var n=Qd(e);for(var r in t)n[r]=vt.und(e[r])?t[r]:e[r];return n}function uC(e){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return t?"rgba("+t[1]+",1)":e}function dC(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(t,function(s,l,u,c){return l+l+u+u+c+c}),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),o=parseInt(r[1],16),a=parseInt(r[2],16),i=parseInt(r[3],16);return"rgba("+o+","+a+","+i+",1)"}function fC(e){var t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),n=parseInt(t[1],10)/360,r=parseInt(t[2],10)/100,o=parseInt(t[3],10)/100,a=t[4]||1;function i(v,p,b){return b<0&&(b+=1),b>1&&(b-=1),b<1/6?v+(p-v)*6*b:b<1/2?p:b<2/3?v+(p-v)*(2/3-b)*6:v}var s,l,u;if(r==0)s=l=u=o;else{var c=o<.5?o*(1+r):o+r-o*r,f=2*o-c;s=i(f,c,n+1/3),l=i(f,c,n),u=i(f,c,n-1/3)}return"rgba("+s*255+","+l*255+","+u*255+","+a+")"}function mC(e){if(vt.rgb(e))return uC(e);if(vt.hex(e))return dC(e);if(vt.hsl(e))return fC(e)}function eo(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function pC(e){if(di(e,"translate")||e==="perspective")return"px";if(di(e,"rotate")||di(e,"skew"))return"deg"}function mu(e,t){return vt.fnc(e)?e(t.target,t.id,t.total):e}function Lr(e,t){return e.getAttribute(t)}function Jd(e,t,n){var r=eo(t);if(Zd([n,"deg","rad","turn"],r))return t;var o=ts.CSS[t+n];if(!vt.und(o))return o;var a=100,i=document.createElement(e.tagName),s=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;s.appendChild(i),i.style.position="absolute",i.style.width=a+n;var l=a/i.offsetWidth;s.removeChild(i);var u=l*parseFloat(t);return ts.CSS[t+n]=u,u}function bh(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Jd(e,o,n):o}}function _d(e,t){if(vt.dom(e)&&!vt.inp(e)&&(!vt.nil(Lr(e,t))||vt.svg(e)&&e[t]))return"attribute";if(vt.dom(e)&&Zd(lC,t))return"transform";if(vt.dom(e)&&t!=="transform"&&bh(e,t))return"css";if(e[t]!=null)return"object"}function yh(e){if(vt.dom(e)){for(var t=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,r=new Map,o;o=n.exec(t);)r.set(o[1],o[2]);return r}}function vC(e,t,n,r){var o=di(t,"scale")?1:0+pC(t),a=yh(e).get(t)||o;return n&&(n.transforms.list.set(t,a),n.transforms.last=t),r?Jd(e,a,r):a}function ef(e,t,n,r){switch(_d(e,t)){case"transform":return vC(e,t,r,n);case"css":return bh(e,t,n);case"attribute":return Lr(e,t);default:return e[t]||0}}function tf(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=eo(e)||0,o=parseFloat(t),a=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+a+r;case"-":return o-a+r;case"*":return o*a+r}}function xh(e,t){if(vt.col(e))return mC(e);if(/\s/g.test(e))return e;var n=eo(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function nf(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function gC(e){return Math.PI*2*Lr(e,"r")}function hC(e){return Lr(e,"width")*2+Lr(e,"height")*2}function bC(e){return nf({x:Lr(e,"x1"),y:Lr(e,"y1")},{x:Lr(e,"x2"),y:Lr(e,"y2")})}function Ch(e){for(var t=e.points,n=0,r,o=0;o<t.numberOfItems;o++){var a=t.getItem(o);o>0&&(n+=nf(r,a)),r=a}return n}function yC(e){var t=e.points;return Ch(e)+nf(t.getItem(t.numberOfItems-1),t.getItem(0))}function wh(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return gC(e);case"rect":return hC(e);case"line":return bC(e);case"polyline":return Ch(e);case"polygon":return yC(e)}}function xC(e){var t=wh(e);return e.setAttribute("stroke-dasharray",t),t}function CC(e){for(var t=e.parentNode;vt.svg(t)&&vt.svg(t.parentNode);)t=t.parentNode;return t}function Sh(e,t){var n=t||{},r=n.el||CC(e),o=r.getBoundingClientRect(),a=Lr(r,"viewBox"),i=o.width,s=o.height,l=n.viewBox||(a?a.split(" "):[0,0,i,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:i,h:s,vW:l[2],vH:l[3]}}function wC(e,t){var n=vt.str(e)?hh(e)[0]:e,r=t||100;return function(o){return{property:o,el:n,svg:Sh(n),totalLength:wh(n)*(r/100)}}}function SC(e,t,n){function r(c){c===void 0&&(c=0);var f=t+c>=1?t+c:0;return e.el.getPointAtLength(f)}var o=Sh(e.el,e.svg),a=r(),i=r(-1),s=r(1),l=n?1:o.w/o.vW,u=n?1:o.h/o.vH;switch(e.property){case"x":return(a.x-o.x)*l;case"y":return(a.y-o.y)*u;case"angle":return Math.atan2(s.y-i.y,s.x-i.x)*180/Math.PI}}function Sm(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=xh(vt.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:vt.str(e)||t?r.split(n):[]}}function rf(e){var t=e?As(vt.arr(e)?e.map(wm):wm(e)):[];return Rs(t,function(n,r,o){return o.indexOf(n)===r})}function Eh(e){var t=rf(e);return t.map(function(n,r){return{target:n,id:r,total:t.length,transforms:{list:yh(n)}}})}function EC(e,t){var n=Qd(t);if(/^spring/.test(n.easing)&&(n.duration=vh(n.easing)),vt.arr(e)){var r=e.length,o=r===2&&!vt.obj(e[0]);o?e={value:e}:vt.fnc(t.duration)||(n.duration=t.duration/r)}var a=vt.arr(e)?e:[e];return a.map(function(i,s){var l=vt.obj(i)&&!vt.pth(i)?i:{value:i};return vt.und(l.delay)&&(l.delay=s?0:t.delay),vt.und(l.endDelay)&&(l.endDelay=s===a.length-1?t.endDelay:0),l}).map(function(i){return Ds(i,n)})}function kC(e){for(var t=Rs(As(e.map(function(a){return Object.keys(a)})),function(a){return vt.key(a)}).reduce(function(a,i){return a.indexOf(i)<0&&a.push(i),a},[]),n={},r=function(a){var i=t[a];n[i]=e.map(function(s){var l={};for(var u in s)vt.key(u)?u==i&&(l.value=s[u]):l[u]=s[u];return l})},o=0;o<t.length;o++)r(o);return n}function IC(e,t){var n=[],r=t.keyframes;r&&(t=Ds(kC(r),t));for(var o in t)vt.key(o)&&n.push({name:o,tweens:EC(t[o],e)});return n}function MC(e,t){var n={};for(var r in e){var o=mu(e[r],t);vt.arr(o)&&(o=o.map(function(a){return mu(a,t)}),o.length===1&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function NC(e,t){var n;return e.tweens.map(function(r){var o=MC(r,t),a=o.value,i=vt.arr(a)?a[1]:a,s=eo(i),l=ef(t.target,e.name,s,t),u=n?n.to.original:l,c=vt.arr(a)?a[0]:u,f=eo(c)||eo(l),v=s||f;return vt.und(i)&&(i=u),o.from=Sm(c,v),o.to=Sm(tf(i,c),v),o.start=n?n.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=Xd(o.easing,o.duration),o.isPath=vt.pth(a),o.isPathTargetInsideSVG=o.isPath&&vt.svg(t.target),o.isColor=vt.col(o.from.original),o.isColor&&(o.round=1),n=o,o})}var kh={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,o){if(r.list.set(t,n),t===r.last||o){var a="";r.list.forEach(function(i,s){a+=s+"("+i+") "}),e.style.transform=a}}};function Ih(e,t){var n=Eh(e);n.forEach(function(r){for(var o in t){var a=mu(t[o],r),i=r.target,s=eo(a),l=ef(i,o,s,r),u=s||eo(l),c=tf(xh(a,u),l),f=_d(i,o);kh[f](i,o,c,r.transforms,!0)}})}function OC(e,t){var n=_d(e.target,t.name);if(n){var r=NC(t,e),o=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:o.end,delay:r[0].delay,endDelay:o.endDelay}}}function PC(e,t){return Rs(As(e.map(function(n){return t.map(function(r){return OC(n,r)})})),function(n){return!vt.und(n)})}function Mh(e,t){var n=e.length,r=function(a){return a.timelineOffset?a.timelineOffset:0},o={};return o.duration=n?Math.max.apply(Math,e.map(function(a){return r(a)+a.duration})):t.duration,o.delay=n?Math.min.apply(Math,e.map(function(a){return r(a)+a.delay})):t.delay,o.endDelay=n?o.duration-Math.max.apply(Math,e.map(function(a){return r(a)+a.duration-a.endDelay})):t.endDelay,o}var Em=0;function RC(e){var t=fu(mh,e),n=fu(Ud,e),r=IC(n,e),o=Eh(e.targets),a=PC(o,r),i=Mh(a,n),s=Em;return Em++,Ds(t,{id:s,children:[],animatables:o,animations:a,duration:i.duration,delay:i.delay,endDelay:i.endDelay})}var Nr=[],Nh=(function(){var e;function t(){!e&&(!km()||!wn.suspendWhenDocumentHidden)&&Nr.length>0&&(e=requestAnimationFrame(n))}function n(o){for(var a=Nr.length,i=0;i<a;){var s=Nr[i];s.paused?(Nr.splice(i,1),a--):(s.tick(o),i++)}e=i>0?requestAnimationFrame(n):void 0}function r(){wn.suspendWhenDocumentHidden&&(km()?e=cancelAnimationFrame(e):(Nr.forEach(function(o){return o._onDocumentVisibility()}),Nh()))}return typeof document<"u"&&document.addEventListener("visibilitychange",r),t})();function km(){return!!document&&document.hidden}function wn(e){e===void 0&&(e={});var t=0,n=0,r=0,o,a=0,i=null;function s(m){var x=window.Promise&&new Promise(function(C){return i=C});return m.finished=x,x}var l=RC(e);s(l);function u(){var m=l.direction;m!=="alternate"&&(l.direction=m!=="normal"?"normal":"reverse"),l.reversed=!l.reversed,o.forEach(function(x){return x.reversed=l.reversed})}function c(m){return l.reversed?l.duration-m:m}function f(){t=0,n=c(l.currentTime)*(1/wn.speed)}function v(m,x){x&&x.seek(m-x.timelineOffset)}function p(m){if(l.reversePlayback)for(var C=a;C--;)v(m,o[C]);else for(var x=0;x<a;x++)v(m,o[x])}function b(m){for(var x=0,C=l.animations,w=C.length;x<w;){var S=C[x],k=S.animatable,E=S.tweens,O=E.length-1,M=E[O];O&&(M=Rs(E,function(_){return m<_.end})[0]||M);for(var N=Hr(m-M.start-M.delay,0,M.duration)/M.duration,R=isNaN(N)?1:M.easing(N),A=M.to.strings,I=M.round,P=[],D=M.to.numbers.length,j=void 0,$=0;$<D;$++){var z=void 0,L=M.to.numbers[$],B=M.from.numbers[$]||0;M.isPath?z=SC(M.value,R*L,M.isPathTargetInsideSVG):z=B+R*(L-B),I&&(M.isColor&&$>2||(z=Math.round(z*I)/I)),P.push(z)}var F=A.length;if(!F)j=P[0];else{j=A[0];for(var H=0;H<F;H++){A[H];var W=A[H+1],V=P[H];isNaN(V)||(W?j+=V+W:j+=V+" ")}}kh[S.type](k.target,S.property,j,k.transforms),S.currentValue=j,x++}}function g(m){l[m]&&!l.passThrough&&l[m](l)}function h(){l.remaining&&l.remaining!==!0&&l.remaining--}function y(m){var x=l.duration,C=l.delay,w=x-l.endDelay,S=c(m);l.progress=Hr(S/x*100,0,100),l.reversePlayback=S<l.currentTime,o&&p(S),!l.began&&l.currentTime>0&&(l.began=!0,g("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,g("loopBegin")),S<=C&&l.currentTime!==0&&b(0),(S>=w&&l.currentTime!==x||!x)&&b(x),S>C&&S<w?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,g("changeBegin")),g("change"),b(S)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,g("changeComplete")),l.currentTime=Hr(S,0,x),l.began&&g("update"),m>=x&&(n=0,h(),l.remaining?(t=r,g("loopComplete"),l.loopBegan=!1,l.direction==="alternate"&&u()):(l.paused=!0,l.completed||(l.completed=!0,g("loopComplete"),g("complete"),!l.passThrough&&"Promise"in window&&(i(),s(l)))))}return l.reset=function(){var m=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed=m==="reverse",l.remaining=l.loop,o=l.children,a=o.length;for(var x=a;x--;)l.children[x].reset();(l.reversed&&l.loop!==!0||m==="alternate"&&l.loop===1)&&l.remaining++,b(l.reversed?l.duration:0)},l._onDocumentVisibility=f,l.set=function(m,x){return Ih(m,x),l},l.tick=function(m){r=m,t||(t=r),y((r+(n-t))*wn.speed)},l.seek=function(m){y(c(m))},l.pause=function(){l.paused=!0,f()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Nr.push(l),f(),Nh())},l.reverse=function(){u(),l.completed=!l.reversed,f()},l.restart=function(){l.reset(),l.play()},l.remove=function(m){var x=rf(m);Oh(x,l)},l.reset(),l.autoplay&&l.play(),l}function Im(e,t){for(var n=t.length;n--;)Zd(e,t[n].animatable.target)&&t.splice(n,1)}function Oh(e,t){var n=t.animations,r=t.children;Im(e,n);for(var o=r.length;o--;){var a=r[o],i=a.animations;Im(e,i),!i.length&&!a.children.length&&r.splice(o,1)}!n.length&&!r.length&&t.pause()}function AC(e){for(var t=rf(e),n=Nr.length;n--;){var r=Nr[n];Oh(t,r)}}function DC(e,t){t===void 0&&(t={});var n=t.direction||"normal",r=t.easing?Xd(t.easing):null,o=t.grid,a=t.axis,i=t.from||0,s=i==="first",l=i==="center",u=i==="last",c=vt.arr(e),f=parseFloat(c?e[0]:e),v=c?parseFloat(e[1]):0,p=eo(c?e[1]:e)||0,b=t.start||0+(c?f:0),g=[],h=0;return function(y,m,x){if(s&&(i=0),l&&(i=(x-1)/2),u&&(i=x-1),!g.length){for(var C=0;C<x;C++){if(!o)g.push(Math.abs(i-C));else{var w=l?(o[0]-1)/2:i%o[0],S=l?(o[1]-1)/2:Math.floor(i/o[0]),k=C%o[0],E=Math.floor(C/o[0]),O=w-k,M=S-E,N=Math.sqrt(O*O+M*M);a==="x"&&(N=-O),a==="y"&&(N=-M),g.push(N)}h=Math.max.apply(Math,g)}r&&(g=g.map(function(A){return r(A/h)*h})),n==="reverse"&&(g=g.map(function(A){return a?A<0?A*-1:-A:Math.abs(h-A)}))}var R=c?(v-f)/h:f;return b+R*(Math.round(g[m]*100)/100)+p}}function jC(e){e===void 0&&(e={});var t=wn(e);return t.duration=0,t.add=function(n,r){var o=Nr.indexOf(t),a=t.children;o>-1&&Nr.splice(o,1);function i(v){v.passThrough=!0}for(var s=0;s<a.length;s++)i(a[s]);var l=Ds(n,fu(Ud,e));l.targets=l.targets||e.targets;var u=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=vt.und(r)?u:tf(r,u),i(t),t.seek(l.timelineOffset);var c=wn(l);i(c),a.push(c);var f=Mh(a,e);return t.delay=f.delay,t.endDelay=f.endDelay,t.duration=f.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t}wn.version="3.2.1";wn.speed=1;wn.suspendWhenDocumentHidden=!0;wn.running=Nr;wn.remove=AC;wn.get=ef;wn.set=Ih;wn.convertPx=Jd;wn.path=wC;wn.setDashoffset=xC;wn.stagger=DC;wn.timeline=jC;wn.easing=Xd;wn.penner=gh;wn.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};/**
|
|
121
|
-
* @license lucide-react v0.456.0 - ISC
|
|
122
|
-
*
|
|
123
|
-
* This source code is licensed under the ISC license.
|
|
124
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
125
|
-
*/const $C=Lg("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
126
|
-
* @license lucide-react v0.456.0 - ISC
|
|
127
|
-
*
|
|
128
|
-
* This source code is licensed under the ISC license.
|
|
129
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
130
|
-
*/const Ph=Lg("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var js=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,a=t.children,i=t.onMouseDown,s=t.onClick,l=typeof r=="function"?r(o):r;return d.createElement("span",{className:n,onMouseDown:function(c){c.preventDefault(),i==null||i(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},l!==void 0?l:d.createElement("span",{className:et(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},a))},FC=function(t,n,r,o,a){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,u=ue.useMemo(function(){if($r(o)==="object")return o.clearIcon;if(a)return a},[o,a]),c=ue.useMemo(function(){return!!(!i&&o&&(r.length||s)&&!(l==="combobox"&&s===""))},[o,i,r.length,s,l]);return{allowClear:c,clearIcon:ue.createElement(js,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"\xD7")}},Rh=d.createContext(null);function TC(){return d.useContext(Rh)}function BC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=d.useState(!1),n=ye(t,2),r=n[0],o=n[1],a=d.useRef(null),i=function(){window.clearTimeout(a.current)};d.useEffect(function(){return i},[]);var s=function(u,c){i(),a.current=window.setTimeout(function(){o(u),c&&c()},e)};return[r,s,i]}function Ah(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=d.useRef(null),n=d.useRef(null);d.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(o){(o||t.current===null)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function zC(e,t,n,r){var o=d.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},d.useEffect(function(){function a(i){var s;if(!((s=o.current)!==null&&s!==void 0&&s.customizedTrigger)){var l=i.target;l.shadowRoot&&i.composed&&(l=i.composedPath()[0]||l),o.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(l)&&u!==l})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",a),function(){return window.removeEventListener("mousedown",a)}},[])}function HC(e){return e&&![st.ESC,st.SHIFT,st.BACKSPACE,st.TAB,st.WIN_KEY,st.ALT,st.META,st.WIN_KEY_RIGHT,st.CTRL,st.SEMICOLON,st.EQUALS,st.CAPS_LOCK,st.CONTEXT_MENU,st.F1,st.F2,st.F3,st.F4,st.F5,st.F6,st.F7,st.F8,st.F9,st.F10,st.F11,st.F12].includes(e)}function LC(e,t,n){var r=Be(Be({},e),t);return Object.keys(t).forEach(function(o){var a=t[o];typeof a=="function"&&(r[o]=function(){for(var i,s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];return a.apply(void 0,l),(i=e[o])===null||i===void 0?void 0:i.call.apply(i,[e].concat(l))})}),r}var VC=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],WC=function(t,n){var r=t.prefixCls,o=t.id,a=t.inputElement,i=t.autoFocus,s=t.autoComplete,l=t.editable,u=t.activeDescendantId,c=t.value,f=t.open,v=t.attrs,p=Fn(t,VC),b=a||d.createElement("input",null),g=b,h=g.ref,y=g.props;return Ix(!("maxLength"in b.props)),b=d.cloneElement(b,Be(Be(Be({type:"search"},LC(p,y)),{},{id:o,ref:Li(n,h),autoComplete:s||"off",autoFocus:i,className:et("".concat(r,"-selection-search-input"),y==null?void 0:y.className),role:"combobox","aria-expanded":f||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":f?u:void 0},v),{},{value:l?c:"",readOnly:!l,unselectable:l?null:"on",style:Be(Be({},y.style),{},{opacity:l?null:0})})),b},Dh=d.forwardRef(WC);function jh(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var KC=typeof window<"u"&&window.document&&window.document.documentElement,YC=KC;function qC(e){return e!=null}function GC(e){return!e&&e!==0}function Mm(e){return["string","number"].includes($r(e))}function $h(e){var t=void 0;return e&&(Mm(e.title)?t=e.title.toString():Mm(e.label)&&(t=e.label.toString())),t}function UC(e,t){YC?d.useLayoutEffect(e,t):d.useEffect(e,t)}function XC(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var Nm=function(t){t.preventDefault(),t.stopPropagation()},ZC=function(t){var n=t.id,r=t.prefixCls,o=t.values,a=t.open,i=t.searchValue,s=t.autoClearSearchValue,l=t.inputRef,u=t.placeholder,c=t.disabled,f=t.mode,v=t.showSearch,p=t.autoFocus,b=t.autoComplete,g=t.activeDescendantId,h=t.tabIndex,y=t.removeIcon,m=t.maxTagCount,x=t.maxTagTextLength,C=t.maxTagPlaceholder,w=C===void 0?function(Z){return"+ ".concat(Z.length," ...")}:C,S=t.tagRender,k=t.onToggleOpen,E=t.onRemove,O=t.onInputChange,M=t.onInputPaste,N=t.onInputKeyDown,R=t.onInputMouseDown,A=t.onInputCompositionStart,I=t.onInputCompositionEnd,P=t.onInputBlur,D=d.useRef(null),j=Rt(0),$=ye(j,2),z=$[0],L=$[1],B=Rt(!1),F=ye(B,2),H=F[0],W=F[1],V="".concat(r,"-selection"),_=a||f==="multiple"&&s===!1||f==="tags"?i:"",q=f==="tags"||f==="multiple"&&s===!1||v&&(a||H);UC(function(){L(D.current.scrollWidth)},[_]);var U=function(J,ne,ae,le,be){return d.createElement("span",{title:$h(J),className:et("".concat(V,"-item"),He({},"".concat(V,"-item-disabled"),ae))},d.createElement("span",{className:"".concat(V,"-item-content")},ne),le&&d.createElement(js,{className:"".concat(V,"-item-remove"),onMouseDown:Nm,onClick:be,customizeIcon:y},"\xD7"))},Q=function(J,ne,ae,le,be,Ce){var de=function(oe){Nm(oe),k(!a)};return d.createElement("span",{onMouseDown:de},S({label:ne,value:J,disabled:ae,closable:le,onClose:be,isMaxTag:!!Ce}))},te=function(J){var ne=J.disabled,ae=J.label,le=J.value,be=!c&&!ne,Ce=ae;if(typeof x=="number"&&(typeof ae=="string"||typeof ae=="number")){var de=String(Ce);de.length>x&&(Ce="".concat(de.slice(0,x),"..."))}var Se=function(se){se&&se.stopPropagation(),E(J)};return typeof S=="function"?Q(le,Ce,ne,be,Se):U(J,Ce,ne,be,Se)},X=function(J){if(!o.length)return null;var ne=typeof w=="function"?w(J):w;return typeof S=="function"?Q(void 0,ne,!1,!1,void 0,!0):U({title:ne},ne,!1)},Y=d.createElement("div",{className:"".concat(V,"-search"),style:{width:z},onFocus:function(){W(!0)},onBlur:function(){W(!1)}},d.createElement(Dh,{ref:l,open:a,prefixCls:r,id:n,inputElement:null,disabled:c,autoFocus:p,autoComplete:b,editable:q,activeDescendantId:g,value:_,onKeyDown:N,onMouseDown:R,onChange:O,onPaste:M,onCompositionStart:A,onCompositionEnd:I,onBlur:P,tabIndex:h,attrs:wo(t,!0)}),d.createElement("span",{ref:D,className:"".concat(V,"-search-mirror"),"aria-hidden":!0},_,"\xA0")),T=d.createElement(Vg,{prefixCls:"".concat(V,"-overflow"),data:o,renderItem:te,renderRest:X,suffix:Y,itemKey:XC,maxCount:m});return d.createElement("span",{className:"".concat(V,"-wrap")},T,!o.length&&!_&&d.createElement("span",{className:"".concat(V,"-placeholder")},u))},QC=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,a=t.inputRef,i=t.disabled,s=t.autoFocus,l=t.autoComplete,u=t.activeDescendantId,c=t.mode,f=t.open,v=t.values,p=t.placeholder,b=t.tabIndex,g=t.showSearch,h=t.searchValue,y=t.activeValue,m=t.maxLength,x=t.onInputKeyDown,C=t.onInputMouseDown,w=t.onInputChange,S=t.onInputPaste,k=t.onInputCompositionStart,E=t.onInputCompositionEnd,O=t.onInputBlur,M=t.title,N=d.useState(!1),R=ye(N,2),A=R[0],I=R[1],P=c==="combobox",D=P||g,j=v[0],$=h||"";P&&y&&!A&&($=y),d.useEffect(function(){P&&I(!1)},[P,y]);var z=c!=="combobox"&&!f&&!g?!1:!!$,L=M===void 0?$h(j):M,B=d.useMemo(function(){return j?null:d.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:z?{visibility:"hidden"}:void 0},p)},[j,z,p,r]);return d.createElement("span",{className:"".concat(r,"-selection-wrap")},d.createElement("span",{className:"".concat(r,"-selection-search")},d.createElement(Dh,{ref:a,prefixCls:r,id:o,open:f,inputElement:n,disabled:i,autoFocus:s,autoComplete:l,editable:D,activeDescendantId:u,value:$,onKeyDown:x,onMouseDown:C,onChange:function(H){I(!0),w(H)},onPaste:S,onCompositionStart:k,onCompositionEnd:E,onBlur:O,tabIndex:b,attrs:wo(t,!0),maxLength:P?m:void 0})),!P&&j?d.createElement("span",{className:"".concat(r,"-selection-item"),title:L,style:z?{visibility:"hidden"}:void 0},j.label):null,B)},JC=function(t,n){var r=at(null),o=at(!1),a=t.prefixCls,i=t.open,s=t.mode,l=t.showSearch,u=t.tokenWithEnter,c=t.disabled,f=t.prefix,v=t.autoClearSearchValue,p=t.onSearch,b=t.onSearchSubmit,g=t.onToggleOpen,h=t.onInputKeyDown,y=t.onInputBlur,m=t.domRef;d.useImperativeHandle(n,function(){return{focus:function(L){r.current.focus(L)},blur:function(){r.current.blur()}}});var x=Ah(0),C=ye(x,2),w=C[0],S=C[1],k=function(L){var B=L.which,F=r.current instanceof HTMLTextAreaElement;!F&&i&&(B===st.UP||B===st.DOWN)&&L.preventDefault(),h&&h(L),B===st.ENTER&&s==="tags"&&!o.current&&!i&&(b==null||b(L.target.value)),!(F&&!i&&~[st.UP,st.DOWN,st.LEFT,st.RIGHT].indexOf(B))&&HC(B)&&g(!0)},E=function(){S(!0)},O=at(null),M=function(L){p(L,!0,o.current)!==!1&&g(!0)},N=function(){o.current=!0},R=function(L){o.current=!1,s!=="combobox"&&M(L.target.value)},A=function(L){var B=L.target.value;if(u&&O.current&&/[\r\n]/.test(O.current)){var F=O.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");B=B.replace(F,O.current)}O.current=null,M(B)},I=function(L){var B=L.clipboardData,F=B==null?void 0:B.getData("text");O.current=F||""},P=function(L){var B=L.target;if(B!==r.current){var F=document.body.style.msTouchAction!==void 0;F?setTimeout(function(){r.current.focus()}):r.current.focus()}},D=function(L){var B=w();L.target!==r.current&&!B&&!(s==="combobox"&&c)&&L.preventDefault(),(s!=="combobox"&&(!l||!B)||!i)&&(i&&v!==!1&&p("",!0,!1),g())},j={inputRef:r,onInputKeyDown:k,onInputMouseDown:E,onInputChange:A,onInputPaste:I,onInputCompositionStart:N,onInputCompositionEnd:R,onInputBlur:y},$=s==="multiple"||s==="tags"?d.createElement(ZC,yt({},t,j)):d.createElement(QC,yt({},t,j));return d.createElement("div",{ref:m,className:"".concat(a,"-selector"),onClick:P,onMouseDown:D},f&&d.createElement("div",{className:"".concat(a,"-prefix")},f),$)},_C=d.forwardRef(JC),ew=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],tw=function(t){var n=t===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},nw=function(t,n){var r=t.prefixCls;t.disabled;var o=t.visible,a=t.children,i=t.popupElement,s=t.animation,l=t.transitionName,u=t.dropdownStyle,c=t.dropdownClassName,f=t.direction,v=f===void 0?"ltr":f,p=t.placement,b=t.builtinPlacements,g=t.dropdownMatchSelectWidth,h=t.dropdownRender,y=t.dropdownAlign,m=t.getPopupContainer,x=t.empty,C=t.getTriggerDOMNode,w=t.onPopupVisibleChange,S=t.onPopupMouseEnter,k=Fn(t,ew),E="".concat(r,"-dropdown"),O=i;h&&(O=h(i));var M=d.useMemo(function(){return b||tw(g)},[b,g]),N=s?"".concat(E,"-").concat(s):l,R=typeof g=="number",A=d.useMemo(function(){return R?null:g===!1?"minWidth":"width"},[g,R]),I=u;R&&(I=Be(Be({},I),{},{width:g}));var P=d.useRef(null);return d.useImperativeHandle(n,function(){return{getPopupElement:function(){var j;return(j=P.current)===null||j===void 0?void 0:j.popupElement}}}),d.createElement(Wg,yt({},k,{showAction:w?["click"]:[],hideAction:w?["click"]:[],popupPlacement:p||(v==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:M,prefixCls:E,popupTransitionName:N,popup:d.createElement("div",{onMouseEnter:S},O),ref:P,stretch:A,popupAlign:y,popupVisible:o,getPopupContainer:m,popupClassName:et(c,He({},"".concat(E,"-empty"),x)),popupStyle:I,getTriggerDOMNode:C,onPopupVisibleChange:w}),a)},rw=d.forwardRef(nw);function Om(e,t){var n=e.key,r;return"value"in e&&(r=e.value),n??(r!==void 0?r:"rc-index-key-".concat(t))}function pu(e){return typeof e<"u"&&!Number.isNaN(e)}function Fh(e,t){var n=e||{},r=n.label,o=n.value,a=n.options,i=n.groupLabel,s=r||(t?"children":"label");return{label:s,value:o||"value",options:a||"options",groupLabel:i||s}}function ow(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],a=Fh(n,!1),i=a.label,s=a.value,l=a.options,u=a.groupLabel;function c(f,v){Array.isArray(f)&&f.forEach(function(p){if(v||!(l in p)){var b=p[s];o.push({key:Om(p,o.length),groupOption:v,data:p,label:p[i],value:b})}else{var g=p[u];g===void 0&&r&&(g=p.label),o.push({key:Om(p,o.length),group:!0,data:p,label:g}),c(p[l],!0)}})}return c(e,!1),o}function vu(e){var t=Be({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return xi(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var aw=function(t,n,r){if(!n||!n.length)return null;var o=!1,a=function s(l,u){var c=Mx(u),f=c[0],v=c.slice(1);if(!f)return[l];var p=l.split(f);return o=o||p.length>1,p.reduce(function(b,g){return[].concat(Ft(b),Ft(s(g,v)))},[]).filter(Boolean)},i=a(t,n);return o?typeof r<"u"?i.slice(0,r):i:null},of=d.createContext(null);function iw(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return d.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(o){var a=o.label,i=o.value;return["number","string"].includes($r(a))?a:i}).join(", ")),n.length>r?", ...":null)}var lw=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],sw=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],gu=function(t){return t==="tags"||t==="multiple"},cw=d.forwardRef(function(e,t){var n,r=e.id,o=e.prefixCls,a=e.className,i=e.showSearch,s=e.tagRender,l=e.direction,u=e.omitDomProps,c=e.displayValues,f=e.onDisplayValuesChange,v=e.emptyOptions,p=e.notFoundContent,b=p===void 0?"Not Found":p,g=e.onClear,h=e.mode,y=e.disabled,m=e.loading,x=e.getInputElement,C=e.getRawInputElement,w=e.open,S=e.defaultOpen,k=e.onDropdownVisibleChange,E=e.activeValue,O=e.onActiveValueChange,M=e.activeDescendantId,N=e.searchValue,R=e.autoClearSearchValue,A=e.onSearch,I=e.onSearchSplit,P=e.tokenSeparators,D=e.allowClear,j=e.prefix,$=e.suffixIcon,z=e.clearIcon,L=e.OptionList,B=e.animation,F=e.transitionName,H=e.dropdownStyle,W=e.dropdownClassName,V=e.dropdownMatchSelectWidth,_=e.dropdownRender,q=e.dropdownAlign,U=e.placement,Q=e.builtinPlacements,te=e.getPopupContainer,X=e.showAction,Y=X===void 0?[]:X,T=e.onFocus,Z=e.onBlur,J=e.onKeyUp,ne=e.onKeyDown,ae=e.onMouseDown,le=Fn(e,lw),be=gu(h),Ce=(i!==void 0?i:be)||h==="combobox",de=Be({},le);sw.forEach(function(lt){delete de[lt]}),u==null||u.forEach(function(lt){delete de[lt]});var Se=d.useState(!1),oe=ye(Se,2),se=oe[0],ke=oe[1];d.useEffect(function(){ke(Kg())},[]);var ge=d.useRef(null),ie=d.useRef(null),we=d.useRef(null),fe=d.useRef(null),ce=d.useRef(null),xe=d.useRef(!1),he=BC(),Me=ye(he,3),ve=Me[0],me=Me[1],Re=Me[2];d.useImperativeHandle(t,function(){var lt,nt;return{focus:(lt=fe.current)===null||lt===void 0?void 0:lt.focus,blur:(nt=fe.current)===null||nt===void 0?void 0:nt.blur,scrollTo:function(tt){var Xe;return(Xe=ce.current)===null||Xe===void 0?void 0:Xe.scrollTo(tt)},nativeElement:ge.current||ie.current}});var pe=d.useMemo(function(){var lt;if(h!=="combobox")return N;var nt=(lt=c[0])===null||lt===void 0?void 0:lt.value;return typeof nt=="string"||typeof nt=="number"?String(nt):""},[N,h,c]),Ne=h==="combobox"&&typeof x=="function"&&x()||null,ct=typeof C=="function"&&C(),dt=Nx(ie,ct==null||(n=ct.props)===null||n===void 0?void 0:n.ref),pt=d.useState(!1),$e=ye(pt,2),De=$e[0],Ye=$e[1];Dr(function(){Ye(!0)},[]);var Fe=Kn(!1,{defaultValue:S,value:w}),Ue=ye(Fe,2),Ve=Ue[0],We=Ue[1],je=De?Ve:!1,Ie=!b&&v;(y||Ie&&je&&h==="combobox")&&(je=!1);var it=Ie?!1:je,Oe=d.useCallback(function(lt){var nt=lt!==void 0?lt:!je;y||(We(nt),je!==nt&&(k==null||k(nt)))},[y,je,We,k]),Le=d.useMemo(function(){return(P||[]).some(function(lt){return[`
|
|
131
|
-
`,`\r
|
|
132
|
-
`].includes(lt)})},[P]),ze=d.useContext(of)||{},Ke=ze.maxCount,ft=ze.rawValues,Je=function(nt,Kt,tt){if(!(be&&pu(Ke)&&(ft==null?void 0:ft.size)>=Ke)){var Xe=!0,Bt=nt;O==null||O(null);var tn=aw(nt,P,pu(Ke)?Ke-ft.size:void 0),gn=tt?null:tn;return h!=="combobox"&&gn&&(Bt="",I==null||I(gn),Oe(!1),Xe=!1),A&&pe!==Bt&&A(Bt,{source:Kt?"typing":"effect"}),Xe}},Et=function(nt){!nt||!nt.trim()||A(nt,{source:"submit"})};d.useEffect(function(){!je&&!be&&h!=="combobox"&&Je("",!1,!1)},[je]),d.useEffect(function(){Ve&&y&&We(!1),y&&!xe.current&&me(!1)},[y]);var It=Ah(),mt=ye(It,2),Nt=mt[0],zt=mt[1],Ht=d.useRef(!1),At=function(nt){var Kt=Nt(),tt=nt.key,Xe=tt==="Enter";if(Xe&&(h!=="combobox"&&nt.preventDefault(),je||Oe(!0)),zt(!!pe),tt==="Backspace"&&!Kt&&be&&!pe&&c.length){for(var Bt=Ft(c),tn=null,gn=Bt.length-1;gn>=0;gn-=1){var An=Bt[gn];if(!An.disabled){Bt.splice(gn,1),tn=An;break}}tn&&f(Bt,{type:"remove",values:[tn]})}for(var Xn=arguments.length,nr=new Array(Xn>1?Xn-1:0),Ot=1;Ot<Xn;Ot++)nr[Ot-1]=arguments[Ot];if(je&&(!Xe||!Ht.current)){var ut;Xe&&(Ht.current=!0),(ut=ce.current)===null||ut===void 0||ut.onKeyDown.apply(ut,[nt].concat(nr))}ne==null||ne.apply(void 0,[nt].concat(nr))},Wt=function(nt){for(var Kt=arguments.length,tt=new Array(Kt>1?Kt-1:0),Xe=1;Xe<Kt;Xe++)tt[Xe-1]=arguments[Xe];if(je){var Bt;(Bt=ce.current)===null||Bt===void 0||Bt.onKeyUp.apply(Bt,[nt].concat(tt))}nt.key==="Enter"&&(Ht.current=!1),J==null||J.apply(void 0,[nt].concat(tt))},Tt=function(nt){var Kt=c.filter(function(tt){return tt!==nt});f(Kt,{type:"remove",values:[nt]})},_t=function(){Ht.current=!1},Pe=d.useRef(!1),Ze=function(){me(!0),y||(T&&!Pe.current&&T.apply(void 0,arguments),Y.includes("focus")&&Oe(!0)),Pe.current=!0},Ge=function(){xe.current=!0,me(!1,function(){Pe.current=!1,xe.current=!1,Oe(!1)}),!y&&(pe&&(h==="tags"?A(pe,{source:"submit"}):h==="multiple"&&A("",{source:"blur"})),Z&&Z.apply(void 0,arguments))},Te=[];d.useEffect(function(){return function(){Te.forEach(function(lt){return clearTimeout(lt)}),Te.splice(0,Te.length)}},[]);var ot=function(nt){var Kt,tt=nt.target,Xe=(Kt=we.current)===null||Kt===void 0?void 0:Kt.getPopupElement();if(Xe&&Xe.contains(tt)){var Bt=setTimeout(function(){var Xn=Te.indexOf(Bt);if(Xn!==-1&&Te.splice(Xn,1),Re(),!se&&!Xe.contains(document.activeElement)){var nr;(nr=fe.current)===null||nr===void 0||nr.focus()}});Te.push(Bt)}for(var tn=arguments.length,gn=new Array(tn>1?tn-1:0),An=1;An<tn;An++)gn[An-1]=arguments[An];ae==null||ae.apply(void 0,[nt].concat(gn))},kt=d.useState({}),Dt=ye(kt,2),rn=Dt[1];function cn(){rn({})}var Gt;ct&&(Gt=function(nt){Oe(nt)}),zC(function(){var lt;return[ge.current,(lt=we.current)===null||lt===void 0?void 0:lt.getPopupElement()]},it,Oe,!!ct);var Ut=d.useMemo(function(){return Be(Be({},e),{},{notFoundContent:b,open:je,triggerOpen:it,id:r,showSearch:Ce,multiple:be,toggleOpen:Oe})},[e,b,it,je,r,Ce,be,Oe]),mn=!!$||m,dn;mn&&(dn=d.createElement(js,{className:et("".concat(o,"-arrow"),He({},"".concat(o,"-arrow-loading"),m)),customizeIcon:$,customizeIconProps:{loading:m,searchValue:pe,open:je,focused:ve,showSearch:Ce}}));var pn=function(){var nt;g==null||g(),(nt=fe.current)===null||nt===void 0||nt.focus(),f([],{type:"clear",values:c}),Je("",!1,!1)},yn=FC(o,pn,c,D,z,y,pe,h),vn=yn.allowClear,qn=yn.clearIcon,Gn=d.createElement(L,{ref:ce}),Un=et(o,a,He(He(He(He(He(He(He(He(He(He({},"".concat(o,"-focused"),ve),"".concat(o,"-multiple"),be),"".concat(o,"-single"),!be),"".concat(o,"-allow-clear"),D),"".concat(o,"-show-arrow"),mn),"".concat(o,"-disabled"),y),"".concat(o,"-loading"),m),"".concat(o,"-open"),je),"".concat(o,"-customize-input"),Ne),"".concat(o,"-show-search"),Ce)),or=d.createElement(rw,{ref:we,disabled:y,prefixCls:o,visible:it,popupElement:Gn,animation:B,transitionName:F,dropdownStyle:H,dropdownClassName:W,direction:l,dropdownMatchSelectWidth:V,dropdownRender:_,dropdownAlign:q,placement:U,builtinPlacements:Q,getPopupContainer:te,empty:v,getTriggerDOMNode:function(nt){return ie.current||nt},onPopupVisibleChange:Gt,onPopupMouseEnter:cn},ct?d.cloneElement(ct,{ref:dt}):d.createElement(_C,yt({},e,{domRef:ie,prefixCls:o,inputElement:Ne,ref:fe,id:r,prefix:j,showSearch:Ce,autoClearSearchValue:R,mode:h,activeDescendantId:M,tagRender:s,values:c,open:je,onToggleOpen:Oe,activeValue:E,searchValue:pe,onSearch:Je,onSearchSubmit:Et,onRemove:Tt,tokenWithEnter:Le,onInputBlur:_t}))),wt;return ct?wt=or:wt=d.createElement("div",yt({className:Un},de,{ref:ge,onMouseDown:ot,onKeyDown:At,onKeyUp:Wt,onFocus:Ze,onBlur:Ge}),d.createElement(iw,{visible:ve&&!je,values:c}),or,dn,vn&&qn),d.createElement(Rh.Provider,{value:Ut},wt)}),af=function(){return null};af.isSelectOptGroup=!0;var lf=function(){return null};lf.isSelectOption=!0;function uw(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var dw=["disabled","title","children","style","className"];function Pm(e){return typeof e=="string"||typeof e=="number"}var fw=function(t,n){var r=TC(),o=r.prefixCls,a=r.id,i=r.open,s=r.multiple,l=r.mode,u=r.searchValue,c=r.toggleOpen,f=r.notFoundContent,v=r.onPopupScroll,p=d.useContext(of),b=p.maxCount,g=p.flattenOptions,h=p.onActiveValue,y=p.defaultActiveFirstOption,m=p.onSelect,x=p.menuItemSelectedIcon,C=p.rawValues,w=p.fieldNames,S=p.virtual,k=p.direction,E=p.listHeight,O=p.listItemHeight,M=p.optionRender,N="".concat(o,"-item"),R=Ox(function(){return g},[i,g],function(X,Y){return Y[0]&&X[1]!==Y[1]}),A=d.useRef(null),I=d.useMemo(function(){return s&&pu(b)&&(C==null?void 0:C.size)>=b},[s,b,C==null?void 0:C.size]),P=function(Y){Y.preventDefault()},D=function(Y){var T;(T=A.current)===null||T===void 0||T.scrollTo(typeof Y=="number"?{index:Y}:Y)},j=d.useCallback(function(X){return l==="combobox"?!1:C.has(X)},[l,Ft(C).toString(),C.size]),$=function(Y){for(var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Z=R.length,J=0;J<Z;J+=1){var ne=(Y+J*T+Z)%Z,ae=R[ne]||{},le=ae.group,be=ae.data;if(!le&&!(be!=null&&be.disabled)&&(j(be.value)||!I))return ne}return-1},z=d.useState(function(){return $(0)}),L=ye(z,2),B=L[0],F=L[1],H=function(Y){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;F(Y);var Z={source:T?"keyboard":"mouse"},J=R[Y];if(!J){h(null,-1,Z);return}h(J.value,Y,Z)};Yt(function(){H(y!==!1?$(0):-1)},[R.length,u]);var W=d.useCallback(function(X){return l==="combobox"?String(X).toLowerCase()===u.toLowerCase():C.has(X)},[l,u,Ft(C).toString(),C.size]);Yt(function(){var X=setTimeout(function(){if(!s&&i&&C.size===1){var T=Array.from(C)[0],Z=R.findIndex(function(J){var ne=J.data;return u?String(ne.value).startsWith(u):ne.value===T});Z!==-1&&(H(Z),D(Z))}});if(i){var Y;(Y=A.current)===null||Y===void 0||Y.scrollTo(void 0)}return function(){return clearTimeout(X)}},[i,u]);var V=function(Y){Y!==void 0&&m(Y,{selected:!C.has(Y)}),s||c(!1)};if(d.useImperativeHandle(n,function(){return{onKeyDown:function(Y){var T=Y.which,Z=Y.ctrlKey;switch(T){case st.N:case st.P:case st.UP:case st.DOWN:{var J=0;if(T===st.UP?J=-1:T===st.DOWN?J=1:uw()&&Z&&(T===st.N?J=1:T===st.P&&(J=-1)),J!==0){var ne=$(B+J,J);D(ne),H(ne,!0)}break}case st.TAB:case st.ENTER:{var ae,le=R[B];le&&!(le!=null&&(ae=le.data)!==null&&ae!==void 0&&ae.disabled)&&!I?V(le.value):V(void 0),i&&Y.preventDefault();break}case st.ESC:c(!1),i&&Y.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Y){D(Y)}}}),R.length===0)return d.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(N,"-empty"),onMouseDown:P},f);var _=Object.keys(w).map(function(X){return w[X]}),q=function(Y){return Y.label};function U(X,Y){var T=X.group;return{role:T?"presentation":"option",id:"".concat(a,"_list_").concat(Y)}}var Q=function(Y){var T=R[Y];if(!T)return null;var Z=T.data||{},J=Z.value,ne=T.group,ae=wo(Z,!0),le=q(T);return T?d.createElement("div",yt({"aria-label":typeof le=="string"&&!ne?le:null},ae,{key:Y},U(T,Y),{"aria-selected":W(J)}),J):null},te={role:"listbox",id:"".concat(a,"_list")};return d.createElement(d.Fragment,null,S&&d.createElement("div",yt({},te,{style:{height:0,width:0,overflow:"hidden"}}),Q(B-1),Q(B),Q(B+1)),d.createElement(Px,{itemKey:"key",ref:A,data:R,height:E,itemHeight:O,fullHeight:!1,onMouseDown:P,onScroll:v,virtual:S,direction:k,innerProps:S?null:te},function(X,Y){var T=X.group,Z=X.groupOption,J=X.data,ne=X.label,ae=X.value,le=J.key;if(T){var be,Ce=(be=J.title)!==null&&be!==void 0?be:Pm(ne)?ne.toString():void 0;return d.createElement("div",{className:et(N,"".concat(N,"-group"),J.className),title:Ce},ne!==void 0?ne:le)}var de=J.disabled,Se=J.title;J.children;var oe=J.style,se=J.className,ke=Fn(J,dw),ge=Vi(ke,_),ie=j(ae),we=de||!ie&&I,fe="".concat(N,"-option"),ce=et(N,fe,se,He(He(He(He({},"".concat(fe,"-grouped"),Z),"".concat(fe,"-active"),B===Y&&!we),"".concat(fe,"-disabled"),we),"".concat(fe,"-selected"),ie)),xe=q(X),he=!x||typeof x=="function"||ie,Me=typeof xe=="number"?xe:xe||ae,ve=Pm(Me)?Me.toString():void 0;return Se!==void 0&&(ve=Se),d.createElement("div",yt({},wo(ge),S?{}:U(X,Y),{"aria-selected":W(ae),className:ce,title:ve,onMouseMove:function(){B===Y||we||H(Y)},onClick:function(){we||V(ae)},style:oe}),d.createElement("div",{className:"".concat(fe,"-content")},typeof M=="function"?M(X,{index:Y}):Me),d.isValidElement(x)||ie,he&&d.createElement(js,{className:"".concat(N,"-option-state"),customizeIcon:x,customizeIconProps:{value:ae,disabled:we,isSelected:ie}},ie?"\u2713":null))}))},mw=d.forwardRef(fw);const pw=(function(e,t){var n=d.useRef({values:new Map,options:new Map}),r=d.useMemo(function(){var a=n.current,i=a.values,s=a.options,l=e.map(function(f){if(f.label===void 0){var v;return Be(Be({},f),{},{label:(v=i.get(f.value))===null||v===void 0?void 0:v.label})}return f}),u=new Map,c=new Map;return l.forEach(function(f){u.set(f.value,f),c.set(f.value,t.get(f.value)||s.get(f.value))}),n.current.values=u,n.current.options=c,l},[e,t]),o=d.useCallback(function(a){return t.get(a)||n.current.options.get(a)},[t]);return[r,o]});function Cc(e,t){return jh(e).join("").toUpperCase().includes(t)}const vw=(function(e,t,n,r,o){return d.useMemo(function(){if(!n||r===!1)return e;var a=t.options,i=t.label,s=t.value,l=[],u=typeof r=="function",c=n.toUpperCase(),f=u?r:function(p,b){return o?Cc(b[o],c):b[a]?Cc(b[i!=="children"?i:"label"],c):Cc(b[s],c)},v=u?function(p){return vu(p)}:function(p){return p};return e.forEach(function(p){if(p[a]){var b=f(n,v(p));if(b)l.push(p);else{var g=p[a].filter(function(h){return f(n,v(h))});g.length&&l.push(Be(Be({},p),{},He({},a,g)))}return}f(n,v(p))&&l.push(p)}),l},[e,r,o,n,t])});var Rm=0,gw=Rx();function hw(){var e;return gw?(e=Rm,Rm+=1):e="TEST_OR_SSR",e}function bw(e){var t=d.useState(),n=ye(t,2),r=n[0],o=n[1];return d.useEffect(function(){o("rc_select_".concat(hw()))},[]),e||r}var yw=["children","value"],xw=["children"];function Cw(e){var t=e,n=t.key,r=t.props,o=r.children,a=r.value,i=Fn(r,yw);return Be({key:n,value:a!==void 0?a:n,children:o},i)}function Th(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ax(e).map(function(n,r){if(!d.isValidElement(n)||!n.type)return null;var o=n,a=o.type.isSelectOptGroup,i=o.key,s=o.props,l=s.children,u=Fn(s,xw);return t||!a?Cw(n):Be(Be({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},u),{},{options:Th(l)})}).filter(function(n){return n})}var ww=function(t,n,r,o,a){return d.useMemo(function(){var i=t,s=!t;s&&(i=Th(n));var l=new Map,u=new Map,c=function(p,b,g){g&&typeof g=="string"&&p.set(b[g],b)},f=function v(p){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g<p.length;g+=1){var h=p[g];!h[r.options]||b?(l.set(h[r.value],h),c(u,h,r.label),c(u,h,o),c(u,h,a)):v(h[r.options],!0)}};return f(i),{options:i,valueOptions:l,labelOptions:u}},[t,n,r,o,a])};function Am(e){var t=d.useRef();t.current=e;var n=d.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}var Sw=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Ew=["inputValue"];function kw(e){return!e||$r(e)!=="object"}var Iw=d.forwardRef(function(e,t){var n=e.id,r=e.mode,o=e.prefixCls,a=o===void 0?"rc-select":o,i=e.backfill,s=e.fieldNames,l=e.inputValue,u=e.searchValue,c=e.onSearch,f=e.autoClearSearchValue,v=f===void 0?!0:f,p=e.onSelect,b=e.onDeselect,g=e.dropdownMatchSelectWidth,h=g===void 0?!0:g,y=e.filterOption,m=e.filterSort,x=e.optionFilterProp,C=e.optionLabelProp,w=e.options,S=e.optionRender,k=e.children,E=e.defaultActiveFirstOption,O=e.menuItemSelectedIcon,M=e.virtual,N=e.direction,R=e.listHeight,A=R===void 0?200:R,I=e.listItemHeight,P=I===void 0?20:I,D=e.labelRender,j=e.value,$=e.defaultValue,z=e.labelInValue,L=e.onChange,B=e.maxCount,F=Fn(e,Sw),H=bw(n),W=gu(r),V=!!(!w&&k),_=d.useMemo(function(){return y===void 0&&r==="combobox"?!1:y},[y,r]),q=d.useMemo(function(){return Fh(s,V)},[JSON.stringify(s),V]),U=Kn("",{value:u!==void 0?u:l,postState:function(Le){return Le||""}}),Q=ye(U,2),te=Q[0],X=Q[1],Y=ww(w,k,q,x,C),T=Y.valueOptions,Z=Y.labelOptions,J=Y.options,ne=d.useCallback(function(Oe){var Le=jh(Oe);return Le.map(function(ze){var Ke,ft,Je,Et,It;if(kw(ze))Ke=ze;else{var mt;Je=ze.key,ft=ze.label,Ke=(mt=ze.value)!==null&&mt!==void 0?mt:Je}var Nt=T.get(Ke);if(Nt){var zt;ft===void 0&&(ft=Nt==null?void 0:Nt[C||q.label]),Je===void 0&&(Je=(zt=Nt==null?void 0:Nt.key)!==null&&zt!==void 0?zt:Ke),Et=Nt==null?void 0:Nt.disabled,It=Nt==null?void 0:Nt.title}return{label:ft,value:Ke,key:Je,disabled:Et,title:It}})},[q,C,T]),ae=Kn($,{value:j}),le=ye(ae,2),be=le[0],Ce=le[1],de=d.useMemo(function(){var Oe,Le=W&&be===null?[]:be,ze=ne(Le);return r==="combobox"&&GC((Oe=ze[0])===null||Oe===void 0?void 0:Oe.value)?[]:ze},[be,ne,r,W]),Se=pw(de,T),oe=ye(Se,2),se=oe[0],ke=oe[1],ge=d.useMemo(function(){if(!r&&se.length===1){var Oe=se[0];if(Oe.value===null&&(Oe.label===null||Oe.label===void 0))return[]}return se.map(function(Le){var ze;return Be(Be({},Le),{},{label:(ze=typeof D=="function"?D(Le):Le.label)!==null&&ze!==void 0?ze:Le.value})})},[r,se,D]),ie=d.useMemo(function(){return new Set(se.map(function(Oe){return Oe.value}))},[se]);d.useEffect(function(){if(r==="combobox"){var Oe,Le=(Oe=se[0])===null||Oe===void 0?void 0:Oe.value;X(qC(Le)?String(Le):"")}},[se]);var we=Am(function(Oe,Le){var ze=Le??Oe;return He(He({},q.value,Oe),q.label,ze)}),fe=d.useMemo(function(){if(r!=="tags")return J;var Oe=Ft(J),Le=function(Ke){return T.has(Ke)};return Ft(se).sort(function(ze,Ke){return ze.value<Ke.value?-1:1}).forEach(function(ze){var Ke=ze.value;Le(Ke)||Oe.push(we(Ke,ze.label))}),Oe},[we,J,T,se,r]),ce=vw(fe,q,te,_,x),xe=d.useMemo(function(){return r!=="tags"||!te||ce.some(function(Oe){return Oe[x||"value"]===te})||ce.some(function(Oe){return Oe[q.value]===te})?ce:[we(te)].concat(Ft(ce))},[we,x,r,ce,te,q]),he=function Oe(Le){var ze=Ft(Le).sort(function(Ke,ft){return m(Ke,ft,{searchValue:te})});return ze.map(function(Ke){return Array.isArray(Ke.options)?Be(Be({},Ke),{},{options:Ke.options.length>0?Oe(Ke.options):Ke.options}):Ke})},Me=d.useMemo(function(){return m?he(xe):xe},[xe,m,te]),ve=d.useMemo(function(){return ow(Me,{fieldNames:q,childrenAsData:V})},[Me,q,V]),me=function(Le){var ze=ne(Le);if(Ce(ze),L&&(ze.length!==se.length||ze.some(function(Je,Et){var It;return((It=se[Et])===null||It===void 0?void 0:It.value)!==(Je==null?void 0:Je.value)}))){var Ke=z?ze:ze.map(function(Je){return Je.value}),ft=ze.map(function(Je){return vu(ke(Je.value))});L(W?Ke:Ke[0],W?ft:ft[0])}},Re=d.useState(null),pe=ye(Re,2),Ne=pe[0],ct=pe[1],dt=d.useState(0),pt=ye(dt,2),$e=pt[0],De=pt[1],Ye=E!==void 0?E:r!=="combobox",Fe=d.useCallback(function(Oe,Le){var ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ke=ze.source,ft=Ke===void 0?"keyboard":Ke;De(Le),i&&r==="combobox"&&Oe!==null&&ft==="keyboard"&&ct(String(Oe))},[i,r]),Ue=function(Le,ze,Ke){var ft=function(){var Tt,_t=ke(Le);return[z?{label:_t==null?void 0:_t[q.label],value:Le,key:(Tt=_t==null?void 0:_t.key)!==null&&Tt!==void 0?Tt:Le}:Le,vu(_t)]};if(ze&&p){var Je=ft(),Et=ye(Je,2),It=Et[0],mt=Et[1];p(It,mt)}else if(!ze&&b&&Ke!=="clear"){var Nt=ft(),zt=ye(Nt,2),Ht=zt[0],At=zt[1];b(Ht,At)}},Ve=Am(function(Oe,Le){var ze,Ke=W?Le.selected:!0;Ke?ze=W?[].concat(Ft(se),[Oe]):[Oe]:ze=se.filter(function(ft){return ft.value!==Oe}),me(ze),Ue(Oe,Ke),r==="combobox"?ct(""):(!gu||v)&&(X(""),ct(""))}),We=function(Le,ze){me(Le);var Ke=ze.type,ft=ze.values;(Ke==="remove"||Ke==="clear")&&ft.forEach(function(Je){Ue(Je.value,!1,Ke)})},je=function(Le,ze){if(X(Le),ct(null),ze.source==="submit"){var Ke=(Le||"").trim();if(Ke){var ft=Array.from(new Set([].concat(Ft(ie),[Ke])));me(ft),Ue(Ke,!0),X("")}return}ze.source!=="blur"&&(r==="combobox"&&me(Le),c==null||c(Le))},Ie=function(Le){var ze=Le;r!=="tags"&&(ze=Le.map(function(ft){var Je=Z.get(ft);return Je==null?void 0:Je.value}).filter(function(ft){return ft!==void 0}));var Ke=Array.from(new Set([].concat(Ft(ie),Ft(ze))));me(Ke),Ke.forEach(function(ft){Ue(ft,!0)})},it=d.useMemo(function(){var Oe=M!==!1&&h!==!1;return Be(Be({},Y),{},{flattenOptions:ve,onActiveValue:Fe,defaultActiveFirstOption:Ye,onSelect:Ve,menuItemSelectedIcon:O,rawValues:ie,fieldNames:q,virtual:Oe,direction:N,listHeight:A,listItemHeight:P,childrenAsData:V,maxCount:B,optionRender:S})},[B,Y,ve,Fe,Ye,Ve,O,ie,q,M,h,N,A,P,V,S]);return d.createElement(of.Provider,{value:it},d.createElement(cw,yt({},F,{id:H,prefixCls:a,ref:t,omitDomProps:Ew,mode:r,displayValues:ge,onDisplayValuesChange:We,direction:N,searchValue:te,onSearch:je,autoClearSearchValue:v,onSearchSplit:Ie,dropdownMatchSelectWidth:h,OptionList:mw,emptyOptions:!ve.length,activeValue:Ne,activeDescendantId:"".concat(H,"_list_").concat($e)})))}),sf=Iw;sf.Option=lf;sf.OptGroup=af;const Mw=()=>{const[,e]=Ld(),[t]=Wi("Empty"),r=new Cr(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return d.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},d.createElement("title",null,(t==null?void 0:t.description)||"Empty"),d.createElement("g",{fill:"none",fillRule:"evenodd"},d.createElement("g",{transform:"translate(24 31.67)"},d.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),d.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),d.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),d.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),d.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),d.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),d.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},d.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),d.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Nw=()=>{const[,e]=Ld(),[t]=Wi("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:o,colorBgContainer:a}=e,{borderColor:i,shadowColor:s,contentColor:l}=Mn(()=>({borderColor:new Cr(n).onBackground(a).toHexString(),shadowColor:new Cr(r).onBackground(a).toHexString(),contentColor:new Cr(o).onBackground(a).toHexString()}),[n,r,o,a]);return d.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},d.createElement("title",null,(t==null?void 0:t.description)||"Empty"),d.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},d.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),d.createElement("g",{fillRule:"nonzero",stroke:i},d.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),d.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},Ow=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},Pw=Go("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=gr(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return Ow(o)});var Rw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Bh=d.createElement(Mw,null),zh=d.createElement(Nw,null),Po=e=>{var t;const{className:n,rootClassName:r,prefixCls:o,image:a,description:i,children:s,imageStyle:l,style:u,classNames:c,styles:f}=e,v=Rw(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:p,direction:b,className:g,style:h,classNames:y,styles:m,image:x}=Is("empty"),C=p("empty",o),[w,S,k]=Pw(C),[E]=Wi("Empty"),O=typeof i<"u"?i:E==null?void 0:E.description,M=typeof O=="string"?O:"empty",N=(t=a??x)!==null&&t!==void 0?t:Bh;let R=null;return typeof N=="string"?R=d.createElement("img",{alt:M,src:N}):R=N,w(d.createElement("div",Object.assign({className:et(S,k,C,g,{[`${C}-normal`]:N===zh,[`${C}-rtl`]:b==="rtl"},n,r,y.root,c==null?void 0:c.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},m.root),h),f==null?void 0:f.root),u)},v),d.createElement("div",{className:et(`${C}-image`,y.image,c==null?void 0:c.image),style:Object.assign(Object.assign(Object.assign({},l),m.image),f==null?void 0:f.image)},R),O&&d.createElement("div",{className:et(`${C}-description`,y.description,c==null?void 0:c.description),style:Object.assign(Object.assign({},m.description),f==null?void 0:f.description)},O),s&&d.createElement("div",{className:et(`${C}-footer`,y.footer,c==null?void 0:c.footer),style:Object.assign(Object.assign({},m.footer),f==null?void 0:f.footer)},s)))};Po.PRESENTED_IMAGE_DEFAULT=Bh;Po.PRESENTED_IMAGE_SIMPLE=zh;const Aw=e=>{const{componentName:t}=e,{getPrefixCls:n}=Yn(Fr),r=n("empty");switch(t){case"Table":case"List":return ue.createElement(Po,{image:Po.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ue.createElement(Po,{image:Po.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return ue.createElement(Po,null)}},Dw=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function jw(e,t){return e||Dw(t)}const Dm=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},$w=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,i=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,l=`${r}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},vr(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
|
|
133
|
-
${o}${s}bottomLeft,
|
|
134
|
-
${a}${s}bottomLeft
|
|
135
|
-
`]:{animationName:Ug},[`
|
|
136
|
-
${o}${s}topLeft,
|
|
137
|
-
${a}${s}topLeft,
|
|
138
|
-
${o}${s}topRight,
|
|
139
|
-
${a}${s}topRight
|
|
140
|
-
`]:{animationName:Gg},[`${i}${s}bottomLeft`]:{animationName:qg},[`
|
|
141
|
-
${i}${s}topLeft,
|
|
142
|
-
${i}${s}topRight
|
|
143
|
-
`]:{animationName:Yg},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},Dm(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},es),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Dm(e)),{color:e.colorTextDisabled})}),[`${l}:has(+ ${l})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${l}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},Jl(e,"slide-up"),Jl(e,"slide-down"),_l(e,"move-up"),_l(e,"move-down")]},Hh=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:o}=e,a=e.max(e.calc(n).sub(r).equal(),0),i=e.max(e.calc(a).sub(o).equal(),0);return{basePadding:a,containerPadding:i,itemHeight:Ae(t),itemLineHeight:Ae(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},Fw=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},Lh=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:o,paddingXS:a,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:s,colorIcon:l,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:c}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"calc(100% - 4px)",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:c,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(c).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:i,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Vd()),{display:"inline-flex",alignItems:"center",color:l,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},Tw=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,o=`${n}-selection-overflow`,a=e.multipleSelectItemHeight,i=Fw(e),s=t?`${n}-${t}`:"",l=Hh(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},Lh(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Ae(r)} 0`,lineHeight:Ae(a),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:Ae(l.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:Ae(a),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l.basePadding).equal()},[`${o}-item + ${o}-item,
|
|
144
|
-
${n}-prefix + ${n}-selection-wrap
|
|
145
|
-
`]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${o}-item-suffix`]:{minHeight:l.itemHeight,marginBlock:r},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:Ae(a),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function wc(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
|
146
|
-
&${n}-show-arrow ${n}-selector,
|
|
147
|
-
&${n}-allow-clear ${n}-selector
|
|
148
|
-
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[Tw(e,t),o]}const Bw=e=>{const{componentCls:t}=e,n=gr(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=gr(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[wc(e),wc(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},wc(r,"lg")]};function Sc(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},vr(e,!0)),{display:"flex",borderRadius:o,flex:"1 1 auto",[`${n}-selection-wrap:after`]:{lineHeight:Ae(a)},[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
149
|
-
${n}-selection-item,
|
|
150
|
-
${n}-selection-placeholder
|
|
151
|
-
`]:{display:"block",padding:0,lineHeight:Ae(a),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
152
|
-
&${n}-show-arrow ${n}-selection-item,
|
|
153
|
-
&${n}-show-arrow ${n}-selection-search,
|
|
154
|
-
&${n}-show-arrow ${n}-selection-placeholder
|
|
155
|
-
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${Ae(r)}`,[`${n}-selection-search-input`]:{height:a,fontSize:e.fontSize},"&:after":{lineHeight:Ae(a)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Ae(r)}`,"&:after":{display:"none"}}}}}}}function zw(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Sc(e),Sc(gr(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${Ae(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
|
156
|
-
&${t}-show-arrow ${t}-selection-item,
|
|
157
|
-
&${t}-show-arrow ${t}-selection-placeholder
|
|
158
|
-
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Sc(gr(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Hw=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:o,controlHeightSM:a,controlHeightLG:i,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:u,colorText:c,fontWeightStrong:f,controlItemBgActive:v,controlItemBgHover:p,colorBgContainer:b,colorFillSecondary:g,colorBgContainerDisabled:h,colorTextDisabled:y,colorPrimaryHover:m,colorPrimary:x,controlOutline:C}=e,w=s*2,S=r*2,k=Math.min(o-w,o-S),E=Math.min(a-w,a-S),O=Math.min(i-w,i-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:c,optionSelectedFontWeight:f,optionSelectedBg:v,optionActiveBg:p,optionPadding:`${(o-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:b,clearBg:b,singleItemHeightLG:i,multipleItemBg:g,multipleItemBorderColor:"transparent",multipleItemHeight:k,multipleItemHeightSM:E,multipleItemHeightLG:O,multipleSelectorBgDisabled:h,multipleItemColorDisabled:y,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:m,activeBorderColor:x,activeOutlineColor:C,selectAffixPadding:s}},Vh=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${Ae(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${Ae(o)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},jm=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Vh(e,t))}),Lw=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Vh(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),jm(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),jm(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Wh=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},$m=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Wh(e,t))}),Vw=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Wh(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),$m(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),$m(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),Ww=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),Kh=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{borderWidth:`0 0 ${Ae(e.lineWidth)} 0`,borderStyle:`none none ${e.lineType} none`,borderColor:t.borderColor,background:e.selectorBg,borderRadius:0},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,outline:0},[`${n}-prefix`]:{color:t.color}}}},Fm=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Kh(e,t))}),Kw=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Kh(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),Fm(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),Fm(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Yw=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Lw(e)),Vw(e)),Ww(e)),Kw(e))}),qw=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Gw=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},Uw=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e,a={[`${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[n]:Object.assign(Object.assign({},vr(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},qw(e)),Gw(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},es),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},es),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Vd()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},Xw=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},Uw(e),zw(e),Bw(e),$w(e),{[`${t}-rtl`]:{direction:"rtl"}},Wd(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Zw=Go("Select",(e,{rootPrefixCls:t})=>{const n=gr(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Xw(n),Yw(n)]},Hw,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var Qw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Jw=function(t,n){return d.createElement(Ki,yt({},t,{ref:n,icon:Qw}))},Yh=d.forwardRef(Jw);function qh({suffixIcon:e,clearIcon:t,menuItemSelectedIcon:n,removeIcon:r,loading:o,multiple:a,hasFeedback:i,prefixCls:s,showSuffixIcon:l,feedbackIcon:u,showArrow:c,componentName:f}){const v=t??d.createElement(Dx,null),p=y=>e===null&&!i&&!c?null:d.createElement(d.Fragment,null,l!==!1&&y,i&&u);let b=null;if(e!==void 0)b=p(e);else if(o)b=p(d.createElement(Xg,{spin:!0}));else{const y=`${s}-suffix`;b=({open:m,showSearch:x})=>p(m&&x?d.createElement(Fx,{className:y}):d.createElement(Yh,{className:y}))}let g=null;n!==void 0?g=n:a?g=d.createElement(jx,null):g=null;let h=null;return r!==void 0?h=r:h=d.createElement($x,null),{clearIcon:v,suffixIcon:b,itemIcon:g,removeIcon:h}}function _w(e){return ue.useMemo(()=>{if(e)return(...t)=>ue.createElement(Ci,{space:!0},e.apply(void 0,t))},[e])}function e2(e,t){return t!==void 0?t:e!==null}var t2=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Gh="SECRET_COMBOBOX_MODE_DO_NOT_USE",n2=(e,t)=>{var n,r,o,a,i;const{prefixCls:s,bordered:l,className:u,rootClassName:c,getPopupContainer:f,popupClassName:v,dropdownClassName:p,listHeight:b=256,placement:g,listItemHeight:h,size:y,disabled:m,notFoundContent:x,status:C,builtinPlacements:w,dropdownMatchSelectWidth:S,popupMatchSelectWidth:k,direction:E,style:O,allowClear:M,variant:N,dropdownStyle:R,transitionName:A,tagRender:I,maxCount:P,prefix:D,dropdownRender:j,popupRender:$,onDropdownVisibleChange:z,onOpenChange:L,styles:B,classNames:F}=e,H=t2(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix","dropdownRender","popupRender","onDropdownVisibleChange","onOpenChange","styles","classNames"]),{getPopupContainer:W,getPrefixCls:V,renderEmpty:_,direction:q,virtual:U,popupMatchSelectWidth:Q,popupOverflow:te}=d.useContext(Fr),{showSearch:X,style:Y,styles:T,className:Z,classNames:J}=Is("select"),[,ne]=Ld(),ae=h??(ne==null?void 0:ne.controlHeight),le=V("select",s),be=V(),Ce=E??q,{compactSize:de,compactItemClassnames:Se}=Ms(le,Ce),[oe,se]=Yi("select",N,l),ke=So(le),[ge,ie,we]=Zw(le,ke),fe=d.useMemo(()=>{const{mode:Ke}=e;if(Ke!=="combobox")return Ke===Gh?"combobox":Ke},[e.mode]),ce=fe==="multiple"||fe==="tags",xe=e2(e.suffixIcon,e.showArrow),he=(n=k??S)!==null&&n!==void 0?n:Q,Me=((r=B==null?void 0:B.popup)===null||r===void 0?void 0:r.root)||((o=T.popup)===null||o===void 0?void 0:o.root)||R,ve=_w($||j),me=L||z,{status:Re,hasFeedback:pe,isFormItemInput:Ne,feedbackIcon:ct}=d.useContext(Uo),dt=Ns(Re,C);let pt;x!==void 0?pt=x:fe==="combobox"?pt=null:pt=(_==null?void 0:_("Select"))||d.createElement(Aw,{componentName:"Select"});const{suffixIcon:$e,itemIcon:De,removeIcon:Ye,clearIcon:Fe}=qh(Object.assign(Object.assign({},H),{multiple:ce,hasFeedback:pe,feedbackIcon:ct,showSuffixIcon:xe,prefixCls:le,componentName:"Select"})),Ue=M===!0?{clearIcon:Fe}:M,Ve=Vi(H,["suffixIcon","itemIcon"]),We=et(((a=F==null?void 0:F.popup)===null||a===void 0?void 0:a.root)||((i=J==null?void 0:J.popup)===null||i===void 0?void 0:i.root)||v||p,{[`${le}-dropdown-${Ce}`]:Ce==="rtl"},c,J.root,F==null?void 0:F.root,we,ke,ie),je=$a(Ke=>{var ft;return(ft=y??de)!==null&&ft!==void 0?ft:Ke}),Ie=d.useContext(Eo),it=m??Ie,Oe=et({[`${le}-lg`]:je==="large",[`${le}-sm`]:je==="small",[`${le}-rtl`]:Ce==="rtl",[`${le}-${oe}`]:se,[`${le}-in-form-item`]:Ne},wi(le,dt,pe),Se,Z,u,J.root,F==null?void 0:F.root,c,we,ke,ie),Le=d.useMemo(()=>g!==void 0?g:Ce==="rtl"?"bottomRight":"bottomLeft",[g,Ce]),[ze]=Kd("SelectLike",Me==null?void 0:Me.zIndex);return ge(d.createElement(sf,Object.assign({ref:t,virtual:U,showSearch:X},Ve,{style:Object.assign(Object.assign(Object.assign(Object.assign({},T.root),B==null?void 0:B.root),Y),O),dropdownMatchSelectWidth:he,transitionName:Tx(be,"slide-up",A),builtinPlacements:jw(w,te),listHeight:b,listItemHeight:ae,mode:fe,prefixCls:le,placement:Le,direction:Ce,prefix:D,suffixIcon:$e,menuItemSelectedIcon:De,removeIcon:Ye,allowClear:Ue,notFoundContent:pt,className:Oe,getPopupContainer:f||W,dropdownClassName:We,disabled:it,dropdownStyle:Object.assign(Object.assign({},Me),{zIndex:ze}),maxCount:ce?P:void 0,tagRender:ce?I:void 0,dropdownRender:ve,onDropdownVisibleChange:me})))},_r=d.forwardRef(n2),r2=Os(_r,"dropdownAlign");_r.SECRET_COMBOBOX_MODE_DO_NOT_USE=Gh;_r.Option=lf;_r.OptGroup=af;_r._InternalPanelDoNotUseOrYouWillBeFired=r2;var Ol={exports:{}},o2=Ol.exports,Tm;function a2(){return Tm||(Tm=1,(function(e,t){(function(n,r){e.exports=r()})(o2,(function(){return function(n,r){r.prototype.weekday=function(o){var a=this.$locale().weekStart||0,i=this.$W,s=(i<a?i+7:i)-a;return this.$utils().u(o)?s:this.subtract(s,"day").add(o,"day")}}}))})(Ol)),Ol.exports}var i2=a2();const l2=ja(i2);var Pl={exports:{}},s2=Pl.exports,Bm;function c2(){return Bm||(Bm=1,(function(e,t){(function(n,r){e.exports=r()})(s2,(function(){return function(n,r,o){var a=r.prototype,i=function(f){return f&&(f.indexOf?f:f.s)},s=function(f,v,p,b,g){var h=f.name?f:f.$locale(),y=i(h[v]),m=i(h[p]),x=y||m.map((function(w){return w.slice(0,b)}));if(!g)return x;var C=h.weekStart;return x.map((function(w,S){return x[(S+(C||0))%7]}))},l=function(){return o.Ls[o.locale()]},u=function(f,v){return f.formats[v]||(function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(b,g,h){return g||h.slice(1)}))})(f.formats[v.toUpperCase()])},c=function(){var f=this;return{months:function(v){return v?v.format("MMMM"):s(f,"months")},monthsShort:function(v){return v?v.format("MMM"):s(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(v){return v?v.format("dddd"):s(f,"weekdays")},weekdaysMin:function(v){return v?v.format("dd"):s(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(v){return v?v.format("ddd"):s(f,"weekdaysShort","weekdays",3)},longDateFormat:function(v){return u(f.$locale(),v)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return c.bind(this)()},o.localeData=function(){var f=l();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(v){return u(f,v)},meridiem:f.meridiem,ordinal:f.ordinal}},o.months=function(){return s(l(),"months")},o.monthsShort=function(){return s(l(),"monthsShort","months",3)},o.weekdays=function(f){return s(l(),"weekdays",null,null,f)},o.weekdaysShort=function(f){return s(l(),"weekdaysShort","weekdays",3,f)},o.weekdaysMin=function(f){return s(l(),"weekdaysMin","weekdays",2,f)}}}))})(Pl)),Pl.exports}var u2=c2();const d2=ja(u2);var Rl={exports:{}},f2=Rl.exports,zm;function m2(){return zm||(zm=1,(function(e,t){(function(n,r){e.exports=r()})(f2,(function(){var n="week",r="year";return function(o,a,i){var s=a.prototype;s.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=i(this).startOf(r).add(1,r).date(u),f=i(this).endOf(n);if(c.isBefore(f))return 1}var v=i(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),p=this.diff(v,n,!0);return p<0?i(this).startOf("week").week():Math.ceil(p)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}}))})(Rl)),Rl.exports}var p2=m2();const v2=ja(p2);var Al={exports:{}},g2=Al.exports,Hm;function h2(){return Hm||(Hm=1,(function(e,t){(function(n,r){e.exports=r()})(g2,(function(){return function(n,r){r.prototype.weekYear=function(){var o=this.month(),a=this.week(),i=this.year();return a===1&&o===11?i+1:o===0&&a>=52?i-1:i}}}))})(Al)),Al.exports}var b2=h2();const y2=ja(b2);var Dl={exports:{}},x2=Dl.exports,Lm;function C2(){return Lm||(Lm=1,(function(e,t){(function(n,r){e.exports=r()})(x2,(function(){return function(n,r){var o=r.prototype,a=o.format;o.format=function(i){var s=this,l=this.$locale();if(!this.isValid())return a.bind(this)(i);var u=this.$utils(),c=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(f){switch(f){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),f==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return f}}));return a.bind(this)(c)}}}))})(Dl)),Dl.exports}var w2=C2();const S2=ja(w2);var jl={exports:{}},E2=jl.exports,Vm;function k2(){return Vm||(Vm=1,(function(e,t){(function(n,r){e.exports=r()})(E2,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,a=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},u=function(h){return(h=+h)+(h>68?1900:2e3)},c=function(h){return function(y){this[h]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=(function(y){if(!y||y==="Z")return 0;var m=y.match(/([+-]|\d\d)/g),x=60*m[1]+(+m[2]||0);return x===0?0:m[0]==="+"?-x:x})(h)}],v=function(h){var y=l[h];return y&&(y.indexOf?y:y.s.concat(y.f))},p=function(h,y){var m,x=l.meridiem;if(x){for(var C=1;C<=24;C+=1)if(h.indexOf(x(C,0,y))>-1){m=C>12;break}}else m=h===(y?"pm":"PM");return m},b={A:[s,function(h){this.afternoon=p(h,!1)}],a:[s,function(h){this.afternoon=p(h,!0)}],Q:[o,function(h){this.month=3*(h-1)+1}],S:[o,function(h){this.milliseconds=100*+h}],SS:[a,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[i,c("seconds")],ss:[i,c("seconds")],m:[i,c("minutes")],mm:[i,c("minutes")],H:[i,c("hours")],h:[i,c("hours")],HH:[i,c("hours")],hh:[i,c("hours")],D:[i,c("day")],DD:[a,c("day")],Do:[s,function(h){var y=l.ordinal,m=h.match(/\d+/);if(this.day=m[0],y)for(var x=1;x<=31;x+=1)y(x).replace(/\[|\]/g,"")===h&&(this.day=x)}],w:[i,c("week")],ww:[a,c("week")],M:[i,c("month")],MM:[a,c("month")],MMM:[s,function(h){var y=v("months"),m=(v("monthsShort")||y.map((function(x){return x.slice(0,3)}))).indexOf(h)+1;if(m<1)throw new Error;this.month=m%12||m}],MMMM:[s,function(h){var y=v("months").indexOf(h)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,c("year")],YY:[a,function(h){this.year=u(h)}],YYYY:[/\d{4}/,c("year")],Z:f,ZZ:f};function g(h){var y,m;y=h,m=l&&l.formats;for(var x=(h=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(M,N,R){var A=R&&R.toUpperCase();return N||m[R]||n[R]||m[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(I,P,D){return P||D.slice(1)}))}))).match(r),C=x.length,w=0;w<C;w+=1){var S=x[w],k=b[S],E=k&&k[0],O=k&&k[1];x[w]=O?{regex:E,parser:O}:S.replace(/^\[|\]$/g,"")}return function(M){for(var N={},R=0,A=0;R<C;R+=1){var I=x[R];if(typeof I=="string")A+=I.length;else{var P=I.regex,D=I.parser,j=M.slice(A),$=P.exec(j)[0];D.call(N,$),M=M.replace($,"")}}return(function(z){var L=z.afternoon;if(L!==void 0){var B=z.hours;L?B<12&&(z.hours+=12):B===12&&(z.hours=0),delete z.afternoon}})(N),N}}return function(h,y,m){m.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(u=h.parseTwoDigitYear);var x=y.prototype,C=x.parse;x.parse=function(w){var S=w.date,k=w.utc,E=w.args;this.$u=k;var O=E[1];if(typeof O=="string"){var M=E[2]===!0,N=E[3]===!0,R=M||N,A=E[2];N&&(A=E[2]),l=this.$locale(),!M&&A&&(l=m.Ls[A]),this.$d=(function(j,$,z,L){try{if(["x","X"].indexOf($)>-1)return new Date(($==="X"?1e3:1)*j);var B=g($)(j),F=B.year,H=B.month,W=B.day,V=B.hours,_=B.minutes,q=B.seconds,U=B.milliseconds,Q=B.zone,te=B.week,X=new Date,Y=W||(F||H?1:X.getDate()),T=F||X.getFullYear(),Z=0;F&&!H||(Z=H>0?H-1:X.getMonth());var J,ne=V||0,ae=_||0,le=q||0,be=U||0;return Q?new Date(Date.UTC(T,Z,Y,ne,ae,le,be+60*Q.offset*1e3)):z?new Date(Date.UTC(T,Z,Y,ne,ae,le,be)):(J=new Date(T,Z,Y,ne,ae,le,be),te&&(J=L(J).week(te).toDate()),J)}catch{return new Date("")}})(S,O,k,m),this.init(),A&&A!==!0&&(this.$L=this.locale(A).$L),R&&S!=this.format(O)&&(this.$d=new Date("")),l={}}else if(O instanceof Array)for(var I=O.length,P=1;P<=I;P+=1){E[1]=O[P-1];var D=m.apply(this,E);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}P===I&&(this.$d=new Date(""))}else C.call(this,w)}}}))})(jl)),jl.exports}var I2=k2();const M2=ja(I2);ar.extend(M2);ar.extend(S2);ar.extend(l2);ar.extend(d2);ar.extend(v2);ar.extend(y2);ar.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(a){var i=(a||"").replace("Wo","wo");return r.bind(this)(i)}});var N2={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Mo=function(t){var n=N2[t];return n||t.split("_")[0]},O2={getNow:function(){var t=ar();return typeof t.tz=="function"?t.tz():t},getFixedDate:function(t){return ar(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return ar().locale(Mo(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(Mo(t)).weekday(0)},getWeek:function(t,n){return n.locale(Mo(t)).week()},getShortWeekDays:function(t){return ar().locale(Mo(t)).localeData().weekdaysMin()},getShortMonths:function(t){return ar().locale(Mo(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(Mo(t)).format(r)},parse:function(t,n,r){for(var o=Mo(t),a=0;a<r.length;a+=1){var i=r[a],s=n;if(i.includes("wo")||i.includes("Wo")){for(var l=s.split("-")[0],u=s.split("-")[1],c=ar(l,"YYYY").startOf("year").locale(o),f=0;f<=52;f+=1){var v=c.add(f,"week");if(v.format("Wo")===u)return v}return null}var p=ar(s,i,!0).locale(o);if(p.isValid())return p}return null}}};function P2(e,t){return e!==void 0?e:t?"bottomRight":"bottomLeft"}var Tr=d.createContext(null),R2={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Uh(e){var t=e.popupElement,n=e.popupStyle,r=e.popupClassName,o=e.popupAlign,a=e.transitionName,i=e.getPopupContainer,s=e.children,l=e.range,u=e.placement,c=e.builtinPlacements,f=c===void 0?R2:c,v=e.direction,p=e.visible,b=e.onClose,g=d.useContext(Tr),h=g.prefixCls,y="".concat(h,"-dropdown"),m=P2(u,v==="rtl");return d.createElement(Wg,{showAction:[],hideAction:["click"],popupPlacement:m,builtinPlacements:f,prefixCls:y,popupTransitionName:a,popup:t,popupAlign:o,popupVisible:p,popupClassName:et(r,He(He({},"".concat(y,"-range"),l),"".concat(y,"-rtl"),v==="rtl")),popupStyle:n,stretch:"minWidth",getPopupContainer:i,onPopupVisibleChange:function(C){C||b()}},s)}function cf(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length<t;)r="".concat(n).concat(r);return r}function Xo(e){return e==null?[]:Array.isArray(e)?e:[e]}function fi(e,t,n){var r=Ft(e);return r[t]=n,r}function $s(e,t){var n={},r=t||Object.keys(e);return r.forEach(function(o){e[o]!==void 0&&(n[o]=e[o])}),n}function Xh(e,t,n){if(n)return n;switch(e){case"time":return t.fieldTimeFormat;case"datetime":return t.fieldDateTimeFormat;case"month":return t.fieldMonthFormat;case"year":return t.fieldYearFormat;case"quarter":return t.fieldQuarterFormat;case"week":return t.fieldWeekFormat;default:return t.fieldDateFormat}}function Zh(e,t,n){var r=n!==void 0?n:t[t.length-1],o=t.find(function(a){return e[a]});return r!==o?e[o]:void 0}function Qh(e){return $s(e,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function uf(e,t,n,r){var o=d.useMemo(function(){return e||function(i,s){var l=i;return t&&s.type==="date"?t(l,s.today):n&&s.type==="month"?n(l,s.locale):s.originNode}},[e,n,t]),a=d.useCallback(function(i,s){return o(i,Be(Be({},s),{},{range:r}))},[o,r]);return a}function Jh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=d.useState([!1,!1]),o=ye(r,2),a=o[0],i=o[1],s=function(c,f){i(function(v){return fi(v,f,c)})},l=d.useMemo(function(){return a.map(function(u,c){if(u)return!0;var f=e[c];return f?!!(!n[c]&&!f||f&&t(f,{activeIndex:c})):!1})},[e,a,t,n]);return[l,s]}function _h(e,t,n,r,o){var a="",i=[];return e&&i.push(o?"hh":"HH"),t&&i.push("mm"),n&&i.push("ss"),a=i.join(":"),r&&(a+=".SSS"),o&&(a+=" A"),a}function A2(e,t,n,r,o,a){var i=e.fieldDateTimeFormat,s=e.fieldDateFormat,l=e.fieldTimeFormat,u=e.fieldMonthFormat,c=e.fieldYearFormat,f=e.fieldWeekFormat,v=e.fieldQuarterFormat,p=e.yearFormat,b=e.cellYearFormat,g=e.cellQuarterFormat,h=e.dayFormat,y=e.cellDateFormat,m=_h(t,n,r,o,a);return Be(Be({},e),{},{fieldDateTimeFormat:i||"YYYY-MM-DD ".concat(m),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:l||m,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:c||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:v||"YYYY-[Q]Q",yearFormat:p||"YYYY",cellYearFormat:b||"YYYY",cellQuarterFormat:g||"[Q]Q",cellDateFormat:y||h||"D"})}function e0(e,t){var n=t.showHour,r=t.showMinute,o=t.showSecond,a=t.showMillisecond,i=t.use12Hours;return ue.useMemo(function(){return A2(e,n,r,o,a,i)},[e,n,r,o,a,i])}function Xa(e,t,n){return n??t.some(function(r){return e.includes(r)})}var D2=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function j2(e){var t=$s(e,D2),n=e.format,r=e.picker,o=null;return n&&(o=n,Array.isArray(o)&&(o=o[0]),o=$r(o)==="object"?o.format:o),r==="time"&&(t.format=o),[t,o]}function $2(e){return e&&typeof e=="string"}function t0(e,t,n,r){return[e,t,n,r].some(function(o){return o!==void 0})}function n0(e,t,n,r,o){var a=t,i=n,s=r;if(!e&&!a&&!i&&!s&&!o)a=!0,i=!0,s=!0;else if(e){var l,u,c,f=[a,i,s].some(function(b){return b===!1}),v=[a,i,s].some(function(b){return b===!0}),p=f?!0:!v;a=(l=a)!==null&&l!==void 0?l:p,i=(u=i)!==null&&u!==void 0?u:p,s=(c=s)!==null&&c!==void 0?c:p}return[a,i,s,o]}function r0(e){var t=e.showTime,n=j2(e),r=ye(n,2),o=r[0],a=r[1],i=t&&$r(t)==="object"?t:{},s=Be(Be({defaultOpenValue:i.defaultOpenValue||i.defaultValue},o),i),l=s.showMillisecond,u=s.showHour,c=s.showMinute,f=s.showSecond,v=t0(u,c,f,l),p=n0(v,u,c,f,l),b=ye(p,3);return u=b[0],c=b[1],f=b[2],[s,Be(Be({},s),{},{showHour:u,showMinute:c,showSecond:f,showMillisecond:l}),s.format,a]}function o0(e,t,n,r,o){var a=e==="time";if(e==="datetime"||a){for(var i=r,s=Xh(e,o,null),l=s,u=[t,n],c=0;c<u.length;c+=1){var f=Xo(u[c])[0];if($2(f)){l=f;break}}var v=i.showHour,p=i.showMinute,b=i.showSecond,g=i.showMillisecond,h=i.use12Hours,y=Xa(l,["a","A","LT","LLL","LTS"],h),m=t0(v,p,b,g);m||(v=Xa(l,["H","h","k","LT","LLL"]),p=Xa(l,["m","LT","LLL"]),b=Xa(l,["s","LTS"]),g=Xa(l,["SSS"]));var x=n0(m,v,p,b,g),C=ye(x,3);v=C[0],p=C[1],b=C[2];var w=t||_h(v,p,b,g,y);return Be(Be({},i),{},{format:w,showHour:v,showMinute:p,showSecond:b,showMillisecond:g,use12Hours:y})}return null}function F2(e,t,n){if(t===!1)return null;var r=t&&$r(t)==="object"?t:{};return r.clearIcon||n||d.createElement("span",{className:"".concat(e,"-clear-btn")})}var Ec=7;function ko(e,t,n){return!e&&!t||e===t?!0:!e||!t?!1:n()}function hu(e,t,n){return ko(t,n,function(){var r=Math.floor(e.getYear(t)/10),o=Math.floor(e.getYear(n)/10);return r===o})}function Vo(e,t,n){return ko(t,n,function(){return e.getYear(t)===e.getYear(n)})}function Wm(e,t){var n=Math.floor(e.getMonth(t)/3);return n+1}function T2(e,t,n){return ko(t,n,function(){return Vo(e,t,n)&&Wm(e,t)===Wm(e,n)})}function df(e,t,n){return ko(t,n,function(){return Vo(e,t,n)&&e.getMonth(t)===e.getMonth(n)})}function ff(e,t,n){return ko(t,n,function(){return Vo(e,t,n)&&df(e,t,n)&&e.getDate(t)===e.getDate(n)})}function a0(e,t,n){return ko(t,n,function(){return e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)})}function i0(e,t,n){return ko(t,n,function(){return ff(e,t,n)&&a0(e,t,n)&&e.getMillisecond(t)===e.getMillisecond(n)})}function oi(e,t,n,r){return ko(n,r,function(){var o=e.locale.getWeekFirstDate(t,n),a=e.locale.getWeekFirstDate(t,r);return Vo(e,o,a)&&e.locale.getWeek(t,n)===e.locale.getWeek(t,r)})}function er(e,t,n,r,o){switch(o){case"date":return ff(e,n,r);case"week":return oi(e,t.locale,n,r);case"month":return df(e,n,r);case"quarter":return T2(e,n,r);case"year":return Vo(e,n,r);case"decade":return hu(e,n,r);case"time":return a0(e,n,r);default:return i0(e,n,r)}}function Fs(e,t,n,r){return!t||!n||!r?!1:e.isAfter(r,t)&&e.isAfter(n,r)}function cl(e,t,n,r,o){return er(e,t,n,r,o)?!0:e.isAfter(n,r)}function B2(e,t,n){var r=t.locale.getWeekFirstDay(e),o=t.setDate(n,1),a=t.getWeekDay(o),i=t.addDate(o,r-a);return t.getMonth(i)===t.getMonth(n)&&t.getDate(i)>1&&(i=t.addDate(i,-7)),i}function $n(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return e?typeof o=="function"?o(e):n.locale.format(r.locale,e,o):""}function ns(e,t,n){var r=t,o=["getHour","getMinute","getSecond","getMillisecond"],a=["setHour","setMinute","setSecond","setMillisecond"];return a.forEach(function(i,s){n?r=e[i](r,e[o[s]](n)):r=e[i](r,0)}),r}function z2(e,t,n,r,o){var a=Cn(function(i,s){return!!(n&&n(i,s)||r&&e.isAfter(r,i)&&!er(e,t,r,i,s.type)||o&&e.isAfter(i,o)&&!er(e,t,o,i,s.type))});return a}function H2(e,t,n){return d.useMemo(function(){var r=Xh(e,t,n),o=Xo(r),a=o[0],i=$r(a)==="object"&&a.type==="mask"?a.format:null;return[o.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),i]},[e,t,n])}function L2(e,t,n){return typeof e[0]=="function"||n?!0:t}function V2(e,t,n,r){var o=Cn(function(a,i){var s=Be({type:t},i);if(delete s.activeIndex,!e.isValidate(a)||n&&n(a,s))return!0;if((t==="date"||t==="time")&&r){var l,u=i&&i.activeIndex===1?"end":"start",c=((l=r.disabledTime)===null||l===void 0?void 0:l.call(r,a,u,{from:s.from}))||{},f=c.disabledHours,v=c.disabledMinutes,p=c.disabledSeconds,b=c.disabledMilliseconds,g=r.disabledHours,h=r.disabledMinutes,y=r.disabledSeconds,m=f||g,x=v||h,C=p||y,w=e.getHour(a),S=e.getMinute(a),k=e.getSecond(a),E=e.getMillisecond(a);if(m&&m().includes(w)||x&&x(w).includes(S)||C&&C(w,S).includes(k)||b&&b(w,S,k).includes(E))return!0}return!1});return o}function ul(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=d.useMemo(function(){var r=e&&Xo(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function l0(e,t){var n=e.generateConfig,r=e.locale,o=e.picker,a=o===void 0?"date":o,i=e.prefixCls,s=i===void 0?"rc-picker":i,l=e.styles,u=l===void 0?{}:l,c=e.classNames,f=c===void 0?{}:c,v=e.order,p=v===void 0?!0:v,b=e.components,g=b===void 0?{}:b,h=e.inputRender,y=e.allowClear,m=e.clearIcon,x=e.needConfirm,C=e.multiple,w=e.format,S=e.inputReadOnly,k=e.disabledDate,E=e.minDate,O=e.maxDate,M=e.showTime,N=e.value,R=e.defaultValue,A=e.pickerValue,I=e.defaultPickerValue,P=ul(N),D=ul(R),j=ul(A),$=ul(I),z=a==="date"&&M?"datetime":a,L=z==="time"||z==="datetime",B=L||C,F=x??L,H=r0(e),W=ye(H,4),V=W[0],_=W[1],q=W[2],U=W[3],Q=e0(r,_),te=d.useMemo(function(){return o0(z,q,U,V,Q)},[z,q,U,V,Q]),X=d.useMemo(function(){return Be(Be({},e),{},{prefixCls:s,locale:Q,picker:a,styles:u,classNames:f,order:p,components:Be({input:h},g),clearIcon:F2(s,y,m),showTime:te,value:P,defaultValue:D,pickerValue:j,defaultPickerValue:$},t==null?void 0:t())},[e]),Y=H2(z,Q,w),T=ye(Y,2),Z=T[0],J=T[1],ne=L2(Z,S,C),ae=z2(n,r,k,E,O),le=V2(n,a,ae,te),be=d.useMemo(function(){return Be(Be({},X),{},{needConfirm:F,inputReadOnly:ne,disabledDate:ae})},[X,F,ne,ae]);return[be,z,B,Z,J,le]}function W2(e,t,n){var r=Kn(t,{value:e}),o=ye(r,2),a=o[0],i=o[1],s=ue.useRef(e),l=ue.useRef(),u=function(){Pn.cancel(l.current)},c=Cn(function(){i(s.current),n&&a!==s.current&&n(s.current)}),f=Cn(function(v,p){u(),s.current=v,v||p?c():l.current=Pn(c)});return ue.useEffect(function(){return u},[]),[a,f]}function s0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,o=n.every(function(c){return c})?!1:e,a=W2(o,t||!1,r),i=ye(a,2),s=i[0],l=i[1];function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!f.inherit||s)&&l(c,f.force)}return[s,u]}function c0(e){var t=d.useRef();return d.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(o){var a;(a=t.current)===null||a===void 0||a.focus(o)},blur:function(){var o;(o=t.current)===null||o===void 0||o.blur()}}}),t}function u0(e,t){return d.useMemo(function(){return e||(t?(xi(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=ye(n,2),o=r[0],a=r[1];return{label:o,value:a}})):[])},[e,t])}function mf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=d.useRef(t);r.current=t,Nl(function(){if(e)r.current(e);else{var o=Pn(function(){r.current(e)},n);return function(){Pn.cancel(o)}}},[e])}function d0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=d.useState(0),o=ye(r,2),a=o[0],i=o[1],s=d.useState(!1),l=ye(s,2),u=l[0],c=l[1],f=d.useRef([]),v=d.useRef(null),p=d.useRef(null),b=function(C){v.current=C},g=function(C){return v.current===C},h=function(C){c(C)},y=function(C){return C&&(p.current=C),p.current},m=function(C){var w=f.current,S=new Set(w.filter(function(E){return C[E]||t[E]})),k=w[w.length-1]===0?1:0;return S.size>=2||e[k]?null:k};return mf(u||n,function(){u||(f.current=[],b(null))}),d.useEffect(function(){u&&f.current.push(a)},[u,a]),[u,h,y,a,i,m,f.current,b,g]}function K2(e,t,n,r,o,a){var i=n[n.length-1],s=function(u,c){var f=ye(e,2),v=f[0],p=f[1],b=Be(Be({},c),{},{from:Zh(e,n)});return i===1&&t[0]&&v&&!er(r,o,v,u,b.type)&&r.isAfter(v,u)||i===0&&t[1]&&p&&!er(r,o,p,u,b.type)&&r.isAfter(u,p)?!0:a==null?void 0:a(u,b)};return s}function ai(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var kc=[];function f0(e,t,n,r,o,a,i,s){var l=arguments.length>8&&arguments[8]!==void 0?arguments[8]:kc,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:kc,c=arguments.length>10&&arguments[10]!==void 0?arguments[10]:kc,f=arguments.length>11?arguments[11]:void 0,v=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,b=i==="time",g=a||0,h=function(j){var $=e.getNow();return b&&($=ns(e,$)),l[j]||n[j]||$},y=ye(u,2),m=y[0],x=y[1],C=Kn(function(){return h(0)},{value:m}),w=ye(C,2),S=w[0],k=w[1],E=Kn(function(){return h(1)},{value:x}),O=ye(E,2),M=O[0],N=O[1],R=d.useMemo(function(){var D=[S,M][g];return b?D:ns(e,D,c[g])},[b,S,M,g,e,c]),A=function(j){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",z=[k,N][g];z(j);var L=[S,M];L[g]=j,f&&(!er(e,t,S,L[0],i)||!er(e,t,M,L[1],i))&&f(L,{source:$,range:g===1?"end":"start",mode:r})},I=function(j,$){if(s){var z={date:"month",week:"month",month:"year",quarter:"year"},L=z[i];if(L&&!er(e,t,j,$,L))return ai(e,i,$,-1);if(i==="year"&&j){var B=Math.floor(e.getYear(j)/10),F=Math.floor(e.getYear($)/10);if(B!==F)return ai(e,i,$,-1)}}return $},P=d.useRef(null);return Dr(function(){if(o&&!l[g]){var D=b?null:e.getNow();if(P.current!==null&&P.current!==g?D=[S,M][g^1]:n[g]?D=g===0?n[0]:I(n[0],n[1]):n[g^1]&&(D=n[g^1]),D){v&&e.isAfter(v,D)&&(D=v);var j=s?ai(e,i,D,1):D;p&&e.isAfter(j,p)&&(D=s?ai(e,i,p,-1):p),A(D,"reset")}}},[o,g,n[g]]),d.useEffect(function(){o?P.current=g:P.current=null},[o,g]),Dr(function(){o&&l&&l[g]&&A(l[g],"reset")},[o,g]),[R,A]}function m0(e,t){var n=d.useRef(e),r=d.useState({}),o=ye(r,2),a=o[1],i=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,a({})};return[i,s,i(!0)]}var Y2=[];function p0(e,t,n){var r=function(i){return i.map(function(s){return $n(s,{generateConfig:e,locale:t,format:n[0]})})},o=function(i,s){for(var l=Math.max(i.length,s.length),u=-1,c=0;c<l;c+=1){var f=i[c]||null,v=s[c]||null;if(f!==v&&!i0(e,f,v)){u=c;break}}return[u<0,u!==0]};return[r,o]}function v0(e,t){return Ft(e).sort(function(n,r){return t.isAfter(n,r)?1:-1})}function q2(e){var t=m0(e),n=ye(t,2),r=n[0],o=n[1],a=Cn(function(){o(e)});return d.useEffect(function(){a()},[e]),[r,o]}function g0(e,t,n,r,o,a,i,s,l){var u=Kn(a,{value:i}),c=ye(u,2),f=c[0],v=c[1],p=f||Y2,b=q2(p),g=ye(b,2),h=g[0],y=g[1],m=p0(e,t,n),x=ye(m,2),C=x[0],w=x[1],S=Cn(function(E){var O=Ft(E);if(r)for(var M=0;M<2;M+=1)O[M]=O[M]||null;else o&&(O=v0(O.filter(function(D){return D}),e));var N=w(h(),O),R=ye(N,2),A=R[0],I=R[1];if(!A&&(y(O),s)){var P=C(O);s(O,P,{range:I?"end":"start"})}}),k=function(){l&&l(h())};return[p,v,h,S,k]}function h0(e,t,n,r,o,a,i,s,l,u){var c=e.generateConfig,f=e.locale,v=e.picker,p=e.onChange,b=e.allowEmpty,g=e.order,h=a.some(function(A){return A})?!1:g,y=p0(c,f,i),m=ye(y,2),x=m[0],C=m[1],w=m0(t),S=ye(w,2),k=S[0],E=S[1],O=Cn(function(){E(t)});d.useEffect(function(){O()},[t]);var M=Cn(function(A){var I=A===null,P=Ft(A||k());if(I)for(var D=Math.max(a.length,P.length),j=0;j<D;j+=1)a[j]||(P[j]=null);h&&P[0]&&P[1]&&(P=v0(P,c)),o(P);var $=P,z=ye($,2),L=z[0],B=z[1],F=!L,H=!B,W=b?(!F||b[0])&&(!H||b[1]):!0,V=!g||F||H||er(c,f,L,B,v)||c.isAfter(B,L),_=(a[0]||!L||!u(L,{activeIndex:0}))&&(a[1]||!B||!u(B,{from:L,activeIndex:1})),q=I||W&&V&&_;if(q){n(P);var U=C(P,t),Q=ye(U,1),te=Q[0];p&&!te&&p(I&&P.every(function(X){return!X})?null:P,x(P))}return q}),N=Cn(function(A,I){var P=fi(k(),A,r()[A]);E(P),I&&M()}),R=!s&&!l;return mf(!R,function(){R&&(M(),o(t),O())},2),[N,M]}function b0(e,t,n,r,o){return t!=="date"&&t!=="time"?!1:n!==void 0?n:r!==void 0?r:!o&&(e==="date"||e==="time")}function G2(e,t,n,r,o,a){var i=e;function s(f,v,p){var b=a[f](i),g=p.find(function(x){return x.value===b});if(!g||g.disabled){var h=p.filter(function(x){return!x.disabled}),y=Ft(h).reverse(),m=y.find(function(x){return x.value<=b})||h[0];m&&(b=m.value,i=a[v](i,b))}return b}var l=s("getHour","setHour",t()),u=s("getMinute","setMinute",n(l)),c=s("getSecond","setSecond",r(l,u));return s("getMillisecond","setMillisecond",o(l,u,c)),i}function dl(){return[]}function fl(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,i=[],s=n>=1?n|0:1,l=e;l<=t;l+=s){var u=o.includes(l);(!u||!r)&&i.push({label:cf(l,a),value:l,disabled:u})}return i}function pf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},o=r.use12Hours,a=r.hourStep,i=a===void 0?1:a,s=r.minuteStep,l=s===void 0?1:s,u=r.secondStep,c=u===void 0?1:u,f=r.millisecondStep,v=f===void 0?100:f,p=r.hideDisabledOptions,b=r.disabledTime,g=r.disabledHours,h=r.disabledMinutes,y=r.disabledSeconds,m=d.useMemo(function(){return n||e.getNow()},[n,e]),x=d.useCallback(function($){var z=(b==null?void 0:b($))||{};return[z.disabledHours||g||dl,z.disabledMinutes||h||dl,z.disabledSeconds||y||dl,z.disabledMilliseconds||dl]},[b,g,h,y]),C=d.useMemo(function(){return x(m)},[m,x]),w=ye(C,4),S=w[0],k=w[1],E=w[2],O=w[3],M=d.useCallback(function($,z,L,B){var F=fl(0,23,i,p,$()),H=o?F.map(function(q){return Be(Be({},q),{},{label:cf(q.value%12||12,2)})}):F,W=function(U){return fl(0,59,l,p,z(U))},V=function(U,Q){return fl(0,59,c,p,L(U,Q))},_=function(U,Q,te){return fl(0,999,v,p,B(U,Q,te),3)};return[H,W,V,_]},[p,i,o,v,l,c]),N=d.useMemo(function(){return M(S,k,E,O)},[M,S,k,E,O]),R=ye(N,4),A=R[0],I=R[1],P=R[2],D=R[3],j=function(z,L){var B=function(){return A},F=I,H=P,W=D;if(L){var V=x(L),_=ye(V,4),q=_[0],U=_[1],Q=_[2],te=_[3],X=M(q,U,Q,te),Y=ye(X,4),T=Y[0],Z=Y[1],J=Y[2],ne=Y[3];B=function(){return T},F=Z,H=J,W=ne}var ae=G2(z,B,F,H,W,e);return ae};return[j,A,I,P,D]}function U2(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,o=e.showNow,a=e.showTime,i=e.onSubmit,s=e.onNow,l=e.invalid,u=e.needConfirm,c=e.generateConfig,f=e.disabledDate,v=d.useContext(Tr),p=v.prefixCls,b=v.locale,g=v.button,h=g===void 0?"button":g,y=c.getNow(),m=pf(c,a,y),x=ye(m,1),C=x[0],w=r==null?void 0:r(t),S=f(y,{type:t}),k=function(){if(!S){var I=C(y);s(I)}},E="".concat(p,"-now"),O="".concat(E,"-btn"),M=o&&d.createElement("li",{className:E},d.createElement("a",{className:et(O,S&&"".concat(O,"-disabled")),"aria-disabled":S,onClick:k},n==="date"?b.today:b.now)),N=u&&d.createElement("li",{className:"".concat(p,"-ok")},d.createElement(h,{disabled:l,onClick:i},b.ok)),R=(M||N)&&d.createElement("ul",{className:"".concat(p,"-ranges")},M,N);return!w&&!R?null:d.createElement("div",{className:"".concat(p,"-footer")},w&&d.createElement("div",{className:"".concat(p,"-footer-extra")},w),R)}function y0(e,t,n){function r(o,a){var i=o.findIndex(function(l){return er(e,t,l,a,n)});if(i===-1)return[].concat(Ft(o),[a]);var s=Ft(o);return s.splice(i,1),s}return r}var Zo=d.createContext(null);function Ts(){return d.useContext(Zo)}function Fa(e,t){var n=e.prefixCls,r=e.generateConfig,o=e.locale,a=e.disabledDate,i=e.minDate,s=e.maxDate,l=e.cellRender,u=e.hoverValue,c=e.hoverRangeValue,f=e.onHover,v=e.values,p=e.pickerValue,b=e.onSelect,g=e.prevIcon,h=e.nextIcon,y=e.superPrevIcon,m=e.superNextIcon,x=r.getNow(),C={now:x,values:v,pickerValue:p,prefixCls:n,disabledDate:a,minDate:i,maxDate:s,cellRender:l,hoverValue:u,hoverRangeValue:c,onHover:f,locale:o,generateConfig:r,onSelect:b,panelType:t,prevIcon:g,nextIcon:h,superPrevIcon:y,superNextIcon:m};return[C,x]}var Co=d.createContext({});function qi(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,o=e.getCellDate,a=e.prefixColumn,i=e.rowClassName,s=e.titleFormat,l=e.getCellText,u=e.getCellClassName,c=e.headerCells,f=e.cellSelection,v=f===void 0?!0:f,p=e.disabledDate,b=Ts(),g=b.prefixCls,h=b.panelType,y=b.now,m=b.disabledDate,x=b.cellRender,C=b.onHover,w=b.hoverValue,S=b.hoverRangeValue,k=b.generateConfig,E=b.values,O=b.locale,M=b.onSelect,N=p||m,R="".concat(g,"-cell"),A=d.useContext(Co),I=A.onCellDblClick,P=function(H){return E.some(function(W){return W&&er(k,O,H,W,h)})},D=[],j=0;j<t;j+=1){for(var $=[],z=void 0,L=function(){var H=j*n+B,W=o(r,H),V=N==null?void 0:N(W,{type:h});B===0&&(z=W,a&&$.push(a(z)));var _=!1,q=!1,U=!1;if(v&&S){var Q=ye(S,2),te=Q[0],X=Q[1];_=Fs(k,te,X,W),q=er(k,O,W,te,h),U=er(k,O,W,X,h)}var Y=s?$n(W,{locale:O,format:s,generateConfig:k}):void 0,T=d.createElement("div",{className:"".concat(R,"-inner")},l(W));$.push(d.createElement("td",{key:B,title:Y,className:et(R,Be(He(He(He(He(He(He({},"".concat(R,"-disabled"),V),"".concat(R,"-hover"),(w||[]).some(function(Z){return er(k,O,W,Z,h)})),"".concat(R,"-in-range"),_&&!q&&!U),"".concat(R,"-range-start"),q),"".concat(R,"-range-end"),U),"".concat(g,"-cell-selected"),!S&&h!=="week"&&P(W)),u(W))),onClick:function(){V||M(W)},onDoubleClick:function(){!V&&I&&I()},onMouseEnter:function(){V||C==null||C(W)},onMouseLeave:function(){V||C==null||C(null)}},x?x(W,{prefixCls:g,originNode:T,today:y,type:h,locale:O}):T))},B=0;B<n;B+=1)L();D.push(d.createElement("tr",{key:j,className:i==null?void 0:i(z)},$))}return d.createElement("div",{className:"".concat(g,"-body")},d.createElement("table",{className:"".concat(g,"-content")},c&&d.createElement("thead",null,d.createElement("tr",null,c)),d.createElement("tbody",null,D)))}var ml={visibility:"hidden"};function Ta(e){var t=e.offset,n=e.superOffset,r=e.onChange,o=e.getStart,a=e.getEnd,i=e.children,s=Ts(),l=s.prefixCls,u=s.prevIcon,c=u===void 0?"\u2039":u,f=s.nextIcon,v=f===void 0?"\u203A":f,p=s.superPrevIcon,b=p===void 0?"\xAB":p,g=s.superNextIcon,h=g===void 0?"\xBB":g,y=s.minDate,m=s.maxDate,x=s.generateConfig,C=s.locale,w=s.pickerValue,S=s.panelType,k="".concat(l,"-header"),E=d.useContext(Co),O=E.hidePrev,M=E.hideNext,N=E.hideHeader,R=d.useMemo(function(){if(!y||!t||!a)return!1;var F=a(t(-1,w));return!cl(x,C,F,y,S)},[y,t,w,a,x,C,S]),A=d.useMemo(function(){if(!y||!n||!a)return!1;var F=a(n(-1,w));return!cl(x,C,F,y,S)},[y,n,w,a,x,C,S]),I=d.useMemo(function(){if(!m||!t||!o)return!1;var F=o(t(1,w));return!cl(x,C,m,F,S)},[m,t,w,o,x,C,S]),P=d.useMemo(function(){if(!m||!n||!o)return!1;var F=o(n(1,w));return!cl(x,C,m,F,S)},[m,n,w,o,x,C,S]),D=function(H){t&&r(t(H,w))},j=function(H){n&&r(n(H,w))};if(N)return null;var $="".concat(k,"-prev-btn"),z="".concat(k,"-next-btn"),L="".concat(k,"-super-prev-btn"),B="".concat(k,"-super-next-btn");return d.createElement("div",{className:k},n&&d.createElement("button",{type:"button","aria-label":C.previousYear,onClick:function(){return j(-1)},tabIndex:-1,className:et(L,A&&"".concat(L,"-disabled")),disabled:A,style:O?ml:{}},b),t&&d.createElement("button",{type:"button","aria-label":C.previousMonth,onClick:function(){return D(-1)},tabIndex:-1,className:et($,R&&"".concat($,"-disabled")),disabled:R,style:O?ml:{}},c),d.createElement("div",{className:"".concat(k,"-view")},i),t&&d.createElement("button",{type:"button","aria-label":C.nextMonth,onClick:function(){return D(1)},tabIndex:-1,className:et(z,I&&"".concat(z,"-disabled")),disabled:I,style:M?ml:{}},v),n&&d.createElement("button",{type:"button","aria-label":C.nextYear,onClick:function(){return j(1)},tabIndex:-1,className:et(B,P&&"".concat(B,"-disabled")),disabled:P,style:M?ml:{}},h))}function Bs(e){var t=e.prefixCls,n=e.panelName,r=n===void 0?"date":n,o=e.locale,a=e.generateConfig,i=e.pickerValue,s=e.onPickerValueChange,l=e.onModeChange,u=e.mode,c=u===void 0?"date":u,f=e.disabledDate,v=e.onSelect,p=e.onHover,b=e.showWeek,g="".concat(t,"-").concat(r,"-panel"),h="".concat(t,"-cell"),y=c==="week",m=Fa(e,c),x=ye(m,2),C=x[0],w=x[1],S=a.locale.getWeekFirstDay(o.locale),k=a.setDate(i,1),E=B2(o.locale,a,k),O=a.getMonth(i),M=b===void 0?y:b,N=M?function(F){var H=f==null?void 0:f(F,{type:"week"});return d.createElement("td",{key:"week",className:et(h,"".concat(h,"-week"),He({},"".concat(h,"-disabled"),H)),onClick:function(){H||v(F)},onMouseEnter:function(){H||p==null||p(F)},onMouseLeave:function(){H||p==null||p(null)}},d.createElement("div",{className:"".concat(h,"-inner")},a.locale.getWeek(o.locale,F)))}:null,R=[],A=o.shortWeekDays||(a.locale.getShortWeekDays?a.locale.getShortWeekDays(o.locale):[]);N&&R.push(d.createElement("th",{key:"empty"},d.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},o.week)));for(var I=0;I<Ec;I+=1)R.push(d.createElement("th",{key:I},A[(I+S)%Ec]));var P=function(H,W){return a.addDate(H,W)},D=function(H){return $n(H,{locale:o,format:o.cellDateFormat,generateConfig:a})},j=function(H){var W=He(He({},"".concat(t,"-cell-in-view"),df(a,H,i)),"".concat(t,"-cell-today"),ff(a,H,w));return W},$=o.shortMonths||(a.locale.getShortMonths?a.locale.getShortMonths(o.locale):[]),z=d.createElement("button",{type:"button","aria-label":o.yearSelect,key:"year",onClick:function(){l("year",i)},tabIndex:-1,className:"".concat(t,"-year-btn")},$n(i,{locale:o,format:o.yearFormat,generateConfig:a})),L=d.createElement("button",{type:"button","aria-label":o.monthSelect,key:"month",onClick:function(){l("month",i)},tabIndex:-1,className:"".concat(t,"-month-btn")},o.monthFormat?$n(i,{locale:o,format:o.monthFormat,generateConfig:a}):$[O]),B=o.monthBeforeYear?[L,z]:[z,L];return d.createElement(Zo.Provider,{value:C},d.createElement("div",{className:et(g,b&&"".concat(g,"-show-week"))},d.createElement(Ta,{offset:function(H){return a.addMonth(i,H)},superOffset:function(H){return a.addYear(i,H)},onChange:s,getStart:function(H){return a.setDate(H,1)},getEnd:function(H){var W=a.setDate(H,1);return W=a.addMonth(W,1),a.addDate(W,-1)}},B),d.createElement(qi,yt({titleFormat:o.fieldDateFormat},e,{colNum:Ec,rowNum:6,baseDate:E,headerCells:R,getCellDate:P,getCellText:D,getCellClassName:j,prefixColumn:N,cellSelection:!y}))))}var X2=1/3;function Z2(e,t){var n=d.useRef(!1),r=d.useRef(null),o=d.useRef(null),a=function(){return n.current},i=function(){Pn.cancel(r.current),n.current=!1},s=d.useRef(),l=function(){var f=e.current;if(o.current=null,s.current=0,f){var v=f.querySelector('[data-value="'.concat(t,'"]')),p=f.querySelector("li"),b=function g(){i(),n.current=!0,s.current+=1;var h=f.scrollTop,y=p.offsetTop,m=v.offsetTop,x=m-y;if(m===0&&v!==p||!Bx(f)){s.current<=5&&(r.current=Pn(g));return}var C=h+(x-h)*X2,w=Math.abs(x-C);if(o.current!==null&&o.current<w){i();return}if(o.current=w,w<=1){f.scrollTop=x,i();return}f.scrollTop=C,r.current=Pn(g)};v&&p&&b()}},u=Cn(l);return[u,i,a]}var Q2=300;function J2(e){return e.map(function(t){var n=t.value,r=t.label,o=t.disabled;return[n,r,o].join(",")}).join(";")}function Za(e){var t=e.units,n=e.value,r=e.optionalValue,o=e.type,a=e.onChange,i=e.onHover,s=e.onDblClick,l=e.changeOnScroll,u=Ts(),c=u.prefixCls,f=u.cellRender,v=u.now,p=u.locale,b="".concat(c,"-time-panel"),g="".concat(c,"-time-panel-cell"),h=d.useRef(null),y=d.useRef(),m=function(){clearTimeout(y.current)},x=Z2(h,n??r),C=ye(x,3),w=C[0],S=C[1],k=C[2];Dr(function(){return w(),m(),function(){S(),m()}},[n,r,J2(t)]);var E=function(N){m();var R=N.target;!k()&&l&&(y.current=setTimeout(function(){var A=h.current,I=A.querySelector("li").offsetTop,P=Array.from(A.querySelectorAll("li")),D=P.map(function(B){return B.offsetTop-I}),j=D.map(function(B,F){return t[F].disabled?Number.MAX_SAFE_INTEGER:Math.abs(B-R.scrollTop)}),$=Math.min.apply(Math,Ft(j)),z=j.findIndex(function(B){return B===$}),L=t[z];L&&!L.disabled&&a(L.value)},Q2))},O="".concat(b,"-column");return d.createElement("ul",{className:O,ref:h,"data-type":o,onScroll:E},t.map(function(M){var N=M.label,R=M.value,A=M.disabled,I=d.createElement("div",{className:"".concat(g,"-inner")},N);return d.createElement("li",{key:R,className:et(g,He(He({},"".concat(g,"-selected"),n===R),"".concat(g,"-disabled"),A)),onClick:function(){A||a(R)},onDoubleClick:function(){!A&&s&&s()},onMouseEnter:function(){i(R)},onMouseLeave:function(){i(null)},"data-value":R},f?f(R,{prefixCls:c,originNode:I,today:v,type:"time",subType:o,locale:p}):I)}))}function mo(e){return e<12}function _2(e){var t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.showMillisecond,a=e.use12Hours,i=e.changeOnScroll,s=Ts(),l=s.prefixCls,u=s.values,c=s.generateConfig,f=s.locale,v=s.onSelect,p=s.onHover,b=p===void 0?function(){}:p,g=s.pickerValue,h=(u==null?void 0:u[0])||null,y=d.useContext(Co),m=y.onCellDblClick,x=pf(c,e,h),C=ye(x,5),w=C[0],S=C[1],k=C[2],E=C[3],O=C[4],M=function(Ne){var ct=h&&c[Ne](h),dt=g&&c[Ne](g);return[ct,dt]},N=M("getHour"),R=ye(N,2),A=R[0],I=R[1],P=M("getMinute"),D=ye(P,2),j=D[0],$=D[1],z=M("getSecond"),L=ye(z,2),B=L[0],F=L[1],H=M("getMillisecond"),W=ye(H,2),V=W[0],_=W[1],q=A===null?null:mo(A)?"am":"pm",U=d.useMemo(function(){return a?mo(A)?S.filter(function(pe){return mo(pe.value)}):S.filter(function(pe){return!mo(pe.value)}):S},[A,S,a]),Q=function(Ne,ct){var dt,pt=Ne.filter(function($e){return!$e.disabled});return ct??(pt==null||(dt=pt[0])===null||dt===void 0?void 0:dt.value)},te=Q(S,A),X=d.useMemo(function(){return k(te)},[k,te]),Y=Q(X,j),T=d.useMemo(function(){return E(te,Y)},[E,te,Y]),Z=Q(T,B),J=d.useMemo(function(){return O(te,Y,Z)},[O,te,Y,Z]),ne=Q(J,V),ae=d.useMemo(function(){if(!a)return[];var pe=c.getNow(),Ne=c.setHour(pe,6),ct=c.setHour(pe,18),dt=function($e,De){var Ye=f.cellMeridiemFormat;return Ye?$n($e,{generateConfig:c,locale:f,format:Ye}):De};return[{label:dt(Ne,"AM"),value:"am",disabled:S.every(function(pt){return pt.disabled||!mo(pt.value)})},{label:dt(ct,"PM"),value:"pm",disabled:S.every(function(pt){return pt.disabled||mo(pt.value)})}]},[S,a,c,f]),le=function(Ne){var ct=w(Ne);v(ct)},be=d.useMemo(function(){var pe=h||g||c.getNow(),Ne=function(dt){return dt!=null};return Ne(A)?(pe=c.setHour(pe,A),pe=c.setMinute(pe,j),pe=c.setSecond(pe,B),pe=c.setMillisecond(pe,V)):Ne(I)?(pe=c.setHour(pe,I),pe=c.setMinute(pe,$),pe=c.setSecond(pe,F),pe=c.setMillisecond(pe,_)):Ne(te)&&(pe=c.setHour(pe,te),pe=c.setMinute(pe,Y),pe=c.setSecond(pe,Z),pe=c.setMillisecond(pe,ne)),pe},[h,g,A,j,B,V,te,Y,Z,ne,I,$,F,_,c]),Ce=function(Ne,ct){return Ne===null?null:c[ct](be,Ne)},de=function(Ne){return Ce(Ne,"setHour")},Se=function(Ne){return Ce(Ne,"setMinute")},oe=function(Ne){return Ce(Ne,"setSecond")},se=function(Ne){return Ce(Ne,"setMillisecond")},ke=function(Ne){return Ne===null?null:Ne==="am"&&!mo(A)?c.setHour(be,A-12):Ne==="pm"&&mo(A)?c.setHour(be,A+12):be},ge=function(Ne){le(de(Ne))},ie=function(Ne){le(Se(Ne))},we=function(Ne){le(oe(Ne))},fe=function(Ne){le(se(Ne))},ce=function(Ne){le(ke(Ne))},xe=function(Ne){b(de(Ne))},he=function(Ne){b(Se(Ne))},Me=function(Ne){b(oe(Ne))},ve=function(Ne){b(se(Ne))},me=function(Ne){b(ke(Ne))},Re={onDblClick:m,changeOnScroll:i};return d.createElement("div",{className:"".concat(l,"-content")},t&&d.createElement(Za,yt({units:U,value:A,optionalValue:I,type:"hour",onChange:ge,onHover:xe},Re)),n&&d.createElement(Za,yt({units:X,value:j,optionalValue:$,type:"minute",onChange:ie,onHover:he},Re)),r&&d.createElement(Za,yt({units:T,value:B,optionalValue:F,type:"second",onChange:we,onHover:Me},Re)),o&&d.createElement(Za,yt({units:J,value:V,optionalValue:_,type:"millisecond",onChange:fe,onHover:ve},Re)),a&&d.createElement(Za,yt({units:ae,value:q,type:"meridiem",onChange:ce,onHover:me},Re)))}function x0(e){var t=e.prefixCls,n=e.value,r=e.locale,o=e.generateConfig,a=e.showTime,i=a||{},s=i.format,l="".concat(t,"-time-panel"),u=Fa(e,"time"),c=ye(u,1),f=c[0];return d.createElement(Zo.Provider,{value:f},d.createElement("div",{className:et(l)},d.createElement(Ta,null,n?$n(n,{locale:r,format:s,generateConfig:o}):"\xA0"),d.createElement(_2,a)))}function eS(e){var t=e.prefixCls,n=e.generateConfig,r=e.showTime,o=e.onSelect,a=e.value,i=e.pickerValue,s=e.onHover,l="".concat(t,"-datetime-panel"),u=pf(n,r),c=ye(u,1),f=c[0],v=function(h){return a?ns(n,h,a):ns(n,h,i)},p=function(h){s==null||s(h&&v(h))},b=function(h){var y=v(h);o(f(y,y))};return d.createElement("div",{className:l},d.createElement(Bs,yt({},e,{onSelect:b,onHover:p})),d.createElement(x0,e))}function tS(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,a=e.disabledDate,i=e.onPickerValueChange,s="".concat(t,"-decade-panel"),l=Fa(e,"decade"),u=ye(l,1),c=u[0],f=function(S){var k=Math.floor(r.getYear(S)/100)*100;return r.setYear(S,k)},v=function(S){var k=f(S);return r.addYear(k,99)},p=f(o),b=v(o),g=r.addYear(p,-10),h=function(S,k){return r.addYear(S,k*10)},y=function(S){var k=n.cellYearFormat,E=$n(S,{locale:n,format:k,generateConfig:r}),O=$n(r.addYear(S,9),{locale:n,format:k,generateConfig:r});return"".concat(E,"-").concat(O)},m=function(S){return He({},"".concat(t,"-cell-in-view"),hu(r,S,p)||hu(r,S,b)||Fs(r,p,b,S))},x=a?function(w,S){var k=r.setDate(w,1),E=r.setMonth(k,0),O=r.setYear(E,Math.floor(r.getYear(E)/10)*10),M=r.addYear(O,10),N=r.addDate(M,-1);return a(O,S)&&a(N,S)}:null,C="".concat($n(p,{locale:n,format:n.yearFormat,generateConfig:r}),"-").concat($n(b,{locale:n,format:n.yearFormat,generateConfig:r}));return d.createElement(Zo.Provider,{value:c},d.createElement("div",{className:s},d.createElement(Ta,{superOffset:function(S){return r.addYear(o,S*100)},onChange:i,getStart:f,getEnd:v},C),d.createElement(qi,yt({},e,{disabledDate:x,colNum:3,rowNum:4,baseDate:g,getCellDate:h,getCellText:y,getCellClassName:m}))))}function nS(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,a=e.disabledDate,i=e.onPickerValueChange,s=e.onModeChange,l="".concat(t,"-month-panel"),u=Fa(e,"month"),c=ye(u,1),f=c[0],v=r.setMonth(o,0),p=n.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(n.locale):[]),b=function(C,w){return r.addMonth(C,w)},g=function(C){var w=r.getMonth(C);return n.monthFormat?$n(C,{locale:n,format:n.monthFormat,generateConfig:r}):p[w]},h=function(){return He({},"".concat(t,"-cell-in-view"),!0)},y=a?function(x,C){var w=r.setDate(x,1),S=r.setMonth(w,r.getMonth(w)+1),k=r.addDate(S,-1);return a(w,C)&&a(k,C)}:null,m=d.createElement("button",{type:"button",key:"year","aria-label":n.yearSelect,onClick:function(){s("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},$n(o,{locale:n,format:n.yearFormat,generateConfig:r}));return d.createElement(Zo.Provider,{value:f},d.createElement("div",{className:l},d.createElement(Ta,{superOffset:function(C){return r.addYear(o,C)},onChange:i,getStart:function(C){return r.setMonth(C,0)},getEnd:function(C){return r.setMonth(C,11)}},m),d.createElement(qi,yt({},e,{disabledDate:y,titleFormat:n.fieldMonthFormat,colNum:3,rowNum:4,baseDate:v,getCellDate:b,getCellText:g,getCellClassName:h}))))}function rS(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,a=e.onPickerValueChange,i=e.onModeChange,s="".concat(t,"-quarter-panel"),l=Fa(e,"quarter"),u=ye(l,1),c=u[0],f=r.setMonth(o,0),v=function(y,m){return r.addMonth(y,m*3)},p=function(y){return $n(y,{locale:n,format:n.cellQuarterFormat,generateConfig:r})},b=function(){return He({},"".concat(t,"-cell-in-view"),!0)},g=d.createElement("button",{type:"button",key:"year","aria-label":n.yearSelect,onClick:function(){i("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},$n(o,{locale:n,format:n.yearFormat,generateConfig:r}));return d.createElement(Zo.Provider,{value:c},d.createElement("div",{className:s},d.createElement(Ta,{superOffset:function(y){return r.addYear(o,y)},onChange:a,getStart:function(y){return r.setMonth(y,0)},getEnd:function(y){return r.setMonth(y,11)}},g),d.createElement(qi,yt({},e,{titleFormat:n.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:f,getCellDate:v,getCellText:p,getCellClassName:b}))))}function oS(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,o=e.value,a=e.hoverValue,i=e.hoverRangeValue,s=r.locale,l="".concat(t,"-week-panel-row"),u=function(f){var v={};if(i){var p=ye(i,2),b=p[0],g=p[1],h=oi(n,s,b,f),y=oi(n,s,g,f);v["".concat(l,"-range-start")]=h,v["".concat(l,"-range-end")]=y,v["".concat(l,"-range-hover")]=!h&&!y&&Fs(n,b,g,f)}return a&&(v["".concat(l,"-hover")]=a.some(function(m){return oi(n,s,f,m)})),et(l,He({},"".concat(l,"-selected"),!i&&oi(n,s,o,f)),v)};return d.createElement(Bs,yt({},e,{mode:"week",panelName:"week",rowClassName:u}))}function aS(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,a=e.disabledDate,i=e.onPickerValueChange,s=e.onModeChange,l="".concat(t,"-year-panel"),u=Fa(e,"year"),c=ye(u,1),f=c[0],v=function(k){var E=Math.floor(r.getYear(k)/10)*10;return r.setYear(k,E)},p=function(k){var E=v(k);return r.addYear(E,9)},b=v(o),g=p(o),h=r.addYear(b,-1),y=function(k,E){return r.addYear(k,E)},m=function(k){return $n(k,{locale:n,format:n.cellYearFormat,generateConfig:r})},x=function(k){return He({},"".concat(t,"-cell-in-view"),Vo(r,k,b)||Vo(r,k,g)||Fs(r,b,g,k))},C=a?function(S,k){var E=r.setMonth(S,0),O=r.setDate(E,1),M=r.addYear(O,1),N=r.addDate(M,-1);return a(O,k)&&a(N,k)}:null,w=d.createElement("button",{type:"button",key:"decade","aria-label":n.decadeSelect,onClick:function(){s("decade")},tabIndex:-1,className:"".concat(t,"-decade-btn")},$n(b,{locale:n,format:n.yearFormat,generateConfig:r}),"-",$n(g,{locale:n,format:n.yearFormat,generateConfig:r}));return d.createElement(Zo.Provider,{value:f},d.createElement("div",{className:l},d.createElement(Ta,{superOffset:function(k){return r.addYear(o,k*10)},onChange:i,getStart:v,getEnd:p},w),d.createElement(qi,yt({},e,{disabledDate:C,titleFormat:n.fieldYearFormat,colNum:3,rowNum:4,baseDate:h,getCellDate:y,getCellText:m,getCellClassName:x}))))}var iS={date:Bs,datetime:eS,week:oS,month:nS,quarter:rS,year:aS,decade:tS,time:x0};function lS(e,t){var n,r=e.locale,o=e.generateConfig,a=e.direction,i=e.prefixCls,s=e.tabIndex,l=s===void 0?0:s,u=e.multiple,c=e.defaultValue,f=e.value,v=e.onChange,p=e.onSelect,b=e.defaultPickerValue,g=e.pickerValue,h=e.onPickerValueChange,y=e.mode,m=e.onPanelChange,x=e.picker,C=x===void 0?"date":x,w=e.showTime,S=e.hoverValue,k=e.hoverRangeValue,E=e.cellRender,O=e.dateRender,M=e.monthCellRender,N=e.components,R=N===void 0?{}:N,A=e.hideHeader,I=((n=d.useContext(Tr))===null||n===void 0?void 0:n.prefixCls)||i||"rc-picker",P=d.useRef();d.useImperativeHandle(t,function(){return{nativeElement:P.current}});var D=r0(e),j=ye(D,4),$=j[0],z=j[1],L=j[2],B=j[3],F=e0(r,z),H=C==="date"&&w?"datetime":C,W=d.useMemo(function(){return o0(H,L,B,$,F)},[H,L,B,$,F]),V=o.getNow(),_=Kn(C,{value:y,postState:function(me){return me||"date"}}),q=ye(_,2),U=q[0],Q=q[1],te=U==="date"&&W?"datetime":U,X=y0(o,r,H),Y=Kn(c,{value:f}),T=ye(Y,2),Z=T[0],J=T[1],ne=d.useMemo(function(){var ve=Xo(Z).filter(function(me){return me});return u?ve:ve.slice(0,1)},[Z,u]),ae=Cn(function(ve){J(ve),v&&(ve===null||ne.length!==ve.length||ne.some(function(me,Re){return!er(o,r,me,ve[Re],H)}))&&(v==null||v(u?ve:ve[0]))}),le=Cn(function(ve){if(p==null||p(ve),U===C){var me=u?X(ne,ve):[ve];ae(me)}}),be=Kn(b||ne[0]||V,{value:g}),Ce=ye(be,2),de=Ce[0],Se=Ce[1];d.useEffect(function(){ne[0]&&!g&&Se(ne[0])},[ne[0]]);var oe=function(me,Re){m==null||m(me||g,Re||U)},se=function(me){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Se(me),h==null||h(me),Re&&oe(me)},ke=function(me,Re){Q(me),Re&&se(Re),oe(Re,me)},ge=function(me){if(le(me),se(me),U!==C){var Re=["decade","year"],pe=[].concat(Re,["month"]),Ne={quarter:[].concat(Re,["quarter"]),week:[].concat(Ft(pe),["week"]),date:[].concat(Ft(pe),["date"])},ct=Ne[C]||pe,dt=ct.indexOf(U),pt=ct[dt+1];pt&&ke(pt,me)}},ie=d.useMemo(function(){var ve,me;if(Array.isArray(k)){var Re=ye(k,2);ve=Re[0],me=Re[1]}else ve=k;return!ve&&!me?null:(ve=ve||me,me=me||ve,o.isAfter(ve,me)?[me,ve]:[ve,me])},[k,o]),we=uf(E,O,M),fe=R[te]||iS[te]||Bs,ce=d.useContext(Co),xe=d.useMemo(function(){return Be(Be({},ce),{},{hideHeader:A})},[ce,A]),he="".concat(I,"-panel"),Me=$s(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return d.createElement(Co.Provider,{value:xe},d.createElement("div",{ref:P,tabIndex:l,className:et(he,He({},"".concat(he,"-rtl"),a==="rtl"))},d.createElement(fe,yt({},Me,{showTime:W,prefixCls:I,locale:F,generateConfig:o,onModeChange:ke,pickerValue:de,onPickerValueChange:function(me){se(me,!0)},value:ne[0],onSelect:ge,values:ne,cellRender:we,hoverRangeValue:ie,hoverValue:S}))))}var Ic=d.memo(d.forwardRef(lS));function sS(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,o=e.onPickerValueChange,a=e.needConfirm,i=e.onSubmit,s=e.range,l=e.hoverValue,u=d.useContext(Tr),c=u.prefixCls,f=u.generateConfig,v=d.useCallback(function(m,x){return ai(f,t,m,x)},[f,t]),p=d.useMemo(function(){return v(r,1)},[r,v]),b=function(x){o(v(x,-1))},g={onCellDblClick:function(){a&&i()}},h=t==="time",y=Be(Be({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:h});return s?y.hoverRangeValue=l:y.hoverValue=l,n?d.createElement("div",{className:"".concat(c,"-panels")},d.createElement(Co.Provider,{value:Be(Be({},g),{},{hideNext:!0})},d.createElement(Ic,y)),d.createElement(Co.Provider,{value:Be(Be({},g),{},{hidePrev:!0})},d.createElement(Ic,yt({},y,{pickerValue:p,onPickerValueChange:b})))):d.createElement(Co.Provider,{value:Be({},g)},d.createElement(Ic,y))}function Km(e){return typeof e=="function"?e():e}function cS(e){var t=e.prefixCls,n=e.presets,r=e.onClick,o=e.onHover;return n.length?d.createElement("div",{className:"".concat(t,"-presets")},d.createElement("ul",null,n.map(function(a,i){var s=a.label,l=a.value;return d.createElement("li",{key:i,onClick:function(){r(Km(l))},onMouseEnter:function(){o(Km(l))},onMouseLeave:function(){o(null)}},s)}))):null}function C0(e){var t=e.panelRender,n=e.internalMode,r=e.picker,o=e.showNow,a=e.range,i=e.multiple,s=e.activeInfo,l=s===void 0?[0,0,0]:s,u=e.presets,c=e.onPresetHover,f=e.onPresetSubmit,v=e.onFocus,p=e.onBlur,b=e.onPanelMouseDown,g=e.direction,h=e.value,y=e.onSelect,m=e.isInvalid,x=e.defaultOpenValue,C=e.onOk,w=e.onSubmit,S=d.useContext(Tr),k=S.prefixCls,E="".concat(k,"-panel"),O=g==="rtl",M=d.useRef(null),N=d.useRef(null),R=d.useState(0),A=ye(R,2),I=A[0],P=A[1],D=d.useState(0),j=ye(D,2),$=j[0],z=j[1],L=d.useState(0),B=ye(L,2),F=B[0],H=B[1],W=function(ge){ge.width&&P(ge.width)},V=ye(l,3),_=V[0],q=V[1],U=V[2],Q=d.useState(0),te=ye(Q,2),X=te[0],Y=te[1];d.useEffect(function(){Y(10)},[_]),d.useEffect(function(){if(a&&N.current){var ke,ge=((ke=M.current)===null||ke===void 0?void 0:ke.offsetWidth)||0,ie=N.current.getBoundingClientRect();if(!ie.height||ie.right<0){Y(function(xe){return Math.max(0,xe-1)});return}var we=(O?q-ge:_)-ie.left;if(H(we),I&&I<U){var fe=O?ie.right-(q-ge+I):_+ge-ie.left-I,ce=Math.max(0,fe);z(ce)}else z(0)}},[X,O,I,_,q,U,a]);function T(ke){return ke.filter(function(ge){return ge})}var Z=d.useMemo(function(){return T(Xo(h))},[h]),J=r==="time"&&!Z.length,ne=d.useMemo(function(){return J?T([x]):Z},[J,Z,x]),ae=J?x:Z,le=d.useMemo(function(){return ne.length?ne.some(function(ke){return m(ke)}):!0},[ne,m]),be=function(){J&&y(x),C(),w()},Ce=d.createElement("div",{className:"".concat(k,"-panel-layout")},d.createElement(cS,{prefixCls:k,presets:u,onClick:f,onHover:c}),d.createElement("div",null,d.createElement(sS,yt({},e,{value:ae})),d.createElement(U2,yt({},e,{showNow:i?!1:o,invalid:le,onSubmit:be}))));t&&(Ce=t(Ce));var de="".concat(E,"-container"),Se="marginLeft",oe="marginRight",se=d.createElement("div",{onMouseDown:b,tabIndex:-1,className:et(de,"".concat(k,"-").concat(n,"-panel-container")),style:He(He({},O?oe:Se,$),O?Se:oe,"auto"),onFocus:v,onBlur:p},Ce);return a&&(se=d.createElement("div",{onMouseDown:b,ref:N,className:et("".concat(k,"-range-wrapper"),"".concat(k,"-").concat(r,"-range-wrapper"))},d.createElement("div",{ref:M,className:"".concat(k,"-range-arrow"),style:{left:F}}),d.createElement(Zg,{onResize:W},se))),se}function w0(e,t){var n=e.format,r=e.maskFormat,o=e.generateConfig,a=e.locale,i=e.preserveInvalidOnBlur,s=e.inputReadOnly,l=e.required,u=e["aria-required"],c=e.onSubmit,f=e.onFocus,v=e.onBlur,p=e.onInputChange,b=e.onInvalid,g=e.open,h=e.onOpenChange,y=e.onKeyDown,m=e.onChange,x=e.activeHelp,C=e.name,w=e.autoComplete,S=e.id,k=e.value,E=e.invalid,O=e.placeholder,M=e.disabled,N=e.activeIndex,R=e.allHelp,A=e.picker,I=function(F,H){var W=o.locale.parse(a.locale,F,[H]);return W&&o.isValidate(W)?W:null},P=n[0],D=d.useCallback(function(B){return $n(B,{locale:a,format:P,generateConfig:o})},[a,o,P]),j=d.useMemo(function(){return k.map(D)},[k,D]),$=d.useMemo(function(){var B=A==="time"?8:10,F=typeof P=="function"?P(o.getNow()).length:P.length;return Math.max(B,F)+2},[P,A,o]),z=function(F){for(var H=0;H<n.length;H+=1){var W=n[H];if(typeof W=="string"){var V=I(F,W);if(V)return V}}return!1},L=function(F){function H(_){return F!==void 0?_[F]:_}var W=wo(e,{aria:!0,data:!0}),V=Be(Be({},W),{},{format:r,validateFormat:function(q){return!!z(q)},preserveInvalidOnBlur:i,readOnly:s,required:l,"aria-required":u,name:C,autoComplete:w,size:$,id:H(S),value:H(j)||"",invalid:H(E),placeholder:H(O),active:N===F,helped:R||x&&N===F,disabled:H(M),onFocus:function(q){f(q,F)},onBlur:function(q){v(q,F)},onSubmit:c,onChange:function(q){p();var U=z(q);if(U){b(!1,F),m(U,F);return}b(!!q,F)},onHelp:function(){h(!0,{index:F})},onKeyDown:function(q){var U=!1;if(y==null||y(q,function(){U=!0}),!q.defaultPrevented&&!U)switch(q.key){case"Escape":h(!1,{index:F});break;case"Enter":g||h(!0);break}}},t==null?void 0:t({valueTexts:j}));return Object.keys(V).forEach(function(_){V[_]===void 0&&delete V[_]}),V};return[L,D]}var uS=["onMouseEnter","onMouseLeave"];function S0(e){return d.useMemo(function(){return $s(e,uS)},[e])}var dS=["icon","type"],fS=["onClear"];function zs(e){var t=e.icon,n=e.type,r=Fn(e,dS),o=d.useContext(Tr),a=o.prefixCls;return t?d.createElement("span",yt({className:"".concat(a,"-").concat(n)},r),t):null}function bu(e){var t=e.onClear,n=Fn(e,fS);return d.createElement(zs,yt({},n,{type:"clear",role:"button",onMouseDown:function(o){o.preventDefault()},onClick:function(o){o.stopPropagation(),t()}}))}var Mc=["YYYY","MM","DD","HH","mm","ss","SSS"],Ym="\u9867",mS=(function(){function e(t){qd(this,e),He(this,"format",void 0),He(this,"maskFormat",void 0),He(this,"cells",void 0),He(this,"maskCells",void 0),this.format=t;var n=Mc.map(function(s){return"(".concat(s,")")}).join("|"),r=new RegExp(n,"g");this.maskFormat=t.replace(r,function(s){return Ym.repeat(s.length)});var o=new RegExp("(".concat(Mc.join("|"),")")),a=(t.split(o)||[]).filter(function(s){return s}),i=0;this.cells=a.map(function(s){var l=Mc.includes(s),u=i,c=i+s.length;return i=c,{text:s,mask:l,start:u,end:c}}),this.maskCells=this.cells.filter(function(s){return s.mask})}return Yd(e,[{key:"getSelection",value:function(n){var r=this.maskCells[n]||{},o=r.start,a=r.end;return[o||0,a||0]}},{key:"match",value:function(n){for(var r=0;r<this.maskFormat.length;r+=1){var o=this.maskFormat[r],a=n[r];if(!a||o!==Ym&&o!==a)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(n){for(var r=Number.MAX_SAFE_INTEGER,o=0,a=0;a<this.maskCells.length;a+=1){var i=this.maskCells[a],s=i.start,l=i.end;if(n>=s&&n<=l)return a;var u=Math.min(Math.abs(n-s),Math.abs(n-l));u<r&&(r=u,o=a)}return o}}]),e})();function pS(e){var t={YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]};return t[e]}var vS=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],yu=d.forwardRef(function(e,t){var n=e.active,r=e.showActiveCls,o=r===void 0?!0:r,a=e.suffixIcon,i=e.format,s=e.validateFormat,l=e.onChange;e.onInput;var u=e.helped,c=e.onHelp,f=e.onSubmit,v=e.onKeyDown,p=e.preserveInvalidOnBlur,b=p===void 0?!1:p,g=e.invalid,h=e.clearIcon,y=Fn(e,vS),m=e.value,x=e.onFocus,C=e.onBlur,w=e.onMouseUp,S=d.useContext(Tr),k=S.prefixCls,E=S.input,O=E===void 0?"input":E,M="".concat(k,"-input"),N=d.useState(!1),R=ye(N,2),A=R[0],I=R[1],P=d.useState(m),D=ye(P,2),j=D[0],$=D[1],z=d.useState(""),L=ye(z,2),B=L[0],F=L[1],H=d.useState(null),W=ye(H,2),V=W[0],_=W[1],q=d.useState(null),U=ye(q,2),Q=U[0],te=U[1],X=j||"";d.useEffect(function(){$(m)},[m]);var Y=d.useRef(),T=d.useRef();d.useImperativeHandle(t,function(){return{nativeElement:Y.current,inputElement:T.current,focus:function(ve){T.current.focus(ve)},blur:function(){T.current.blur()}}});var Z=d.useMemo(function(){return new mS(i||"")},[i]),J=d.useMemo(function(){return u?[0,0]:Z.getSelection(V)},[Z,V,u]),ne=ye(J,2),ae=ne[0],le=ne[1],be=function(ve){ve&&ve!==i&&ve!==m&&c()},Ce=Cn(function(Me){s(Me)&&l(Me),$(Me),be(Me)}),de=function(ve){if(!i){var me=ve.target.value;be(me),$(me),l(me)}},Se=function(ve){var me=ve.clipboardData.getData("text");s(me)&&Ce(me)},oe=d.useRef(!1),se=function(){oe.current=!0},ke=function(ve){var me=ve.target,Re=me.selectionStart,pe=Z.getMaskCellIndex(Re);_(pe),te({}),w==null||w(ve),oe.current=!1},ge=function(ve){I(!0),_(0),F(""),x(ve)},ie=function(ve){C(ve)},we=function(ve){I(!1),ie(ve)};mf(n,function(){!n&&!b&&$(m)});var fe=function(ve){ve.key==="Enter"&&s(X)&&f(),v==null||v(ve)},ce=function(ve){fe(ve);var me=ve.key,Re=null,pe=null,Ne=le-ae,ct=i.slice(ae,le),dt=function(Ye){_(function(Fe){var Ue=Fe+Ye;return Ue=Math.max(Ue,0),Ue=Math.min(Ue,Z.size()-1),Ue})},pt=function(Ye){var Fe=pS(ct),Ue=ye(Fe,3),Ve=Ue[0],We=Ue[1],je=Ue[2],Ie=X.slice(ae,le),it=Number(Ie);if(isNaN(it))return String(je||(Ye>0?Ve:We));var Oe=it+Ye,Le=We-Ve+1;return String(Ve+(Le+Oe-Ve)%Le)};switch(me){case"Backspace":case"Delete":Re="",pe=ct;break;case"ArrowLeft":Re="",dt(-1);break;case"ArrowRight":Re="",dt(1);break;case"ArrowUp":Re="",pe=pt(1);break;case"ArrowDown":Re="",pe=pt(-1);break;default:isNaN(Number(me))||(Re=B+me,pe=Re);break}if(Re!==null&&(F(Re),Re.length>=Ne&&(dt(1),F(""))),pe!==null){var $e=X.slice(0,ae)+cf(pe,Ne)+X.slice(le);Ce($e.slice(0,i.length))}te({})},xe=d.useRef();Dr(function(){if(!(!A||!i||oe.current)){if(!Z.match(X)){Ce(i);return}return T.current.setSelectionRange(ae,le),xe.current=Pn(function(){T.current.setSelectionRange(ae,le)}),function(){Pn.cancel(xe.current)}}},[Z,i,A,X,V,ae,le,Q,Ce]);var he=i?{onFocus:ge,onBlur:we,onKeyDown:ce,onMouseDown:se,onMouseUp:ke,onPaste:Se}:{};return d.createElement("div",{ref:Y,className:et(M,He(He({},"".concat(M,"-active"),n&&o),"".concat(M,"-placeholder"),u))},d.createElement(O,yt({ref:T,"aria-invalid":g,autoComplete:"off"},y,{onKeyDown:fe,onBlur:ie},he,{value:X,onChange:de})),d.createElement(zs,{type:"suffix",icon:a}),h)}),gS=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],hS=["index"];function bS(e,t){var n=e.id,r=e.prefix,o=e.clearIcon,a=e.suffixIcon,i=e.separator,s=i===void 0?"~":i,l=e.activeIndex;e.activeHelp,e.allHelp;var u=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var c=e.placeholder,f=e.className,v=e.style,p=e.onClick,b=e.onClear,g=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var h=e.disabled,y=e.invalid;e.inputReadOnly;var m=e.direction;e.onOpenChange;var x=e.onActiveInfo;e.placement;var C=e.onMouseDown;e.required,e["aria-required"];var w=e.autoFocus,S=e.tabIndex,k=Fn(e,gS),E=m==="rtl",O=d.useContext(Tr),M=O.prefixCls,N=d.useMemo(function(){if(typeof n=="string")return[n];var Q=n||{};return[Q.start,Q.end]},[n]),R=d.useRef(),A=d.useRef(),I=d.useRef(),P=function(te){var X;return(X=[A,I][te])===null||X===void 0?void 0:X.current};d.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(te){if($r(te)==="object"){var X,Y=te||{},T=Y.index,Z=T===void 0?0:T,J=Fn(Y,hS);(X=P(Z))===null||X===void 0||X.focus(J)}else{var ne;(ne=P(te??0))===null||ne===void 0||ne.focus()}},blur:function(){var te,X;(te=P(0))===null||te===void 0||te.blur(),(X=P(1))===null||X===void 0||X.blur()}}});var D=S0(k),j=d.useMemo(function(){return Array.isArray(c)?c:[c,c]},[c]),$=w0(Be(Be({},e),{},{id:N,placeholder:j})),z=ye($,1),L=z[0],B=d.useState({position:"absolute",width:0}),F=ye(B,2),H=F[0],W=F[1],V=Cn(function(){var Q=P(l);if(Q){var te=Q.nativeElement.getBoundingClientRect(),X=R.current.getBoundingClientRect(),Y=te.left-X.left;W(function(T){return Be(Be({},T),{},{width:te.width,left:Y})}),x([te.left,te.right,X.width])}});d.useEffect(function(){V()},[l]);var _=o&&(g[0]&&!h[0]||g[1]&&!h[1]),q=w&&!h[0],U=w&&!q&&!h[1];return d.createElement(Zg,{onResize:V},d.createElement("div",yt({},D,{className:et(M,"".concat(M,"-range"),He(He(He(He({},"".concat(M,"-focused"),u),"".concat(M,"-disabled"),h.every(function(Q){return Q})),"".concat(M,"-invalid"),y.some(function(Q){return Q})),"".concat(M,"-rtl"),E),f),style:v,ref:R,onClick:p,onMouseDown:function(te){var X=te.target;X!==A.current.inputElement&&X!==I.current.inputElement&&te.preventDefault(),C==null||C(te)}}),r&&d.createElement("div",{className:"".concat(M,"-prefix")},r),d.createElement(yu,yt({ref:A},L(0),{autoFocus:q,tabIndex:S,"date-range":"start"})),d.createElement("div",{className:"".concat(M,"-range-separator")},s),d.createElement(yu,yt({ref:I},L(1),{autoFocus:U,tabIndex:S,"date-range":"end"})),d.createElement("div",{className:"".concat(M,"-active-bar"),style:H}),d.createElement(zs,{type:"suffix",icon:a}),_&&d.createElement(bu,{icon:o,onClear:b})))}var yS=d.forwardRef(bS);function qm(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function pl(e){return e===1?"end":"start"}function xS(e,t){var n=l0(e,function(){var Ot=e.disabled,ut=e.allowEmpty,Mt=qm(Ot,!1),nn=qm(ut,!1);return{disabled:Mt,allowEmpty:nn}}),r=ye(n,6),o=r[0],a=r[1],i=r[2],s=r[3],l=r[4],u=r[5],c=o.prefixCls,f=o.styles,v=o.classNames,p=o.defaultValue,b=o.value,g=o.needConfirm,h=o.onKeyDown,y=o.disabled,m=o.allowEmpty,x=o.disabledDate,C=o.minDate,w=o.maxDate,S=o.defaultOpen,k=o.open,E=o.onOpenChange,O=o.locale,M=o.generateConfig,N=o.picker,R=o.showNow,A=o.showToday,I=o.showTime,P=o.mode,D=o.onPanelChange,j=o.onCalendarChange,$=o.onOk,z=o.defaultPickerValue,L=o.pickerValue,B=o.onPickerValueChange,F=o.inputReadOnly,H=o.suffixIcon,W=o.onFocus,V=o.onBlur,_=o.presets,q=o.ranges,U=o.components,Q=o.cellRender,te=o.dateRender,X=o.monthCellRender,Y=o.onClick,T=c0(t),Z=s0(k,S,y,E),J=ye(Z,2),ne=J[0],ae=J[1],le=function(ut,Mt){(y.some(function(nn){return!nn})||!ut)&&ae(ut,Mt)},be=g0(M,O,s,!0,!1,p,b,j,$),Ce=ye(be,5),de=Ce[0],Se=Ce[1],oe=Ce[2],se=Ce[3],ke=Ce[4],ge=oe(),ie=d0(y,m,ne),we=ye(ie,9),fe=we[0],ce=we[1],xe=we[2],he=we[3],Me=we[4],ve=we[5],me=we[6],Re=we[7],pe=we[8],Ne=function(ut,Mt){ce(!0),W==null||W(ut,{range:pl(Mt??he)})},ct=function(ut,Mt){ce(!1),V==null||V(ut,{range:pl(Mt??he)})},dt=d.useMemo(function(){if(!I)return null;var Ot=I.disabledTime,ut=Ot?function(Mt){var nn=pl(he),Xt=Zh(ge,me,he);return Ot(Mt,nn,{from:Xt})}:void 0;return Be(Be({},I),{},{disabledTime:ut})},[I,he,ge,me]),pt=Kn([N,N],{value:P}),$e=ye(pt,2),De=$e[0],Ye=$e[1],Fe=De[he]||N,Ue=Fe==="date"&&dt?"datetime":Fe,Ve=Ue===N&&Ue!=="time",We=b0(N,Fe,R,A,!0),je=h0(o,de,Se,oe,se,y,s,fe,ne,u),Ie=ye(je,2),it=Ie[0],Oe=Ie[1],Le=K2(ge,y,me,M,O,x),ze=Jh(ge,u,m),Ke=ye(ze,2),ft=Ke[0],Je=Ke[1],Et=f0(M,O,ge,De,ne,he,a,Ve,z,L,dt==null?void 0:dt.defaultOpenValue,B,C,w),It=ye(Et,2),mt=It[0],Nt=It[1],zt=Cn(function(Ot,ut,Mt){var nn=fi(De,he,ut);if((nn[0]!==De[0]||nn[1]!==De[1])&&Ye(nn),D&&Mt!==!1){var Xt=Ft(ge);Ot&&(Xt[he]=Ot),D(Xt,nn)}}),Ht=function(ut,Mt){return fi(ge,Mt,ut)},At=function(ut,Mt){var nn=ge;ut&&(nn=Ht(ut,he)),Re(he);var Xt=ve(nn);se(nn),it(he,Xt===null),Xt===null?le(!1,{force:!0}):Mt||T.current.focus({index:Xt})},Wt=function(ut){var Mt,nn=ut.target.getRootNode();if(!T.current.nativeElement.contains((Mt=nn.activeElement)!==null&&Mt!==void 0?Mt:document.activeElement)){var Xt=y.findIndex(function(co){return!co});Xt>=0&&T.current.focus({index:Xt})}le(!0),Y==null||Y(ut)},Tt=function(){Oe(null),le(!1,{force:!0})},_t=d.useState(null),Pe=ye(_t,2),Ze=Pe[0],Ge=Pe[1],Te=d.useState(null),ot=ye(Te,2),kt=ot[0],Dt=ot[1],rn=d.useMemo(function(){return kt||ge},[ge,kt]);d.useEffect(function(){ne||Dt(null)},[ne]);var cn=d.useState([0,0,0]),Gt=ye(cn,2),Ut=Gt[0],mn=Gt[1],dn=u0(_,q),pn=function(ut){Dt(ut),Ge("preset")},yn=function(ut){var Mt=Oe(ut);Mt&&le(!1,{force:!0})},vn=function(ut){At(ut)},qn=function(ut){Dt(ut?Ht(ut,he):null),Ge("cell")},Gn=function(ut){le(!0),Ne(ut)},Un=function(){xe("panel")},or=function(ut){var Mt=fi(ge,he,ut);se(Mt),!g&&!i&&a===Ue&&At(ut)},wt=function(){le(!1)},lt=uf(Q,te,X,pl(he)),nt=ge[he]||null,Kt=Cn(function(Ot){return u(Ot,{activeIndex:he})}),tt=d.useMemo(function(){var Ot=wo(o,!1),ut=Vi(o,[].concat(Ft(Object.keys(Ot)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return ut},[o]),Xe=d.createElement(C0,yt({},tt,{showNow:We,showTime:dt,range:!0,multiplePanel:Ve,activeInfo:Ut,disabledDate:Le,onFocus:Gn,onBlur:ct,onPanelMouseDown:Un,picker:N,mode:Fe,internalMode:Ue,onPanelChange:zt,format:l,value:nt,isInvalid:Kt,onChange:null,onSelect:or,pickerValue:mt,defaultOpenValue:Xo(I==null?void 0:I.defaultOpenValue)[he],onPickerValueChange:Nt,hoverValue:rn,onHover:qn,needConfirm:g,onSubmit:At,onOk:ke,presets:dn,onPresetHover:pn,onPresetSubmit:yn,onNow:vn,cellRender:lt})),Bt=function(ut,Mt){var nn=Ht(ut,Mt);se(nn)},tn=function(){xe("input")},gn=function(ut,Mt){var nn=me.length,Xt=me[nn-1];if(nn&&Xt!==Mt&&g&&!m[Xt]&&!pe(Xt)&&ge[Xt]){T.current.focus({index:Xt});return}xe("input"),le(!0,{inherit:!0}),he!==Mt&&ne&&!g&&i&&At(null,!0),Me(Mt),Ne(ut,Mt)},An=function(ut,Mt){if(le(!1),!g&&xe()==="input"){var nn=ve(ge);it(he,nn===null)}ct(ut,Mt)},Xn=function(ut,Mt){ut.key==="Tab"&&At(null,!0),h==null||h(ut,Mt)},nr=d.useMemo(function(){return{prefixCls:c,locale:O,generateConfig:M,button:U.button,input:U.input}},[c,O,M,U.button,U.input]);return Dr(function(){ne&&he!==void 0&&zt(null,N,!1)},[ne,he,N]),Dr(function(){var Ot=xe();!ne&&Ot==="input"&&(le(!1),At(null,!0)),!ne&&i&&!g&&Ot==="panel"&&(le(!0),At())},[ne]),d.createElement(Tr.Provider,{value:nr},d.createElement(Uh,yt({},Qh(o),{popupElement:Xe,popupStyle:f.popup,popupClassName:v.popup,visible:ne,onClose:wt,range:!0}),d.createElement(yS,yt({},o,{ref:T,suffixIcon:H,activeIndex:fe||ne?he:null,activeHelp:!!kt,allHelp:!!kt&&Ze==="preset",focused:fe,onFocus:gn,onBlur:An,onKeyDown:Xn,onSubmit:At,value:rn,maskFormat:l,onChange:Bt,onInputChange:tn,format:s,inputReadOnly:F,disabled:y,open:ne,onOpenChange:le,onClick:Wt,onClear:Tt,invalid:ft,onInvalid:Je,onActiveInfo:mn}))))}var CS=d.forwardRef(xS);function wS(e){var t=e.prefixCls,n=e.value,r=e.onRemove,o=e.removeIcon,a=o===void 0?"\xD7":o,i=e.formatDate,s=e.disabled,l=e.maxTagCount,u=e.placeholder,c="".concat(t,"-selector"),f="".concat(t,"-selection"),v="".concat(f,"-overflow");function p(h,y){return d.createElement("span",{className:et("".concat(f,"-item")),title:typeof h=="string"?h:null},d.createElement("span",{className:"".concat(f,"-item-content")},h),!s&&y&&d.createElement("span",{onMouseDown:function(x){x.preventDefault()},onClick:y,className:"".concat(f,"-item-remove")},a))}function b(h){var y=i(h),m=function(C){C&&C.stopPropagation(),r(h)};return p(y,m)}function g(h){var y="+ ".concat(h.length," ...");return p(y)}return d.createElement("div",{className:c},d.createElement(Vg,{prefixCls:v,data:n,renderItem:b,renderRest:g,itemKey:function(y){return i(y)},maxCount:l}),!n.length&&d.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var SS=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function ES(e,t){e.id;var n=e.open,r=e.prefix,o=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var s=e.locale,l=e.generateConfig,u=e.placeholder,c=e.className,f=e.style,v=e.onClick,p=e.onClear,b=e.internalPicker,g=e.value,h=e.onChange,y=e.onSubmit;e.onInputChange;var m=e.multiple,x=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var C=e.disabled,w=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var k=e.onMouseDown;e.required,e["aria-required"];var E=e.autoFocus,O=e.tabIndex,M=e.removeIcon,N=Fn(e,SS),R=S==="rtl",A=d.useContext(Tr),I=A.prefixCls,P=d.useRef(),D=d.useRef();d.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(q){var U;(U=D.current)===null||U===void 0||U.focus(q)},blur:function(){var q;(q=D.current)===null||q===void 0||q.blur()}}});var j=S0(N),$=function(q){h([q])},z=function(q){var U=g.filter(function(Q){return Q&&!er(l,s,Q,q,b)});h(U),n||y()},L=w0(Be(Be({},e),{},{onChange:$}),function(_){var q=_.valueTexts;return{value:q[0]||"",active:i}}),B=ye(L,2),F=B[0],H=B[1],W=!!(o&&g.length&&!C),V=m?d.createElement(d.Fragment,null,d.createElement(wS,{prefixCls:I,value:g,onRemove:z,formatDate:H,maxTagCount:x,disabled:C,removeIcon:M,placeholder:u}),d.createElement("input",{className:"".concat(I,"-multiple-input"),value:g.map(H).join(","),ref:D,readOnly:!0,autoFocus:E,tabIndex:O}),d.createElement(zs,{type:"suffix",icon:a}),W&&d.createElement(bu,{icon:o,onClear:p})):d.createElement(yu,yt({ref:D},F(),{autoFocus:E,tabIndex:O,suffixIcon:a,clearIcon:W&&d.createElement(bu,{icon:o,onClear:p}),showActiveCls:!1}));return d.createElement("div",yt({},j,{className:et(I,He(He(He(He(He({},"".concat(I,"-multiple"),m),"".concat(I,"-focused"),i),"".concat(I,"-disabled"),C),"".concat(I,"-invalid"),w),"".concat(I,"-rtl"),R),c),style:f,ref:P,onClick:v,onMouseDown:function(q){var U,Q=q.target;Q!==((U=D.current)===null||U===void 0?void 0:U.inputElement)&&q.preventDefault(),k==null||k(q)}}),r&&d.createElement("div",{className:"".concat(I,"-prefix")},r),V)}var kS=d.forwardRef(ES);function IS(e,t){var n=l0(e),r=ye(n,6),o=r[0],a=r[1],i=r[2],s=r[3],l=r[4],u=r[5],c=o,f=c.prefixCls,v=c.styles,p=c.classNames,b=c.order,g=c.defaultValue,h=c.value,y=c.needConfirm,m=c.onChange,x=c.onKeyDown,C=c.disabled,w=c.disabledDate,S=c.minDate,k=c.maxDate,E=c.defaultOpen,O=c.open,M=c.onOpenChange,N=c.locale,R=c.generateConfig,A=c.picker,I=c.showNow,P=c.showToday,D=c.showTime,j=c.mode,$=c.onPanelChange,z=c.onCalendarChange,L=c.onOk,B=c.multiple,F=c.defaultPickerValue,H=c.pickerValue,W=c.onPickerValueChange,V=c.inputReadOnly,_=c.suffixIcon,q=c.removeIcon,U=c.onFocus,Q=c.onBlur,te=c.presets,X=c.components,Y=c.cellRender,T=c.dateRender,Z=c.monthCellRender,J=c.onClick,ne=c0(t);function ae(tt){return tt===null?null:B?tt:tt[0]}var le=y0(R,N,a),be=s0(O,E,[C],M),Ce=ye(be,2),de=Ce[0],Se=Ce[1],oe=function(Xe,Bt,tn){if(z){var gn=Be({},tn);delete gn.range,z(ae(Xe),ae(Bt),gn)}},se=function(Xe){L==null||L(ae(Xe))},ke=g0(R,N,s,!1,b,g,h,oe,se),ge=ye(ke,5),ie=ge[0],we=ge[1],fe=ge[2],ce=ge[3],xe=ge[4],he=fe(),Me=d0([C]),ve=ye(Me,4),me=ve[0],Re=ve[1],pe=ve[2],Ne=ve[3],ct=function(Xe){Re(!0),U==null||U(Xe,{})},dt=function(Xe){Re(!1),Q==null||Q(Xe,{})},pt=Kn(A,{value:j}),$e=ye(pt,2),De=$e[0],Ye=$e[1],Fe=De==="date"&&D?"datetime":De,Ue=b0(A,De,I,P),Ve=m&&function(tt,Xe){m(ae(tt),ae(Xe))},We=h0(Be(Be({},o),{},{onChange:Ve}),ie,we,fe,ce,[],s,me,de,u),je=ye(We,2),Ie=je[1],it=Jh(he,u),Oe=ye(it,2),Le=Oe[0],ze=Oe[1],Ke=d.useMemo(function(){return Le.some(function(tt){return tt})},[Le]),ft=function(Xe,Bt){if(W){var tn=Be(Be({},Bt),{},{mode:Bt.mode[0]});delete tn.range,W(Xe[0],tn)}},Je=f0(R,N,he,[De],de,Ne,a,!1,F,H,Xo(D==null?void 0:D.defaultOpenValue),ft,S,k),Et=ye(Je,2),It=Et[0],mt=Et[1],Nt=Cn(function(tt,Xe,Bt){if(Ye(Xe),$&&Bt!==!1){var tn=tt||he[he.length-1];$(tn,Xe)}}),zt=function(){Ie(fe()),Se(!1,{force:!0})},Ht=function(Xe){!C&&!ne.current.nativeElement.contains(document.activeElement)&&ne.current.focus(),Se(!0),J==null||J(Xe)},At=function(){Ie(null),Se(!1,{force:!0})},Wt=d.useState(null),Tt=ye(Wt,2),_t=Tt[0],Pe=Tt[1],Ze=d.useState(null),Ge=ye(Ze,2),Te=Ge[0],ot=Ge[1],kt=d.useMemo(function(){var tt=[Te].concat(Ft(he)).filter(function(Xe){return Xe});return B?tt:tt.slice(0,1)},[he,Te,B]),Dt=d.useMemo(function(){return!B&&Te?[Te]:he.filter(function(tt){return tt})},[he,Te,B]);d.useEffect(function(){de||ot(null)},[de]);var rn=u0(te),cn=function(Xe){ot(Xe),Pe("preset")},Gt=function(Xe){var Bt=B?le(fe(),Xe):[Xe],tn=Ie(Bt);tn&&!B&&Se(!1,{force:!0})},Ut=function(Xe){Gt(Xe)},mn=function(Xe){ot(Xe),Pe("cell")},dn=function(Xe){Se(!0),ct(Xe)},pn=function(Xe){if(pe("panel"),!(B&&Fe!==A)){var Bt=B?le(fe(),Xe):[Xe];ce(Bt),!y&&!i&&a===Fe&&zt()}},yn=function(){Se(!1)},vn=uf(Y,T,Z),qn=d.useMemo(function(){var tt=wo(o,!1),Xe=Vi(o,[].concat(Ft(Object.keys(tt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return Be(Be({},Xe),{},{multiple:o.multiple})},[o]),Gn=d.createElement(C0,yt({},qn,{showNow:Ue,showTime:D,disabledDate:w,onFocus:dn,onBlur:dt,picker:A,mode:De,internalMode:Fe,onPanelChange:Nt,format:l,value:he,isInvalid:u,onChange:null,onSelect:pn,pickerValue:It,defaultOpenValue:D==null?void 0:D.defaultOpenValue,onPickerValueChange:mt,hoverValue:kt,onHover:mn,needConfirm:y,onSubmit:zt,onOk:xe,presets:rn,onPresetHover:cn,onPresetSubmit:Gt,onNow:Ut,cellRender:vn})),Un=function(Xe){ce(Xe)},or=function(){pe("input")},wt=function(Xe){pe("input"),Se(!0,{inherit:!0}),ct(Xe)},lt=function(Xe){Se(!1),dt(Xe)},nt=function(Xe,Bt){Xe.key==="Tab"&&zt(),x==null||x(Xe,Bt)},Kt=d.useMemo(function(){return{prefixCls:f,locale:N,generateConfig:R,button:X.button,input:X.input}},[f,N,R,X.button,X.input]);return Dr(function(){de&&Ne!==void 0&&Nt(null,A,!1)},[de,Ne,A]),Dr(function(){var tt=pe();!de&&tt==="input"&&(Se(!1),zt()),!de&&i&&!y&&tt==="panel"&&zt()},[de]),d.createElement(Tr.Provider,{value:Kt},d.createElement(Uh,yt({},Qh(o),{popupElement:Gn,popupStyle:v.popup,popupClassName:p.popup,visible:de,onClose:yn}),d.createElement(kS,yt({},o,{ref:ne,suffixIcon:_,removeIcon:q,activeHelp:!!Te,allHelp:!!Te&&_t==="preset",focused:me,onFocus:wt,onBlur:lt,onKeyDown:nt,onSubmit:zt,value:Dt,maskFormat:l,onChange:Un,onInputChange:or,internalPicker:a,format:s,inputReadOnly:V,disabled:C,open:de,onOpenChange:Se,onClick:Ht,onClear:At,invalid:Ke,onInvalid:function(Xe){ze(Xe,0)}}))))}var MS=d.forwardRef(IS);const E0=d.createContext(null),NS=E0.Provider,k0=d.createContext(null),OS=k0.Provider;var PS=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],I0=rr(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,o=e.className,a=e.style,i=e.checked,s=e.disabled,l=e.defaultChecked,u=l===void 0?!1:l,c=e.type,f=c===void 0?"checkbox":c,v=e.title,p=e.onChange,b=Fn(e,PS),g=at(null),h=at(null),y=Kn(u,{value:i}),m=ye(y,2),x=m[0],C=m[1];Yo(t,function(){return{focus:function(E){var O;(O=g.current)===null||O===void 0||O.focus(E)},blur:function(){var E;(E=g.current)===null||E===void 0||E.blur()},input:g.current,nativeElement:h.current}});var w=et(r,o,He(He({},"".concat(r,"-checked"),x),"".concat(r,"-disabled"),s)),S=function(E){s||("checked"in e||C(E.target.checked),p==null||p({target:Be(Be({},e),{},{type:f,checked:E.target.checked}),stopPropagation:function(){E.stopPropagation()},preventDefault:function(){E.preventDefault()},nativeEvent:E.nativeEvent}))};return d.createElement("span",{className:w,title:v,style:a,ref:h},d.createElement("input",yt({},b,{className:"".concat(r,"-input"),ref:g,onChange:S,disabled:s,checked:!!x,type:f})),d.createElement("span",{className:"".concat(r,"-inner")}))});function M0(e){const t=ue.useRef(null),n=()=>{Pn.cancel(t.current),t.current=null};return[()=>{n(),t.current=Pn(()=>{t.current=null})},a=>{t.current&&(a.stopPropagation(),n()),e==null||e(a)}]}const RS=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},vr(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`&${r}-block`]:{display:"flex"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},AS=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:a,motionDurationMid:i,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:u,lineWidth:c,colorBgContainerDisabled:f,colorTextDisabled:v,paddingXS:p,dotColorDisabled:b,lineType:g,radioColor:h,radioBgColor:y,calc:m}=e,x=`${t}-inner`,w=m(o).sub(m(4).mul(2)),S=m(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},vr(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Ae(c)} ${g} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},vr(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &,
|
|
159
|
-
&:hover ${x}`]:{borderColor:r},[`${t}-input:focus-visible + ${x}`]:Qg(e),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:S,height:S,marginBlockStart:m(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:m(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:h,borderBlockStart:0,borderInlineStart:0,borderRadius:S,transform:"scale(0)",opacity:0,transition:`all ${a} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:S,height:S,backgroundColor:l,borderColor:u,borderStyle:"solid",borderWidth:c,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[x]:{borderColor:r,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${a} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:b}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:v,cursor:"not-allowed"},[`&${t}-checked`]:{[x]:{"&::after":{transform:`scale(${m(w).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},DS=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:a,colorBorder:i,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:u,fontSize:c,buttonBg:f,fontSizeLG:v,controlHeightLG:p,controlHeightSM:b,paddingXS:g,borderRadius:h,borderRadiusSM:y,borderRadiusLG:m,buttonCheckedBg:x,buttonSolidCheckedColor:C,colorTextDisabled:w,colorBgContainerDisabled:S,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:E,colorPrimary:O,colorPrimaryHover:M,colorPrimaryActive:N,buttonSolidCheckedBg:R,buttonSolidCheckedHoverBg:A,buttonSolidCheckedActiveBg:I,calc:P}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:c,lineHeight:Ae(P(n).sub(P(o).mul(2)).equal()),background:f,border:`${Ae(o)} ${a} ${i}`,borderBlockStartWidth:P(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:P(o).mul(-1).equal(),insetInlineStart:P(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ae(o)} ${a} ${i}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:p,fontSize:v,lineHeight:Ae(P(p).sub(P(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:m,borderEndStartRadius:m},"&:last-child":{borderStartEndRadius:m,borderEndEndRadius:m}},[`${r}-group-small &`]:{height:b,paddingInline:P(g).sub(o).equal(),paddingBlock:0,lineHeight:Ae(P(b).sub(P(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Qg(e),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:x,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:M,borderColor:M,"&::before":{backgroundColor:M}},"&:active":{color:N,borderColor:N,"&::before":{backgroundColor:N}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:R,borderColor:R,"&:hover":{color:C,background:A,borderColor:A},"&:active":{color:C,background:I,borderColor:I}},"&-disabled":{color:w,backgroundColor:S,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:w,backgroundColor:S,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:E,backgroundColor:k,borderColor:i,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},jS=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:a,colorText:i,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:u,colorTextLightSolid:c,colorPrimary:f,colorPrimaryHover:v,colorPrimaryActive:p,colorWhite:b}=e,g=4,h=a,y=t?h-g*2:h-(g+o)*2;return{radioSize:h,dotSize:y,dotColorDisabled:l,buttonSolidCheckedColor:c,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:v,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?f:b,radioBgColor:t?s:f}},N0=Go("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Ae(n)} ${t}`,a=gr(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[RS(a),AS(a),DS(a)]},jS,{unitless:{radioSize:!0,dotSize:!0}});var $S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const FS=(e,t)=>{var n,r;const o=d.useContext(E0),a=d.useContext(k0),{getPrefixCls:i,direction:s,radio:l}=d.useContext(Fr),u=d.useRef(null),c=Li(t,u),{isFormItemInput:f}=d.useContext(Uo),v=D=>{var j,$;(j=e.onChange)===null||j===void 0||j.call(e,D),($=o==null?void 0:o.onChange)===null||$===void 0||$.call(o,D)},{prefixCls:p,className:b,rootClassName:g,children:h,style:y,title:m}=e,x=$S(e,["prefixCls","className","rootClassName","children","style","title"]),C=i("radio",p),w=((o==null?void 0:o.optionType)||a)==="button",S=w?`${C}-button`:C,k=So(C),[E,O,M]=N0(C,k),N=Object.assign({},x),R=d.useContext(Eo);o&&(N.name=o.name,N.onChange=v,N.checked=e.value===o.value,N.disabled=(n=N.disabled)!==null&&n!==void 0?n:o.disabled),N.disabled=(r=N.disabled)!==null&&r!==void 0?r:R;const A=et(`${S}-wrapper`,{[`${S}-wrapper-checked`]:N.checked,[`${S}-wrapper-disabled`]:N.disabled,[`${S}-wrapper-rtl`]:s==="rtl",[`${S}-wrapper-in-form-item`]:f,[`${S}-wrapper-block`]:!!(o!=null&&o.block)},l==null?void 0:l.className,b,g,O,M,k),[I,P]=M0(N.onClick);return E(d.createElement(Gd,{component:"Radio",disabled:N.disabled},d.createElement("label",{className:A,style:Object.assign(Object.assign({},l==null?void 0:l.style),y),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:m,onClick:I},d.createElement(I0,Object.assign({},N,{className:et(N.className,{[Jg]:!w}),type:"radio",prefixCls:S,ref:c,onClick:P})),h!==void 0?d.createElement("span",{className:`${S}-label`},h):null)))},rs=d.forwardRef(FS),TS=d.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=d.useContext(Fr),{name:o}=d.useContext(Uo),a=zx(Hx(o)),{prefixCls:i,className:s,rootClassName:l,options:u,buttonStyle:c="outline",disabled:f,children:v,size:p,style:b,id:g,optionType:h,name:y=a,defaultValue:m,value:x,block:C=!1,onChange:w,onMouseEnter:S,onMouseLeave:k,onFocus:E,onBlur:O}=e,[M,N]=Kn(m,{value:x}),R=d.useCallback(H=>{const W=M,V=H.target.value;"value"in e||N(V),V!==W&&(w==null||w(H))},[M,N,w]),A=n("radio",i),I=`${A}-group`,P=So(A),[D,j,$]=N0(A,P);let z=v;u&&u.length>0&&(z=u.map(H=>typeof H=="string"||typeof H=="number"?d.createElement(rs,{key:H.toString(),prefixCls:A,disabled:f,value:H,checked:M===H},H):d.createElement(rs,{key:`radio-group-value-options-${H.value}`,prefixCls:A,disabled:H.disabled||f,value:H.value,checked:M===H.value,title:H.title,style:H.style,className:H.className,id:H.id,required:H.required},H.label)));const L=$a(p),B=et(I,`${I}-${c}`,{[`${I}-${L}`]:L,[`${I}-rtl`]:r==="rtl",[`${I}-block`]:C},s,l,j,$,P),F=d.useMemo(()=>({onChange:R,value:M,disabled:f,name:y,optionType:h,block:C}),[R,M,f,y,h,C]);return D(d.createElement("div",Object.assign({},wo(e,{aria:!0,data:!0}),{className:B,style:b,onMouseEnter:S,onMouseLeave:k,onFocus:E,onBlur:O,id:g,ref:t}),d.createElement(NS,{value:F},z)))}),BS=d.memo(TS);var zS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const HS=(e,t)=>{const{getPrefixCls:n}=d.useContext(Fr),{prefixCls:r}=e,o=zS(e,["prefixCls"]),a=n("radio",r);return d.createElement(OS,{value:"button"},d.createElement(rs,Object.assign({prefixCls:a},o,{type:"radio",ref:t})))},LS=d.forwardRef(HS),Si=rs;Si.Button=LS;Si.Group=BS;Si.__ANT_RADIO=!0;const Nc=(e,t)=>{const{componentCls:n,controlHeight:r}=e,o=t?`${n}-${t}`:"",a=Hh(e);return[{[`${n}-multiple${o}`]:{paddingBlock:a.containerPadding,paddingInlineStart:a.basePadding,minHeight:r,[`${n}-selection-item`]:{height:a.itemHeight,lineHeight:Ae(a.itemLineHeight)}}}]},VS=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=gr(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),a=gr(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[Nc(o,"small"),Nc(e),Nc(a,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},Lh(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},WS=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:a,cellHoverBg:i,lineWidth:s,lineType:l,colorPrimary:u,cellActiveWithRangeBg:c,colorTextLightSolid:f,colorTextDisabled:v,cellBgDisabled:p,colorFillSecondary:b}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:Ae(r),borderRadius:o,transition:`background ${a}`},[`&:hover:not(${t}-in-view):not(${t}-disabled),
|
|
160
|
-
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:i}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Ae(s)} ${l} ${u}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
|
161
|
-
&-in-view${t}-range-start,
|
|
162
|
-
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:c}},[`&-in-view${t}-selected,
|
|
163
|
-
&-in-view${t}-range-start,
|
|
164
|
-
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:f,background:u},[`&${t}-disabled ${n}`]:{background:b}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:v,cursor:"not-allowed",[n]:{background:"transparent"},"&::before":{background:p}},[`&-disabled${t}-today ${n}::before`]:{borderColor:v}}},KS=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:a,cellWidth:i,paddingSM:s,paddingXS:l,paddingXXS:u,colorBgContainer:c,lineWidth:f,lineType:v,borderRadiusLG:p,colorPrimary:b,colorTextHeading:g,colorSplit:h,pickerControlIconBorderWidth:y,colorIcon:m,textHeight:x,motionDurationMid:C,colorIconHover:w,fontWeightStrong:S,cellHeight:k,pickerCellPaddingVertical:E,colorTextDisabled:O,colorText:M,fontSize:N,motionDurationSlow:R,withoutTimeCellHeight:A,pickerQuarterPanelContentHeight:I,borderRadiusSM:P,colorTextLightSolid:D,cellHoverBg:j,timeColumnHeight:$,timeColumnWidth:z,timeCellHeight:L,controlItemBgActive:B,marginXXS:F,pickerDatePanelPaddingHorizontal:H,pickerControlIconMargin:W}=e,V=e.calc(i).mul(7).add(e.calc(H).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:c,borderRadius:p,outline:"none","&-focused":{borderColor:b},"&-rtl":{[`${t}-prev-icon,
|
|
165
|
-
${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
|
|
166
|
-
${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:V},"&-header":{display:"flex",padding:`0 ${Ae(l)}`,color:g,borderBottom:`${Ae(f)} ${v} ${h}`,"> *":{flex:"none"},button:{padding:0,color:m,lineHeight:Ae(x),background:"transparent",border:0,cursor:"pointer",transition:`color ${C}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:N,"&:hover":{color:w},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:S,lineHeight:Ae(x),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:b}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:a,height:a,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:y,borderInlineStartWidth:y,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:W,insetInlineStart:W,display:"inline-block",width:a,height:a,border:"0 solid currentcolor",borderBlockStartWidth:y,borderInlineStartWidth:y,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:k,fontWeight:"normal"},th:{height:e.calc(k).add(e.calc(E).mul(2)).equal(),color:M,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Ae(E)} 0`,color:O,cursor:"pointer","&-in-view":{color:M}},WS(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(A).mul(4).equal()},[r]:{padding:`0 ${Ae(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:I}},"&-decade-panel":{[r]:{padding:`0 ${Ae(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${Ae(l)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${Ae(l)} ${Ae(H)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel-row":{td:{"&:before":{transition:`background ${C}`},"&:first-child:before":{borderStartStartRadius:P,borderEndStartRadius:P},"&:last-child:before":{borderStartEndRadius:P,borderEndEndRadius:P}},"&:hover td:before":{background:j},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:b},[`&${t}-cell-week`]:{color:new Cr(D).setA(.5).toHexString()},[r]:{color:D}}},"&-range-hover td:before":{background:B}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${Ae(l)} ${Ae(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${Ae(f)} ${v} ${h}`},[`${t}-date-panel,
|
|
167
|
-
${t}-time-panel`]:{transition:`opacity ${R}`},"&-active":{[`${t}-date-panel,
|
|
168
|
-
${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:$},"&-column":{flex:"1 0 auto",width:z,margin:`${Ae(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${Ae(L)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Ae(f)} ${v} ${h}`},"&-active":{background:new Cr(B).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:F,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(z).sub(e.calc(F).mul(2)).equal(),height:L,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(z).sub(L).div(2).equal(),color:M,lineHeight:Ae(L),borderRadius:P,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:j}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:B}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:O,background:"transparent",cursor:"not-allowed"}}}}}}}}},YS=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:a,colorPrimary:i,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:u,colorSplit:c}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Ae(r)} ${u} ${c}`,"&-extra":{padding:`0 ${Ae(o)}`,lineHeight:Ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${Ae(r)} ${u} ${c}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:Ae(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:Ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:i,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},qS=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},GS=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:o,paddingXXS:a,lineWidth:i}=e,s=a*2,l=i*2,u=Math.min(n-s,n-l),c=Math.min(r-s,r-l),f=Math.min(o-s,o-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Cr(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Cr(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:o*1.4,timeColumnHeight:224,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:o,withoutTimeCellHeight:o*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:c,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},US=e=>Object.assign(Object.assign(Object.assign(Object.assign({},_g(e)),GS(e)),Lx(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),XS=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign(Object.assign({},eh(e)),th(e)),nh(e)),rh(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},Oc=(e,t)=>({padding:`${Ae(e)} ${Ae(t)}`}),ZS=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},QS=e=>{var t;const{componentCls:n,antCls:r,paddingInline:o,lineWidth:a,lineType:i,colorBorder:s,borderRadius:l,motionDurationMid:u,colorTextDisabled:c,colorTextPlaceholder:f,fontSizeLG:v,inputFontSizeLG:p,fontSizeSM:b,inputFontSizeSM:g,controlHeightSM:h,paddingInlineSM:y,paddingXS:m,marginXS:x,colorIcon:C,lineWidthBold:w,colorPrimary:S,motionDurationSlow:k,zIndexPopup:E,paddingXXS:O,sizePopupArrow:M,colorBgElevated:N,borderRadiusLG:R,boxShadowSecondary:A,borderRadiusSM:I,colorSplit:P,cellHoverBg:D,presetsWidth:j,presetsMaxWidth:$,boxShadowPopoverArrow:z,fontHeight:L,lineHeightLG:B}=e;return[{[n]:Object.assign(Object.assign(Object.assign({},vr(e)),Oc(e.paddingBlock,e.paddingInline)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${n}-prefix`]:{flex:"0 0 auto",marginInlineEnd:e.inputAffixPadding},[`${n}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:(t=e.inputFontSize)!==null&&t!==void 0?t:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},ah(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:c,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},Oc(e.paddingBlockLG,e.paddingInlineLG)),{[`${n}-input > input`]:{fontSize:p??v,lineHeight:B}}),"&-small":Object.assign(Object.assign({},Oc(e.paddingBlockSM,e.paddingInlineSM)),{[`${n}-input > input`]:{fontSize:g??b}}),[`${n}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(m).div(2).equal(),color:c,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:x}}},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:c,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:C}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-suffix:not(:last-child)`]:{opacity:0}},[`${n}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:v,color:c,fontSize:v,verticalAlign:"top",cursor:"default",[`${n}-focused &`]:{color:C},[`${n}-range-separator &`]:{[`${n}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${n}-active-bar`]:{bottom:e.calc(a).mul(-1).equal(),height:w,background:S,opacity:0,transition:`all ${k} ease-out`,pointerEvents:"none"},[`&${n}-focused`]:{[`${n}-active-bar`]:{opacity:1}},[`${n}-range-separator`]:{alignItems:"center",padding:`0 ${Ae(m)}`,lineHeight:1}},"&-range, &-multiple":{[`${n}-clear`]:{insetInlineEnd:o},[`&${n}-small`]:{[`${n}-clear`]:{insetInlineEnd:y}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},vr(e)),KS(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,[`&${n}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${n}-dropdown-placement-bottomLeft,
|
|
169
|
-
&${n}-dropdown-placement-bottomRight`]:{[`${n}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${n}-dropdown-placement-topLeft,
|
|
170
|
-
&${n}-dropdown-placement-topRight`]:{[`${n}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${r}-slide-up-appear, &${r}-slide-up-enter`]:{[`${n}-range-arrow${n}-range-arrow`]:{transition:"none"}},[`&${r}-slide-up-enter${r}-slide-up-enter-active${n}-dropdown-placement-topLeft,
|
|
171
|
-
&${r}-slide-up-enter${r}-slide-up-enter-active${n}-dropdown-placement-topRight,
|
|
172
|
-
&${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-topLeft,
|
|
173
|
-
&${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-topRight`]:{animationName:Gg},[`&${r}-slide-up-enter${r}-slide-up-enter-active${n}-dropdown-placement-bottomLeft,
|
|
174
|
-
&${r}-slide-up-enter${r}-slide-up-enter-active${n}-dropdown-placement-bottomRight,
|
|
175
|
-
&${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-bottomLeft,
|
|
176
|
-
&${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-bottomRight`]:{animationName:Ug},[`&${r}-slide-up-leave ${n}-panel-container`]:{pointerEvents:"none"},[`&${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-topLeft,
|
|
177
|
-
&${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-topRight`]:{animationName:Yg},[`&${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-bottomLeft,
|
|
178
|
-
&${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-bottomRight`]:{animationName:qg},[`${n}-panel > ${n}-time-panel`]:{paddingTop:O},[`${n}-range-wrapper`]:{display:"flex",position:"relative"},[`${n}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${k} ease-out`},Vx(e,N,z)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${n}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:N,borderRadius:R,boxShadow:A,transition:`margin ${k}`,display:"inline-block",pointerEvents:"auto",[`${n}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${n}-presets`]:{display:"flex",flexDirection:"column",minWidth:j,maxWidth:$,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:m,borderInlineEnd:`${Ae(a)} ${i} ${P}`,li:Object.assign(Object.assign({},es),{borderRadius:I,paddingInline:m,paddingBlock:e.calc(h).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${k}`,"+ li":{marginTop:x},"&:hover":{background:D}})}},[`${n}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${n}-panel`]:{borderWidth:0}}},[`${n}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${n}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${Ae(e.calc(M).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${n}-separator`]:{transform:"scale(-1, 1)"},[`${n}-footer`]:{"&-extra":{direction:"rtl"}}}})},Jl(e,"slide-up"),Jl(e,"slide-down"),_l(e,"move-up"),_l(e,"move-down")]},O0=Go("DatePicker",e=>{const t=gr(oh(e),qS(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[YS(t),QS(t),XS(t),ZS(t),VS(t),Wd(e,{focusElCls:`${e.componentCls}-focused`})]},US),P0=ue.createContext(null);var JS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const _S=(e,t)=>{var n;const{prefixCls:r,className:o,rootClassName:a,children:i,indeterminate:s=!1,style:l,onMouseEnter:u,onMouseLeave:c,skipGroup:f=!1,disabled:v}=e,p=JS(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:b,direction:g,checkbox:h}=d.useContext(Fr),y=d.useContext(P0),{isFormItemInput:m}=d.useContext(Uo),x=d.useContext(Eo),C=(n=(y==null?void 0:y.disabled)||v)!==null&&n!==void 0?n:x,w=d.useRef(p.value),S=d.useRef(null),k=Li(t,S);d.useEffect(()=>{y==null||y.registerValue(p.value)},[]),d.useEffect(()=>{if(!f)return p.value!==w.current&&(y==null||y.cancelValue(w.current),y==null||y.registerValue(p.value),w.current=p.value),()=>y==null?void 0:y.cancelValue(p.value)},[p.value]),d.useEffect(()=>{var $;!(($=S.current)===null||$===void 0)&&$.input&&(S.current.input.indeterminate=s)},[s]);const E=b("checkbox",r),O=So(E),[M,N,R]=ih(E,O),A=Object.assign({},p);y&&!f&&(A.onChange=(...$)=>{p.onChange&&p.onChange.apply(p,$),y.toggleOption&&y.toggleOption({label:i,value:p.value})},A.name=y.name,A.checked=y.value.includes(p.value));const I=et(`${E}-wrapper`,{[`${E}-rtl`]:g==="rtl",[`${E}-wrapper-checked`]:A.checked,[`${E}-wrapper-disabled`]:C,[`${E}-wrapper-in-form-item`]:m},h==null?void 0:h.className,o,a,R,O,N),P=et({[`${E}-indeterminate`]:s},Jg,N),[D,j]=M0(A.onClick);return M(d.createElement(Gd,{component:"Checkbox",disabled:C},d.createElement("label",{className:I,style:Object.assign(Object.assign({},h==null?void 0:h.style),l),onMouseEnter:u,onMouseLeave:c,onClick:D},d.createElement(I0,Object.assign({},A,{onClick:j,prefixCls:E,className:P,disabled:C,ref:k})),i!=null&&d.createElement("span",{className:`${E}-label`},i))))},R0=d.forwardRef(_S);var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const tE=d.forwardRef((e,t)=>{const{defaultValue:n,children:r,options:o=[],prefixCls:a,className:i,rootClassName:s,style:l,onChange:u}=e,c=eE(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:v}=d.useContext(Fr),[p,b]=d.useState(c.value||n||[]),[g,h]=d.useState([]);d.useEffect(()=>{"value"in c&&b(c.value||[])},[c.value]);const y=d.useMemo(()=>o.map(P=>typeof P=="string"||typeof P=="number"?{label:P,value:P}:P),[o]),m=P=>{h(D=>D.filter(j=>j!==P))},x=P=>{h(D=>[].concat(Ft(D),[P]))},C=P=>{const D=p.indexOf(P.value),j=Ft(p);D===-1?j.push(P.value):j.splice(D,1),"value"in c||b(j),u==null||u(j.filter($=>g.includes($)).sort(($,z)=>{const L=y.findIndex(F=>F.value===$),B=y.findIndex(F=>F.value===z);return L-B}))},w=f("checkbox",a),S=`${w}-group`,k=So(w),[E,O,M]=ih(w,k),N=Vi(c,["value","disabled"]),R=o.length?y.map(P=>d.createElement(R0,{prefixCls:w,key:P.value.toString(),disabled:"disabled"in P?P.disabled:c.disabled,value:P.value,checked:p.includes(P.value),onChange:P.onChange,className:et(`${S}-item`,P.className),style:P.style,title:P.title,id:P.id,required:P.required},P.label)):r,A=d.useMemo(()=>({toggleOption:C,value:p,disabled:c.disabled,name:c.name,registerValue:x,cancelValue:m}),[C,p,c.disabled,c.name,x,m]),I=et(S,{[`${S}-rtl`]:v==="rtl"},i,s,M,k,O);return E(d.createElement("div",Object.assign({className:I,style:l},N,{ref:t}),d.createElement(P0.Provider,{value:A},R)))}),os=R0;os.Group=tE;os.__ANT_CHECKBOX=!0;var nE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},rE=function(t,n){return d.createElement(Ki,yt({},t,{ref:n,icon:nE}))},oE=d.forwardRef(rE);function xu(){return typeof BigInt=="function"}function A0(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Fo(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),a=o[0]||"0",i=o[1]||"0";a==="0"&&i==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:a,decimalStr:i,fullStr:"".concat(s).concat(r)}}function vf(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Do(e){var t=String(e);if(vf(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&gf(t)?t.length-t.indexOf(".")-1:0}function Hs(e){var t=String(e);if(vf(e)){if(e>Number.MAX_SAFE_INTEGER)return String(xu()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(xu()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);t=e.toFixed(Do(t))}return Fo(t).fullStr}function gf(e){return typeof e=="number"?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}var aE=(function(){function e(t){if(qd(this,e),He(this,"origin",""),He(this,"negative",void 0),He(this,"integer",void 0),He(this,"decimal",void 0),He(this,"decimalLen",void 0),He(this,"empty",void 0),He(this,"nan",void 0),A0(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}var n=t;if(vf(n)&&(n=Number(n)),n=typeof n=="string"?n:Hs(n),gf(n)){var r=Fo(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var a=o[1]||"0";this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return Yd(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(n){var r="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(n,"0"));return BigInt(r)}},{key:"negate",value:function(){var n=new e(this.toString());return n.negative=!n.negative,n}},{key:"cal",value:function(n,r,o){var a=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),i=this.alignDecimal(a),s=n.alignDecimal(a),l=r(i,s).toString(),u=o(a),c=Fo(l),f=c.negativeStr,v=c.trimStr,p="".concat(f).concat(v.padStart(u+1,"0"));return new e("".concat(p.slice(0,-u),".").concat(p.slice(-u)))}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=new e(n);return r.isInvalidate()?this:this.cal(r,function(o,a){return o+a},function(o){return o})}},{key:"multi",value:function(n){var r=new e(n);return this.isInvalidate()||r.isInvalidate()?new e(NaN):this.cal(r,function(o,a){return o*a},function(o){return o*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(n){return this.toString()===(n==null?void 0:n.toString())}},{key:"lessEquals",value:function(n){return this.add(n.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Fo("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e})(),iE=(function(){function e(t){if(qd(this,e),He(this,"origin",""),He(this,"number",void 0),He(this,"empty",void 0),A0(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Yd(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var o=this.number+r;if(o>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var a=Math.max(Do(this.number),Do(r));return new e(o.toFixed(a))}},{key:"multi",value:function(n){var r=Number(n);if(this.isInvalidate()||Number.isNaN(r))return new e(NaN);var o=this.number*r;if(o>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var a=Math.max(Do(this.number),Do(r));return new e(o.toFixed(a))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(n){return this.toNumber()===(n==null?void 0:n.toNumber())}},{key:"lessEquals",value:function(n){return this.add(n.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Hs(this.number):this.origin}}]),e})();function Er(e){return xu()?new aE(e):new iE(e)}function $l(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var o=Fo(e),a=o.negativeStr,i=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),u="".concat(a).concat(i);if(n>=0){var c=Number(s[n]);if(c>=5&&!r){var f=Er(e).add("".concat(a,"0.").concat("0".repeat(n)).concat(10-c));return $l(f.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return l===".0"?u:"".concat(u).concat(l)}function lE(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,o){if(t[o])return t[o];var a=r[o];return typeof a=="function"?a.bind(r):a}}):e}function sE(e,t){var n=at(null);function r(){try{var a=e.selectionStart,i=e.selectionEnd,s=e.value,l=s.substring(0,a),u=s.substring(i);n.current={start:a,end:i,value:s,beforeTxt:l,afterTxt:u}}catch{}}function o(){if(e&&n.current&&t)try{var a=e.value,i=n.current,s=i.beforeTxt,l=i.afterTxt,u=i.start,c=a.length;if(a.startsWith(s))c=s.length;else if(a.endsWith(l))c=a.length-n.current.afterTxt.length;else{var f=s[u-1],v=a.indexOf(f,u-1);v!==-1&&(c=v+1)}e.setSelectionRange(c,c)}catch(p){xi(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(p.message))}}return[r,o]}var cE=function(){var t=Rt(!1),n=ye(t,2),r=n[0],o=n[1];return Dr(function(){o(Kg())},[]),r},uE=200,dE=600;function fE(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,a=e.downDisabled,i=e.onStep,s=d.useRef(),l=d.useRef([]),u=d.useRef();u.current=i;var c=function(){clearTimeout(s.current)},f=function(x,C){x.preventDefault(),c(),u.current(C);function w(){u.current(C),s.current=setTimeout(w,uE)}s.current=setTimeout(w,dE)};d.useEffect(function(){return function(){c(),l.current.forEach(function(m){return Pn.cancel(m)})}},[]);var v=cE();if(v)return null;var p="".concat(t,"-handler"),b=et(p,"".concat(p,"-up"),He({},"".concat(p,"-up-disabled"),o)),g=et(p,"".concat(p,"-down"),He({},"".concat(p,"-down-disabled"),a)),h=function(){return l.current.push(Pn(c))},y={unselectable:"on",role:"button",onMouseUp:h,onMouseLeave:h};return d.createElement("div",{className:"".concat(p,"-wrap")},d.createElement("span",yt({},y,{onMouseDown:function(x){f(x,!0)},"aria-label":"Increase Value","aria-disabled":o,className:b}),n||d.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),d.createElement("span",yt({},y,{onMouseDown:function(x){f(x,!1)},"aria-label":"Decrease Value","aria-disabled":a,className:g}),r||d.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function Gm(e){var t=typeof e=="number"?Hs(e):Fo(e).fullStr,n=t.includes(".");return n?Fo(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const mE=(function(){var e=at(0),t=function(){Pn.cancel(e.current)};return Yt(function(){return t},[]),function(n){t(),e.current=Pn(function(){n()})}});var pE=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],vE=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Um=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},Xm=function(t){var n=Er(t);return n.isInvalidate()?null:n},gE=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.min,i=e.max,s=e.step,l=s===void 0?1:s,u=e.defaultValue,c=e.value,f=e.disabled,v=e.readOnly,p=e.upHandler,b=e.downHandler,g=e.keyboard,h=e.changeOnWheel,y=h===void 0?!1:h,m=e.controls,x=m===void 0?!0:m;e.classNames;var C=e.stringMode,w=e.parser,S=e.formatter,k=e.precision,E=e.decimalSeparator,O=e.onChange,M=e.onInput,N=e.onPressEnter,R=e.onStep,A=e.changeOnBlur,I=A===void 0?!0:A,P=e.domRef,D=Fn(e,pE),j="".concat(n,"-input"),$=d.useRef(null),z=d.useState(!1),L=ye(z,2),B=L[0],F=L[1],H=d.useRef(!1),W=d.useRef(!1),V=d.useRef(!1),_=d.useState(function(){return Er(c??u)}),q=ye(_,2),U=q[0],Q=q[1];function te($e){c===void 0&&Q($e)}var X=d.useCallback(function($e,De){if(!De)return k>=0?k:Math.max(Do($e),Do(l))},[k,l]),Y=d.useCallback(function($e){var De=String($e);if(w)return w(De);var Ye=De;return E&&(Ye=Ye.replace(E,".")),Ye.replace(/[^\w.-]+/g,"")},[w,E]),T=d.useRef(""),Z=d.useCallback(function($e,De){if(S)return S($e,{userTyping:De,input:String(T.current)});var Ye=typeof $e=="number"?Hs($e):$e;if(!De){var Fe=X(Ye,De);if(gf(Ye)&&(E||Fe>=0)){var Ue=E||".";Ye=$l(Ye,Ue,Fe)}}return Ye},[S,X,E]),J=d.useState(function(){var $e=u??c;return U.isInvalidate()&&["string","number"].includes($r($e))?Number.isNaN($e)?"":$e:Z(U.toString(),!1)}),ne=ye(J,2),ae=ne[0],le=ne[1];T.current=ae;function be($e,De){le(Z($e.isInvalidate()?$e.toString(!1):$e.toString(!De),De))}var Ce=d.useMemo(function(){return Xm(i)},[i,k]),de=d.useMemo(function(){return Xm(a)},[a,k]),Se=d.useMemo(function(){return!Ce||!U||U.isInvalidate()?!1:Ce.lessEquals(U)},[Ce,U]),oe=d.useMemo(function(){return!de||!U||U.isInvalidate()?!1:U.lessEquals(de)},[de,U]),se=sE($.current,B),ke=ye(se,2),ge=ke[0],ie=ke[1],we=function(De){return Ce&&!De.lessEquals(Ce)?Ce:de&&!de.lessEquals(De)?de:null},fe=function(De){return!we(De)},ce=function(De,Ye){var Fe=De,Ue=fe(Fe)||Fe.isEmpty();if(!Fe.isEmpty()&&!Ye&&(Fe=we(Fe)||Fe,Ue=!0),!v&&!f&&Ue){var Ve=Fe.toString(),We=X(Ve,Ye);return We>=0&&(Fe=Er($l(Ve,".",We)),fe(Fe)||(Fe=Er($l(Ve,".",We,!0)))),Fe.equals(U)||(te(Fe),O==null||O(Fe.isEmpty()?null:Um(C,Fe)),c===void 0&&be(Fe,Ye)),Fe}return U},xe=mE(),he=function $e(De){if(ge(),T.current=De,le(De),!W.current){var Ye=Y(De),Fe=Er(Ye);Fe.isNaN()||ce(Fe,!0)}M==null||M(De),xe(function(){var Ue=De;w||(Ue=De.replace(/。/g,".")),Ue!==De&&$e(Ue)})},Me=function(){W.current=!0},ve=function(){W.current=!1,he($.current.value)},me=function(De){he(De.target.value)},Re=function(De){var Ye;if(!(De&&Se||!De&&oe)){H.current=!1;var Fe=Er(V.current?Gm(l):l);De||(Fe=Fe.negate());var Ue=(U||Er(0)).add(Fe.toString()),Ve=ce(Ue,!1);R==null||R(Um(C,Ve),{offset:V.current?Gm(l):l,type:De?"up":"down"}),(Ye=$.current)===null||Ye===void 0||Ye.focus()}},pe=function(De){var Ye=Er(Y(ae)),Fe;Ye.isNaN()?Fe=ce(U,De):Fe=ce(Ye,De),c!==void 0?be(U,!1):Fe.isNaN()||be(Fe,!1)},Ne=function(){H.current=!0},ct=function(De){var Ye=De.key,Fe=De.shiftKey;H.current=!0,V.current=Fe,Ye==="Enter"&&(W.current||(H.current=!1),pe(!1),N==null||N(De)),g!==!1&&!W.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ye)&&(Re(Ye==="Up"||Ye==="ArrowUp"),De.preventDefault())},dt=function(){H.current=!1,V.current=!1};d.useEffect(function(){if(y&&B){var $e=function(Fe){Re(Fe.deltaY<0),Fe.preventDefault()},De=$.current;if(De)return De.addEventListener("wheel",$e,{passive:!1}),function(){return De.removeEventListener("wheel",$e)}}});var pt=function(){I&&pe(!1),F(!1),H.current=!1};return Nl(function(){U.isInvalidate()||be(U,!1)},[k,S]),Nl(function(){var $e=Er(c);Q($e);var De=Er(Y(ae));(!$e.equals(De)||!H.current||S)&&be($e,H.current)},[c]),Nl(function(){S&&ie()},[ae]),d.createElement("div",{ref:P,className:et(n,r,He(He(He(He(He({},"".concat(n,"-focused"),B),"".concat(n,"-disabled"),f),"".concat(n,"-readonly"),v),"".concat(n,"-not-a-number"),U.isNaN()),"".concat(n,"-out-of-range"),!U.isInvalidate()&&!fe(U))),style:o,onFocus:function(){F(!0)},onBlur:pt,onKeyDown:ct,onKeyUp:dt,onCompositionStart:Me,onCompositionEnd:ve,onBeforeInput:Ne},x&&d.createElement(fE,{prefixCls:n,upNode:p,downNode:b,upDisabled:Se,downDisabled:oe,onStep:Re}),d.createElement("div",{className:"".concat(j,"-wrap")},d.createElement("input",yt({autoComplete:"off",role:"spinbutton","aria-valuemin":a,"aria-valuemax":i,"aria-valuenow":U.isInvalidate()?null:U.toString(),step:l},D,{ref:Li($,t),className:j,value:ae,onChange:me,disabled:f,readOnly:v}))))}),hE=d.forwardRef(function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,a=o===void 0?"rc-input-number":o,i=e.value,s=e.prefix,l=e.suffix,u=e.addonBefore,c=e.addonAfter,f=e.className,v=e.classNames,p=Fn(e,vE),b=d.useRef(null),g=d.useRef(null),h=d.useRef(null),y=function(x){h.current&&Kx(h.current,x)};return d.useImperativeHandle(t,function(){return lE(h.current,{focus:y,nativeElement:b.current.nativeElement||g.current})}),d.createElement(Wx,{className:f,triggerFocus:y,prefixCls:a,value:i,disabled:n,style:r,prefix:s,suffix:l,addonAfter:c,addonBefore:u,classNames:v,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:b},d.createElement(gE,yt({prefixCls:a,disabled:n,ref:h,domRef:g,className:v==null?void 0:v.input},p)))});const bE=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto",r=e.controlHeightSM-e.lineWidth*2;return Object.assign(Object.assign({},_g(e)),{controlWidth:90,handleWidth:r,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Cr(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0,handleVisibleWidth:n===!0?r:0})},Zm=({componentCls:e,borderRadiusSM:t,borderRadiusLG:n},r)=>{const o=r==="lg"?n:t;return{[`&-${r}`]:{[`${e}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${e}-handler-up`]:{borderStartEndRadius:o},[`${e}-handler-down`]:{borderEndEndRadius:o}}}},yE=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:o,inputFontSizeSM:a,inputFontSizeLG:i,controlHeightLG:s,controlHeightSM:l,colorError:u,paddingInlineSM:c,paddingBlockSM:f,paddingBlockLG:v,paddingInlineLG:p,colorIcon:b,motionDurationMid:g,handleHoverColor:h,handleOpacity:y,paddingInline:m,paddingBlock:x,handleBg:C,handleActiveBg:w,colorTextDisabled:S,borderRadiusSM:k,borderRadiusLG:E,controlWidth:O,handleBorderColor:M,filledHandleBg:N,lineHeightLG:R,calc:A}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},vr(e)),lh(e)),{display:"inline-block",width:O,margin:0,padding:0,borderRadius:o}),eh(e,{[`${t}-handler-wrap`]:{background:C,[`${t}-handler-down`]:{borderBlockStart:`${Ae(n)} ${r} ${M}`}}})),nh(e,{[`${t}-handler-wrap`]:{background:N,[`${t}-handler-down`]:{borderBlockStart:`${Ae(n)} ${r} ${M}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:C}}})),th(e,{[`${t}-handler-wrap`]:{background:C,[`${t}-handler-down`]:{borderBlockStart:`${Ae(n)} ${r} ${M}`}}})),rh(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,lineHeight:R,borderRadius:E,[`input${t}-input`]:{height:A(s).sub(A(n).mul(2)).equal(),padding:`${Ae(v)} ${Ae(p)}`}},"&-sm":{padding:0,fontSize:a,borderRadius:k,[`input${t}-input`]:{height:A(l).sub(A(n).mul(2)).equal(),padding:`${Ae(f)} ${Ae(c)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},vr(e)),Yx(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:E,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:k}}},qx(e)),Gx(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},vr(e)),{width:"100%",padding:`${Ae(x)} ${Ae(m)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${g} linear`,appearance:"textfield",fontSize:"inherit"}),ah(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:y,height:"100%",borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${g}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
179
|
-
${t}-handler-up-inner,
|
|
180
|
-
${t}-handler-down-inner
|
|
181
|
-
`]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:b,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Ae(n)} ${r} ${M}`,transition:`all ${g} linear`,"&:active":{background:w},"&:hover":{height:"60%",[`
|
|
182
|
-
${t}-handler-up-inner,
|
|
183
|
-
${t}-handler-down-inner
|
|
184
|
-
`]:{color:h}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Vd()),{color:b,transition:`all ${g} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderEndEndRadius:o}},Zm(e,"lg")),Zm(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`
|
|
185
|
-
${t}-handler-up-disabled,
|
|
186
|
-
${t}-handler-down-disabled
|
|
187
|
-
`]:{cursor:"not-allowed"},[`
|
|
188
|
-
${t}-handler-up-disabled:hover &-handler-up-inner,
|
|
189
|
-
${t}-handler-down-disabled:hover &-handler-down-inner
|
|
190
|
-
`]:{color:S}})}]},xE=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:o,controlWidth:a,borderRadiusLG:i,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:u,paddingBlockLG:c,paddingBlockSM:f,motionDurationMid:v}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${Ae(n)} 0`}},lh(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:a,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:i,paddingInlineStart:l,[`input${t}-input`]:{padding:`${Ae(c)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${Ae(f)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:o,transition:`margin ${v}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}}),[`${t}-underlined`]:{borderRadius:0}}},CE=Go("InputNumber",e=>{const t=gr(e,oh(e));return[yE(t),xE(t),Wd(t)]},bE,{unitless:{handleOpacity:!0},resetFont:!1});var wE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const D0=d.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=d.useContext(Fr),o=d.useRef(null);d.useImperativeHandle(t,()=>o.current);const{className:a,rootClassName:i,size:s,disabled:l,prefixCls:u,addonBefore:c,addonAfter:f,prefix:v,suffix:p,bordered:b,readOnly:g,status:h,controls:y,variant:m}=e,x=wE(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),C=n("input-number",u),w=So(C),[S,k,E]=CE(C,w),{compactSize:O,compactItemClassnames:M}=Ms(C,r);let N=d.createElement(oE,{className:`${C}-handler-up-inner`}),R=d.createElement(Yh,{className:`${C}-handler-down-inner`});const A=typeof y=="boolean"?y:void 0;typeof y=="object"&&(N=typeof y.upIcon>"u"?N:d.createElement("span",{className:`${C}-handler-up-inner`},y.upIcon),R=typeof y.downIcon>"u"?R:d.createElement("span",{className:`${C}-handler-down-inner`},y.downIcon));const{hasFeedback:I,status:P,isFormItemInput:D,feedbackIcon:j}=d.useContext(Uo),$=Ns(P,h),z=$a(U=>{var Q;return(Q=s??O)!==null&&Q!==void 0?Q:U}),L=d.useContext(Eo),B=l??L,[F,H]=Yi("inputNumber",m,b),W=I&&d.createElement(d.Fragment,null,j),V=et({[`${C}-lg`]:z==="large",[`${C}-sm`]:z==="small",[`${C}-rtl`]:r==="rtl",[`${C}-in-form-item`]:D},k),_=`${C}-group`,q=d.createElement(hE,Object.assign({ref:o,disabled:B,className:et(E,w,a,i,M),upHandler:N,downHandler:R,prefixCls:C,readOnly:g,controls:A,prefix:v,suffix:W||p,addonBefore:c&&d.createElement(Ci,{form:!0,space:!0},c),addonAfter:f&&d.createElement(Ci,{form:!0,space:!0},f),classNames:{input:V,variant:et({[`${C}-${F}`]:H},wi(C,$,I)),affixWrapper:et({[`${C}-affix-wrapper-sm`]:z==="small",[`${C}-affix-wrapper-lg`]:z==="large",[`${C}-affix-wrapper-rtl`]:r==="rtl",[`${C}-affix-wrapper-without-controls`]:y===!1||B||g},k),wrapper:et({[`${_}-rtl`]:r==="rtl"},k),groupWrapper:et({[`${C}-group-wrapper-sm`]:z==="small",[`${C}-group-wrapper-lg`]:z==="large",[`${C}-group-wrapper-rtl`]:r==="rtl",[`${C}-group-wrapper-${F}`]:H},wi(`${C}-group-wrapper`,$,I),k)}},x));return S(q)}),ii=D0,SE=e=>d.createElement(Ux,{theme:{components:{InputNumber:{handleVisible:!0}}}},d.createElement(D0,Object.assign({},e)));ii._InternalPanelDoNotUseOrYouWillBeFired=SE;function Cu(e,t,n){return(e-t)/(n-t)}function hf(e,t,n,r){var o=Cu(t,n,r),a={};switch(e){case"rtl":a.right="".concat(o*100,"%"),a.transform="translateX(50%)";break;case"btt":a.bottom="".concat(o*100,"%"),a.transform="translateY(50%)";break;case"ttb":a.top="".concat(o*100,"%"),a.transform="translateY(-50%)";break;default:a.left="".concat(o*100,"%"),a.transform="translateX(-50%)";break}return a}function Ro(e,t){return Array.isArray(e)?e[t]:e}var Qo=d.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),EE=d.createContext({}),kE=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],Qm=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,o=e.valueIndex,a=e.onStartMove,i=e.onDelete,s=e.style,l=e.render,u=e.dragging,c=e.draggingDelete,f=e.onOffsetChange,v=e.onChangeComplete,p=e.onFocus,b=e.onMouseEnter,g=Fn(e,kE),h=d.useContext(Qo),y=h.min,m=h.max,x=h.direction,C=h.disabled,w=h.keyboard,S=h.range,k=h.tabIndex,E=h.ariaLabelForHandle,O=h.ariaLabelledByForHandle,M=h.ariaRequired,N=h.ariaValueTextFormatterForHandle,R=h.styles,A=h.classNames,I="".concat(n,"-handle"),P=function(V){C||a(V,o)},D=function(V){p==null||p(V,o)},j=function(V){b(V,o)},$=function(V){if(!C&&w){var _=null;switch(V.which||V.keyCode){case st.LEFT:_=x==="ltr"||x==="btt"?-1:1;break;case st.RIGHT:_=x==="ltr"||x==="btt"?1:-1;break;case st.UP:_=x!=="ttb"?1:-1;break;case st.DOWN:_=x!=="ttb"?-1:1;break;case st.HOME:_="min";break;case st.END:_="max";break;case st.PAGE_UP:_=2;break;case st.PAGE_DOWN:_=-2;break;case st.BACKSPACE:case st.DELETE:i(o);break}_!==null&&(V.preventDefault(),f(_,o))}},z=function(V){switch(V.which||V.keyCode){case st.LEFT:case st.RIGHT:case st.UP:case st.DOWN:case st.HOME:case st.END:case st.PAGE_UP:case st.PAGE_DOWN:v==null||v();break}},L=hf(x,r,y,m),B={};if(o!==null){var F;B={tabIndex:C?null:Ro(k,o),role:"slider","aria-valuemin":y,"aria-valuemax":m,"aria-valuenow":r,"aria-disabled":C,"aria-label":Ro(E,o),"aria-labelledby":Ro(O,o),"aria-required":Ro(M,o),"aria-valuetext":(F=Ro(N,o))===null||F===void 0?void 0:F(r),"aria-orientation":x==="ltr"||x==="rtl"?"horizontal":"vertical",onMouseDown:P,onTouchStart:P,onFocus:D,onMouseEnter:j,onKeyDown:$,onKeyUp:z}}var H=d.createElement("div",yt({ref:t,className:et(I,He(He(He({},"".concat(I,"-").concat(o+1),o!==null&&S),"".concat(I,"-dragging"),u),"".concat(I,"-dragging-delete"),c),A.handle),style:Be(Be(Be({},L),s),R.handle)},B,g));return l&&(H=l(H,{index:o,prefixCls:n,value:r,dragging:u,draggingDelete:c})),H}),IE=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],ME=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,a=e.onOffsetChange,i=e.values,s=e.handleRender,l=e.activeHandleRender,u=e.draggingIndex,c=e.draggingDelete,f=e.onFocus,v=Fn(e,IE),p=d.useRef({}),b=d.useState(!1),g=ye(b,2),h=g[0],y=g[1],m=d.useState(-1),x=ye(m,2),C=x[0],w=x[1],S=function(N){w(N),y(!0)},k=function(N,R){S(R),f==null||f(N)},E=function(N,R){S(R)};d.useImperativeHandle(t,function(){return{focus:function(N){var R;(R=p.current[N])===null||R===void 0||R.focus()},hideHelp:function(){Ql(function(){y(!1)})}}});var O=Be({prefixCls:n,onStartMove:o,onOffsetChange:a,render:s,onFocus:k,onMouseEnter:E},v);return d.createElement(d.Fragment,null,i.map(function(M,N){var R=u===N;return d.createElement(Qm,yt({ref:function(I){I?p.current[N]=I:delete p.current[N]},dragging:R,draggingDelete:R&&c,style:Ro(r,N),key:N,value:M,valueIndex:N},O))}),l&&h&&d.createElement(Qm,yt({key:"a11y"},O,{value:i[C],valueIndex:null,dragging:u!==-1,draggingDelete:c,render:l,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),NE=function(t){var n=t.prefixCls,r=t.style,o=t.children,a=t.value,i=t.onClick,s=d.useContext(Qo),l=s.min,u=s.max,c=s.direction,f=s.includedStart,v=s.includedEnd,p=s.included,b="".concat(n,"-text"),g=hf(c,a,l,u);return d.createElement("span",{className:et(b,He({},"".concat(b,"-active"),p&&f<=a&&a<=v)),style:Be(Be({},g),r),onMouseDown:function(y){y.stopPropagation()},onClick:function(){i(a)}},o)},OE=function(t){var n=t.prefixCls,r=t.marks,o=t.onClick,a="".concat(n,"-mark");return r.length?d.createElement("div",{className:a},r.map(function(i){var s=i.value,l=i.style,u=i.label;return d.createElement(NE,{key:s,prefixCls:a,style:l,value:s,onClick:o},u)})):null},PE=function(t){var n=t.prefixCls,r=t.value,o=t.style,a=t.activeStyle,i=d.useContext(Qo),s=i.min,l=i.max,u=i.direction,c=i.included,f=i.includedStart,v=i.includedEnd,p="".concat(n,"-dot"),b=c&&f<=r&&r<=v,g=Be(Be({},hf(u,r,s,l)),typeof o=="function"?o(r):o);return b&&(g=Be(Be({},g),typeof a=="function"?a(r):a)),d.createElement("span",{className:et(p,He({},"".concat(p,"-active"),b)),style:g})},RE=function(t){var n=t.prefixCls,r=t.marks,o=t.dots,a=t.style,i=t.activeStyle,s=d.useContext(Qo),l=s.min,u=s.max,c=s.step,f=d.useMemo(function(){var v=new Set;if(r.forEach(function(b){v.add(b.value)}),o&&c!==null)for(var p=l;p<=u;)v.add(p),p+=c;return Array.from(v)},[l,u,c,o,r]);return d.createElement("div",{className:"".concat(n,"-step")},f.map(function(v){return d.createElement(PE,{prefixCls:n,key:v,value:v,style:a,activeStyle:i})}))},Jm=function(t){var n=t.prefixCls,r=t.style,o=t.start,a=t.end,i=t.index,s=t.onStartMove,l=t.replaceCls,u=d.useContext(Qo),c=u.direction,f=u.min,v=u.max,p=u.disabled,b=u.range,g=u.classNames,h="".concat(n,"-track"),y=Cu(o,f,v),m=Cu(a,f,v),x=function(k){!p&&s&&s(k,-1)},C={};switch(c){case"rtl":C.right="".concat(y*100,"%"),C.width="".concat(m*100-y*100,"%");break;case"btt":C.bottom="".concat(y*100,"%"),C.height="".concat(m*100-y*100,"%");break;case"ttb":C.top="".concat(y*100,"%"),C.height="".concat(m*100-y*100,"%");break;default:C.left="".concat(y*100,"%"),C.width="".concat(m*100-y*100,"%")}var w=l||et(h,He(He({},"".concat(h,"-").concat(i+1),i!==null&&b),"".concat(n,"-track-draggable"),s),g.track);return d.createElement("div",{className:w,style:Be(Be({},C),r),onMouseDown:x,onTouchStart:x})},AE=function(t){var n=t.prefixCls,r=t.style,o=t.values,a=t.startPoint,i=t.onStartMove,s=d.useContext(Qo),l=s.included,u=s.range,c=s.min,f=s.styles,v=s.classNames,p=d.useMemo(function(){if(!u){if(o.length===0)return[];var g=a??c,h=o[0];return[{start:Math.min(g,h),end:Math.max(g,h)}]}for(var y=[],m=0;m<o.length-1;m+=1)y.push({start:o[m],end:o[m+1]});return y},[o,u,a,c]);if(!l)return null;var b=p!=null&&p.length&&(v.tracks||f.tracks)?d.createElement(Jm,{index:null,prefixCls:n,start:p[0].start,end:p[p.length-1].end,replaceCls:et(v.tracks,"".concat(n,"-tracks")),style:f.tracks}):null;return d.createElement(d.Fragment,null,b,p.map(function(g,h){var y=g.start,m=g.end;return d.createElement(Jm,{index:h,prefixCls:n,style:Be(Be({},Ro(r,h)),f.track),start:y,end:m,key:h,onStartMove:i})}))},DE=130;function _m(e){var t="targetTouches"in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function jE(e,t,n,r,o,a,i,s,l,u,c){var f=d.useState(null),v=ye(f,2),p=v[0],b=v[1],g=d.useState(-1),h=ye(g,2),y=h[0],m=h[1],x=d.useState(!1),C=ye(x,2),w=C[0],S=C[1],k=d.useState(n),E=ye(k,2),O=E[0],M=E[1],N=d.useState(n),R=ye(N,2),A=R[0],I=R[1],P=d.useRef(null),D=d.useRef(null),j=d.useRef(null),$=d.useContext(EE),z=$.onDragStart,L=$.onDragChange;Dr(function(){y===-1&&M(n)},[n,y]),d.useEffect(function(){return function(){document.removeEventListener("mousemove",P.current),document.removeEventListener("mouseup",D.current),j.current&&(j.current.removeEventListener("touchmove",P.current),j.current.removeEventListener("touchend",D.current))}},[]);var B=function(_,q,U){q!==void 0&&b(q),M(_);var Q=_;U&&(Q=_.filter(function(te,X){return X!==y})),i(Q),L&&L({rawValues:_,deleteIndex:U?y:-1,draggingIndex:y,draggingValue:q})},F=Cn(function(V,_,q){if(V===-1){var U=A[0],Q=A[A.length-1],te=r-U,X=o-Q,Y=_*(o-r);Y=Math.max(Y,te),Y=Math.min(Y,X);var T=a(U+Y);Y=T-U;var Z=A.map(function(le){return le+Y});B(Z)}else{var J=(o-r)*_,ne=Ft(O);ne[V]=A[V];var ae=l(ne,J,V,"dist");B(ae.values,ae.value,q)}}),H=function(_,q,U){_.stopPropagation();var Q=U||n,te=Q[q];m(q),b(te),I(Q),M(Q),S(!1);var X=_m(_),Y=X.pageX,T=X.pageY,Z=!1;z&&z({rawValues:Q,draggingIndex:q,draggingValue:te});var J=function(le){le.preventDefault();var be=_m(le),Ce=be.pageX,de=be.pageY,Se=Ce-Y,oe=de-T,se=e.current.getBoundingClientRect(),ke=se.width,ge=se.height,ie,we;switch(t){case"btt":ie=-oe/ge,we=Se;break;case"ttb":ie=oe/ge,we=Se;break;case"rtl":ie=-Se/ke,we=oe;break;default:ie=Se/ke,we=oe}Z=u?Math.abs(we)>DE&&c<O.length:!1,S(Z),F(q,ie,Z)},ne=function ae(le){le.preventDefault(),document.removeEventListener("mouseup",ae),document.removeEventListener("mousemove",J),j.current&&(j.current.removeEventListener("touchmove",P.current),j.current.removeEventListener("touchend",D.current)),P.current=null,D.current=null,j.current=null,s(Z),m(-1),S(!1)};document.addEventListener("mouseup",ne),document.addEventListener("mousemove",J),_.currentTarget.addEventListener("touchend",ne),_.currentTarget.addEventListener("touchmove",J),P.current=J,D.current=ne,j.current=_.currentTarget},W=d.useMemo(function(){var V=Ft(n).sort(function(te,X){return te-X}),_=Ft(O).sort(function(te,X){return te-X}),q={};_.forEach(function(te){q[te]=(q[te]||0)+1}),V.forEach(function(te){q[te]=(q[te]||0)-1});var U=u?1:0,Q=Object.values(q).reduce(function(te,X){return te+Math.abs(X)},0);return Q<=U?O:n},[n,O,u]);return[y,p,w,W,H]}function $E(e,t,n,r,o,a){var i=d.useCallback(function(p){return Math.max(e,Math.min(t,p))},[e,t]),s=d.useCallback(function(p){if(n!==null){var b=e+Math.round((i(p)-e)/n)*n,g=function(x){return(String(x).split(".")[1]||"").length},h=Math.max(g(n),g(t),g(e)),y=Number(b.toFixed(h));return e<=y&&y<=t?y:null}return null},[n,e,t,i]),l=d.useCallback(function(p){var b=i(p),g=r.map(function(m){return m.value});n!==null&&g.push(s(p)),g.push(e,t);var h=g[0],y=t-e;return g.forEach(function(m){var x=Math.abs(b-m);x<=y&&(h=m,y=x)}),h},[e,t,r,n,i,s]),u=function p(b,g,h){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof g=="number"){var m,x=b[h],C=x+g,w=[];r.forEach(function(M){w.push(M.value)}),w.push(e,t),w.push(s(x));var S=g>0?1:-1;y==="unit"?w.push(s(x+S*n)):w.push(s(C)),w=w.filter(function(M){return M!==null}).filter(function(M){return g<0?M<=x:M>=x}),y==="unit"&&(w=w.filter(function(M){return M!==x}));var k=y==="unit"?x:C;m=w[0];var E=Math.abs(m-k);if(w.forEach(function(M){var N=Math.abs(M-k);N<E&&(m=M,E=N)}),m===void 0)return g<0?e:t;if(y==="dist")return m;if(Math.abs(g)>1){var O=Ft(b);return O[h]=m,p(O,g-S,h,y)}return m}else{if(g==="min")return e;if(g==="max")return t}},c=function(b,g,h){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",m=b[h],x=u(b,g,h,y);return{value:x,changed:x!==m}},f=function(b){return a===null&&b===0||typeof a=="number"&&b<a},v=function(b,g,h){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",m=b.map(l),x=m[h],C=u(m,g,h,y);if(m[h]=C,o===!1){var w=a||0;h>0&&m[h-1]!==x&&(m[h]=Math.max(m[h],m[h-1]+w)),h<m.length-1&&m[h+1]!==x&&(m[h]=Math.min(m[h],m[h+1]-w))}else if(typeof a=="number"||a===null){for(var S=h+1;S<m.length;S+=1)for(var k=!0;f(m[S]-m[S-1])&&k;){var E=c(m,1,S);m[S]=E.value,k=E.changed}for(var O=h;O>0;O-=1)for(var M=!0;f(m[O]-m[O-1])&&M;){var N=c(m,-1,O-1);m[O-1]=N.value,M=N.changed}for(var R=m.length-1;R>0;R-=1)for(var A=!0;f(m[R]-m[R-1])&&A;){var I=c(m,-1,R-1);m[R-1]=I.value,A=I.changed}for(var P=0;P<m.length-1;P+=1)for(var D=!0;f(m[P+1]-m[P])&&D;){var j=c(m,1,P+1);m[P+1]=j.value,D=j.changed}}return{value:m[h],values:m}};return[l,v]}function FE(e){return Mn(function(){if(e===!0||!e)return[!!e,!1,!1,0];var t=e.editable,n=e.draggableTrack,r=e.minCount,o=e.maxCount;return[!0,t,!t&&n,r||0,o]},[e])}var TE=d.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-slider":n,o=e.className,a=e.style,i=e.classNames,s=e.styles,l=e.id,u=e.disabled,c=u===void 0?!1:u,f=e.keyboard,v=f===void 0?!0:f,p=e.autoFocus,b=e.onFocus,g=e.onBlur,h=e.min,y=h===void 0?0:h,m=e.max,x=m===void 0?100:m,C=e.step,w=C===void 0?1:C,S=e.value,k=e.defaultValue,E=e.range,O=e.count,M=e.onChange,N=e.onBeforeChange,R=e.onAfterChange,A=e.onChangeComplete,I=e.allowCross,P=I===void 0?!0:I,D=e.pushable,j=D===void 0?!1:D,$=e.reverse,z=e.vertical,L=e.included,B=L===void 0?!0:L,F=e.startPoint,H=e.trackStyle,W=e.handleStyle,V=e.railStyle,_=e.dotStyle,q=e.activeDotStyle,U=e.marks,Q=e.dots,te=e.handleRender,X=e.activeHandleRender,Y=e.track,T=e.tabIndex,Z=T===void 0?0:T,J=e.ariaLabelForHandle,ne=e.ariaLabelledByForHandle,ae=e.ariaRequired,le=e.ariaValueTextFormatterForHandle,be=d.useRef(null),Ce=d.useRef(null),de=d.useMemo(function(){return z?$?"ttb":"btt":$?"rtl":"ltr"},[$,z]),Se=FE(E),oe=ye(Se,5),se=oe[0],ke=oe[1],ge=oe[2],ie=oe[3],we=oe[4],fe=d.useMemo(function(){return isFinite(y)?y:0},[y]),ce=d.useMemo(function(){return isFinite(x)?x:100},[x]),xe=d.useMemo(function(){return w!==null&&w<=0?1:w},[w]),he=d.useMemo(function(){return typeof j=="boolean"?j?xe:!1:j>=0?j:!1},[j,xe]),Me=d.useMemo(function(){return Object.keys(U||{}).map(function(Ge){var Te=U[Ge],ot={value:Number(Ge)};return Te&&$r(Te)==="object"&&!d.isValidElement(Te)&&("label"in Te||"style"in Te)?(ot.style=Te.style,ot.label=Te.label):ot.label=Te,ot}).filter(function(Ge){var Te=Ge.label;return Te||typeof Te=="number"}).sort(function(Ge,Te){return Ge.value-Te.value})},[U]),ve=$E(fe,ce,xe,Me,P,he),me=ye(ve,2),Re=me[0],pe=me[1],Ne=Kn(k,{value:S}),ct=ye(Ne,2),dt=ct[0],pt=ct[1],$e=d.useMemo(function(){var Ge=dt==null?[]:Array.isArray(dt)?dt:[dt],Te=ye(Ge,1),ot=Te[0],kt=ot===void 0?fe:ot,Dt=dt===null?[]:[kt];if(se){if(Dt=Ft(Ge),O||dt===void 0){var rn=O>=0?O+1:2;for(Dt=Dt.slice(0,rn);Dt.length<rn;){var cn;Dt.push((cn=Dt[Dt.length-1])!==null&&cn!==void 0?cn:fe)}}Dt.sort(function(Gt,Ut){return Gt-Ut})}return Dt.forEach(function(Gt,Ut){Dt[Ut]=Re(Gt)}),Dt},[dt,se,fe,O,Re]),De=function(Te){return se?Te:Te[0]},Ye=Cn(function(Ge){var Te=Ft(Ge).sort(function(ot,kt){return ot-kt});M&&!Xx(Te,$e,!0)&&M(De(Te)),pt(Te)}),Fe=Cn(function(Ge){Ge&&be.current.hideHelp();var Te=De($e);R==null||R(Te),xi(!R,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),A==null||A(Te)}),Ue=function(Te){if(!(c||!ke||$e.length<=ie)){var ot=Ft($e);ot.splice(Te,1),N==null||N(De(ot)),Ye(ot);var kt=Math.max(0,Te-1);be.current.hideHelp(),be.current.focus(kt)}},Ve=jE(Ce,de,$e,fe,ce,Re,Ye,Fe,pe,ke,ie),We=ye(Ve,5),je=We[0],Ie=We[1],it=We[2],Oe=We[3],Le=We[4],ze=function(Te,ot){if(!c){var kt=Ft($e),Dt=0,rn=0,cn=ce-fe;$e.forEach(function(pn,yn){var vn=Math.abs(Te-pn);vn<=cn&&(cn=vn,Dt=yn),pn<Te&&(rn=yn)});var Gt=Dt;ke&&cn!==0&&(!we||$e.length<we)?(kt.splice(rn+1,0,Te),Gt=rn+1):kt[Dt]=Te,se&&!$e.length&&O===void 0&&kt.push(Te);var Ut=De(kt);if(N==null||N(Ut),Ye(kt),ot){var mn,dn;(mn=document.activeElement)===null||mn===void 0||(dn=mn.blur)===null||dn===void 0||dn.call(mn),be.current.focus(Gt),Le(ot,Gt,kt)}else R==null||R(Ut),xi(!R,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),A==null||A(Ut)}},Ke=function(Te){Te.preventDefault();var ot=Ce.current.getBoundingClientRect(),kt=ot.width,Dt=ot.height,rn=ot.left,cn=ot.top,Gt=ot.bottom,Ut=ot.right,mn=Te.clientX,dn=Te.clientY,pn;switch(de){case"btt":pn=(Gt-dn)/Dt;break;case"ttb":pn=(dn-cn)/Dt;break;case"rtl":pn=(Ut-mn)/kt;break;default:pn=(mn-rn)/kt}var yn=fe+pn*(ce-fe);ze(Re(yn),Te)},ft=d.useState(null),Je=ye(ft,2),Et=Je[0],It=Je[1],mt=function(Te,ot){if(!c){var kt=pe($e,Te,ot);N==null||N(De($e)),Ye(kt.values),It(kt.value)}};d.useEffect(function(){if(Et!==null){var Ge=$e.indexOf(Et);Ge>=0&&be.current.focus(Ge)}It(null)},[Et]);var Nt=d.useMemo(function(){return ge&&xe===null?!1:ge},[ge,xe]),zt=Cn(function(Ge,Te){Le(Ge,Te),N==null||N(De($e))}),Ht=je!==-1;d.useEffect(function(){if(!Ht){var Ge=$e.lastIndexOf(Ie);be.current.focus(Ge)}},[Ht]);var At=d.useMemo(function(){return Ft(Oe).sort(function(Ge,Te){return Ge-Te})},[Oe]),Wt=d.useMemo(function(){return se?[At[0],At[At.length-1]]:[fe,At[0]]},[At,se,fe]),Tt=ye(Wt,2),_t=Tt[0],Pe=Tt[1];d.useImperativeHandle(t,function(){return{focus:function(){be.current.focus(0)},blur:function(){var Te,ot=document,kt=ot.activeElement;(Te=Ce.current)!==null&&Te!==void 0&&Te.contains(kt)&&(kt==null||kt.blur())}}}),d.useEffect(function(){p&&be.current.focus(0)},[]);var Ze=d.useMemo(function(){return{min:fe,max:ce,direction:de,disabled:c,keyboard:v,step:xe,included:B,includedStart:_t,includedEnd:Pe,range:se,tabIndex:Z,ariaLabelForHandle:J,ariaLabelledByForHandle:ne,ariaRequired:ae,ariaValueTextFormatterForHandle:le,styles:s||{},classNames:i||{}}},[fe,ce,de,c,v,xe,B,_t,Pe,se,Z,J,ne,ae,le,s,i]);return d.createElement(Qo.Provider,{value:Ze},d.createElement("div",{ref:Ce,className:et(r,o,He(He(He(He({},"".concat(r,"-disabled"),c),"".concat(r,"-vertical"),z),"".concat(r,"-horizontal"),!z),"".concat(r,"-with-marks"),Me.length)),style:a,onMouseDown:Ke,id:l},d.createElement("div",{className:et("".concat(r,"-rail"),i==null?void 0:i.rail),style:Be(Be({},V),s==null?void 0:s.rail)}),Y!==!1&&d.createElement(AE,{prefixCls:r,style:H,values:$e,startPoint:F,onStartMove:Nt?zt:void 0}),d.createElement(RE,{prefixCls:r,marks:Me,dots:Q,style:_,activeStyle:q}),d.createElement(ME,{ref:be,prefixCls:r,style:W,values:Oe,draggingIndex:je,draggingDelete:it,onStartMove:zt,onOffsetChange:mt,onFocus:b,onBlur:g,handleRender:te,activeHandleRender:X,onChangeComplete:Fe,onDelete:ke?Ue:void 0}),d.createElement(OE,{prefixCls:r,marks:Me,onClick:ze})))});const BE=Hi({}),ep=d.forwardRef((e,t)=>{const{open:n,draggingDelete:r,value:o}=e,a=at(null),i=n&&!r,s=at(null);function l(){Pn.cancel(s.current),s.current=null}function u(){s.current=Pn(()=>{var c;(c=a.current)===null||c===void 0||c.forceAlign(),s.current=null})}return d.useEffect(()=>(i?u():l(),l),[i,e.title,o]),d.createElement(Ps,Object.assign({ref:Li(a,t)},e,{open:i}))}),zE=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:a,marginPart:i,colorFillContentHover:s,handleColorDisabled:l,calc:u,handleSize:c,handleSizeHover:f,handleActiveColor:v,handleActiveOutlineColor:p,handleLineWidth:b,handleLineWidthHover:g,motionDurationMid:h}=e;return{[t]:Object.assign(Object.assign({},vr(e)),{position:"relative",height:r,margin:`${Ae(i)} ${Ae(a)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Ae(a)} ${Ae(i)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${h}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${h}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${Ae(b)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:c,height:c,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:u(b).mul(-1).equal(),insetBlockStart:u(b).mul(-1).equal(),width:u(c).add(u(b).mul(2)).equal(),height:u(c).add(u(b).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:c,height:c,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${Ae(b)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:`
|
|
191
|
-
inset-inline-start ${h},
|
|
192
|
-
inset-block-start ${h},
|
|
193
|
-
width ${h},
|
|
194
|
-
height ${h},
|
|
195
|
-
box-shadow ${h},
|
|
196
|
-
outline ${h}
|
|
197
|
-
`},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(f).sub(c).div(2).add(g).mul(-1).equal(),insetBlockStart:u(f).sub(c).div(2).add(g).mul(-1).equal(),width:u(f).add(u(g).mul(2)).equal(),height:u(f).add(u(g).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${Ae(g)} ${v}`,outline:`6px solid ${p}`,width:f,height:f,insetInlineStart:e.calc(c).sub(f).div(2).equal(),insetBlockStart:e.calc(c).sub(f).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${Ae(b)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[`
|
|
198
|
-
${t}-dot
|
|
199
|
-
`]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:c,height:c,boxShadow:`0 0 0 ${Ae(b)} ${l}`,insetInlineStart:0,insetBlockStart:0},[`
|
|
200
|
-
${t}-mark-text,
|
|
201
|
-
${t}-dot
|
|
202
|
-
`]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},j0=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:a,marginFull:i,calc:s}=e,l=t?"paddingBlock":"paddingInline",u=t?"width":"height",c=t?"height":"width",f=t?"insetBlockStart":"insetInlineStart",v=t?"top":"insetInlineStart",p=s(r).mul(3).sub(o).div(2).equal(),b=s(o).sub(r).div(2).equal(),g=t?{borderWidth:`${Ae(b)} 0`,transform:`translateY(${Ae(s(b).mul(-1).equal())})`}:{borderWidth:`0 ${Ae(b)}`,transform:`translateX(${Ae(e.calc(b).mul(-1).equal())})`};return{[l]:r,[c]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[c]:r},[`${n}-track,${n}-tracks`]:{[c]:r},[`${n}-track-draggable`]:Object.assign({},g),[`${n}-handle`]:{[f]:p},[`${n}-mark`]:{insetInlineStart:0,top:0,[v]:s(r).mul(3).add(t?0:i).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[v]:r,[u]:"100%",[c]:r},[`${n}-dot`]:{position:"absolute",[f]:s(r).sub(a).div(2).equal()}}},HE=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},j0(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},LE=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},j0(e,!1)),{height:"100%"})}},VE=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,o=e.lineWidth+1,a=e.lineWidth+1*1.5,i=e.colorPrimary,s=new Cr(i).setA(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:o,handleLineWidthHover:a,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:i,handleActiveOutlineColor:s,handleColorDisabled:new Cr(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},WE=Go("Slider",e=>{const t=gr(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[zE(t),HE(t),LE(t)]},VE);function Pc(){const[e,t]=d.useState(!1),n=d.useRef(null),r=()=>{Pn.cancel(n.current)},o=a=>{r(),a?t(a):n.current=Pn(()=>{t(a)})};return d.useEffect(()=>r,[]),[e,o]}var KE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function YE(e,t){return e||e===null?e:t||t===null?t:n=>typeof n=="number"?n.toString():""}const tp=ue.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:a,style:i,disabled:s,tooltipPrefixCls:l,tipFormatter:u,tooltipVisible:c,getTooltipPopupContainer:f,tooltipPlacement:v,tooltip:p={},onChangeComplete:b,classNames:g,styles:h}=e,y=KE(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:m}=e,{getPrefixCls:x,direction:C,className:w,style:S,classNames:k,styles:E,getPopupContainer:O}=Is("slider"),M=ue.useContext(Eo),N=s??M,{handleRender:R,direction:A}=ue.useContext(BE),P=(A||C)==="rtl",[D,j]=Pc(),[$,z]=Pc(),L=Object.assign({},p),{open:B,placement:F,getPopupContainer:H,prefixCls:W,formatter:V}=L,_=B??c,q=(D||$)&&_!==!1,U=YE(V,u),[Q,te]=Pc(),X=se=>{b==null||b(se),te(!1)},Y=(se,ke)=>se||(ke?P?"left":"right":"top"),T=x("slider",n),[Z,J,ne]=WE(T),ae=et(o,w,k.root,g==null?void 0:g.root,a,{[`${T}-rtl`]:P,[`${T}-lock`]:Q},J,ne);P&&!y.vertical&&(y.reverse=!y.reverse),ue.useEffect(()=>{const se=()=>{Pn(()=>{z(!1)},1)};return document.addEventListener("mouseup",se),()=>{document.removeEventListener("mouseup",se)}},[]);const le=r&&!_,be=R||((se,ke)=>{const{index:ge}=ke,ie=se.props;function we(he,Me,ve){var me,Re,pe,Ne;ve&&((Re=(me=y)[he])===null||Re===void 0||Re.call(me,Me)),(Ne=(pe=ie)[he])===null||Ne===void 0||Ne.call(pe,Me)}const fe=Object.assign(Object.assign({},ie),{onMouseEnter:he=>{j(!0),we("onMouseEnter",he)},onMouseLeave:he=>{j(!1),we("onMouseLeave",he)},onMouseDown:he=>{z(!0),te(!0),we("onMouseDown",he)},onFocus:he=>{var Me;z(!0),(Me=y.onFocus)===null||Me===void 0||Me.call(y,he),we("onFocus",he,!0)},onBlur:he=>{var Me;z(!1),(Me=y.onBlur)===null||Me===void 0||Me.call(y,he),we("onBlur",he,!0)}}),ce=ue.cloneElement(se,fe),xe=(!!_||q)&&U!==null;return le?ce:ue.createElement(ep,Object.assign({},L,{prefixCls:x("tooltip",W??l),title:U?U(ke.value):"",value:ke.value,open:xe,placement:Y(F??v,m),key:ge,classNames:{root:`${T}-tooltip`},getPopupContainer:H||f||O}),ce)}),Ce=le?(se,ke)=>{const ge=ue.cloneElement(se,{style:Object.assign(Object.assign({},se.props.style),{visibility:"hidden"})});return ue.createElement(ep,Object.assign({},L,{prefixCls:x("tooltip",W??l),title:U?U(ke.value):"",open:U!==null&&q,placement:Y(F??v,m),key:"tooltip",classNames:{root:`${T}-tooltip`},getPopupContainer:H||f||O,draggingDelete:ke.draggingDelete}),ge)}:void 0,de=Object.assign(Object.assign(Object.assign(Object.assign({},E.root),S),h==null?void 0:h.root),i),Se=Object.assign(Object.assign({},E.tracks),h==null?void 0:h.tracks),oe=et(k.tracks,g==null?void 0:g.tracks);return Z(ue.createElement(TE,Object.assign({},y,{classNames:Object.assign({handle:et(k.handle,g==null?void 0:g.handle),rail:et(k.rail,g==null?void 0:g.rail),track:et(k.track,g==null?void 0:g.track)},oe?{tracks:oe}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},E.handle),h==null?void 0:h.handle),rail:Object.assign(Object.assign({},E.rail),h==null?void 0:h.rail),track:Object.assign(Object.assign({},E.track),h==null?void 0:h.track)},Object.keys(Se).length?{tracks:Se}:{}),step:y.step,range:r,className:ae,style:de,disabled:N,ref:t,prefixCls:T,handleRender:be,activeHandleRender:Ce,onChangeComplete:X})))});var qE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},GE=function(t,n){return d.createElement(Ki,yt({},t,{ref:n,icon:qE}))},$0=d.forwardRef(GE),UE={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},XE=function(t,n){return d.createElement(Ki,yt({},t,{ref:n,icon:UE}))},F0=d.forwardRef(XE),ZE={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},QE=function(t,n){return d.createElement(Ki,yt({},t,{ref:n,icon:ZE}))},JE=d.forwardRef(QE);function _E(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function ek(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function T0(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:o}=qh(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[d.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),o]}const[tk,nk]=["week","WeekPicker"],[rk,ok]=["month","MonthPicker"],[ak,ik]=["year","YearPicker"],[lk,sk]=["quarter","QuarterPicker"],[wu,np]=["time","TimePicker"],ck=e=>d.createElement(du,Object.assign({size:"small",type:"primary"},e));function B0(e){return Mn(()=>Object.assign({button:ck},e),[e])}function z0(e,...t){const n=e||{};return t.reduce((r,o)=>(Object.keys(o||{}).forEach(a=>{const i=n[a],s=o[a];if(i&&typeof i=="object")if(s&&typeof s=="object")r[a]=z0(i,r[a],s);else{const{_default:l}=i;r[a]=r[a]||{},r[a][l]=et(r[a][l],s)}else r[a]=et(r[a],s)}),r),{})}function uk(e,...t){return d.useMemo(()=>z0.apply(void 0,[e].concat(t)),[t])}function dk(...e){return d.useMemo(()=>e.reduce((t,n={})=>(Object.keys(n).forEach(r=>{t[r]=Object.assign(Object.assign({},t[r]),n[r])}),t),{}),[e])}function Su(e,t){const n=Object.assign({},e);return Object.keys(t).forEach(r=>{if(r!=="_default"){const o=t[r],a=n[r]||{};n[r]=o?Su(a,o):a}}),n}function fk(e,t,n){const r=uk.apply(void 0,[n].concat(Ft(e))),o=dk.apply(void 0,Ft(t));return d.useMemo(()=>[Su(r,n),Su(o,n)],[r,o])}const H0=(e,t,n,r,o)=>{const{classNames:a,styles:i}=Is(e),[s,l]=fk([a,t],[i,n],{popup:{_default:"root"}});return d.useMemo(()=>{var u,c;const f=Object.assign(Object.assign({},s),{popup:Object.assign(Object.assign({},s.popup),{root:et((u=s.popup)===null||u===void 0?void 0:u.root,r)})}),v=Object.assign(Object.assign({},l),{popup:Object.assign(Object.assign({},l.popup),{root:Object.assign(Object.assign({},(c=l.popup)===null||c===void 0?void 0:c.root),o)})});return[f,v]},[s,l,r,o])};var mk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const pk=e=>rr((n,r)=>{var o;const{prefixCls:a,getPopupContainer:i,components:s,className:l,style:u,placement:c,size:f,disabled:v,bordered:p=!0,placeholder:b,popupStyle:g,popupClassName:h,dropdownClassName:y,status:m,rootClassName:x,variant:C,picker:w,styles:S,classNames:k}=n,E=mk(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupStyle","popupClassName","dropdownClassName","status","rootClassName","variant","picker","styles","classNames"]),O=w===wu?"timePicker":"datePicker",M=d.useRef(null),{getPrefixCls:N,direction:R,getPopupContainer:A,rangePicker:I}=Yn(Fr),P=N("picker",a),{compactSize:D,compactItemClassnames:j}=Ms(P,R),$=N(),[z,L]=Yi("rangePicker",C,p),B=So(P),[F,H,W]=O0(P,B),[V,_]=H0(O,k,S,h||y,g),[q]=T0(n,P),U=B0(s),Q=$a(Ce=>{var de;return(de=f??D)!==null&&de!==void 0?de:Ce}),te=d.useContext(Eo),X=v??te,Y=Yn(Uo),{hasFeedback:T,status:Z,feedbackIcon:J}=Y,ne=d.createElement(d.Fragment,null,w===wu?d.createElement(F0,null):d.createElement($0,null),T&&J);Yo(r,()=>M.current);const[ae]=Wi("Calendar",sh),le=Object.assign(Object.assign({},ae),n.locale),[be]=Kd("DatePicker",(o=_.popup.root)===null||o===void 0?void 0:o.zIndex);return F(d.createElement(Ci,{space:!0},d.createElement(CS,Object.assign({separator:d.createElement("span",{"aria-label":"to",className:`${P}-separator`},d.createElement(JE,null)),disabled:X,ref:M,placement:c,placeholder:ek(le,w,b),suffixIcon:ne,prevIcon:d.createElement("span",{className:`${P}-prev-icon`}),nextIcon:d.createElement("span",{className:`${P}-next-icon`}),superPrevIcon:d.createElement("span",{className:`${P}-super-prev-icon`}),superNextIcon:d.createElement("span",{className:`${P}-super-next-icon`}),transitionName:`${$}-slide-up`,picker:w},E,{className:et({[`${P}-${Q}`]:Q,[`${P}-${z}`]:L},wi(P,Ns(Z,m),T),H,j,l,I==null?void 0:I.className,W,B,x,V.root),style:Object.assign(Object.assign(Object.assign({},I==null?void 0:I.style),u),_.root),locale:le.lang,prefixCls:P,getPopupContainer:i||A,generateConfig:e,components:U,direction:R,classNames:{popup:et(H,W,B,x,V.popup.root)},styles:{popup:Object.assign(Object.assign({},_.popup.root),{zIndex:be})},allowClear:q}))))});var vk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const gk=e=>{const t=(l,u)=>{const c=u===np?"timePicker":"datePicker";return rr((v,p)=>{var b;const{prefixCls:g,getPopupContainer:h,components:y,style:m,className:x,rootClassName:C,size:w,bordered:S,placement:k,placeholder:E,popupStyle:O,popupClassName:M,dropdownClassName:N,disabled:R,status:A,variant:I,onCalendarChange:P,styles:D,classNames:j}=v,$=vk(v,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupStyle","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange","styles","classNames"]),{getPrefixCls:z,direction:L,getPopupContainer:B,[c]:F}=Yn(Fr),H=z("picker",g),{compactSize:W,compactItemClassnames:V}=Ms(H,L),_=d.useRef(null),[q,U]=Yi("datePicker",I,S),Q=So(H),[te,X,Y]=O0(H,Q);Yo(p,()=>_.current);const T={showToday:!0},Z=l||v.picker,J=z(),{onSelect:ne,multiple:ae}=$,le=ne&&l==="time"&&!ae,be=(Re,pe,Ne)=>{P==null||P(Re,pe,Ne),le&&ne(Re)},[Ce,de]=H0(c,j,D,M||N,O),[Se,oe]=T0(v,H),se=B0(y),ke=$a(Re=>{var pe;return(pe=w??W)!==null&&pe!==void 0?pe:Re}),ge=d.useContext(Eo),ie=R??ge,we=Yn(Uo),{hasFeedback:fe,status:ce,feedbackIcon:xe}=we,he=d.createElement(d.Fragment,null,Z==="time"?d.createElement(F0,null):d.createElement($0,null),fe&&xe),[Me]=Wi("DatePicker",sh),ve=Object.assign(Object.assign({},Me),v.locale),[me]=Kd("DatePicker",(b=de.popup.root)===null||b===void 0?void 0:b.zIndex);return te(d.createElement(Ci,{space:!0},d.createElement(MS,Object.assign({ref:_,placeholder:_E(ve,Z,E),suffixIcon:he,placement:k,prevIcon:d.createElement("span",{className:`${H}-prev-icon`}),nextIcon:d.createElement("span",{className:`${H}-next-icon`}),superPrevIcon:d.createElement("span",{className:`${H}-super-prev-icon`}),superNextIcon:d.createElement("span",{className:`${H}-super-next-icon`}),transitionName:`${J}-slide-up`,picker:l,onCalendarChange:be},T,$,{locale:ve.lang,className:et({[`${H}-${ke}`]:ke,[`${H}-${q}`]:U},wi(H,Ns(ce,A),fe),X,V,F==null?void 0:F.className,x,Y,Q,C,Ce.root),style:Object.assign(Object.assign(Object.assign({},F==null?void 0:F.style),m),de.root),prefixCls:H,getPopupContainer:h||B,generateConfig:e,components:se,direction:L,disabled:ie,classNames:{popup:et(X,Y,Q,C,Ce.popup.root)},styles:{popup:Object.assign(Object.assign({},de.popup.root),{zIndex:me})},allowClear:Se,removeIcon:oe}))))})},n=t(),r=t(tk,nk),o=t(rk,ok),a=t(ak,ik),i=t(lk,sk),s=t(wu,np);return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:a,TimePicker:s,QuarterPicker:i}},L0=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:a,QuarterPicker:i}=gk(e),s=pk(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=o,l.RangePicker=s,l.TimePicker=a,l.QuarterPicker=i,l},Vr=L0(O2),hk=Os(Vr,"popupAlign",void 0,"picker");Vr._InternalPanelDoNotUseOrYouWillBeFired=hk;const bk=Os(Vr.RangePicker,"popupAlign",void 0,"picker");Vr._InternalRangePanelDoNotUseOrYouWillBeFired=bk;Vr.generatePicker=L0;var yk=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],V0=d.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-switch":r,a=e.className,i=e.checked,s=e.defaultChecked,l=e.disabled,u=e.loadingIcon,c=e.checkedChildren,f=e.unCheckedChildren,v=e.onClick,p=e.onChange,b=e.onKeyDown,g=Fn(e,yk),h=Kn(!1,{value:i,defaultValue:s}),y=ye(h,2),m=y[0],x=y[1];function C(E,O){var M=m;return l||(M=E,x(M),p==null||p(M,O)),M}function w(E){E.which===st.LEFT?C(!1,E):E.which===st.RIGHT&&C(!0,E),b==null||b(E)}function S(E){var O=C(!m,E);v==null||v(O,E)}var k=et(o,a,(n={},He(n,"".concat(o,"-checked"),m),He(n,"".concat(o,"-disabled"),l),n));return d.createElement("button",yt({},g,{type:"button",role:"switch","aria-checked":m,disabled:l,className:k,ref:t,onKeyDown:w,onClick:S}),u,d.createElement("span",{className:"".concat(o,"-inner")},d.createElement("span",{className:"".concat(o,"-inner-checked")},c),d.createElement("span",{className:"".concat(o,"-inner-unchecked")},f)))});V0.displayName="Switch";const xk=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:a,innerMaxMarginSM:i,handleSizeSM:s,calc:l}=e,u=`${t}-inner`,c=Ae(l(s).add(l(r).mul(2)).equal()),f=Ae(l(i).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:Ae(n),[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${f})`,marginInlineEnd:`calc(100% - ${c} + ${f})`},[`${u}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${f})`,marginInlineEnd:`calc(-100% + ${c} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${Ae(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},Ck=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},wk=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:o,handleSize:a,calc:i}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:a,height:a,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i(a).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${Ae(i(a).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Sk=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:a,handleSize:i,calc:s}=e,l=`${t}-inner`,u=Ae(s(i).add(s(r).mul(2)).equal()),c=Ae(s(a).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:a,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${c})`,marginInlineEnd:`calc(100% - ${u} + ${c})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${c})`,marginInlineEnd:`calc(-100% + ${u} - ${c})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},Ek=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},vr(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:Ae(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Zx(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},kk=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,a=t*n,i=r/2,s=2,l=a-s*2,u=i-s*2;return{trackHeight:a,trackHeightSM:i,trackMinWidth:l*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:o,handleSize:l,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new Cr("#00230b").setA(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},Ik=Go("Switch",e=>{const t=gr(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ek(t),Sk(t),wk(t),Ck(t),xk(t)]},kk);var Mk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Nk=d.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:o,loading:a,className:i,rootClassName:s,style:l,checked:u,value:c,defaultChecked:f,defaultValue:v,onChange:p}=e,b=Mk(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[g,h]=Kn(!1,{value:u??c,defaultValue:f??v}),{getPrefixCls:y,direction:m,switch:x}=d.useContext(Fr),C=d.useContext(Eo),w=(o??C)||a,S=y("switch",n),k=d.createElement("div",{className:`${S}-handle`},a&&d.createElement(Xg,{className:`${S}-loading-icon`})),[E,O,M]=Ik(S),N=$a(r),R=et(x==null?void 0:x.className,{[`${S}-small`]:N==="small",[`${S}-loading`]:a,[`${S}-rtl`]:m==="rtl"},i,s,O,M),A=Object.assign(Object.assign({},x==null?void 0:x.style),l),I=(...P)=>{h(P[0]),p==null||p.apply(void 0,P)};return E(d.createElement(Gd,{component:"Switch"},d.createElement(V0,Object.assign({},b,{checked:g,onChange:I,prefixCls:S,className:R,style:A,disabled:w,ref:t,loadingIcon:k}))))}),Eu=Nk;Eu.__ANT_SWITCH=!0;var Ok=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const{TimePicker:Pk,RangePicker:Rk}=Vr,Ak=d.forwardRef((e,t)=>d.createElement(Rk,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),Ca=d.forwardRef((e,t)=>{var{addon:n,renderExtraFooter:r,variant:o,bordered:a}=e,i=Ok(e,["addon","renderExtraFooter","variant","bordered"]);const[s]=Yi("timePicker",o,a),l=d.useMemo(()=>{if(r)return r;if(n)return n},[n,r]);return d.createElement(Pk,Object.assign({},i,{mode:void 0,ref:t,renderExtraFooter:l,variant:s}))}),W0=Os(Ca,"popupAlign",void 0,"picker");Ca._InternalPanelDoNotUseOrYouWillBeFired=W0;Ca.RangePicker=Ak;Ca._InternalPanelDoNotUseOrYouWillBeFired=W0;const Dk=St.div`
|
|
203
|
-
background-color: #ffffff;
|
|
204
|
-
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
|
|
205
|
-
border-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"8px"}};
|
|
206
|
-
height: 90vh;
|
|
207
|
-
overflow: hidden;
|
|
208
|
-
position: relative;
|
|
209
|
-
`,jk=()=>{Yt(()=>{const e="goggle-nav-icon-styles";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerHTML=`
|
|
210
|
-
:root { --color-gray: #64748b; --color-blue: #3b82f6; }
|
|
211
|
-
.g-nav-item { position: relative; transition: all .3s ease; border-radius: 8px; }
|
|
212
|
-
.g-nav-icon img { transition: all .3s ease; filter: grayscale(100%) brightness(100%) opacity(.7); }
|
|
213
|
-
.g-nav-text { color: var(--color-gray); transition: color .3s ease; }
|
|
214
|
-
.g-nav-item:not(.active):hover .g-nav-icon img { filter: sepia(100%) saturate(1000%) hue-rotate(200deg) brightness(80%) opacity(1); transform: scale(1.05); }
|
|
215
|
-
.g-nav-item:not(.active):hover .g-nav-text { color: var(--color-blue); font-weight: 500; }
|
|
216
|
-
.g-nav-item.active { background-color: rgba(219,234,254,0.6); }
|
|
217
|
-
.g-nav-item.active .g-nav-icon img { filter: sepia(100%) saturate(1000%) hue-rotate(200deg) brightness(100%) opacity(1); transform: scale(1.05); }
|
|
218
|
-
.g-nav-item.active .g-nav-text { color: var(--color-blue); opacity: .8; font-weight: 500; }
|
|
219
|
-
.g-nav-item.active::before { content: ''; position: absolute; left: 0; top: 30%; bottom: 30%; width: 3px; background: var(--color-blue); border-radius: 0 2px 2px 0; }
|
|
220
|
-
`,document.head.appendChild(t)}},[])},$k=({items:e,activePath:t,defaultOpen:n=!0,open:r,onOpenChange:o,onItemClick:a,logo:i,className:s,style:l,styles:u})=>{const c=qo(),f=sr(sr({theme:jn,mode:"light"},c),u);jk();const[v,p]=Rt(n),b=typeof r=="boolean"?r:v,g=C=>{typeof r=="boolean"||p(C),o==null||o(C)},[h,y]=Rt(!1),m=C=>C?typeof C=="string"?ee("img",{src:C,className:"w-6 h-6 transition-all duration-200",alt:"nav"}):C:null,x=Mn(()=>({width:b?"60px":"20px",minWidth:b?"60px":"20px",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"}),[b]);return Ct(Dk,{$theme:f.theme||jn,className:`relative ${s||""}`,style:{...x,...l},children:[ee("div",{onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),className:"absolute top-1/2 -translate-y-1/2 right-1 w-6 h-6 cursor-pointer z-20 transition-all duration-300",onClick:()=>g(!b),"aria-label":b?"\u6536\u8D77":"\u5C55\u5F00",role:"button",children:ee("div",{className:"group flex items-center justify-center w-6 h-6 rounded-full transition-all duration-200",children:Ct("div",{className:"relative w-4 h-4 flex items-center justify-center",children:[ee("div",{className:`absolute w-[2px] h-3 bg-gray-400 rounded-full transition-all duration-300 ${h?"opacity-0 scale-0":"opacity-100 scale-100"}`}),ee("svg",{viewBox:"0 0 24 24",fill:"none",className:`absolute w-4 h-4 stroke-gray-400 transition-all duration-300 ${h?"opacity-100 scale-100":"opacity-0 scale-0"} ${b?"rotate-0":"rotate-180"}`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:ee("polyline",{points:"15 18 9 12 15 6"})})]})})}),Ct("div",{className:"h-full py-6 px-[2px] flex flex-col items-center",style:{opacity:b?1:0,transform:b?"translateX(0)":"translateX(-10px)",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)"},children:[ee("div",{className:"mb-6 transition-transform duration-300 hover:scale-105",children:typeof i=="string"?ee("img",{src:i,className:"w-7 h-7",alt:"logo"}):i||ee("div",{className:"w-7 h-7 rounded bg-gray-100 flex items-center justify-center text-xs text-gray-500",children:"G"})}),ee("div",{className:"w-full gap-y-[2px] mb-10 flex-1 overflow-x-hidden overflow-y-auto scrollbar-none flex flex-col items-center",children:e.map(C=>{const w=!!(t&&C.path&&t.startsWith(C.path)),S=w&&C.activeIcon?C.activeIcon:C.icon;return Ct("div",{onClick:()=>!C.disabled&&(a==null?void 0:a(C)),className:`g-nav-item group relative w-full flex flex-col items-center justify-center py-3 px-2 rounded-lg cursor-pointer transition-all duration-200 ${w?"active bg-blue-50":"text-gray-500 hover:bg-gray-50"}`,children:[Ct("div",{className:"relative g-nav-icon transition-transform duration-200 group-hover:scale-105",children:[m(S),C.badge&&C.badge>0&&ee("span",{className:"absolute -top-1 -right-1 min-w-[16px] h-4 px-1 rounded-full bg-red-500 text-white text-[10px] leading-4 text-center",children:C.badge>99?"99+":C.badge})]}),ee("div",{className:"mt-1 text-xs text-center g-nav-text transition-colors duration-200",children:C.name})]},C.key)})})]})]})};St.div.withConfig({shouldForwardProp:e=>!["itemWidth","itemGap","theme"].includes(e)})`
|
|
221
|
-
position: relative;
|
|
222
|
-
display: flex;
|
|
223
|
-
align-items: flex-end;
|
|
224
|
-
justify-content: center;
|
|
225
|
-
padding: 12px 20px;
|
|
226
|
-
background: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.background)||"rgba(255, 255, 255, 0.18)"}};
|
|
227
|
-
backdrop-filter: saturate(180%) blur(20px);
|
|
228
|
-
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
229
|
-
border: 1px solid ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.border)||"rgba(255, 255, 255, 0.28)"}};
|
|
230
|
-
border-radius: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.space)==null?void 0:n.radius)||"14px"}};
|
|
231
|
-
box-shadow: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.shadow)||"0 6px 24px rgba(0, 0, 0, 0.25), inset 0 0.5px 0 rgba(255, 255, 255, 0.4)"}};
|
|
232
|
-
width: fit-content;
|
|
233
|
-
margin: 0 auto;
|
|
234
|
-
min-width: ${e=>e.itemWidth*2}px;
|
|
235
|
-
`;St.div.withConfig({shouldForwardProp:e=>!["itemWidth","itemHeight","itemGap","isHovered","magnification"].includes(e)})`
|
|
236
|
-
position: relative;
|
|
237
|
-
width: ${e=>e.itemWidth}px;
|
|
238
|
-
height: ${e=>e.itemHeight}px;
|
|
239
|
-
margin: 0 ${e=>e.itemGap/2}px;
|
|
240
|
-
cursor: pointer;
|
|
241
|
-
transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
242
|
-
transform: ${e=>e.isHovered?`scale(${e.magnification})`:"scale(1)"};
|
|
243
|
-
transform-origin: center bottom;
|
|
244
|
-
z-index: ${e=>e.isHovered?10:1};
|
|
245
|
-
`;St.img.withConfig({shouldForwardProp:e=>!["isActive"].includes(e)})`
|
|
246
|
-
width: 80%;
|
|
247
|
-
height: 80%;
|
|
248
|
-
object-fit: contain;
|
|
249
|
-
border-radius: 8px;
|
|
250
|
-
transition: all 0.15s ease;
|
|
251
|
-
filter: ${e=>e.isActive?"none":"grayscale(0.3) brightness(0.8)"};
|
|
252
|
-
|
|
253
|
-
&:hover {
|
|
254
|
-
filter: none;
|
|
255
|
-
}
|
|
256
|
-
`;St.div.withConfig({shouldForwardProp:e=>!["isActive","theme"].includes(e)})`
|
|
257
|
-
position: absolute;
|
|
258
|
-
bottom: -4px;
|
|
259
|
-
left: 40%;
|
|
260
|
-
transform: translateX(-50%);
|
|
261
|
-
width: 6px;
|
|
262
|
-
height: 6px;
|
|
263
|
-
background: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007AFF"}};
|
|
264
|
-
border-radius: 50%;
|
|
265
|
-
opacity: ${e=>e.isActive?1:0};
|
|
266
|
-
transition: opacity 0.2s ease;
|
|
267
|
-
`;St.div.withConfig({shouldForwardProp:e=>!["visible","theme"].includes(e)})`
|
|
268
|
-
position: absolute;
|
|
269
|
-
bottom: 100%;
|
|
270
|
-
left: 40%;
|
|
271
|
-
transform: translateX(-50%) translateY(-8px);
|
|
272
|
-
background: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.text)||"rgba(0, 0, 0, 0.8)"}};
|
|
273
|
-
color: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.background)||"white"}};
|
|
274
|
-
padding: 4px 8px;
|
|
275
|
-
border-radius: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
|
|
276
|
-
font-size: 10px;
|
|
277
|
-
white-space: nowrap;
|
|
278
|
-
opacity: ${e=>e.visible?1:0};
|
|
279
|
-
visibility: ${e=>e.visible?"visible":"hidden"};
|
|
280
|
-
transition: all 0.2s ease;
|
|
281
|
-
z-index: 1000;
|
|
282
|
-
|
|
283
|
-
&::after {
|
|
284
|
-
content: '';
|
|
285
|
-
position: absolute;
|
|
286
|
-
top: 100%;
|
|
287
|
-
left: 50%;
|
|
288
|
-
transform: translateX(-50%);
|
|
289
|
-
border: 4px solid transparent;
|
|
290
|
-
border-top-color: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.text)||"rgba(0, 0, 0, 0.8)"}};
|
|
291
|
-
}
|
|
292
|
-
`;St.div`
|
|
293
|
-
border: 2px dashed ${e=>{var t,n,r,o;return e.$isDragOver?((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff":((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.border)||"#dee2e6"}};
|
|
294
|
-
border-radius: 4px;
|
|
295
|
-
background: ${e=>{var t,n,r,o;return e.$isDragOver?`${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}10`:((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.background)||"#f8f9fa"}};
|
|
296
|
-
padding: 24px;
|
|
297
|
-
text-align: center;
|
|
298
|
-
transition: all 0.2s ease;
|
|
299
|
-
cursor: pointer;
|
|
300
|
-
min-height: 200px;
|
|
301
|
-
display: flex;
|
|
302
|
-
flex-direction: column;
|
|
303
|
-
align-items: center;
|
|
304
|
-
justify-content: center;
|
|
305
|
-
gap: 16px;
|
|
306
|
-
|
|
307
|
-
&:hover {
|
|
308
|
-
border-color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
309
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
|
|
310
|
-
}
|
|
311
|
-
`;St.div`
|
|
312
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
313
|
-
font-size: 48px;
|
|
314
|
-
margin-bottom: 8px;
|
|
315
|
-
`;St.div`
|
|
316
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)||"#343a40"}};
|
|
317
|
-
font-size: 16px;
|
|
318
|
-
font-weight: 500;
|
|
319
|
-
margin-bottom: 4px;
|
|
320
|
-
`;St.div`
|
|
321
|
-
color: ${e=>{var t,n,r,o;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.textSecondary)||((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.disabledText)||"#6b7280"}};
|
|
322
|
-
font-size: 14px;
|
|
323
|
-
`;St.input`
|
|
324
|
-
display: none;
|
|
325
|
-
`;St.div`
|
|
326
|
-
|
|
327
|
-
width: 100%;
|
|
328
|
-
max-width: 600px;
|
|
329
|
-
`;St.div.attrs({className:"upload-item"})`
|
|
330
|
-
display: flex;
|
|
331
|
-
align-items: center;
|
|
332
|
-
padding: 8px 12px;
|
|
333
|
-
border-bottom: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
|
|
334
|
-
border: ${e=>{var t,n,r,o;return e.$hasForm?"none":e.$status==="error"?`1px solid ${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}`:`1px solid ${((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.border)||"#dee2e6"}`}};
|
|
335
|
-
border-radius: 4px;
|
|
336
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#ffffff"}};
|
|
337
|
-
transition: all 0.2s ease;
|
|
338
|
-
|
|
339
|
-
&:hover {
|
|
340
|
-
border-color: ${e=>{var t,n,r,o;return e.$hasForm?"transparent":e.$status==="error"?((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000":((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.primary)||"#007bff"}};
|
|
341
|
-
}
|
|
342
|
-
`;St.div`
|
|
343
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
344
|
-
margin-right: 12px;
|
|
345
|
-
flex-shrink: 0;
|
|
346
|
-
`;St.div`
|
|
347
|
-
flex: 1;
|
|
348
|
-
min-width: 0;
|
|
349
|
-
`;St.div`
|
|
350
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)||"#343a40"}};
|
|
351
|
-
font-size: 12px;
|
|
352
|
-
font-weight: 400;
|
|
353
|
-
margin-bottom: 2px;
|
|
354
|
-
white-space: nowrap;
|
|
355
|
-
overflow: hidden;
|
|
356
|
-
text-overflow: ellipsis;
|
|
357
|
-
`;St.div`
|
|
358
|
-
color: ${e=>{var t,n,r,o;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.textSecondary)||((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.disabledText)||"#6b7280"}};
|
|
359
|
-
font-size: 10px;
|
|
360
|
-
`;St.div`
|
|
361
|
-
width: 100%;
|
|
362
|
-
height: 4px;
|
|
363
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
|
|
364
|
-
border-radius: 2px;
|
|
365
|
-
overflow: hidden;
|
|
366
|
-
margin-top: 8px;
|
|
367
|
-
position: relative;
|
|
368
|
-
|
|
369
|
-
&::after {
|
|
370
|
-
content: '';
|
|
371
|
-
position: absolute;
|
|
372
|
-
top: 0;
|
|
373
|
-
left: 0;
|
|
374
|
-
height: 100%;
|
|
375
|
-
width: ${e=>e.$progress}%;
|
|
376
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
377
|
-
transition: width 0.3s ease;
|
|
378
|
-
}
|
|
379
|
-
`;St.div`
|
|
380
|
-
margin-left: 12px;
|
|
381
|
-
flex-shrink: 0;
|
|
382
|
-
color: ${e=>{var t,n,r,o,a,i,s,l,u,c;switch(e.$status){case"success":return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.success)||"#008000";case"error":return((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.error)||"#FF0000";case"uploading":return((i=(a=e.$theme)==null?void 0:a.colors)==null?void 0:i.primary)||"#007bff";case"pending":return((l=(s=e.$theme)==null?void 0:s.colors)==null?void 0:l.warning)||"#FFA500";default:return((c=(u=e.$theme)==null?void 0:u.colors)==null?void 0:c.disabledText)||"#808080"}}};
|
|
383
|
-
`;St.button`
|
|
384
|
-
background: none;
|
|
385
|
-
border: none;
|
|
386
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}};
|
|
387
|
-
cursor: pointer;
|
|
388
|
-
padding: 4px;
|
|
389
|
-
border-radius: 4px;
|
|
390
|
-
margin-left: 8px;
|
|
391
|
-
transition: all 0.2s ease;
|
|
392
|
-
|
|
393
|
-
&:hover {
|
|
394
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}}20;
|
|
395
|
-
}
|
|
396
|
-
`;St.button`
|
|
397
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
|
|
398
|
-
border: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
|
|
399
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
400
|
-
padding: 8px 16px;
|
|
401
|
-
border-radius: 4px;
|
|
402
|
-
cursor: pointer;
|
|
403
|
-
display: flex;
|
|
404
|
-
align-items: center;
|
|
405
|
-
gap: 8px;
|
|
406
|
-
font-size: 14px;
|
|
407
|
-
transition: all 0.2s ease;
|
|
408
|
-
|
|
409
|
-
&:hover {
|
|
410
|
-
border-color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
411
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}}10;
|
|
412
|
-
}
|
|
413
|
-
`;St.button`
|
|
414
|
-
background: none;
|
|
415
|
-
border: none;
|
|
416
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
417
|
-
cursor: pointer;
|
|
418
|
-
padding: 4px;
|
|
419
|
-
border-radius: 4px;
|
|
420
|
-
margin-left: 8px;
|
|
421
|
-
transition: all 0.2s ease;
|
|
422
|
-
display: flex;
|
|
423
|
-
align-items: center;
|
|
424
|
-
|
|
425
|
-
&:hover {
|
|
426
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}}20;
|
|
427
|
-
}
|
|
428
|
-
`;St.div`
|
|
429
|
-
padding: 0px;
|
|
430
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
|
|
431
|
-
|
|
432
|
-
/* 移除边框,避免与外层容器边框重叠 */
|
|
433
|
-
border: none;
|
|
434
|
-
border-radius: 0;
|
|
435
|
-
|
|
436
|
-
/* 添加上方隔离线 */
|
|
437
|
-
border-top: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
|
|
438
|
-
|
|
439
|
-
/* 当有错误时,使用错误状态的隔离线颜色 */
|
|
440
|
-
${e=>{var t,n;return e.$hasError&&`
|
|
441
|
-
border-top-color: ${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"};
|
|
442
|
-
`}}
|
|
443
|
-
|
|
444
|
-
/* 添加左右内边距,与外层容器对齐 */
|
|
445
|
-
margin: 0 1px;
|
|
446
|
-
|
|
447
|
-
/* 添加背景色区分 */
|
|
448
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.listBackground)||"#f9f9f9"}};
|
|
449
|
-
`;St.input`
|
|
450
|
-
border: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
|
|
451
|
-
border-radius: 4px;
|
|
452
|
-
padding: 8px 12px;
|
|
453
|
-
font-size: 14px;
|
|
454
|
-
width: 100%;
|
|
455
|
-
margin-top: 8px;
|
|
456
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
|
|
457
|
-
color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)||"#343a40"}};
|
|
458
|
-
|
|
459
|
-
&:focus {
|
|
460
|
-
outline: none;
|
|
461
|
-
border-color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
|
|
462
|
-
}
|
|
463
|
-
`;St.div`
|
|
464
|
-
/* 基础样式 */
|
|
465
|
-
margin-top: 5px;
|
|
466
|
-
background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
|
|
467
|
-
transition: all 0.2s ease;
|
|
468
|
-
|
|
469
|
-
/* 边框逻辑:有表单时显示边框,无表单时不显示 */
|
|
470
|
-
border: ${e=>{var t,n,r,o;return e.$hasForm?e.$status==="error"?`1px solid ${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}`:`1px solid ${((o=(r=e.$theme)==null?void 0:r.colors)==null?void 0:o.border)||"#dee2e6"}`:"none"}};
|
|
471
|
-
|
|
472
|
-
/* 圆角设置:有表单时设置圆角,无表单时不设置 */
|
|
473
|
-
border-radius: ${e=>e.$hasForm?"4px":"0"};
|
|
474
|
-
|
|
475
|
-
/* 当有表单时的特殊样式 */
|
|
476
|
-
${e=>e.$hasForm&&`
|
|
477
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
478
|
-
|
|
479
|
-
/* \u786E\u4FDD\u8FB9\u6846\u5B8C\u6574\u5305\u88F9\u6574\u4E2A\u5BB9\u5668 */
|
|
480
|
-
overflow: hidden;
|
|
481
|
-
`}
|
|
482
|
-
|
|
483
|
-
/* 错误状态的特殊样式 */
|
|
484
|
-
${e=>{var t,n;return e.$status==="error"&&`
|
|
485
|
-
background: ${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}05;
|
|
486
|
-
`}}
|
|
487
|
-
|
|
488
|
-
/* 样式覆盖 */
|
|
489
|
-
.list-my div{
|
|
490
|
-
padding: 2px 2px !important;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
:where(.css-dev-only-do-not-override-1v28nim).ant-input-textarea-affix-wrapper.ant-input-affix-wrapper >textarea.ant-input{
|
|
494
|
-
min-height: 32px !important;
|
|
495
|
-
}
|
|
496
|
-
`;function kn(e){return e.label?Ct("div",{className:"flex items-center gap-2",children:[ee("span",{className:"font-medium text-gray-800 text-sm",children:e.label}),e.required&&ee("span",{className:"text-red-500 font-bold text-sm",children:"*"}),(e.helpText||e.description)&&ee(Ps,{title:e.helpText||e.description,placement:"top",children:ee(Ph,{className:"text-gray-400 hover:text-gray-600 cursor-help transition-colors",size:14})})]}):null}function Fk(e=[],t,n={},r="md"){const o=r==="sm"?"28px":"40px",a=r==="sm"?"28px":"40px",i=r==="sm"?"0 8px":"0 12px",s=r==="sm"?"16px":"24px",l=r==="sm"?"12px":"14px",u=ue.useMemo(()=>{var m,x,C,w,S,k;(x=(m=t==null?void 0:t.theme)==null?void 0:m.colors)!=null&&x.border;const E=((w=(C=t==null?void 0:t.theme)==null?void 0:C.colors)==null?void 0:w.primary)||"#3b82f6",O=((k=(S=t==null?void 0:t.theme)==null?void 0:S.colors)==null?void 0:k.textSecondary)||"#9ca3af";return`
|
|
497
|
-
.dynamic-form .ant-form-item-label > label {
|
|
498
|
-
height: auto !important;
|
|
499
|
-
line-height: 1.5 !important;
|
|
500
|
-
margin-bottom: ${r==="sm"?"6px":"8px"} !important;
|
|
501
|
-
font-weight: 500 !important;
|
|
502
|
-
color: #374151 !important;
|
|
503
|
-
font-size: ${l} !important;
|
|
504
|
-
}
|
|
505
|
-
.dynamic-form .ant-form-item {
|
|
506
|
-
margin-bottom: ${s} !important;
|
|
507
|
-
animation: df-fade-in 200ms ease-out both;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
/* \u53D7\u63A7\u9879\u51FA\u73B0\u7684\u8F7B\u5FAE\u52A8\u753B */
|
|
511
|
-
@keyframes df-fade-in {
|
|
512
|
-
from { opacity: 0; transform: translateY(6px); }
|
|
513
|
-
to { opacity: 1; transform: translateY(0); }
|
|
514
|
-
}
|
|
515
|
-
.df-stagger { animation: df-fade-in 200ms ease-out both; }
|
|
516
|
-
|
|
517
|
-
/* \u9690\u85CFAnt Design\u7684\u5FC5\u586B\u661F\u53F7 */
|
|
518
|
-
.dynamic-form .ant-form-item-required::before {
|
|
519
|
-
display: none !important;
|
|
520
|
-
}
|
|
521
|
-
.dynamic-form .ant-form-item-required::after {
|
|
522
|
-
display: none !important;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.dynamic-form .ant-input,
|
|
526
|
-
.dynamic-form .ant-select-selector,
|
|
527
|
-
{
|
|
528
|
-
border-radius: 6px !important;
|
|
529
|
-
border: none !important;
|
|
530
|
-
transition: all 0.2s !important;
|
|
531
|
-
|
|
532
|
-
line-height: ${a} !important;
|
|
533
|
-
padding: ${i} !important;
|
|
534
|
-
font-size: ${l} !important;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/* smooth show/hide for controlled items */
|
|
538
|
-
.df-hidden {
|
|
539
|
-
opacity: 0 !important;
|
|
540
|
-
transform: translateY(-4px) !important;
|
|
541
|
-
max-height: 0 !important;
|
|
542
|
-
margin-bottom: 0 !important;
|
|
543
|
-
overflow: hidden !important;
|
|
544
|
-
pointer-events: none !important;
|
|
545
|
-
transition: all 180ms ease !important;
|
|
546
|
-
}
|
|
547
|
-
.df-stagger { transition: all 200ms ease; }
|
|
548
|
-
|
|
549
|
-
.dynamic-form .ant-input-number,
|
|
550
|
-
.dynamic-form .ant-picker {
|
|
551
|
-
line-height: ${a} !important;
|
|
552
|
-
padding: ${i} !important;
|
|
553
|
-
font-size: ${l} !important;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
.dynamic-form .ant-input{
|
|
557
|
-
padding: 0 6px !important;
|
|
558
|
-
}
|
|
559
|
-
.ant-input-affix-wrapper:where(.css-dev-only-do-not-override-1vjf2v5).ant-input-affix-wrapper {
|
|
560
|
-
padding:0 6px !important;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.dynamic-form .ant-input-textarea .ant-input {
|
|
564
|
-
border: none !important;
|
|
565
|
-
background: transparent !important;
|
|
566
|
-
padding: ${r==="sm"?"6px 8px":"8px 12px"} !important;
|
|
567
|
-
min-height: ${r==="sm"?"56px":"80px"} !important;
|
|
568
|
-
resize: vertical !important;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/* textarea \u6837\u5F0F\u4FEE\u590D */
|
|
572
|
-
.dynamic-form .ant-input-textarea {
|
|
573
|
-
border-radius: 6px !important;
|
|
574
|
-
border: 1px solid #d1d5db !important;
|
|
575
|
-
transition: all 0.2s !important;
|
|
576
|
-
font-size: ${l} !important;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/* \u5BC6\u7801\u6846\u6837\u5F0F\u4FEE\u590D */
|
|
580
|
-
.dynamic-form .ant-input-password {
|
|
581
|
-
height: ${o} !important;
|
|
582
|
-
line-height: ${a} !important;
|
|
583
|
-
padding: 0 0px !important;
|
|
584
|
-
}
|
|
585
|
-
.dynamic-form .ant-input-number .ant-input-number-input {
|
|
586
|
-
padding: 0 0px !important;
|
|
587
|
-
}
|
|
588
|
-
.dynamic-form :where(.css-dev-only-do-not-override-1d4w9r2).ant-input-number .ant-input-number-input{
|
|
589
|
-
padding: 0 0px !important;
|
|
590
|
-
}
|
|
591
|
-
.dynamic-form .ant-input-password .ant-input {
|
|
592
|
-
height: ${r==="sm"?"26px":"38px"} !important;
|
|
593
|
-
line-height: ${r==="sm"?"26px":"38px"} !important;
|
|
594
|
-
padding: ${i} !important;
|
|
595
|
-
border: none !important;
|
|
596
|
-
background: transparent !important;
|
|
597
|
-
}
|
|
598
|
-
/* \u6570\u5B57\u6846\u6837\u5F0F\u4FEE\u590D */
|
|
599
|
-
.dynamic-form .ant-input-number {
|
|
600
|
-
height: ${o} !important;
|
|
601
|
-
line-height: ${a} !important;
|
|
602
|
-
width: 100% !important;
|
|
603
|
-
}
|
|
604
|
-
.dynamic-form .ant-input-number .ant-input-number-input {
|
|
605
|
-
height: ${r==="sm"?"26px":"38px"} !important;
|
|
606
|
-
line-height: ${r==="sm"?"26px":"38px"} !important;
|
|
607
|
-
text-align: left !important;
|
|
608
|
-
}
|
|
609
|
-
.dynamic-form .ant-input:focus,
|
|
610
|
-
.dynamic-form .ant-select-focused .ant-select-selector,
|
|
611
|
-
.dynamic-form .ant-input-number-focused,
|
|
612
|
-
.dynamic-form .ant-picker-focused {
|
|
613
|
-
border-color: ${E} !important;
|
|
614
|
-
box-shadow: 0 0 0 2px ${E}1A !important;
|
|
615
|
-
}
|
|
616
|
-
.dynamic-form .ant-input:hover,
|
|
617
|
-
.dynamic-form .ant-select:hover .ant-select-selector,
|
|
618
|
-
.dynamic-form .ant-input-number:hover,
|
|
619
|
-
.dynamic-form .ant-picker:hover {
|
|
620
|
-
border-color: ${O} !important;
|
|
621
|
-
}
|
|
622
|
-
.ant-form input[type="file"] {
|
|
623
|
-
display: none !important;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
/* \u8BA1\u6570\u5668\u6837\u5F0F\u4F18\u5316\uFF0C\u907F\u514D\u4E0E\u81EA\u5B9A\u4E49\u6837\u5F0F\u51B2\u7A81 */
|
|
629
|
-
.dynamic-form .ant-input-show-count-suffix {
|
|
630
|
-
color: #6b7280 !important;
|
|
631
|
-
font-size: 12px !important;
|
|
632
|
-
margin-left: 8px !important;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.dynamic-form .ant-input-textarea-show-count-suffix {
|
|
636
|
-
color: #6b7280 !important;
|
|
637
|
-
font-size: 12px !important;
|
|
638
|
-
text-align: right !important;
|
|
639
|
-
margin-top: 4px !important;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/* \u786E\u4FDD\u8BA1\u6570\u5668\u4E0D\u4E0E\u5176\u4ED6\u5143\u7D20\u91CD\u53E0 */
|
|
643
|
-
.dynamic-form .ant-form-item-control-input {
|
|
644
|
-
position: relative !important;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
.dynamic-form .ant-form-item-control-input-content {
|
|
648
|
-
position: relative !important;
|
|
649
|
-
}
|
|
650
|
-
`},[r,o,a,i,s,l,t]);ue.useEffect(()=>{const m=document.createElement("style");return m.textContent=u,document.head.appendChild(m),()=>{document.head.removeChild(m)}},[u]);const[c,f]=ue.useState(()=>{const m={};return e.forEach(x=>{x.name&&(x.type==="switch"?m[x.name]=n[x.name]??x.defaultValue??!1:["select","radio","checkbox"].includes(x.type)&&(m[x.name]=n[x.name]??x.defaultValue??(x.type==="checkbox"?[]:"")))}),m}),v=ue.useRef();ue.useEffect(()=>{t&&t.formInstance&&!v.current&&(v.current=t.formInstance)},[t]);const p=(m,x,C)=>{var w;if(f(S=>({...S,[m]:x})),v.current&&C){let S=[];if(Array.isArray(C))S=C;else if(typeof C=="object"){const k=String(x);Object.keys(C).forEach(E=>{E!==k&&C[E].forEach(O=>{O&&v.current.setFieldsValue({[O]:void 0})})})}Array.isArray(C)&&((w=e.find(k=>k.name===m))==null?void 0:w.type)==="switch"&&!x&&S.forEach(k=>{k&&v.current.setFieldsValue({[k]:void 0})})}},b=new Set,g=(()=>{var m,x;try{return((x=(m=t==null?void 0:t.formInstance)==null?void 0:m.getFieldsValue)==null?void 0:x.call(m))||{}}catch{return{}}})(),h=m=>{m.forEach(x=>{if(x){if(x.controlledItems&&x.name){const C=c[x.name];if(Array.isArray(x.controlledItems))x.type==="switch"&&C===!1&&x.controlledItems.forEach(w=>{w&&b.add(w)});else if(typeof x.controlledItems=="object"){const w=new Set;Object.values(x.controlledItems).forEach(E=>{(E||[]).forEach(O=>O&&w.add(O))});const S=String(C??""),k=new Set((x.controlledItems[S]||[]).filter(Boolean));w.forEach(E=>{k.has(E)||b.add(E)})}}(typeof x.hidden=="function"?x.hidden(g):x.hidden===!0)&&x.name&&b.add(x.name),x.type==="col"&&Array.isArray(x.children)&&h(x.children)}})};h(e);const y=e.map((m,x)=>{var C,w,S,k,E,O,M;if(m.name&&b.has(m.name))return null;if(m.type==="divider")return ee("div",{className:"my-3 border-b border-solid border-gray-200"},m.name||`divider-${Math.random()}`);if(m.type==="title"){const N=m.level||1,R={1:"text-[16px]",2:"text-[14px]",3:"text-[12px]"},A=R[N]||R[1];return ee("div",{className:`${A} text-gray-800 mb-4 mt-6 ${m.className||""} df-stagger`,style:{color:"#1f2937",lineHeight:"1.4",fontWeight:N===1?700:N===2?600:500,animationDelay:`${x*30}ms`},children:Ct("div",{className:"flex items-center",children:[ee("span",{className:"mr-3",children:m.label}),ee("div",{className:"flex-1 border-b-[1px] border-dashed border-gray-200",style:{borderBottomStyle:"dashed",borderBottomWidth:"1px",borderBottomColor:"#e5e7eb"}})]})},m.name||`title-${Math.random()}`)}if(m.type==="col"){if(!m.children||m.children.length===0)return null;const N=(I,P)=>{var D,j,$,z,L,B,F;const H=typeof I.hidden=="function"?I.hidden(g):I.hidden===!0;if(I.name&&b.has(I.name)||H)return null;const W={label:I.label?kn(I):void 0,name:I.name,rules:I.name?[{required:I.required,message:I.error||`\u8BF7\u8F93\u5165${I.label}`}]:void 0,className:"mb-6 df-stagger",style:{animationDelay:`${P*30}ms`},labelCol:{span:24},wrapperCol:{span:24},required:!1},V=I.name||I.id||`form-item-${P}`,_=`${I.className||""} ${r==="sm"?"h-7":"h-10"}`;switch(I.type){case"divider":return ee("div",{className:"my-3 border-b border-solid border-gray-200"},I.name||I.id||`divider-${P}`);case"input":return ee(jt.Item,{...W,children:ee(Zn,{placeholder:I.placeholder,disabled:I.disabled,className:_})},V);case"select":return ee(jt.Item,{...W,children:ee(_r,{placeholder:I.placeholder,disabled:I.disabled,className:_,value:c[I.name||""],onChange:q=>p(I.name||"",q,I.controlledItems),children:(D=I.options)==null?void 0:D.map((q,U)=>ee(_r.Option,{value:q.value,children:q.render?q.render():q.label},q.value||U))})},V);case"number":return ee(jt.Item,{...W,children:ee(ii,{addonAfter:I.unit?ee("span",{className:"text-[10px] text-gray-300",children:I.unit}):null,min:(j=I.range)==null?void 0:j.min,max:($=I.range)==null?void 0:$.max,step:I.step,placeholder:I.placeholder,disabled:I.disabled,className:_,style:{width:"100%"}})},V);case"password":return ee(jt.Item,{...W,children:ee(Zn.Password,{placeholder:I.placeholder,disabled:I.disabled,className:_})},V);case"textarea":return ee(jt.Item,{...W,children:ee(Zn.TextArea,{placeholder:I.placeholder,disabled:I.disabled,className:_,rows:r==="sm"?3:4})},V);case"date":return ee(jt.Item,{...W,children:ee(Vr,{placeholder:I.placeholder,disabled:I.disabled,className:_,style:{width:"100%"}})},V);case"radio":return ee(jt.Item,{...W,children:ee(Si.Group,{options:I.options,disabled:I.disabled,className:I.className})},V);case"switch":return ee(jt.Item,{label:null,colon:!1,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},children:Ct("div",{className:"flex items-center justify-between",children:[ee("div",{className:"flex items-center gap-2",children:I.label?kn(I):null}),ee(jt.Item,{name:I.name,valuePropName:"checked",noStyle:!0,children:ee(Eu,{disabled:I.disabled,checked:c[I.name||""],onChange:q=>p(I.name||"",q,I.controlledItems)})})]})},I.name||`switch-${Math.random()}`);case"slider":return Ct("div",{className:"mb-6",children:[Ct("div",{className:"flex items-center justify-between mb-3",children:[ee("div",{className:"flex items-center",children:I.label?kn(I):null}),Ct("div",{className:"flex items-center gap-2",children:[ee(jt.Item,{name:I.name,noStyle:!0,children:ee(ii,{min:(z=I.range)==null?void 0:z.min,max:(L=I.range)==null?void 0:L.max,step:I.step,disabled:I.disabled,className:"h-8 w-20"})}),I.unit&&ee("span",{className:"text-sm text-gray-500",children:I.unit})]})]}),ee(jt.Item,{name:I.name,noStyle:!0,children:ee(tp,{min:(B=I.range)==null?void 0:B.min,max:(F=I.range)==null?void 0:F.max,step:I.step,disabled:I.disabled,className:I.className})})]},I.name||`slider-${Math.random()}`);case"checkbox":return ee(jt.Item,{...W,children:ee(os.Group,{options:I.options,disabled:I.disabled,className:I.className})},V);case"email":return ee(jt.Item,{...W,children:ee(Zn,{type:"email",placeholder:I.placeholder,disabled:I.disabled,className:_})},V);case"time":return ee(jt.Item,{...W,children:ee(Ca,{placeholder:I.placeholder,disabled:I.disabled,className:_,style:{width:"100%"}})},V);case"datetime":return ee(jt.Item,{...W,children:ee(Vr,{showTime:!0,placeholder:I.placeholder,disabled:I.disabled,className:_,style:{width:"100%"}})},V);case"file":return ee(jt.Item,{...W,children:ee(Zn,{type:"file",placeholder:I.placeholder,disabled:I.disabled,className:_})},V);case"color":return ee(jt.Item,{...W,children:ee(Zn,{type:"color",placeholder:I.placeholder,disabled:I.disabled,className:_,style:{width:"65px",height:"40px",padding:"4px !important"}})},V);case"json":return ee(jt.Item,{...W,children:ee(Zn.TextArea,{placeholder:I.placeholder,disabled:I.disabled,className:_,rows:4})},V);case"markdown":return ee(jt.Item,{...W,children:ee(Zn.TextArea,{placeholder:I.placeholder,disabled:I.disabled,className:_,rows:6})},V);case"uploader":return null;default:return null}},R=m.children.map((I,P)=>N(I,P)),A=I=>{if(!m.percentage||m.percentage.length===0)return"flex-1";const P=m.percentage[I];return P&&P>0?`${P/12*100}%`:"flex-1"};return ee("div",{className:`flex justify-between items-start gap-x-2 ${m.className||""}`,style:{flexDirection:m.direction==="column"?"column":"row",flexWrap:m.wrap?"wrap":"nowrap",gap:m.gap?`${m.gap}px`:"8px",justifyContent:m.justify||"space-between",alignItems:m.align||"start"},children:R.map((I,P)=>ee("div",{style:{width:A(P),flex:m.percentage?"none":"1"},children:I},`col-child-${P}`))},m.name||`col-${Math.random()}`)}if(m.type==="input"){const N=[];return m.required&&N.push({required:!0,message:m.error||`\u8BF7\u8F93\u5165${m.label}`}),m.validate&&N.push({validator:async(R,A)=>{if(A&&m.validate){const I=m.validate(A);if(I)throw new Error(I)}}}),ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:N.length>0?N:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn,{placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,maxLength:m.counter,showCount:!!m.counter})},m.name||`input-${Math.random()}`)}if(m.type==="select")return ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(_r,{placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,value:c[m.name||""],onChange:N=>p(m.name||"",N,m.controlledItems),children:(C=m.options)==null?void 0:C.map((N,R)=>ee(_r.Option,{value:N.value,children:N.render?N.render():N.label},N.value||R))})},m.name||`select-${Math.random()}`);if(m.type==="number")return ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u8F93\u5165${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(ii,{addonAfter:m.unit?ee("span",{className:"text-[10px] text-gray-300",children:m.unit}):null,min:(w=m.range)==null?void 0:w.min,max:(S=m.range)==null?void 0:S.max,step:m.step,placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},m.name||`number-${Math.random()}`);if(m.type==="slider")return Ct("div",{className:"mb-6",children:[Ct("div",{className:"flex items-center justify-between mb-3",children:[ee("div",{className:"flex items-center",children:m.label?kn(m):null}),Ct("div",{className:"flex items-center gap-2",children:[ee(jt.Item,{name:m.name,noStyle:!0,children:ee(ii,{min:(k=m.range)==null?void 0:k.min,max:(E=m.range)==null?void 0:E.max,step:m.step,disabled:m.disabled,className:"h-8 w-20"})}),m.unit&&ee("span",{className:"text-sm text-gray-500",children:m.unit})]})]}),ee(jt.Item,{name:m.name,noStyle:!0,children:ee(tp,{min:(O=m.range)==null?void 0:O.min,max:(M=m.range)==null?void 0:M.max,step:m.step,disabled:m.disabled,className:m.className})})]},m.name||`slider-${Math.random()}`);if(m.type==="switch")return ee(jt.Item,{label:null,colon:!1,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},children:Ct("div",{className:"flex items-center justify-between",children:[ee("div",{className:"flex items-center gap-2",children:m.label?kn(m):null}),ee(jt.Item,{name:m.name,valuePropName:"checked",noStyle:!0,children:ee(Eu,{disabled:m.disabled,checked:m.name?c[m.name]:!1,className:m.className,onChange:N=>m.name&&p(m.name,N,m.controlledItems)})})]})},m.name||`switch-${Math.random()}`);if(m.type==="textarea"){const N=[];return m.required&&N.push({required:!0,message:m.error||`\u8BF7\u8F93\u5165${m.label}`}),m.validate&&N.push({validator:async(R,A)=>{if(A&&m.validate){const I=m.validate(A);if(I)throw new Error(I)}}}),ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:N.length>0?N:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn.TextArea,{placeholder:m.placeholder,disabled:m.disabled,rows:r==="sm"?2:3,style:{height:"auto !important"},maxLength:m.counter,showCount:!!m.counter})},m.name||`textarea-${Math.random()}`)}return m.type==="date"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Vr,{placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},m.name||`date-${Math.random()}`):m.type==="radio"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Si.Group,{options:m.options,disabled:m.disabled,className:m.className})},m.name||`radio-${Math.random()}`):m.type==="password"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u8F93\u5165${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn.Password,{placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`})},m.name||`password-${Math.random()}`):m.type==="checkbox"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(os.Group,{options:m.options,disabled:m.disabled,className:m.className})},m.name||`checkbox-${Math.random()}`):m.type==="email"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u8F93\u5165${m.label}`},{type:"email",message:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u90AE\u7BB1\u5730\u5740"}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn,{type:"email",placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`})},m.name||`email-${Math.random()}`):m.type==="time"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Ca,{placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},m.name||`time-${Math.random()}`):m.type==="datetime"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Vr,{showTime:!0,placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},m.name||`datetime-${Math.random()}`):m.type==="file"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn,{type:"file",placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`})},m.name||`file-${Math.random()}`):m.type==="color"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u9009\u62E9${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn,{type:"color",placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%",height:r==="sm"?"28px":"40px"}})},m.name||`color-${Math.random()}`):m.type==="json"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u8F93\u5165${m.label}`},{validator:(N,R)=>{if(!R)return Promise.resolve();try{return JSON.parse(R),Promise.resolve()}catch{return Promise.reject(new Error("\u8BF7\u8F93\u5165\u6709\u6548\u7684JSON\u683C\u5F0F"))}}}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn.TextArea,{placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,rows:4})},m.name||`json-${Math.random()}`):m.type==="markdown"?ee(jt.Item,{label:m.label?kn(m):void 0,name:m.name,rules:m.name?[{required:m.required,message:m.error||`\u8BF7\u8F93\u5165${m.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:ee(Zn.TextArea,{placeholder:m.placeholder,disabled:m.disabled,className:`${m.className||""} ${r==="sm"?"h-7":"h-10"}`,rows:6})},m.name||`markdown-${Math.random()}`):(m.type,null)});return ue.useEffect(()=>{t&&typeof t.setFormRef=="function"&&t.setFormRef(v)},[t]),y}const Tk=`
|
|
651
|
-
.ant-input-password .ant-input-suffix {
|
|
652
|
-
position: absolute !important;
|
|
653
|
-
right: 8px !important;
|
|
654
|
-
top: 50% !important;
|
|
655
|
-
transform: translateY(-50%) !important;
|
|
656
|
-
display: flex !important;
|
|
657
|
-
align-items: center !important;
|
|
658
|
-
justify-content: center !important;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.ant-input-password .ant-input-suffix .anticon {
|
|
662
|
-
font-size: 14px !important;
|
|
663
|
-
color: rgba(0, 0, 0, 0.45) !important;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.ant-input-password:hover .ant-input-suffix .anticon {
|
|
667
|
-
color: rgba(0, 0, 0, 0.65) !important;
|
|
668
|
-
}
|
|
669
|
-
`,K0=ue.forwardRef(({formItems:e,formProps:t={},initialValues:n={},eventsEmit:r,databaseType:o,styles:a,size:i="md",formConfig:s,title:l,description:u,formWidth:c,...f},v)=>{var p,b,g,h,y,m,x,C,w,S,k,E,O,M;const[N]=jt.useForm(),R=qo(),A=sr(sr({theme:jn,mode:"light"},R),a),I=at({}),P=()=>{const q=N.getFieldsValue(),U=[],Q=X=>{X==null||X.forEach(Y=>{Y&&(Y.type==="col"&&Array.isArray(Y.children)?Q(Y.children):Y.name&&U.push({name:Y.name,type:Y.type}))})};Q(e);const te=U.map(X=>{const Y=X.type==="uploader"?I.current[X.name]||q[X.name]||[]:q[X.name];return{name:X.name,type:X.type,value:Y}});return{formName:(t==null?void 0:t.name)||"",values:q,fields:te,files:I.current,timestamp:new Date().toISOString()}},D=(q,U)=>{typeof r=="function"&&(r("form:change",{formName:(t==null?void 0:t.name)||"",values:U,changedValues:q}),Object.keys(q).forEach(Q=>{r("form:fieldChange",{formName:(t==null?void 0:t.name)||"",field:Q,value:q[Q],allValues:U})}))},j=(q,U)=>{if(q.startsWith("uploader:")){const Q=U==null?void 0:U.fieldName;if(Q){const te=I.current[Q]||[];let X=te;switch(q){case"uploader:success":{const Y=U==null?void 0:U.item;if(Y){const T={id:Y.id,name:Y.name,size:Y.size,type:Y.type,uploadApiRes:Y.uploadApiRes||{},formData:Y.formData||{}},Z=te.findIndex(J=>J.id===T.id);Z>=0?(te[Z]=T,X=[...te]):X=[...te,T]}break}case"uploader:remove":{const Y=U==null?void 0:U.itemId;X=te.filter(T=>T.id!==Y);break}case"uploader:formDataChange":{const Y=U==null?void 0:U.itemId,T=(U==null?void 0:U.formData)||{};X=te.map(Z=>Z.id===Y?{...Z,formData:T}:Z);break}case"uploader:dataChange":{Array.isArray(U==null?void 0:U.items)&&(X=U.items.map(Y=>({id:Y.id,name:Y.name,size:Y.size,type:Y.type,uploadApiRes:Y.uploadApiRes||{},formData:Y.formData||{}})));break}}I.current[Q]=X,N.setFieldsValue({[Q]:X})}}if(typeof r=="function"){const Q={formName:(t==null?void 0:t.name)||"",...U};q==="uploader:error"&&Q.data===void 0&&(Q.data=P()),r(q,Q)}},[$,z]=Rt(e);Yt(()=>{z(e)},[e]);const L=(q,U)=>{const Q=te=>te.map(X=>X&&(X.type==="col"&&Array.isArray(X.children)?{...X,children:Q(X.children)}:X.name===q?{...X,...U}:X));z(te=>Q(te))},B=q=>{const U=[...$];for(;U.length;){const Q=U.shift();if(Q){if(Q.type==="col"&&Array.isArray(Q.children))U.push(...Q.children);else if(Q.name===q)return Q}}},F=Fk($,{...a,eventsEmit:j,formInstance:N},n,i),H=async()=>{try{const q=await N.validateFields();typeof r=="function"?r("form:submit",{formName:(t==null?void 0:t.name)||"",values:q,data:P()}):N.submit(),s!=null&&s.onSubmit?s.onSubmit(q):N.resetFields()}catch(q){typeof r=="function"&&r("form:submit_error",{formName:(t==null?void 0:t.name)||"",error:q,data:P()})}},W=()=>{N.resetFields(),typeof r=="function"&&r("form:reset",{formName:(t==null?void 0:t.name)||"",data:P()}),s!=null&&s.onReset&&s.onReset()},V=()=>{N.resetFields(),typeof r=="function"&&r("form:cancel",{formName:(t==null?void 0:t.name)||"",data:P()})},_=async()=>{try{const q=await N.validateFields(),U=[],Q=X=>{X==null||X.forEach(Y=>{Y&&(Y.type==="col"&&Array.isArray(Y.children)?Q(Y.children):Y.name&&U.push({name:Y.name,type:Y.type}))})};Q(e);const te=U.map(X=>{const Y=X.type==="uploader"?I.current[X.name]||q[X.name]||[]:q[X.name];return{name:X.name,type:X.type,value:Y}});return{fields:te,formName:(t==null?void 0:t.name)||"",fieldCount:te.length,timestamp:new Date().toISOString(),isValid:!0}}catch(q){const U=N.getFieldsValue(),Q=[],te=Y=>{Y==null||Y.forEach(T=>{T&&(T.type==="col"&&Array.isArray(T.children)?te(T.children):T.name&&Q.push({name:T.name,type:T.type}))})};te(e);const X=Q.map(Y=>{const T=Y.type==="uploader"?I.current[Y.name]||U[Y.name]||[]:U[Y.name];return{name:Y.name,type:Y.type,value:T}});return{fields:X,formName:(t==null?void 0:t.name)||"",fieldCount:X.length,timestamp:new Date().toISOString(),isValid:!1,errors:q}}};return ue.useImperativeHandle(v,()=>({form:N,getAllData:_,submit:H,reset:W,cancel:V,validate:()=>N.validateFields(),getValue:q=>N.getFieldValue(q),getValues:()=>N.getFieldsValue(),setValues:q=>N.setFieldsValue(q),setFieldProps:(q,U)=>L(q,U),getFieldProps:q=>B(q)}),[N,_,H,W,V]),Ct(Hd,{children:[ee("style",{children:Tk}),Ct("div",{style:{position:"relative",height:"100%",padding:"24px",width:c||"100%",maxWidth:c||"100%"},children:[(l||u)&&Ct("div",{style:{marginBottom:"24px"},children:[l&&ee("h2",{style:{fontSize:"24px",fontWeight:"600",color:((b=(p=A.theme)==null?void 0:p.colors)==null?void 0:b.text)||"#1f2937",margin:"0 0 8px 0"},children:l}),u&&ee("p",{style:{fontSize:"14px",color:((h=(g=A.theme)==null?void 0:g.colors)==null?void 0:h.secondary)||"#6b7280",margin:"0",lineHeight:"1.5"},children:u})]}),Ct(jt,{form:N,...t,initialValues:n,onValuesChange:D,...f,style:{...t==null?void 0:t.style,width:"100%",paddingBottom:"30px"},className:"dynamic-form",loading:(t==null?void 0:t.loading)===!0?!0:void 0,children:[F,((s==null?void 0:s.showSubmit)||(s==null?void 0:s.showReset))&&Ct("div",{style:{marginTop:"32px",paddingTop:"24px",borderTop:`1px solid ${((m=(y=A.theme)==null?void 0:y.colors)==null?void 0:m.border)||"#e5e7eb"}`,display:"flex",gap:"12px",justifyContent:"flex-end"},children:[(s==null?void 0:s.showReset)&&ee(du,{onClick:W,style:{borderColor:((C=(x=A.theme)==null?void 0:x.colors)==null?void 0:C.border)||"#e5e7eb",color:((S=(w=A.theme)==null?void 0:w.colors)==null?void 0:S.text)||"#1f2937"},children:(s==null?void 0:s.resetText)||"\u91CD\u7F6E"}),(s==null?void 0:s.showSubmit)&&ee(du,{type:"primary",onClick:H,style:{backgroundColor:((E=(k=A.theme)==null?void 0:k.colors)==null?void 0:E.primary)||"#2563eb",borderColor:((M=(O=A.theme)==null?void 0:O.colors)==null?void 0:M.primary)||"#2563eb"},children:(s==null?void 0:s.submitText)||"\u63D0\u4EA4"})]})]})]})]})});ue.memo(K0);wx`
|
|
670
|
-
.upload-item-container .upload-item {
|
|
671
|
-
padding: 0px !important;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.upload-item-container .list-item {
|
|
675
|
-
padding: 0px !important;
|
|
676
|
-
}
|
|
677
|
-
`;function Y0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ku={exports:{}},Bk=ku.exports,rp;function q0(){return rp||(rp=1,(function(e,t){(function(n,r){e.exports=r()})(Bk,(function(){var n=1e3,r=6e4,o=36e5,a="millisecond",i="second",s="minute",l="hour",u="day",c="week",f="month",v="quarter",p="year",b="date",g="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var P=["th","st","nd","rd"],D=I%100;return"["+I+(P[(D-20)%10]||P[D]||P[0])+"]"}},x=function(I,P,D){var j=String(I);return!j||j.length>=P?I:""+Array(P+1-j.length).join(D)+I},C={s:x,z:function(I){var P=-I.utcOffset(),D=Math.abs(P),j=Math.floor(D/60),$=D%60;return(P<=0?"+":"-")+x(j,2,"0")+":"+x($,2,"0")},m:function I(P,D){if(P.date()<D.date())return-I(D,P);var j=12*(D.year()-P.year())+(D.month()-P.month()),$=P.clone().add(j,f),z=D-$<0,L=P.clone().add(j+(z?-1:1),f);return+(-(j+(D-$)/(z?$-L:L-$))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:f,y:p,w:c,d:u,D:b,h:l,m:s,s:i,ms:a,Q:v}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},w="en",S={};S[w]=m;var k="$isDayjsObject",E=function(I){return I instanceof R||!(!I||!I[k])},O=function I(P,D,j){var $;if(!P)return w;if(typeof P=="string"){var z=P.toLowerCase();S[z]&&($=z),D&&(S[z]=D,$=z);var L=P.split("-");if(!$&&L.length>1)return I(L[0])}else{var B=P.name;S[B]=P,$=B}return!j&&$&&(w=$),$||!j&&w},M=function(I,P){if(E(I))return I.clone();var D=typeof P=="object"?P:{};return D.date=I,D.args=arguments,new R(D)},N=C;N.l=O,N.i=E,N.w=function(I,P){return M(I,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var R=(function(){function I(D){this.$L=O(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[k]=!0}var P=I.prototype;return P.parse=function(D){this.$d=(function(j){var $=j.date,z=j.utc;if($===null)return new Date(NaN);if(N.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var L=$.match(h);if(L){var B=L[2]-1||0,F=(L[7]||"0").substring(0,3);return z?new Date(Date.UTC(L[1],B,L[3]||1,L[4]||0,L[5]||0,L[6]||0,F)):new Date(L[1],B,L[3]||1,L[4]||0,L[5]||0,L[6]||0,F)}}return new Date($)})(D),this.init()},P.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},P.$utils=function(){return N},P.isValid=function(){return this.$d.toString()!==g},P.isSame=function(D,j){var $=M(D);return this.startOf(j)<=$&&$<=this.endOf(j)},P.isAfter=function(D,j){return M(D)<this.startOf(j)},P.isBefore=function(D,j){return this.endOf(j)<M(D)},P.$g=function(D,j,$){return N.u(D)?this[j]:this.set($,D)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(D,j){var $=this,z=!!N.u(j)||j,L=N.p(D),B=function(Q,te){var X=N.w($.$u?Date.UTC($.$y,te,Q):new Date($.$y,te,Q),$);return z?X:X.endOf(u)},F=function(Q,te){return N.w($.toDate()[Q].apply($.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(te)),$)},H=this.$W,W=this.$M,V=this.$D,_="set"+(this.$u?"UTC":"");switch(L){case p:return z?B(1,0):B(31,11);case f:return z?B(1,W):B(0,W+1);case c:var q=this.$locale().weekStart||0,U=(H<q?H+7:H)-q;return B(z?V-U:V+(6-U),W);case u:case b:return F(_+"Hours",0);case l:return F(_+"Minutes",1);case s:return F(_+"Seconds",2);case i:return F(_+"Milliseconds",3);default:return this.clone()}},P.endOf=function(D){return this.startOf(D,!1)},P.$set=function(D,j){var $,z=N.p(D),L="set"+(this.$u?"UTC":""),B=($={},$[u]=L+"Date",$[b]=L+"Date",$[f]=L+"Month",$[p]=L+"FullYear",$[l]=L+"Hours",$[s]=L+"Minutes",$[i]=L+"Seconds",$[a]=L+"Milliseconds",$)[z],F=z===u?this.$D+(j-this.$W):j;if(z===f||z===p){var H=this.clone().set(b,1);H.$d[B](F),H.init(),this.$d=H.set(b,Math.min(this.$D,H.daysInMonth())).$d}else B&&this.$d[B](F);return this.init(),this},P.set=function(D,j){return this.clone().$set(D,j)},P.get=function(D){return this[N.p(D)]()},P.add=function(D,j){var $,z=this;D=Number(D);var L=N.p(j),B=function(W){var V=M(z);return N.w(V.date(V.date()+Math.round(W*D)),z)};if(L===f)return this.set(f,this.$M+D);if(L===p)return this.set(p,this.$y+D);if(L===u)return B(1);if(L===c)return B(7);var F=($={},$[s]=r,$[l]=o,$[i]=n,$)[L]||1,H=this.$d.getTime()+D*F;return N.w(H,this)},P.subtract=function(D,j){return this.add(-1*D,j)},P.format=function(D){var j=this,$=this.$locale();if(!this.isValid())return $.invalidDate||g;var z=D||"YYYY-MM-DDTHH:mm:ssZ",L=N.z(this),B=this.$H,F=this.$m,H=this.$M,W=$.weekdays,V=$.months,_=$.meridiem,q=function(te,X,Y,T){return te&&(te[X]||te(j,z))||Y[X].slice(0,T)},U=function(te){return N.s(B%12||12,te,"0")},Q=_||function(te,X,Y){var T=te<12?"AM":"PM";return Y?T.toLowerCase():T};return z.replace(y,(function(te,X){return X||(function(Y){switch(Y){case"YY":return String(j.$y).slice(-2);case"YYYY":return N.s(j.$y,4,"0");case"M":return H+1;case"MM":return N.s(H+1,2,"0");case"MMM":return q($.monthsShort,H,V,3);case"MMMM":return q(V,H);case"D":return j.$D;case"DD":return N.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return q($.weekdaysMin,j.$W,W,2);case"ddd":return q($.weekdaysShort,j.$W,W,3);case"dddd":return W[j.$W];case"H":return String(B);case"HH":return N.s(B,2,"0");case"h":return U(1);case"hh":return U(2);case"a":return Q(B,F,!0);case"A":return Q(B,F,!1);case"m":return String(F);case"mm":return N.s(F,2,"0");case"s":return String(j.$s);case"ss":return N.s(j.$s,2,"0");case"SSS":return N.s(j.$ms,3,"0");case"Z":return L}return null})(te)||L.replace(":","")}))},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(D,j,$){var z,L=this,B=N.p(j),F=M(D),H=(F.utcOffset()-this.utcOffset())*r,W=this-F,V=function(){return N.m(L,F)};switch(B){case p:z=V()/12;break;case f:z=V();break;case v:z=V()/3;break;case c:z=(W-H)/6048e5;break;case u:z=(W-H)/864e5;break;case l:z=W/o;break;case s:z=W/r;break;case i:z=W/n;break;default:z=W}return $?z:N.a(z)},P.daysInMonth=function(){return this.endOf(f).$D},P.$locale=function(){return S[this.$L]},P.locale=function(D,j){if(!D)return this.$L;var $=this.clone(),z=O(D,j,!0);return z&&($.$L=z),$},P.clone=function(){return N.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},I})(),A=R.prototype;return M.prototype=A,[["$ms",a],["$s",i],["$m",s],["$H",l],["$W",u],["$M",f],["$y",p],["$D",b]].forEach((function(I){A[I[1]]=function(P){return this.$g(P,I[0],I[1])}})),M.extend=function(I,P){return I.$i||(I(P,R,M),I.$i=!0),M},M.locale=O,M.isDayjs=E,M.unix=function(I){return M(1e3*I)},M.en=S[w],M.Ls=S,M.p={},M}))})(ku)),ku.exports}var zk=q0();const bf=Y0(zk);var Iu={exports:{}},Hk=Iu.exports,op;function Lk(){return op||(op=1,(function(e,t){(function(n,r){e.exports=r()})(Hk,(function(){return function(n,r,o){n=n||{};var a=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(u,c,f,v){return a.fromToBase(u,c,f,v)}o.en.relativeTime=i,a.fromToBase=function(u,c,f,v,p){for(var b,g,h,y=f.$locale().relativeTime||i,m=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=m.length,C=0;C<x;C+=1){var w=m[C];w.d&&(b=v?o(u).diff(f,w.d,!0):f.diff(u,w.d,!0));var S=(n.rounding||Math.round)(Math.abs(b));if(h=b>0,S<=w.r||!w.r){S<=1&&C>0&&(w=m[C-1]);var k=y[w.l];p&&(S=p(""+S)),g=typeof k=="string"?k.replace("%d",S):k(S,c,w.l,h);break}}if(c)return g;var E=h?y.future:y.past;return typeof E=="function"?E(g):E.replace("%s",g)},a.to=function(u,c){return s(u,c,this,!0)},a.from=function(u,c){return s(u,c,this)};var l=function(u){return u.$u?o.utc():o()};a.toNow=function(u){return this.to(l(this),u)},a.fromNow=function(u){return this.from(l(this),u)}}}))})(Iu)),Iu.exports}var Vk=Lk();const Wk=Y0(Vk);var Mu={exports:{}},Kk=Mu.exports,ap;function Yk(){return ap||(ap=1,(function(e,t){(function(n,r){e.exports=r(q0())})(Kk,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(i,s){return s==="W"?i+"\u5468":i+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(i,s){var l=100*i+s;return l<600?"\u51CC\u6668":l<900?"\u65E9\u4E0A":l<1100?"\u4E0A\u5348":l<1300?"\u4E2D\u5348":l<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return o.default.locale(a,null,!0),a}))})(Mu)),Mu.exports}Yk();bf.locale("zh-cn");bf.extend(Wk);const ip={success:"green",error:"red",warning:"orange",processing:"blue",info:"cyan",default:"default"};function qk(e){if(!e)return"-";const t=bf(e),n=t.format("YYYY\u5E74M\u6708D\u65E5 HH:mm"),r=t.fromNow();return ee(Ps,{title:ee("div",{style:{minWidth:120},children:ee("div",{style:{color:"#aaa",fontSize:12,marginTop:2},children:r})}),children:ee("span",{style:{fontWeight:500,opacity:.6},children:n})})}function Gk(e,t){if(e==null||e==="")return"-";const n=Number(e);if(isNaN(n))return e;switch(t){case"rmb":return`\uFFE5${n.toLocaleString("zh-CN",{minimumFractionDigits:2,maximumFractionDigits:2})}`;case"usd":return`$${n.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;case"filesize":return n<1024?`${n} B`:n<1024*1024?`${(n/1024).toFixed(2)} KB`:n<1024*1024*1024?`${(n/1024/1024).toFixed(2)} MB`:`${(n/1024/1024/1024).toFixed(2)} GB`;case"float":default:return n.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}}function Uk(e,t,n={}){const{eventsEmit:r}=t||{};return ue.useMemo(()=>e.map(o=>{if(o.render)return o;switch(o.type){case"customized":return{...o,render:(a,i,s)=>{var l,u;const c=s==null?void 0:s.value;let f=c&&typeof c=="object"&&(c.component||c.Comp)?c.component||c.Comp:o.component;if(typeof f=="string"&&(f=((l=t==null?void 0:t.customizeComponents)==null?void 0:l[f])||((u=n==null?void 0:n.customizeComponents)==null?void 0:u[f])),!f)return o.fallback??null;const v=c&&typeof c=="object"&&"data"in c?c.data:s==null?void 0:s.value,p=typeof o.componentProps=="function"?o.componentProps({value:v,row:i,cell:s,col:o}):o.componentProps||{},b=c&&typeof c=="object"&&"props"in c?c.props||{}:{};let g={};if(c&&typeof c=="object"){const y=new Set(["component","Comp","props"]);Object.keys(c).forEach(m=>{y.has(m)||(g[m]=c[m])})}const h={value:v,row:i,cell:s,col:o,emit:(y,m)=>{var x;return(x=t==null?void 0:t.eventsEmit)==null?void 0:x.call(t,y,{row:i,cell:s,col:o,data:m})},...p,...g,...b};if(ue.isValidElement(f))return ue.cloneElement(f,h);if(typeof f=="function"){const y=f;return ue.createElement(y,h)}return o.fallback??null}};case"status":return{...o,render:(a,i,s)=>{const l=(s==null?void 0:s.statusType)||"default",u=ip[l]||ip.default;return ee(Qx,{color:u,children:a})}};case"date":return{...o,render:a=>qk(a)};case"number":return{...o,render:a=>{const i=o.numberStyle||"float";return ee("span",{style:{textAlign:"right",display:"block",color:"#2563eb",fontWeight:500,fontVariantNumeric:"tabular-nums",fontFamily:"Consolas, Menlo, monospace"},children:Gk(a,i)})}};case"image":return{...o,render:a=>a?ee("img",{src:a,style:{width:36,height:36,borderRadius:8,objectFit:"cover",boxShadow:"0 1px 4px 0 rgba(0,0,0,0.04)"}}):null};case"longText":return{...o,render:a=>{const i=o.maxRow||1,s=o.maxWidth||240,l=o.areaStyle||"default",u=13,c=1.6,f=u*c,v=i*f;let p={maxWidth:typeof s=="number"?`${s}px`:s,maxHeight:v,overflowY:"auto",color:l==="code"?"#d4d4d4":"#666",opacity:l==="code"?1:.85,fontSize:u,lineHeight:c,padding:"6px 10px",background:l==="code"?"#1e1e1e":"#f6f8fa",borderRadius:6,fontFamily:l==="code"?'"SF Mono", "Consolas", "Menlo", monospace':void 0,border:l==="code"?"1px solid #232323":"1px solid #e5e7eb",whiteSpace:"pre-wrap",wordBreak:"break-all",boxSizing:"border-box",width:"100%",display:"block"};return ee("span",{style:p,children:a})}};case"tag":return{...o,render:a=>Array.isArray(a)?ee("div",{style:{display:"flex",flexWrap:"wrap",gap:"6px",minWidth:"200px",maxWidth:"100%"},children:a.map((i,s)=>ee("span",{style:{display:"inline-block",background:"#EBF4FF",color:"#2563eb",borderRadius:12,padding:"4px 12px",fontSize:12,border:"1px solid #BFDBFE",fontWeight:500,lineHeight:"16px",whiteSpace:"nowrap",boxShadow:"0 1px 2px rgba(37, 99, 235, 0.1)",flexShrink:0},children:i},s))}):null};case"action":return{...o,render:(a,i,s)=>{const l=t!=null&&t.isPending?t.isPending(i.id):!1;if(Array.isArray(a)){const c=a.map(f=>f&&typeof f=="object"&&(f.columnId==="actions"||f.type==="action")&&"value"in f&&!("mode"in f)?{value:f.value,label:f.label||f.value,icon:f.icon,disabled:f.disabled,key:f.key}:f);if(c.length>=3){const f=c.slice(0,2),v=c.slice(2);return Ct("div",{style:{display:"flex",gap:4,justifyContent:"center",alignItems:"center"},children:[f.map((p,b)=>ee(ba,{mode:p.mode||"text",label:p.label||p.value||"",icon:p.icon,disabled:p.disabled||l&&p.value==="delete",styles:n,style:{padding:"0 8px",minWidth:0},onClick:()=>r==null?void 0:r(`table_action_${p.value}`,i)},b)),ee(dh,{actions:v.map((p,b)=>({key:p.value||String(b),label:p.label||p.value||"",icon:p.icon,disabled:p.disabled||l&&p.value==="delete"})),onAction:p=>{const b=v.find(g=>(g.value||String(g.key))===p);b&&!b.disabled&&!(l&&b.value==="delete")&&(r==null||r(`table_action_${b.value}`,i))}})]})}else return ee("div",{style:{display:"flex",gap:4,justifyContent:"center"},children:c.map((f,v)=>ee(ba,{mode:f.mode||"text",label:f.label||f.value||"",icon:f.icon,disabled:f.disabled||l&&f.value==="delete",styles:n,style:{padding:"0 8px",minWidth:0},onClick:()=>r==null?void 0:r(`table_action_${f.value}`,i)},v))})}const u=s||{};return ee(ba,{mode:u.mode||"text",label:u.label||u.value||"",icon:u.icon,disabled:u.disabled||l&&u.value==="delete",styles:n,style:{padding:"0 8px",minWidth:0},onClick:()=>r==null?void 0:r(`table_action_${u.value}`,i)})}};case"label":return{...o,render:a=>ee("span",{className:"font-bold",children:a})};case"title":return{...o,render:(a,i,s)=>{const l=(s==null?void 0:s.level)||1,u={1:"text-xl font-bold",2:"text-lg font-semibold",3:"text-base font-medium"},c=u[l]||u[1];return Ct("div",{className:`${c} text-gray-800 ${(s==null?void 0:s.className)||""}`,style:{color:"#1f2937",lineHeight:"1.4",fontWeight:l===1?700:l===2?600:400},children:[ee("span",{className:"h-full w-1 bg-gray-500 rounded-full mr-2"}),ee("span",{className:"text-gray-500",children:a})]})}};case"paragraph":return{...o,render:a=>ee("div",{style:{maxWidth:240,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},title:a,children:a})};case"text":return{...o,render:a=>ee("span",{children:a})};default:return{...o,render:a=>ee("span",{children:a})}}}),[e,r,t==null?void 0:t.isPending,t==null?void 0:t.customizeComponents,n==null?void 0:n.customizeComponents])}function Xk(e){return Ct("div",{className:"flex items-center gap-2",children:[ee("span",{className:"font-medium text-gray-800 text-sm",children:e.title}),e.helpText&&ee(Ps,{title:e.helpText,placement:"top",children:ee(Ph,{className:"text-gray-400 hover:text-gray-600 cursor-help transition-colors",size:14})})]})}const Zk=St.div`
|
|
678
|
-
background: ${({theme:e})=>e.colors.background};
|
|
679
|
-
border-radius: ${({theme:e})=>e.space.radius};
|
|
680
|
-
box-shadow: ${({theme:e})=>e.colors.shadow};
|
|
681
|
-
padding: ${({theme:e})=>e.space.padding};
|
|
682
|
-
overflow-x: auto;
|
|
683
|
-
width: 100%;
|
|
684
|
-
max-width: 100%;
|
|
685
|
-
box-sizing: border-box;
|
|
686
|
-
min-height: 240px;
|
|
687
|
-
display: flex;
|
|
688
|
-
flex-direction: column;
|
|
689
|
-
`,Qk=St.div`
|
|
690
|
-
background: ${({theme:e})=>e.colors.background};
|
|
691
|
-
border-radius: ${({theme:e})=>e.space.radius};
|
|
692
|
-
padding: ${({theme:e})=>e.space.padding};
|
|
693
|
-
width: 100%;
|
|
694
|
-
max-width: 100%;
|
|
695
|
-
box-sizing: border-box;
|
|
696
|
-
display: flex;
|
|
697
|
-
flex-direction: column;
|
|
698
|
-
overflow: visible; // 子table不产生滚动条,由外层容器处理
|
|
699
|
-
`,Jk=St.div`
|
|
700
|
-
overflow-x: auto;
|
|
701
|
-
overflow-y: hidden;
|
|
702
|
-
width: 100%;
|
|
703
|
-
max-width: 100%;
|
|
704
|
-
border: 1px solid ${({theme:e})=>e.colors.border};
|
|
705
|
-
border-radius: ${({theme:e})=>e.space.radius};
|
|
706
|
-
background: ${({theme:e})=>e.colors.background};
|
|
707
|
-
position: relative; // 为sticky列提供定位上下文
|
|
708
|
-
isolation: isolate; // 创建新的层叠上下文
|
|
709
|
-
height: auto; // 确保容器高度自适应内容
|
|
710
|
-
min-height: 200px; // 最小高度确保滚动条可见
|
|
711
|
-
box-sizing: border-box; // 确保padding和border包含在宽度内
|
|
712
|
-
|
|
713
|
-
/* 子table内容宽度控制 - 根据父容器动态计算 */
|
|
714
|
-
& > div {
|
|
715
|
-
min-width: 100%; // 使用父容器的100%宽度作为最小宽度
|
|
716
|
-
width: 100%; // 确保宽度填满父容器
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
/* 自定义滚动条样式 */
|
|
720
|
-
&::-webkit-scrollbar {
|
|
721
|
-
height: 6px;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
&::-webkit-scrollbar-track {
|
|
725
|
-
background: ${({theme:e})=>e.colors.disabledBackground};
|
|
726
|
-
border-radius: 3px;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
&::-webkit-scrollbar-thumb {
|
|
730
|
-
background: ${({theme:e})=>e.colors.border};
|
|
731
|
-
border-radius: 3px;
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
735
|
-
background: ${({theme:e})=>e.colors.disabled};
|
|
736
|
-
}
|
|
737
|
-
`,lp=e=>{switch(e){case"avatar":return{minWidth:48,textAlign:"center"};case"status":return{minWidth:56,textAlign:"center"};case"number":return{minWidth:56,textAlign:"right"};case"longText":return{minWidth:120,textAlign:"left"};case"tag":return{minWidth:200,textAlign:"left"};case"action":return{minWidth:112,textAlign:"center"};case"label":return{minWidth:120,textAlign:"left"};case"title":return{minWidth:150,textAlign:"left"};case"text":return{minWidth:80,textAlign:"left"};default:return{minWidth:80,textAlign:"left"}}},sp=St.th`
|
|
738
|
-
background: ${({theme:e})=>e.colors.disabledBackground};
|
|
739
|
-
color: ${({theme:e})=>e.colors.text};
|
|
740
|
-
font-weight: 600;
|
|
741
|
-
font-size: 13px;
|
|
742
|
-
padding: 0.5rem 0.75rem;
|
|
743
|
-
border-bottom: 1px solid ${({theme:e})=>e.colors.border};
|
|
744
|
-
min-width: 48px;
|
|
745
|
-
white-space: nowrap;
|
|
746
|
-
/* 移除默认的 text-align: center,让每列使用自己的对齐方式 */
|
|
747
|
-
`,cp=St.td`
|
|
748
|
-
padding: 0.5rem 0.75rem;
|
|
749
|
-
border-bottom: 1px solid ${({theme:e})=>e.colors.border};
|
|
750
|
-
color: ${({theme:e})=>e.colors.text};
|
|
751
|
-
font-size: 14px;
|
|
752
|
-
vertical-align: middle;
|
|
753
|
-
white-space: nowrap;
|
|
754
|
-
overflow: hidden;
|
|
755
|
-
text-overflow: ellipsis;
|
|
756
|
-
`,_k=St.tr`
|
|
757
|
-
&:hover {
|
|
758
|
-
background: ${({theme:e})=>e.colors.disabledBackground};
|
|
759
|
-
}
|
|
760
|
-
`,eI=ue.forwardRef((e,t)=>ee(_k,{...e,ref:t})),tI=`
|
|
761
|
-
.sticky-shadow-left {
|
|
762
|
-
box-shadow: 4px 0 8px -4px rgba(0,0,0,0.08);
|
|
763
|
-
transition: box-shadow 0.2s;
|
|
764
|
-
}
|
|
765
|
-
.sticky-shadow-right {
|
|
766
|
-
box-shadow: -4px 0 8px -4px rgba(0,0,0,0.08);
|
|
767
|
-
transition: box-shadow 0.2s;
|
|
768
|
-
}
|
|
769
|
-
`;if(typeof window<"u"&&!document.getElementById("dynamic-table-sticky-shadow")){const e=document.createElement("style");e.id="dynamic-table-sticky-shadow",e.innerHTML=tI,document.head.appendChild(e)}const G0=ue.memo(e=>{var t,n,r,o,a,i,s,l,u,c,f,v,p,b,g,h,y,m,x,C;const w=e.dataSource||[],S=e.columns||[],k=e.size||"md",E=e.level||0,O=qo(),M=sr(sr({theme:jn,mode:"light"},O),e.styles),{viewId:N,total:R,requestPagesize:A=50,viewPageSize:I}=e,[P,D]=Rt(I);Yt(()=>{typeof I=="number"&&I>0&&D(I)},[I]);const[j,$]=Rt(new Set);Yt(()=>{$(new Set)},[N]);const[z,L]=Rt(!1),[B,F]=Rt(!1),[H,W]=Rt(new Set),V=at(null),_=at(null),[q,U]=Rt(0),Q=k==="sm"?.7:1,te=Uk(S,{eventsEmit:e.eventsEmit,isPending:e.isPending,customizeComponents:e.customizeComponents},e.styles),[X,Y]=Rt([]),T=Pt((ie,we)=>{var fe;Y(he=>{let Me;return we?Me=[...he,ie]:Me=he.filter(ve=>ve!==ie),Me});const ce=we?[...X,ie]:X.filter(he=>he!==ie),xe=w.filter(he=>ce.includes(he.id));(fe=e.eventsEmit)==null||fe.call(e,"table_row_select",{rowId:ie,checked:we,selectedItems:xe})},[X,w,e.eventsEmit]),Z=Mn(()=>w.length>0&&X.length===w.length,[w.length,X.length]),J=Pt(ie=>{var we;const fe=ie?w.map(xe=>xe.id):[];Y(fe);const ce=ie?w:[];(we=e.eventsEmit)==null||we.call(e,"table_select_all",{checked:ie,selectedItems:ce,totalCount:w.length})},[w,e.eventsEmit]),[ne,ae]=Rt(1),le=typeof P=="number"&&P>0?P:I??(e.isSubTable?5:10),be=R||w.length;Mn(()=>Math.ceil(be/le),[be,le]);const Ce=Mn(()=>{if(e.viewBehavior!=="pagination")return w;const ie=(ne-1)*le,we=ie+le;if(w.some(fe=>typeof fe.__absIndex=="number")){const fe=[];for(let ce=ie;ce<we;ce++){const xe=w.find(he=>he.__absIndex===ce);xe&&fe.push(xe)}return fe}return w.slice(ie,we)},[e.viewBehavior,w,ne,le]),de=Pt(ie=>{var we;if(ae(ie),R&&A&&N){const fe=(ie-1)*le,ce=Math.floor(fe/A)+1;(!j.has(ce)||fe>=w.length)&&($(xe=>{const he=new Set(xe);return he.add(ce),he}),(we=e.eventsEmit)==null||we.call(e,"pagination:request_merge_data",{viewId:N,request:{pageNo:ce,pageSize:A}},void 0))}},[R,A,N,le,w.length,e.eventsEmit,j]),Se=Pt(ie=>{W(we=>{const fe=new Set(we);return fe.has(ie)?fe.delete(ie):(fe.add(ie),setTimeout(()=>{var ce,xe;(xe=e.eventsEmit)==null||xe.call(e,"table_expand",{tableId:ie,children:((ce=w.find(he=>he.id===ie))==null?void 0:ce.children)||[]})},0)),fe})},[w,e.eventsEmit]),oe=Pt(ie=>ie.hasOwnProperty("children")&&ie.children!==void 0,[]),se=Pt(ie=>H.has(ie),[H]),ke=Pt(()=>{const ie=V.current;ie&&(e.isSubTable||(L(ie.scrollLeft>0),F(ie.scrollLeft<ie.scrollWidth-ie.offsetWidth-1)))},[e.isSubTable]);Yt(()=>{const ie=V.current;if(ie)return ke(),ie.addEventListener("scroll",ke),window.addEventListener("resize",ke),()=>{ie.removeEventListener("scroll",ke),window.removeEventListener("resize",ke)}},[ke]),Yt(()=>{const ie=V.current;if(!ie)return;const we=()=>{const ce=ie.getBoundingClientRect();U(ce.width)};we(),window.addEventListener("resize",we);const fe=new ResizeObserver(we);return fe.observe(ie),()=>{window.removeEventListener("resize",we),fe.disconnect()}},[]);const ge=e.isSubTable?Qk:Zk;return Ct(ge,{theme:M.theme||jn,className:"w-full",style:{transform:`scale(${Q})`,transformOrigin:"top left",height:"100%",display:"flex",flexDirection:"column"},children:[ee("style",{children:`
|
|
770
|
-
.removing-row {
|
|
771
|
-
pointer-events: none;
|
|
772
|
-
overflow: hidden;
|
|
773
|
-
will-change: opacity, transform;
|
|
774
|
-
}
|
|
775
|
-
.stagger-row {
|
|
776
|
-
will-change: transform;
|
|
777
|
-
}
|
|
778
|
-
.adding-row {
|
|
779
|
-
animation: row-slide-in 0.6s ease-out forwards;
|
|
780
|
-
will-change: transform, opacity;
|
|
781
|
-
}
|
|
782
|
-
@keyframes row-slide-in {
|
|
783
|
-
0% {
|
|
784
|
-
opacity: 0;
|
|
785
|
-
transform: translateY(-10px);
|
|
786
|
-
}
|
|
787
|
-
100% {
|
|
788
|
-
opacity: 1;
|
|
789
|
-
transform: translateY(0);
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
@keyframes spin {
|
|
793
|
-
0% { transform: rotate(0deg); }
|
|
794
|
-
100% { transform: rotate(360deg); }
|
|
795
|
-
}
|
|
796
|
-
`}),ee("div",{ref:V,style:{width:(e.isSubTable,"100%"),maxWidth:(e.isSubTable,"100%"),overflowX:e.isSubTable?"visible":"auto",overflowY:e.isSubTable?"visible":"auto",flex:e.isSubTable?void 0:1,height:e.isSubTable?"auto":void 0,position:"relative",boxSizing:"border-box"},children:Ct("table",{ref:_,className:"border-collapse",style:{minWidth:"max-content",width:"100%",tableLayout:"auto"},children:[ee("thead",{style:{position:e.isSubTable?void 0:"sticky",top:0,zIndex:3,background:((n=(t=M.theme)==null?void 0:t.colors)==null?void 0:n.disabledBackground)||"#f5f5f5"},children:Ct("tr",{children:[e.allowMultiSelect&&ee(sp,{theme:M.theme||jn,style:{position:"sticky",left:0,zIndex:3,background:((o=(r=M.theme)==null?void 0:r.colors)==null?void 0:o.disabledBackground)||"#f5f5f5",width:40,minWidth:40,maxWidth:40,textAlign:"center"},className:z?"sticky-shadow-left":"",children:ee("input",{type:"checkbox",checked:Z,onChange:ie=>J(ie.target.checked)})}),te.map((ie,we)=>{var fe,ce,xe,he;const Me=we===0,ve=we===te.length-1,me=Me?{position:"sticky",left:e.allowMultiSelect?40:0,zIndex:2,background:((ce=(fe=M.theme)==null?void 0:fe.colors)==null?void 0:ce.disabledBackground)||"#f5f5f5"}:ve?{position:"sticky",right:0,zIndex:2,background:((he=(xe=M.theme)==null?void 0:xe.colors)==null?void 0:he.disabledBackground)||"#f5f5f5"}:{};return ee(sp,{theme:M.theme||jn,style:{...lp(ie.type),...me,...ie.maxWidth!==void 0?{maxWidth:typeof ie.maxWidth=="number"?`${ie.maxWidth}px`:ie.maxWidth}:{}},className:Me&&z?"sticky-shadow-left":ve&&B?"sticky-shadow-right":"",children:Xk(ie)},ie.id)})]})}),ee("tbody",{children:Ce.map((ie,we)=>{var fe,ce,xe,he,Me,ve,me,Re,pe,Ne,ct,dt,pt,$e,De,Ye,Fe,Ue;const Ve=e.rowProps?e.rowProps(ie,we):{},We=oe(ie),je=se(ie.id)||ie.__autoExpand&&We;return Ct(ue.Fragment,{children:[Ct(eI,{theme:M.theme||jn,...Ve,className:`${Ve.className||""} ${(fe=e.addingIds)!=null&&fe.includes(ie.id)?"adding-row":""}`,onAnimationEnd:Ie=>{var it,Oe;Ie.animationName==="row-slide-in"&&(it=e.addingIds)!=null&&it.includes(ie.id)&&((Oe=e.onRowAddAnimationComplete)==null||Oe.call(e,ie.id))},children:[e.allowMultiSelect&&ee(cp,{theme:M.theme||jn,style:{position:"sticky",left:0,zIndex:2,background:((xe=(ce=M.theme)==null?void 0:ce.colors)==null?void 0:xe.background)||"#fff",width:40,minWidth:40,maxWidth:40,textAlign:"center"},className:z?"sticky-shadow-left":"",children:ee("input",{type:"checkbox",checked:X.includes(ie.id),onChange:Ie=>T(ie.id,Ie.target.checked)})}),te.map((Ie,it)=>{var Oe,Le,ze,Ke,ft;const Je=it===0,Et=it===te.length-1,It=Je?{position:"sticky",left:e.allowMultiSelect?40:0,zIndex:1,background:((Le=(Oe=M.theme)==null?void 0:Oe.colors)==null?void 0:Le.background)||"#fff"}:Et?{position:"sticky",right:0,zIndex:1,background:((Ke=(ze=M.theme)==null?void 0:ze.colors)==null?void 0:Ke.background)||"#fff"}:{},mt=((ft=ie.data)==null?void 0:ft.filter(Ht=>Ht.columnId===Ie.id))||[],Nt=Object.assign({},lp(Ie.type),It,Ie.maxWidth!==void 0?{maxWidth:typeof Ie.maxWidth=="number"?`${Ie.maxWidth}px`:Ie.maxWidth}:{}),zt=()=>{var Ht,At;return Je&&We?Ct("div",{style:{display:"flex",alignItems:"center",gap:8},children:[ee("button",{onClick:()=>Se(ie.id),style:{background:"none",border:"none",cursor:"pointer",padding:4,display:"flex",alignItems:"center",justifyContent:"center",color:((At=(Ht=M.theme)==null?void 0:Ht.colors)==null?void 0:At.text)||"#222"},children:je?ee($C,{size:16}):ee(Sx,{size:16})}),Ct("span",{style:{paddingLeft:E*16},children:[" ",mt.length>0?Ie.type==="action"?Ie.render?Ie.render(mt.length>1?mt.map(Wt=>Wt):mt[0],ie,mt.length>1?void 0:mt[0]):null:mt.map((Wt,Tt)=>ee("span",{style:{marginRight:4,display:"inline-block",maxWidth:Ie.maxWidth?typeof Ie.maxWidth=="number"?`${Ie.maxWidth}px`:Ie.maxWidth:void 0,overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"middle"},children:Ie.render?Ie.render(Wt.value,ie,Wt):ee("span",{children:Wt.value})},Tt)):null]})]}):Ct("span",{style:{paddingLeft:E*16},children:[" ",mt.length>0?Ie.type==="action"?Ie.render?Ie.render(mt.length>1?mt.map(Wt=>Wt):mt[0],ie,mt.length>1?void 0:mt[0]):null:mt.map((Wt,Tt)=>ee("span",{style:{marginRight:4,display:"inline-block",maxWidth:Ie.maxWidth?typeof Ie.maxWidth=="number"?`${Ie.maxWidth}px`:Ie.maxWidth:void 0,overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"middle"},children:Ie.render?Ie.render(Wt.value,ie,Wt):ee("span",{children:Wt.value})},Tt)):null]})};return ee(cp,{theme:M.theme||jn,style:Nt,className:Je&&z?"sticky-shadow-left":Et&&B?"sticky-shadow-right":"",children:zt()},Ie.id)})]}),We&&je&&ie.children!==void 0&&ee("tr",{className:" relative ",style:{width:q>0?`${q}px`:"100%"},children:ee("td",{style:{width:q>0?`${q}px`:"100%"},colSpan:te.length+(e.allowMultiSelect?1:0),children:Ct("div",{style:{position:"sticky",left:0,padding:"15px 18px",width:q>0?`${q}px`:"100%",minWidth:"800px",maxWidth:"100%",background:((Me=(he=M.theme)==null?void 0:he.colors)==null?void 0:Me.disabledBackground)||"#f5f5f5",boxSizing:"border-box"},children:[ie.tableLoading&&ee("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"rgba(255, 255, 255, 0.9)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:10,borderRadius:M.space.radius},children:Ct("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:8},children:[ee("div",{style:{width:24,height:24,border:`2px solid ${((me=(ve=M.theme)==null?void 0:ve.colors)==null?void 0:me.border)||"#d1d5db"}`,borderTop:`2px solid ${((pe=(Re=M.theme)==null?void 0:Re.colors)==null?void 0:pe.primary)||"#2563eb"}`,borderRadius:"50%",animation:"spin 1s linear infinite"}}),ee("span",{style:{fontSize:14,color:((ct=(Ne=M.theme)==null?void 0:Ne.colors)==null?void 0:ct.text)||"#222"},children:"\u52A0\u8F7D\u4E2D..."})]})}),Ct("div",{style:{marginBottom:"16px"},children:[Array.isArray((dt=e.subTableConfig)==null?void 0:dt.toolbar)&&e.subTableConfig.toolbar.length>0&&ee("div",{style:{display:"flex",gap:8,alignItems:"center",marginBottom:8},children:e.subTableConfig.toolbar.map((Ie,it)=>{const Oe={primary:"primary",error:"danger",default:"text"}[Ie.btnType]||"text";return ee(ba,{mode:Oe,label:Ie.label,icon:Ie.icon,onClick:()=>{var Le;return(Le=e.eventsEmit)==null?void 0:Le.call(e,"table_action_add",{tableId:ie.id,action:Ie})}},it)})}),ee(Jk,{theme:M,onWheel:Ie=>{Ie.stopPropagation()},onScroll:Ie=>{Ie.stopPropagation()},style:{position:"relative",overflow:"auto",maxHeight:"400px",width:"100%",maxWidth:"100%"},children:ee(G0,{columns:((pt=e.subTableConfig)==null?void 0:pt.columns)||[],dataSource:ie.children||[],isSubTable:!0,isPending:Ie=>{var it,Oe;return((Oe=(it=e.subTablePendingIds)==null?void 0:it[ie.id])==null?void 0:Oe.includes(Ie))||!1},onRowAnimationComplete:Ie=>{var it;(it=e.onSubTableRowAnimationComplete)==null||it.call(e,ie.id,Ie),e.eventsEmit&&e.eventsEmit("_internal:subtable_animation_complete",{rowId:Ie,tableId:ie.id})},eventsEmit:(Ie,it)=>{var Oe;(Oe=e.eventsEmit)==null||Oe.call(e,Ie,{...it,tableId:ie.id})},allowMultiSelect:($e=e.subTableConfig)==null?void 0:$e.allowMultiSelect,size:e.size,level:E+1,subTableConfig:e.subTableConfig,styles:e.styles,onRowAddAnimationComplete:e.onRowAddAnimationComplete,addingIds:e.addingIds,viewBehavior:(De=e.subTableConfig)==null?void 0:De.viewBehavior,viewPageSize:(Ye=e.subTableConfig)==null?void 0:Ye.viewPageSize,total:(Fe=e.subTableConfig)==null?void 0:Fe.total,requestPagesize:(Ue=e.subTableConfig)==null?void 0:Ue.requestPagesize})})]})]})})})]},ie.id??we)})})]})}),e.viewBehavior==="pagination"&&ee("div",{style:{height:48,display:"flex",justifyContent:"end",alignItems:"center",background:((i=(a=M.theme)==null?void 0:a.colors)==null?void 0:i.background)||"#fff",borderTop:`1px solid ${((l=(s=M.theme)==null?void 0:s.colors)==null?void 0:l.border)||"#d1d5db"}`,flexShrink:0,paddingRight:16},children:ee(fh,{current:ne,pageSize:le,total:be,onChange:de,onPageSizeChange:ie=>{var we;ae(1),D(ie),R&&A&&N&&e.eventsEmit&&($(new Set),e.eventsEmit("pagination:request_merge_data",{viewId:N,request:{pageNo:1,pageSize:A}},void 0)),(we=e.eventsEmit)==null||we.call(e,"pagination:pageSizeChange",{viewId:N,pageSize:ie})},showSizeChanger:!0,pageSizeOptions:[5,10,20,30,50],theme:{colors:{background:((c=(u=M.theme)==null?void 0:u.colors)==null?void 0:c.background)||"#fff",text:((v=(f=M.theme)==null?void 0:f.colors)==null?void 0:v.text)||"#222",border:((b=(p=M.theme)==null?void 0:p.colors)==null?void 0:b.border)||"#d1d5db",disabledBackground:((h=(g=M.theme)==null?void 0:g.colors)==null?void 0:h.disabledBackground)||"#f5f5f5",primary:((m=(y=M.theme)==null?void 0:y.colors)==null?void 0:m.primary)||"#2563eb"},space:{radius:((C=(x=M.theme)==null?void 0:x.space)==null?void 0:C.radius)||"6px"}},size:e.size,showPageNumbers:!0})})]})}),nI=d.createContext({outlet:null,matches:[],isDataRoute:!1}),rI=d.createContext(null);function oI(e){let t=d.useContext(nI).outlet;return t&&d.createElement(rI.Provider,{value:e},t)}function aI(e){return oI(e.context)}new Promise(()=>{});/**
|
|
797
|
-
* @license lucide-react v0.456.0 - ISC
|
|
798
|
-
*
|
|
799
|
-
* This source code is licensed under the ISC license.
|
|
800
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
801
|
-
*/const iI=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),U0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
|
|
802
|
-
* @license lucide-react v0.456.0 - ISC
|
|
803
|
-
*
|
|
804
|
-
* This source code is licensed under the ISC license.
|
|
805
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
806
|
-
*/var lI={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
807
|
-
* @license lucide-react v0.456.0 - ISC
|
|
808
|
-
*
|
|
809
|
-
* This source code is licensed under the ISC license.
|
|
810
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
811
|
-
*/const sI=rr(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:i,...s},l)=>qr("svg",{ref:l,...lI,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:U0("lucide",o),...s},[...i.map(([u,c])=>qr(u,c)),...Array.isArray(a)?a:[a]]));/**
|
|
812
|
-
* @license lucide-react v0.456.0 - ISC
|
|
813
|
-
*
|
|
814
|
-
* This source code is licensed under the ISC license.
|
|
815
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
816
|
-
*/const X0=(e,t)=>{const n=rr(({className:r,...o},a)=>qr(sI,{ref:a,iconNode:t,className:U0(`lucide-${iI(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
|
|
817
|
-
* @license lucide-react v0.456.0 - ISC
|
|
818
|
-
*
|
|
819
|
-
* This source code is licensed under the ISC license.
|
|
820
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
821
|
-
*/const cI=X0("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
|
|
822
|
-
* @license lucide-react v0.456.0 - ISC
|
|
823
|
-
*
|
|
824
|
-
* This source code is licensed under the ISC license.
|
|
825
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
826
|
-
*/const vl=X0("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),uI=St.div`
|
|
827
|
-
display: flex;
|
|
828
|
-
justify-content: flex-start;
|
|
829
|
-
align-items: flex-start;
|
|
830
|
-
margin-left: 20px;
|
|
831
|
-
flex-direction: column;
|
|
832
|
-
height: 100%;
|
|
833
|
-
width: 100%;
|
|
834
|
-
max-width: 98%;
|
|
835
|
-
position: relative;
|
|
836
|
-
`,dI=St.div`
|
|
837
|
-
display: flex;
|
|
838
|
-
height: 38px;
|
|
839
|
-
z-index: 10;
|
|
840
|
-
background: transparent;
|
|
841
|
-
gap: 8px;
|
|
842
|
-
flex-direction: row;
|
|
843
|
-
align-items: center;
|
|
844
|
-
justify-content: flex-start;
|
|
845
|
-
width: 100%;
|
|
846
|
-
min-width: 0; /* 确保 flex 子元素可以收缩 */
|
|
847
|
-
`,fI=St.button`
|
|
848
|
-
display: flex;
|
|
849
|
-
align-items: center;
|
|
850
|
-
justify-content: center;
|
|
851
|
-
width: 32px;
|
|
852
|
-
height: 32px;
|
|
853
|
-
background: transparent;
|
|
854
|
-
border: none;
|
|
855
|
-
cursor: pointer;
|
|
856
|
-
|
|
857
|
-
/* 仅让图标在 hover 时上浮,按钮背景保持透明 */
|
|
858
|
-
svg {
|
|
859
|
-
transition: transform 0.2s ease;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
&:hover {
|
|
863
|
-
background: transparent;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
&:hover svg {
|
|
867
|
-
transform: translateY(-1px);
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
&:active svg {
|
|
871
|
-
transform: translateY(0);
|
|
872
|
-
}
|
|
873
|
-
`,mI=St.div`
|
|
874
|
-
line-height: 1.4;
|
|
875
|
-
cursor: pointer;
|
|
876
|
-
transition: color 0.2s ease;
|
|
877
|
-
white-space: nowrap;
|
|
878
|
-
overflow: hidden;
|
|
879
|
-
text-overflow: ellipsis;
|
|
880
|
-
max-width: 200px;
|
|
881
|
-
min-width: 0;
|
|
882
|
-
|
|
883
|
-
&:hover {
|
|
884
|
-
color: #007bff;
|
|
885
|
-
}
|
|
886
|
-
`,pI=St.div`
|
|
887
|
-
line-height: 1.4;
|
|
888
|
-
white-space: nowrap;
|
|
889
|
-
overflow: hidden;
|
|
890
|
-
text-overflow: ellipsis;
|
|
891
|
-
flex: 1;
|
|
892
|
-
min-width: 0;
|
|
893
|
-
`,up=St.div`
|
|
894
|
-
display: flex;
|
|
895
|
-
align-items: center;
|
|
896
|
-
gap: 4px;
|
|
897
|
-
flex-wrap: nowrap;
|
|
898
|
-
max-width: 50%;
|
|
899
|
-
min-width: 0;
|
|
900
|
-
overflow: hidden;
|
|
901
|
-
`,gl=St.div`
|
|
902
|
-
display: flex;
|
|
903
|
-
align-items: center;
|
|
904
|
-
gap: 4px;
|
|
905
|
-
font-size: 14px;
|
|
906
|
-
color: ${e=>e.$isLast?"#343a40":"#6c757d"};
|
|
907
|
-
font-weight: ${e=>e.$isLast?"600":"normal"};
|
|
908
|
-
cursor: ${e=>e.$isClickable?"pointer":"default"};
|
|
909
|
-
transition: color 0.2s ease;
|
|
910
|
-
white-space: nowrap;
|
|
911
|
-
overflow: hidden;
|
|
912
|
-
text-overflow: ellipsis;
|
|
913
|
-
max-width: 120px;
|
|
914
|
-
|
|
915
|
-
&:hover {
|
|
916
|
-
color: ${e=>e.$isLast?"#007bff":"inherit"};
|
|
917
|
-
}
|
|
918
|
-
`,hl=St.div`
|
|
919
|
-
display: flex;
|
|
920
|
-
align-items: center;
|
|
921
|
-
color: #6c757d;
|
|
922
|
-
margin: 0 2px;
|
|
923
|
-
`,vI=St.div`
|
|
924
|
-
display: flex;
|
|
925
|
-
flex-direction: column;
|
|
926
|
-
width: 100%;
|
|
927
|
-
height: calc(100% - 45px);
|
|
928
|
-
min-height: 650px;
|
|
929
|
-
overflow: auto;
|
|
930
|
-
`;St.div`
|
|
931
|
-
position: fixed;
|
|
932
|
-
bottom: 20px;
|
|
933
|
-
left: 50%;
|
|
934
|
-
transform: translateX(-50%);
|
|
935
|
-
z-index: 1000;
|
|
936
|
-
`;const SF=({children:e,goBack:t,title:n,description:r,breadcrumbs:o,dockItems:a,dockActiveMode:i="single",defaultDockActiveId:s,defaultDockActiveIds:l,styles:u,eventsEmit:c})=>{var f,v,p,b,g,h,y,m;const x=qo(),C=sr(sr({theme:jn,mode:"light"},x),u),w=(C==null?void 0:C.theme)||jn,S=ue.useRef(null),k=()=>{c!=null&&c.onGoBack?c.onGoBack():t&&t()},E=()=>{c!=null&&c.onTitleClick&&c.onTitleClick()},O=(I,P)=>{c!=null&&c.onBreadcrumbClick?c.onBreadcrumbClick(I,P):I.onClick&&I.onClick()},M=(I,P)=>{c!=null&&c.onDockItemClick&&c.onDockItemClick(I,P)},N=()=>{if(!o||o.length===0)return null;const I=ue.useRef(null),[P,D]=ue.useState({start:0,end:o.length,showEllipsis:!1}),j=ue.useCallback(()=>{if(!I.current||o.length<=3){D({start:0,end:o.length,showEllipsis:!1});return}const B=I.current.offsetWidth*.5;let F=Math.floor((B-30)/140);if(F<2&&(F=2),F>=o.length){D({start:0,end:o.length,showEllipsis:!1});return}const H=0,W=Math.min(F-1,o.length);D({start:H,end:W,showEllipsis:W<o.length-1})},[o.length]);if(ue.useEffect(()=>{j();const B=new ResizeObserver(()=>{j()});return I.current&&B.observe(I.current),()=>{B.disconnect()}},[j]),o.length<=3)return ee(up,{children:o.map((B,F)=>Ct(ue.Fragment,{children:[ee(gl,{$isLast:F===o.length-1,$isClickable:!!(F<o.length-1||B.onClick),onClick:()=>O(B,F),style:{color:F===o.length-1?w.colors.text:w.colors.textSecondary||w.colors.disabledText},title:B.label,children:B.label}),F<o.length-1&&ee(hl,{children:ee(vl,{size:14})})]},B.id))});const{start:$,end:z,showEllipsis:L}=P;return Ct(up,{children:[o.slice($,z).map((B,F)=>Ct(ue.Fragment,{children:[ee(gl,{$isLast:F===z-$-1&&!L,$isClickable:!!(F<z-$-1||B.onClick),onClick:()=>O(B,$+F),style:{color:F===z-$-1&&!L?w.colors.text:w.colors.textSecondary||w.colors.disabledText},title:B.label,children:B.label}),F<z-$-1&&ee(hl,{children:ee(vl,{size:14})})]},B.id)),L&&Ct(Hd,{children:[ee(hl,{children:ee(vl,{size:14})}),ee(gl,{$isLast:!1,$isClickable:!1,style:{color:w.colors.textSecondary||w.colors.disabledText,cursor:"default",maxWidth:"auto"},title:`${o.slice(z,-1).map(B=>B.label).join(" > ")}`,children:"..."}),ee(hl,{children:ee(vl,{size:14})}),ee(gl,{$isLast:!0,$isClickable:!!o[o.length-1].onClick,onClick:()=>O(o[o.length-1],o.length-1),style:{color:w.colors.text},title:o[o.length-1].label,children:o[o.length-1].label})]})]})},[R,A]=ue.useState(!0);return ee(uI,{style:{background:w.colors.appBackground,color:w.colors.text,fontFamily:((v=(f=w.fonts)==null?void 0:f.body)==null?void 0:v.family)||"PingFang SC, Microsoft YaHei, Arial, sans-serif"},children:Ct("div",{style:{height:"100%",display:"flex",width:"100%",gap:12},children:[a&&a.length>0&&ee("div",{style:{flex:`0 0 ${R?72:28}px`,transition:"flex-basis .2s ease"},children:ee($k,{items:a,open:R,onOpenChange:A,onItemClick:I=>M({id:String(I.key),label:I.name},0),defaultOpen:!0})}),Ct("div",{style:{display:"flex",flexDirection:"column",flex:1,minWidth:0},children:[(n||r||t||o)&&Ct(dI,{ref:S,children:[t&&ee(fI,{onClick:k,style:{color:w.colors.primary,borderRadius:w.space.radius||"6px"},title:"\u8FD4\u56DE",children:ee(cI,{size:18})}),N(),n&&ee(mI,{onClick:E,style:{color:w.colors.text,fontSize:((b=(p=w.fonts)==null?void 0:p.heading)==null?void 0:b.size)||"16px",fontWeight:((h=(g=w.fonts)==null?void 0:g.heading)==null?void 0:h.weight)||"600"},title:n,children:n}),r&&ee(pI,{style:{color:w.colors.textSecondary||w.colors.disabledText,opacity:.7,fontSize:((m=(y=w.fonts)==null?void 0:y.body)==null?void 0:m.size)||"12px"},title:r,children:r})]}),ee(vI,{style:{background:w.colors.dashboardBackground||"transparent",border:`1px solid ${w.colors.border}`||void 0,borderRadius:w.space.radius||void 0,boxShadow:w.colors.shadow||void 0},children:e||ee(aI,{})})]})]})})};St.div.withConfig({shouldForwardProp:e=>!["backgroundImage","backgroundColor"].includes(e)})`
|
|
937
|
-
position: fixed;
|
|
938
|
-
top: 0;
|
|
939
|
-
left: 0;
|
|
940
|
-
width: 100vw;
|
|
941
|
-
height: 100vh;
|
|
942
|
-
background: ${e=>e.backgroundImage?`url(${e.backgroundImage}) center/cover no-repeat`:e.backgroundColor||"#1a1a1a"};
|
|
943
|
-
display: flex;
|
|
944
|
-
flex-direction: column;
|
|
945
|
-
overflow: hidden;
|
|
946
|
-
z-index: 1;
|
|
947
|
-
`;St.div`
|
|
948
|
-
height: 48px;
|
|
949
|
-
width: 100%;
|
|
950
|
-
display: flex;
|
|
951
|
-
align-items: center;
|
|
952
|
-
justify-content: center;
|
|
953
|
-
background: transparent;
|
|
954
|
-
z-index: 10;
|
|
955
|
-
flex-shrink: 0;
|
|
956
|
-
`;St.div`
|
|
957
|
-
flex: 1;
|
|
958
|
-
width: 100%;
|
|
959
|
-
overflow-y: auto;
|
|
960
|
-
overflow-x: hidden;
|
|
961
|
-
position: relative;
|
|
962
|
-
z-index: 2;
|
|
963
|
-
background: transparent;
|
|
964
|
-
|
|
965
|
-
/* 自定义滚动条样式 */
|
|
966
|
-
&::-webkit-scrollbar {
|
|
967
|
-
width: 6px;
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
&::-webkit-scrollbar-track {
|
|
971
|
-
background: rgba(255, 255, 255, 0.1);
|
|
972
|
-
border-radius: 3px;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
&::-webkit-scrollbar-thumb {
|
|
976
|
-
background: rgba(255, 255, 255, 0.3);
|
|
977
|
-
border-radius: 3px;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
981
|
-
background: rgba(255, 255, 255, 0.5);
|
|
982
|
-
}
|
|
983
|
-
`;St.div`
|
|
984
|
-
height: 80px;
|
|
985
|
-
width: 100%;
|
|
986
|
-
display: flex;
|
|
987
|
-
align-items: flex-end;
|
|
988
|
-
justify-content: center;
|
|
989
|
-
padding: 12px 0;
|
|
990
|
-
background: transparent;
|
|
991
|
-
z-index: 10;
|
|
992
|
-
flex-shrink: 0;
|
|
993
|
-
`;var mr={};function gI(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dp={exports:{}},Qa={};/**
|
|
994
|
-
* @license React
|
|
995
|
-
* react-jsx-runtime.production.min.js
|
|
996
|
-
*
|
|
997
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
998
|
-
*
|
|
999
|
-
* This source code is licensed under the MIT license found in the
|
|
1000
|
-
* LICENSE file in the root directory of this source tree.
|
|
1001
|
-
*/var fp;function hI(){if(fp)return Qa;fp=1;var e=ue,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,u){var c,f={},v=null,p=null;u!==void 0&&(v=""+u),l.key!==void 0&&(v=""+l.key),l.ref!==void 0&&(p=l.ref);for(c in l)r.call(l,c)&&!a.hasOwnProperty(c)&&(f[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:s,key:v,ref:p,props:f,_owner:o.current}}return Qa.Fragment=n,Qa.jsx=i,Qa.jsxs=i,Qa}var mp;function bI(){return mp||(mp=1,dp.exports=hI()),dp.exports}var G=bI(),ma=(e=>(e.FLAT="files",e.NAV="nav",e))(ma||{});const yI=()=>G.jsx("div",{className:"main relative h-full w-full flex items-center justify-center",children:G.jsx("div",{className:"text-2xl font-bold",children:"\u5E94\u7528\u52A0\u8F7D\u4E2D..."})}),xI=()=>G.jsx("div",{className:"main relative h-full w-full flex items-center justify-center",children:G.jsx("div",{className:"text-2xl font-bold",children:"\u5E94\u7528\u9519\u8BEF"})}),CI=()=>G.jsx("div",{className:"main relative h-full w-full flex items-center justify-center",children:G.jsx("div",{className:"text-lg font-medium",children:"\u5BB9\u5668\u52A0\u8F7D\u4E2D..."})}),wI=()=>G.jsx("div",{className:"main relative h-full w-full flex items-center justify-center",children:G.jsx("div",{className:"text-lg font-medium",children:"\u5BB9\u5668\u9519\u8BEF"})}),SI=()=>G.jsx("div",{className:"main relative h-full w-full flex items-center justify-center",children:G.jsx("div",{className:"text-base font-medium",children:"\u5185\u5BB9\u52A0\u8F7D\u4E2D..."})}),EI=()=>G.jsx("div",{className:"main relative h-full w-full flex items-center justify-center",children:G.jsx("div",{className:"text-base font-medium",children:"\u5185\u5BB9\u9519\u8BEF"})}),kI=({viewType:e,cardType:t})=>G.jsxs("div",{className:"main relative h-full w-full flex flex-col items-center justify-center",children:[G.jsx("div",{className:"text-6xl mb-4",style:{color:"#d1d5db"},children:"\u{1F4ED}"}),G.jsx("div",{className:"text-lg font-medium mb-2",style:{color:"#6b7280"},children:e==="card"?"\u6682\u65E0\u6570\u636E":e==="table"?"\u6682\u65E0\u8868\u683C\u6570\u636E":"\u6682\u65E0\u6570\u636E"}),G.jsx("div",{className:"text-sm",style:{color:"#9ca3af"},children:e==="card"?"\u70B9\u51FB\u4E0A\u65B9\u6309\u94AE\u6DFB\u52A0\u6570\u636E":e==="table"?"\u8BF7\u5148\u6DFB\u52A0\u6570\u636E\u5230\u8868\u683C\u4E2D":"\u8BF7\u5148\u6DFB\u52A0\u6570\u636E"})]}),kr=(e,t)=>{console.log("[findNodeById] Searching for id:",t,"in nodes:",e);for(const n of e){if(console.log("[findNodeById] Checking node:",n),n.id===t)return console.log("[findNodeById] Found node:",n),n;if(n.children){const r=Array.isArray(n.children)?n.children:Object.values(n.children);console.log("[findNodeById] Searching in children:",r);const o=kr(r,t);if(o)return console.log("[findNodeById] Found in children:",o),o}}return console.log("[findNodeById] Node not found for id:",t),null},Nu=e=>{for(const t of e){if(t.type)return t.id;if(t.children){const n=Array.isArray(t.children)?t.children:Object.values(t.children),r=Nu(n);if(r)return r}}},II=e=>{const t=n=>{let r=[];return n.children&&(r=Array.isArray(n.children)?n.children:Object.values(n.children)),{title:n.label,key:n.id,children:r.length>0?r.map(t):void 0,selectable:!0}};return e.map(t)},MI=(e,t)=>Array.isArray(e)?t==="table"?e.filter(n=>n&&n.data&&Array.isArray(n.data)):e:e&&typeof e=="object"?[e]:[],NI=e=>{const t=new Set;return e.forEach(n=>{n.adding&&t.add(n.id)}),t},OI=(e,t)=>{const[n,r]=Rt(()=>{const p=Array.isArray(e)?e:[];return console.log("[useAppState] \u521D\u59CB\u5316innerData:",p),p}),[o,a]=Rt(new Set),[i,s]=Rt(new Set),[l,u]=Rt(""),[c,f]=Rt([]);Yt(()=>{if(console.log("[useAppState] \u6570\u636E\u6E90\u53D8\u5316:",{dataSource:e,activeNodeType:t}),t==="form"){const g=Array.isArray(e)?e:[];r(g);return}const p=MI(e,t);console.log("[useAppState] \u9A8C\u8BC1\u540E\u7684\u6570\u636E:",p),r(p);const b=NI(p);s(b),f([])},[e,t]);const v=Pt(()=>{f([]),u(""),a(new Set)},[]);return{innerData:n,setInnerData:r,pendingIds:o,setPendingIds:a,addingIds:i,setAddingIds:s,fuzzyValue:l,setFuzzyValue:u,selectedIds:c,setSelectedIds:f,resetStateOnNodeChange:v}},PI=(e,t,n,r,o,a,i)=>{const s=Pt((O,M)=>{const{tableId:N,...R}=M||{};M!=null&&M.animate?(r(O.id),e(A=>{if(N)return A.map(P=>{if(P.id===N){const D=[...P.children||[],{...O,adding:!0}];return{...P,children:D}}return P});const I={...O,adding:!0};if((R==null?void 0:R.position)==="start"||(R==null?void 0:R.position)===void 0)return[I,...A];if(typeof(R==null?void 0:R.position)=="number"){const P=[...A];return P.splice(R.position,0,I),P}return[I,...A]})):e(A=>{if(N)return A.map(I=>{if(I.id===N){const P=[...I.children||[],O];return{...I,children:P}}return I});if((R==null?void 0:R.position)==="start")return[O,...A];if(typeof(R==null?void 0:R.position)=="number"){const I=[...A];return I.splice(R.position,0,O),I}return[...A,O]})},[e,r]),l=Pt((O,M)=>{O&&e(N=>{if(!Array.isArray(N))return console.warn("[useAppFunctions] removeItem: prev\u4E0D\u662F\u6570\u7EC4\uFF0C\u91CD\u7F6E\u4E3A\u7A7A\u6570\u7EC4"),[];if(M)return N.map(A=>{if(A.id===M&&A.children){const I=A.children.map(P=>P.id===O?{...P,removing:!0}:P);return{...A,children:I}}return A});const R=N.map(A=>A.id===O?{...A,removing:!0}:A);return console.log("[useAppFunctions] removeItem \u8BBE\u7F6Eremoving",O,R),R})},[e]),u=Pt((O,M)=>{e(N=>Array.isArray(N)?N.map(R=>{if(R.id===M&&R.children){const A=R.children.filter(I=>I.id!==O);if(A.length===0){const{children:I,...P}=R;return P}return{...R,children:A}}return R}):[])},[e]),c=Pt((O,M)=>{!O||O.length===0||e(N=>{if(!Array.isArray(N))return console.warn("[useAppFunctions] removeItems: prev\u4E0D\u662F\u6570\u7EC4\uFF0C\u91CD\u7F6E\u4E3A\u7A7A\u6570\u7EC4"),[];if(M)return N.map(A=>{if(A.id===M&&A.children){const I=A.children.map(P=>O.includes(P.id)?{...P,removing:!0}:P);return{...A,children:I}}return A});const R=N.map(A=>O.includes(A.id)?{...A,removing:!0}:A);return console.log("[useAppFunctions] removeItems \u8BBE\u7F6Eremoving",O,R),R})},[e]),f=Pt(O=>{e(M=>{const N=M.find(R=>R.id===O);return N?N.hasOwnProperty("children")?(console.error(`[addSubTable] \u884C ${O} \u5DF2\u7ECF\u6709\u5B50table\u529F\u80FD\uFF0C\u65E0\u9700\u91CD\u590D\u6DFB\u52A0`),M):M.map(R=>R.id===O?{...R,children:[]}:R):(console.error(`[addSubTable] \u672A\u627E\u5230ID\u4E3A ${O} \u7684\u884C`),M)})},[e]),v=Pt(O=>{e(M=>{const N=M.find(A=>A.id===O);if(!N)return console.error(`[deleteSubTable] \u672A\u627E\u5230ID\u4E3A ${O} \u7684\u884C`),M;if(!N.hasOwnProperty("children"))return console.error(`[deleteSubTable] \u884C ${O} \u6CA1\u6709\u5B50table\u529F\u80FD`),M;const R=(N.children||[]).filter(A=>!A.removing).length;return R>0?(console.error(`[deleteSubTable] \u884C ${O} \u7684\u5B50table\u8FD8\u6709 ${R} \u6761\u6570\u636E\uFF0C\u65E0\u6CD5\u5220\u9664\u5B50table\u529F\u80FD\u3002\u8BF7\u5148\u5220\u9664\u6240\u6709\u5B50table\u6570\u636E\u3002`),M):M.map(A=>{if(A.id===O&&A.hasOwnProperty("children")){const{children:I,...P}=A;return P}return A})})},[e]),p=Pt((O,M,N)=>{M&&e(R=>R.map(A=>N&&A.id===N&&A.children?{...A,children:A.children.map(I=>I.id===M&&typeof I=="object"?b(I,O):I)}:A.id===M&&typeof A=="object"?b(A,O):A))},[e]),b=Pt((O,M)=>{if(Array.isArray(M)){const N=[...O.data];return M.forEach(R=>{const A=N.findIndex(I=>I.columnId===R.columnId);A>=0?N[A]={...N[A],value:R.value}:N.push(R)}),{...O,data:N}}else if(typeof M=="object")return{...O,...M};return O},[]),g=Pt(O=>{if(!O)return;const M=document.querySelector(`[data-item-id="${O}"]`);M&&M.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},[]),h=Pt((O,M)=>{e(M?N=>N.map(R=>{if(R.id!==M)return R;if(!R.hasOwnProperty("children"))return console.warn(`[useAppFunctions] \u884C ${M} \u6CA1\u6709children\u5B57\u6BB5\uFF0C\u8DF3\u8FC7\u66F4\u65B0`),R;const A=R.children||[],I=A.findIndex(P=>P.id===O.id);if(I>=0){const P=[...A];return P[I]=O,{...R,children:P}}else return{...R,children:[...A,O]}}):Array.isArray(O)?O:[])},[e]);Pt(O=>{e(M=>Array.isArray(M)?Array.isArray(O)?[...M,...O]:M:Array.isArray(O)?O:[])},[e]);const y=Pt(O=>{t(O)},[t]),m=Pt(O=>{e(M=>M.map(N=>N.id===O?{...N,tableLoading:!0}:N))},[e]),x=Pt(O=>{e(M=>M.map(N=>N.id===O?{...N,tableLoading:!1}:N))},[e]),C=Pt(O=>{n(O)},[n]),w=Pt(O=>a.has(O),[a]),S=Pt(O=>{r(O)},[r]),k=Pt(O=>{o(O)},[o]),E=Pt(O=>i.has(O),[i]);return{addItem:s,removeItem:l,removeItems:c,updateItem:p,scrollToItem:g,syncSourceData:h,addPending:y,removePending:C,isPending:w,addAdding:S,removeAdding:k,isAdding:E,tablePending:m,removeTablePending:x,addSubTable:f,deleteSubTable:v,removeSubTableRow:u}};var lr=function(){return lr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},lr.apply(this,arguments)};function as(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var ln="-ms-",mi="-moz-",Qt="-webkit-",Z0="comm",Ls="rule",yf="decl",RI="@import",Q0="@keyframes",AI="@layer",J0=Math.abs,xf=String.fromCharCode,Ou=Object.assign;function DI(e,t){return Hn(e,0)^45?(((t<<2^Hn(e,0))<<2^Hn(e,1))<<2^Hn(e,2))<<2^Hn(e,3):0}function _0(e){return e.trim()}function Jr(e,t){return(e=t.exec(e))?e[0]:e}function $t(e,t,n){return e.replace(t,n)}function Fl(e,t,n){return e.indexOf(t,n)}function Hn(e,t){return e.charCodeAt(t)|0}function wa(e,t,n){return e.slice(t,n)}function zr(e){return e.length}function eb(e){return e.length}function li(e,t){return t.push(e),e}function jI(e,t){return e.map(t).join("")}function pp(e,t){return e.filter(function(n){return!Jr(n,t)})}var Vs=1,Sa=1,tb=0,wr=0,Nn=0,Ba="";function Ws(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Vs,column:Sa,length:i,return:"",siblings:s}}function go(e,t){return Ou(Ws("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function na(e){for(;e.root;)e=go(e.root,{children:[e]});li(e,e.siblings)}function $I(){return Nn}function FI(){return Nn=wr>0?Hn(Ba,--wr):0,Sa--,Nn===10&&(Sa=1,Vs--),Nn}function Pr(){return Nn=wr<tb?Hn(Ba,wr++):0,Sa++,Nn===10&&(Sa=1,Vs++),Nn}function To(){return Hn(Ba,wr)}function Tl(){return wr}function Ks(e,t){return wa(Ba,e,t)}function Pu(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 TI(e){return Vs=Sa=1,tb=zr(Ba=e),wr=0,[]}function BI(e){return Ba="",e}function Rc(e){return _0(Ks(wr-1,Ru(e===91?e+2:e===40?e+1:e)))}function zI(e){for(;(Nn=To())&&Nn<33;)Pr();return Pu(e)>2||Pu(Nn)>3?"":" "}function HI(e,t){for(;--t&&Pr()&&!(Nn<48||Nn>102||Nn>57&&Nn<65||Nn>70&&Nn<97););return Ks(e,Tl()+(t<6&&To()==32&&Pr()==32))}function Ru(e){for(;Pr();)switch(Nn){case e:return wr;case 34:case 39:e!==34&&e!==39&&Ru(Nn);break;case 40:e===41&&Ru(e);break;case 92:Pr();break}return wr}function LI(e,t){for(;Pr()&&e+Nn!==57&&!(e+Nn===84&&To()===47););return"/*"+Ks(t,wr-1)+"*"+xf(e===47?e:Pr())}function VI(e){for(;!Pu(To());)Pr();return Ks(e,wr)}function WI(e){return BI(Bl("",null,null,null,[""],e=TI(e),0,[0],e))}function Bl(e,t,n,r,o,a,i,s,l){for(var u=0,c=0,f=i,v=0,p=0,b=0,g=1,h=1,y=1,m=0,x="",C=o,w=a,S=r,k=x;h;)switch(b=m,m=Pr()){case 40:if(b!=108&&Hn(k,f-1)==58){Fl(k+=$t(Rc(m),"&","&\f"),"&\f",J0(u?s[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:k+=Rc(m);break;case 9:case 10:case 13:case 32:k+=zI(b);break;case 92:k+=HI(Tl()-1,7);continue;case 47:switch(To()){case 42:case 47:li(KI(LI(Pr(),Tl()),t,n,l),l);break;default:k+="/"}break;case 123*g:s[u++]=zr(k)*y;case 125*g:case 59:case 0:switch(m){case 0:case 125:h=0;case 59+c:y==-1&&(k=$t(k,/\f/g,"")),p>0&&zr(k)-f&&li(p>32?gp(k+";",r,n,f-1,l):gp($t(k," ","")+";",r,n,f-2,l),l);break;case 59:k+=";";default:if(li(S=vp(k,t,n,u,c,o,s,x,C=[],w=[],f,a),a),m===123)if(c===0)Bl(k,t,S,S,C,a,f,s,w);else switch(v===99&&Hn(k,3)===110?100:v){case 100:case 108:case 109:case 115:Bl(e,S,S,r&&li(vp(e,S,S,0,0,o,s,x,o,C=[],f,w),w),o,w,f,s,r?C:w);break;default:Bl(k,S,S,S,[""],w,0,s,w)}}u=c=p=0,g=y=1,x=k="",f=i;break;case 58:f=1+zr(k),p=b;default:if(g<1){if(m==123)--g;else if(m==125&&g++==0&&FI()==125)continue}switch(k+=xf(m),m*g){case 38:y=c>0?1:(k+="\f",-1);break;case 44:s[u++]=(zr(k)-1)*y,y=1;break;case 64:To()===45&&(k+=Rc(Pr())),v=To(),c=f=zr(x=k+=VI(Tl())),m++;break;case 45:b===45&&zr(k)==2&&(g=0)}}return a}function vp(e,t,n,r,o,a,i,s,l,u,c,f){for(var v=o-1,p=o===0?a:[""],b=eb(p),g=0,h=0,y=0;g<r;++g)for(var m=0,x=wa(e,v+1,v=J0(h=i[g])),C=e;m<b;++m)(C=_0(h>0?p[m]+" "+x:$t(x,/&\f/g,p[m])))&&(l[y++]=C);return Ws(e,t,n,o===0?Ls:s,l,u,c,f)}function KI(e,t,n,r){return Ws(e,t,n,Z0,xf($I()),wa(e,2,-2),0,r)}function gp(e,t,n,r,o){return Ws(e,t,n,yf,wa(e,0,r),wa(e,r+1,-1),r,o)}function nb(e,t,n){switch(DI(e,t)){case 5103:return Qt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Qt+e+e;case 4789:return mi+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Qt+e+mi+e+ln+e+e;case 5936:switch(Hn(e,t+11)){case 114:return Qt+e+ln+$t(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qt+e+ln+$t(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qt+e+ln+$t(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Qt+e+ln+e+e;case 6165:return Qt+e+ln+"flex-"+e+e;case 5187:return Qt+e+$t(e,/(\w+).+(:[^]+)/,Qt+"box-$1$2"+ln+"flex-$1$2")+e;case 5443:return Qt+e+ln+"flex-item-"+$t(e,/flex-|-self/g,"")+(Jr(e,/flex-|baseline/)?"":ln+"grid-row-"+$t(e,/flex-|-self/g,""))+e;case 4675:return Qt+e+ln+"flex-line-pack"+$t(e,/align-content|flex-|-self/g,"")+e;case 5548:return Qt+e+ln+$t(e,"shrink","negative")+e;case 5292:return Qt+e+ln+$t(e,"basis","preferred-size")+e;case 6060:return Qt+"box-"+$t(e,"-grow","")+Qt+e+ln+$t(e,"grow","positive")+e;case 4554:return Qt+$t(e,/([^-])(transform)/g,"$1"+Qt+"$2")+e;case 6187:return $t($t($t(e,/(zoom-|grab)/,Qt+"$1"),/(image-set)/,Qt+"$1"),e,"")+e;case 5495:case 3959:return $t(e,/(image-set\([^]*)/,Qt+"$1$`$1");case 4968:return $t($t(e,/(.+:)(flex-)?(.*)/,Qt+"box-pack:$3"+ln+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Qt+e+e;case 4200:if(!Jr(e,/flex-|baseline/))return ln+"grid-column-align"+wa(e,t)+e;break;case 2592:case 3360:return ln+$t(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,Jr(r.props,/grid-\w+-end/)})?~Fl(e+(n=n[t].value),"span",0)?e:ln+$t(e,"-start","")+e+ln+"grid-row-span:"+(~Fl(n,"span",0)?Jr(n,/\d+/):+Jr(n,/\d+/)-+Jr(e,/\d+/))+";":ln+$t(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Jr(r.props,/grid-\w+-start/)})?e:ln+$t($t(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return $t(e,/(.+)-inline(.+)/,Qt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(zr(e)-1-t>6)switch(Hn(e,t+1)){case 109:if(Hn(e,t+4)!==45)break;case 102:return $t(e,/(.+:)(.+)-([^]+)/,"$1"+Qt+"$2-$3$1"+mi+(Hn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fl(e,"stretch",0)?nb($t(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return $t(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,a,i,s,l,u){return ln+o+":"+a+u+(i?ln+o+"-span:"+(s?l:+l-+a)+u:"")+e});case 4949:if(Hn(e,t+6)===121)return $t(e,":",":"+Qt)+e;break;case 6444:switch(Hn(e,Hn(e,14)===45?18:11)){case 120:return $t(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Qt+(Hn(e,14)===45?"inline-":"")+"box$3$1"+Qt+"$2$3$1"+ln+"$2box$3")+e;case 100:return $t(e,":",":"+ln)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return $t(e,"scroll-","scroll-snap-")+e}return e}function is(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function YI(e,t,n,r){switch(e.type){case AI:if(e.children.length)break;case RI:case yf:return e.return=e.return||e.value;case Z0:return"";case Q0:return e.return=e.value+"{"+is(e.children,r)+"}";case Ls:if(!zr(e.value=e.props.join(",")))return""}return zr(n=is(e.children,r))?e.return=e.value+"{"+n+"}":""}function qI(e){var t=eb(e);return function(n,r,o,a){for(var i="",s=0;s<t;s++)i+=e[s](n,r,o,a)||"";return i}}function GI(e){return function(t){t.root||(t=t.return)&&e(t)}}function UI(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case yf:e.return=nb(e.value,e.length,n);return;case Q0:return is([go(e,{value:$t(e.value,"@","@"+Qt)})],r);case Ls:if(e.length)return jI(n=e.props,function(o){switch(Jr(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":na(go(e,{props:[$t(o,/:(read-\w+)/,":"+mi+"$1")]})),na(go(e,{props:[o]})),Ou(e,{props:pp(n,r)});break;case"::placeholder":na(go(e,{props:[$t(o,/:(plac\w+)/,":"+Qt+"input-$1")]})),na(go(e,{props:[$t(o,/:(plac\w+)/,":"+mi+"$1")]})),na(go(e,{props:[$t(o,/:(plac\w+)/,ln+"input-$1")]})),na(go(e,{props:[o]})),Ou(e,{props:pp(n,r)});break}return""})}}var XI={animationIterationCount:1,aspectRatio: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},Ea=typeof process<"u"&&mr!==void 0&&(mr.REACT_APP_SC_ATTR||mr.SC_ATTR)||"data-styled",rb="active",ob="data-styled-version",Ys="6.1.19",Cf=`/*!sc*/
|
|
1002
|
-
`,ls=typeof window<"u"&&typeof document<"u",ZI=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&mr!==void 0&&mr.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&mr.REACT_APP_SC_DISABLE_SPEEDY!==""?mr.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&mr.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&mr!==void 0&&mr.SC_DISABLE_SPEEDY!==void 0&&mr.SC_DISABLE_SPEEDY!==""&&mr.SC_DISABLE_SPEEDY!=="false"&&mr.SC_DISABLE_SPEEDY),qs=Object.freeze([]),ka=Object.freeze({});function QI(e,t,n){return n===void 0&&(n=ka),e.theme!==n.theme&&e.theme||t||n.theme}var ab=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),JI=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,_I=/(^-|-$)/g;function hp(e){return e.replace(JI,"-").replace(_I,"")}var eM=/(a)(d)/gi,bl=52,bp=function(e){return String.fromCharCode(e+(e>25?39:97))};function Au(e){var t,n="";for(t=Math.abs(e);t>bl;t=t/bl|0)n=bp(t%bl)+n;return(bp(t%bl)+n).replace(eM,"$1-$2")}var Ac,ib=5381,pa=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},lb=function(e){return pa(ib,e)};function tM(e){return Au(lb(e)>>>0)}function nM(e){return e.displayName||e.name||"Component"}function Dc(e){return typeof e=="string"&&!0}var sb=typeof Symbol=="function"&&Symbol.for,cb=sb?Symbol.for("react.memo"):60115,rM=sb?Symbol.for("react.forward_ref"):60112,oM={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},aM={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ub={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},iM=((Ac={})[rM]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ac[cb]=ub,Ac);function yp(e){return("type"in(t=e)&&t.type.$$typeof)===cb?ub:"$$typeof"in e?iM[e.$$typeof]:oM;var t}var lM=Object.defineProperty,sM=Object.getOwnPropertyNames,xp=Object.getOwnPropertySymbols,cM=Object.getOwnPropertyDescriptor,uM=Object.getPrototypeOf,Cp=Object.prototype;function db(e,t,n){if(typeof t!="string"){if(Cp){var r=uM(t);r&&r!==Cp&&db(e,r,n)}var o=sM(t);xp&&(o=o.concat(xp(t)));for(var a=yp(e),i=yp(t),s=0;s<o.length;++s){var l=o[s];if(!(l in aM||n&&n[l]||i&&l in i||a&&l in a)){var u=cM(t,l);try{lM(e,l,u)}catch{}}}}return e}function Ia(e){return typeof e=="function"}function wf(e){return typeof e=="object"&&"styledComponentId"in e}function jo(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function wp(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Ei(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Du(e,t,n){if(n===void 0&&(n=!1),!n&&!Ei(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Du(e[r],t[r]);else if(Ei(t))for(var r in t)e[r]=Du(e[r],t[r]);return e}function Sf(e,t){Object.defineProperty(e,"toString",{value:t})}function Gi(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var dM=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,a=o;t>=a;)if((a<<=1)<0)throw Gi(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(r),this.length=a;for(var i=o;i<a;i++)this.groupSizes[i]=0}for(var s=this.indexOfGroup(t+1),l=(i=0,n.length);i<l;i++)this.tag.insertRule(s,n[i])&&(this.groupSizes[t]++,s++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n;this.groupSizes[t]=0;for(var a=r;a<o;a++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),a=o+r,i=o;i<a;i++)n+="".concat(this.tag.getRule(i)).concat(Cf);return n},e})(),zl=new Map,ss=new Map,Hl=1,yl=function(e){if(zl.has(e))return zl.get(e);for(;ss.has(Hl);)Hl++;var t=Hl++;return zl.set(e,t),ss.set(t,e),t},fM=function(e,t){Hl=t+1,zl.set(e,t),ss.set(t,e)},mM="style[".concat(Ea,"][").concat(ob,'="').concat(Ys,'"]'),pM=new RegExp("^".concat(Ea,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),vM=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},gM=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(Cf),o=[],a=0,i=r.length;a<i;a++){var s=r[a].trim();if(s){var l=s.match(pM);if(l){var u=0|parseInt(l[1],10),c=l[2];u!==0&&(fM(c,u),vM(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},Sp=function(e){for(var t=document.querySelectorAll(mM),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(Ea)!==rb&&(gM(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function hM(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var fb=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=(function(s){var l=Array.from(s.querySelectorAll("style[".concat(Ea,"]")));return l[l.length-1]})(n),a=o!==void 0?o.nextSibling:null;r.setAttribute(Ea,rb),r.setAttribute(ob,Ys);var i=hM();return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},bM=(function(){function e(t){this.element=fb(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,a=r.length;o<a;o++){var i=r[o];if(i.ownerNode===n)return i}throw Gi(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e})(),yM=(function(){function e(t){this.element=fb(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),xM=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),Ep=ls,CM={isServer:!ls,useCSSOMInjection:!ZI},mb=(function(){function e(t,n,r){t===void 0&&(t=ka),n===void 0&&(n={});var o=this;this.options=lr(lr({},CM),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&ls&&Ep&&(Ep=!1,Sp(this)),Sf(this,function(){return(function(a){for(var i=a.getTag(),s=i.length,l="",u=function(f){var v=(function(y){return ss.get(y)})(f);if(v===void 0)return"continue";var p=a.names.get(v),b=i.getGroup(f);if(p===void 0||!p.size||b.length===0)return"continue";var g="".concat(Ea,".g").concat(f,'[id="').concat(v,'"]'),h="";p!==void 0&&p.forEach(function(y){y.length>0&&(h+="".concat(y,","))}),l+="".concat(b).concat(g,'{content:"').concat(h,'"}').concat(Cf)},c=0;c<s;c++)u(c);return l})(o)})}return e.registerId=function(t){return yl(t)},e.prototype.rehydrate=function(){!this.server&&ls&&Sp(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(lr(lr({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new xM(o):r?new bM(o):new yM(o)})(this.options),new dM(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(yl(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(yl(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(yl(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),wM=/&/g,SM=/^\s*\/\/.*$/gm;function pb(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=pb(n.children,t)),n})}function EM(e){var t,n,r,o=ka,a=o.options,i=a===void 0?ka:a,s=o.plugins,l=s===void 0?qs:s,u=function(v,p,b){return b.startsWith(n)&&b.endsWith(n)&&b.replaceAll(n,"").length>0?".".concat(t):v},c=l.slice();c.push(function(v){v.type===Ls&&v.value.includes("&")&&(v.props[0]=v.props[0].replace(wM,n).replace(r,u))}),i.prefix&&c.push(UI),c.push(YI);var f=function(v,p,b,g){p===void 0&&(p=""),b===void 0&&(b=""),g===void 0&&(g="&"),t=g,n=p,r=new RegExp("\\".concat(n,"\\b"),"g");var h=v.replace(SM,""),y=WI(b||p?"".concat(b," ").concat(p," { ").concat(h," }"):h);i.namespace&&(y=pb(y,i.namespace));var m=[];return is(y,qI(c.concat(GI(function(x){return m.push(x)})))),m};return f.hash=l.length?l.reduce(function(v,p){return p.name||Gi(15),pa(v,p.name)},ib).toString():"",f}var kM=new mb,ju=EM(),vb=ue.createContext({shouldForwardProp:void 0,styleSheet:kM,stylis:ju});vb.Consumer;ue.createContext(void 0);function kp(){return Yn(vb)}var IM=(function(){function e(t,n){var r=this;this.inject=function(o,a){a===void 0&&(a=ju);var i=r.name+a.hash;o.hasNameForId(r.id,i)||o.insertRules(r.id,i,a(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Sf(this,function(){throw Gi(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=ju),this.name+t.hash},e})(),MM=function(e){return e>="A"&&e<="Z"};function Ip(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;MM(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var gb=function(e){return e==null||e===!1||e===""},hb=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!gb(a)&&(Array.isArray(a)&&a.isCss||Ia(a)?r.push("".concat(Ip(o),":"),a,";"):Ei(a)?r.push.apply(r,as(as(["".concat(o," {")],hb(a),!1),["}"],!1)):r.push("".concat(Ip(o),": ").concat((t=o,(n=a)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in XI||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Bo(e,t,n,r){if(gb(e))return[];if(wf(e))return[".".concat(e.styledComponentId)];if(Ia(e)){if(!Ia(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return Bo(o,t,n,r)}var a;return e instanceof IM?n?(e.inject(n,r),[e.getName(r)]):[e]:Ei(e)?hb(e):Array.isArray(e)?Array.prototype.concat.apply(qs,e.map(function(i){return Bo(i,t,n,r)})):[e.toString()]}function NM(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ia(n)&&!wf(n))return!1}return!0}var OM=lb(Ys),PM=(function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&NM(t),this.componentId=n,this.baseHash=pa(OM,n),this.baseStyle=r,mb.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=jo(o,this.staticRulesId);else{var a=wp(Bo(this.rules,t,n,r)),i=Au(pa(this.baseHash,a)>>>0);if(!n.hasNameForId(this.componentId,i)){var s=r(a,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,s)}o=jo(o,i),this.staticRulesId=i}else{for(var l=pa(this.baseHash,r.hash),u="",c=0;c<this.rules.length;c++){var f=this.rules[c];if(typeof f=="string")u+=f;else if(f){var v=wp(Bo(f,t,n,r));l=pa(l,v+c),u+=v}}if(u){var p=Au(l>>>0);n.hasNameForId(this.componentId,p)||n.insertRules(this.componentId,p,r(u,".".concat(p),void 0,this.componentId)),o=jo(o,p)}}return o},e})(),bb=ue.createContext(void 0);bb.Consumer;var jc={};function RM(e,t,n){var r=wf(e),o=e,a=!Dc(e),i=t.attrs,s=i===void 0?qs:i,l=t.componentId,u=l===void 0?(function(C,w){var S=typeof C!="string"?"sc":hp(C);jc[S]=(jc[S]||0)+1;var k="".concat(S,"-").concat(tM(Ys+S+jc[S]));return w?"".concat(w,"-").concat(k):k})(t.displayName,t.parentComponentId):l,c=t.displayName,f=c===void 0?(function(C){return Dc(C)?"styled.".concat(C):"Styled(".concat(nM(C),")")})(e):c,v=t.displayName&&t.componentId?"".concat(hp(t.displayName),"-").concat(t.componentId):t.componentId||u,p=r&&o.attrs?o.attrs.concat(s).filter(Boolean):s,b=t.shouldForwardProp;if(r&&o.shouldForwardProp){var g=o.shouldForwardProp;if(t.shouldForwardProp){var h=t.shouldForwardProp;b=function(C,w){return g(C,w)&&h(C,w)}}else b=g}var y=new PM(n,v,r?o.componentStyle:void 0);function m(C,w){return(function(S,k,E){var O=S.attrs,M=S.componentStyle,N=S.defaultProps,R=S.foldedComponentIds,A=S.styledComponentId,I=S.target,P=ue.useContext(bb),D=kp(),j=S.shouldForwardProp||D.shouldForwardProp,$=QI(k,P,N)||ka,z=(function(V,_,q){for(var U,Q=lr(lr({},_),{className:void 0,theme:q}),te=0;te<V.length;te+=1){var X=Ia(U=V[te])?U(Q):U;for(var Y in X)Q[Y]=Y==="className"?jo(Q[Y],X[Y]):Y==="style"?lr(lr({},Q[Y]),X[Y]):X[Y]}return _.className&&(Q.className=jo(Q.className,_.className)),Q})(O,k,$),L=z.as||I,B={};for(var F in z)z[F]===void 0||F[0]==="$"||F==="as"||F==="theme"&&z.theme===$||(F==="forwardedAs"?B.as=z.forwardedAs:j&&!j(F,L)||(B[F]=z[F]));var H=(function(V,_){var q=kp(),U=V.generateAndInjectStyles(_,q.styleSheet,q.stylis);return U})(M,z),W=jo(R,A);return H&&(W+=" "+H),z.className&&(W+=" "+z.className),B[Dc(L)&&!ab.has(L)?"class":"className"]=W,E&&(B.ref=E),qr(L,B)})(x,C,w)}m.displayName=f;var x=ue.forwardRef(m);return x.attrs=p,x.componentStyle=y,x.displayName=f,x.shouldForwardProp=b,x.foldedComponentIds=r?jo(o.foldedComponentIds,o.styledComponentId):"",x.styledComponentId=v,x.target=r?o.target:e,Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(C){this._foldedDefaultProps=r?(function(w){for(var S=[],k=1;k<arguments.length;k++)S[k-1]=arguments[k];for(var E=0,O=S;E<O.length;E++)Du(w,O[E],!0);return w})({},o.defaultProps,C):C}}),Sf(x,function(){return".".concat(x.styledComponentId)}),a&&db(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}function Mp(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Np=function(e){return Object.assign(e,{isCss:!0})};function AM(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Ia(e)||Ei(e))return Np(Bo(Mp(qs,as([e],t,!0))));var r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?Bo(r):Np(Bo(Mp(r,t)))}function $u(e,t,n){if(n===void 0&&(n=ka),!t)throw Gi(1,t);var r=function(o){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];return e(t,n,AM.apply(void 0,as([o],a,!1)))};return r.attrs=function(o){return $u(e,t,lr(lr({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},r.withConfig=function(o){return $u(e,t,lr(lr({},n),o))},r}var yb=function(e){return $u(RM,e)},Vn=yb;ab.forEach(function(e){Vn[e]=yb(e)});/**
|
|
1003
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1004
|
-
*
|
|
1005
|
-
* This source code is licensed under the ISC license.
|
|
1006
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1007
|
-
*/const DM=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xb=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
|
|
1008
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1009
|
-
*
|
|
1010
|
-
* This source code is licensed under the ISC license.
|
|
1011
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1012
|
-
*/var jM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
1013
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1014
|
-
*
|
|
1015
|
-
* This source code is licensed under the ISC license.
|
|
1016
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1017
|
-
*/const $M=rr(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:i,...s},l)=>qr("svg",{ref:l,...jM,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:xb("lucide",o),...s},[...i.map(([u,c])=>qr(u,c)),...Array.isArray(a)?a:[a]]));/**
|
|
1018
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1019
|
-
*
|
|
1020
|
-
* This source code is licensed under the ISC license.
|
|
1021
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1022
|
-
*/const io=(e,t)=>{const n=rr(({className:r,...o},a)=>qr($M,{ref:a,iconNode:t,className:xb(`lucide-${DM(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
|
|
1023
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1024
|
-
*
|
|
1025
|
-
* This source code is licensed under the ISC license.
|
|
1026
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1027
|
-
*/const FM=io("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
1028
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1029
|
-
*
|
|
1030
|
-
* This source code is licensed under the ISC license.
|
|
1031
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1032
|
-
*/const TM=io("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
|
|
1033
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1034
|
-
*
|
|
1035
|
-
* This source code is licensed under the ISC license.
|
|
1036
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1037
|
-
*/const BM=io("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/**
|
|
1038
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1039
|
-
*
|
|
1040
|
-
* This source code is licensed under the ISC license.
|
|
1041
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1042
|
-
*/const Op=io("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
|
|
1043
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1044
|
-
*
|
|
1045
|
-
* This source code is licensed under the ISC license.
|
|
1046
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1047
|
-
*/const zM=io("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
|
|
1048
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1049
|
-
*
|
|
1050
|
-
* This source code is licensed under the ISC license.
|
|
1051
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1052
|
-
*/const HM=io("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
|
|
1053
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1054
|
-
*
|
|
1055
|
-
* This source code is licensed under the ISC license.
|
|
1056
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1057
|
-
*/const LM=io("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
|
|
1058
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1059
|
-
*
|
|
1060
|
-
* This source code is licensed under the ISC license.
|
|
1061
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1062
|
-
*/const VM=io("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
1063
|
-
* @license lucide-react v0.456.0 - ISC
|
|
1064
|
-
*
|
|
1065
|
-
* This source code is licensed under the ISC license.
|
|
1066
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
1067
|
-
*/const WM=io("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),KM=Vn.div`
|
|
1068
|
-
position: relative;
|
|
1069
|
-
display: flex;
|
|
1070
|
-
align-items: center;
|
|
1071
|
-
width: 180px;
|
|
1072
|
-
height: 36px;
|
|
1073
|
-
background: #fff;
|
|
1074
|
-
border: 1px solid #e5e7eb;
|
|
1075
|
-
border-radius: 6px;
|
|
1076
|
-
transition: border 0.2s;
|
|
1077
|
-
|
|
1078
|
-
&:focus-within {
|
|
1079
|
-
border-color: #2563eb;
|
|
1080
|
-
box-shadow: 0 0 0 2px #2563eb22;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
input {
|
|
1084
|
-
flex: 1;
|
|
1085
|
-
border: none;
|
|
1086
|
-
outline: none;
|
|
1087
|
-
background: transparent;
|
|
1088
|
-
padding: 0 52px 0 12px;
|
|
1089
|
-
font-size: 14px;
|
|
1090
|
-
height: 36px;
|
|
1091
|
-
color: #222;
|
|
1092
|
-
width: 100%;
|
|
1093
|
-
box-sizing: border-box;
|
|
1094
|
-
text-overflow: ellipsis;
|
|
1095
|
-
white-space: nowrap;
|
|
1096
|
-
overflow: hidden;
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
.icon-search {
|
|
1100
|
-
position: absolute;
|
|
1101
|
-
right: 8px;
|
|
1102
|
-
color: #a3a3a3;
|
|
1103
|
-
width: 18px;
|
|
1104
|
-
height: 18px;
|
|
1105
|
-
pointer-events: none;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
.icon-clear {
|
|
1109
|
-
position: absolute;
|
|
1110
|
-
right: 32px;
|
|
1111
|
-
color: #a3a3a3;
|
|
1112
|
-
width: 16px;
|
|
1113
|
-
height: 16px;
|
|
1114
|
-
cursor: pointer;
|
|
1115
|
-
opacity: 0.7;
|
|
1116
|
-
transition: opacity 0.2s;
|
|
1117
|
-
|
|
1118
|
-
&:hover {
|
|
1119
|
-
opacity: 1;
|
|
1120
|
-
color: #ef4444;
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
`,YM=({value:e,onChange:t,placeholder:n="\u6A21\u7CCA\u641C\u7D22"})=>G.jsxs(KM,{children:[G.jsx("input",{type:"text",placeholder:n,value:e,onChange:r=>t(r.target.value),onKeyDown:r=>{r.key}}),G.jsx("span",{className:"icon-search",children:G.jsx(VM,{size:18})}),e&&G.jsx("span",{className:"icon-clear",onClick:()=>t(""),children:G.jsx(WM,{size:16})})]}),qM=({activeNode:e,fuzzyValue:t,onFuzzyValueChange:n,onToolbarAction:r,styles:o})=>{if(!e||!Array.isArray(e.toolbar)||e.toolbar.length===0)return null;o==null||o.theme;const a=e.toolbar.filter(l=>l.position!=="right"),i=e.toolbar.filter(l=>l.position==="right"),s=l=>l.map(u=>{if(u.type==="button")return G.jsx(ba,{mode:u.btnType||"default",label:u.label,icon:u.icon,disabled:u.disabled,onClick:()=>{u.disabled||r(`toolbar_${u.key}`,{viewId:e.id})},styles:o},u.key);if(u.type==="fuzzy_search")return G.jsx(YM,{value:t,onChange:n,placeholder:u.label||"\u6A21\u7CCA\u641C\u7D22"},u.key);if(u.type==="customized"){if(u.component){const c=u.component;return G.jsx(c,{onAction:(f,v)=>{r(`toolbar_${u.key}_${f}`,{viewId:e.id,...v})}},u.key)}if(typeof u.render=="function")return G.jsx(ue.Fragment,{children:u.render()},u.key)}return null});return G.jsxs("div",{className:"flex items-center w-full",style:{height:52,minHeight:52,maxHeight:52,overflow:"hidden",gap:12,background:"transparent"},children:[G.jsx("div",{className:"flex items-center",style:{gap:12,flex:1},children:s(a)}),G.jsx("div",{className:"flex items-center justify-end",style:{gap:12},children:s(i)})]})},GM="data:image/svg+xml,%3csvg%20width='34'%20height='35'%20viewBox='0%200%2034%2035'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M3.91821%2021.5208C3.91821%2023.8541%209.77303%2025.6877%2017.0022%2025.6877C24.2313%2025.6877%2030.0849%2023.8537%2030.1057%2021.6663V26.4377C30.1052%2028.7709%2024.231%2030.6037%2017.0022%2030.6038C9.77334%2030.6038%203.91871%2028.6876%203.91821%2026.4377V21.5208ZM30.0852%2019.0627C30.0847%2021.3959%2024.2309%2023.2287%2017.0022%2023.2288V23.2913C9.7525%2023.2913%203.8982%2021.396%203.89771%2019.1252V14.2288C3.89771%2016.5829%209.77303%2018.3958%2017.0022%2018.3958C24.2312%2018.3957%2030.0852%2016.4996%2030.0852%2014.2288V19.0627ZM17.0022%204.33325C24.2312%204.33331%2030.0852%206.25028%2030.0852%208.50024V11.7083C30.0852%2014.0415%2024.2312%2015.8752%2017.0022%2015.8752C9.7522%2015.8752%203.89771%2014.0208%203.89771%2011.7708V8.50024C3.89771%206.16691%209.77303%204.33325%2017.0022%204.33325Z'%20fill='url(%23paint0_linear_4121_3589)'/%3e%3crect%20x='2.71423'%20y='2.85718'%20width='28.5714'%20height='28.0952'%20fill='url(%23pattern0_4121_3589)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_4121_3589'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_4121_3589'%20transform='scale(0.00333333%200.00338983)'/%3e%3c/pattern%3e%3clinearGradient%20id='paint0_linear_4121_3589'%20x1='33.3818'%20y1='32.5741'%20x2='9.56095'%20y2='18.2013'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237FC0FB'/%3e%3cstop%20offset='1'%20stop-color='%234088F4'/%3e%3c/linearGradient%3e%3cimage%20id='image0_4121_3589'%20width='300'%20height='295'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS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meThx5nz1RY0aLSPqqYyfmHfoMEbqm8xLO36E3vh6EwPiKkDqsFuStvQm6UGNHrUJkBKVrUu05KCsPB7HyAKIA+v6DtX0BkZ48Aulp+PRXY80jI++S7+yMUKrs/56xkcAVjg+ArDC8f9VqlOiZ77kqAAAAABJRU5ErkJggg==",QM="data:image/svg+xml,%3csvg%20width='40'%20height='41'%20viewBox='0%200%2040%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='0.5'%20width='40'%20height='40'%20rx='2.85714'%20fill='white'/%3e%3cpath%20d='M7.1449%2025.1108C8.7449%2026.6994%2011.9899%2027.8784%2017.4232%2028.0669L17.432%2028.1255C17.9138%2030.5391%2019.3276%2032.6659%2021.3666%2034.0444H19.0551C11.1338%2034.0444%206.50102%2032.1563%206.50037%2029.8784V26.3999C6.51198%2026.152%206.57486%2025.9089%206.68591%2025.687C6.79696%2025.4652%206.95352%2025.2687%207.1449%2025.1108ZM26.3461%2018.1665C28.4483%2018.1718%2030.4632%2019.009%2031.9496%2020.4956C33.4361%2021.9823%2034.2728%2023.9977%2034.2777%2026.1001C34.2776%2030.4884%2030.7229%2034.0325%2026.3451%2034.0327C21.9671%2034.0327%2018.4117%2030.4781%2018.4115%2026.1001C18.4115%2021.722%2021.967%2018.1665%2026.3451%2018.1665H26.3461ZM26.976%2022.5239C26.786%2022.3341%2026.4924%2022.3101%2026.2767%2022.4526L26.1898%2022.5239L22.8568%2025.8569C22.6399%2026.0739%2022.6399%2026.4261%2022.8568%2026.6431C23.0738%2026.8599%2023.426%2026.8599%2023.6429%2026.6431L26.0297%2024.2563V29.5835C26.0298%2029.8901%2026.2787%2030.138%2026.5853%2030.1382C26.892%2030.1381%2027.1409%2029.8901%2027.141%2029.5835V24.2612L29.5238%2026.6431C29.7408%2026.8598%2030.093%2026.8599%2030.3099%2026.6431C30.5266%2026.4262%2030.5266%2026.0738%2030.3099%2025.8569L26.976%2022.5239ZM7.12244%2016.1675C8.93285%2017.8894%2012.5231%2019.1558%2018.8783%2019.1558H19.3783C17.9451%2020.8109%2017.1557%2022.9224%2017.1556%2025.1108V25.1128C10.4122%2024.8346%206.50134%2023.0455%206.50134%2020.9341V17.4565C6.50818%2017.2101%206.56707%2016.9676%206.67419%2016.7456C6.78134%2016.5236%206.93379%2016.3262%207.12244%2016.1675ZM18.4779%206.25635C26.0998%206.25635%2031.3109%208.14508%2031.3109%2010.4565V12.978C31.3108%2015.2999%2026.0445%2017.1782%2018.4779%2017.1782C10.9114%2017.1782%206.50049%2015.2998%206.50037%2012.978V10.4565C6.50037%208.15655%2010.8561%206.25636%2018.4779%206.25635Z'%20fill='black'/%3e%3cpath%20d='M7.1449%2025.1108C8.7449%2026.6994%2011.9899%2027.8784%2017.4232%2028.0669L17.432%2028.1255C17.9138%2030.5391%2019.3276%2032.6659%2021.3666%2034.0444H19.0551C11.1338%2034.0444%206.50102%2032.1563%206.50037%2029.8784V26.3999C6.51198%2026.152%206.57486%2025.9089%206.68591%2025.687C6.79696%2025.4652%206.95352%2025.2687%207.1449%2025.1108ZM26.3461%2018.1665C28.4483%2018.1718%2030.4632%2019.009%2031.9496%2020.4956C33.4361%2021.9823%2034.2728%2023.9977%2034.2777%2026.1001C34.2776%2030.4884%2030.7229%2034.0325%2026.3451%2034.0327C21.9671%2034.0327%2018.4117%2030.4781%2018.4115%2026.1001C18.4115%2021.722%2021.967%2018.1665%2026.3451%2018.1665H26.3461ZM26.976%2022.5239C26.786%2022.3341%2026.4924%2022.3101%2026.2767%2022.4526L26.1898%2022.5239L22.8568%2025.8569C22.6399%2026.0739%2022.6399%2026.4261%2022.8568%2026.6431C23.0738%2026.8599%2023.426%2026.8599%2023.6429%2026.6431L26.0297%2024.2563V29.5835C26.0298%2029.8901%2026.2787%2030.138%2026.5853%2030.1382C26.892%2030.1381%2027.1409%2029.8901%2027.141%2029.5835V24.2612L29.5238%2026.6431C29.7408%2026.8598%2030.093%2026.8599%2030.3099%2026.6431C30.5266%2026.4262%2030.5266%2026.0738%2030.3099%2025.8569L26.976%2022.5239ZM7.12244%2016.1675C8.93285%2017.8894%2012.5231%2019.1558%2018.8783%2019.1558H19.3783C17.9451%2020.8109%2017.1557%2022.9224%2017.1556%2025.1108V25.1128C10.4122%2024.8346%206.50134%2023.0455%206.50134%2020.9341V17.4565C6.50818%2017.2101%206.56707%2016.9676%206.67419%2016.7456C6.78134%2016.5236%206.93379%2016.3262%207.12244%2016.1675ZM18.4779%206.25635C26.0998%206.25635%2031.3109%208.14508%2031.3109%2010.4565V12.978C31.3108%2015.2999%2026.0445%2017.1782%2018.4779%2017.1782C10.9114%2017.1782%206.50049%2015.2998%206.50037%2012.978V10.4565C6.50037%208.15655%2010.8561%206.25636%2018.4779%206.25635Z'%20fill='url(%23paint0_linear_4121_494)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_4121_494'%20x1='37.7503'%20y1='36.1288'%20x2='12.5292'%20y2='20.8801'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237FC0FB'/%3e%3cstop%20offset='1'%20stop-color='%234088F4'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",za=Vn.div`
|
|
1124
|
-
border: 1px solid ${({theme:e})=>{var t;return((t=e==null?void 0:e.colors)==null?void 0:t.border)||"#e5e6eb"}};
|
|
1125
|
-
border-radius: ${({theme:e})=>{var t;return((t=e==null?void 0:e.space)==null?void 0:t.radius)||10}}px;
|
|
1126
|
-
padding: 18px 20px 16px 20px;
|
|
1127
|
-
background: ${({theme:e})=>{var t;return((t=e==null?void 0:e.colors)==null?void 0:t.background)||"#fff"}};
|
|
1128
|
-
|
|
1129
|
-
box-shadow: ${({theme:e})=>{var t;return((t=e==null?void 0:e.colors)==null?void 0:t.shadow)||"0 2px 12px 0 rgba(0,0,0,0.07)"}};
|
|
1130
|
-
display: flex;
|
|
1131
|
-
flex-direction: column;
|
|
1132
|
-
height: 100%;
|
|
1133
|
-
transition:
|
|
1134
|
-
box-shadow 0.2s,
|
|
1135
|
-
border 0.2s;
|
|
1136
|
-
&:hover {
|
|
1137
|
-
box-shadow: 0 4px 16px 0 rgba(51, 112, 255, 0.13);
|
|
1138
|
-
border: 1.5px solid ${({theme:e})=>{var t;return((t=e==null?void 0:e.colors)==null?void 0:t.primary)||"#3370ff"}};
|
|
1139
|
-
}
|
|
1140
|
-
`,Ui=Vn.div`
|
|
1141
|
-
flex: 1;
|
|
1142
|
-
display: flex;
|
|
1143
|
-
flex-direction: column;
|
|
1144
|
-
justify-content: flex-start;
|
|
1145
|
-
gap: 4px;
|
|
1146
|
-
min-height: 0;
|
|
1147
|
-
`,Xi=Vn.div`
|
|
1148
|
-
display: flex;
|
|
1149
|
-
flex-direction: column;
|
|
1150
|
-
align-items: center;
|
|
1151
|
-
justify-content: start;
|
|
1152
|
-
gap: 10px;
|
|
1153
|
-
margin-bottom: 6px;
|
|
1154
|
-
position: relative;
|
|
1155
|
-
`,Ha=Vn.div`
|
|
1156
|
-
font-weight: 600;
|
|
1157
|
-
font-size: 17px;
|
|
1158
|
-
color: #222;
|
|
1159
|
-
display: -webkit-box;
|
|
1160
|
-
-webkit-line-clamp: 1;
|
|
1161
|
-
-webkit-box-orient: vertical;
|
|
1162
|
-
overflow: hidden;
|
|
1163
|
-
text-overflow: ellipsis;
|
|
1164
|
-
`,Zi=Vn.div`
|
|
1165
|
-
color: #888;
|
|
1166
|
-
font-size: 13px;
|
|
1167
|
-
|
|
1168
|
-
min-height: ${({$minHeight:e})=>e||"45px"};
|
|
1169
|
-
background-color: #f9fafb;
|
|
1170
|
-
padding: 6px 8px;
|
|
1171
|
-
border-radius: 4px;
|
|
1172
|
-
white-space: wrap;
|
|
1173
|
-
line-height: 22px;
|
|
1174
|
-
overflow: hidden;
|
|
1175
|
-
text-overflow: ellipsis;
|
|
1176
|
-
`,_n=Vn.div`
|
|
1177
|
-
font-size: 12px;
|
|
1178
|
-
color: #666;
|
|
1179
|
-
margin-bottom: 2px;
|
|
1180
|
-
`,Qi=Vn.div`
|
|
1181
|
-
display: flex;
|
|
1182
|
-
justify-content: flex-end;
|
|
1183
|
-
margin-top: 12px;
|
|
1184
|
-
gap: 8px;
|
|
1185
|
-
`,Ef=Vn.span`
|
|
1186
|
-
position: relative;
|
|
1187
|
-
display: inline-block;
|
|
1188
|
-
`,kf=Vn.span`
|
|
1189
|
-
display: inline-block;
|
|
1190
|
-
width: 10px;
|
|
1191
|
-
height: 10px;
|
|
1192
|
-
border-radius: 50%;
|
|
1193
|
-
margin-left: 8px;
|
|
1194
|
-
background: ${({status:e})=>e==="connect"||e==="active"||e==="completed"?"#22c55e":e==="error"||e==="deprecated"?"#ef4444":e==="in_progress"?"#f59e0b":e==="pending"?"#6b7280":e==="archived"?"#9ca3af":"#d1d5db"};
|
|
1195
|
-
box-shadow: 0 0 0 2px #fff;
|
|
1196
|
-
z-index: 2;
|
|
1197
|
-
`;Vn.span`
|
|
1198
|
-
position: absolute;
|
|
1199
|
-
left: 70%;
|
|
1200
|
-
top: 50%;
|
|
1201
|
-
width: 20px;
|
|
1202
|
-
height: 20px;
|
|
1203
|
-
transform: translate(-50%, -50%);
|
|
1204
|
-
border-radius: 50%;
|
|
1205
|
-
background: rgba(34, 197, 94, 0.25);
|
|
1206
|
-
animation: wave-pulse 1.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
|
|
1207
|
-
z-index: 1;
|
|
1208
|
-
@keyframes wave-pulse {
|
|
1209
|
-
0% {
|
|
1210
|
-
transform: translate(-50%, -50%) scale(0.7);
|
|
1211
|
-
opacity: 0.7;
|
|
1212
|
-
}
|
|
1213
|
-
70% {
|
|
1214
|
-
transform: translate(-50%, -50%) scale(1.3);
|
|
1215
|
-
opacity: 0.15;
|
|
1216
|
-
}
|
|
1217
|
-
100% {
|
|
1218
|
-
transform: translate(-50%, -50%) scale(1.5);
|
|
1219
|
-
opacity: 0;
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
`;const on=32,JM=e=>{switch(e||""){case"MySQL":return G.jsx("img",{src:GM,alt:"mysql",style:{width:on,height:on}});case"postgres":case"PostgreSQL":return G.jsx("img",{src:XM,alt:"mysql",style:{width:on,height:on}});case"mongodb":return G.jsx("img",{src:"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/mongodb.svg",alt:"mongodb",style:{width:on,height:on}});case"sqlite":return G.jsx("img",{src:"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/sqlite.svg",alt:"sqlite",style:{width:on,height:on}});case"Oracle":return G.jsx("img",{src:"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/oracle.svg",alt:"oracle",style:{width:on,height:on}});case"SQLServer":case"mssql":return G.jsx("img",{src:UM,alt:"sqlserver",style:{width:on,height:on}});case"Doris":return G.jsx("img",{src:ZM,alt:"sqlserver",style:{width:on,height:on}});case"redis":return G.jsx("img",{src:"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/redis.svg",alt:"redis",style:{width:on,height:on}});case"elasticsearch":return G.jsx("img",{src:"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/elasticsearch.svg",alt:"es",style:{width:on,height:on}});case"clickhouse":return G.jsx("img",{src:"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/clickhouse.svg",alt:"clickhouse",style:{width:on,height:on}});case"hive":return G.jsx("img",{src:"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/apachehive.svg",alt:"hive",style:{width:on,height:on}});case"csv":return G.jsx(Op,{size:on,className:"text-gray-400"});case"json":return G.jsx(Op,{size:on,className:"text-gray-400"});case"xls":case"xlsx":return G.jsx(BM,{size:on,className:"text-gray-400"});default:return G.jsx("img",{src:QM,width:on,className:"text-blue-500"})}},_M=({data:e,theme:t,actions:n=[],onAction:r})=>{const o=e.actions||n||[],a=o.filter(u=>u.allow!==!1),i=o.filter(u=>u.allow!==!1||u.type==="divider"&&a.length>0).map(u=>({key:u.key,label:u.label,type:u.type||"action",icon:u.icon,disabled:u.disabled,onClick:u.onClick?()=>u.onClick(e):void 0})),s=u=>{const c=i.find(f=>f.key===u);c&&!(c!=null&&c.disabled)&&(c!=null&&c.onClick?c.onClick():r==null||r(u,e))},l=()=>{var u;return(e.datasourceType||((u=e.dbHost)!=null&&u.startsWith("DataTable://")?"DataTable":"DirectDB"))==="DataTable"?G.jsx("div",{className:"flex items-center rounded-[4px] text-xs ",style:{backgroundColor:"#E8F5FF",padding:"4px 8px"},children:G.jsx("span",{className:"text-blue-800 text-[11px] font-medium",style:{color:"#1E8DEE"},children:"\u6570\u636E\u8868"})}):G.jsxs("div",{className:"flex items-center gap-1.5",children:[G.jsx("div",{className:"flex items-center rounded-[4px] text-xs ",style:{backgroundColor:"#F2FFFC",padding:"4px 8px"},children:G.jsx("span",{className:"text-[11px] font-medium",style:{color:"#47A376"},children:"\u76F4\u8FDE"})}),e.dbType&&G.jsx("div",{className:"flex items-center px-2.5 py-1 rounded-[4px] text-xs ",style:{backgroundColor:"#F2FFFC",padding:"4px 8px"},children:G.jsx("span",{className:" text-[11px] font-medium",style:{color:"#47A376"},children:e.dbType})})]})};return G.jsxs(za,{theme:t,className:"group",children:[G.jsxs(Ui,{children:[G.jsx(Xi,{children:G.jsxs("div",{className:"flex items-center justify-between w-full",children:[JM(e.dbType),G.jsxs("div",{className:"flex flex-col ml-3 items-start justify-start gap-2 flex-1 min-w-0",children:[G.jsx(Ha,{title:e.name,children:e.name}),G.jsx("div",{className:"flex-shrink-0",children:l()})]})]})}),e.description&&G.jsx(Zi,{$minHeight:e.datasourceType==="DataTable"?"85px":"32px",title:e.description,children:e.description}),G.jsxs("div",{className:"space-y-2 mt-2",children:[e.dbHost&&G.jsx(_n,{children:G.jsxs("span",{className:"font-normal text-[#888888]",children:[G.jsx("span",{className:"inline-block",style:{width:"60px"},children:"\u4E3B\u673A\u5730\u5740:"}),G.jsx("span",{className:"underline text-blue-500 cursor-pointer hover:text-blue-600 transition-colors",children:e.dbHost})]})}),e.dbPort&&G.jsx(_n,{children:G.jsxs("span",{className:"font-normal text-[#888888]",children:[G.jsx("span",{className:"inline-block",style:{width:"60px"},children:"\u7AEF\u53E3:"}),G.jsx("span",{className:" text-[#2A2A2A]",children:e.dbPort})]})}),e.dbDatabase&&G.jsx(_n,{children:G.jsxs("span",{className:"font-normal text-[#888888]",children:[G.jsx("span",{className:"inline-block",style:{width:"60px"},children:"\u6570\u636E\u5E93\u540D:"}),G.jsx("span",{className:"text-[#2A2A2A]",children:e.dbDatabase})]})})]}),G.jsx("div",{style:{flex:1,minHeight:"32px"}})]}),i.length>0&&G.jsx(Qi,{children:G.jsx(dh,{actions:i,onAction:s})})]})},Gs=({actions:e,onAction:t,direction:n="top",styles:r})=>{const[o,a]=Rt(!1),i=at(null),[s,l]=Rt({}),u=at(null);Yt(()=>{if(!o)return;const p=i.current;if(!p)return;const b=p.getBoundingClientRect(),g=window.scrollX||window.pageXOffset,h=window.scrollY||window.pageYOffset,y=128,m=8;let x={position:"absolute",left:b.right-y+g,width:y,zIndex:9999};if(n==="bottom")x.top=b.bottom+m-12+h;else{const C=e.length*30+1;x.top=b.top-m+10-C+h}l(x)},[o,n,e]),Yt(()=>{if(!o)return;const p=g=>{i.current&&i.current.contains(g.target)||u.current&&u.current.contains(g.target)||a(!1)},b=()=>a(!1);return document.addEventListener("mousedown",p),window.addEventListener("scroll",b,!0),()=>{document.removeEventListener("mousedown",p),window.removeEventListener("scroll",b,!0)}},[o]);const c={colors:{background:"#fff",text:"#222",border:"#e5e7eb",disabledBackground:"#f5f5f5",primary:"#2563eb",shadow:"0 2px 8px 0 rgba(0,0,0,0.08)"},space:{radius:8}},f=r!=null&&r.theme?{colors:{...c.colors,...r.theme.colors},space:{...c.space,...r.theme.space}}:c,v=G.jsx("div",{ref:u,className:`origin-bottom-right absolute right-0 w-32 rounded-md shadow-lg focus:outline-none border transition-all duration-200 ease-in-out
|
|
1223
|
-
${o?"opacity-100 translate-y-0 pointer-events-auto scale-100":"opacity-0 pointer-events-none scale-95"}
|
|
1224
|
-
`,style:{...s,background:f.colors.background,color:f.colors.text,border:`1px solid ${f.colors.border}`,borderRadius:f.space.radius,boxShadow:f.colors.shadow,minWidth:128,zIndex:9999},children:G.jsx("div",{className:"py-1",children:e.map((p,b)=>p.type==="divider"?G.jsx("div",{className:"my-2 bg-gray-100",style:{height:1}},p.key||`divider-${b}`):G.jsxs("button",{className:"w-full flex cursor-pointer items-center px-3 py-1 text-sm transition whitespace-nowrap",style:{color:f.colors.text,background:"transparent",border:"none",borderRadius:f.space.radius,fontSize:12},onClick:g=>{g.stopPropagation(),a(!1),t(p.key),p.onClick&&p.onClick()},type:"button",onMouseOver:g=>g.currentTarget.style.background=f.colors.disabledBackground,onMouseOut:g=>g.currentTarget.style.background="transparent",children:[p.icon&&G.jsx("span",{className:"mr-2",children:p.icon}),p.label]},p.key||`action-${b}`))})});return G.jsxs(G.Fragment,{children:[G.jsx("button",{ref:i,className:"card-action-more-btn cursor-pointer! flex items-center justify-center w-9 h-9 rounded-full transition border-none outline-none",style:{background:f.colors.background,color:f.colors.primary,borderRadius:f.space.radius},onClick:p=>{p.stopPropagation(),a(b=>!b)},tabIndex:0,"aria-label":"\u66F4\u591A\u64CD\u4F5C",type:"button",children:G.jsx(TM,{size:18,className:"text-blue-500"})}),o&&ks(v,document.body)]})};if(typeof window<"u"&&!document.getElementById("card-action-more-btn-style")){const e=document.createElement("style");e.id="card-action-more-btn-style",e.innerHTML=`
|
|
1225
|
-
.card-action-more-btn:hover {
|
|
1226
|
-
background: #f5f6fa !important;
|
|
1227
|
-
color: #222 !important;
|
|
1228
|
-
box-shadow: 0 2px 8px 0 rgba(51,112,255,0.06);
|
|
1229
|
-
}
|
|
1230
|
-
`,document.head.appendChild(e)}const eN=({data:e,theme:t,actions:n=[],onAction:r})=>{const o=e.actions||n||[],a=o.filter(l=>l.allow!==!1),i=o.filter(l=>l.allow!==!1||l.type==="divider"&&a.length>0).map(l=>({key:l.key,label:l.label,type:l.type||"action",icon:l.icon,onClick:l.onClick?()=>l.onClick(e):void 0})),s=l=>{const u=i.find(c=>c.key===l);u!=null&&u.onClick?u.onClick():r==null||r(l,e)};return G.jsxs(za,{theme:t,className:"group",children:[G.jsxs(Ui,{children:[G.jsxs(Xi,{children:[G.jsx(LM,{size:20,className:"text-purple-500"}),G.jsx(Ha,{children:e.name||"\u8BBE\u8BA1\u7A3F"}),e.status&&G.jsx("span",{style:{position:"absolute",right:-5,top:-10,margin:12},children:G.jsx(Ef,{children:G.jsx(kf,{status:e.status,title:e.status==="completed"?"\u5DF2\u5B8C\u6210":e.status==="in_progress"?"\u8FDB\u884C\u4E2D":e.status==="pending"?"\u5F85\u5904\u7406":e.status})})})]}),G.jsx(Zi,{children:e.description||"\u6682\u65E0\u63CF\u8FF0"}),G.jsxs(_n,{children:["\u8BBE\u8BA1\u5DE5\u5177: ",G.jsx("b",{children:e.designType||"Unknown"})]}),e.version&&G.jsxs(_n,{children:["\u7248\u672C: ",G.jsx("b",{children:e.version})]}),e.url&&G.jsx("span",{className:"text-blue-500 font-normal",children:G.jsx("span",{className:"underline cursor-pointer",children:e.url})}),e.lastModified&&G.jsxs(_n,{children:["\u4FEE\u6539\u65F6\u95F4: ",G.jsx("b",{children:e.lastModified})]}),G.jsx("div",{style:{flex:1}})]}),i.length>0&&G.jsx(Qi,{children:G.jsx(Gs,{actions:i,onAction:s})})]})},tN=({data:e,theme:t,actions:n=[],onAction:r})=>{const o=e.actions||n||[],a=o.filter(l=>l.allow!==!1),i=o.filter(l=>l.allow!==!1||l.type==="divider"&&a.length>0).map(l=>({key:l.key,label:l.label,type:l.type||"action",icon:l.icon,onClick:l.onClick?()=>l.onClick(e):void 0})),s=l=>{const u=i.find(c=>c.key===l);u!=null&&u.onClick?u.onClick():r==null||r(l,e)};return G.jsxs(za,{theme:t,className:"group",children:[G.jsxs(Ui,{children:[G.jsxs(Xi,{children:[G.jsx(HM,{size:20,className:"text-orange-500"}),G.jsx(Ha,{children:e.name||"\u539F\u578B\u8BBE\u8BA1"}),e.status&&G.jsx("span",{style:{position:"absolute",right:-5,top:-10,margin:12},children:G.jsx(Ef,{children:G.jsx(kf,{status:e.status,title:e.status==="completed"?"\u5DF2\u5B8C\u6210":e.status==="in_progress"?"\u8FDB\u884C\u4E2D":e.status==="pending"?"\u5F85\u5904\u7406":e.status})})})]}),G.jsx(Zi,{children:e.description||"\u6682\u65E0\u63CF\u8FF0"}),G.jsxs(_n,{children:["\u539F\u578B\u5DE5\u5177: ",G.jsx("b",{children:e.prototypeType||"Unknown"})]}),e.pages&&G.jsxs(_n,{children:["\u9875\u9762\u6570: ",G.jsx("b",{children:e.pages})]}),e.url&&G.jsx("span",{className:"text-blue-500 font-normal",children:G.jsx("span",{className:"underline cursor-pointer",children:e.url})}),e.lastModified&&G.jsxs(_n,{children:["\u4FEE\u6539\u65F6\u95F4: ",G.jsx("b",{children:e.lastModified})]}),G.jsx("div",{style:{flex:1}})]}),i.length>0&&G.jsx(Qi,{children:G.jsx(Gs,{actions:i,onAction:s})})]})},nN=({data:e,theme:t,actions:n=[],onAction:r})=>{const o=e.actions||n||[],a=o.filter(l=>l.allow!==!1),i=o.filter(l=>l.allow!==!1||l.type==="divider"&&a.length>0).map(l=>({key:l.key,label:l.label,type:l.type||"action",icon:l.icon,onClick:l.onClick?()=>l.onClick(e):void 0})),s=l=>{const u=i.find(c=>c.key===l);u!=null&&u.onClick?u.onClick():r==null||r(l,e)};return G.jsxs(za,{theme:t,className:"group",children:[G.jsxs(Ui,{children:[G.jsxs(Xi,{children:[G.jsx(zM,{size:20,className:"text-green-500"}),G.jsx(Ha,{children:e.name||"\u4EE3\u7801\u4ED3\u5E93"}),e.status&&G.jsx("span",{style:{position:"absolute",right:-5,top:-10,margin:12},children:G.jsx(Ef,{children:G.jsx(kf,{status:e.status,title:e.status==="active"?"\u6D3B\u8DC3":e.status==="archived"?"\u5DF2\u5F52\u6863":e.status==="deprecated"?"\u5DF2\u5E9F\u5F03":e.status})})})]}),G.jsx(Zi,{children:e.description||"\u6682\u65E0\u63CF\u8FF0"}),G.jsxs(_n,{children:["\u8BED\u8A00: ",G.jsx("b",{children:e.language||"Unknown"})]}),e.stars&&G.jsxs(_n,{children:["\u2B50 ",G.jsx("b",{children:e.stars})]}),e.deployment&&G.jsxs(_n,{children:["\u90E8\u7F72: ",G.jsx("b",{children:e.deployment})]}),e.url&&G.jsx("span",{className:"text-blue-500 font-normal",children:G.jsx("span",{className:"underline cursor-pointer",children:e.url})}),e.lastCommit&&G.jsxs(_n,{children:["\u6700\u540E\u63D0\u4EA4: ",G.jsx("b",{children:e.lastCommit})]}),e.lastDeploy&&G.jsxs(_n,{children:["\u6700\u540E\u90E8\u7F72: ",G.jsx("b",{children:e.lastDeploy})]}),G.jsx("div",{style:{flex:1}})]}),i.length>0&&G.jsx(Qi,{children:G.jsx(Gs,{actions:i,onAction:s})})]})},rN=({data:e,theme:t})=>G.jsxs(za,{theme:t,children:[G.jsx(Ha,{children:e.title||"\u5361\u7247\u6807\u9898"}),G.jsx(Zi,{children:e.content||"\u5185\u5BB9..."})]}),oN=({data:e,theme:t,actions:n=[],onAction:r})=>{const o=d.useMemo(()=>{const i=e.actions||n||[],s=i.filter(l=>l.allow!==!1);return i.filter(l=>l.allow!==!1||l.type==="divider"&&s.length>0).map(l=>({key:l.key,label:l.label,type:l.type||"action",icon:l.icon,onClick:l.onClick?()=>l.onClick(e):void 0}))},[e]),a=i=>{const s=o.find(l=>l.key===i);s!=null&&s.onClick?s.onClick():r==null||r(i,e)};return G.jsxs(za,{theme:t,className:"group",children:[G.jsxs(Ui,{children:[G.jsx(Xi,{children:G.jsx("div",{className:"flex items-start justify-between w-full",children:G.jsx("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:G.jsx(Ha,{className:"truncate",children:e.kbName})})})}),e.fileCount&&G.jsx(_n,{children:G.jsxs("span",{className:"font-normal",children:["\u6587\u4EF6\u6570:",G.jsxs("span",{className:"underline text-blue-500 cursor-pointer",children:[" ",e.fileCount]})]})}),e.fileTotalSize&&G.jsxs(_n,{children:["\u5927\u5C0F: ",G.jsxs("b",{children:[e.fileTotalSize,"M"]})]}),G.jsx("div",{style:{flex:1}})]}),o.length>0&&G.jsx(Qi,{children:G.jsx(Gs,{actions:o,onAction:a})})]})};function aN(e,t,n){const r=(n==null?void 0:n.theme)||{},o=(n==null?void 0:n.actions)||[],a=Array.isArray(e)?e:[];return d.useMemo(()=>a.map(i=>{if(i.render)return i;switch(t||i.cardtype||"default"){case"knowledgeBase":return{...i,render:s=>G.jsx("div",{onClick:l=>{n!=null&&n.onCardClick&&n.onCardClick(s,l),l.stopPropagation()},onDoubleClick:l=>{n!=null&&n.onCardDoubleClick&&n.onCardDoubleClick(s,l),l.stopPropagation()},style:{cursor:"pointer",height:"100%"},children:G.jsx(oN,{data:s,theme:r,actions:i.actions||o,onAction:n==null?void 0:n.onAction})})};case"database":return{...i,render:s=>G.jsx("div",{onClick:l=>{l.stopPropagation(),n!=null&&n.onCardClick&&n.onCardClick(s,l)},onDoubleClick:l=>{l.stopPropagation(),n!=null&&n.onCardDoubleClick&&n.onCardDoubleClick(s,l)},style:{cursor:"pointer",height:"100%"},children:G.jsx(_M,{data:s,theme:r,actions:i.actions||o,onAction:n==null?void 0:n.onAction})})};case"design":return console.log("[useDynamicCards] \u6E32\u67D3 design \u5361\u7247",i),{...i,render:s=>G.jsx("div",{onClick:l=>{n!=null&&n.onCardClick&&n.onCardClick(s,l),l.stopPropagation()},onDoubleClick:l=>{n!=null&&n.onCardDoubleClick&&n.onCardDoubleClick(s,l),l.stopPropagation()},style:{cursor:"pointer",height:"100%"},children:G.jsx(eN,{data:s,theme:r,actions:i.actions||o,onAction:n==null?void 0:n.onAction})})};case"prototype":return console.log("[useDynamicCards] \u6E32\u67D3 prototype \u5361\u7247",i),{...i,render:s=>G.jsx("div",{onClick:l=>{n!=null&&n.onCardClick&&n.onCardClick(s,l),l.stopPropagation()},onDoubleClick:l=>{n!=null&&n.onCardDoubleClick&&n.onCardDoubleClick(s,l),l.stopPropagation()},style:{cursor:"pointer",height:"100%"},children:G.jsx(tN,{data:s,theme:r,actions:i.actions||o,onAction:n==null?void 0:n.onAction})})};case"repository":return console.log("[useDynamicCards] \u6E32\u67D3 repository \u5361\u7247",i),{...i,render:s=>G.jsx("div",{onClick:l=>{n!=null&&n.onCardClick&&n.onCardClick(s,l),l.stopPropagation()},onDoubleClick:l=>{n!=null&&n.onCardDoubleClick&&n.onCardDoubleClick(s,l),l.stopPropagation()},style:{cursor:"pointer",height:"100%"},children:G.jsx(nN,{data:s,theme:r,actions:i.actions||o,onAction:n==null?void 0:n.onAction})})};case"customized":return console.log("[useDynamicCards] \u6E32\u67D3 customized \u5361\u7247",i),{...i,render:(s,l)=>G.jsx("div",{onClick:u=>{n!=null&&n.onCardClick&&n.onCardClick(s,u),u.stopPropagation()},onDoubleClick:u=>{n!=null&&n.onCardDoubleClick&&n.onCardDoubleClick(s,u),u.stopPropagation()},style:{cursor:"pointer",height:"100%"},children:i.render?i.render(s,n):G.jsx("div",{children:"\u81EA\u5B9A\u4E49\u5361\u7247"})})};case"default":default:return console.log("[useDynamicCards] \u6E32\u67D3 default \u5361\u7247",i),{...i,render:s=>G.jsx("div",{onClick:l=>{n!=null&&n.onCardClick&&n.onCardClick(s,l),l.stopPropagation()},onDoubleClick:l=>{n!=null&&n.onCardDoubleClick&&n.onCardDoubleClick(s,l),l.stopPropagation()},style:{cursor:"pointer",height:"100%"},children:G.jsx(rN,{data:s,theme:r})})}}}),[e,n,r,o,n==null?void 0:n.onCardClick,n==null?void 0:n.onCardDoubleClick,t])}if(typeof window<"u"&&!document.getElementById("card-action-more-btn-style")){const e=document.createElement("style");e.id="card-action-more-btn-style",e.innerHTML=`
|
|
1231
|
-
.card-action-more-btn:hover {
|
|
1232
|
-
background: #f5f6fa !important;
|
|
1233
|
-
color: #222 !important;
|
|
1234
|
-
box-shadow: 0 2px 8px 0 rgba(51,112,255,0.06);
|
|
1235
|
-
}
|
|
1236
|
-
`,document.head.appendChild(e)}var Cb={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},If={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},iN=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],cs={CSS:{},springs:{}};function Wr(e,t,n){return Math.min(Math.max(e,t),n)}function pi(e,t){return e.indexOf(t)>-1}function $c(e,t){return e.apply(null,t)}var gt={arr:function(e){return Array.isArray(e)},obj:function(e){return pi(Object.prototype.toString.call(e),"Object")},pth:function(e){return gt.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||gt.svg(e)},str:function(e){return typeof e=="string"},fnc:function(e){return typeof e=="function"},und:function(e){return typeof e>"u"},nil:function(e){return gt.und(e)||e===null},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return gt.hex(e)||gt.rgb(e)||gt.hsl(e)},key:function(e){return!Cb.hasOwnProperty(e)&&!If.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function wb(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map(function(n){return parseFloat(n)}):[]}function Sb(e,t){var n=wb(e),r=Wr(gt.und(n[0])?1:n[0],.1,100),o=Wr(gt.und(n[1])?100:n[1],.1,100),a=Wr(gt.und(n[2])?10:n[2],.1,100),i=Wr(gt.und(n[3])?0:n[3],.1,100),s=Math.sqrt(o/r),l=a/(2*Math.sqrt(o*r)),u=l<1?s*Math.sqrt(1-l*l):0,c=1,f=l<1?(l*s+-i)/u:-i+s;function v(b){var g=t?t*b/1e3:b;return l<1?g=Math.exp(-g*l*s)*(c*Math.cos(u*g)+f*Math.sin(u*g)):g=(c+f*g)*Math.exp(-g*s),b===0||b===1?b:1-g}function p(){var b=cs.springs[e];if(b)return b;for(var g=1/6,h=0,y=0;;)if(h+=g,v(h)===1){if(y++,y>=16)break}else y=0;var m=h*g*1e3;return cs.springs[e]=m,m}return t?v:p}function lN(e){return e===void 0&&(e=10),function(t){return Math.ceil(Wr(t,1e-6,1)*e)*(1/e)}}var sN=(function(){var e=11,t=1/(e-1);function n(c,f){return 1-3*f+3*c}function r(c,f){return 3*f-6*c}function o(c){return 3*c}function a(c,f,v){return((n(f,v)*c+r(f,v))*c+o(f))*c}function i(c,f,v){return 3*n(f,v)*c*c+2*r(f,v)*c+o(f)}function s(c,f,v,p,b){var g,h,y=0;do h=f+(v-f)/2,g=a(h,p,b)-c,g>0?v=h:f=h;while(Math.abs(g)>1e-7&&++y<10);return h}function l(c,f,v,p){for(var b=0;b<4;++b){var g=i(f,v,p);if(g===0)return f;var h=a(f,v,p)-c;f-=h/g}return f}function u(c,f,v,p){if(!(0<=c&&c<=1&&0<=v&&v<=1))return;var b=new Float32Array(e);if(c!==f||v!==p)for(var g=0;g<e;++g)b[g]=a(g*t,c,v);function h(y){for(var m=0,x=1,C=e-1;x!==C&&b[x]<=y;++x)m+=t;--x;var w=(y-b[x])/(b[x+1]-b[x]),S=m+w*t,k=i(S,c,v);return k>=.001?l(y,S,c,v):k===0?S:s(y,m,m+t,c,v)}return function(y){return c===f&&v===p||y===0||y===1?y:a(h(y),f,p)}}return u})(),Eb=(function(){var e={linear:function(){return function(r){return r}}},t={Sine:function(){return function(r){return 1-Math.cos(r*Math.PI/2)}},Expo:function(){return function(r){return r?Math.pow(2,10*r-10):0}},Circ:function(){return function(r){return 1-Math.sqrt(1-r*r)}},Back:function(){return function(r){return r*r*(3*r-2)}},Bounce:function(){return function(r){for(var o,a=4;r<((o=Math.pow(2,--a))-1)/11;);return 1/Math.pow(4,3-a)-7.5625*Math.pow((o*3-2)/22-r,2)}},Elastic:function(r,o){r===void 0&&(r=1),o===void 0&&(o=.5);var a=Wr(r,1,10),i=Wr(o,.1,2);return function(s){return s===0||s===1?s:-a*Math.pow(2,10*(s-1))*Math.sin((s-1-i/(Math.PI*2)*Math.asin(1/a))*(Math.PI*2)/i)}}},n=["Quad","Cubic","Quart","Quint"];return n.forEach(function(r,o){t[r]=function(){return function(a){return Math.pow(a,o+2)}}}),Object.keys(t).forEach(function(r){var o=t[r];e["easeIn"+r]=o,e["easeOut"+r]=function(a,i){return function(s){return 1-o(a,i)(1-s)}},e["easeInOut"+r]=function(a,i){return function(s){return s<.5?o(a,i)(s*2)/2:1-o(a,i)(s*-2+2)/2}},e["easeOutIn"+r]=function(a,i){return function(s){return s<.5?(1-o(a,i)(1-s*2))/2:(o(a,i)(s*2-1)+1)/2}}}),e})();function Mf(e,t){if(gt.fnc(e))return e;var n=e.split("(")[0],r=Eb[n],o=wb(e);switch(n){case"spring":return Sb(e,t);case"cubicBezier":return $c(sN,o);case"steps":return $c(lN,o);default:return $c(r,o)}}function kb(e){try{var t=document.querySelectorAll(e);return t}catch{return}}function Us(e,t){for(var n=e.length,r=arguments.length>=2?arguments[1]:void 0,o=[],a=0;a<n;a++)if(a in e){var i=e[a];t.call(r,i,a,e)&&o.push(i)}return o}function Xs(e){return e.reduce(function(t,n){return t.concat(gt.arr(n)?Xs(n):n)},[])}function Pp(e){return gt.arr(e)?e:(gt.str(e)&&(e=kb(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function Nf(e,t){return e.some(function(n){return n===t})}function Of(e){var t={};for(var n in e)t[n]=e[n];return t}function Fu(e,t){var n=Of(e);for(var r in e)n[r]=t.hasOwnProperty(r)?t[r]:e[r];return n}function Zs(e,t){var n=Of(e);for(var r in t)n[r]=gt.und(e[r])?t[r]:e[r];return n}function cN(e){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return t?"rgba("+t[1]+",1)":e}function uN(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(t,function(s,l,u,c){return l+l+u+u+c+c}),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),o=parseInt(r[1],16),a=parseInt(r[2],16),i=parseInt(r[3],16);return"rgba("+o+","+a+","+i+",1)"}function dN(e){var t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),n=parseInt(t[1],10)/360,r=parseInt(t[2],10)/100,o=parseInt(t[3],10)/100,a=t[4]||1;function i(v,p,b){return b<0&&(b+=1),b>1&&(b-=1),b<1/6?v+(p-v)*6*b:b<1/2?p:b<2/3?v+(p-v)*(2/3-b)*6:v}var s,l,u;if(r==0)s=l=u=o;else{var c=o<.5?o*(1+r):o+r-o*r,f=2*o-c;s=i(f,c,n+1/3),l=i(f,c,n),u=i(f,c,n-1/3)}return"rgba("+s*255+","+l*255+","+u*255+","+a+")"}function fN(e){if(gt.rgb(e))return cN(e);if(gt.hex(e))return uN(e);if(gt.hsl(e))return dN(e)}function to(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function mN(e){if(pi(e,"translate")||e==="perspective")return"px";if(pi(e,"rotate")||pi(e,"skew"))return"deg"}function Tu(e,t){return gt.fnc(e)?e(t.target,t.id,t.total):e}function Kr(e,t){return e.getAttribute(t)}function Pf(e,t,n){var r=to(t);if(Nf([n,"deg","rad","turn"],r))return t;var o=cs.CSS[t+n];if(!gt.und(o))return o;var a=100,i=document.createElement(e.tagName),s=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;s.appendChild(i),i.style.position="absolute",i.style.width=a+n;var l=a/i.offsetWidth;s.removeChild(i);var u=l*parseFloat(t);return cs.CSS[t+n]=u,u}function Ib(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?Pf(e,o,n):o}}function Rf(e,t){if(gt.dom(e)&&!gt.inp(e)&&(!gt.nil(Kr(e,t))||gt.svg(e)&&e[t]))return"attribute";if(gt.dom(e)&&Nf(iN,t))return"transform";if(gt.dom(e)&&t!=="transform"&&Ib(e,t))return"css";if(e[t]!=null)return"object"}function Mb(e){if(gt.dom(e)){for(var t=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,r=new Map,o;o=n.exec(t);)r.set(o[1],o[2]);return r}}function pN(e,t,n,r){var o=pi(t,"scale")?1:0+mN(t),a=Mb(e).get(t)||o;return n&&(n.transforms.list.set(t,a),n.transforms.last=t),r?Pf(e,a,r):a}function Af(e,t,n,r){switch(Rf(e,t)){case"transform":return pN(e,t,r,n);case"css":return Ib(e,t,n);case"attribute":return Kr(e,t);default:return e[t]||0}}function Df(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=to(e)||0,o=parseFloat(t),a=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+a+r;case"-":return o-a+r;case"*":return o*a+r}}function Nb(e,t){if(gt.col(e))return fN(e);if(/\s/g.test(e))return e;var n=to(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function jf(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function vN(e){return Math.PI*2*Kr(e,"r")}function gN(e){return Kr(e,"width")*2+Kr(e,"height")*2}function hN(e){return jf({x:Kr(e,"x1"),y:Kr(e,"y1")},{x:Kr(e,"x2"),y:Kr(e,"y2")})}function Ob(e){for(var t=e.points,n=0,r,o=0;o<t.numberOfItems;o++){var a=t.getItem(o);o>0&&(n+=jf(r,a)),r=a}return n}function bN(e){var t=e.points;return Ob(e)+jf(t.getItem(t.numberOfItems-1),t.getItem(0))}function Pb(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return vN(e);case"rect":return gN(e);case"line":return hN(e);case"polyline":return Ob(e);case"polygon":return bN(e)}}function yN(e){var t=Pb(e);return e.setAttribute("stroke-dasharray",t),t}function xN(e){for(var t=e.parentNode;gt.svg(t)&>.svg(t.parentNode);)t=t.parentNode;return t}function Rb(e,t){var n=t||{},r=n.el||xN(e),o=r.getBoundingClientRect(),a=Kr(r,"viewBox"),i=o.width,s=o.height,l=n.viewBox||(a?a.split(" "):[0,0,i,s]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:i,h:s,vW:l[2],vH:l[3]}}function CN(e,t){var n=gt.str(e)?kb(e)[0]:e,r=t||100;return function(o){return{property:o,el:n,svg:Rb(n),totalLength:Pb(n)*(r/100)}}}function wN(e,t,n){function r(c){c===void 0&&(c=0);var f=t+c>=1?t+c:0;return e.el.getPointAtLength(f)}var o=Rb(e.el,e.svg),a=r(),i=r(-1),s=r(1),l=n?1:o.w/o.vW,u=n?1:o.h/o.vH;switch(e.property){case"x":return(a.x-o.x)*l;case"y":return(a.y-o.y)*u;case"angle":return Math.atan2(s.y-i.y,s.x-i.x)*180/Math.PI}}function Rp(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=Nb(gt.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:gt.str(e)||t?r.split(n):[]}}function $f(e){var t=e?Xs(gt.arr(e)?e.map(Pp):Pp(e)):[];return Us(t,function(n,r,o){return o.indexOf(n)===r})}function Ab(e){var t=$f(e);return t.map(function(n,r){return{target:n,id:r,total:t.length,transforms:{list:Mb(n)}}})}function SN(e,t){var n=Of(t);if(/^spring/.test(n.easing)&&(n.duration=Sb(n.easing)),gt.arr(e)){var r=e.length,o=r===2&&!gt.obj(e[0]);o?e={value:e}:gt.fnc(t.duration)||(n.duration=t.duration/r)}var a=gt.arr(e)?e:[e];return a.map(function(i,s){var l=gt.obj(i)&&!gt.pth(i)?i:{value:i};return gt.und(l.delay)&&(l.delay=s?0:t.delay),gt.und(l.endDelay)&&(l.endDelay=s===a.length-1?t.endDelay:0),l}).map(function(i){return Zs(i,n)})}function EN(e){for(var t=Us(Xs(e.map(function(a){return Object.keys(a)})),function(a){return gt.key(a)}).reduce(function(a,i){return a.indexOf(i)<0&&a.push(i),a},[]),n={},r=function(a){var i=t[a];n[i]=e.map(function(s){var l={};for(var u in s)gt.key(u)?u==i&&(l.value=s[u]):l[u]=s[u];return l})},o=0;o<t.length;o++)r(o);return n}function kN(e,t){var n=[],r=t.keyframes;r&&(t=Zs(EN(r),t));for(var o in t)gt.key(o)&&n.push({name:o,tweens:SN(t[o],e)});return n}function IN(e,t){var n={};for(var r in e){var o=Tu(e[r],t);gt.arr(o)&&(o=o.map(function(a){return Tu(a,t)}),o.length===1&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function MN(e,t){var n;return e.tweens.map(function(r){var o=IN(r,t),a=o.value,i=gt.arr(a)?a[1]:a,s=to(i),l=Af(t.target,e.name,s,t),u=n?n.to.original:l,c=gt.arr(a)?a[0]:u,f=to(c)||to(l),v=s||f;return gt.und(i)&&(i=u),o.from=Rp(c,v),o.to=Rp(Df(i,c),v),o.start=n?n.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=Mf(o.easing,o.duration),o.isPath=gt.pth(a),o.isPathTargetInsideSVG=o.isPath&>.svg(t.target),o.isColor=gt.col(o.from.original),o.isColor&&(o.round=1),n=o,o})}var Db={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,o){if(r.list.set(t,n),t===r.last||o){var a="";r.list.forEach(function(i,s){a+=s+"("+i+") "}),e.style.transform=a}}};function jb(e,t){var n=Ab(e);n.forEach(function(r){for(var o in t){var a=Tu(t[o],r),i=r.target,s=to(a),l=Af(i,o,s,r),u=s||to(l),c=Df(Nb(a,u),l),f=Rf(i,o);Db[f](i,o,c,r.transforms,!0)}})}function NN(e,t){var n=Rf(e.target,t.name);if(n){var r=MN(t,e),o=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:o.end,delay:r[0].delay,endDelay:o.endDelay}}}function ON(e,t){return Us(Xs(e.map(function(n){return t.map(function(r){return NN(n,r)})})),function(n){return!gt.und(n)})}function $b(e,t){var n=e.length,r=function(a){return a.timelineOffset?a.timelineOffset:0},o={};return o.duration=n?Math.max.apply(Math,e.map(function(a){return r(a)+a.duration})):t.duration,o.delay=n?Math.min.apply(Math,e.map(function(a){return r(a)+a.delay})):t.delay,o.endDelay=n?o.duration-Math.max.apply(Math,e.map(function(a){return r(a)+a.duration-a.endDelay})):t.endDelay,o}var Ap=0;function PN(e){var t=Fu(Cb,e),n=Fu(If,e),r=kN(n,e),o=Ab(e.targets),a=ON(o,r),i=$b(a,n),s=Ap;return Ap++,Zs(t,{id:s,children:[],animatables:o,animations:a,duration:i.duration,delay:i.delay,endDelay:i.endDelay})}var Or=[],Fb=(function(){var e;function t(){!e&&(!Dp()||!bn.suspendWhenDocumentHidden)&&Or.length>0&&(e=requestAnimationFrame(n))}function n(o){for(var a=Or.length,i=0;i<a;){var s=Or[i];s.paused?(Or.splice(i,1),a--):(s.tick(o),i++)}e=i>0?requestAnimationFrame(n):void 0}function r(){bn.suspendWhenDocumentHidden&&(Dp()?e=cancelAnimationFrame(e):(Or.forEach(function(o){return o._onDocumentVisibility()}),Fb()))}return typeof document<"u"&&document.addEventListener("visibilitychange",r),t})();function Dp(){return!!document&&document.hidden}function bn(e){e===void 0&&(e={});var t=0,n=0,r=0,o,a=0,i=null;function s(m){var x=window.Promise&&new Promise(function(C){return i=C});return m.finished=x,x}var l=PN(e);s(l);function u(){var m=l.direction;m!=="alternate"&&(l.direction=m!=="normal"?"normal":"reverse"),l.reversed=!l.reversed,o.forEach(function(x){return x.reversed=l.reversed})}function c(m){return l.reversed?l.duration-m:m}function f(){t=0,n=c(l.currentTime)*(1/bn.speed)}function v(m,x){x&&x.seek(m-x.timelineOffset)}function p(m){if(l.reversePlayback)for(var x=a;x--;)v(m,o[x]);else for(var C=0;C<a;C++)v(m,o[C])}function b(m){for(var x=0,C=l.animations,w=C.length;x<w;){var S=C[x],k=S.animatable,E=S.tweens,O=E.length-1,M=E[O];O&&(M=Us(E,function(_){return m<_.end})[0]||M);for(var N=Wr(m-M.start-M.delay,0,M.duration)/M.duration,R=isNaN(N)?1:M.easing(N),A=M.to.strings,I=M.round,P=[],D=M.to.numbers.length,j=void 0,$=0;$<D;$++){var z=void 0,L=M.to.numbers[$],B=M.from.numbers[$]||0;M.isPath?z=wN(M.value,R*L,M.isPathTargetInsideSVG):z=B+R*(L-B),I&&(M.isColor&&$>2||(z=Math.round(z*I)/I)),P.push(z)}var F=A.length;if(!F)j=P[0];else{j=A[0];for(var H=0;H<F;H++){A[H];var W=A[H+1],V=P[H];isNaN(V)||(W?j+=V+W:j+=V+" ")}}Db[S.type](k.target,S.property,j,k.transforms),S.currentValue=j,x++}}function g(m){l[m]&&!l.passThrough&&l[m](l)}function h(){l.remaining&&l.remaining!==!0&&l.remaining--}function y(m){var x=l.duration,C=l.delay,w=x-l.endDelay,S=c(m);l.progress=Wr(S/x*100,0,100),l.reversePlayback=S<l.currentTime,o&&p(S),!l.began&&l.currentTime>0&&(l.began=!0,g("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,g("loopBegin")),S<=C&&l.currentTime!==0&&b(0),(S>=w&&l.currentTime!==x||!x)&&b(x),S>C&&S<w?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,g("changeBegin")),g("change"),b(S)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,g("changeComplete")),l.currentTime=Wr(S,0,x),l.began&&g("update"),m>=x&&(n=0,h(),l.remaining?(t=r,g("loopComplete"),l.loopBegan=!1,l.direction==="alternate"&&u()):(l.paused=!0,l.completed||(l.completed=!0,g("loopComplete"),g("complete"),!l.passThrough&&"Promise"in window&&(i(),s(l)))))}return l.reset=function(){var m=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed=m==="reverse",l.remaining=l.loop,o=l.children,a=o.length;for(var x=a;x--;)l.children[x].reset();(l.reversed&&l.loop!==!0||m==="alternate"&&l.loop===1)&&l.remaining++,b(l.reversed?l.duration:0)},l._onDocumentVisibility=f,l.set=function(m,x){return jb(m,x),l},l.tick=function(m){r=m,t||(t=r),y((r+(n-t))*bn.speed)},l.seek=function(m){y(c(m))},l.pause=function(){l.paused=!0,f()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Or.push(l),f(),Fb())},l.reverse=function(){u(),l.completed=!l.reversed,f()},l.restart=function(){l.reset(),l.play()},l.remove=function(m){var x=$f(m);Tb(x,l)},l.reset(),l.autoplay&&l.play(),l}function jp(e,t){for(var n=t.length;n--;)Nf(e,t[n].animatable.target)&&t.splice(n,1)}function Tb(e,t){var n=t.animations,r=t.children;jp(e,n);for(var o=r.length;o--;){var a=r[o],i=a.animations;jp(e,i),!i.length&&!a.children.length&&r.splice(o,1)}!n.length&&!r.length&&t.pause()}function RN(e){for(var t=$f(e),n=Or.length;n--;){var r=Or[n];Tb(t,r)}}function AN(e,t){t===void 0&&(t={});var n=t.direction||"normal",r=t.easing?Mf(t.easing):null,o=t.grid,a=t.axis,i=t.from||0,s=i==="first",l=i==="center",u=i==="last",c=gt.arr(e),f=parseFloat(c?e[0]:e),v=c?parseFloat(e[1]):0,p=to(c?e[1]:e)||0,b=t.start||0+(c?f:0),g=[],h=0;return function(y,m,x){if(s&&(i=0),l&&(i=(x-1)/2),u&&(i=x-1),!g.length){for(var C=0;C<x;C++){if(!o)g.push(Math.abs(i-C));else{var w=l?(o[0]-1)/2:i%o[0],S=l?(o[1]-1)/2:Math.floor(i/o[0]),k=C%o[0],E=Math.floor(C/o[0]),O=w-k,M=S-E,N=Math.sqrt(O*O+M*M);a==="x"&&(N=-O),a==="y"&&(N=-M),g.push(N)}h=Math.max.apply(Math,g)}r&&(g=g.map(function(A){return r(A/h)*h})),n==="reverse"&&(g=g.map(function(A){return a?A<0?A*-1:-A:Math.abs(h-A)}))}var R=c?(v-f)/h:f;return b+R*(Math.round(g[m]*100)/100)+p}}function DN(e){e===void 0&&(e={});var t=bn(e);return t.duration=0,t.add=function(n,r){var o=Or.indexOf(t),a=t.children;o>-1&&Or.splice(o,1);function i(v){v.passThrough=!0}for(var s=0;s<a.length;s++)i(a[s]);var l=Zs(n,Fu(If,e));l.targets=l.targets||e.targets;var u=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=gt.und(r)?u:Df(r,u),i(t),t.seek(l.timelineOffset);var c=bn(l);i(c),a.push(c);var f=$b(a,e);return t.delay=f.delay,t.endDelay=f.endDelay,t.duration=f.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t}bn.version="3.2.1";bn.speed=1;bn.suspendWhenDocumentHidden=!0;bn.running=Or;bn.remove=RN;bn.get=Af;bn.set=jb;bn.convertPx=Pf;bn.path=CN;bn.setDashoffset=yN;bn.stagger=AN;bn.timeline=DN;bn.easing=Mf;bn.penner=Eb;bn.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};function jN(e,t){const n=at(new Map),r=at({});return Yt(()=>{if(!e||e.length===0)return;r.current={};let o=0;return e.forEach((a,i)=>{const s=document.getElementById(`card-anim-${a}`);if(s){const l=bn({targets:s,opacity:[1,0],rotateY:[0,90],scale:[1,.8],duration:500,delay:i*60,easing:"easeInOutCubic",complete:()=>{r.current[a]=!0,o+=1,o===e.length&&t(e)}});n.current.set(a,l)}}),()=>{n.current.forEach(a=>a.pause()),n.current.clear()}},[e.join(",")]),{getCardProps:o=>({id:`card-anim-${o.id}`,style:o.removing?{willChange:"opacity, transform",pointerEvents:"none"}:{}})}}const $N=320,FN=200,Fc=48,TN=({cards:e,options:t,styles:n,minCardWidth:r,minCardHeight:o,rowHeight:a=320,viewBehavior:i,cardType:s,allowMultiSelect:l,selectedIds:u=[],onSelectChange:c,onRemoveCard:f,onRemoveCards:v,onCardAnimationComplete:p,pendingIds:b,addingIds:g,onCardAddAnimationComplete:h,viewId:y,total:m,requestPagesize:x,eventsEmit:C,viewPageSize:w})=>{const S=Array.isArray(e)?e:[],k=aN(S,s,t),E=at(null),[O,M]=Rt({width:0,height:0}),[N,R]=Rt(1),[A,I]=Rt(w);Yt(()=>{typeof w=="number"&&w>0&&I(w)},[w]);const[P,D]=Rt(new Set);Yt(()=>{D(new Set)},[y]);const j=i||"pagination",[$,z]=Rt([]),L=at({});Yt(()=>{const oe=S.filter(se=>se.removing).map(se=>se.id);oe.length>0&&$.length===0&&(z(oe),L.current={},oe.forEach(se=>{L.current[se]=!1}),console.log("[\u6279\u91CF\u52A8\u753B\u9501\u5B9A] \u65B0\u4E00\u8F6EremovingIds:",oe))},[S,$]);const{getCardProps:B}=jN($,oe=>{$.length>0&&p&&(console.log("[\u6279\u91CF\u52A8\u753B\u5B8C\u6210] \u4E00\u6B21\u6027\u79FB\u9664:",oe),p([...oe]),z([]))});Yt(()=>{const oe=new window.ResizeObserver(se=>{for(let ke of se){const ge={width:ke.contentRect.width,height:ke.contentRect.height};M(ie=>Math.abs(ie.width-ge.width)>10||Math.abs(ie.height-ge.height)>10?(console.log("[DynamicCards] \u68C0\u6D4B\u5230\u663E\u8457\u5C3A\u5BF8\u53D8\u5316\uFF0C\u66F4\u65B0\u5C3A\u5BF8"),ge):ie)}});return E.current&&oe.observe(E.current),()=>oe.disconnect()},[]);const F=r||$N,H=o||FN,W=Math.max(O.width,F*2),V=Math.max(O.height,H*2),_=2,q=6,U=Math.floor(W/F),Q=Math.max(_,Math.min(q,U)),te=j==="pagination"?V-Fc:V,X=24,Y=24,T=Math.max(1,Math.floor((te+Y)/(H+Y))),Z=typeof A=="number"&&A>0?A:Q*T,J=m||k.length,ne=Math.ceil(J/Z),ae=k.slice((N-1)*Z,N*Z),le=H,be=a,Ce=oe=>{var ke,ge;let se=H;return((ke=oe.data)==null?void 0:ke.datasourceType)==="DataTable"?se=Math.max(se,280):(ge=oe.data)!=null&&ge.description&&oe.data.description.length>50&&(se=Math.max(se,320)),se};console.log("[DynamicCards] \u5206\u9875\u8BA1\u7B97:",{behavior:j,containerSize:{width:W,height:V},availableHeight:te,columnGap:X,rowGap:Y,cols:Q,rows:T,pageSize:Z,totalPages:ne,cardHeight:le,actualCardHeight:be,minH:H,PAGINATION_HEIGHT:Fc,showPagination:!0,fixedPageSize:A,viewPageSize:w,cardListLength:k.length,effectiveTotal:J}),Yt(()=>{ne>0&&N>ne&&R(ne)},[ne,N]);const de=Pt(oe=>{if(R(oe),m&&x&&y&&C){const se=(oe-1)*Z,ke=Math.floor(se/x)+1;(!P.has(ke)||se>=k.length)&&(D(ge=>{const ie=new Set(ge);return ie.add(ke),ie}),C("pagination:request_merge_data",{viewId:y,request:{pageNo:ke,pageSize:x}},void 0))}},[m,x,y,Z,k.length,C,P]);Yt(()=>{k.length>0&&ne>0&&N>ne&&(console.log("[DynamicCards] \u5361\u7247\u6570\u91CF\u53D8\u5316\uFF0C\u91CD\u7F6E\u9875\u7801:",{page:N,totalPages:ne,cardListLength:k.length}),R(1))},[k.length,ne,N]),Yt(()=>{k.length===0&&N!==1&&(console.log("[DynamicCards] \u6570\u636E\u4E3A\u7A7A\uFF0C\u91CD\u7F6E\u9875\u7801"),R(1))},[k.length,N]);const Se=oe=>oe.removing?"removing-card":g!=null&&g.includes(oe.id)?"adding-card":"";return j==="scroll"?G.jsxs(G.Fragment,{children:[G.jsx("style",{children:`
|
|
1237
|
-
.removing-card {
|
|
1238
|
-
animation: card-flip-out 0.5s forwards;
|
|
1239
|
-
will-change: transform, opacity;
|
|
1240
|
-
}
|
|
1241
|
-
@keyframes card-flip-out {
|
|
1242
|
-
0% { opacity: 1; transform: rotateY(0deg) scale(1); }
|
|
1243
|
-
100% { opacity: 0; transform: rotateY(90deg) scale(0.8); }
|
|
1244
|
-
}
|
|
1245
|
-
.adding-card {
|
|
1246
|
-
animation: card-slide-in 0.6s ease-out forwards;
|
|
1247
|
-
will-change: transform, opacity;
|
|
1248
|
-
}
|
|
1249
|
-
@keyframes card-slide-in {
|
|
1250
|
-
0% {
|
|
1251
|
-
opacity: 0;
|
|
1252
|
-
transform: translateY(-20px) scale(0.95);
|
|
1253
|
-
}
|
|
1254
|
-
100% {
|
|
1255
|
-
opacity: 1;
|
|
1256
|
-
transform: translateY(0) scale(1);
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
`}),G.jsx("div",{ref:E,style:{width:"100%",height:"100%",position:"relative",overflow:"auto",...n},children:G.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${Q}, 1fr)`,gridAutoRows:"min-content",columnGap:24,rowGap:36,padding:"12px",minHeight:"100%"},children:k.map((oe,se)=>{const ke=u.includes(oe.id);return typeof oe=="object"&&"removing"in oe&&oe.removing,G.jsxs("div",{...B(oe),className:`${ke?"selected-card":""} ${Se(oe)}`,style:{height:"auto",minHeight:Ce(oe),width:"100%",boxSizing:"border-box",position:"relative",border:ke?"1px solid #2563eb":"2px solid transparent",borderRadius:10,transition:"border 0.2s"},onAnimationEnd:ge=>{ge.animationName==="card-slide-in"&&(g!=null&&g.includes(oe.id))&&(h==null||h(oe.id)),ge.animationName==="card-flip-out"&&oe.removing&&(console.log("[DynamicCards] \u5220\u9664\u52A8\u753B\u5B8C\u6210\uFF0C\u8C03\u7528 onCardAnimationComplete:",oe.id),p==null||p(oe.id))},children:[(b==null?void 0:b.includes(oe.id))&&G.jsx("div",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",background:"rgba(255,255,255,0.6)",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"all",borderRadius:10,fontSize:18,color:"#2563eb",fontWeight:500},children:G.jsx("span",{children:"\u64CD\u4F5C\u4E2D..."})}),l&&G.jsx("input",{type:"checkbox",checked:ke,className:"rounded cursor-pointer",onChange:ge=>c&&c(oe.id,ge.target.checked),style:{position:"absolute",top:20,right:25,zIndex:2}}),oe.render?oe.render(oe):null]},oe.id)})})})]}):G.jsxs("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",...n},children:[G.jsx("style",{children:`
|
|
1260
|
-
.removing-card {
|
|
1261
|
-
animation: card-flip-out 0.5s forwards;
|
|
1262
|
-
will-change: transform, opacity;
|
|
1263
|
-
}
|
|
1264
|
-
@keyframes card-flip-out {
|
|
1265
|
-
0% { opacity: 1; transform: rotateY(0deg) scale(1); }
|
|
1266
|
-
100% { opacity: 0; transform: rotateY(90deg) scale(0.8); }
|
|
1267
|
-
}
|
|
1268
|
-
.adding-card {
|
|
1269
|
-
animation: card-slide-in 0.6s ease-out forwards;
|
|
1270
|
-
will-change: transform, opacity;
|
|
1271
|
-
}
|
|
1272
|
-
@keyframes card-slide-in {
|
|
1273
|
-
0% {
|
|
1274
|
-
opacity: 0;
|
|
1275
|
-
transform: translateY(-20px) scale(0.95);
|
|
1276
|
-
}
|
|
1277
|
-
100% {
|
|
1278
|
-
opacity: 1;
|
|
1279
|
-
transform: translateY(0) scale(1);
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
`}),G.jsx("div",{ref:E,style:{flex:1,overflow:"auto",position:"relative"},children:G.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${Q}, 1fr)`,gridAutoRows:`${be}px`,columnGap:`${X}px`,rowGap:`${Y}px`,padding:"16px"},children:ae.map(oe=>{const se=oe.removing,ke=g==null?void 0:g.includes(oe.id);return G.jsxs("div",{className:`${se?"removing-card":""} ${ke?"adding-card":""}`,style:{height:"auto",minHeight:`${Ce(oe)}px`,position:"relative",display:"flex",flexDirection:"column"},onAnimationEnd:ge=>{ge.animationName==="card-flip-out"&&se&&(console.log("[DynamicCards] \u5206\u9875\u6A21\u5F0F\u5220\u9664\u52A8\u753B\u5B8C\u6210\uFF0C\u8C03\u7528 onCardAnimationComplete:",oe.id),p==null||p(oe.id)),ge.animationName==="card-slide-in"&&ke&&(console.log("[DynamicCards] \u5206\u9875\u6A21\u5F0F\u65B0\u589E\u52A8\u753B\u5B8C\u6210\uFF0C\u8C03\u7528 onCardAddAnimationComplete:",oe.id),h==null||h(oe.id))},children:[(b==null?void 0:b.includes(oe.id))&&G.jsx("div",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",background:"rgba(255,255,255,0.6)",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"all",borderRadius:10,fontSize:18,color:"#2563eb",fontWeight:500},children:G.jsx("span",{children:"\u64CD\u4F5C\u4E2D..."})}),oe.render?oe.render(oe):null]},oe.id)})})}),G.jsx("div",{style:{height:Fc,display:"flex",justifyContent:"end",alignItems:"center",background:"rgba(255,255,255,0.98)",borderTop:"1px solid rgba(0,0,0,0.06)",backdropFilter:"blur(8px)",flexShrink:0,padding:"0 16px"},children:G.jsx(fh,{current:N,pageSize:Z,total:J,onChange:de,onPageSizeChange:oe=>{console.log("[DynamicCards] \u7528\u6237\u5207\u6362\u6BCF\u9875\u6761\u6570:",oe,"\u5F53\u524DfixedPageSize:",A),R(1),I(oe),console.log("[DynamicCards] \u8BBE\u7F6E\u65B0\u7684fixedPageSize:",oe),m&&x&&y&&C&&(D(new Set),C("pagination:request_merge_data",{viewId:y,request:{pageNo:1,pageSize:x}},void 0)),C==null||C("pagination:pageSizeChange",{viewId:y,pageSize:oe},void 0)},showSizeChanger:!0,pageSizeOptions:[6,12,24,48],size:"md",showPageNumbers:!0})})]})},Bb=({activeNode:e,innerData:t,fuzzyValue:n,selectedIds:r,pendingIds:o,addingIds:a,onCardSelectChange:i,onCardAnimationComplete:s,onRemoveCard:l,onRemoveCards:u,onCardAddAnimationComplete:c,onTableRowAnimationComplete:f,onTableRowAddAnimationComplete:v,onEventsEmit:p,styles:b,CustomComponents:g,subTablePendingIds:h,onSubTableRowAnimationComplete:y,subTableConfig:m,viewId:x,total:C,requestPagesize:w,viewPageSize:S})=>{var k,E,O,M,N;if(!e||!e.type)return G.jsx("div",{className:"text-gray-400 p-4",children:"\u8BF7\u9009\u62E9\u5185\u5BB9"});if(console.log("[ContentRenderer] \u6E32\u67D3\u72B6\u6001:",{activeNodeType:e==null?void 0:e.type,activeNodeId:e==null?void 0:e.id,innerDataLength:t==null?void 0:t.length,innerData:t,isEmptyData:e.type!=="form"&&(!Array.isArray(t)||t.length===0)}),e.type!=="form"&&(!t||!Array.isArray(t)||t.length===0)){console.log("[ContentRenderer] \u6570\u636E\u4E3A\u7A7A\uFF0C\u6E32\u67D3\u7A7A\u6570\u636E\u7EC4\u4EF6\uFF0CinnerData:",t);const R=(g==null?void 0:g.EmptyData)||kI;return G.jsx(R,{viewType:e.type,cardType:e.cardType})}switch(e.type){case"table":return console.log("[ContentRenderer] \u6E32\u67D3\u8868\u683C\uFF0C\u4F20\u9012\u5206\u9875\u53C2\u6570:",{viewId:x,total:C,requestPagesize:w,viewPageSize:e==null?void 0:e.viewPageSize,activeNode:e,activeNodeKeys:Object.keys(e||{}),hasViewPageSize:"viewPageSize"in(e||{}),viewPageSizeValue:e==null?void 0:e.viewPageSize}),G.jsx(G0,{columns:e.columns||[],dataSource:t,eventsEmit:(R,A)=>p(R,A,void 0),allowMultiSelect:e.allowMultiSelect,viewBehavior:e.viewBehavior,size:e.size||"md",isSubTable:!1,subTablePendingIds:h,onSubTableRowAnimationComplete:y,onRowAnimationComplete:f,addingIds:Array.from(a),onRowAddAnimationComplete:v,subTableConfig:m,viewId:x,total:C,requestPagesize:w,viewPageSize:e==null?void 0:e.viewPageSize});case"form":return console.log("\u{1F50D} ContentRenderer \u6E32\u67D3\u8868\u5355\uFF0C\u4F20\u9012 eventsEmit:",{hasOnEventsEmit:typeof p=="function",onEventsEmitType:typeof p,activeNodeId:e.id}),G.jsx("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:G.jsx(K0,{ref:R=>{R&&typeof p=="function"&&(console.log("\u{1F517} DynamicForm ref \u5DF2\u8BBE\u7F6E\uFF0C\u53D1\u9001 form:ready \u4E8B\u4EF6"),p("form:ready",{formName:e.id||"",formRef:R},void 0))},formItems:((k=t==null?void 0:t[0])==null?void 0:k.fields)||[],initialValues:((E=t==null?void 0:t[0])==null?void 0:E.defaultValues)||{},eventsEmit:(R,A)=>{console.log("\u{1F4E4} DynamicForm \u8C03\u7528 eventsEmit:",R,A),p(R,A,void 0)},styles:b,size:e.size||"md",formConfig:e.formConfig,title:(O=t==null?void 0:t[0])==null?void 0:O.title,description:(M=t==null?void 0:t[0])==null?void 0:M.description,formWidth:e.formWidth},"stable-form-key")});case"card":{const R=e.cardType||"default",A=!!e.allowMultiSelect;return G.jsx(TN,{cards:t,cardType:R,allowMultiSelect:A,selectedIds:r,onSelectChange:i,onCardAnimationComplete:s,onRemoveCard:l,onRemoveCards:u,pendingIds:Array.from(o),addingIds:Array.from(a),onCardAddAnimationComplete:c,rowHeight:e.rowHeight,viewPageSize:S||(e==null?void 0:e.viewPageSize),options:{onAction:(I,P)=>p(`card_${I}`,P,void 0),onCardClick:(I,P)=>p("card_clicked",{cardId:I.id,cardType:R,cardData:I,event:{clientX:P.clientX,clientY:P.clientY,target:P.target,timestamp:Date.now()}},void 0),onCardDoubleClick:(I,P)=>p("card_double_clicked",{cardId:I.id,cardType:R,cardData:I,event:{clientX:P.clientX,clientY:P.clientY,target:P.target,timestamp:Date.now()}},void 0)},viewBehavior:e.viewBehavior,viewId:x,total:C,requestPagesize:w,eventsEmit:p})}case"markdown":return G.jsx("div",{className:"p-4 prose max-w-none",children:G.jsx("div",{dangerouslySetInnerHTML:{__html:((N=t==null?void 0:t[0])==null?void 0:N.content)||""}})});default:return G.jsx("div",{className:"text-gray-400 p-4",children:"\u672A\u77E5\u7C7B\u578B"})}};ue.memo(Bb);var $p={exports:{}};/*!
|
|
1283
|
-
Copyright (c) 2018 Jed Watson.
|
|
1284
|
-
Licensed under the MIT License (MIT), see
|
|
1285
|
-
http://jedwatson.github.io/classnames
|
|
1286
|
-
*/var Fp;function BN(){return Fp||(Fp=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(a=o(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var s in a)t.call(a,s)&&a[s]&&(i=o(i,s));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})($p)),$p.exports}var zN=BN();const Qe=gI(zN);function ht(){return ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ht.apply(null,arguments)}function xt(e){"@babel/helpers - typeof";return xt=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},xt(e)}var HN=Symbol.for("react.element"),LN=Symbol.for("react.transitional.element"),VN=Symbol.for("react.fragment");function zb(e){return e&&xt(e)==="object"&&(e.$$typeof===HN||e.$$typeof===LN)&&e.type===VN}function oo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ue.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(oo(r)):zb(r)&&r.props?n=n.concat(oo(r.props.children,t)):n.push(r))}),n}var Bu={},WN=function(e){};function KN(e,t){}function YN(e,t){}function qN(){Bu={}}function Hb(e,t,n){!t&&!Bu[n]&&(e(!1,n),Bu[n]=!0)}function fn(e,t){Hb(KN,e,t)}function GN(e,t){Hb(YN,e,t)}fn.preMessage=WN;fn.resetWarned=qN;fn.noteOnce=GN;function UN(e,t){if(xt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Lb(e){var t=UN(e,"string");return xt(t)=="symbol"?t:t+""}function K(e,t,n){return(t=Lb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tp(Object(n),!0).forEach(function(r){K(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ki(e){return e instanceof HTMLElement||e instanceof SVGElement}function XN(e){return e&&xt(e)==="object"&&ki(e.nativeElement)?e.nativeElement:ki(e)?e:null}function Ll(e){var t=XN(e);if(t)return t;if(e instanceof ue.Component){var n;return(n=Cm.findDOMNode)===null||n===void 0?void 0:n.call(Cm,e)}return null}var Bp={exports:{}},Zt={};/**
|
|
1287
|
-
* @license React
|
|
1288
|
-
* react-is.production.min.js
|
|
1289
|
-
*
|
|
1290
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1291
|
-
*
|
|
1292
|
-
* This source code is licensed under the MIT license found in the
|
|
1293
|
-
* LICENSE file in the root directory of this source tree.
|
|
1294
|
-
*/var zp;function ZN(){if(zp)return Zt;zp=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function g(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case n:case o:case r:case u:case c:return h;default:switch(h=h&&h.$$typeof,h){case s:case i:case l:case v:case f:case a:return h;default:return y}}case t:return y}}}return Zt.ContextConsumer=i,Zt.ContextProvider=a,Zt.Element=e,Zt.ForwardRef=l,Zt.Fragment=n,Zt.Lazy=v,Zt.Memo=f,Zt.Portal=t,Zt.Profiler=o,Zt.StrictMode=r,Zt.Suspense=u,Zt.SuspenseList=c,Zt.isAsyncMode=function(){return!1},Zt.isConcurrentMode=function(){return!1},Zt.isContextConsumer=function(h){return g(h)===i},Zt.isContextProvider=function(h){return g(h)===a},Zt.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},Zt.isForwardRef=function(h){return g(h)===l},Zt.isFragment=function(h){return g(h)===n},Zt.isLazy=function(h){return g(h)===v},Zt.isMemo=function(h){return g(h)===f},Zt.isPortal=function(h){return g(h)===t},Zt.isProfiler=function(h){return g(h)===o},Zt.isStrictMode=function(h){return g(h)===r},Zt.isSuspense=function(h){return g(h)===u},Zt.isSuspenseList=function(h){return g(h)===c},Zt.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===o||h===r||h===u||h===c||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===v||h.$$typeof===f||h.$$typeof===a||h.$$typeof===i||h.$$typeof===l||h.$$typeof===b||h.getModuleId!==void 0)},Zt.typeOf=g,Zt}var Hp;function QN(){return Hp||(Hp=1,Bp.exports=ZN()),Bp.exports}var Tc=QN();function Qs(e,t,n){var r=d.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var JN=Number(bx.split(".")[0]),Ff=function(e,t){typeof e=="function"?e(t):xt(e)==="object"&&e&&"current"in e&&(e.current=t)},La=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(o){t.forEach(function(a){Ff(a,o)})}},Va=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qs(function(){return La.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(a,i){return a!==o[i]})})},Io=function(e){var t,n;if(!e)return!1;if(Tf(e)&&JN>=19)return!0;var r=Tc.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==Tc.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==Tc.ForwardRef)};function Tf(e){return Cx(e)&&!zb(e)}var _N=function(e){return Tf(e)&&Io(e)},Jo=function(e){if(e&&Tf(e)){var t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null},zu=d.createContext(null);function eO(e){var t=e.children,n=e.onBatchResize,r=d.useRef(0),o=d.useRef([]),a=d.useContext(zu),i=d.useCallback(function(s,l,u){r.current+=1;var c=r.current;o.current.push({size:s,element:l,data:u}),Promise.resolve().then(function(){c===r.current&&(n==null||n(o.current),o.current=[])}),a==null||a(s,l,u)},[n,a]);return d.createElement(zu.Provider,{value:i},t)}var Vb=(function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,a){return o[0]===n?(r=a,!0):!1}),r}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,a=this.__entries__;o<a.length;o++){var i=a[o];n.call(r,i[1],i[0])}},t})()})(),Hu=typeof window<"u"&&typeof document<"u"&&window.document===document,us=(function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),tO=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(us):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),nO=2;function rO(e,t){var n=!1,r=!1,o=0;function a(){n&&(n=!1,e()),r&&s()}function i(){tO(a)}function s(){var l=Date.now();if(n){if(l-o<nO)return;r=!0}else n=!0,r=!1,setTimeout(i,t);o=l}return s}var oO=20,aO=["top","right","bottom","left","width","height","size","weight"],iO=typeof MutationObserver<"u",lO=(function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=rO(this.refresh.bind(this),oO)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Hu||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),iO?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Hu||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=aO.some(function(a){return!!~r.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),Wb=(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e}),Ma=(function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||us}),Kb=Js(0,0,0,0);function ds(e){return parseFloat(e)||0}function Lp(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,o){var a=e["border-"+o+"-width"];return r+ds(a)},0)}function sO(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var a=o[r],i=e["padding-"+a];n[a]=ds(i)}return n}function cO(e){var t=e.getBBox();return Js(0,0,t.width,t.height)}function uO(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Kb;var r=Ma(e).getComputedStyle(e),o=sO(r),a=o.left+o.right,i=o.top+o.bottom,s=ds(r.width),l=ds(r.height);if(r.boxSizing==="border-box"&&(Math.round(s+a)!==t&&(s-=Lp(r,"left","right")+a),Math.round(l+i)!==n&&(l-=Lp(r,"top","bottom")+i)),!fO(e)){var u=Math.round(s+a)-t,c=Math.round(l+i)-n;Math.abs(u)!==1&&(s-=u),Math.abs(c)!==1&&(l-=c)}return Js(o.left,o.top,s,l)}var dO=(function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Ma(e).SVGGraphicsElement}:function(e){return e instanceof Ma(e).SVGElement&&typeof e.getBBox=="function"}})();function fO(e){return e===Ma(e).document.documentElement}function mO(e){return Hu?dO(e)?cO(e):uO(e):Kb}function pO(e){var t=e.x,n=e.y,r=e.width,o=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(a.prototype);return Wb(i,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),i}function Js(e,t,n,r){return{x:e,y:t,width:n,height:r}}var vO=(function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Js(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=mO(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e})(),gO=(function(){function e(t,n){var r=pO(n);Wb(this,{target:t,contentRect:r})}return e})(),hO=(function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new Vb,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Ma(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new vO(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Ma(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new gO(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e})(),Yb=typeof WeakMap<"u"?new WeakMap:new Vb,qb=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=lO.getInstance(),r=new hO(t,n,this);Yb.set(this,r)}return e})();["observe","unobserve","disconnect"].forEach(function(e){qb.prototype[e]=function(){var t;return(t=Yb.get(this))[e].apply(t,arguments)}});var bO=(function(){return typeof us.ResizeObserver<"u"?us.ResizeObserver:qb})(),bo=new Map;function yO(e){e.forEach(function(t){var n,r=t.target;(n=bo.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var Gb=new bO(yO);function xO(e,t){bo.has(e)||(bo.set(e,new Set),Gb.observe(e)),bo.get(e).add(t)}function CO(e,t){bo.has(e)&&(bo.get(e).delete(t),bo.get(e).size||(Gb.unobserve(e),bo.delete(e)))}function Sn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lb(r.key),r)}}function En(e,t,n){return t&&Vp(e.prototype,t),n&&Vp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ii(e,t){return Ii=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ii(e,t)}function Ur(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&&Ii(e,t)}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Mi(e)}function Bf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Bf=function(){return!!e})()}function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wO(e,t){if(t&&(xt(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qe(e)}function Xr(e){var t=Bf();return function(){var n,r=Mi(e);if(t){var o=Mi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wO(this,n)}}var SO=(function(e){Ur(n,e);var t=Xr(n);function n(){return Sn(this,n),t.apply(this,arguments)}return En(n,[{key:"render",value:function(){return this.props.children}}]),n})(d.Component);function EO(e,t){var n=e.children,r=e.disabled,o=d.useRef(null),a=d.useRef(null),i=d.useContext(zu),s=typeof n=="function",l=s?n(o):n,u=d.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),c=!s&&d.isValidElement(l)&&Io(l),f=c?Jo(l):null,v=Va(f,o),p=function(){var h;return Ll(o.current)||(o.current&&xt(o.current)==="object"?Ll((h=o.current)===null||h===void 0?void 0:h.nativeElement):null)||Ll(a.current)};d.useImperativeHandle(t,function(){return p()});var b=d.useRef(e);b.current=e;var g=d.useCallback(function(h){var y=b.current,m=y.onResize,x=y.data,C=h.getBoundingClientRect(),w=C.width,S=C.height,k=h.offsetWidth,E=h.offsetHeight,O=Math.floor(w),M=Math.floor(S);if(u.current.width!==O||u.current.height!==M||u.current.offsetWidth!==k||u.current.offsetHeight!==E){var N={width:O,height:M,offsetWidth:k,offsetHeight:E};u.current=N;var R=k===Math.round(w)?w:k,A=E===Math.round(S)?S:E,I=re(re({},N),{},{offsetWidth:R,offsetHeight:A});i==null||i(I,h,x),m&&Promise.resolve().then(function(){m(I,h)})}},[]);return d.useEffect(function(){var h=p();return h&&!r&&xO(h,g),function(){return CO(h,g)}},[o.current,r]),d.createElement(SO,{ref:a},c?d.cloneElement(l,{ref:v}):l)}var kO=d.forwardRef(EO),IO="rc-observer-key";function MO(e,t){var n=e.children,r=typeof n=="function"?[n]:oo(n);return r.map(function(o,a){var i=(o==null?void 0:o.key)||"".concat(IO,"-").concat(a);return d.createElement(kO,ht({},e,{key:i,ref:a===0?t:void 0}),o)})}var _o=d.forwardRef(MO);_o.Collection=eO;function Lu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function NO(e){if(Array.isArray(e))return Lu(e)}function Ub(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zf(e,t){if(e){if(typeof e=="string")return Lu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lu(e,t):void 0}}function OO(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1295
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rt(e){return NO(e)||Ub(e)||zf(e)||OO()}var Xb=function(e){return+setTimeout(e,16)},Zb=function(e){return clearTimeout(e)};typeof window<"u"&&"requestAnimationFrame"in window&&(Xb=function(e){return window.requestAnimationFrame(e)},Zb=function(e){return window.cancelAnimationFrame(e)});var Wp=0,Hf=new Map;function Qb(e){Hf.delete(e)}var un=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Wp+=1;var n=Wp;function r(o){if(o===0)Qb(n),e();else{var a=Xb(function(){r(o-1)});Hf.set(n,a)}}return r(t),n};un.cancel=function(e){var t=Hf.get(e);return Qb(e),Zb(t)};function Jb(e){if(Array.isArray(e))return e}function PO(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}function _b(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1296
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ee(e,t){return Jb(e)||PO(e,t)||zf(e,t)||_b()}function Ni(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 hr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function RO(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Kp="data-rc-order",Yp="data-rc-priority",AO="rc-util-key",Vu=new Map;function ey(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):AO}function _s(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function DO(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Lf(e){return Array.from((Vu.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function ty(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!hr())return null;var n=t.csp,r=t.prepend,o=t.priority,a=o===void 0?0:o,i=DO(r),s=i==="prependQueue",l=document.createElement("style");l.setAttribute(Kp,i),s&&a&&l.setAttribute(Yp,"".concat(a)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var u=_s(t),c=u.firstChild;if(r){if(s){var f=(t.styles||Lf(u)).filter(function(v){if(!["prepend","prependQueue"].includes(v.getAttribute(Kp)))return!1;var p=Number(v.getAttribute(Yp)||0);return a>=p});if(f.length)return u.insertBefore(l,f[f.length-1].nextSibling),l}u.insertBefore(l,c)}else u.appendChild(l);return l}function ny(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=_s(t);return(t.styles||Lf(n)).find(function(r){return r.getAttribute(ey(t))===e})}function Oi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ny(e,t);if(n){var r=_s(t);r.removeChild(n)}}function jO(e,t){var n=Vu.get(e);if(!n||!RO(document,n)){var r=ty("",t),o=r.parentNode;Vu.set(e,o),e.removeChild(r)}}function no(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_s(n),o=Lf(r),a=re(re({},n),{},{styles:o});jO(r,a);var i=ny(t,a);if(i){var s,l;if((s=a.csp)!==null&&s!==void 0&&s.nonce&&i.nonce!==((l=a.csp)===null||l===void 0?void 0:l.nonce)){var u;i.nonce=(u=a.csp)===null||u===void 0?void 0:u.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var c=ty(e,a);return c.setAttribute(ey(a),t),c}function $O(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function qt(e,t){if(e==null)return{};var n,r,o=$O(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Pi(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(a,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(a);if(fn(!l,"Warning: There may be circular references"),l)return!1;if(a===i)return!0;if(n&&s>1)return!1;r.add(a);var u=s+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var c=0;c<a.length;c++)if(!o(a[c],i[c],u))return!1;return!0}if(a&&i&&xt(a)==="object"&&xt(i)==="object"){var f=Object.keys(a);return f.length!==Object.keys(i).length?!1:f.every(function(v){return o(a[v],i[v],u)})}return!1}return o(e,t)}var FO="%";function Wu(e){return e.join(FO)}var TO=(function(){function e(t){Sn(this,e),K(this,"instanceId",void 0),K(this,"cache",new Map),K(this,"extracted",new Set),this.instanceId=t}return En(e,[{key:"get",value:function(t){return this.opGet(Wu(t))}},{key:"opGet",value:function(t){return this.cache.get(t)||null}},{key:"update",value:function(t,n){return this.opUpdate(Wu(t),n)}},{key:"opUpdate",value:function(t,n){var r=this.cache.get(t),o=n(r);o===null?this.cache.delete(t):this.cache.set(t,o)}}]),e})(),Na="data-token-hash",Rr="data-css-hash",yo="__cssinjs_instance__";function BO(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Rr,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[yo]=o[yo]||e,o[yo]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(Rr,"]"))).forEach(function(o){var a=o.getAttribute(Rr);if(r[a]){if(o[yo]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else r[a]=!0})}return new TO(e)}var Ji=d.createContext({hashPriority:"low",cache:BO(),defaultCache:!0});function zO(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Vf=(function(){function e(){Sn(this,e),K(this,"cache",void 0),K(this,"keys",void 0),K(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return En(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(t){var n,r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return t.forEach(function(i){if(!a)a=void 0;else{var s;a=(s=a)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(i)}}),(n=a)!==null&&n!==void 0&&n.value&&o&&(a.value[1]=this.cacheCallTimes++),(r=a)===null||r===void 0?void 0:r.value}},{key:"get",value:function(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}},{key:"has",value:function(t){return!!this.internalGet(t)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(l,u){var c=Ee(l,2),f=c[1];return r.internalGet(u)[1]<f?[u,r.internalGet(u)[1]]:l},[this.keys[0],this.cacheCallTimes]),a=Ee(o,1),i=a[0];this.delete(i)}this.keys.push(t)}var s=this.cache;t.forEach(function(l,u){if(u===t.length-1)s.set(l,{value:[n,r.cacheCallTimes++]});else{var c=s.get(l);c?c.map||(c.map=new Map):s.set(l,{map:new Map}),s=s.get(l).map}})}},{key:"deleteByPath",value:function(t,n){var r=t.get(n[0]);if(n.length===1){var o;return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(o=r.value)===null||o===void 0?void 0:o[0]}var a=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),a}},{key:"delete",value:function(t){if(this.has(t))return this.keys=this.keys.filter(function(n){return!zO(n,t)}),this.deleteByPath(this.cache,t)}}]),e})();K(Vf,"MAX_CACHE_SIZE",20);K(Vf,"MAX_CACHE_OFFSET",5);var qp=0,ry=(function(){function e(t){Sn(this,e),K(this,"derivatives",void 0),K(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=qp,t.length===0&&(t.length>0,void 0),qp+=1}return En(e,[{key:"getDerivativeToken",value:function(t){return this.derivatives.reduce(function(n,r){return r(t,n)},void 0)}}]),e})(),Bc=new Vf;function Ku(e){var t=Array.isArray(e)?e:[e];return Bc.has(t)||Bc.set(t,new ry(t)),Bc.get(t)}var HO=new WeakMap,zc={};function LO(e,t){for(var n=HO,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(zc)||n.set(zc,e()),n.get(zc)}var Gp=new WeakMap;function vi(e){var t=Gp.get(e)||"";return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof ry?t+=r.id:r&&xt(r)==="object"?t+=vi(r):t+=r}),t=Ni(t),Gp.set(e,t)),t}function Up(e,t){return Ni("".concat(t,"_").concat(vi(e)))}var Yu=hr();function bt(e){return typeof e=="number"?"".concat(e,"px"):e}function fs(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=re(re({},r),{},K(K({},Na,t),Rr,n)),i=Object.keys(a).map(function(s){var l=a[s];return l?"".concat(s,'="').concat(l,'"'):null}).filter(function(s){return s}).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Vl=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},VO=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(n!=null&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map(function(r){var o=Ee(r,2),a=o[0],i=o[1];return"".concat(a,":").concat(i,";")}).join(""),"}"):""},oy=function(e,t,n){var r={},o={};return Object.entries(e).forEach(function(a){var i,s,l=Ee(a,2),u=l[0],c=l[1];if(n!=null&&(i=n.preserve)!==null&&i!==void 0&&i[u])o[u]=c;else if((typeof c=="string"||typeof c=="number")&&!(n!=null&&(s=n.ignore)!==null&&s!==void 0&&s[u])){var f,v=Vl(u,n==null?void 0:n.prefix);r[v]=typeof c=="number"&&!(n!=null&&(f=n.unitless)!==null&&f!==void 0&&f[u])?"".concat(c,"px"):String(c),o[u]="var(".concat(v,")")}}),[o,VO(r,t,{scope:n==null?void 0:n.scope})]},Xp=hr()?d.useLayoutEffect:d.useEffect,an=function(e,t){var n=d.useRef(!0);Xp(function(){return e(n.current)},t),Xp(function(){return n.current=!1,function(){n.current=!0}},[])},Zp=function(e,t){an(function(n){if(!n)return e()},t)},WO=re({},d),Qp=WO.useInsertionEffect,KO=function(e,t,n){d.useMemo(e,n),an(function(){return t(!0)},n)},YO=Qp?function(e,t,n){return Qp(function(){return e(),t()},n)}:KO,qO=re({},d),GO=qO.useInsertionEffect,UO=function(e){var t=[],n=!1;function r(o){n||t.push(o)}return d.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(o){return o()})}},e),r},XO=function(){return function(e){e()}},ZO=typeof GO<"u"?UO:XO;function Wf(e,t,n,r,o){var a=d.useContext(Ji),i=a.cache,s=[e].concat(rt(t)),l=Wu(s),u=ZO([l]),c=function(p){i.opUpdate(l,function(b){var g=b||[void 0,void 0],h=Ee(g,2),y=h[0],m=y===void 0?0:y,x=h[1],C=x,w=C||n(),S=[m,w];return p?p(S):S})};d.useMemo(function(){c()},[l]);var f=i.opGet(l),v=f[1];return YO(function(){o==null||o(v)},function(p){return c(function(b){var g=Ee(b,2),h=g[0],y=g[1];return p&&h===0&&(o==null||o(v)),[h+1,y]}),function(){i.opUpdate(l,function(b){var g=b||[],h=Ee(g,2),y=h[0],m=y===void 0?0:y,x=h[1],C=m-1;return C===0?(u(function(){(p||!i.opGet(l))&&(r==null||r(x,!1))}),null):[m-1,x]})}},[l]),v}var QO={},JO="css",Ao=new Map;function _O(e){Ao.set(e,(Ao.get(e)||0)+1)}function eP(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(Na,'="').concat(e,'"]'));n.forEach(function(r){if(r[yo]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}var tP=0;function nP(e,t){Ao.set(e,(Ao.get(e)||0)-1);var n=new Set;Ao.forEach(function(r,o){r<=0&&n.add(o)}),Ao.size-n.size>tP&&n.forEach(function(r){eP(r,t),Ao.delete(r)})}var rP=function(e,t,n,r){var o=n.getDerivativeToken(e),a=re(re({},o),t);return r&&(a=r(a)),a},ay="token";function oP(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Yn(Ji),o=r.cache.instanceId,a=r.container,i=n.salt,s=i===void 0?"":i,l=n.override,u=l===void 0?QO:l,c=n.formatToken,f=n.getComputedToken,v=n.cssVar,p=LO(function(){return Object.assign.apply(Object,[{}].concat(rt(t)))},t),b=vi(p),g=vi(u),h=v?vi(v):"",y=Wf(ay,[s,e.id,b,g,h],function(){var m,x=f?f(p,u,e):rP(p,u,e,c),C=re({},x),w="";if(v){var S=oy(x,v.key,{prefix:v.prefix,ignore:v.ignore,unitless:v.unitless,preserve:v.preserve}),k=Ee(S,2);x=k[0],w=k[1]}var E=Up(x,s);x._tokenKey=E,C._tokenKey=Up(C,s);var O=(m=v==null?void 0:v.key)!==null&&m!==void 0?m:E;x._themeKey=O,_O(O);var M="".concat(JO,"-").concat(Ni(E));return x._hashId=M,[x,M,C,w,(v==null?void 0:v.key)||""]},function(m){nP(m[0]._themeKey,o)},function(m){var x=Ee(m,4),C=x[0],w=x[3];if(v&&w){var S=no(w,Ni("css-variables-".concat(C._themeKey)),{mark:Rr,prepend:"queue",attachTo:a,priority:-999});S[yo]=o,S.setAttribute(Na,C._themeKey)}});return y}var aP=function(e,t,n){var r=Ee(e,5),o=r[2],a=r[3],i=r[4],s=n||{},l=s.plain;if(!a)return null;var u=o._tokenKey,c=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},v=fs(a,i,u,f,l);return[c,u,v]},iP={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},iy="comm",ly="rule",sy="decl",lP="@import",sP="@namespace",cP="@keyframes",uP="@layer",cy=Math.abs,Kf=String.fromCharCode;function uy(e){return e.trim()}function Wl(e,t,n){return e.replace(t,n)}function dP(e,t,n){return e.indexOf(t,n)}function ya(e,t){return e.charCodeAt(t)|0}function Oa(e,t,n){return e.slice(t,n)}function Br(e){return e.length}function fP(e){return e.length}function xl(e,t){return t.push(e),e}var ec=1,Pa=1,dy=0,Sr=0,On=0,Wa="";function Yf(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:ec,column:Pa,length:i,return:"",siblings:s}}function mP(){return On}function pP(){return On=Sr>0?ya(Wa,--Sr):0,Pa--,On===10&&(Pa=1,ec--),On}function Ar(){return On=Sr<dy?ya(Wa,Sr++):0,Pa++,On===10&&(Pa=1,ec++),On}function xo(){return ya(Wa,Sr)}function Kl(){return Sr}function tc(e,t){return Oa(Wa,e,t)}function Ri(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 vP(e){return ec=Pa=1,dy=Br(Wa=e),Sr=0,[]}function gP(e){return Wa="",e}function Hc(e){return uy(tc(Sr-1,qu(e===91?e+2:e===40?e+1:e)))}function hP(e){for(;(On=xo())&&On<33;)Ar();return Ri(e)>2||Ri(On)>3?"":" "}function bP(e,t){for(;--t&&Ar()&&!(On<48||On>102||On>57&&On<65||On>70&&On<97););return tc(e,Kl()+(t<6&&xo()==32&&Ar()==32))}function qu(e){for(;Ar();)switch(On){case e:return Sr;case 34:case 39:e!==34&&e!==39&&qu(On);break;case 40:e===41&&qu(e);break;case 92:Ar();break}return Sr}function yP(e,t){for(;Ar()&&e+On!==57&&!(e+On===84&&xo()===47););return"/*"+tc(t,Sr-1)+"*"+Kf(e===47?e:Ar())}function xP(e){for(;!Ri(xo());)Ar();return tc(e,Sr)}function CP(e){return gP(Yl("",null,null,null,[""],e=vP(e),0,[0],e))}function Yl(e,t,n,r,o,a,i,s,l){for(var u=0,c=0,f=i,v=0,p=0,b=0,g=1,h=1,y=1,m=0,x="",C=o,w=a,S=r,k=x;h;)switch(b=m,m=Ar()){case 40:if(b!=108&&ya(k,f-1)==58){dP(k+=Wl(Hc(m),"&","&\f"),"&\f",cy(u?s[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:k+=Hc(m);break;case 9:case 10:case 13:case 32:k+=hP(b);break;case 92:k+=bP(Kl()-1,7);continue;case 47:switch(xo()){case 42:case 47:xl(wP(yP(Ar(),Kl()),t,n,l),l),(Ri(b||1)==5||Ri(xo()||1)==5)&&Br(k)&&Oa(k,-1,void 0)!==" "&&(k+=" ");break;default:k+="/"}break;case 123*g:s[u++]=Br(k)*y;case 125*g:case 59:case 0:switch(m){case 0:case 125:h=0;case 59+c:y==-1&&(k=Wl(k,/\f/g,"")),p>0&&(Br(k)-f||g===0&&b===47)&&xl(p>32?_p(k+";",r,n,f-1,l):_p(Wl(k," ","")+";",r,n,f-2,l),l);break;case 59:k+=";";default:if(xl(S=Jp(k,t,n,u,c,o,s,x,C=[],w=[],f,a),a),m===123)if(c===0)Yl(k,t,S,S,C,a,f,s,w);else{switch(v){case 99:if(ya(k,3)===110)break;case 108:if(ya(k,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Yl(e,S,S,r&&xl(Jp(e,S,S,0,0,o,s,x,o,C=[],f,w),w),o,w,f,s,r?C:w):Yl(k,S,S,S,[""],w,0,s,w)}}u=c=p=0,g=y=1,x=k="",f=i;break;case 58:f=1+Br(k),p=b;default:if(g<1){if(m==123)--g;else if(m==125&&g++==0&&pP()==125)continue}switch(k+=Kf(m),m*g){case 38:y=c>0?1:(k+="\f",-1);break;case 44:s[u++]=(Br(k)-1)*y,y=1;break;case 64:xo()===45&&(k+=Hc(Ar())),v=xo(),c=f=Br(x=k+=xP(Kl())),m++;break;case 45:b===45&&Br(k)==2&&(g=0)}}return a}function Jp(e,t,n,r,o,a,i,s,l,u,c,f){for(var v=o-1,p=o===0?a:[""],b=fP(p),g=0,h=0,y=0;g<r;++g)for(var m=0,x=Oa(e,v+1,v=cy(h=i[g])),C=e;m<b;++m)(C=uy(h>0?p[m]+" "+x:Wl(x,/&\f/g,p[m])))&&(l[y++]=C);return Yf(e,t,n,o===0?ly:s,l,u,c,f)}function wP(e,t,n,r){return Yf(e,t,n,iy,Kf(mP()),Oa(e,2,-2),0,r)}function _p(e,t,n,r,o){return Yf(e,t,n,sy,Oa(e,0,r),Oa(e,r+1,-1),r,o)}function Gu(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function SP(e,t,n,r){switch(e.type){case uP:if(e.children.length)break;case lP:case sP:case sy:return e.return=e.return||e.value;case iy:return"";case cP:return e.return=e.value+"{"+Gu(e.children,r)+"}";case ly:if(!Br(e.value=e.props.join(",")))return""}return Br(n=Gu(e.children,r))?e.return=e.value+"{"+n+"}":""}var ev="data-ant-cssinjs-cache-path",fy="_FILE_STYLE__",zo,my=!0;function EP(){if(!zo&&(zo={},hr())){var e=document.createElement("div");e.className=ev,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=Ee(a,2),s=i[0],l=i[1];zo[s]=l});var n=document.querySelector("style[".concat(ev,"]"));if(n){var r;my=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function kP(e){return EP(),!!zo[e]}function IP(e){var t=zo[e],n=null;if(t&&hr())if(my)n=fy;else{var r=document.querySelector("style[".concat(Rr,'="').concat(zo[e],'"]'));r?n=r.innerHTML:delete zo[e]}return[n,t]}var MP="_skip_check_",py="_multi_value_";function ql(e){var t=Gu(CP(e),SP);return t.replace(/\{%%%\:[^;];}/g,";")}function NP(e){return xt(e)==="object"&&e&&(MP in e||py in e)}function tv(e,t,n){if(!t)return e;var r=".".concat(t),o=n==="low"?":where(".concat(r,")"):r,a=e.split(",").map(function(i){var s,l=i.trim().split(/\s+/),u=l[0]||"",c=((s=u.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return u="".concat(c).concat(o).concat(u.slice(c.length)),[u].concat(rt(l.slice(1))).join(" ")});return a.join(",")}var OP=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,a=r.injectHash,i=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var u=n.hashPriority,c=n.transformers,f=c===void 0?[]:c;n.linters;var v="",p={};function b(y){var m=y.getName(s);if(!p[m]){var x=e(y.style,n,{root:!1,parentSelectors:i}),C=Ee(x,1),w=C[0];p[m]="@keyframes ".concat(y.getName(s)).concat(w)}}function g(y){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function(x){Array.isArray(x)?g(x,m):x&&m.push(x)}),m}var h=g(Array.isArray(t)?t:[t]);return h.forEach(function(y){var m=typeof y=="string"&&!o?{}:y;if(typeof m=="string")v+="".concat(m,`
|
|
1297
|
-
`);else if(m._keyframe)b(m);else{var x=f.reduce(function(C,w){var S;return(w==null||(S=w.visit)===null||S===void 0?void 0:S.call(w,C))||C},m);Object.keys(x).forEach(function(C){var w=x[C];if(xt(w)==="object"&&w&&(C!=="animationName"||!w._keyframe)&&!NP(w)){var S=!1,k=C.trim(),E=!1;(o||a)&&s?k.startsWith("@")?S=!0:k==="&"?k=tv("",s,u):k=tv(C,s,u):o&&!s&&(k==="&"||k==="")&&(k="",E=!0);var O=e(w,n,{root:E,injectHash:S,parentSelectors:[].concat(rt(i),[k])}),M=Ee(O,2),N=M[0],R=M[1];p=re(re({},p),R),v+="".concat(k).concat(N)}else{let P=function(D,j){var $=D.replace(/[A-Z]/g,function(L){return"-".concat(L.toLowerCase())}),z=j;!iP[D]&&typeof z=="number"&&z!==0&&(z="".concat(z,"px")),D==="animationName"&&j!==null&&j!==void 0&&j._keyframe&&(b(j),z=j.getName(s)),v+="".concat($,":").concat(z,";")};var A,I=(A=w==null?void 0:w.value)!==null&&A!==void 0?A:w;xt(w)==="object"&&w!==null&&w!==void 0&&w[py]&&Array.isArray(I)?I.forEach(function(D){P(C,D)}):P(C,I)}})}}),o?l&&(v&&(v="@layer ".concat(l.name," {").concat(v,"}")),l.dependencies&&(p["@layer ".concat(l.name)]=l.dependencies.map(function(y){return"@layer ".concat(y,", ").concat(l.name,";")}).join(`
|
|
1298
|
-
`))):v="{".concat(v,"}"),[v,p]};function vy(e,t){return Ni("".concat(e.join("%")).concat(t))}function PP(){return null}var gy="style";function Uu(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,s=e.clientOnly,l=e.order,u=l===void 0?0:l,c=d.useContext(Ji),f=c.autoClear;c.mock;var v=c.defaultCache,p=c.hashPriority,b=c.container,g=c.ssrInline,h=c.transformers,y=c.linters,m=c.cache,x=c.layer,C=n._tokenKey,w=[C];x&&w.push("layer"),w.push.apply(w,rt(r));var S=Yu,k=Wf(gy,w,function(){var R=w.join("|");if(kP(R)){var A=IP(R),I=Ee(A,2),P=I[0],D=I[1];if(P)return[P,C,D,{},s,u]}var j=t(),$=OP(j,{hashId:o,hashPriority:p,layer:x?a:void 0,path:r.join("-"),transformers:h,linters:y}),z=Ee($,2),L=z[0],B=z[1],F=ql(L),H=vy(w,F);return[F,C,H,B,s,u]},function(R,A){var I=Ee(R,3),P=I[2];(A||f)&&Yu&&Oi(P,{mark:Rr,attachTo:b})},function(R){var A=Ee(R,4),I=A[0];A[1];var P=A[2],D=A[3];if(S&&I!==fy){var j={mark:Rr,prepend:x?!1:"queue",attachTo:b,priority:u},$=typeof i=="function"?i():i;$&&(j.csp={nonce:$});var z=[],L=[];Object.keys(D).forEach(function(F){F.startsWith("@layer")?z.push(F):L.push(F)}),z.forEach(function(F){no(ql(D[F]),"_layer-".concat(F),re(re({},j),{},{prepend:!0}))});var B=no(I,P,j);B[yo]=m.instanceId,B.setAttribute(Na,C),L.forEach(function(F){no(ql(D[F]),"_effect-".concat(F),j)})}}),E=Ee(k,3),O=E[0],M=E[1],N=E[2];return function(R){var A;return!g||S||!v?A=d.createElement(PP,null):A=d.createElement("style",ht({},K(K({},Na,M),Rr,N),{dangerouslySetInnerHTML:{__html:O}})),d.createElement(d.Fragment,null,A,R)}}var RP=function(e,t,n){var r=Ee(e,6),o=r[0],a=r[1],i=r[2],s=r[3],l=r[4],u=r[5],c=n||{},f=c.plain;if(l)return null;var v=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return v=fs(o,a,i,p,f),s&&Object.keys(s).forEach(function(b){if(!t[b]){t[b]=!0;var g=ql(s[b]),h=fs(g,a,"_effect-".concat(b),p,f);b.startsWith("@layer")?v=h+v:v+=h}}),[u,i,v]},hy="cssVar",AP=function(e,t){var n=e.key,r=e.prefix,o=e.unitless,a=e.ignore,i=e.token,s=e.scope,l=s===void 0?"":s,u=Yn(Ji),c=u.cache.instanceId,f=u.container,v=i._tokenKey,p=[].concat(rt(e.path),[n,l,v]),b=Wf(hy,p,function(){var g=t(),h=oy(g,n,{prefix:r,unitless:o,ignore:a,scope:l}),y=Ee(h,2),m=y[0],x=y[1],C=vy(p,x);return[m,x,C,n]},function(g){var h=Ee(g,3),y=h[2];Yu&&Oi(y,{mark:Rr,attachTo:f})},function(g){var h=Ee(g,3),y=h[1],m=h[2];if(y){var x=no(y,m,{mark:Rr,prepend:"queue",attachTo:f,priority:-999});x[yo]=c,x.setAttribute(Na,n)}});return b},DP=function(e,t,n){var r=Ee(e,4),o=r[1],a=r[2],i=r[3],s=n||{},l=s.plain;if(!o)return null;var u=-999,c={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=fs(o,i,a,c,l);return[u,a,f]};K(K(K({},gy,RP),ay,aP),hy,DP);var Jt=(function(){function e(t,n){Sn(this,e),K(this,"name",void 0),K(this,"style",void 0),K(this,"_keyframe",!0),this.name=t,this.style=n}return En(e,[{key:"getName",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?"".concat(t,"-").concat(this.name):this.name}}]),e})();function ra(e){return e.notSplit=!0,e}ra(["borderTop","borderBottom"]),ra(["borderTop"]),ra(["borderBottom"]),ra(["borderLeft","borderRight"]),ra(["borderLeft"]),ra(["borderRight"]);var qf=Hi({});function jP(e){return Jb(e)||Ub(e)||zf(e)||_b()}function Yr(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function by(e,t,n,r){if(!t.length)return n;var o=jP(t),a=o[0],i=o.slice(1),s;return!e&&typeof a=="number"?s=[]:Array.isArray(e)?s=rt(e):s=re({},e),r&&n===void 0&&i.length===1?delete s[a][i[0]]:s[a]=by(s[a],i,n,r),s}function Ir(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Yr(e,t.slice(0,-1))?e:by(e,t,n,r)}function $P(e){return xt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function nv(e){return Array.isArray(e)?[]:{}}var FP=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function va(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=nv(t[0]);return t.forEach(function(o){function a(i,s){var l=new Set(s),u=Yr(o,i),c=Array.isArray(u);if(c||$P(u)){if(!l.has(u)){l.add(u);var f=Yr(r,i);c?r=Ir(r,i,[]):(!f||xt(f)!=="object")&&(r=Ir(r,i,nv(u))),FP(u).forEach(function(v){a([].concat(rt(i),[v]),l)})}}else r=Ir(r,i,u)}a([])}),r}function TP(){}const BP=d.createContext({}),Gf=()=>{const e=()=>{};return e.deprecated=TP,e},zP=Hi(void 0),dr="${label} is not a valid ${type}",nc={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},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:dr,method:dr,array:dr,object:dr,number:dr,date:dr,boolean:dr,integer:dr,float:dr,regexp:dr,email:dr,url:dr,hex:dr},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}"}}}};Object.assign({},nc.Modal);let Gl=[];const rv=()=>Gl.reduce((e,t)=>Object.assign(Object.assign({},e),t),nc.Modal);function HP(e){if(e){const t=Object.assign({},e);return Gl.push(t),rv(),()=>{Gl=Gl.filter(n=>n!==t),rv()}}Object.assign({},nc.Modal)}const yy=Hi(void 0),LP="internalMark",VP=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;d.useEffect(()=>HP(t==null?void 0:t.Modal),[t]);const o=d.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return d.createElement(yy.Provider,{value:o},n)},xy={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"},Ai=Object.assign(Object.assign({},xy),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
1299
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
1300
|
-
'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}),zn=Math.round;function Lc(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)r[o]=t(r[o]||0,n[o]||"",o);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const ov=(e,t,n)=>n===0?e:e/100;function Ja(e,t){const n=t||255;return e>n?n:e<0?0:e}class sn{constructor(t){K(this,"isValid",!0),K(this,"r",0),K(this,"g",0),K(this,"b",0),K(this,"a",1),K(this,"_h",void 0),K(this,"_s",void 0),K(this,"_l",void 0),K(this,"_v",void 0),K(this,"_max",void 0),K(this,"_min",void 0),K(this,"_brightness",void 0);function n(r){return r[0]in t&&r[1]in t&&r[2]in t}if(t)if(typeof t=="string"){let r=function(a){return o.startsWith(a)};const o=t.trim();/^#?[A-F\d]{3,8}$/i.test(o)?this.fromHexString(o):r("rgb")?this.fromRgbString(o):r("hsl")?this.fromHslString(o):(r("hsv")||r("hsb"))&&this.fromHsvString(o)}else if(t instanceof sn)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Ja(t.r),this.g=Ja(t.g),this.b=Ja(t.b),this.a=typeof t.a=="number"?Ja(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(a){const i=a/255;return i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),o=t(this.b);return .2126*n+.7152*r+.0722*o}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=zn(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:n,s:r,l:o,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:n,s:r,l:o,a:this.a})}mix(t,n=50){const r=this._c(t),o=n/100,a=s=>(r[s]-this[s])*o+this[s],i={r:zn(a("r")),g:zn(a("g")),b:zn(a("b")),a:zn(a("a")*100)/100};return this._c(i)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),o=a=>zn((this[a]*this.a+n[a]*n.a*(1-this.a))/r);return this._c({r:o("r"),g:o("g"),b:o("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const a=zn(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=zn(this.getSaturation()*100),r=zn(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const o=this.clone();return o[t]=Ja(n,r),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(o,a){return parseInt(n[o]+n[a||o],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a:o}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof o=="number"?o:1,n<=0){const v=zn(r*255);this.r=v,this.g=v,this.b=v}let a=0,i=0,s=0;const l=t/60,u=(1-Math.abs(2*r-1))*n,c=u*(1-Math.abs(l%2-1));l>=0&&l<1?(a=u,i=c):l>=1&&l<2?(a=c,i=u):l>=2&&l<3?(i=u,s=c):l>=3&&l<4?(i=c,s=u):l>=4&&l<5?(a=c,s=u):l>=5&&l<6&&(a=u,s=c);const f=r-u/2;this.r=zn((a+f)*255),this.g=zn((i+f)*255),this.b=zn((s+f)*255)}fromHsv({h:t,s:n,v:r,a:o}){this._h=t%360,this._s=n,this._v=r,this.a=typeof o=="number"?o:1;const a=zn(r*255);if(this.r=a,this.g=a,this.b=a,n<=0)return;const i=t/60,s=Math.floor(i),l=i-s,u=zn(r*(1-n)*255),c=zn(r*(1-n*l)*255),f=zn(r*(1-n*(1-l))*255);switch(s){case 0:this.g=f,this.b=u;break;case 1:this.r=c,this.b=u;break;case 2:this.r=u,this.b=f;break;case 3:this.r=u,this.g=c;break;case 4:this.r=f,this.g=u;break;case 5:default:this.g=u,this.b=c;break}}fromHsvString(t){const n=Lc(t,ov);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=Lc(t,ov);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=Lc(t,(r,o)=>o.includes("%")?zn(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}var Cl=2,av=.16,WP=.05,KP=.05,YP=.15,Cy=5,wy=4,qP=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function iv(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Cl*t:Math.round(e.h)+Cl*t:r=n?Math.round(e.h)+Cl*t:Math.round(e.h)-Cl*t,r<0?r+=360:r>=360&&(r-=360),r}function lv(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-av*t:t===wy?r=e.s+av:r=e.s+WP*t,r>1&&(r=1),n&&t===Cy&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function sv(e,t,n){var r;return n?r=e.v+KP*t:r=e.v-YP*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function Di(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=new sn(e),o=r.toHsv(),a=Cy;a>0;a-=1){var i=new sn({h:iv(o,a,!0),s:lv(o,a,!0),v:sv(o,a,!0)});n.push(i)}n.push(r);for(var s=1;s<=wy;s+=1){var l=new sn({h:iv(o,s),s:lv(o,s),v:sv(o,s)});n.push(l)}return t.theme==="dark"?qP.map(function(u){var c=u.index,f=u.amount;return new sn(t.backgroundColor||"#141414").mix(n[c],f).toHexString()}):n.map(function(u){return u.toHexString()})}var Vc={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"},Xu=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Xu.primary=Xu[5];var Zu=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Zu.primary=Zu[5];var Qu=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Qu.primary=Qu[5];var Ju=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Ju.primary=Ju[5];var _u=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];_u.primary=_u[5];var ed=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];ed.primary=ed[5];var td=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];td.primary=td[5];var nd=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];nd.primary=nd[5];var ms=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ms.primary=ms[5];var rd=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];rd.primary=rd[5];var od=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];od.primary=od[5];var ad=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];ad.primary=ad[5];var id=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];id.primary=id[5];var Wc={red:Xu,volcano:Zu,orange:Qu,gold:Ju,yellow:_u,lime:ed,green:td,cyan:nd,blue:ms,geekblue:rd,purple:od,magenta:ad,grey:id};function GP(e,{generateColorPalettes:t,generateNeutralColorPalettes:n}){const{colorSuccess:r,colorWarning:o,colorError:a,colorInfo:i,colorPrimary:s,colorBgBase:l,colorTextBase:u}=e,c=t(s),f=t(r),v=t(o),p=t(a),b=t(i),g=n(l,u),h=e.colorLink||e.colorInfo,y=t(h),m=new sn(p[1]).mix(new sn(p[3]),50).toHexString();return Object.assign(Object.assign({},g),{colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBgFilledHover:m,colorErrorBgActive:p[3],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:v[1],colorWarningBgHover:v[2],colorWarningBorder:v[3],colorWarningBorderHover:v[4],colorWarningHover:v[4],colorWarning:v[6],colorWarningActive:v[7],colorWarningTextHover:v[8],colorWarningText:v[9],colorWarningTextActive:v[10],colorInfoBg:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new sn("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const UP=e=>{let t=e,n=e,r=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?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function XP(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},UP(r))}const ZP=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Ul(e){return(e+8)/e}function QP(e){const t=Array.from({length:10}).map((n,r)=>{const o=r-1,a=e*Math.pow(Math.E,o/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:Ul(n)}))}const JP=e=>{const t=QP(e),n=t.map(c=>c.size),r=t.map(c=>c.lineHeight),o=n[1],a=n[0],i=n[2],s=r[1],l=r[0],u=r[2];return{fontSizeSM:a,fontSize:o,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(u*i),fontHeightSM:Math.round(l*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function _P(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const br=(e,t)=>new sn(e).setA(t).toRgbString(),_a=(e,t)=>new sn(e).darken(t).toHexString(),eR=e=>{const t=Di(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]}},tR=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:br(r,.88),colorTextSecondary:br(r,.65),colorTextTertiary:br(r,.45),colorTextQuaternary:br(r,.25),colorFill:br(r,.15),colorFillSecondary:br(r,.06),colorFillTertiary:br(r,.04),colorFillQuaternary:br(r,.02),colorBgSolid:br(r,1),colorBgSolidHover:br(r,.75),colorBgSolidActive:br(r,.95),colorBgLayout:_a(n,4),colorBgContainer:_a(n,0),colorBgElevated:_a(n,0),colorBgSpotlight:br(r,.85),colorBgBlur:"transparent",colorBorder:_a(n,15),colorBorderSecondary:_a(n,6)}};function nR(e){Vc.pink=Vc.magenta,Wc.pink=Wc.magenta;const t=Object.keys(xy).map(n=>{const r=e[n]===Vc[n]?Wc[n]:Di(e[n]);return Array.from({length:10},()=>1).reduce((o,a,i)=>(o[`${n}-${i+1}`]=r[i],o[`${n}${i+1}`]=r[i],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),GP(e,{generateColorPalettes:eR,generateNeutralColorPalettes:tR})),JP(e.fontSize)),_P(e)),ZP(e)),XP(e))}const Sy=Ku(nR),ld={token:Ai,override:{override:Ai},hashed:!0},Ey=ue.createContext(ld),ji="ant",Uf="anticon",rR=(e,t)=>t||(e?`${ji}-${e}`:ji),Rn=d.createContext({getPrefixCls:rR,iconPrefixCls:Uf}),{Consumer:EF}=Rn,cv={};function Xf(e){const t=d.useContext(Rn),{getPrefixCls:n,direction:r,getPopupContainer:o}=t,a=t[e];return Object.assign(Object.assign({classNames:cv,styles:cv},a),{getPrefixCls:n,direction:r,getPopupContainer:o})}const oR=`-ant-${Date.now()}-${Math.random()}`;function aR(e,t){const n={},r=(a,i)=>{let s=a.clone();return s=(i==null?void 0:i(s))||s,s.toRgbString()},o=(a,i)=>{const s=new sn(a),l=Di(s.toRgbString());n[`${i}-color`]=r(s),n[`${i}-color-disabled`]=l[1],n[`${i}-color-hover`]=l[4],n[`${i}-color-active`]=l[6],n[`${i}-color-outline`]=s.clone().setA(.2).toRgbString(),n[`${i}-color-deprecated-bg`]=l[0],n[`${i}-color-deprecated-border`]=l[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new sn(t.primaryColor),i=Di(a.toRgbString());i.forEach((l,u)=>{n[`primary-${u+1}`]=l}),n["primary-color-deprecated-l-35"]=r(a,l=>l.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,l=>l.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,l=>l.tint(20)),n["primary-color-deprecated-t-50"]=r(a,l=>l.tint(50)),n["primary-color-deprecated-f-12"]=r(a,l=>l.setA(l.a*.12));const s=new sn(i[0]);n["primary-color-active-deprecated-f-30"]=r(s,l=>l.setA(l.a*.3)),n["primary-color-active-deprecated-d-02"]=r(s,l=>l.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"),`
|
|
1301
|
-
:root {
|
|
1302
|
-
${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
|
|
1303
|
-
`)}
|
|
1304
|
-
}
|
|
1305
|
-
`.trim()}function iR(e,t){const n=aR(e,t);hr()&&no(n,`${oR}-dynamic-theme`)}const ps=d.createContext(!1),lR=({children:e,disabled:t})=>{const n=d.useContext(ps);return d.createElement(ps.Provider,{value:t??n},e)},Ra=d.createContext(void 0),sR=({children:e,size:t})=>{const n=d.useContext(Ra);return d.createElement(Ra.Provider,{value:t||n},e)};function cR(){const e=Yn(ps),t=Yn(Ra);return{componentDisabled:e,componentSize:t}}var ky=En(function e(){Sn(this,e)}),Iy="CALC_UNIT",uR=new RegExp(Iy,"g");function Kc(e){return typeof e=="number"?"".concat(e).concat(Iy):e}var dR=(function(e){Ur(n,e);var t=Xr(n);function n(r,o){var a;Sn(this,n),a=t.call(this),K(qe(a),"result",""),K(qe(a),"unitlessCssVar",void 0),K(qe(a),"lowPriority",void 0);var i=xt(r);return a.unitlessCssVar=o,r instanceof n?a.result="(".concat(r.result,")"):i==="number"?a.result=Kc(r):i==="string"&&(a.result=r),a}return En(n,[{key:"add",value:function(r){return r instanceof n?this.result="".concat(this.result," + ").concat(r.getResult()):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," + ").concat(Kc(r))),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof n?this.result="".concat(this.result," - ").concat(r.getResult()):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," - ").concat(Kc(r))),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result="(".concat(this.result,")")),r instanceof n?this.result="".concat(this.result," * ").concat(r.getResult(!0)):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," * ").concat(r)),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result="(".concat(this.result,")")),r instanceof n?this.result="".concat(this.result," / ").concat(r.getResult(!0)):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," / ").concat(r)),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(r){var o=this,a=r||{},i=a.unit,s=!0;return typeof i=="boolean"?s=i:Array.from(this.unitlessCssVar).some(function(l){return o.result.includes(l)})&&(s=!1),this.result=this.result.replace(uR,s?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n})(ky),fR=(function(e){Ur(n,e);var t=Xr(n);function n(r){var o;return Sn(this,n),o=t.call(this),K(qe(o),"result",0),r instanceof n?o.result=r.result:typeof r=="number"&&(o.result=r),o}return En(n,[{key:"add",value:function(r){return r instanceof n?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof n?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof n?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof n?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),n})(ky),mR=function(e,t){var n=e==="css"?dR:fR;return function(r){return new n(r,t)}},uv=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Ln(e){var t=d.useRef();t.current=e;var n=d.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return n}function $i(e){var t=d.useRef(!1),n=d.useState(e),r=Ee(n,2),o=r[0],a=r[1];d.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(s,l){l&&t.current||a(s)}return[o,i]}function Yc(e){return e!==void 0}function Ho(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,s=$i(function(){return Yc(o)?o:Yc(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=Ee(s,2),u=l[0],c=l[1],f=o!==void 0?o:u,v=i?i(f):f,p=Ln(a),b=$i([f]),g=Ee(b,2),h=g[0],y=g[1];Zp(function(){var x=h[0];u!==x&&p(u,x)},[h]),Zp(function(){Yc(o)||c(o)},[o]);var m=Ln(function(x,C){c(x,C),y([f],C)});return[v,m]}function dv(e,t,n,r){var o=re({},t[e]);if(r!=null&&r.deprecatedTokens){var a=r.deprecatedTokens;a.forEach(function(s){var l=Ee(s,2),u=l[0],c=l[1];if(o!=null&&o[u]||o!=null&&o[c]){var f;(f=o[c])!==null&&f!==void 0||(o[c]=o==null?void 0:o[u])}})}var i=re(re({},n),o);return Object.keys(i).forEach(function(s){i[s]===t[s]&&delete i[s]}),i}var My=typeof CSSINJS_STATISTIC<"u",sd=!0;function cr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!My)return Object.assign.apply(Object,[{}].concat(t));sd=!1;var r={};return t.forEach(function(o){if(xt(o)==="object"){var a=Object.keys(o);a.forEach(function(i){Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:function(){return o[i]}})})}}),sd=!0,r}var fv={};function pR(){}var vR=function(e){var t,n=e,r=pR;return My&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get:function(o,a){if(sd){var i;(i=t)===null||i===void 0||i.add(a)}return o[a]}}),r=function(o,a){var i;fv[o]={global:Array.from(t),component:re(re({},(i=fv[o])===null||i===void 0?void 0:i.component),a)}}),{token:n,keys:t,flush:r}};function mv(e,t,n){if(typeof n=="function"){var r;return n(cr(t,(r=t[e])!==null&&r!==void 0?r:{}))}return n??{}}function gR(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return"max(".concat(n.map(function(o){return bt(o)}).join(","),")")},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return"min(".concat(n.map(function(o){return bt(o)}).join(","),")")}}}var hR=1e3*60*10,bR=(function(){function e(){Sn(this,e),K(this,"map",new Map),K(this,"objectIDMap",new WeakMap),K(this,"nextID",0),K(this,"lastAccessBeat",new Map),K(this,"accessBeat",0)}return En(e,[{key:"set",value:function(t,n){this.clear();var r=this.getCompositeKey(t);this.map.set(r,n),this.lastAccessBeat.set(r,Date.now())}},{key:"get",value:function(t){var n=this.getCompositeKey(t),r=this.map.get(n);return this.lastAccessBeat.set(n,Date.now()),this.accessBeat+=1,r}},{key:"getCompositeKey",value:function(t){var n=this,r=t.map(function(o){return o&&xt(o)==="object"?"obj_".concat(n.getObjectID(o)):"".concat(xt(o),"_").concat(o)});return r.join("|")}},{key:"getObjectID",value:function(t){if(this.objectIDMap.has(t))return this.objectIDMap.get(t);var n=this.nextID;return this.objectIDMap.set(t,n),this.nextID+=1,n}},{key:"clear",value:function(){var t=this;if(this.accessBeat>1e4){var n=Date.now();this.lastAccessBeat.forEach(function(r,o){n-r>hR&&(t.map.delete(o),t.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e})(),pv=new bR;function yR(e,t){return ue.useMemo(function(){var n=pv.get(t);if(n)return n;var r=e();return pv.set(t,r),r},t)}var xR=function(){return{}};function CR(e){var t=e.useCSP,n=t===void 0?xR:t,r=e.useToken,o=e.usePrefix,a=e.getResetStyles,i=e.getCommonStyle,s=e.getCompUnitless;function l(v,p,b,g){var h=Array.isArray(v)?v[0]:v;function y(E){return"".concat(String(h)).concat(E.slice(0,1).toUpperCase()).concat(E.slice(1))}var m=(g==null?void 0:g.unitless)||{},x=typeof s=="function"?s(v):{},C=re(re({},x),{},K({},y("zIndexPopup"),!0));Object.keys(m).forEach(function(E){C[y(E)]=m[E]});var w=re(re({},g),{},{unitless:C,prefixToken:y}),S=c(v,p,b,w),k=u(h,b,w);return function(E){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E,M=S(E,O),N=Ee(M,2),R=N[1],A=k(O),I=Ee(A,2),P=I[0],D=I[1];return[P,R,D]}}function u(v,p,b){var g=b.unitless,h=b.injectStyle,y=h===void 0?!0:h,m=b.prefixToken,x=b.ignore,C=function(S){var k=S.rootCls,E=S.cssVar,O=E===void 0?{}:E,M=r(),N=M.realToken;return AP({path:[v],prefix:O.prefix,key:O.key,unitless:g,ignore:x,token:N,scope:k},function(){var R=mv(v,N,p),A=dv(v,N,R,{deprecatedTokens:b==null?void 0:b.deprecatedTokens});return Object.keys(R).forEach(function(I){A[m(I)]=A[I],delete A[I]}),A}),null},w=function(S){var k=r(),E=k.cssVar;return[function(O){return y&&E?ue.createElement(ue.Fragment,null,ue.createElement(C,{rootCls:S,cssVar:E,component:v}),O):O},E==null?void 0:E.key]};return w}function c(v,p,b){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},h=Array.isArray(v)?v:[v,v],y=Ee(h,1),m=y[0],x=h.join("-"),C=e.layer||{name:"antd"};return function(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,k=r(),E=k.theme,O=k.realToken,M=k.hashId,N=k.token,R=k.cssVar,A=o(),I=A.rootPrefixCls,P=A.iconPrefixCls,D=n(),j=R?"css":"js",$=yR(function(){var W=new Set;return R&&Object.keys(g.unitless||{}).forEach(function(V){W.add(Vl(V,R.prefix)),W.add(Vl(V,uv(m,R.prefix)))}),mR(j,W)},[j,m,R==null?void 0:R.prefix]),z=gR(j),L=z.max,B=z.min,F={theme:E,token:N,hashId:M,nonce:function(){return D.nonce},clientOnly:g.clientOnly,layer:C,order:g.order||-999};typeof a=="function"&&Uu(re(re({},F),{},{clientOnly:!1,path:["Shared",I]}),function(){return a(N,{prefix:{rootPrefixCls:I,iconPrefixCls:P},csp:D})});var H=Uu(re(re({},F),{},{path:[x,w,P]}),function(){if(g.injectStyle===!1)return[];var W=vR(N),V=W.token,_=W.flush,q=mv(m,O,b),U=".".concat(w),Q=dv(m,O,q,{deprecatedTokens:g.deprecatedTokens});R&&q&&xt(q)==="object"&&Object.keys(q).forEach(function(T){q[T]="var(".concat(Vl(T,uv(m,R.prefix)),")")});var te=cr(V,{componentCls:U,prefixCls:w,iconCls:".".concat(P),antCls:".".concat(I),calc:$,max:L,min:B},R?q:Q),X=p(te,{hashId:M,prefixCls:w,rootPrefixCls:I,iconPrefixCls:P});_(m,Q);var Y=typeof i=="function"?i(te,w,S,g.resetFont):null;return[g.resetStyle===!1?null:Y,X]});return[H,M]}}function f(v,p,b){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},h=c(v,p,b,re({resetStyle:!1,order:-998},g)),y=function(m){var x=m.prefixCls,C=m.rootCls,w=C===void 0?x:C;return h(x,w),null};return y}return{genStyleHooks:l,genSubStyleComponent:f,genComponentStyleHook:c}}const Wo=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],wR="5.27.1";function qc(e){return e>=0&&e<=255}function si(e,t){const{r:n,g:r,b:o,a}=new sn(e).toRgb();if(a<1)return e;const{r:i,g:s,b:l}=new sn(t).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-i*(1-u))/u),f=Math.round((r-s*(1-u))/u),v=Math.round((o-l*(1-u))/u);if(qc(c)&&qc(f)&&qc(v))return new sn({r:c,g:f,b:v,a:Math.round(u*100)/100}).toRgbString()}return new sn({r:n,g:r,b:o,a:1}).toRgbString()}var SR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function Ny(e){const{override:t}=e,n=SR(e,["override"]),r=Object.assign({},t);Object.keys(Ai).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),a=480,i=576,s=768,l=992,u=1200,c=1600;return o.motion===!1&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:si(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:si(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:si(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,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:si(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:`
|
|
1306
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1307
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1308
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1309
|
-
`,boxShadowSecondary:`
|
|
1310
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1311
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1312
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1313
|
-
`,boxShadowTertiary:`
|
|
1314
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
1315
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
1316
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
1317
|
-
`,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
1318
|
-
0 1px 2px -2px ${new sn("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
1319
|
-
0 3px 6px 0 ${new sn("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
1320
|
-
0 5px 12px 4px ${new sn("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
1321
|
-
`,boxShadowDrawerRight:`
|
|
1322
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
1323
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
1324
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
1325
|
-
`,boxShadowDrawerLeft:`
|
|
1326
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
1327
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
1328
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
1329
|
-
`,boxShadowDrawerUp:`
|
|
1330
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1331
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1332
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1333
|
-
`,boxShadowDrawerDown:`
|
|
1334
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
1335
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
1336
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
1337
|
-
`,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)"}),r)}var vv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Oy={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},ER={motionBase:!0,motionUnit:!0},kR={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},Py=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,a=vv(t,["override"]);let i=Object.assign(Object.assign({},r),{override:o});return i=Ny(i),a&&Object.entries(a).forEach(([s,l])=>{const{theme:u}=l,c=vv(l,["theme"]);let f=c;u&&(f=Py(Object.assign(Object.assign({},i),c),{override:c},u)),i[s]=f}),i};function Zr(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=ue.useContext(Ey),a=`${wR}-${t||""}`,i=n||Sy,[s,l,u]=oP(i,[Ai,e],{salt:a,override:r,getComputedToken:Py,formatToken:Ny,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:Oy,ignore:ER,preserve:kR}});return[i,u,t?l:"",s,o]}const IR={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Lo=(e,t=!1)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),Zf=()=>({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"}}),gv=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),MR=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, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),NR=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,a=n?`.${n}`:o,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},s),i),{[o]:i})}},rc=(e,t)=>({outline:`${bt(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),cd=(e,t)=>({"&:focus-visible":rc(e)}),Ry=e=>({[`.${e}`]:Object.assign(Object.assign({},Zf()),{[`.${e} .${e}-icon`]:{display:"block"}})}),{genStyleHooks:lo,genComponentStyleHook:OR,genSubStyleComponent:PR}=CR({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=Yn(Rn);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,o]=Zr();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{const{csp:e}=Yn(Rn);return e??{}},getResetStyles:(e,t)=>{var n;const r=MR(e);return[r,{"&":r},Ry((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:Uf)]},getCommonStyle:NR,getCompUnitless:()=>Oy});function RR(e,t){return Wo.reduce((n,r)=>{const o=e[`${r}1`],a=e[`${r}3`],i=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:a,darkColor:i,textColor:s}))},{})}const AR=(e,t)=>{const[n,r]=Zr();return Uu({token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>Ry(e))},DR=Object.assign({},d),{useId:hv}=DR,jR=()=>"",$R=typeof hv>"u"?jR:hv;function FR(e,t,n){var r;Gf();const o=e||{},a=o.inherit===!1||!t?Object.assign(Object.assign({},ld),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:ld.hashed,cssVar:t==null?void 0:t.cssVar}):t,i=$R();return Qs(()=>{var s,l;if(!e)return t;const u=Object.assign({},a.components);Object.keys(e.components||{}).forEach(v=>{u[v]=Object.assign(Object.assign({},u[v]),e.components[v])});const c=`css-var-${i.replace(/:/g,"")}`,f=((s=o.cssVar)!==null&&s!==void 0?s:a.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof a.cssVar=="object"?a.cssVar:{}),typeof o.cssVar=="object"?o.cssVar:{}),{key:typeof o.cssVar=="object"&&((l=o.cssVar)===null||l===void 0?void 0:l.key)||c});return Object.assign(Object.assign(Object.assign({},a),o),{token:Object.assign(Object.assign({},a.token),o.token),components:u,cssVar:f})},[o,a],(s,l)=>s.some((u,c)=>{const f=l[c];return!Pi(u,f,!0)}))}var TR=["children"],Ay=d.createContext({});function BR(e){var t=e.children,n=qt(e,TR);return d.createElement(Ay.Provider,{value:n},t)}var zR=(function(e){Ur(n,e);var t=Xr(n);function n(){return Sn(this,n),t.apply(this,arguments)}return En(n,[{key:"render",value:function(){return this.props.children}}]),n})(d.Component);function HR(e){var t=d.useReducer(function(s){return s+1},0),n=Ee(t,2),r=n[1],o=d.useRef(e),a=Ln(function(){return o.current}),i=Ln(function(s){o.current=typeof s=="function"?s(o.current):s,r()});return[a,i]}var ho="none",wl="appear",Sl="enter",El="leave",bv="none",Mr="prepare",ga="start",ha="active",Qf="end",Dy="prepared";function yv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function LR(e,t){var n={animationend:yv("Animation","AnimationEnd"),transitionend:yv("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var VR=LR(hr(),typeof window<"u"?window:{}),jy={};if(hr()){var WR=document.createElement("div");jy=WR.style}var kl={};function $y(e){if(kl[e])return kl[e];var t=VR[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var a=n[o];if(Object.prototype.hasOwnProperty.call(t,a)&&a in jy)return kl[e]=t[a],kl[e]}return""}var Fy=$y("animationend"),Ty=$y("transitionend"),By=!!(Fy&&Ty),xv=Fy||"animationend",Cv=Ty||"transitionend";function wv(e,t){if(!e)return null;if(xt(e)==="object"){var n=t.replace(/-\w/g,function(r){return r[1].toUpperCase()});return e[n]}return"".concat(e,"-").concat(t)}const KR=(function(e){var t=at();function n(o){o&&(o.removeEventListener(Cv,e),o.removeEventListener(xv,e))}function r(o){t.current&&t.current!==o&&n(t.current),o&&o!==t.current&&(o.addEventListener(Cv,e),o.addEventListener(xv,e),t.current=o)}return d.useEffect(function(){return function(){n(t.current)}},[]),[r,n]});var zy=hr()?xx:Yt;const YR=(function(){var e=d.useRef(null);function t(){un.cancel(e.current)}function n(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var a=un(function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)});e.current=a}return d.useEffect(function(){return function(){t()}},[]),[n,t]});var qR=[Mr,ga,ha,Qf],GR=[Mr,Dy],Hy=!1,UR=!0;function Ly(e){return e===ha||e===Qf}const XR=(function(e,t,n){var r=$i(bv),o=Ee(r,2),a=o[0],i=o[1],s=YR(),l=Ee(s,2),u=l[0],c=l[1];function f(){i(Mr,!0)}var v=t?GR:qR;return zy(function(){if(a!==bv&&a!==Qf){var p=v.indexOf(a),b=v[p+1],g=n(a);g===Hy?i(b,!0):b&&u(function(h){function y(){h.isCanceled()||i(b,!0)}g===!0?y():Promise.resolve(g).then(y)})}},[e,a]),d.useEffect(function(){return function(){c()}},[]),[f,a]});function ZR(e,t,n,r){var o=r.motionEnter,a=o===void 0?!0:o,i=r.motionAppear,s=i===void 0?!0:i,l=r.motionLeave,u=l===void 0?!0:l,c=r.motionDeadline,f=r.motionLeaveImmediately,v=r.onAppearPrepare,p=r.onEnterPrepare,b=r.onLeavePrepare,g=r.onAppearStart,h=r.onEnterStart,y=r.onLeaveStart,m=r.onAppearActive,x=r.onEnterActive,C=r.onLeaveActive,w=r.onAppearEnd,S=r.onEnterEnd,k=r.onLeaveEnd,E=r.onVisibleChanged,O=$i(),M=Ee(O,2),N=M[0],R=M[1],A=HR(ho),I=Ee(A,2),P=I[0],D=I[1],j=$i(null),$=Ee(j,2),z=$[0],L=$[1],B=P(),F=at(!1),H=at(null);function W(){return n()}var V=at(!1);function _(){D(ho),L(null,!0)}var q=Ln(function(de){var Se=P();if(Se!==ho){var oe=W();if(!(de&&!de.deadline&&de.target!==oe)){var se=V.current,ke;Se===wl&&se?ke=w==null?void 0:w(oe,de):Se===Sl&&se?ke=S==null?void 0:S(oe,de):Se===El&&se&&(ke=k==null?void 0:k(oe,de)),se&&ke!==!1&&_()}}}),U=KR(q),Q=Ee(U,1),te=Q[0],X=function(de){switch(de){case wl:return K(K(K({},Mr,v),ga,g),ha,m);case Sl:return K(K(K({},Mr,p),ga,h),ha,x);case El:return K(K(K({},Mr,b),ga,y),ha,C);default:return{}}},Y=d.useMemo(function(){return X(B)},[B]),T=XR(B,!e,function(de){if(de===Mr){var Se=Y[Mr];return Se?Se(W()):Hy}if(ne in Y){var oe;L(((oe=Y[ne])===null||oe===void 0?void 0:oe.call(Y,W(),null))||null)}return ne===ha&&B!==ho&&(te(W()),c>0&&(clearTimeout(H.current),H.current=setTimeout(function(){q({deadline:!0})},c))),ne===Dy&&_(),UR}),Z=Ee(T,2),J=Z[0],ne=Z[1],ae=Ly(ne);V.current=ae;var le=at(null);zy(function(){if(!(F.current&&le.current===t)){R(t);var de=F.current;F.current=!0;var Se;!de&&t&&s&&(Se=wl),de&&t&&a&&(Se=Sl),(de&&!t&&u||!de&&f&&!t&&u)&&(Se=El);var oe=X(Se);Se&&(e||oe[Mr])?(D(Se),J()):D(ho),le.current=t}},[t]),Yt(function(){(B===wl&&!s||B===Sl&&!a||B===El&&!u)&&D(ho)},[s,a,u]),Yt(function(){return function(){F.current=!1,clearTimeout(H.current)}},[]);var be=d.useRef(!1);Yt(function(){N&&(be.current=!0),N!==void 0&&B===ho&&((be.current||N)&&(E==null||E(N)),be.current=!0)},[N,B]);var Ce=z;return Y[Mr]&&ne===ga&&(Ce=re({transition:"none"},Ce)),[B,ne,Ce,N??t]}function QR(e){var t=e;xt(e)==="object"&&(t=e.transitionSupport);function n(o,a){return!!(o.motionName&&t&&a!==!1)}var r=d.forwardRef(function(o,a){var i=o.visible,s=i===void 0?!0:i,l=o.removeOnLeave,u=l===void 0?!0:l,c=o.forceRender,f=o.children,v=o.motionName,p=o.leavedClassName,b=o.eventProps,g=d.useContext(Ay),h=g.motion,y=n(o,h),m=at(),x=at();function C(){try{return m.current instanceof HTMLElement?m.current:Ll(x.current)}catch{return null}}var w=ZR(y,s,C,o),S=Ee(w,4),k=S[0],E=S[1],O=S[2],M=S[3],N=d.useRef(M);M&&(N.current=!0);var R=d.useCallback(function($){m.current=$,Ff(a,$)},[a]),A,I=re(re({},b),{},{visible:s});if(!f)A=null;else if(k===ho)M?A=f(re({},I),R):!u&&N.current&&p?A=f(re(re({},I),{},{className:p}),R):c||!u&&!p?A=f(re(re({},I),{},{style:{display:"none"}}),R):A=null;else{var P;E===Mr?P="prepare":Ly(E)?P="active":E===ga&&(P="start");var D=wv(v,"".concat(k,"-").concat(P));A=f(re(re({},I),{},{className:Qe(wv(v,k),K(K({},D,D&&P),v,typeof v=="string")),style:O}),R)}if(d.isValidElement(A)&&Io(A)){var j=Jo(A);j||(A=d.cloneElement(A,{ref:R}))}return d.createElement(zR,{ref:x},A)});return r.displayName="CSSMotion",r}const ea=QR(By);var ud="add",dd="keep",fd="remove",Gc="removed";function JR(e){var t;return e&&xt(e)==="object"&&"key"in e?t=e:t={key:e},re(re({},t),{},{key:String(t.key)})}function md(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(JR)}function _R(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,a=md(e),i=md(t);a.forEach(function(u){for(var c=!1,f=r;f<o;f+=1){var v=i[f];if(v.key===u.key){r<f&&(n=n.concat(i.slice(r,f).map(function(p){return re(re({},p),{},{status:ud})})),r=f),n.push(re(re({},v),{},{status:dd})),r+=1,c=!0;break}}c||n.push(re(re({},u),{},{status:fd}))}),r<o&&(n=n.concat(i.slice(r).map(function(u){return re(re({},u),{},{status:ud})})));var s={};n.forEach(function(u){var c=u.key;s[c]=(s[c]||0)+1});var l=Object.keys(s).filter(function(u){return s[u]>1});return l.forEach(function(u){n=n.filter(function(c){var f=c.key,v=c.status;return f!==u||v!==fd}),n.forEach(function(c){c.key===u&&(c.status=dd)})}),n}var e5=["component","children","onVisibleChanged","onAllRemoved"],t5=["status"],n5=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function r5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ea,n=(function(r){Ur(a,r);var o=Xr(a);function a(){var i;Sn(this,a);for(var s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];return i=o.call.apply(o,[this].concat(l)),K(qe(i),"state",{keyEntities:[]}),K(qe(i),"removeKey",function(c){i.setState(function(f){var v=f.keyEntities.map(function(p){return p.key!==c?p:re(re({},p),{},{status:Gc})});return{keyEntities:v}},function(){var f=i.state.keyEntities,v=f.filter(function(p){var b=p.status;return b!==Gc}).length;v===0&&i.props.onAllRemoved&&i.props.onAllRemoved()})}),i}return En(a,[{key:"render",value:function(){var i=this,s=this.state.keyEntities,l=this.props,u=l.component,c=l.children,f=l.onVisibleChanged;l.onAllRemoved;var v=qt(l,e5),p=u||d.Fragment,b={};return n5.forEach(function(g){b[g]=v[g],delete v[g]}),delete v.keys,d.createElement(p,v,s.map(function(g,h){var y=g.status,m=qt(g,t5),x=y===ud||y===dd;return d.createElement(t,ht({},b,{key:m.key,visible:x,eventProps:m,onVisibleChanged:function(C){f==null||f(C,{key:m.key}),C||i.removeKey(m.key)}}),function(C,w){return c(re(re({},C),{},{index:h}),w)})}))}}],[{key:"getDerivedStateFromProps",value:function(i,s){var l=i.keys,u=s.keyEntities,c=md(l),f=_R(u,c);return{keyEntities:f.filter(function(v){var p=u.find(function(b){var g=b.key;return v.key===g});return!(p&&p.status===Gc&&v.status===fd)})}}}]),a})(d.Component);return K(n,"defaultProps",{component:"div"}),n}r5(By);const Sv=d.createContext(!0);function o5(e){const t=d.useContext(Sv),{children:n}=e,[,r]=Zr(),{motion:o}=r,a=d.useRef(!1);return a.current||(a.current=t!==o),a.current?d.createElement(Sv.Provider,{value:o},d.createElement(BR,{motion:o},n)):n}const a5=()=>null;var i5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const l5=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let Vy;function s5(){return Vy||ji}function c5(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const u5=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;t!==void 0&&(Vy=t),r&&c5(r)&&iR(s5(),r)},d5=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:a,form:i,locale:s,componentSize:l,direction:u,space:c,splitter:f,virtual:v,dropdownMatchSelectWidth:p,popupMatchSelectWidth:b,popupOverflow:g,legacyLocale:h,parentContext:y,iconPrefixCls:m,theme:x,componentDisabled:C,segmented:w,statistic:S,spin:k,calendar:E,carousel:O,cascader:M,collapse:N,typography:R,checkbox:A,descriptions:I,divider:P,drawer:D,skeleton:j,steps:$,image:z,layout:L,list:B,mentions:F,modal:H,progress:W,result:V,slider:_,breadcrumb:q,menu:U,pagination:Q,input:te,textArea:X,empty:Y,badge:T,radio:Z,rate:J,switch:ne,transfer:ae,avatar:le,message:be,tag:Ce,table:de,card:Se,tabs:oe,timeline:se,timePicker:ke,upload:ge,notification:ie,tree:we,colorPicker:fe,datePicker:ce,rangePicker:xe,flex:he,wave:Me,dropdown:ve,warning:me,tour:Re,tooltip:pe,popover:Ne,popconfirm:ct,floatButton:dt,floatButtonGroup:pt,variant:$e,inputNumber:De,treeSelect:Ye}=e,Fe=d.useCallback((Je,Et)=>{const{prefixCls:It}=e;if(Et)return Et;const mt=It||y.getPrefixCls("");return Je?`${mt}-${Je}`:mt},[y.getPrefixCls,e.prefixCls]),Ue=m||y.iconPrefixCls||Uf,Ve=n||y.csp;AR(Ue,Ve);const We=FR(x,y.theme,{prefixCls:Fe("")}),je={csp:Ve,autoInsertSpaceInButton:r,alert:o,anchor:a,locale:s||h,direction:u,space:c,splitter:f,virtual:v,popupMatchSelectWidth:b??p,popupOverflow:g,getPrefixCls:Fe,iconPrefixCls:Ue,theme:We,segmented:w,statistic:S,spin:k,calendar:E,carousel:O,cascader:M,collapse:N,typography:R,checkbox:A,descriptions:I,divider:P,drawer:D,skeleton:j,steps:$,image:z,input:te,textArea:X,layout:L,list:B,mentions:F,modal:H,progress:W,result:V,slider:_,breadcrumb:q,menu:U,pagination:Q,empty:Y,badge:T,radio:Z,rate:J,switch:ne,transfer:ae,avatar:le,message:be,tag:Ce,table:de,card:Se,tabs:oe,timeline:se,timePicker:ke,upload:ge,notification:ie,tree:we,colorPicker:fe,datePicker:ce,rangePicker:xe,flex:he,wave:Me,dropdown:ve,warning:me,tour:Re,tooltip:pe,popover:Ne,popconfirm:ct,floatButton:dt,floatButtonGroup:pt,variant:$e,inputNumber:De,treeSelect:Ye},Ie=Object.assign({},y);Object.keys(je).forEach(Je=>{je[Je]!==void 0&&(Ie[Je]=je[Je])}),l5.forEach(Je=>{const Et=e[Je];Et&&(Ie[Je]=Et)}),typeof r<"u"&&(Ie.button=Object.assign({autoInsertSpace:r},Ie.button));const it=Qs(()=>Ie,Ie,(Je,Et)=>{const It=Object.keys(Je),mt=Object.keys(Et);return It.length!==mt.length||It.some(Nt=>Je[Nt]!==Et[Nt])}),{layer:Oe}=d.useContext(Ji),Le=d.useMemo(()=>({prefixCls:Ue,csp:Ve,layer:Oe?"antd":void 0}),[Ue,Ve,Oe]);let ze=d.createElement(d.Fragment,null,d.createElement(a5,{dropdownMatchSelectWidth:p}),t);const Ke=d.useMemo(()=>{var Je,Et,It,mt;return va(((Je=nc.Form)===null||Je===void 0?void 0:Je.defaultValidateMessages)||{},((It=(Et=it.locale)===null||Et===void 0?void 0:Et.Form)===null||It===void 0?void 0:It.defaultValidateMessages)||{},((mt=it.form)===null||mt===void 0?void 0:mt.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[it,i==null?void 0:i.validateMessages]);Object.keys(Ke).length>0&&(ze=d.createElement(zP.Provider,{value:Ke},ze)),s&&(ze=d.createElement(VP,{locale:s,_ANT_MARK__:LP},ze)),ze=d.createElement(qf.Provider,{value:Le},ze),l&&(ze=d.createElement(sR,{size:l},ze)),ze=d.createElement(o5,null,ze);const ft=d.useMemo(()=>{const Je=We||{},{algorithm:Et,token:It,components:mt,cssVar:Nt}=Je,zt=i5(Je,["algorithm","token","components","cssVar"]),Ht=Et&&(!Array.isArray(Et)||Et.length>0)?Ku(Et):Sy,At={};Object.entries(mt||{}).forEach(([Tt,_t])=>{const Pe=Object.assign({},_t);"algorithm"in Pe&&(Pe.algorithm===!0?Pe.theme=Ht:(Array.isArray(Pe.algorithm)||typeof Pe.algorithm=="function")&&(Pe.theme=Ku(Pe.algorithm)),delete Pe.algorithm),At[Tt]=Pe});const Wt=Object.assign(Object.assign({},Ai),It);return Object.assign(Object.assign({},zt),{theme:Ht,token:Wt,components:At,override:Object.assign({override:Wt},At),cssVar:Nt})},[We]);return x&&(ze=d.createElement(Ey.Provider,{value:ft},ze)),it.warning&&(ze=d.createElement(BP.Provider,{value:it.warning},ze)),C!==void 0&&(ze=d.createElement(lR,{disabled:C},ze)),d.createElement(Rn.Provider,{value:it},ze)},Ka=e=>{const t=d.useContext(Rn),n=d.useContext(yy);return d.createElement(d5,Object.assign({parentContext:t,legacyLocale:n},e))};Ka.ConfigContext=Rn;Ka.SizeContext=Ra;Ka.config=u5;Ka.useConfig=cR;Object.defineProperty(Ka,"SizeContext",{get:()=>Ra});function Wy(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function f5(e){return Wy(e)instanceof ShadowRoot}function vs(e){return f5(e)?Wy(e):null}function m5(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function p5(e,t){fn(e,"[@ant-design/icons] ".concat(t))}function Ev(e){return xt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(xt(e.icon)==="object"||typeof e.icon=="function")}function kv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[m5(n)]=r}return t},{})}function pd(e,t,n){return n?ue.createElement(e.tag,re(re({key:t},kv(e.attrs)),n),(e.children||[]).map(function(r,o){return pd(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):ue.createElement(e.tag,re({key:t},kv(e.attrs)),(e.children||[]).map(function(r,o){return pd(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function Ky(e){return Di(e)[0]}function Yy(e){return e?Array.isArray(e)?e:[e]:[]}var v5=`
|
|
1338
|
-
.anticon {
|
|
1339
|
-
display: inline-flex;
|
|
1340
|
-
align-items: center;
|
|
1341
|
-
color: inherit;
|
|
1342
|
-
font-style: normal;
|
|
1343
|
-
line-height: 0;
|
|
1344
|
-
text-align: center;
|
|
1345
|
-
text-transform: none;
|
|
1346
|
-
vertical-align: -0.125em;
|
|
1347
|
-
text-rendering: optimizeLegibility;
|
|
1348
|
-
-webkit-font-smoothing: antialiased;
|
|
1349
|
-
-moz-osx-font-smoothing: grayscale;
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
.anticon > * {
|
|
1353
|
-
line-height: 1;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
.anticon svg {
|
|
1357
|
-
display: inline-block;
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
.anticon::before {
|
|
1361
|
-
display: none;
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
.anticon .anticon-icon {
|
|
1365
|
-
display: block;
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
.anticon[tabindex] {
|
|
1369
|
-
cursor: pointer;
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
.anticon-spin::before,
|
|
1373
|
-
.anticon-spin {
|
|
1374
|
-
display: inline-block;
|
|
1375
|
-
-webkit-animation: loadingCircle 1s infinite linear;
|
|
1376
|
-
animation: loadingCircle 1s infinite linear;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
@-webkit-keyframes loadingCircle {
|
|
1380
|
-
100% {
|
|
1381
|
-
-webkit-transform: rotate(360deg);
|
|
1382
|
-
transform: rotate(360deg);
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
@keyframes loadingCircle {
|
|
1387
|
-
100% {
|
|
1388
|
-
-webkit-transform: rotate(360deg);
|
|
1389
|
-
transform: rotate(360deg);
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1392
|
-
`,g5=function(e){var t=Yn(qf),n=t.csp,r=t.prefixCls,o=t.layer,a=v5;r&&(a=a.replace(/anticon/g,r)),o&&(a="@layer ".concat(o,` {
|
|
1393
|
-
`).concat(a,`
|
|
1394
|
-
}`)),Yt(function(){var i=e.current,s=vs(i);no(a,"@ant-design-icons",{prepend:!o,csp:n,attachTo:s})},[])},h5=["icon","className","onClick","style","primaryColor","secondaryColor"],gi={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function b5(e){var t=e.primaryColor,n=e.secondaryColor;gi.primaryColor=t,gi.secondaryColor=n||Ky(t),gi.calculated=!!n}function y5(){return re({},gi)}var Ya=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,a=e.primaryColor,i=e.secondaryColor,s=qt(e,h5),l=d.useRef(),u=gi;if(a&&(u={primaryColor:a,secondaryColor:i||Ky(a)}),g5(l),p5(Ev(t),"icon should be icon definiton, but got ".concat(t)),!Ev(t))return null;var c=t;return c&&typeof c.icon=="function"&&(c=re(re({},c),{},{icon:c.icon(u.primaryColor,u.secondaryColor)})),pd(c.icon,"svg-".concat(c.name),re(re({className:n,onClick:r,style:o,"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:l}))};Ya.displayName="IconReact";Ya.getTwoToneColors=y5;Ya.setTwoToneColors=b5;function qy(e){var t=Yy(e),n=Ee(t,2),r=n[0],o=n[1];return Ya.setTwoToneColors({primaryColor:r,secondaryColor:o})}function x5(){var e=Ya.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var C5=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];qy(ms.primary);var ur=d.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,a=e.rotate,i=e.tabIndex,s=e.onClick,l=e.twoToneColor,u=qt(e,C5),c=d.useContext(qf),f=c.prefixCls,v=f===void 0?"anticon":f,p=c.rootClassName,b=Qe(p,v,K(K({},"".concat(v,"-").concat(r.name),!!r.name),"".concat(v,"-spin"),!!o||r.name==="loading"),n),g=i;g===void 0&&s&&(g=-1);var h=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,y=Yy(l),m=Ee(y,2),x=m[0],C=m[1];return d.createElement("span",ht({role:"img","aria-label":r.name},u,{ref:t,tabIndex:g,onClick:s,className:b}),d.createElement(Ya,{icon:r,primaryColor:x,secondaryColor:C,style:h}))});ur.displayName="AntdIcon";ur.getTwoToneColor=x5;ur.setTwoToneColor=qy;var w5=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
1395
|
-
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
1396
|
-
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
1397
|
-
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
1398
|
-
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
1399
|
-
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
1400
|
-
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
1401
|
-
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
1402
|
-
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
1403
|
-
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
1404
|
-
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
1405
|
-
summary tabIndex target title type useMap value width wmode wrap`,S5=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
1406
|
-
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
1407
|
-
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
1408
|
-
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
1409
|
-
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
1410
|
-
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
1411
|
-
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,E5="".concat(w5," ").concat(S5).split(/[\s\n]+/),k5="aria-",I5="data-";function Iv(e,t){return e.indexOf(t)===0}function Gy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=re({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||Iv(o,k5))||n.data&&Iv(o,I5)||n.attr&&E5.includes(o))&&(r[o]=e[o])}),r}function Uy(e){return e&&ue.isValidElement(e)&&e.type===ue.Fragment}const M5=(e,t,n)=>ue.isValidElement(e)?ue.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function ao(e,t){return M5(e,e,t)}const Xy=e=>{const[,,,,t]=Zr();return t?`${e}-css-var`:""};var Wn={TAB:9,ENTER:13,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},N5={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},O5=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:N5}))},Zy=d.forwardRef(O5);const Jf=ue.createContext(void 0),No=100,Qy={Modal:No,Drawer:No,Popover:No,Popconfirm:No,Tooltip:No,Tour:No,FloatButton:No},P5={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function R5(e){return e in Qy}const _f=(e,t)=>{const[,n]=Zr(),r=ue.useContext(Jf),o=R5(e);let a;if(t!==void 0)a=[t,t];else{let i=r??0;o?i+=(r?0:n.zIndexPopupBase)+Qy[e]:i+=P5[e],a=[r===void 0?t:i,i]}return a};function Jy(e,t){this.v=e,this.k=t}function Qn(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch{o=0}Qn=function(a,i,s,l){function u(c,f){Qn(a,c,function(v){return this._invoke(c,f,v)})}i?o?o(a,i,{value:s,enumerable:!l,configurable:!l,writable:!l}):a[i]=s:(u("next",0),u("throw",1),u("return",2))},Qn(e,t,n,r)}function em(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n=typeof Symbol=="function"?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(p,b,g,h){var y=b&&b.prototype instanceof s?b:s,m=Object.create(y.prototype);return Qn(m,"_invoke",(function(x,C,w){var S,k,E,O=0,M=w||[],N=!1,R={p:0,n:0,v:e,a:A,f:A.bind(e,4),d:function(I,P){return S=I,k=0,E=e,R.n=P,i}};function A(I,P){for(k=I,E=P,t=0;!N&&O&&!D&&t<M.length;t++){var D,j=M[t],$=R.p,z=j[2];I>3?(D=z===P)&&(E=j[(k=j[4])?5:(k=3,3)],j[4]=j[5]=e):j[0]<=$&&((D=I<2&&$<j[1])?(k=0,R.v=P,R.n=j[1]):$<z&&(D=I<3||j[0]>P||P>z)&&(j[4]=I,j[5]=P,R.n=z,k=0))}if(D||I>1)return i;throw N=!0,P}return function(I,P,D){if(O>1)throw TypeError("Generator is already running");for(N&&P===1&&A(P,D),k=P,E=D;(t=k<2?e:E)||!N;){S||(k?k<3?(k>1&&(R.n=-1),A(k,E)):R.n=E:R.v=E);try{if(O=2,S){if(k||(I="next"),t=S[I]){if(!(t=t.call(S,E)))throw TypeError("iterator result is not an object");if(!t.done)return t;E=t.value,k<2&&(k=0)}else k===1&&(t=S.return)&&t.call(S),k<2&&(E=TypeError("The iterator does not provide a '"+I+"' method"),k=1);S=e}else if((t=(N=R.n<0)?E:x.call(C,R))!==i)break}catch(j){S=e,k=1,E=j}finally{O=1}}return{value:t,done:N}}})(p,g,h),!0),m}var i={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Qn(t={},r,function(){return this}),t),f=u.prototype=s.prototype=Object.create(c);function v(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,u):(p.__proto__=u,Qn(p,o,"GeneratorFunction")),p.prototype=Object.create(f),p}return l.prototype=u,Qn(f,"constructor",u),Qn(u,"constructor",l),l.displayName="GeneratorFunction",Qn(u,o,"GeneratorFunction"),Qn(f),Qn(f,o,"Generator"),Qn(f,r,function(){return this}),Qn(f,"toString",function(){return"[object Generator]"}),(em=function(){return{w:a,m:v}})()}function gs(e,t){function n(o,a,i,s){try{var l=e[o](a),u=l.value;return u instanceof Jy?t.resolve(u.v).then(function(c){n("next",c,i,s)},function(c){n("throw",c,i,s)}):t.resolve(u).then(function(c){l.value=c,i(l)},function(c){return n("throw",c,i,s)})}catch(c){s(c)}}var r;this.next||(Qn(gs.prototype),Qn(gs.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),Qn(this,"_invoke",function(o,a,i){function s(){return new t(function(l,u){n(o,i,l,u)})}return r=r?r.then(s,s):s()},!0)}function _y(e,t,n,r,o){return new gs(em().w(e,t,n,r),o||Promise)}function A5(e,t,n,r,o){var a=_y(e,t,n,r,o);return a.next().then(function(i){return i.done?i.value:a.next()})}function D5(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function o(){for(;n.length;)if((r=n.pop())in t)return o.value=r,o.done=!1,o;return o.done=!0,o}}function Mv(e){if(e!=null){var t=e[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(xt(e)+" is not iterable")}function tr(){var e=em(),t=e.m(tr),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(i){var s=typeof i=="function"&&i.constructor;return!!s&&(s===n||(s.displayName||s.name)==="GeneratorFunction")}var o={throw:1,return:2,break:3,continue:3};function a(i){var s,l;return function(u){s||(s={stop:function(){return l(u.a,2)},catch:function(){return u.v},abrupt:function(c,f){return l(u.a,o[c],f)},delegateYield:function(c,f,v){return s.resultName=f,l(u.d,Mv(c),v)},finish:function(c){return l(u.f,c)}},l=function(c,f,v){u.p=s.prev,u.n=s.next;try{return c(f,v)}finally{s.next=u.n}}),s.resultName&&(s[s.resultName]=u.v,s.resultName=void 0),s.sent=u.v,s.next=u.n;try{return i.call(this,s)}finally{u.p=s.prev,u.n=s.next}}}return(tr=function(){return{wrap:function(i,s,l,u){return e.w(a(i),s,l,u&&u.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(i,s){return new Jy(i,s)},AsyncIterator:gs,async:function(i,s,l,u,c){return(r(s)?_y:A5)(a(i),s,l,u,c)},keys:D5,values:Mv}})()}function Nv(e,t,n,r,o,a,i){try{var s=e[a](i),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,o)}function ta(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(l){Nv(a,r,o,i,s,"next",l)}function s(l){Nv(a,r,o,i,s,"throw",l)}i(void 0)})}}var _i=re({},Ex),j5=_i.version,Uc=_i.render,$5=_i.unmountComponentAtNode,oc;try{var F5=Number((j5||"").split(".")[0]);F5>=18&&(oc=_i.createRoot)}catch{}function Ov(e){var t=_i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&xt(t)==="object"&&(t.usingClientEntryPoint=e)}var hs="__rc_react_root__";function T5(e,t){Ov(!0);var n=t[hs]||oc(t);Ov(!1),n.render(e),t[hs]=n}function B5(e,t){Uc==null||Uc(e,t)}function z5(e,t){if(oc){T5(e,t);return}B5(e,t)}function H5(e){return vd.apply(this,arguments)}function vd(){return vd=ta(tr().mark(function e(t){return tr().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.resolve().then(function(){var r;(r=t[hs])===null||r===void 0||r.unmount(),delete t[hs]}));case 1:case"end":return n.stop()}},e)})),vd.apply(this,arguments)}function L5(e){$5(e)}function V5(e){return gd.apply(this,arguments)}function gd(){return gd=ta(tr().mark(function e(t){return tr().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(oc===void 0){n.next=2;break}return n.abrupt("return",H5(t));case 2:L5(t);case 3:case"end":return n.stop()}},e)})),gd.apply(this,arguments)}const W5=(e,t)=>(z5(e,t),()=>V5(t));let K5=W5;function Y5(e){return K5}const Xc=()=>({height:0,opacity:0}),Pv=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},q5=e=>({height:e?e.offsetHeight:0}),Zc=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",e1=(e=ji)=>({motionName:`${e}-motion-collapse`,onAppearStart:Xc,onEnterStart:Xc,onAppearActive:Pv,onEnterActive:Pv,onLeaveStart:q5,onLeaveActive:Xc,onAppearEnd:Zc,onEnterEnd:Zc,onLeaveEnd:Zc,motionDeadline:500}),G5=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function so(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}const tm=(function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),a=o.width,i=o.height;if(a||i)return!0}}return!1}),U5=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},X5=OR("Wave",U5),t1=`${ji}-wave-target`;function Z5(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"&&e!=="canvastext"}function Q5(e){var t;const{borderTopColor:n,borderColor:r,backgroundColor:o}=getComputedStyle(e);return(t=[n,r,o].find(Z5))!==null&&t!==void 0?t:null}function Qc(e){return Number.isNaN(e)?0:e}const J5=e=>{const{className:t,target:n,component:r,registerUnmount:o}=e,a=d.useRef(null),i=d.useRef(null);d.useEffect(()=>{i.current=o()},[]);const[s,l]=d.useState(null),[u,c]=d.useState([]),[f,v]=d.useState(0),[p,b]=d.useState(0),[g,h]=d.useState(0),[y,m]=d.useState(0),[x,C]=d.useState(!1),w={left:f,top:p,width:g,height:y,borderRadius:u.map(E=>`${E}px`).join(" ")};s&&(w["--wave-color"]=s);function S(){const E=getComputedStyle(n);l(Q5(n));const O=E.position==="static",{borderLeftWidth:M,borderTopWidth:N}=E;v(O?n.offsetLeft:Qc(-parseFloat(M))),b(O?n.offsetTop:Qc(-parseFloat(N))),h(n.offsetWidth),m(n.offsetHeight);const{borderTopLeftRadius:R,borderTopRightRadius:A,borderBottomLeftRadius:I,borderBottomRightRadius:P}=E;c([R,A,P,I].map(D=>Qc(parseFloat(D))))}if(d.useEffect(()=>{if(n){const E=un(()=>{S(),C(!0)});let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(S),O.observe(n)),()=>{un.cancel(E),O==null||O.disconnect()}}},[]),!x)return null;const k=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(t1));return d.createElement(ea,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,O)=>{var M,N;if(O.deadline||O.propertyName==="opacity"){const R=(M=a.current)===null||M===void 0?void 0:M.parentElement;(N=i.current)===null||N===void 0||N.call(i).then(()=>{R==null||R.remove()})}return!1}},({className:E},O)=>d.createElement("div",{ref:La(a,O),className:Qe(t,E,{"wave-quick":k}),style:w}))},_5=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e==null||e.insertBefore(o,e==null?void 0:e.firstChild);const a=Y5();let i=null;function s(){return i}i=a(d.createElement(J5,Object.assign({},t,{target:e,registerUnmount:s})),o)},eA=(e,t,n)=>{const{wave:r}=d.useContext(Rn),[,o,a]=Zr(),i=Ln(l=>{const u=e.current;if(r!=null&&r.disabled||!u)return;const c=u.querySelector(`.${t1}`)||u,{showEffect:f}=r||{};(f||_5)(c,{className:t,token:o,component:n,event:l,hashId:a})}),s=d.useRef(null);return l=>{un.cancel(s.current),s.current=un(()=>{i(l)})}},tA=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=Yn(Rn),a=at(null),i=o("wave"),[,s]=X5(i),l=eA(a,Qe(i,s),r);if(ue.useEffect(()=>{const c=a.current;if(!c||c.nodeType!==1||n)return;const f=v=>{!tm(v.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||l(v)};return c.addEventListener("click",f,!0),()=>{c.removeEventListener("click",f,!0)}},[n]),!ue.isValidElement(t))return t??null;const u=Io(t)?La(Jo(t),a):a;return ao(t,{ref:u})},n1=e=>{const t=ue.useContext(Ra);return ue.useMemo(()=>e?typeof e=="string"?e??t:typeof e=="function"?e(t):t:t,[e,t])},nA=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},rA=e=>{const{componentCls:t,antCls:n}=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"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},oA=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}}}},r1=lo("Space",e=>{const t=cr(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[rA(t),oA(t),nA(t)]},()=>({}),{resetStyle:!1});var o1=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const ac=d.createContext(null),a1=(e,t)=>{const n=d.useContext(ac),r=d.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:a,isLastItem:i}=n,s=o==="vertical"?"-vertical-":"-";return Qe(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},aA=e=>{const{children:t}=e;return d.createElement(ac.Provider,{value:null},t)},iA=e=>{const{children:t}=e,n=o1(e,["children"]);return d.createElement(ac.Provider,{value:d.useMemo(()=>n,[n])},t)},lA=e=>{const{getPrefixCls:t,direction:n}=d.useContext(Rn),{size:r,direction:o,block:a,prefixCls:i,className:s,rootClassName:l,children:u}=e,c=o1(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=n1(x=>r??x),v=t("space-compact",i),[p,b]=r1(v),g=Qe(v,b,{[`${v}-rtl`]:n==="rtl",[`${v}-block`]:a,[`${v}-vertical`]:o==="vertical"},s,l),h=d.useContext(ac),y=oo(u),m=d.useMemo(()=>y.map((x,C)=>{const w=(x==null?void 0:x.key)||`${v}-item-${C}`;return d.createElement(iA,{key:w,compactSize:f,compactDirection:o,isFirstItem:C===0&&(!h||(h==null?void 0:h.isFirstItem)),isLastItem:C===y.length-1&&(!h||(h==null?void 0:h.isLastItem))},x)}),[r,y,h]);return y.length===0?null:p(d.createElement("div",Object.assign({className:g},c),m))};var sA=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const i1=d.createContext(void 0),cA=e=>{const{getPrefixCls:t,direction:n}=d.useContext(Rn),{prefixCls:r,size:o,className:a}=e,i=sA(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=Zr(),u=d.useMemo(()=>{switch(o){case"large":return"lg";case"small":return"sm";default:return""}},[o]),c=Qe(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},a,l);return d.createElement(i1.Provider,{value:o},d.createElement("div",Object.assign({},i,{className:c})))},Rv=/^[\u4E00-\u9FA5]{2}$/,hd=Rv.test.bind(Rv);function Av(e){return typeof e=="string"}function Jc(e){return e==="text"||e==="link"}function uA(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Av(e.type)&&hd(e.props.children)?ao(e,{children:e.props.children.split("").join(n)}):Av(e)?hd(e)?ue.createElement("span",null,e.split("").join(n)):ue.createElement("span",null,e):Uy(e)?ue.createElement("span",null,e):e}function dA(e,t){let n=!1;const r=[];return ue.Children.forEach(e,o=>{const a=typeof o,i=a==="string"||a==="number";if(n&&i){const s=r.length-1,l=r[s];r[s]=`${l}${o}`}else r.push(o);n=i}),ue.Children.map(r,o=>uA(o,t))}["default","primary","danger"].concat(rt(Wo));const bd=rr((e,t)=>{const{className:n,style:r,children:o,prefixCls:a}=e,i=Qe(`${a}-icon`,n);return ue.createElement("span",{ref:t,className:i,style:r},o)}),Dv=rr((e,t)=>{const{prefixCls:n,className:r,style:o,iconClassName:a}=e,i=Qe(`${n}-loading-icon`,r);return ue.createElement(bd,{prefixCls:n,className:i,style:o,ref:t},ue.createElement(Zy,{className:a}))}),_c=()=>({width:0,opacity:0,transform:"scale(0)"}),eu=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),fA=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:a,mount:i}=e,s=!!n;return r?ue.createElement(Dv,{prefixCls:t,className:o,style:a}):ue.createElement(ea,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:!0,onAppearStart:_c,onAppearActive:eu,onEnterStart:_c,onEnterActive:eu,onLeaveStart:eu,onLeaveActive:_c},({className:l,style:u},c)=>{const f=Object.assign(Object.assign({},a),u);return ue.createElement(Dv,{prefixCls:t,className:Qe(o,l),style:f,ref:c})})},jv=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),mA=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},jv(`${t}-primary`,o),jv(`${t}-danger`,a)]}};var pA=["b"],vA=["v"],tu=function(e){return Math.round(Number(e||0))},gA=function(e){if(e instanceof sn)return e;if(e&&xt(e)==="object"&&"h"in e&&"b"in e){var t=e,n=t.b,r=qt(t,pA);return re(re({},r),{},{v:n})}return typeof e=="string"&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},Fi=(function(e){Ur(n,e);var t=Xr(n);function n(r){return Sn(this,n),t.call(this,gA(r))}return En(n,[{key:"toHsbString",value:function(){var r=this.toHsb(),o=tu(r.s*100),a=tu(r.b*100),i=tu(r.h),s=r.a,l="hsb(".concat(i,", ").concat(o,"%, ").concat(a,"%)"),u="hsba(".concat(i,", ").concat(o,"%, ").concat(a,"%, ").concat(s.toFixed(s===0?0:2),")");return s===1?l:u}},{key:"toHsb",value:function(){var r=this.toHsv(),o=r.v,a=qt(r,vA);return re(re({},a),{},{b:o,a:this.a})}}]),n})(sn),hA=function(e){return e instanceof Fi?e:new Fi(e)};hA("#1677ff");const bA=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",yA=(e,t)=>e?bA(e,t):"";let yd=(function(){function e(t){Sn(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(o=>({color:new e(o.color),percent:o.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(({color:o,percent:a})=>({color:new e(o),percent:a})),this.metaColor=new Fi(this.colors[0].color.metaColor)):this.metaColor=new Fi(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return En(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return yA(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:t}=this;return t?`linear-gradient(90deg, ${t.map(n=>`${n.color.toRgbString()} ${n.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(t){return!t||this.isGradient()!==t.isGradient()?!1:this.isGradient()?this.colors.length===t.colors.length&&this.colors.every((n,r)=>{const o=t.colors[r];return n.percent===o.percent&&n.color.equals(o.color)}):this.toHexString()===t.toHexString()}}])})();var xA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},CA=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:xA}))},wA=d.forwardRef(CA);const l1=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
1412
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
1413
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),SA=e=>({animationDuration:e,animationFillMode:"both"}),EA=e=>({animationDuration:e,animationFillMode:"both"}),nm=(e,t,n,r,o=!1)=>{const a=o?"&":"";return{[`
|
|
1414
|
-
${a}${e}-enter,
|
|
1415
|
-
${a}${e}-appear
|
|
1416
|
-
`]:Object.assign(Object.assign({},SA(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},EA(r)),{animationPlayState:"paused"}),[`
|
|
1417
|
-
${a}${e}-enter${e}-enter-active,
|
|
1418
|
-
${a}${e}-appear${e}-appear-active
|
|
1419
|
-
`]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},kA=new Jt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),IA=new Jt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),MA=new Jt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),NA=new Jt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),OA=new Jt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),PA=new Jt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),RA=new Jt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),AA=new Jt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),DA={"move-up":{inKeyframes:RA,outKeyframes:AA},"move-down":{inKeyframes:kA,outKeyframes:IA},"move-left":{inKeyframes:MA,outKeyframes:NA},"move-right":{inKeyframes:OA,outKeyframes:PA}},$v=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=DA[t];return[nm(r,o,a,e.motionDurationMid),{[`
|
|
1420
|
-
${r}-enter,
|
|
1421
|
-
${r}-appear
|
|
1422
|
-
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},s1=new Jt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),c1=new Jt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),u1=new Jt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),d1=new Jt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),jA=new Jt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),$A=new Jt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),FA=new Jt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),TA=new Jt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),BA={"slide-up":{inKeyframes:s1,outKeyframes:c1},"slide-down":{inKeyframes:u1,outKeyframes:d1},"slide-left":{inKeyframes:jA,outKeyframes:$A},"slide-right":{inKeyframes:FA,outKeyframes:TA}},bs=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=BA[t];return[nm(r,o,a,e.motionDurationMid),{[`
|
|
1423
|
-
${r}-enter,
|
|
1424
|
-
${r}-appear
|
|
1425
|
-
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},zA=new Jt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),HA=new Jt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Fv=new Jt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Tv=new Jt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),LA=new Jt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),VA=new Jt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),WA=new Jt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),KA=new Jt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),YA=new Jt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),qA=new Jt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),GA=new Jt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),UA=new Jt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),XA={zoom:{inKeyframes:zA,outKeyframes:HA},"zoom-big":{inKeyframes:Fv,outKeyframes:Tv},"zoom-big-fast":{inKeyframes:Fv,outKeyframes:Tv},"zoom-left":{inKeyframes:WA,outKeyframes:KA},"zoom-right":{inKeyframes:YA,outKeyframes:qA},"zoom-up":{inKeyframes:LA,outKeyframes:VA},"zoom-down":{inKeyframes:GA,outKeyframes:UA}},rm=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=XA[t];return[nm(r,o,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
|
1426
|
-
${r}-enter,
|
|
1427
|
-
${r}-appear
|
|
1428
|
-
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},ZA=e=>e instanceof yd?e:new yd(e),QA=(e,t)=>{const{r:n,g:r,b:o,a}=e.toRgb(),i=new Fi(e.toRgbString()).onBackground(t).toHsv();return a<=.5?i.v>.5:n*.299+r*.587+o*.114>192},f1=e=>{const{paddingInline:t,onlyIconSize:n}=e;return cr(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},m1=e=>{var t,n,r,o,a,i;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,c=(o=e.contentLineHeight)!==null&&o!==void 0?o:Ul(s),f=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:Ul(l),v=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:Ul(u),p=QA(new yd(e.colorBgSolid),"#fff")?"#000":"#fff",b=Wo.reduce((g,h)=>Object.assign(Object.assign({},g),{[`${h}ShadowColor`]:`0 ${bt(e.controlOutlineWidth)} 0 ${si(e[`${h}1`],e.colorBgContainer)}`}),{});return Object.assign(Object.assign({},b),{fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:p,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:u,contentLineHeight:c,contentLineHeightSM:f,contentLineHeightLG:v,paddingBlock:Math.max((e.controlHeight-s*c)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*v)/2-e.lineWidth,0)})},JA=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:o,motionDurationSlow:a,motionEaseInOut:i,iconGap:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:s,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${bt(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:Zf(),"> a":{color:"currentColor"},"&:not(:disabled)":cd(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:o,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(u=>`${u} ${a} ${i}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},p1=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),_A=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),e3=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),t3=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),ic=(e,t,n,r,o,a,i,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},p1(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:a||void 0}})}),n3=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},t3(e))}),r3=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),lc=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?r3:n3;return Object.assign(Object.assign({},o(e)),p1(e.componentCls,t,n))},sc=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},lc(e,r,o))}),cc=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},lc(e,r,o))}),uc=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),dc=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},lc(e,n,r))}),Gr=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},lc(e,r,o,n))}),o3=e=>{const{componentCls:t}=e;return Wo.reduce((n,r)=>{const o=e[`${r}6`],a=e[`${r}1`],i=e[`${r}5`],s=e[`${r}2`],l=e[`${r}3`],u=e[`${r}7`];return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:o,boxShadow:e[`${r}ShadowColor`]},sc(e,e.colorTextLightSolid,o,{background:i},{background:u})),cc(e,o,e.colorBgContainer,{color:i,borderColor:i,background:e.colorBgContainer},{color:u,borderColor:u,background:e.colorBgContainer})),uc(e)),dc(e,a,{color:o,background:s},{color:o,background:l})),Gr(e,o,"link",{color:i},{color:u})),Gr(e,o,"text",{color:i,background:a},{color:u,background:l}))})},{})},a3=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},sc(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),uc(e)),dc(e,e.colorFillTertiary,{color:e.defaultColor,background:e.colorFillSecondary},{color:e.defaultColor,background:e.colorFill})),ic(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),Gr(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),i3=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},cc(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),uc(e)),dc(e,e.colorPrimaryBg,{color:e.colorPrimary,background:e.colorPrimaryBgHover},{color:e.colorPrimary,background:e.colorPrimaryBorder})),Gr(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),Gr(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),ic(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),l3=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},sc(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),cc(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),uc(e)),dc(e,e.colorErrorBg,{color:e.colorError,background:e.colorErrorBgFilledHover},{color:e.colorError,background:e.colorErrorBgActive})),Gr(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),Gr(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),ic(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),s3=e=>Object.assign(Object.assign({},Gr(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),ic(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})),c3=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:a3(e),[`${t}-color-primary`]:i3(e),[`${t}-color-dangerous`]:l3(e),[`${t}-color-link`]:s3(e)},o3(e))},u3=e=>Object.assign(Object.assign(Object.assign(Object.assign({},cc(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Gr(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),sc(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),Gr(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),om=(e,t="")=>{const{componentCls:n,controlHeight:r,fontSize:o,borderRadius:a,buttonPaddingHorizontal:i,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:u}=e;return[{[t]:{fontSize:o,height:r,padding:`${bt(l)} ${bt(i)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:u}}}},{[`${n}${n}-circle${t}`]:_A(e)},{[`${n}${n}-round${t}`]:e3(e)}]},d3=e=>{const t=cr(e,{fontSize:e.contentFontSize});return om(t,e.componentCls)},f3=e=>{const t=cr(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return om(t,`${e.componentCls}-sm`)},m3=e=>{const t=cr(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return om(t,`${e.componentCls}-lg`)},p3=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},v3=lo("Button",e=>{const t=f1(e);return[JA(t),d3(t),f3(t),m3(t),p3(t),c3(t),u3(t),mA(t)]},m1,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function g3(e,t,n,r){const{focusElCls:o,focus:a,borderElCls:i}=n,s=i?"> *":"",l=["hover",a?"focus":null,"active"].filter(Boolean).map(u=>`&:${u} ${s}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":Object.assign(Object.assign({[l]:{zIndex:3}},o?{[`&${o}`]:{zIndex:3}}:{}),{[`&[disabled] ${s}`]:{zIndex:0}})}}function h3(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function b3(e,t={focus:!0}){const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},g3(e,r,t,n)),h3(n,r,t))}}function y3(e,t,n){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}}}function x3(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function C3(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},y3(e,t,e.componentCls)),x3(e.componentCls,t))}}const w3=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:o}=e,a=o(r).mul(-1).equal(),i=s=>{const l=`${t}-compact${s?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${l} + ${l}::before`]:{position:"absolute",top:s?a:0,insetInlineStart:s?0:a,backgroundColor:n,content:'""',width:s?"100%":r,height:s?r:"100%"}}};return Object.assign(Object.assign({},i()),i(!0))},S3=PR(["Button","compact"],e=>{const t=f1(e);return[b3(t),C3(t),w3(t)]},m1);var E3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function k3(e){if(typeof e=="object"&&e){let t=e==null?void 0:e.delay;return t=!Number.isNaN(t)&&typeof t=="number"?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}const I3={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},M3=ue.forwardRef((e,t)=>{var n,r;const{loading:o=!1,prefixCls:a,color:i,variant:s,type:l,danger:u=!1,shape:c,size:f,styles:v,disabled:p,className:b,rootClassName:g,children:h,icon:y,iconPosition:m="start",ghost:x=!1,block:C=!1,htmlType:w="button",classNames:S,style:k={},autoInsertSpace:E,autoFocus:O}=e,M=E3(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),N=l||"default",{button:R}=ue.useContext(Rn),A=c||(R==null?void 0:R.shape)||"default",[I,P]=Mn(()=>{if(i&&s)return[i,s];if(l||u){const Re=I3[N]||[];return u?["danger",Re[1]]:Re}return R!=null&&R.color&&(R!=null&&R.variant)?[R.color,R.variant]:["default","outlined"]},[l,i,s,u,R==null?void 0:R.variant,R==null?void 0:R.color]),D=I==="danger"?"dangerous":I,{getPrefixCls:j,direction:$,autoInsertSpace:z,className:L,style:B,classNames:F,styles:H}=Xf("button"),W=(n=E??z)!==null&&n!==void 0?n:!0,V=j("btn",a),[_,q,U]=v3(V),Q=Yn(ps),te=p??Q,X=Yn(i1),Y=Mn(()=>k3(o),[o]),[T,Z]=Rt(Y.loading),[J,ne]=Rt(!1),ae=at(null),le=Va(t,ae),be=yx.count(h)===1&&!y&&!Jc(P),Ce=at(!0);ue.useEffect(()=>(Ce.current=!1,()=>{Ce.current=!0}),[]),an(()=>{let Re=null;Y.delay>0?Re=setTimeout(()=>{Re=null,Z(!0)},Y.delay):Z(Y.loading);function pe(){Re&&(clearTimeout(Re),Re=null)}return pe},[Y.delay,Y.loading]),Yt(()=>{if(!ae.current||!W)return;const Re=ae.current.textContent||"";be&&hd(Re)?J||ne(!0):J&&ne(!1)}),Yt(()=>{O&&ae.current&&ae.current.focus()},[]);const de=ue.useCallback(Re=>{var pe;if(T||te){Re.preventDefault();return}(pe=e.onClick)===null||pe===void 0||pe.call(e,Re)},[e.onClick,T,te]),{compactSize:Se,compactItemClassnames:oe}=a1(V,$),se={large:"lg",small:"sm",middle:void 0},ke=n1(Re=>{var pe,Ne;return(Ne=(pe=f??Se)!==null&&pe!==void 0?pe:X)!==null&&Ne!==void 0?Ne:Re}),ge=ke&&(r=se[ke])!==null&&r!==void 0?r:"",ie=T?"loading":y,we=so(M,["navigate"]),fe=Qe(V,q,U,{[`${V}-${A}`]:A!=="default"&&A,[`${V}-${N}`]:N,[`${V}-dangerous`]:u,[`${V}-color-${D}`]:D,[`${V}-variant-${P}`]:P,[`${V}-${ge}`]:ge,[`${V}-icon-only`]:!h&&h!==0&&!!ie,[`${V}-background-ghost`]:x&&!Jc(P),[`${V}-loading`]:T,[`${V}-two-chinese-chars`]:J&&W&&!T,[`${V}-block`]:C,[`${V}-rtl`]:$==="rtl",[`${V}-icon-end`]:m==="end"},oe,b,g,L),ce=Object.assign(Object.assign({},B),k),xe=Qe(S==null?void 0:S.icon,F.icon),he=Object.assign(Object.assign({},(v==null?void 0:v.icon)||{}),H.icon||{}),Me=y&&!T?ue.createElement(bd,{prefixCls:V,className:xe,style:he},y):o&&typeof o=="object"&&o.icon?ue.createElement(bd,{prefixCls:V,className:xe,style:he},o.icon):ue.createElement(fA,{existIcon:!!y,prefixCls:V,loading:T,mount:Ce.current}),ve=h||h===0?dA(h,be&&W):null;if(we.href!==void 0)return _(ue.createElement("a",Object.assign({},we,{className:Qe(fe,{[`${V}-disabled`]:te}),href:te?void 0:we.href,style:ce,onClick:de,ref:le,tabIndex:te?-1:0}),Me,ve));let me=ue.createElement("button",Object.assign({},M,{type:w,className:fe,style:ce,onClick:de,disabled:te,ref:le}),Me,ve,oe&&ue.createElement(S3,{prefixCls:V}));return Jc(P)||(me=ue.createElement(tA,{component:"Button",disabled:T},me)),_(me)}),ys=M3;ys.Group=cA;ys.__ANT_BUTTON=!0;var v1=d.createContext(null),Bv=[];function N3(e,t){var n=d.useState(function(){if(!hr())return null;var b=document.createElement("div");return b}),r=Ee(n,1),o=r[0],a=d.useRef(!1),i=d.useContext(v1),s=d.useState(Bv),l=Ee(s,2),u=l[0],c=l[1],f=i||(a.current?void 0:function(b){c(function(g){var h=[b].concat(rt(g));return h})});function v(){o.parentElement||document.body.appendChild(o),a.current=!0}function p(){var b;(b=o.parentElement)===null||b===void 0||b.removeChild(o),a.current=!1}return an(function(){return e?i?i(v):v():p(),p},[e]),an(function(){u.length&&(u.forEach(function(b){return b()}),c(Bv))},[u]),[o,f]}function O3(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var o,a;if(e){var i=getComputedStyle(e);r.scrollbarColor=i.scrollbarColor,r.scrollbarWidth=i.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),u=parseInt(s.height,10);try{var c=l?"width: ".concat(s.width,";"):"",f=u?"height: ".concat(s.height,";"):"";no(`
|
|
1429
|
-
#`.concat(t,`::-webkit-scrollbar {
|
|
1430
|
-
`).concat(c,`
|
|
1431
|
-
`).concat(f,`
|
|
1432
|
-
}`),t)}catch(b){console.error(b),o=l,a=u}}document.body.appendChild(n);var v=e&&o&&!isNaN(o)?o:n.offsetWidth-n.clientWidth,p=e&&a&&!isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),Oi(t),{width:v,height:p}}function P3(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:O3(e)}function R3(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var A3="rc-util-locker-".concat(Date.now()),zv=0;function D3(e){var t=!!e,n=d.useState(function(){return zv+=1,"".concat(A3,"_").concat(zv)}),r=Ee(n,1),o=r[0];an(function(){if(t){var a=P3(document.body).width,i=R3();no(`
|
|
1433
|
-
html body {
|
|
1434
|
-
overflow-y: hidden;
|
|
1435
|
-
`.concat(i?"width: calc(100% - ".concat(a,"px);"):"",`
|
|
1436
|
-
}`),o)}else Oi(o);return function(){Oi(o)}},[t,o])}var j3=!1;function $3(e){return j3}var Hv=function(e){return e===!1?!1:!hr()||!e?null:typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e},g1=d.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var a=e.autoDestroy,i=a===void 0?!0:a,s=e.children,l=d.useState(n),u=Ee(l,2),c=u[0],f=u[1],v=c||n;d.useEffect(function(){(i||n)&&f(n)},[n,i]);var p=d.useState(function(){return Hv(o)}),b=Ee(p,2),g=b[0],h=b[1];d.useEffect(function(){var N=Hv(o);h(N??null)});var y=N3(v&&!g),m=Ee(y,2),x=m[0],C=m[1],w=g??x;D3(r&&n&&hr()&&(w===x||w===document.body));var S=null;if(s&&Io(s)&&t){var k=s;S=k.ref}var E=Va(S,t);if(!v||!hr()||g===void 0)return null;var O=w===!1||$3(),M=s;return t&&(M=d.cloneElement(s,{ref:E})),d.createElement(v1.Provider,{value:C},O?M:ks(M,w))});function F3(){var e=re({},d);return e.useId}var Lv=0,Vv=F3();const h1=Vv?(function(e){var t=Vv();return e||t}):(function(e){var t=d.useState("ssr-id"),n=Ee(t,2),r=n[0],o=n[1];return d.useEffect(function(){var a=Lv;Lv+=1,o("rc_unique_".concat(a))},[]),e||r});var $o="RC_FORM_INTERNAL_HOOKS",en=function(){fn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Aa=d.createContext({getFieldValue:en,getFieldsValue:en,getFieldError:en,getFieldWarning:en,getFieldsError:en,isFieldsTouched:en,isFieldTouched:en,isFieldValidating:en,isFieldsValidating:en,resetFields:en,setFields:en,setFieldValue:en,setFieldsValue:en,validateFields:en,submit:en,getInternalHooks:function(){return en(),{dispatch:en,initEntityValue:en,registerField:en,useSubscribe:en,setInitialValues:en,destroyForm:en,setCallbacks:en,registerWatch:en,getFields:en,setValidateMessages:en,setPreserve:en,getInitialValue:en}}}),xs=d.createContext(null);function xd(e){return e==null?[]:Array.isArray(e)?e:[e]}function T3(e){return e&&!!e._init}function Cd(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var wd=Cd();function B3(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function z3(e,t,n){if(Bf())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&Ii(o,n.prototype),o}function Sd(e){var t=typeof Map=="function"?new Map:void 0;return Sd=function(n){if(n===null||!B3(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return z3(n,arguments,Mi(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ii(r,n)},Sd(e)}var H3=/%[sdj%]/g,L3=function(){};function Ed(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function pr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,a=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var i=e.replace(H3,function(s){if(s==="%%")return"%";if(o>=a)return s;switch(s){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return s}});return i}return e}function V3(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Tn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||V3(t)&&typeof e=="string"&&!e)}function W3(e,t,n){var r=[],o=0,a=e.length;function i(s){r.push.apply(r,rt(s||[])),o++,o===a&&n(r)}e.forEach(function(s){t(s,i)})}function Wv(e,t,n){var r=0,o=e.length;function a(i){if(i&&i.length){n(i);return}var s=r;r=r+1,s<o?t(e[s],a):n([])}a([])}function K3(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,rt(e[n]||[]))}),t}var Kv=(function(e){Ur(n,e);var t=Xr(n);function n(r,o){var a;return Sn(this,n),a=t.call(this,"Async Validation Error"),K(qe(a),"errors",void 0),K(qe(a),"fields",void 0),a.errors=r,a.fields=o,a}return En(n)})(Sd(Error));function Y3(e,t,n,r,o){if(t.first){var a=new Promise(function(v,p){var b=function(h){return r(h),h.length?p(new Kv(h,Ed(h))):v(o)},g=K3(e);Wv(g,n,b)});return a.catch(function(v){return v}),a}var i=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,u=0,c=[],f=new Promise(function(v,p){var b=function(g){if(c.push.apply(c,g),u++,u===l)return r(c),c.length?p(new Kv(c,Ed(c))):v(o)};s.length||(r(c),v(o)),s.forEach(function(g){var h=e[g];i.indexOf(g)!==-1?Wv(h,n,b):W3(h,n,b)})});return f.catch(function(v){return v}),f}function q3(e){return!!(e&&e.message!==void 0)}function G3(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function Yv(e,t){return function(n){var r;return e.fullFields?r=G3(t,e.fullFields):r=t[n.field||e.fullField],q3(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function qv(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];xt(r)==="object"&&xt(e[n])==="object"?e[n]=re(re({},e[n]),r):e[n]=r}}return e}var oa="enum",U3=function(e,t,n,r,o){e[oa]=Array.isArray(e[oa])?e[oa]:[],e[oa].indexOf(t)===-1&&r.push(pr(o.messages[oa],e.fullField,e[oa].join(", ")))},X3=function(e,t,n,r,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(pr(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var a=new RegExp(e.pattern);a.test(t)||r.push(pr(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},Z3=function(e,t,n,r,o){var a=typeof e.len=="number",i=typeof e.min=="number",s=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=t,c=null,f=typeof t=="number",v=typeof t=="string",p=Array.isArray(t);if(f?c="number":v?c="string":p&&(c="array"),!c)return!1;p&&(u=t.length),v&&(u=t.replace(l,"_").length),a?u!==e.len&&r.push(pr(o.messages[c].len,e.fullField,e.len)):i&&!s&&u<e.min?r.push(pr(o.messages[c].min,e.fullField,e.min)):s&&!i&&u>e.max?r.push(pr(o.messages[c].max,e.fullField,e.max)):i&&s&&(u<e.min||u>e.max)&&r.push(pr(o.messages[c].range,e.fullField,e.min,e.max))},b1=function(e,t,n,r,o,a){e.required&&(!n.hasOwnProperty(e.field)||Tn(t,a||e.type))&&r.push(pr(o.messages.required,e.fullField))},Il;const Q3=(function(){if(Il)return Il;var e="[a-fA-F\\d:]",t=function(w){return w&&w.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",i="(?:".concat(o.join("|"),")").concat(a),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),l=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(i,"$")),c=function(w){return w&&w.exact?s:new RegExp("(?:".concat(t(w)).concat(n).concat(t(w),")|(?:").concat(t(w)).concat(i).concat(t(w),")"),"g")};c.v4=function(w){return w&&w.exact?l:new RegExp("".concat(t(w)).concat(n).concat(t(w)),"g")},c.v6=function(w){return w&&w.exact?u:new RegExp("".concat(t(w)).concat(i).concat(t(w)),"g")};var f="(?:(?:[a-z]+:)?//)",v="(?:\\S+(?::\\S*)?@)?",p=c.v4().source,b=c.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",m="(?::\\d{2,5})?",x='(?:[/?#][^\\s"]*)?',C="(?:".concat(f,"|www\\.)").concat(v,"(?:localhost|").concat(p,"|").concat(b,"|").concat(g).concat(h).concat(y,")").concat(m).concat(x);return Il=new RegExp("(?:^".concat(C,"$)"),"i"),Il});var Gv={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ci={integer:function(e){return ci.number(e)&&parseInt(e,10)===e},float:function(e){return ci.number(e)&&!ci.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return xt(e)==="object"&&!ci.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(Gv.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(Q3())},hex:function(e){return typeof e=="string"&&!!e.match(Gv.hex)}},J3=function(e,t,n,r,o){if(e.required&&t===void 0){b1(e,t,n,r,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=e.type;a.indexOf(i)>-1?ci[i](t)||r.push(pr(o.messages.types[i],e.fullField,e.type)):i&&xt(t)!==e.type&&r.push(pr(o.messages.types[i],e.fullField,e.type))},_3=function(e,t,n,r,o){(/^\s+$/.test(t)||t==="")&&r.push(pr(o.messages.whitespace,e.fullField))};const Vt={required:b1,whitespace:_3,type:J3,range:Z3,enum:U3,pattern:X3};var eD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o)}n(a)},tD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t==null&&!e.required)return n();Vt.required(e,t,r,a,o,"array"),t!=null&&(Vt.type(e,t,r,a,o),Vt.range(e,t,r,a,o))}n(a)},nD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),t!==void 0&&Vt.type(e,t,r,a,o)}n(a)},rD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t,"date")&&!e.required)return n();if(Vt.required(e,t,r,a,o),!Tn(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),Vt.type(e,s,r,a,o),s&&Vt.range(e,s.getTime(),r,a,o)}}n(a)},oD="enum",aD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),t!==void 0&&Vt[oD](e,t,r,a,o)}n(a)},iD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),t!==void 0&&(Vt.type(e,t,r,a,o),Vt.range(e,t,r,a,o))}n(a)},lD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),t!==void 0&&(Vt.type(e,t,r,a,o),Vt.range(e,t,r,a,o))}n(a)},sD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),t!==void 0&&Vt.type(e,t,r,a,o)}n(a)},cD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t===""&&(t=void 0),Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),t!==void 0&&(Vt.type(e,t,r,a,o),Vt.range(e,t,r,a,o))}n(a)},uD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),t!==void 0&&Vt.type(e,t,r,a,o)}n(a)},dD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t,"string")&&!e.required)return n();Vt.required(e,t,r,a,o),Tn(t,"string")||Vt.pattern(e,t,r,a,o)}n(a)},fD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t)&&!e.required)return n();Vt.required(e,t,r,a,o),Tn(t)||Vt.type(e,t,r,a,o)}n(a)},mD=function(e,t,n,r,o){var a=[],i=Array.isArray(t)?"array":xt(t);Vt.required(e,t,r,a,o,i),n(a)},pD=function(e,t,n,r,o){var a=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(Tn(t,"string")&&!e.required)return n();Vt.required(e,t,r,a,o,"string"),Tn(t,"string")||(Vt.type(e,t,r,a,o),Vt.range(e,t,r,a,o),Vt.pattern(e,t,r,a,o),e.whitespace===!0&&Vt.whitespace(e,t,r,a,o))}n(a)},nu=function(e,t,n,r,o){var a=e.type,i=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(Tn(t,a)&&!e.required)return n();Vt.required(e,t,r,i,o,a),Tn(t,a)||Vt.type(e,t,r,i,o)}n(i)};const hi={string:pD,method:sD,number:cD,boolean:nD,regexp:fD,integer:lD,float:iD,array:tD,object:uD,enum:aD,pattern:dD,date:rD,url:nu,hex:nu,email:nu,required:mD,any:eD};var el=(function(){function e(t){Sn(this,e),K(this,"rules",null),K(this,"_messages",wd),this.define(t)}return En(e,[{key:"define",value:function(t){var n=this;if(!t)throw new Error("Cannot configure a schema with no rules");if(xt(t)!=="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={},Object.keys(t).forEach(function(r){var o=t[r];n.rules[r]=Array.isArray(o)?o:[o]})}},{key:"messages",value:function(t){return t&&(this._messages=qv(Cd(),t)),this._messages}},{key:"validate",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},a=t,i=r,s=o;if(typeof i=="function"&&(s=i,i={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,a),Promise.resolve(a);function l(p){var b=[],g={};function h(m){if(Array.isArray(m)){var x;b=(x=b).concat.apply(x,rt(m))}else b.push(m)}for(var y=0;y<p.length;y++)h(p[y]);b.length?(g=Ed(b),s(b,g)):s(null,a)}if(i.messages){var u=this.messages();u===wd&&(u=Cd()),qv(u,i.messages),i.messages=u}else i.messages=this.messages();var c={},f=i.keys||Object.keys(this.rules);f.forEach(function(p){var b=n.rules[p],g=a[p];b.forEach(function(h){var y=h;typeof y.transform=="function"&&(a===t&&(a=re({},a)),g=a[p]=y.transform(g),g!=null&&(y.type=y.type||(Array.isArray(g)?"array":xt(g)))),typeof y=="function"?y={validator:y}:y=re({},y),y.validator=n.getValidationMethod(y),y.validator&&(y.field=p,y.fullField=y.fullField||p,y.type=n.getType(y),c[p]=c[p]||[],c[p].push({rule:y,value:g,source:a,field:p}))})});var v={};return Y3(c,i,function(p,b){var g=p.rule,h=(g.type==="object"||g.type==="array")&&(xt(g.fields)==="object"||xt(g.defaultField)==="object");h=h&&(g.required||!g.required&&p.value),g.field=p.field;function y(S,k){return re(re({},k),{},{fullField:"".concat(g.fullField,".").concat(S),fullFields:g.fullFields?[].concat(rt(g.fullFields),[S]):[S]})}function m(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],k=Array.isArray(S)?S:[S];!i.suppressWarning&&k.length&&e.warning("async-validator:",k),k.length&&g.message!==void 0&&(k=[].concat(g.message));var E=k.map(Yv(g,a));if(i.first&&E.length)return v[g.field]=1,b(E);if(!h)b(E);else{if(g.required&&!p.value)return g.message!==void 0?E=[].concat(g.message).map(Yv(g,a)):i.error&&(E=[i.error(g,pr(i.messages.required,g.field))]),b(E);var O={};g.defaultField&&Object.keys(p.value).map(function(R){O[R]=g.defaultField}),O=re(re({},O),p.rule.fields);var M={};Object.keys(O).forEach(function(R){var A=O[R],I=Array.isArray(A)?A:[A];M[R]=I.map(y.bind(null,R))});var N=new e(M);N.messages(i.messages),p.rule.options&&(p.rule.options.messages=i.messages,p.rule.options.error=i.error),N.validate(p.value,p.rule.options||i,function(R){var A=[];E&&E.length&&A.push.apply(A,rt(E)),R&&R.length&&A.push.apply(A,rt(R)),b(A.length?A:null)})}}var x;if(g.asyncValidator)x=g.asyncValidator(g,p.value,m,p.source,i);else if(g.validator){try{x=g.validator(g,p.value,m,p.source,i)}catch(S){var C,w;(C=(w=console).error)===null||C===void 0||C.call(w,S),i.suppressValidatorError||setTimeout(function(){throw S},0),m(S.message)}x===!0?m():x===!1?m(typeof g.message=="function"?g.message(g.fullField||g.field):g.message||"".concat(g.fullField||g.field," fails")):x instanceof Array?m(x):x instanceof Error&&m(x.message)}x&&x.then&&x.then(function(){return m()},function(S){return m(S)})},function(p){l(p)},a)}},{key:"getType",value:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!hi.hasOwnProperty(t.type))throw new Error(pr("Unknown rule type %s",t.type));return t.type||"string"}},{key:"getValidationMethod",value:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?hi.required:hi[this.getType(t)]||void 0}}]),e})();K(el,"register",function(e,t){if(typeof t!="function")throw new Error("Cannot register a validator by type, validator is not a function");hi[e]=t});K(el,"warning",L3);K(el,"messages",wd);K(el,"validators",hi);var fr="'${name}' is not a valid ${type}",y1={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:fr,method:fr,array:fr,object:fr,number:fr,date:fr,boolean:fr,integer:fr,float:fr,regexp:fr,email:fr,url:fr,hex:fr},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Uv=el;function vD(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var Xv="CODE_LOGIC_ERROR";function kd(e,t,n,r,o){return Id.apply(this,arguments)}function Id(){return Id=ta(tr().mark(function e(t,n,r,o,a){var i,s,l,u,c,f,v,p,b;return tr().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return i=re({},r),delete i.ruleIndex,Uv.warning=function(){},i.validator&&(s=i.validator,i.validator=function(){try{return s.apply(void 0,arguments)}catch(h){return console.error(h),Promise.reject(Xv)}}),l=null,i&&i.type==="array"&&i.defaultField&&(l=i.defaultField,delete i.defaultField),u=new Uv(K({},t,[i])),c=va(y1,o.validateMessages),u.messages(c),f=[],g.prev=10,g.next=13,Promise.resolve(u.validate(K({},t,n),re({},o)));case 13:g.next=18;break;case 15:g.prev=15,g.t0=g.catch(10),g.t0.errors&&(f=g.t0.errors.map(function(h,y){var m=h.message,x=m===Xv?c.default:m;return d.isValidElement(x)?d.cloneElement(x,{key:"error_".concat(y)}):x}));case 18:if(!(!f.length&&l)){g.next=23;break}return g.next=21,Promise.all(n.map(function(h,y){return kd("".concat(t,".").concat(y),h,l,o,a)}));case 21:return v=g.sent,g.abrupt("return",v.reduce(function(h,y){return[].concat(rt(h),rt(y))},[]));case 23:return p=re(re({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),b=f.map(function(h){return typeof h=="string"?vD(h,p):h}),g.abrupt("return",b);case 26:case"end":return g.stop()}},e,null,[[10,15]])})),Id.apply(this,arguments)}function gD(e,t,n,r,o,a){var i=e.join("."),s=n.map(function(c,f){var v=c.validator,p=re(re({},c),{},{ruleIndex:f});return v&&(p.validator=function(b,g,h){var y=!1,m=function(){for(var C=arguments.length,w=new Array(C),S=0;S<C;S++)w[S]=arguments[S];Promise.resolve().then(function(){fn(!y,"Your validator function has already return a promise. `callback` will be ignored."),y||h.apply(void 0,w)})},x=v(b,g,m);y=x&&typeof x.then=="function"&&typeof x.catch=="function",fn(y,"`callback` is deprecated. Please return a promise instead."),y&&x.then(function(){h()}).catch(function(C){h(C||" ")})}),p}).sort(function(c,f){var v=c.warningOnly,p=c.ruleIndex,b=f.warningOnly,g=f.ruleIndex;return!!v==!!b?p-g:v?1:-1}),l;if(o===!0)l=new Promise((function(){var c=ta(tr().mark(function f(v,p){var b,g,h;return tr().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:b=0;case 1:if(!(b<s.length)){y.next=12;break}return g=s[b],y.next=5,kd(i,t,g,r,a);case 5:if(h=y.sent,!h.length){y.next=9;break}return p([{errors:h,rule:g}]),y.abrupt("return");case 9:b+=1,y.next=1;break;case 12:v([]);case 13:case"end":return y.stop()}},f)}));return function(f,v){return c.apply(this,arguments)}})());else{var u=s.map(function(c){return kd(i,t,c,r,a).then(function(f){return{errors:f,rule:c}})});l=(o?bD(u):hD(u)).then(function(c){return Promise.reject(c)})}return l.catch(function(c){return c}),l}function hD(e){return Md.apply(this,arguments)}function Md(){return Md=ta(tr().mark(function e(t){return tr().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.all(t).then(function(r){var o,a=(o=[]).concat.apply(o,rt(r));return a}));case 1:case"end":return n.stop()}},e)})),Md.apply(this,arguments)}function bD(e){return Nd.apply(this,arguments)}function Nd(){return Nd=ta(tr().mark(function e(t){var n;return tr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=0,r.abrupt("return",new Promise(function(o){t.forEach(function(a){a.then(function(i){i.errors.length&&o([i]),n+=1,n===t.length&&o([])})})}));case 2:case"end":return r.stop()}},e)})),Nd.apply(this,arguments)}function xn(e){return xd(e)}function Zv(e,t){var n={};return t.forEach(function(r){var o=Yr(e,r);n=Ir(n,r,o)}),n}function xa(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return x1(t,r,n)})}function x1(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,o){return e[o]===r})}function yD(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||xt(e)!=="object"||xt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return rt(o).every(function(a){var i=e[a],s=t[a];return typeof i=="function"&&typeof s=="function"?!0:i===s})}function xD(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&xt(t.target)==="object"&&e in t.target?t.target[e]:t}function Qv(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],a=t-n;return a>0?[].concat(rt(e.slice(0,n)),[o],rt(e.slice(n,t)),rt(e.slice(t+1,r))):a<0?[].concat(rt(e.slice(0,t)),rt(e.slice(t+1,n+1)),[o],rt(e.slice(n+1,r))):e}var CD=["name"],yr=[];function ru(e,t,n,r,o,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==o}var am=(function(e){Ur(n,e);var t=Xr(n);function n(r){var o;if(Sn(this,n),o=t.call(this,r),K(qe(o),"state",{resetCount:0}),K(qe(o),"cancelRegisterFunc",null),K(qe(o),"mounted",!1),K(qe(o),"touched",!1),K(qe(o),"dirty",!1),K(qe(o),"validatePromise",void 0),K(qe(o),"prevValidating",void 0),K(qe(o),"errors",yr),K(qe(o),"warnings",yr),K(qe(o),"cancelRegister",function(){var l=o.props,u=l.preserve,c=l.isListField,f=l.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(c,u,xn(f)),o.cancelRegisterFunc=null}),K(qe(o),"getNamePath",function(){var l=o.props,u=l.name,c=l.fieldContext,f=c.prefixName,v=f===void 0?[]:f;return u!==void 0?[].concat(rt(v),rt(u)):[]}),K(qe(o),"getRules",function(){var l=o.props,u=l.rules,c=u===void 0?[]:u,f=l.fieldContext;return c.map(function(v){return typeof v=="function"?v(f):v})}),K(qe(o),"refresh",function(){o.mounted&&o.setState(function(l){var u=l.resetCount;return{resetCount:u+1}})}),K(qe(o),"metaCache",null),K(qe(o),"triggerMetaEvent",function(l){var u=o.props.onMetaChange;if(u){var c=re(re({},o.getMeta()),{},{destroy:l});Pi(o.metaCache,c)||u(c),o.metaCache=c}else o.metaCache=null}),K(qe(o),"onStoreChange",function(l,u,c){var f=o.props,v=f.shouldUpdate,p=f.dependencies,b=p===void 0?[]:p,g=f.onReset,h=c.store,y=o.getNamePath(),m=o.getValue(l),x=o.getValue(h),C=u&&xa(u,y);switch(c.type==="valueUpdate"&&c.source==="external"&&!Pi(m,x)&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=yr,o.warnings=yr,o.triggerMetaEvent()),c.type){case"reset":if(!u||C){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=yr,o.warnings=yr,o.triggerMetaEvent(),g==null||g(),o.refresh();return}break;case"remove":{if(v&&ru(v,l,h,m,x,c)){o.reRender();return}break}case"setField":{var w=c.data;if(C){"touched"in w&&(o.touched=w.touched),"validating"in w&&!("originRCField"in w)&&(o.validatePromise=w.validating?Promise.resolve([]):null),"errors"in w&&(o.errors=w.errors||yr),"warnings"in w&&(o.warnings=w.warnings||yr),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in w&&xa(u,y,!0)){o.reRender();return}if(v&&!y.length&&ru(v,l,h,m,x,c)){o.reRender();return}break}case"dependenciesUpdate":{var S=b.map(xn);if(S.some(function(k){return xa(c.relatedFields,k)})){o.reRender();return}break}default:if(C||(!b.length||y.length||v)&&ru(v,l,h,m,x,c)){o.reRender();return}break}v===!0&&o.reRender()}),K(qe(o),"validateRules",function(l){var u=o.getNamePath(),c=o.getValue(),f=l||{},v=f.triggerName,p=f.validateOnly,b=p===void 0?!1:p,g=Promise.resolve().then(ta(tr().mark(function h(){var y,m,x,C,w,S,k;return tr().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(o.mounted){E.next=2;break}return E.abrupt("return",[]);case 2:if(y=o.props,m=y.validateFirst,x=m===void 0?!1:m,C=y.messageVariables,w=y.validateDebounce,S=o.getRules(),v&&(S=S.filter(function(O){return O}).filter(function(O){var M=O.validateTrigger;if(!M)return!0;var N=xd(M);return N.includes(v)})),!(w&&v)){E.next=10;break}return E.next=8,new Promise(function(O){setTimeout(O,w)});case 8:if(o.validatePromise===g){E.next=10;break}return E.abrupt("return",[]);case 10:return k=gD(u,c,S,l,x,C),k.catch(function(O){return O}).then(function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yr;if(o.validatePromise===g){var M;o.validatePromise=null;var N=[],R=[];(M=O.forEach)===null||M===void 0||M.call(O,function(A){var I=A.rule.warningOnly,P=A.errors,D=P===void 0?yr:P;I?R.push.apply(R,rt(D)):N.push.apply(N,rt(D))}),o.errors=N,o.warnings=R,o.triggerMetaEvent(),o.reRender()}}),E.abrupt("return",k);case 13:case"end":return E.stop()}},h)})));return b||(o.validatePromise=g,o.dirty=!0,o.errors=yr,o.warnings=yr,o.triggerMetaEvent(),o.reRender()),g}),K(qe(o),"isFieldValidating",function(){return!!o.validatePromise}),K(qe(o),"isFieldTouched",function(){return o.touched}),K(qe(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var l=o.props.fieldContext,u=l.getInternalHooks($o),c=u.getInitialValue;return c(o.getNamePath())!==void 0}),K(qe(o),"getErrors",function(){return o.errors}),K(qe(o),"getWarnings",function(){return o.warnings}),K(qe(o),"isListField",function(){return o.props.isListField}),K(qe(o),"isList",function(){return o.props.isList}),K(qe(o),"isPreserve",function(){return o.props.preserve}),K(qe(o),"getMeta",function(){o.prevValidating=o.isFieldValidating();var l={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return l}),K(qe(o),"getOnlyChild",function(l){if(typeof l=="function"){var u=o.getMeta();return re(re({},o.getOnlyChild(l(o.getControlled(),u,o.props.fieldContext))),{},{isFunction:!0})}var c=oo(l);return c.length!==1||!d.isValidElement(c[0])?{child:c,isFunction:!1}:{child:c[0],isFunction:!1}}),K(qe(o),"getValue",function(l){var u=o.props.fieldContext.getFieldsValue,c=o.getNamePath();return Yr(l||u(!0),c)}),K(qe(o),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=o.props,c=u.name,f=u.trigger,v=u.validateTrigger,p=u.getValueFromEvent,b=u.normalize,g=u.valuePropName,h=u.getValueProps,y=u.fieldContext,m=v!==void 0?v:y.validateTrigger,x=o.getNamePath(),C=y.getInternalHooks,w=y.getFieldsValue,S=C($o),k=S.dispatch,E=o.getValue(),O=h||function(I){return K({},g,I)},M=l[f],N=c!==void 0?O(E):{},R=re(re({},l),N);R[f]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var I,P=arguments.length,D=new Array(P),j=0;j<P;j++)D[j]=arguments[j];p?I=p.apply(void 0,D):I=xD.apply(void 0,[g].concat(D)),b&&(I=b(I,E,w(!0))),I!==E&&k({type:"updateValue",namePath:x,value:I}),M&&M.apply(void 0,D)};var A=xd(m||[]);return A.forEach(function(I){var P=R[I];R[I]=function(){P&&P.apply(void 0,arguments);var D=o.props.rules;D&&D.length&&k({type:"validateField",namePath:x,triggerName:I})}}),R}),r.fieldContext){var a=r.fieldContext.getInternalHooks,i=a($o),s=i.initEntityValue;s(qe(o))}return o}return En(n,[{key:"componentDidMount",value:function(){var r=this.props,o=r.shouldUpdate,a=r.fieldContext;if(this.mounted=!0,a){var i=a.getInternalHooks,s=i($o),l=s.registerField;this.cancelRegisterFunc=l(this)}o===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var r=this.state.resetCount,o=this.props.children,a=this.getOnlyChild(o),i=a.child,s=a.isFunction,l;return s?l=i:d.isValidElement(i)?l=d.cloneElement(i,this.getControlled(i.props)):(fn(!i,"`children` of Field is not validate ReactElement."),l=i),d.createElement(d.Fragment,{key:r},l)}}]),n})(d.Component);K(am,"contextType",Aa);K(am,"defaultProps",{trigger:"onChange",valuePropName:"value"});function C1(e){var t,n=e.name,r=qt(e,CD),o=d.useContext(Aa),a=d.useContext(xs),i=n!==void 0?xn(n):void 0,s=(t=r.isListField)!==null&&t!==void 0?t:!!a,l="keep";return s||(l="_".concat((i||[]).join("_"))),d.createElement(am,ht({key:l,name:i,isListField:s},r,{fieldContext:o}))}function wD(e){var t=e.name,n=e.initialValue,r=e.children,o=e.rules,a=e.validateTrigger,i=e.isListField,s=d.useContext(Aa),l=d.useContext(xs),u=d.useRef({keys:[],id:0}),c=u.current,f=d.useMemo(function(){var g=xn(s.prefixName)||[];return[].concat(rt(g),rt(xn(t)))},[s.prefixName,t]),v=d.useMemo(function(){return re(re({},s),{},{prefixName:f})},[s,f]),p=d.useMemo(function(){return{getKey:function(g){var h=f.length,y=g[h];return[c.keys[y],g.slice(h+1)]}}},[f]);if(typeof r!="function")return fn(!1,"Form.List only accepts function as children."),null;var b=function(g,h,y){var m=y.source;return m==="internal"?!1:g!==h};return d.createElement(xs.Provider,{value:p},d.createElement(Aa.Provider,{value:v},d.createElement(C1,{name:[],shouldUpdate:b,rules:o,validateTrigger:a,initialValue:n,isList:!0,isListField:i??!!l},function(g,h){var y=g.value,m=y===void 0?[]:y,x=g.onChange,C=s.getFieldValue,w=function(){var E=C(f||[]);return E||[]},S={add:function(E,O){var M=w();O>=0&&O<=M.length?(c.keys=[].concat(rt(c.keys.slice(0,O)),[c.id],rt(c.keys.slice(O))),x([].concat(rt(M.slice(0,O)),[E],rt(M.slice(O))))):(c.keys=[].concat(rt(c.keys),[c.id]),x([].concat(rt(M),[E]))),c.id+=1},remove:function(E){var O=w(),M=new Set(Array.isArray(E)?E:[E]);M.size<=0||(c.keys=c.keys.filter(function(N,R){return!M.has(R)}),x(O.filter(function(N,R){return!M.has(R)})))},move:function(E,O){if(E!==O){var M=w();E<0||E>=M.length||O<0||O>=M.length||(c.keys=Qv(c.keys,E,O),x(Qv(M,E,O)))}}},k=m||[];return Array.isArray(k)||(k=[]),r(k.map(function(E,O){var M=c.keys[O];return M===void 0&&(c.keys[O]=c.id,M=c.keys[O],c.id+=1),{name:O,key:M,isListField:!0}}),S,h)})))}function SD(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,a){e.forEach(function(i,s){i.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&a(r),o(r))})})}):Promise.resolve([])}var w1="__@field_split__";function ou(e){return e.map(function(t){return"".concat(xt(t),":").concat(t)}).join(w1)}var aa=(function(){function e(){Sn(this,e),K(this,"kvs",new Map)}return En(e,[{key:"set",value:function(t,n){this.kvs.set(ou(t),n)}},{key:"get",value:function(t){return this.kvs.get(ou(t))}},{key:"update",value:function(t,n){var r=this.get(t),o=n(r);o?this.set(t,o):this.delete(t)}},{key:"delete",value:function(t){this.kvs.delete(ou(t))}},{key:"map",value:function(t){return rt(this.kvs.entries()).map(function(n){var r=Ee(n,2),o=r[0],a=r[1],i=o.split(w1);return t({key:i.map(function(s){var l=s.match(/^([^:]*):(.*)$/),u=Ee(l,3),c=u[1],f=u[2];return c==="number"?Number(f):f}),value:a})})}},{key:"toJSON",value:function(){var t={};return this.map(function(n){var r=n.key,o=n.value;return t[r.join(".")]=o,null}),t}}]),e})(),ED=["name"],kD=En(function e(t){var n=this;Sn(this,e),K(this,"formHooked",!1),K(this,"forceRootUpdate",void 0),K(this,"subscribable",!0),K(this,"store",{}),K(this,"fieldEntities",[]),K(this,"initialValues",{}),K(this,"callbacks",{}),K(this,"validateMessages",null),K(this,"preserve",null),K(this,"lastValidatePromise",null),K(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),K(this,"getInternalHooks",function(r){return r===$o?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(fn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),K(this,"useSubscribe",function(r){n.subscribable=r}),K(this,"prevWithoutPreserves",null),K(this,"setInitialValues",function(r,o){if(n.initialValues=r||{},o){var a,i=va(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(s){var l=s.key;i=Ir(i,l,Yr(r,l))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),K(this,"destroyForm",function(r){if(r)n.updateStore({});else{var o=new aa;n.getFieldEntities(!0).forEach(function(a){n.isMergedPreserve(a.isPreserve())||o.set(a.getNamePath(),!0)}),n.prevWithoutPreserves=o}}),K(this,"getInitialValue",function(r){var o=Yr(n.initialValues,r);return r.length?va(o):o}),K(this,"setCallbacks",function(r){n.callbacks=r}),K(this,"setValidateMessages",function(r){n.validateMessages=r}),K(this,"setPreserve",function(r){n.preserve=r}),K(this,"watchList",[]),K(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}}),K(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(o,a,r)})}}),K(this,"timeoutId",null),K(this,"warningUnhooked",function(){}),K(this,"updateStore",function(r){n.store=r}),K(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities}),K(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new aa;return n.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o}),K(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(a){var i=xn(a);return o.get(i)||{INVALIDATE_NAME_PATH:xn(a)}})}),K(this,"getFieldsValue",function(r,o){n.warningUnhooked();var a,i,s;if(r===!0||Array.isArray(r)?(a=r,i=o):r&&xt(r)==="object"&&(s=r.strict,i=r.filter),a===!0&&!i)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),u=[];return l.forEach(function(c){var f,v,p="INVALIDATE_NAME_PATH"in c?c.INVALIDATE_NAME_PATH:c.getNamePath();if(s){var b,g;if((b=(g=c).isList)!==null&&b!==void 0&&b.call(g))return}else if(!a&&(f=(v=c).isListField)!==null&&f!==void 0&&f.call(v))return;if(!i)u.push(p);else{var h="getMeta"in c?c.getMeta():null;i(h)&&u.push(p)}}),Zv(n.store,u.map(xn))}),K(this,"getFieldValue",function(r){n.warningUnhooked();var o=xn(r);return Yr(n.store,o)}),K(this,"getFieldsError",function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:xn(r[i]),errors:[],warnings:[]}})}),K(this,"getFieldError",function(r){n.warningUnhooked();var o=xn(r),a=n.getFieldsError([o])[0];return a.errors}),K(this,"getFieldWarning",function(r){n.warningUnhooked();var o=xn(r),a=n.getFieldsError([o])[0];return a.warnings}),K(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];var i=o[0],s=o[1],l,u=!1;o.length===0?l=null:o.length===1?Array.isArray(i)?(l=i.map(xn),u=!1):(l=null,u=i):(l=i.map(xn),u=s);var c=n.getFieldEntities(!0),f=function(g){return g.isFieldTouched()};if(!l)return u?c.every(function(g){return f(g)||g.isList()}):c.some(f);var v=new aa;l.forEach(function(g){v.set(g,[])}),c.forEach(function(g){var h=g.getNamePath();l.forEach(function(y){y.every(function(m,x){return h[x]===m})&&v.update(y,function(m){return[].concat(rt(m),[g])})})});var p=function(g){return g.some(f)},b=v.map(function(g){var h=g.value;return h});return u?b.every(p):b.some(p)}),K(this,"isFieldTouched",function(r){return n.warningUnhooked(),n.isFieldsTouched([r])}),K(this,"isFieldsValidating",function(r){n.warningUnhooked();var o=n.getFieldEntities();if(!r)return o.some(function(i){return i.isFieldValidating()});var a=r.map(xn);return o.some(function(i){var s=i.getNamePath();return xa(a,s)&&i.isFieldValidating()})}),K(this,"isFieldValidating",function(r){return n.warningUnhooked(),n.isFieldsValidating([r])}),K(this,"resetWithFieldInitialValue",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=new aa,a=n.getFieldEntities(!0);a.forEach(function(l){var u=l.props.initialValue,c=l.getNamePath();if(u!==void 0){var f=o.get(c)||new Set;f.add({entity:l,value:u}),o.set(c,f)}});var i=function(l){l.forEach(function(u){var c=u.props.initialValue;if(c!==void 0){var f=u.getNamePath(),v=n.getInitialValue(f);if(v!==void 0)fn(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var p=o.get(f);if(p&&p.size>1)fn(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(p){var b=n.getFieldValue(f),g=u.isListField();!g&&(!r.skipExist||b===void 0)&&n.updateStore(Ir(n.store,f,rt(p)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var u=o.get(l);if(u){var c;(c=s).push.apply(c,rt(rt(u).map(function(f){return f.entity})))}})):s=a,i(s)}),K(this,"resetFields",function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(va(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(xn);a.forEach(function(i){var s=n.getInitialValue(i);n.updateStore(Ir(n.store,i,s))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(o,a,{type:"reset"}),n.notifyWatch(a)}),K(this,"setFields",function(r){n.warningUnhooked();var o=n.store,a=[];r.forEach(function(i){var s=i.name,l=qt(i,ED),u=xn(s);a.push(u),"value"in l&&n.updateStore(Ir(n.store,u,l.value)),n.notifyObservers(o,[u],{type:"setField",data:i})}),n.notifyWatch(a)}),K(this,"getFields",function(){var r=n.getFieldEntities(!0),o=r.map(function(a){var i=a.getNamePath(),s=a.getMeta(),l=re(re({},s),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return o}),K(this,"initEntityValue",function(r){var o=r.props.initialValue;if(o!==void 0){var a=r.getNamePath(),i=Yr(n.store,a);i===void 0&&n.updateStore(Ir(n.store,a,o))}}),K(this,"isMergedPreserve",function(r){var o=r!==void 0?r:n.preserve;return o??!0}),K(this,"registerField",function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(s)&&(!i||l.length>1)){var u=i?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==u&&n.fieldEntities.every(function(f){return!x1(f.getNamePath(),o)})){var c=n.store;n.updateStore(Ir(c,o,u,!0)),n.notifyObservers(c,[o],{type:"remove"}),n.triggerDependenciesUpdate(c,o)}}n.notifyWatch([o])}}),K(this,"dispatch",function(r){switch(r.type){case"updateValue":{var o=r.namePath,a=r.value;n.updateValue(o,a);break}case"validateField":{var i=r.namePath,s=r.triggerName;n.validateFields([i],{triggerName:s});break}}}),K(this,"notifyObservers",function(r,o,a){if(n.subscribable){var i=re(re({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,o,i)})}else n.forceRootUpdate()}),K(this,"triggerDependenciesUpdate",function(r,o){var a=n.getDependencyChildrenFields(o);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[o].concat(rt(a))}),a}),K(this,"updateValue",function(r,o){var a=xn(r),i=n.store;n.updateStore(Ir(n.store,a,o)),n.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var s=n.triggerDependenciesUpdate(i,a),l=n.callbacks.onValuesChange;if(l){var u=Zv(n.store,[a]);l(u,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(rt(s)))}),K(this,"setFieldsValue",function(r){n.warningUnhooked();var o=n.store;if(r){var a=va(n.store,r);n.updateStore(a)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),K(this,"setFieldValue",function(r,o){n.setFields([{name:r,value:o,errors:[],warnings:[]}])}),K(this,"getDependencyChildrenFields",function(r){var o=new Set,a=[],i=new aa;n.getFieldEntities().forEach(function(l){var u=l.props.dependencies;(u||[]).forEach(function(c){var f=xn(c);i.update(f,function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return v.add(l),v})})});var s=function l(u){var c=i.get(u)||new Set;c.forEach(function(f){if(!o.has(f)){o.add(f);var v=f.getNamePath();f.isFieldDirty()&&v.length&&(a.push(v),l(v))}})};return s(r),a}),K(this,"triggerOnFieldsChange",function(r,o){var a=n.callbacks.onFieldsChange;if(a){var i=n.getFields();if(o){var s=new aa;o.forEach(function(u){var c=u.name,f=u.errors;s.set(c,f)}),i.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var l=i.filter(function(u){var c=u.name;return xa(r,c)});l.length&&a(l,i)}}),K(this,"validateFields",function(r,o){n.warningUnhooked();var a,i;Array.isArray(r)||typeof r=="string"||typeof o=="string"?(a=r,i=o):i=r;var s=!!a,l=s?a.map(xn):[],u=[],c=String(Date.now()),f=new Set,v=i||{},p=v.recursive,b=v.dirty;n.getFieldEntities(!0).forEach(function(m){if(s||l.push(m.getNamePath()),!(!m.props.rules||!m.props.rules.length)&&!(b&&!m.isFieldDirty())){var x=m.getNamePath();if(f.add(x.join(c)),!s||xa(l,x,p)){var C=m.validateRules(re({validateMessages:re(re({},y1),n.validateMessages)},i));u.push(C.then(function(){return{name:x,errors:[],warnings:[]}}).catch(function(w){var S,k=[],E=[];return(S=w.forEach)===null||S===void 0||S.call(w,function(O){var M=O.rule.warningOnly,N=O.errors;M?E.push.apply(E,rt(N)):k.push.apply(k,rt(N))}),k.length?Promise.reject({name:x,errors:k,warnings:E}):{name:x,errors:k,warnings:E}}))}}});var g=SD(u);n.lastValidatePromise=g,g.catch(function(m){return m}).then(function(m){var x=m.map(function(C){var w=C.name;return w});n.notifyObservers(n.store,x,{type:"validateFinish"}),n.triggerOnFieldsChange(x,m)});var h=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(m){var x=m.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:x,outOfDate:n.lastValidatePromise!==g})});h.catch(function(m){return m});var y=l.filter(function(m){return f.has(m.join(c))});return n.triggerOnFieldsChange(y),h}),K(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch(a){console.error(a)}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})}),this.forceRootUpdate=t});function S1(e){var t=d.useRef(),n=d.useState({}),r=Ee(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new kD(a);t.current=i.getForm()}return[t.current]}var Od=d.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),ID=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,o=e.children,a=d.useContext(Od),i=d.useRef({});return d.createElement(Od.Provider,{value:re(re({},a),{},{validateMessages:re(re({},a.validateMessages),t),triggerFormChange:function(s,l){n&&n(s,{changedFields:l,forms:i.current}),a.triggerFormChange(s,l)},triggerFormFinish:function(s,l){r&&r(s,{values:l,forms:i.current}),a.triggerFormFinish(s,l)},registerForm:function(s,l){s&&(i.current=re(re({},i.current),{},K({},s,l))),a.registerForm(s,l)},unregisterForm:function(s){var l=re({},i.current);delete l[s],i.current=l,a.unregisterForm(s)}})},o)},MD=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],ND=function(e,t){var n=e.name,r=e.initialValues,o=e.fields,a=e.form,i=e.preserve,s=e.children,l=e.component,u=l===void 0?"form":l,c=e.validateMessages,f=e.validateTrigger,v=f===void 0?"onChange":f,p=e.onValuesChange,b=e.onFieldsChange,g=e.onFinish,h=e.onFinishFailed,y=e.clearOnDestroy,m=qt(e,MD),x=d.useRef(null),C=d.useContext(Od),w=S1(a),S=Ee(w,1),k=S[0],E=k.getInternalHooks($o),O=E.useSubscribe,M=E.setInitialValues,N=E.setCallbacks,R=E.setValidateMessages,A=E.setPreserve,I=E.destroyForm;d.useImperativeHandle(t,function(){return re(re({},k),{},{nativeElement:x.current})}),d.useEffect(function(){return C.registerForm(n,k),function(){C.unregisterForm(n)}},[C,k,n]),R(re(re({},C.validateMessages),c)),N({onValuesChange:p,onFieldsChange:function(F){if(C.triggerFormChange(n,F),b){for(var H=arguments.length,W=new Array(H>1?H-1:0),V=1;V<H;V++)W[V-1]=arguments[V];b.apply(void 0,[F].concat(W))}},onFinish:function(F){C.triggerFormFinish(n,F),g&&g(F)},onFinishFailed:h}),A(i);var P=d.useRef(null);M(r,!P.current),P.current||(P.current=!0),d.useEffect(function(){return function(){return I(y)}},[]);var D,j=typeof s=="function";if(j){var $=k.getFieldsValue(!0);D=s($,k)}else D=s;O(!j);var z=d.useRef();d.useEffect(function(){yD(z.current||[],o||[])||k.setFields(o||[]),z.current=o},[o,k]);var L=d.useMemo(function(){return re(re({},k),{},{validateTrigger:v})},[k,v]),B=d.createElement(xs.Provider,{value:null},d.createElement(Aa.Provider,{value:L},D));return u===!1?B:d.createElement(u,ht({},m,{ref:x,onSubmit:function(F){F.preventDefault(),F.stopPropagation(),k.submit()},onReset:function(F){var H;F.preventDefault(),k.resetFields(),(H=m.onReset)===null||H===void 0||H.call(m,F)}}),B)};function Jv(e){try{return JSON.stringify(e)}catch{return Math.random()}}function OD(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],a=o===void 0?{}:o,i=T3(a)?{form:a}:a,s=i.form,l=Rt(),u=Ee(l,2),c=u[0],f=u[1],v=Mn(function(){return Jv(c)},[c]),p=at(v);p.current=v;var b=Yn(Aa),g=s||b,h=g&&g._init,y=xn(r),m=at(y);return m.current=y,Yt(function(){if(h){var x=g.getFieldsValue,C=g.getInternalHooks,w=C($o),S=w.registerWatch,k=function(M,N){var R=i.preserve?N:M;return typeof r=="function"?r(R):Yr(R,m.current)},E=S(function(M,N){var R=k(M,N),A=Jv(R);p.current!==A&&(p.current=A,f(R))}),O=k(x(),x(!0));return c!==O&&f(O),E}},[h]),c}var PD=d.forwardRef(ND),tl=PD;tl.FormProvider=ID;tl.Field=C1;tl.List=wD;tl.useForm=S1;tl.useWatch=OD;const _v=d.createContext({}),RD=({children:e,status:t,override:n})=>{const r=d.useContext(_v),o=d.useMemo(()=>{const a=Object.assign({},r);return n&&delete a.isFormItemInput,t&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[t,n,r]);return d.createElement(_v.Provider,{value:o},e)},E1=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let o=r;return n&&(o=ue.createElement(RD,{override:!0,status:!0},o)),t&&(o=ue.createElement(aA,null,o)),o};function AD(e){return t=>d.createElement(Ka,{theme:{token:{motion:!1,zIndexPopupBase:0}}},d.createElement(e,Object.assign({},t)))}const DD=(e,t,n,r,o)=>AD(a=>{const{prefixCls:i,style:s}=a,l=d.useRef(null),[u,c]=d.useState(0),[f,v]=d.useState(0),[p,b]=Ho(!1,{value:a.open}),{getPrefixCls:g}=d.useContext(Rn),h=g(r,i);d.useEffect(()=>{if(b(!0),typeof ResizeObserver<"u"){const x=new ResizeObserver(w=>{const S=w[0].target;c(S.offsetHeight+8),v(S.offsetWidth)}),C=setInterval(()=>{var w;const S=o?`.${o(h)}`:`.${h}-dropdown`,k=(w=l.current)===null||w===void 0?void 0:w.querySelector(S);k&&(clearInterval(C),x.observe(k))},10);return()=>{clearInterval(C),x.disconnect()}}},[]);let y=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},s),{margin:0}),open:p,visible:p,getPopupContainer:()=>l.current});Object.assign(y,{[t]:{overflow:{adjustX:!1,adjustY:!1}}});const m={paddingBottom:u,position:"relative",minWidth:f};return d.createElement("div",{ref:l,style:m},d.createElement(e,Object.assign({},y)))}),jD=(function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))});var $D=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ia=void 0;function FD(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,a=e.renderItem,i=e.responsive,s=e.responsiveDisabled,l=e.registerSize,u=e.itemKey,c=e.className,f=e.style,v=e.children,p=e.display,b=e.order,g=e.component,h=g===void 0?"div":g,y=qt(e,$D),m=i&&!p;function x(E){l(u,E)}d.useEffect(function(){return function(){x(null)}},[]);var C=a&&o!==ia?a(o,{index:b}):v,w;r||(w={opacity:m?0:1,height:m?0:ia,overflowY:m?"hidden":ia,order:i?b:ia,pointerEvents:m?"none":ia,position:m?"absolute":ia});var S={};m&&(S["aria-hidden"]=!0);var k=d.createElement(h,ht({className:Qe(!r&&n,c),style:re(re({},w),f)},S,y,{ref:t}),C);return i&&(k=d.createElement(_o,{onResize:function(E){var O=E.offsetWidth;x(O)},disabled:s},k)),k}var bi=d.forwardRef(FD);bi.displayName="Item";function TD(e){if(typeof MessageChannel>"u")un(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function BD(){var e=d.useRef(null),t=function(n){e.current||(e.current=[],TD(function(){kx(function(){e.current.forEach(function(r){r()}),e.current=null})})),e.current.push(n)};return t}function ei(e,t){var n=d.useState(t),r=Ee(n,2),o=r[0],a=r[1],i=Ln(function(s){e(function(){a(s)})});return[o,i]}var Cs=ue.createContext(null),zD=["component"],HD=["className"],LD=["className"],VD=function(e,t){var n=d.useContext(Cs);if(!n){var r=e.component,o=r===void 0?"div":r,a=qt(e,zD);return d.createElement(o,ht({},a,{ref:t}))}var i=n.className,s=qt(n,HD),l=e.className,u=qt(e,LD);return d.createElement(Cs.Provider,{value:null},d.createElement(bi,ht({ref:t,className:Qe(i,l)},s,u)))},k1=d.forwardRef(VD);k1.displayName="RawItem";var WD=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],I1="responsive",M1="invalidate";function KD(e){return"+ ".concat(e.length," ...")}function YD(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,o=e.data,a=o===void 0?[]:o,i=e.renderItem,s=e.renderRawItem,l=e.itemKey,u=e.itemWidth,c=u===void 0?10:u,f=e.ssr,v=e.style,p=e.className,b=e.maxCount,g=e.renderRest,h=e.renderRawRest,y=e.suffix,m=e.component,x=m===void 0?"div":m,C=e.itemComponent,w=e.onVisibleChange,S=qt(e,WD),k=f==="full",E=BD(),O=ei(E,null),M=Ee(O,2),N=M[0],R=M[1],A=N||0,I=ei(E,new Map),P=Ee(I,2),D=P[0],j=P[1],$=ei(E,0),z=Ee($,2),L=z[0],B=z[1],F=ei(E,0),H=Ee(F,2),W=H[0],V=H[1],_=ei(E,0),q=Ee(_,2),U=q[0],Q=q[1],te=Rt(null),X=Ee(te,2),Y=X[0],T=X[1],Z=Rt(null),J=Ee(Z,2),ne=J[0],ae=J[1],le=d.useMemo(function(){return ne===null&&k?Number.MAX_SAFE_INTEGER:ne||0},[ne,N]),be=Rt(!1),Ce=Ee(be,2),de=Ce[0],Se=Ce[1],oe="".concat(r,"-item"),se=Math.max(L,W),ke=b===I1,ge=a.length&&ke,ie=b===M1,we=ge||typeof b=="number"&&a.length>b,fe=Mn(function(){var Ve=a;return ge?N===null&&k?Ve=a:Ve=a.slice(0,Math.min(a.length,A/c)):typeof b=="number"&&(Ve=a.slice(0,b)),Ve},[a,c,N,b,ge]),ce=Mn(function(){return ge?a.slice(le+1):a.slice(fe.length)},[a,fe,ge,le]),xe=Pt(function(Ve,We){var je;return typeof l=="function"?l(Ve):(je=l&&(Ve==null?void 0:Ve[l]))!==null&&je!==void 0?je:We},[l]),he=Pt(i||function(Ve){return Ve},[i]);function Me(Ve,We,je){ne===Ve&&(We===void 0||We===Y)||(ae(Ve),je||(Se(Ve<a.length-1),w==null||w(Ve)),We!==void 0&&T(We))}function ve(Ve,We){R(We.clientWidth)}function me(Ve,We){j(function(je){var Ie=new Map(je);return We===null?Ie.delete(Ve):Ie.set(Ve,We),Ie})}function Re(Ve,We){V(We),B(W)}function pe(Ve,We){Q(We)}function Ne(Ve){return D.get(xe(fe[Ve],Ve))}an(function(){if(A&&typeof se=="number"&&fe){var Ve=U,We=fe.length,je=We-1;if(!We){Me(0,null);return}for(var Ie=0;Ie<We;Ie+=1){var it=Ne(Ie);if(k&&(it=it||0),it===void 0){Me(Ie-1,void 0,!0);break}if(Ve+=it,je===0&&Ve<=A||Ie===je-1&&Ve+Ne(je)<=A){Me(je,null);break}else if(Ve+se>A){Me(Ie-1,Ve-it-U+W);break}}y&&Ne(0)+U>A&&T(null)}},[A,D,W,U,xe,fe]);var ct=de&&!!ce.length,dt={};Y!==null&&ge&&(dt={position:"absolute",left:Y,top:0});var pt={prefixCls:oe,responsive:ge,component:C,invalidate:ie},$e=s?function(Ve,We){var je=xe(Ve,We);return d.createElement(Cs.Provider,{key:je,value:re(re({},pt),{},{order:We,item:Ve,itemKey:je,registerSize:me,display:We<=le})},s(Ve,We))}:function(Ve,We){var je=xe(Ve,We);return d.createElement(bi,ht({},pt,{order:We,key:je,item:Ve,renderItem:he,itemKey:je,registerSize:me,display:We<=le}))},De={order:ct?le:Number.MAX_SAFE_INTEGER,className:"".concat(oe,"-rest"),registerSize:Re,display:ct},Ye=g||KD,Fe=h?d.createElement(Cs.Provider,{value:re(re({},pt),De)},h(ce)):d.createElement(bi,ht({},pt,De),typeof Ye=="function"?Ye(ce):Ye),Ue=d.createElement(x,ht({className:Qe(!ie&&r,p),style:v,ref:t},S),fe.map($e),we?Fe:null,y&&d.createElement(bi,ht({},pt,{responsive:ke,responsiveDisabled:!ge,order:le,className:"".concat(oe,"-suffix"),registerSize:pe,display:!0,style:dt}),y));return ke?d.createElement(_o,{onResize:ve,disabled:!ge},Ue):Ue}var ro=d.forwardRef(YD);ro.displayName="Overflow";ro.Item=k1;ro.RESPONSIVE=I1;ro.INVALIDATE=M1;function qD(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,a=r||{},i=a.className,s=a.content,l=o.x,u=l===void 0?0:l,c=o.y,f=c===void 0?0:c,v=d.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(n.autoArrow!==!1){var b=n.points[0],g=n.points[1],h=b[0],y=b[1],m=g[0],x=g[1];h===m||!["t","b"].includes(h)?p.top=f:h==="t"?p.top=0:p.bottom=0,y===x||!["l","r"].includes(y)?p.left=u:y==="l"?p.left=0:p.right=0}return d.createElement("div",{ref:v,className:Qe("".concat(t,"-arrow"),i),style:p},s)}function GD(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,a=e.motion;return o?d.createElement(ea,ht({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var s=i.className;return d.createElement("div",{style:{zIndex:r},className:Qe("".concat(t,"-mask"),s)})}):null}var UD=d.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),XD=d.forwardRef(function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,a=e.style,i=e.target,s=e.onVisibleChanged,l=e.open,u=e.keepDom,c=e.fresh,f=e.onClick,v=e.mask,p=e.arrow,b=e.arrowPos,g=e.align,h=e.motion,y=e.maskMotion,m=e.forceRender,x=e.getPopupContainer,C=e.autoDestroy,w=e.portal,S=e.zIndex,k=e.onMouseEnter,E=e.onMouseLeave,O=e.onPointerEnter,M=e.onPointerDownCapture,N=e.ready,R=e.offsetX,A=e.offsetY,I=e.offsetR,P=e.offsetB,D=e.onAlign,j=e.onPrepare,$=e.stretch,z=e.targetWidth,L=e.targetHeight,B=typeof n=="function"?n():n,F=l||u,H=(x==null?void 0:x.length)>0,W=d.useState(!x||!H),V=Ee(W,2),_=V[0],q=V[1];if(an(function(){!_&&H&&i&&q(!0)},[_,H,i]),!_)return null;var U="auto",Q={left:"-1000vw",top:"-1000vh",right:U,bottom:U};if(N||!l){var te,X=g.points,Y=g.dynamicInset||((te=g._experimental)===null||te===void 0?void 0:te.dynamicInset),T=Y&&X[0][1]==="r",Z=Y&&X[0][0]==="b";T?(Q.right=I,Q.left=U):(Q.left=R,Q.right=U),Z?(Q.bottom=P,Q.top=U):(Q.top=A,Q.bottom=U)}var J={};return $&&($.includes("height")&&L?J.height=L:$.includes("minHeight")&&L&&(J.minHeight=L),$.includes("width")&&z?J.width=z:$.includes("minWidth")&&z&&(J.minWidth=z)),l||(J.pointerEvents="none"),d.createElement(w,{open:m||F,getContainer:x&&function(){return x(i)},autoDestroy:C},d.createElement(GD,{prefixCls:o,open:l,zIndex:S,mask:v,motion:y}),d.createElement(_o,{onResize:D,disabled:!l},function(ne){return d.createElement(ea,ht({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:m,leavedClassName:"".concat(o,"-hidden")},h,{onAppearPrepare:j,onEnterPrepare:j,visible:l,onVisibleChanged:function(ae){var le;h==null||(le=h.onVisibleChanged)===null||le===void 0||le.call(h,ae),s(ae)}}),function(ae,le){var be=ae.className,Ce=ae.style,de=Qe(o,be,r);return d.createElement("div",{ref:La(ne,t,le),className:de,style:re(re(re(re({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},Q),J),Ce),{},{boxSizing:"border-box",zIndex:S},a),onMouseEnter:k,onMouseLeave:E,onPointerEnter:O,onClick:f,onPointerDownCapture:M},p&&d.createElement(qD,{prefixCls:o,arrow:p,arrowPos:b,align:g}),d.createElement(UD,{cache:!l&&!c},B))})}))}),ZD=d.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Io(n),a=d.useCallback(function(s){Ff(t,r?r(s):s)},[r]),i=Va(a,Jo(n));return o?d.cloneElement(n,{ref:i}):n}),eg=d.createContext(null);function tg(e){return e?Array.isArray(e)?e:[e]:[]}function QD(e,t,n,r){return d.useMemo(function(){var o=tg(n??t),a=tg(r??t),i=new Set(o),s=new Set(a);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[i,s]},[e,t,n,r])}function JD(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function _D(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i<a.length;i+=1){var s,l=a[i];if(JD((s=e[l])===null||s===void 0?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(l)}return""}function ng(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function nl(e){return e.ownerDocument.defaultView}function Pd(e){for(var t=[],n=e==null?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=nl(n).getComputedStyle(n),a=o.overflowX,i=o.overflowY,s=o.overflow;[a,i,s].some(function(l){return r.includes(l)})&&t.push(n),n=n.parentElement}return t}function Ti(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function ti(e){return Ti(parseFloat(e),0)}function rg(e,t){var n=re({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var o=nl(r).getComputedStyle(r),a=o.overflow,i=o.overflowClipMargin,s=o.borderTopWidth,l=o.borderBottomWidth,u=o.borderLeftWidth,c=o.borderRightWidth,f=r.getBoundingClientRect(),v=r.offsetHeight,p=r.clientHeight,b=r.offsetWidth,g=r.clientWidth,h=ti(s),y=ti(l),m=ti(u),x=ti(c),C=Ti(Math.round(f.width/b*1e3)/1e3),w=Ti(Math.round(f.height/v*1e3)/1e3),S=(b-g-m-x)*C,k=(v-p-h-y)*w,E=h*w,O=y*w,M=m*C,N=x*C,R=0,A=0;if(a==="clip"){var I=ti(i);R=I*C,A=I*w}var P=f.x+M-R,D=f.y+E-A,j=P+f.width+2*R-M-N-S,$=D+f.height+2*A-E-O-k;n.left=Math.max(n.left,P),n.top=Math.max(n.top,D),n.right=Math.min(n.right,j),n.bottom=Math.min(n.bottom,$)}}),n}function og(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function ag(e,t){var n=t||[],r=Ee(n,2),o=r[0],a=r[1];return[og(e.width,o),og(e.height,a)]}function ig(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function la(e,t){var n=t[0],r=t[1],o,a;return n==="t"?a=e.y:n==="b"?a=e.y+e.height:a=e.y+e.height/2,r==="l"?o=e.x:r==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:a}}function po(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,o){return o===t?n[r]||"c":r}).join("")}function e6(e,t,n,r,o,a,i){var s=d.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),l=Ee(s,2),u=l[0],c=l[1],f=d.useRef(0),v=d.useMemo(function(){return t?Pd(t):[]},[t]),p=d.useRef({}),b=function(){p.current={}};e||b();var g=Ln(function(){if(t&&n&&e){let Xt=function(uo,Ga){var fo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ke,Ua=F.x+uo,il=F.y+Ga,gc=Ua+Z,hc=il+T,bc=Math.max(Ua,fo.left),_e=Math.max(il,fo.top),Lt=Math.min(gc,fo.right),Bn=Math.min(hc,fo.bottom);return Math.max(0,(Lt-bc)*(Bn-_e))},co=function(){Ht=F.y+Ie,At=Ht+T,Wt=F.x+je,Tt=Wt+Z};var m,x,C,w,S=t,k=S.ownerDocument,E=nl(S),O=E.getComputedStyle(S),M=O.position,N=S.style.left,R=S.style.top,A=S.style.right,I=S.style.bottom,P=S.style.overflow,D=re(re({},o[r]),a),j=k.createElement("div");(m=S.parentElement)===null||m===void 0||m.appendChild(j),j.style.left="".concat(S.offsetLeft,"px"),j.style.top="".concat(S.offsetTop,"px"),j.style.position=M,j.style.height="".concat(S.offsetHeight,"px"),j.style.width="".concat(S.offsetWidth,"px"),S.style.left="0",S.style.top="0",S.style.right="auto",S.style.bottom="auto",S.style.overflow="hidden";var $;if(Array.isArray(n))$={x:n[0],y:n[1],width:0,height:0};else{var z,L,B=n.getBoundingClientRect();B.x=(z=B.x)!==null&&z!==void 0?z:B.left,B.y=(L=B.y)!==null&&L!==void 0?L:B.top,$={x:B.x,y:B.y,width:B.width,height:B.height}}var F=S.getBoundingClientRect(),H=E.getComputedStyle(S),W=H.height,V=H.width;F.x=(x=F.x)!==null&&x!==void 0?x:F.left,F.y=(C=F.y)!==null&&C!==void 0?C:F.top;var _=k.documentElement,q=_.clientWidth,U=_.clientHeight,Q=_.scrollWidth,te=_.scrollHeight,X=_.scrollTop,Y=_.scrollLeft,T=F.height,Z=F.width,J=$.height,ne=$.width,ae={left:0,top:0,right:q,bottom:U},le={left:-Y,top:-X,right:Q-Y,bottom:te-X},be=D.htmlRegion,Ce="visible",de="visibleFirst";be!=="scroll"&&be!==de&&(be=Ce);var Se=be===de,oe=rg(le,v),se=rg(ae,v),ke=be===Ce?se:oe,ge=Se?se:ke;S.style.left="auto",S.style.top="auto",S.style.right="0",S.style.bottom="0";var ie=S.getBoundingClientRect();S.style.left=N,S.style.top=R,S.style.right=A,S.style.bottom=I,S.style.overflow=P,(w=S.parentElement)===null||w===void 0||w.removeChild(j);var we=Ti(Math.round(Z/parseFloat(V)*1e3)/1e3),fe=Ti(Math.round(T/parseFloat(W)*1e3)/1e3);if(we===0||fe===0||ki(n)&&!tm(n))return;var ce=D.offset,xe=D.targetOffset,he=ag(F,ce),Me=Ee(he,2),ve=Me[0],me=Me[1],Re=ag($,xe),pe=Ee(Re,2),Ne=pe[0],ct=pe[1];$.x-=Ne,$.y-=ct;var dt=D.points||[],pt=Ee(dt,2),$e=pt[0],De=pt[1],Ye=ig(De),Fe=ig($e),Ue=la($,Ye),Ve=la(F,Fe),We=re({},D),je=Ue.x-Ve.x+ve,Ie=Ue.y-Ve.y+me,it=Xt(je,Ie),Oe=Xt(je,Ie,se),Le=la($,["t","l"]),ze=la(F,["t","l"]),Ke=la($,["b","r"]),ft=la(F,["b","r"]),Je=D.overflow||{},Et=Je.adjustX,It=Je.adjustY,mt=Je.shiftX,Nt=Je.shiftY,zt=function(uo){return typeof uo=="boolean"?uo:uo>=0},Ht,At,Wt,Tt;co();var _t=zt(It),Pe=Fe[0]===Ye[0];if(_t&&Fe[0]==="t"&&(At>ge.bottom||p.current.bt)){var Ze=Ie;Pe?Ze-=T-J:Ze=Le.y-ft.y-me;var Ge=Xt(je,Ze),Te=Xt(je,Ze,se);Ge>it||Ge===it&&(!Se||Te>=Oe)?(p.current.bt=!0,Ie=Ze,me=-me,We.points=[po(Fe,0),po(Ye,0)]):p.current.bt=!1}if(_t&&Fe[0]==="b"&&(Ht<ge.top||p.current.tb)){var ot=Ie;Pe?ot+=T-J:ot=Ke.y-ze.y-me;var kt=Xt(je,ot),Dt=Xt(je,ot,se);kt>it||kt===it&&(!Se||Dt>=Oe)?(p.current.tb=!0,Ie=ot,me=-me,We.points=[po(Fe,0),po(Ye,0)]):p.current.tb=!1}var rn=zt(Et),cn=Fe[1]===Ye[1];if(rn&&Fe[1]==="l"&&(Tt>ge.right||p.current.rl)){var Gt=je;cn?Gt-=Z-ne:Gt=Le.x-ft.x-ve;var Ut=Xt(Gt,Ie),mn=Xt(Gt,Ie,se);Ut>it||Ut===it&&(!Se||mn>=Oe)?(p.current.rl=!0,je=Gt,ve=-ve,We.points=[po(Fe,1),po(Ye,1)]):p.current.rl=!1}if(rn&&Fe[1]==="r"&&(Wt<ge.left||p.current.lr)){var dn=je;cn?dn+=Z-ne:dn=Ke.x-ze.x-ve;var pn=Xt(dn,Ie),yn=Xt(dn,Ie,se);pn>it||pn===it&&(!Se||yn>=Oe)?(p.current.lr=!0,je=dn,ve=-ve,We.points=[po(Fe,1),po(Ye,1)]):p.current.lr=!1}co();var vn=mt===!0?0:mt;typeof vn=="number"&&(Wt<se.left&&(je-=Wt-se.left-ve,$.x+ne<se.left+vn&&(je+=$.x-se.left+ne-vn)),Tt>se.right&&(je-=Tt-se.right-ve,$.x>se.right-vn&&(je+=$.x-se.right+vn)));var qn=Nt===!0?0:Nt;typeof qn=="number"&&(Ht<se.top&&(Ie-=Ht-se.top-me,$.y+J<se.top+qn&&(Ie+=$.y-se.top+J-qn)),At>se.bottom&&(Ie-=At-se.bottom-me,$.y>se.bottom-qn&&(Ie+=$.y-se.bottom+qn)));var Gn=F.x+je,Un=Gn+Z,or=F.y+Ie,wt=or+T,lt=$.x,nt=lt+ne,Kt=$.y,tt=Kt+J,Xe=Math.max(Gn,lt),Bt=Math.min(Un,nt),tn=(Xe+Bt)/2,gn=tn-Gn,An=Math.max(or,Kt),Xn=Math.min(wt,tt),nr=(An+Xn)/2,Ot=nr-or;i==null||i(t,We);var ut=ie.right-F.x-(je+F.width),Mt=ie.bottom-F.y-(Ie+F.height);we===1&&(je=Math.round(je),ut=Math.round(ut)),fe===1&&(Ie=Math.round(Ie),Mt=Math.round(Mt));var nn={ready:!0,offsetX:je/we,offsetY:Ie/fe,offsetR:ut/we,offsetB:Mt/fe,arrowX:gn/we,arrowY:Ot/fe,scaleX:we,scaleY:fe,align:We};c(nn)}}),h=function(){f.current+=1;var m=f.current;Promise.resolve().then(function(){f.current===m&&g()})},y=function(){c(function(m){return re(re({},m),{},{ready:!1})})};return an(y,[r]),an(function(){e||y()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,h]}function t6(e,t,n,r,o){an(function(){if(e&&t&&n){let f=function(){r(),o()};var a=t,i=n,s=Pd(a),l=Pd(i),u=nl(i),c=new Set([u].concat(rt(s),rt(l)));return c.forEach(function(v){v.addEventListener("scroll",f,{passive:!0})}),u.addEventListener("resize",f,{passive:!0}),r(),function(){c.forEach(function(v){v.removeEventListener("scroll",f),u.removeEventListener("resize",f)})}}},[e,t,n])}function n6(e,t,n,r,o,a,i,s){var l=d.useRef(e);l.current=e;var u=d.useRef(!1);d.useEffect(function(){if(t&&r&&(!o||a)){var f=function(){u.current=!1},v=function(g){var h;l.current&&!i(((h=g.composedPath)===null||h===void 0||(h=h.call(g))===null||h===void 0?void 0:h[0])||g.target)&&!u.current&&s(!1)},p=nl(r);p.addEventListener("pointerdown",f,!0),p.addEventListener("mousedown",v,!0),p.addEventListener("contextmenu",v,!0);var b=vs(n);return b&&(b.addEventListener("mousedown",v,!0),b.addEventListener("contextmenu",v,!0)),function(){p.removeEventListener("pointerdown",f,!0),p.removeEventListener("mousedown",v,!0),p.removeEventListener("contextmenu",v,!0),b&&(b.removeEventListener("mousedown",v,!0),b.removeEventListener("contextmenu",v,!0))}}},[t,n,r,o,a]);function c(){u.current=!0}return c}var r6=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function o6(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g1,t=d.forwardRef(function(n,r){var o=n.prefixCls,a=o===void 0?"rc-trigger-popup":o,i=n.children,s=n.action,l=s===void 0?"hover":s,u=n.showAction,c=n.hideAction,f=n.popupVisible,v=n.defaultPopupVisible,p=n.onPopupVisibleChange,b=n.afterPopupVisibleChange,g=n.mouseEnterDelay,h=n.mouseLeaveDelay,y=h===void 0?.1:h,m=n.focusDelay,x=n.blurDelay,C=n.mask,w=n.maskClosable,S=w===void 0?!0:w,k=n.getPopupContainer,E=n.forceRender,O=n.autoDestroy,M=n.destroyPopupOnHide,N=n.popup,R=n.popupClassName,A=n.popupStyle,I=n.popupPlacement,P=n.builtinPlacements,D=P===void 0?{}:P,j=n.popupAlign,$=n.zIndex,z=n.stretch,L=n.getPopupClassNameFromAlign,B=n.fresh,F=n.alignPoint,H=n.onPopupClick,W=n.onPopupAlign,V=n.arrow,_=n.popupMotion,q=n.maskMotion,U=n.popupTransitionName,Q=n.popupAnimation,te=n.maskTransitionName,X=n.maskAnimation,Y=n.className,T=n.getTriggerDOMNode,Z=qt(n,r6),J=O||M||!1,ne=d.useState(!1),ae=Ee(ne,2),le=ae[0],be=ae[1];an(function(){be(jD())},[]);var Ce=d.useRef({}),de=d.useContext(eg),Se=d.useMemo(function(){return{registerSubPopup:function(_e,Lt){Ce.current[_e]=Lt,de==null||de.registerSubPopup(_e,Lt)}}},[de]),oe=h1(),se=d.useState(null),ke=Ee(se,2),ge=ke[0],ie=ke[1],we=d.useRef(null),fe=Ln(function(_e){we.current=_e,ki(_e)&&ge!==_e&&ie(_e),de==null||de.registerSubPopup(oe,_e)}),ce=d.useState(null),xe=Ee(ce,2),he=xe[0],Me=xe[1],ve=d.useRef(null),me=Ln(function(_e){ki(_e)&&he!==_e&&(Me(_e),ve.current=_e)}),Re=d.Children.only(i),pe=(Re==null?void 0:Re.props)||{},Ne={},ct=Ln(function(_e){var Lt,Bn,Dn=he;return(Dn==null?void 0:Dn.contains(_e))||((Lt=vs(Dn))===null||Lt===void 0?void 0:Lt.host)===_e||_e===Dn||(ge==null?void 0:ge.contains(_e))||((Bn=vs(ge))===null||Bn===void 0?void 0:Bn.host)===_e||_e===ge||Object.values(Ce.current).some(function(hn){return(hn==null?void 0:hn.contains(_e))||_e===hn})}),dt=ng(a,_,Q,U),pt=ng(a,q,X,te),$e=d.useState(v||!1),De=Ee($e,2),Ye=De[0],Fe=De[1],Ue=f??Ye,Ve=Ln(function(_e){f===void 0&&Fe(_e)});an(function(){Fe(f||!1)},[f]);var We=d.useRef(Ue);We.current=Ue;var je=d.useRef([]);je.current=[];var Ie=Ln(function(_e){var Lt;Ve(_e),((Lt=je.current[je.current.length-1])!==null&&Lt!==void 0?Lt:Ue)!==_e&&(je.current.push(_e),p==null||p(_e))}),it=d.useRef(),Oe=function(){clearTimeout(it.current)},Le=function(_e){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Oe(),Lt===0?Ie(_e):it.current=setTimeout(function(){Ie(_e)},Lt*1e3)};d.useEffect(function(){return Oe},[]);var ze=d.useState(!1),Ke=Ee(ze,2),ft=Ke[0],Je=Ke[1];an(function(_e){(!_e||Ue)&&Je(!0)},[Ue]);var Et=d.useState(null),It=Ee(Et,2),mt=It[0],Nt=It[1],zt=d.useState(null),Ht=Ee(zt,2),At=Ht[0],Wt=Ht[1],Tt=function(_e){Wt([_e.clientX,_e.clientY])},_t=e6(Ue,ge,F&&At!==null?At:he,I,D,j,W),Pe=Ee(_t,11),Ze=Pe[0],Ge=Pe[1],Te=Pe[2],ot=Pe[3],kt=Pe[4],Dt=Pe[5],rn=Pe[6],cn=Pe[7],Gt=Pe[8],Ut=Pe[9],mn=Pe[10],dn=QD(le,l,u,c),pn=Ee(dn,2),yn=pn[0],vn=pn[1],qn=yn.has("click"),Gn=vn.has("click")||vn.has("contextMenu"),Un=Ln(function(){ft||mn()}),or=function(){We.current&&F&&Gn&&Le(!1)};t6(Ue,he,ge,Un,or),an(function(){Un()},[At,I]),an(function(){Ue&&!(D!=null&&D[I])&&Un()},[JSON.stringify(j)]);var wt=d.useMemo(function(){var _e=_D(D,a,Ut,F);return Qe(_e,L==null?void 0:L(Ut))},[Ut,L,D,a,F]);d.useImperativeHandle(r,function(){return{nativeElement:ve.current,popupElement:we.current,forceAlign:Un}});var lt=d.useState(0),nt=Ee(lt,2),Kt=nt[0],tt=nt[1],Xe=d.useState(0),Bt=Ee(Xe,2),tn=Bt[0],gn=Bt[1],An=function(){if(z&&he){var _e=he.getBoundingClientRect();tt(_e.width),gn(_e.height)}},Xn=function(){An(),Un()},nr=function(_e){Je(!1),mn(),b==null||b(_e)},Ot=function(){return new Promise(function(_e){An(),Nt(function(){return _e})})};an(function(){mt&&(mn(),mt(),Nt(null))},[mt]);function ut(_e,Lt,Bn,Dn){Ne[_e]=function(hn){var ll;Dn==null||Dn(hn),Le(Lt,Bn);for(var yc=arguments.length,xm=new Array(yc>1?yc-1:0),sl=1;sl<yc;sl++)xm[sl-1]=arguments[sl];(ll=pe[_e])===null||ll===void 0||ll.call.apply(ll,[pe,hn].concat(xm))}}(qn||Gn)&&(Ne.onClick=function(_e){var Lt;We.current&&Gn?Le(!1):!We.current&&qn&&(Tt(_e),Le(!0));for(var Bn=arguments.length,Dn=new Array(Bn>1?Bn-1:0),hn=1;hn<Bn;hn++)Dn[hn-1]=arguments[hn];(Lt=pe.onClick)===null||Lt===void 0||Lt.call.apply(Lt,[pe,_e].concat(Dn))});var Mt=n6(Ue,Gn,he,ge,C,S,ct,Le),nn=yn.has("hover"),Xt=vn.has("hover"),co,uo;nn&&(ut("onMouseEnter",!0,g,function(_e){Tt(_e)}),ut("onPointerEnter",!0,g,function(_e){Tt(_e)}),co=function(_e){(Ue||ft)&&ge!==null&&ge!==void 0&&ge.contains(_e.target)&&Le(!0,g)},F&&(Ne.onMouseMove=function(_e){var Lt;(Lt=pe.onMouseMove)===null||Lt===void 0||Lt.call(pe,_e)})),Xt&&(ut("onMouseLeave",!1,y),ut("onPointerLeave",!1,y),uo=function(){Le(!1,y)}),yn.has("focus")&&ut("onFocus",!0,m),vn.has("focus")&&ut("onBlur",!1,x),yn.has("contextMenu")&&(Ne.onContextMenu=function(_e){var Lt;We.current&&vn.has("contextMenu")?Le(!1):(Tt(_e),Le(!0)),_e.preventDefault();for(var Bn=arguments.length,Dn=new Array(Bn>1?Bn-1:0),hn=1;hn<Bn;hn++)Dn[hn-1]=arguments[hn];(Lt=pe.onContextMenu)===null||Lt===void 0||Lt.call.apply(Lt,[pe,_e].concat(Dn))}),Y&&(Ne.className=Qe(pe.className,Y));var Ga=d.useRef(!1);Ga.current||(Ga.current=E||Ue||ft);var fo=re(re({},pe),Ne),Ua={},il=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];il.forEach(function(_e){Z[_e]&&(Ua[_e]=function(){for(var Lt,Bn=arguments.length,Dn=new Array(Bn),hn=0;hn<Bn;hn++)Dn[hn]=arguments[hn];(Lt=fo[_e])===null||Lt===void 0||Lt.call.apply(Lt,[fo].concat(Dn)),Z[_e].apply(Z,Dn)})});var gc=d.cloneElement(Re,re(re({},fo),Ua)),hc={x:Dt,y:rn},bc=V?re({},V!==!0?V:{}):null;return d.createElement(d.Fragment,null,d.createElement(_o,{disabled:!Ue,ref:me,onResize:Xn},d.createElement(ZD,{getTriggerDOMNode:T},gc)),Ga.current&&d.createElement(eg.Provider,{value:Se},d.createElement(XD,{portal:e,ref:fe,prefixCls:a,popup:N,className:Qe(R,wt),style:A,target:he,onMouseEnter:co,onMouseLeave:uo,onPointerEnter:co,zIndex:$,open:Ue,keepDom:ft,fresh:B,onClick:H,onPointerDownCapture:Mt,mask:C,motion:dt,maskMotion:pt,onVisibleChanged:nr,onPrepare:Ot,forceRender:E,autoDestroy:J,getPopupContainer:k,align:Ut,arrow:bc,arrowPos:hc,ready:Ze,offsetX:Ge,offsetY:Te,offsetR:ot,offsetB:kt,onAlign:Un,stretch:z,targetWidth:Kt/cn,targetHeight:tn/Gt})))});return t}const im=o6(g1);var N1=d.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,a=e.children,i=e.prefixCls,s=e.onInnerResize,l=e.innerProps,u=e.rtl,c=e.extra,f={},v={display:"flex",flexDirection:"column"};return r!==void 0&&(f={height:n,position:"relative",overflow:"hidden"},v=re(re({},v),{},K(K(K(K(K({transform:"translateY(".concat(r,"px)")},u?"marginRight":"marginLeft",-o),"position","absolute"),"left",0),"right",0),"top",0))),d.createElement("div",{style:f},d.createElement(_o,{onResize:function(p){var b=p.offsetHeight;b&&s&&s()}},d.createElement("div",ht({style:v,className:Qe(K({},"".concat(i,"-holder-inner"),i)),ref:t},l),a,c)))});N1.displayName="Filler";function a6(e){var t=e.children,n=e.setRef,r=d.useCallback(function(o){n(o)},[]);return d.cloneElement(t,{ref:r})}function i6(e,t,n,r,o,a,i,s){var l=s.getKey;return e.slice(t,n+1).map(function(u,c){var f=t+c,v=i(u,f,{style:{width:r},offsetX:o}),p=l(u);return d.createElement(a6,{key:p,setRef:function(b){return a(u,b)}},v)})}function l6(e,t,n){var r=e.length,o=t.length,a,i;if(r===0&&o===0)return null;r<o?(a=e,i=t):(a=t,i=e);var s={__EMPTY_ITEM__:!0};function l(b){return b!==void 0?n(b):s}for(var u=null,c=Math.abs(r-o)!==1,f=0;f<i.length;f+=1){var v=l(a[f]),p=l(i[f]);if(v!==p){u=f,c=c||v!==l(i[f+1]);break}}return u===null?null:{index:u,multiple:c}}function s6(e,t,n){var r=d.useState(e),o=Ee(r,2),a=o[0],i=o[1],s=d.useState(null),l=Ee(s,2),u=l[0],c=l[1];return d.useEffect(function(){var f=l6(a||[],e||[],t);(f==null?void 0:f.index)!==void 0&&c(e[f.index]),i(e)},[e]),[u]}var lg=(typeof navigator>"u"?"undefined":xt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const O1=(function(e,t,n,r){var o=at(!1),a=at(null);function i(){clearTimeout(a.current),o.current=!0,a.current=setTimeout(function(){o.current=!1},50)}var s=at({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(l,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=l?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return c&&f?(clearTimeout(a.current),o.current=!1):(!f||o.current)&&i(),!o.current&&f}});function c6(e,t,n,r,o,a,i){var s=at(0),l=at(null),u=at(null),c=at(!1),f=O1(t,n,r,o);function v(m,x){if(un.cancel(l.current),!f(!1,x)){var C=m;if(!C._virtualHandled)C._virtualHandled=!0;else return;s.current+=x,u.current=x,lg||C.preventDefault(),l.current=un(function(){var w=c.current?10:1;i(s.current*w,!1),s.current=0})}}function p(m,x){i(x,!0),lg||m.preventDefault()}var b=at(null),g=at(null);function h(m){if(e){un.cancel(g.current),g.current=un(function(){b.current=null},2);var x=m.deltaX,C=m.deltaY,w=m.shiftKey,S=x,k=C;(b.current==="sx"||!b.current&&w&&C&&!x)&&(S=C,k=0,b.current="sx");var E=Math.abs(S),O=Math.abs(k);b.current===null&&(b.current=a&&E>O?"x":"y"),b.current==="y"?v(m,k):p(m,S)}}function y(m){e&&(c.current=m.detail===u.current)}return[h,y]}function u6(e,t,n,r){var o=d.useMemo(function(){return[new Map,[]]},[e,n.id,r]),a=Ee(o,2),i=a[0],s=a[1],l=function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,f=i.get(u),v=i.get(c);if(f===void 0||v===void 0)for(var p=e.length,b=s.length;b<p;b+=1){var g,h=e[b],y=t(h);i.set(y,b);var m=(g=n.get(y))!==null&&g!==void 0?g:r;if(s[b]=(s[b-1]||0)+m,y===u&&(f=b),y===c&&(v=b),f!==void 0&&v!==void 0)break}return{top:s[f-1]||0,bottom:s[v]}};return l}var d6=(function(){function e(){Sn(this,e),K(this,"maps",void 0),K(this,"id",0),K(this,"diffRecords",new Map),this.maps=Object.create(null)}return En(e,[{key:"set",value:function(t,n){this.diffRecords.set(t,this.maps[t]),this.maps[t]=n,this.id+=1}},{key:"get",value:function(t){return this.maps[t]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e})();function sg(e){var t=parseFloat(e);return isNaN(t)?0:t}function f6(e,t,n){var r=d.useState(0),o=Ee(r,2),a=o[0],i=o[1],s=at(new Map),l=at(new d6),u=at(0);function c(){u.current+=1}function f(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;c();var b=function(){var h=!1;s.current.forEach(function(y,m){if(y&&y.offsetParent){var x=y.offsetHeight,C=getComputedStyle(y),w=C.marginTop,S=C.marginBottom,k=sg(w),E=sg(S),O=x+k+E;l.current.get(m)!==O&&(l.current.set(m,O),h=!0)}}),h&&i(function(y){return y+1})};if(p)b();else{u.current+=1;var g=u.current;Promise.resolve().then(function(){g===u.current&&b()})}}function v(p,b){var g=e(p);s.current.get(g),b?(s.current.set(g,b),f()):s.current.delete(g)}return Yt(function(){return c},[]),[v,f,l.current,a]}var cg=14/15;function m6(e,t,n){var r=at(!1),o=at(0),a=at(0),i=at(null),s=at(null),l,u=function(v){if(r.current){var p=Math.ceil(v.touches[0].pageX),b=Math.ceil(v.touches[0].pageY),g=o.current-p,h=a.current-b,y=Math.abs(g)>Math.abs(h);y?o.current=p:a.current=b;var m=n(y,y?g:h,!1,v);m&&v.preventDefault(),clearInterval(s.current),m&&(s.current=setInterval(function(){y?g*=cg:h*=cg;var x=Math.floor(y?g:h);(!n(y,x,!0)||Math.abs(x)<=.1)&&clearInterval(s.current)},16))}},c=function(){r.current=!1,l()},f=function(v){l(),v.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(v.touches[0].pageX),a.current=Math.ceil(v.touches[0].pageY),i.current=v.target,i.current.addEventListener("touchmove",u,{passive:!1}),i.current.addEventListener("touchend",c,{passive:!0}))};l=function(){i.current&&(i.current.removeEventListener("touchmove",u),i.current.removeEventListener("touchend",c))},an(function(){return e&&t.current.addEventListener("touchstart",f,{passive:!0}),function(){var v;(v=t.current)===null||v===void 0||v.removeEventListener("touchstart",f),l(),clearInterval(s.current)}},[e])}function ug(e){return Math.floor(Math.pow(e,.5))}function Rd(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}function p6(e,t,n){d.useEffect(function(){var r=t.current;if(e&&r){var o=!1,a,i,s=function(){un.cancel(a)},l=function v(){s(),a=un(function(){n(i),v()})},u=function(v){if(!(v.target.draggable||v.button!==0)){var p=v;p._virtualHandled||(p._virtualHandled=!0,o=!0)}},c=function(){o=!1,s()},f=function(v){if(o){var p=Rd(v,!1),b=r.getBoundingClientRect(),g=b.top,h=b.bottom;if(p<=g){var y=g-p;i=-ug(y),l()}else if(p>=h){var m=p-h;i=ug(m),l()}else s()}};return r.addEventListener("mousedown",u),r.ownerDocument.addEventListener("mouseup",c),r.ownerDocument.addEventListener("mousemove",f),function(){r.removeEventListener("mousedown",u),r.ownerDocument.removeEventListener("mouseup",c),r.ownerDocument.removeEventListener("mousemove",f),s()}}},[e])}var v6=10;function g6(e,t,n,r,o,a,i,s){var l=d.useRef(),u=d.useState(null),c=Ee(u,2),f=c[0],v=c[1];return an(function(){if(f&&f.times<v6){if(!e.current){v(function(z){return re({},z)});return}a();var p=f.targetAlign,b=f.originAlign,g=f.index,h=f.offset,y=e.current.clientHeight,m=!1,x=p,C=null;if(y){for(var w=p||b,S=0,k=0,E=0,O=Math.min(t.length-1,g),M=0;M<=O;M+=1){var N=o(t[M]);k=S;var R=n.get(N);E=k+(R===void 0?r:R),S=E}for(var A=w==="top"?h:y-h,I=O;I>=0;I-=1){var P=o(t[I]),D=n.get(P);if(D===void 0){m=!0;break}if(A-=D,A<=0)break}switch(w){case"top":C=k-h;break;case"bottom":C=E-y+h;break;default:{var j=e.current.scrollTop,$=j+y;k<j?x="top":E>$&&(x="bottom")}}C!==null&&i(C),C!==f.lastTop&&(m=!0)}m&&v(re(re({},f),{},{times:f.times+1,targetAlign:x,lastTop:C}))}},[f,e.current]),function(p){if(p==null){s();return}if(un.cancel(l.current),typeof p=="number")i(p);else if(p&&xt(p)==="object"){var b,g=p.align;"index"in p?b=p.index:b=t.findIndex(function(m){return o(m)===p.key});var h=p.offset,y=h===void 0?0:h;v({times:0,index:b,offset:y,originAlign:g})}}}var dg=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,o=e.scrollOffset,a=e.scrollRange,i=e.onStartMove,s=e.onStopMove,l=e.onScroll,u=e.horizontal,c=e.spinSize,f=e.containerSize,v=e.style,p=e.thumbStyle,b=e.showScrollBar,g=d.useState(!1),h=Ee(g,2),y=h[0],m=h[1],x=d.useState(null),C=Ee(x,2),w=C[0],S=C[1],k=d.useState(null),E=Ee(k,2),O=E[0],M=E[1],N=!r,R=d.useRef(),A=d.useRef(),I=d.useState(b),P=Ee(I,2),D=P[0],j=P[1],$=d.useRef(),z=function(){b===!0||b===!1||(clearTimeout($.current),j(!0),$.current=setTimeout(function(){j(!1)},3e3))},L=a-f||0,B=f-c||0,F=d.useMemo(function(){if(o===0||L===0)return 0;var X=o/L;return X*B},[o,L,B]),H=function(X){X.stopPropagation(),X.preventDefault()},W=d.useRef({top:F,dragging:y,pageY:w,startTop:O});W.current={top:F,dragging:y,pageY:w,startTop:O};var V=function(X){m(!0),S(Rd(X,u)),M(W.current.top),i(),X.stopPropagation(),X.preventDefault()};d.useEffect(function(){var X=function(Z){Z.preventDefault()},Y=R.current,T=A.current;return Y.addEventListener("touchstart",X,{passive:!1}),T.addEventListener("touchstart",V,{passive:!1}),function(){Y.removeEventListener("touchstart",X),T.removeEventListener("touchstart",V)}},[]);var _=d.useRef();_.current=L;var q=d.useRef();q.current=B,d.useEffect(function(){if(y){var X,Y=function(Z){var J=W.current,ne=J.dragging,ae=J.pageY,le=J.startTop;un.cancel(X);var be=R.current.getBoundingClientRect(),Ce=f/(u?be.width:be.height);if(ne){var de=(Rd(Z,u)-ae)*Ce,Se=le;!N&&u?Se-=de:Se+=de;var oe=_.current,se=q.current,ke=se?Se/se:0,ge=Math.ceil(ke*oe);ge=Math.max(ge,0),ge=Math.min(ge,oe),X=un(function(){l(ge,u)})}},T=function(){m(!1),s()};return window.addEventListener("mousemove",Y,{passive:!0}),window.addEventListener("touchmove",Y,{passive:!0}),window.addEventListener("mouseup",T,{passive:!0}),window.addEventListener("touchend",T,{passive:!0}),function(){window.removeEventListener("mousemove",Y),window.removeEventListener("touchmove",Y),window.removeEventListener("mouseup",T),window.removeEventListener("touchend",T),un.cancel(X)}}},[y]),d.useEffect(function(){return z(),function(){clearTimeout($.current)}},[o]),d.useImperativeHandle(t,function(){return{delayHidden:z}});var U="".concat(n,"-scrollbar"),Q={position:"absolute",visibility:D?null:"hidden"},te={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return u?(Object.assign(Q,{height:8,left:0,right:0,bottom:0}),Object.assign(te,K({height:"100%",width:c},N?"left":"right",F))):(Object.assign(Q,K({width:8,top:0,bottom:0},N?"right":"left",0)),Object.assign(te,{width:"100%",height:c,top:F})),d.createElement("div",{ref:R,className:Qe(U,K(K(K({},"".concat(U,"-horizontal"),u),"".concat(U,"-vertical"),!u),"".concat(U,"-visible"),D)),style:re(re({},Q),v),onMouseDown:H,onMouseMove:z},d.createElement("div",{ref:A,className:Qe("".concat(U,"-thumb"),K({},"".concat(U,"-thumb-moving"),y)),style:re(re({},te),p),onMouseDown:V}))}),h6=20;function fg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,h6),Math.floor(n)}var b6=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],y6=[],x6={overflowY:"auto",overflowAnchor:"none"};function C6(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,o=e.className,a=e.height,i=e.itemHeight,s=e.fullHeight,l=s===void 0?!0:s,u=e.style,c=e.data,f=e.children,v=e.itemKey,p=e.virtual,b=e.direction,g=e.scrollWidth,h=e.component,y=h===void 0?"div":h,m=e.onScroll,x=e.onVirtualScroll,C=e.onVisibleChange,w=e.innerProps,S=e.extraRender,k=e.styles,E=e.showScrollBar,O=E===void 0?"optional":E,M=qt(e,b6),N=d.useCallback(function(Pe){return typeof v=="function"?v(Pe):Pe==null?void 0:Pe[v]},[v]),R=f6(N),A=Ee(R,4),I=A[0],P=A[1],D=A[2],j=A[3],$=!!(p!==!1&&a&&i),z=d.useMemo(function(){return Object.values(D.maps).reduce(function(Pe,Ze){return Pe+Ze},0)},[D.id,D.maps]),L=$&&c&&(Math.max(i*c.length,z)>a||!!g),B=b==="rtl",F=Qe(r,K({},"".concat(r,"-rtl"),B),o),H=c||y6,W=at(),V=at(),_=at(),q=Rt(0),U=Ee(q,2),Q=U[0],te=U[1],X=Rt(0),Y=Ee(X,2),T=Y[0],Z=Y[1],J=Rt(!1),ne=Ee(J,2),ae=ne[0],le=ne[1],be=function(){le(!0)},Ce=function(){le(!1)},de={getKey:N};function Se(Pe){te(function(Ze){var Ge;typeof Pe=="function"?Ge=Pe(Ze):Ge=Pe;var Te=Ye(Ge);return W.current.scrollTop=Te,Te})}var oe=at({start:0,end:H.length}),se=at(),ke=s6(H,N),ge=Ee(ke,1),ie=ge[0];se.current=ie;var we=d.useMemo(function(){if(!$)return{scrollHeight:void 0,start:0,end:H.length-1,offset:void 0};if(!L){var Pe;return{scrollHeight:((Pe=V.current)===null||Pe===void 0?void 0:Pe.offsetHeight)||0,start:0,end:H.length-1,offset:void 0}}for(var Ze=0,Ge,Te,ot,kt=H.length,Dt=0;Dt<kt;Dt+=1){var rn=H[Dt],cn=N(rn),Gt=D.get(cn),Ut=Ze+(Gt===void 0?i:Gt);Ut>=Q&&Ge===void 0&&(Ge=Dt,Te=Ze),Ut>Q+a&&ot===void 0&&(ot=Dt),Ze=Ut}return Ge===void 0&&(Ge=0,Te=0,ot=Math.ceil(a/i)),ot===void 0&&(ot=H.length-1),ot=Math.min(ot+1,H.length-1),{scrollHeight:Ze,start:Ge,end:ot,offset:Te}},[L,$,Q,H,j,a]),fe=we.scrollHeight,ce=we.start,xe=we.end,he=we.offset;oe.current.start=ce,oe.current.end=xe,d.useLayoutEffect(function(){var Pe=D.getRecord();if(Pe.size===1){var Ze=Array.from(Pe.keys())[0],Ge=Pe.get(Ze),Te=H[ce];if(Te&&Ge===void 0){var ot=N(Te);if(ot===Ze){var kt=D.get(Ze),Dt=kt-i;Se(function(rn){return rn+Dt})}}}D.resetRecord()},[fe]);var Me=d.useState({width:0,height:a}),ve=Ee(Me,2),me=ve[0],Re=ve[1],pe=function(Pe){Re({width:Pe.offsetWidth,height:Pe.offsetHeight})},Ne=at(),ct=at(),dt=d.useMemo(function(){return fg(me.width,g)},[me.width,g]),pt=d.useMemo(function(){return fg(me.height,fe)},[me.height,fe]),$e=fe-a,De=at($e);De.current=$e;function Ye(Pe){var Ze=Pe;return Number.isNaN(De.current)||(Ze=Math.min(Ze,De.current)),Ze=Math.max(Ze,0),Ze}var Fe=Q<=0,Ue=Q>=$e,Ve=T<=0,We=T>=g,je=O1(Fe,Ue,Ve,We),Ie=function(){return{x:B?-T:T,y:Q}},it=at(Ie()),Oe=Ln(function(Pe){if(x){var Ze=re(re({},Ie()),Pe);(it.current.x!==Ze.x||it.current.y!==Ze.y)&&(x(Ze),it.current=Ze)}});function Le(Pe,Ze){var Ge=Pe;Ze?(Ql(function(){Z(Ge)}),Oe()):Se(Ge)}function ze(Pe){var Ze=Pe.currentTarget.scrollTop;Ze!==Q&&Se(Ze),m==null||m(Pe),Oe()}var Ke=function(Pe){var Ze=Pe,Ge=g?g-me.width:0;return Ze=Math.max(Ze,0),Ze=Math.min(Ze,Ge),Ze},ft=Ln(function(Pe,Ze){Ze?(Ql(function(){Z(function(Ge){var Te=Ge+(B?-Pe:Pe);return Ke(Te)})}),Oe()):Se(function(Ge){var Te=Ge+Pe;return Te})}),Je=c6($,Fe,Ue,Ve,We,!!g,ft),Et=Ee(Je,2),It=Et[0],mt=Et[1];m6($,W,function(Pe,Ze,Ge,Te){var ot=Te;return je(Pe,Ze,Ge)?!1:!ot||!ot._virtualHandled?(ot&&(ot._virtualHandled=!0),It({preventDefault:function(){},deltaX:Pe?Ze:0,deltaY:Pe?0:Ze}),!0):!1}),p6(L,W,function(Pe){Se(function(Ze){return Ze+Pe})}),an(function(){function Pe(Ge){var Te=Fe&&Ge.detail<0,ot=Ue&&Ge.detail>0;$&&!Te&&!ot&&Ge.preventDefault()}var Ze=W.current;return Ze.addEventListener("wheel",It,{passive:!1}),Ze.addEventListener("DOMMouseScroll",mt,{passive:!0}),Ze.addEventListener("MozMousePixelScroll",Pe,{passive:!1}),function(){Ze.removeEventListener("wheel",It),Ze.removeEventListener("DOMMouseScroll",mt),Ze.removeEventListener("MozMousePixelScroll",Pe)}},[$,Fe,Ue]),an(function(){if(g){var Pe=Ke(T);Z(Pe),Oe({x:Pe})}},[me.width,g]);var Nt=function(){var Pe,Ze;(Pe=Ne.current)===null||Pe===void 0||Pe.delayHidden(),(Ze=ct.current)===null||Ze===void 0||Ze.delayHidden()},zt=g6(W,H,D,i,N,function(){return P(!0)},Se,Nt);d.useImperativeHandle(t,function(){return{nativeElement:_.current,getScrollInfo:Ie,scrollTo:function(Pe){function Ze(Ge){return Ge&&xt(Ge)==="object"&&("left"in Ge||"top"in Ge)}Ze(Pe)?(Pe.left!==void 0&&Z(Ke(Pe.left)),zt(Pe.top)):zt(Pe)}}}),an(function(){if(C){var Pe=H.slice(ce,xe+1);C(Pe,H)}},[ce,xe,H]);var Ht=u6(H,N,D,i),At=S==null?void 0:S({start:ce,end:xe,virtual:L,offsetX:T,offsetY:he,rtl:B,getSize:Ht}),Wt=i6(H,ce,xe,g,T,I,f,de),Tt=null;a&&(Tt=re(K({},l?"height":"maxHeight",a),x6),$&&(Tt.overflowY="hidden",g&&(Tt.overflowX="hidden"),ae&&(Tt.pointerEvents="none")));var _t={};return B&&(_t.dir="rtl"),d.createElement("div",ht({ref:_,style:re(re({},u),{},{position:"relative"}),className:F},_t,M),d.createElement(_o,{onResize:pe},d.createElement(y,{className:"".concat(r,"-holder"),style:Tt,ref:W,onScroll:ze,onMouseEnter:Nt},d.createElement(N1,{prefixCls:r,height:fe,offsetX:T,offsetY:he,scrollWidth:g,onInnerResize:P,ref:V,innerProps:w,rtl:B,extra:At},Wt))),L&&fe>a&&d.createElement(dg,{ref:Ne,prefixCls:r,scrollOffset:Q,scrollRange:fe,rtl:B,onScroll:Le,onStartMove:be,onStopMove:Ce,spinSize:pt,containerSize:me.height,style:k==null?void 0:k.verticalScrollBar,thumbStyle:k==null?void 0:k.verticalScrollBarThumb,showScrollBar:O}),L&&g>me.width&&d.createElement(dg,{ref:ct,prefixCls:r,scrollOffset:T,scrollRange:g,rtl:B,onScroll:Le,onStartMove:be,onStopMove:Ce,spinSize:dt,containerSize:me.width,horizontal:!0,style:k==null?void 0:k.horizontalScrollBar,thumbStyle:k==null?void 0:k.horizontalScrollBarThumb,showScrollBar:O}))}var P1=d.forwardRef(C6);P1.displayName="List";function R1(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,a=e.bodyClassName,i=e.className,s=e.style;return d.createElement("div",{className:Qe("".concat(n,"-content"),i),style:s},d.createElement("div",{className:Qe("".concat(n,"-inner"),a),id:r,role:"tooltip",style:o},typeof t=="function"?t():t))}var sa={shiftX:64,adjustY:1},ca={adjustX:1,shiftY:!0},xr=[0,0],w6={left:{points:["cr","cl"],overflow:ca,offset:[-4,0],targetOffset:xr},right:{points:["cl","cr"],overflow:ca,offset:[4,0],targetOffset:xr},top:{points:["bc","tc"],overflow:sa,offset:[0,-4],targetOffset:xr},bottom:{points:["tc","bc"],overflow:sa,offset:[0,4],targetOffset:xr},topLeft:{points:["bl","tl"],overflow:sa,offset:[0,-4],targetOffset:xr},leftTop:{points:["tr","tl"],overflow:ca,offset:[-4,0],targetOffset:xr},topRight:{points:["br","tr"],overflow:sa,offset:[0,-4],targetOffset:xr},rightTop:{points:["tl","tr"],overflow:ca,offset:[4,0],targetOffset:xr},bottomRight:{points:["tr","br"],overflow:sa,offset:[0,4],targetOffset:xr},rightBottom:{points:["bl","br"],overflow:ca,offset:[4,0],targetOffset:xr},bottomLeft:{points:["tl","bl"],overflow:sa,offset:[0,4],targetOffset:xr},leftBottom:{points:["br","bl"],overflow:ca,offset:[-4,0],targetOffset:xr}},S6=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],E6=function(e,t){var n=e.overlayClassName,r=e.trigger,o=r===void 0?["hover"]:r,a=e.mouseEnterDelay,i=a===void 0?0:a,s=e.mouseLeaveDelay,l=s===void 0?.1:s,u=e.overlayStyle,c=e.prefixCls,f=c===void 0?"rc-tooltip":c,v=e.children,p=e.onVisibleChange,b=e.afterVisibleChange,g=e.transitionName,h=e.animation,y=e.motion,m=e.placement,x=m===void 0?"right":m,C=e.align,w=C===void 0?{}:C,S=e.destroyTooltipOnHide,k=S===void 0?!1:S,E=e.defaultVisible,O=e.getTooltipContainer,M=e.overlayInnerStyle;e.arrowContent;var N=e.overlay,R=e.id,A=e.showArrow,I=A===void 0?!0:A,P=e.classNames,D=e.styles,j=qt(e,S6),$=h1(R),z=at(null);Yo(t,function(){return z.current});var L=re({},j);"visible"in e&&(L.popupVisible=e.visible);var B=function(){return d.createElement(R1,{key:"content",prefixCls:f,id:$,bodyClassName:P==null?void 0:P.body,overlayInnerStyle:re(re({},M),D==null?void 0:D.body)},N)},F=function(){var H=d.Children.only(v),W=(H==null?void 0:H.props)||{},V=re(re({},W),{},{"aria-describedby":N?$:null});return d.cloneElement(v,V)};return d.createElement(im,ht({popupClassName:Qe(n,P==null?void 0:P.root),prefixCls:f,popup:B,action:o,builtinPlacements:w6,popupPlacement:x,ref:z,popupAlign:w,getPopupContainer:O,onPopupVisibleChange:p,afterPopupVisibleChange:b,popupTransitionName:g,popupAnimation:h,popupMotion:y,defaultPopupVisible:E,autoDestroy:k,mouseLeaveDelay:l,popupStyle:re(re({},u),D==null?void 0:D.root),mouseEnterDelay:i,arrow:I},L),F())};const k6=rr(E6);function A1(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,a=0,i=o,s=r*1/Math.sqrt(2),l=o-r*(1-1/Math.sqrt(2)),u=o-n*(1/Math.sqrt(2)),c=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*o-u,v=c,p=2*o-s,b=l,g=2*o-a,h=i,y=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),m=r*(Math.sqrt(2)-1),x=`polygon(${m}px 100%, 50% ${m}px, ${2*o-m}px 100%, ${m}px 100%)`,C=`path('M ${a} ${i} A ${r} ${r} 0 0 0 ${s} ${l} L ${u} ${c} A ${n} ${n} 0 0 1 ${f} ${v} L ${p} ${b} A ${r} ${r} 0 0 0 ${g} ${h} Z')`;return{arrowShadowWidth:y,arrowPath:C,arrowPolygon:x}}const I6=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:o,arrowPath:a,arrowShadowWidth:i,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${bt(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},D1=8;function lm(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?D1:r}}function Ml(e,t){return e?t:{}}function j1(e,t,n){const{componentCls:r,boxShadowPopoverArrow:o,arrowOffsetVertical:a,arrowOffsetHorizontal:i}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},I6(e,t,o)),{"&:before":{background:t}})]},Ml(!!l.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${bt(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),Ml(!!l.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${bt(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),Ml(!!l.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}})),Ml(!!l.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}}))}}function M6(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const o=r&&typeof r=="object"?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}const i=Object.assign(Object.assign({},a),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const mg={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},N6={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},O6=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function $1(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:a,visibleFirst:i}=e,s=t/2,l={},u=lm({contentRadius:a,limitVerticalRadius:!0});return Object.keys(mg).forEach(c=>{const f=r&&N6[c]||mg[c],v=Object.assign(Object.assign({},f),{offset:[0,0],dynamicInset:!0});switch(l[c]=v,O6.has(c)&&(v.autoArrow=!1),c){case"top":case"topLeft":case"topRight":v.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":v.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":v.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":v.offset[0]=s+o;break}if(r)switch(c){case"topLeft":case"bottomLeft":v.offset[0]=-u.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":v.offset[0]=u.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":v.offset[1]=-u.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":v.offset[1]=u.arrowOffsetHorizontal*2-s;break}v.overflow=M6(c,u,t,n),i&&(v.htmlRegion="visibleFirst")}),l}const P6=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:o,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:s,controlHeight:l,boxShadowSecondary:u,paddingSM:c,paddingXS:f,arrowOffsetHorizontal:v,sizePopupArrow:p}=e,b=t(i).add(p).add(v).equal(),g=t(i).mul(2).add(p).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},Lo(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${n}-inner`]:{minWidth:g,minHeight:l,padding:`${bt(e.calc(c).div(2).equal())} ${bt(f)}`,color:`var(--ant-tooltip-color, ${o})`,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:u,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:b},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(i,D1)}},[`${n}-content`]:{position:"relative"}}),RR(e,(h,{darkColor:y})=>({[`&${n}-${h}`]:{[`${n}-inner`]:{backgroundColor:y},[`${n}-arrow`]:{"--antd-arrow-background-color":y}}}))),{"&-rtl":{direction:"rtl"}})},j1(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},R6=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},lm({contentRadius:e.borderRadius,limitVerticalRadius:!0})),A1(cr(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),F1=(e,t=!0)=>lo("Tooltip",n=>{const{borderRadius:r,colorTextLightSolid:o,colorBgSpotlight:a}=n,i=cr(n,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:r,tooltipBg:a});return[P6(i),rm(n,"zoom-big-fast")]},R6,{resetStyle:!1,injectStyle:t})(e),A6=Wo.map(e=>`${e}-inverse`);function D6(e,t=!0){return t?[].concat(rt(A6),rt(Wo)).includes(e):Wo.includes(e)}function T1(e,t){const n=D6(t),r=Qe({[`${e}-${t}`]:t&&n}),o={},a={},i=ZA(t).toRgb(),s=(.299*i.r+.587*i.g+.114*i.b)/255<.5?"#FFF":"#000";return t&&!n&&(o.background=t,o["--ant-tooltip-color"]=s,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}const j6=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:a,overlayInnerStyle:i}=e,{getPrefixCls:s}=d.useContext(Rn),l=s("tooltip",t),[u,c,f]=F1(l),v=T1(l,a),p=v.arrowStyle,b=Object.assign(Object.assign({},i),v.overlayStyle),g=Qe(c,f,l,`${l}-pure`,`${l}-placement-${r}`,n,v.className);return u(d.createElement("div",{className:g,style:p},d.createElement("div",{className:`${l}-arrow`}),d.createElement(R1,Object.assign({},e,{className:c,prefixCls:l,overlayInnerStyle:b}),o)))};var $6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const F6=d.forwardRef((e,t)=>{var n,r;const{prefixCls:o,openClassName:a,getTooltipContainer:i,color:s,overlayInnerStyle:l,children:u,afterOpenChange:c,afterVisibleChange:f,destroyTooltipOnHide:v,destroyOnHidden:p,arrow:b=!0,title:g,overlay:h,builtinPlacements:y,arrowPointAtCenter:m=!1,autoAdjustOverflow:x=!0,motion:C,getPopupContainer:w,placement:S="top",mouseEnterDelay:k=.1,mouseLeaveDelay:E=.1,overlayStyle:O,rootClassName:M,overlayClassName:N,styles:R,classNames:A}=e,I=$6(e,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","destroyOnHidden","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),P=!!b,[,D]=Zr(),{getPopupContainer:j,getPrefixCls:$,direction:z,className:L,style:B,classNames:F,styles:H}=Xf("tooltip"),W=Gf(),V=d.useRef(null),_=()=>{var xe;(xe=V.current)===null||xe===void 0||xe.forceAlign()};d.useImperativeHandle(t,()=>{var xe,he;return{forceAlign:_,forcePopupAlign:()=>{W.deprecated(!1,"forcePopupAlign","forceAlign"),_()},nativeElement:(xe=V.current)===null||xe===void 0?void 0:xe.nativeElement,popupElement:(he=V.current)===null||he===void 0?void 0:he.popupElement}});const[q,U]=Ho(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),Q=!g&&!h&&g!==0,te=xe=>{var he,Me;U(Q?!1:xe),Q||((he=e.onOpenChange)===null||he===void 0||he.call(e,xe),(Me=e.onVisibleChange)===null||Me===void 0||Me.call(e,xe))},X=d.useMemo(()=>{var xe,he;let Me=m;return typeof b=="object"&&(Me=(he=(xe=b.pointAtCenter)!==null&&xe!==void 0?xe:b.arrowPointAtCenter)!==null&&he!==void 0?he:m),y||$1({arrowPointAtCenter:Me,autoAdjustOverflow:x,arrowWidth:P?D.sizePopupArrow:0,borderRadius:D.borderRadius,offset:D.marginXXS,visibleFirst:!0})},[m,b,y,D]),Y=d.useMemo(()=>g===0?g:h||g||"",[h,g]),T=d.createElement(E1,{space:!0},typeof Y=="function"?Y():Y),Z=$("tooltip",o),J=$(),ne=e["data-popover-inject"];let ae=q;!("open"in e)&&!("visible"in e)&&Q&&(ae=!1);const le=d.isValidElement(u)&&!Uy(u)?u:d.createElement("span",null,u),be=le.props,Ce=!be.className||typeof be.className=="string"?Qe(be.className,a||`${Z}-open`):be.className,[de,Se,oe]=F1(Z,!ne),se=T1(Z,s),ke=se.arrowStyle,ge=Qe(N,{[`${Z}-rtl`]:z==="rtl"},se.className,M,Se,oe,L,F.root,A==null?void 0:A.root),ie=Qe(F.body,A==null?void 0:A.body),[we,fe]=_f("Tooltip",I.zIndex),ce=d.createElement(k6,Object.assign({},I,{zIndex:we,showArrow:P,placement:S,mouseEnterDelay:k,mouseLeaveDelay:E,prefixCls:Z,classNames:{root:ge,body:ie},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ke),H.root),B),O),R==null?void 0:R.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},H.body),l),R==null?void 0:R.body),se.overlayStyle)},getTooltipContainer:w||i||j,ref:V,builtinPlacements:X,overlay:T,visible:ae,onVisibleChange:te,afterVisibleChange:c??f,arrowContent:d.createElement("span",{className:`${Z}-arrow-content`}),motion:{motionName:G5(J,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:p??!!v}),ae?ao(le,{className:Ce}):le);return de(d.createElement(Jf.Provider,{value:fe},ce))}),B1=F6;B1._InternalPanelDoNotUseOrYouWillBeFired=j6;var T6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},B6=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:T6}))},z6=d.forwardRef(B6),H6=Wn.ESC,L6=Wn.TAB;function V6(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,a=e.overlayRef,i=d.useRef(!1),s=function(){if(t){var c,f;(c=n.current)===null||c===void 0||(f=c.focus)===null||f===void 0||f.call(c),r==null||r(!1)}},l=function(){var c;return(c=a.current)!==null&&c!==void 0&&c.focus?(a.current.focus(),i.current=!0,!0):!1},u=function(c){switch(c.keyCode){case H6:s();break;case L6:{var f=!1;i.current||(f=l()),f?c.preventDefault():s();break}}};d.useEffect(function(){return t?(window.addEventListener("keydown",u),o&&un(l,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var W6=rr(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,a=Mn(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),i=La(t,Jo(a));return ue.createElement(ue.Fragment,null,r&&ue.createElement("div",{className:"".concat(o,"-arrow")}),ue.cloneElement(a,{ref:Io(a)?i:void 0}))}),ua={adjustX:1,adjustY:1},da=[0,0],K6={topLeft:{points:["bl","tl"],overflow:ua,offset:[0,-4],targetOffset:da},top:{points:["bc","tc"],overflow:ua,offset:[0,-4],targetOffset:da},topRight:{points:["br","tr"],overflow:ua,offset:[0,-4],targetOffset:da},bottomLeft:{points:["tl","bl"],overflow:ua,offset:[0,4],targetOffset:da},bottom:{points:["tc","bc"],overflow:ua,offset:[0,4],targetOffset:da},bottomRight:{points:["tr","br"],overflow:ua,offset:[0,4],targetOffset:da}},Y6=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function q6(e,t){var n,r=e.arrow,o=r===void 0?!1:r,a=e.prefixCls,i=a===void 0?"rc-dropdown":a,s=e.transitionName,l=e.animation,u=e.align,c=e.placement,f=c===void 0?"bottomLeft":c,v=e.placements,p=v===void 0?K6:v,b=e.getPopupContainer,g=e.showAction,h=e.hideAction,y=e.overlayClassName,m=e.overlayStyle,x=e.visible,C=e.trigger,w=C===void 0?["hover"]:C,S=e.autoFocus,k=e.overlay,E=e.children,O=e.onVisibleChange,M=qt(e,Y6),N=ue.useState(),R=Ee(N,2),A=R[0],I=R[1],P="visible"in e?x:A,D=ue.useRef(null),j=ue.useRef(null),$=ue.useRef(null);ue.useImperativeHandle(t,function(){return D.current});var z=function(q){I(q),O==null||O(q)};V6({visible:P,triggerRef:$,onVisibleChange:z,autoFocus:S,overlayRef:j});var L=function(q){var U=e.onOverlayClick;I(!1),U&&U(q)},B=function(){return ue.createElement(W6,{ref:j,overlay:k,prefixCls:i,arrow:o})},F=function(){return typeof k=="function"?B:B()},H=function(){var q=e.minOverlayWidthMatchTrigger,U=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?q:!U},W=function(){var q=e.openClassName;return q!==void 0?q:"".concat(i,"-open")},V=ue.cloneElement(E,{className:Qe((n=E.props)===null||n===void 0?void 0:n.className,P&&W()),ref:Io(E)?La($,Jo(E)):void 0}),_=h;return!_&&w.indexOf("contextMenu")!==-1&&(_=["click"]),ue.createElement(im,ht({builtinPlacements:p},M,{prefixCls:i,ref:D,popupClassName:Qe(y,K({},"".concat(i,"-show-arrow"),o)),popupStyle:m,action:w,showAction:g,hideAction:_,popupPlacement:f,popupAlign:u,popupTransitionName:s,popupAnimation:l,popupVisible:P,stretch:H()?"minWidth":"",popup:F(),onPopupVisibleChange:z,onPopupClick:L,getPopupContainer:b}),V)}const G6=ue.forwardRef(q6),U6=e=>typeof e!="object"&&typeof e!="function"||e===null;var z1=d.createContext(null);function H1(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function L1(e){var t=d.useContext(z1);return H1(t,e)}var X6=["children","locked"],jr=d.createContext(null);function Z6(e,t){var n=re({},e);return Object.keys(t).forEach(function(r){var o=t[r];o!==void 0&&(n[r]=o)}),n}function Bi(e){var t=e.children,n=e.locked,r=qt(e,X6),o=d.useContext(jr),a=Qs(function(){return Z6(o,r)},[o,r],function(i,s){return!n&&(i[0]!==s[0]||!Pi(i[1],s[1],!0))});return d.createElement(jr.Provider,{value:a},t)}var Q6=[],V1=d.createContext(null);function fc(){return d.useContext(V1)}var W1=d.createContext(Q6);function qa(e){var t=d.useContext(W1);return d.useMemo(function(){return e!==void 0?[].concat(rt(t),[e]):t},[t,e])}var K1=d.createContext(null),sm=d.createContext({});function pg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(tm(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function J6(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=rt(e.querySelectorAll("*")).filter(function(r){return pg(r,t)});return pg(e,t)&&n.unshift(e),n}var Ad=Wn.LEFT,Dd=Wn.RIGHT,jd=Wn.UP,Xl=Wn.DOWN,Zl=Wn.ENTER,Y1=Wn.ESC,ni=Wn.HOME,ri=Wn.END,vg=[jd,Xl,Ad,Dd];function _6(e,t,n,r){var o,a="prev",i="next",s="children",l="parent";if(e==="inline"&&r===Zl)return{inlineTrigger:!0};var u=K(K({},jd,a),Xl,i),c=K(K(K(K({},Ad,n?i:a),Dd,n?a:i),Xl,s),Zl,s),f=K(K(K(K(K(K({},jd,a),Xl,i),Zl,s),Y1,l),Ad,n?s:l),Dd,n?l:s),v={inline:u,horizontal:c,vertical:f,inlineSub:u,horizontalSub:f,verticalSub:f},p=(o=v["".concat(e).concat(t?"":"Sub")])===null||o===void 0?void 0:o[r];switch(p){case a:return{offset:-1,sibling:!0};case i:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}function ej(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function tj(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function cm(e,t){var n=J6(e,!0);return n.filter(function(r){return t.has(r)})}function gg(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=cm(e,t),a=o.length,i=o.findIndex(function(s){return n===s});return r<0?i===-1?i=a-1:i-=1:r>0&&(i+=1),i=(i+a)%a,o[i]}var $d=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach(function(a){var i=document.querySelector("[data-menu-id='".concat(H1(t,a),"']"));i&&(n.add(i),o.set(i,a),r.set(a,i))}),{elements:n,key2element:r,element2key:o}};function nj(e,t,n,r,o,a,i,s,l,u){var c=d.useRef(),f=d.useRef();f.current=t;var v=function(){un.cancel(c.current)};return d.useEffect(function(){return function(){v()}},[]),function(p){var b=p.which;if([].concat(vg,[Zl,Y1,ni,ri]).includes(b)){var g=a(),h=$d(g,r),y=h,m=y.elements,x=y.key2element,C=y.element2key,w=x.get(t),S=tj(w,m),k=C.get(S),E=_6(e,i(k,!0).length===1,n,b);if(!E&&b!==ni&&b!==ri)return;(vg.includes(b)||[ni,ri].includes(b))&&p.preventDefault();var O=function(D){if(D){var j=D,$=D.querySelector("a");$!=null&&$.getAttribute("href")&&(j=$);var z=C.get(D);s(z),v(),c.current=un(function(){f.current===z&&j.focus()})}};if([ni,ri].includes(b)||E.sibling||!S){var M;!S||e==="inline"?M=o.current:M=ej(S);var N,R=cm(M,m);b===ni?N=R[0]:b===ri?N=R[R.length-1]:N=gg(M,m,S,E.offset),O(N)}else if(E.inlineTrigger)l(k);else if(E.offset>0)l(k,!0),v(),c.current=un(function(){h=$d(g,r);var D=S.getAttribute("aria-controls"),j=document.getElementById(D),$=gg(j,h.elements);O($)},5);else if(E.offset<0){var A=i(k,!0),I=A[A.length-2],P=x.get(I);l(I,!1),O(P)}}u==null||u(p)}}function rj(e){Promise.resolve().then(e)}var um="__RC_UTIL_PATH_SPLIT__",hg=function(e){return e.join(um)},oj=function(e){return e.split(um)},Fd="rc-menu-more";function aj(){var e=d.useState({}),t=Ee(e,2),n=t[1],r=at(new Map),o=at(new Map),a=d.useState([]),i=Ee(a,2),s=i[0],l=i[1],u=at(0),c=at(!1),f=function(){c.current||n({})},v=Pt(function(x,C){var w=hg(C);o.current.set(w,x),r.current.set(x,w),u.current+=1;var S=u.current;rj(function(){S===u.current&&f()})},[]),p=Pt(function(x,C){var w=hg(C);o.current.delete(w),r.current.delete(x)},[]),b=Pt(function(x){l(x)},[]),g=Pt(function(x,C){var w=r.current.get(x)||"",S=oj(w);return C&&s.includes(S[0])&&S.unshift(Fd),S},[s]),h=Pt(function(x,C){return x.filter(function(w){return w!==void 0}).some(function(w){var S=g(w,!0);return S.includes(C)})},[g]),y=function(){var x=rt(r.current.keys());return s.length&&x.push(Fd),x},m=Pt(function(x){var C="".concat(r.current.get(x)).concat(um),w=new Set;return rt(o.current.keys()).forEach(function(S){S.startsWith(C)&&w.add(o.current.get(S))}),w},[]);return d.useEffect(function(){return function(){c.current=!0}},[]),{registerPath:v,unregisterPath:p,refreshOverflowKeys:b,isSubPathKey:h,getKeyPath:g,getKeys:y,getSubPathKeys:m}}function ui(e){var t=d.useRef(e);t.current=e;var n=d.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return e?n:void 0}var ij=Math.random().toFixed(5).toString().slice(2),bg=0;function lj(e){var t=Ho(e,{value:e}),n=Ee(t,2),r=n[0],o=n[1];return d.useEffect(function(){bg+=1;var a="".concat(ij,"-").concat(bg);o("rc-menu-uuid-".concat(a))},[]),r}function q1(e,t,n,r){var o=d.useContext(jr),a=o.activeKey,i=o.onActive,s=o.onInactive,l={active:a===e};return t||(l.onMouseEnter=function(u){n==null||n({key:e,domEvent:u}),i(e)},l.onMouseLeave=function(u){r==null||r({key:e,domEvent:u}),s(e)}),l}function G1(e){var t=d.useContext(jr),n=t.mode,r=t.rtl,o=t.inlineIndent;if(n!=="inline")return null;var a=e;return r?{paddingRight:a*o}:{paddingLeft:a*o}}function U1(e){var t=e.icon,n=e.props,r=e.children,o;return t===null||t===!1?null:(typeof t=="function"?o=d.createElement(t,re({},n)):typeof t!="boolean"&&(o=t),o||r||null)}var sj=["item"];function ws(e){var t=e.item,n=qt(e,sj);return Object.defineProperty(n,"item",{get:function(){return fn(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var cj=["title","attribute","elementRef"],uj=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],dj=["active"],fj=(function(e){Ur(n,e);var t=Xr(n);function n(){return Sn(this,n),t.apply(this,arguments)}return En(n,[{key:"render",value:function(){var r=this.props,o=r.title,a=r.attribute,i=r.elementRef,s=qt(r,cj),l=so(s,["eventKey","popupClassName","popupOffset","onTitleClick"]);return fn(!a,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),d.createElement(ro.Item,ht({},a,{title:typeof o=="string"?o:void 0},l,{ref:i}))}}]),n})(d.Component),mj=d.forwardRef(function(e,t){var n=e.style,r=e.className,o=e.eventKey;e.warnKey;var a=e.disabled,i=e.itemIcon,s=e.children,l=e.role,u=e.onMouseEnter,c=e.onMouseLeave,f=e.onClick,v=e.onKeyDown,p=e.onFocus,b=qt(e,uj),g=L1(o),h=d.useContext(jr),y=h.prefixCls,m=h.onItemClick,x=h.disabled,C=h.overflowDisabled,w=h.itemIcon,S=h.selectedKeys,k=h.onActive,E=d.useContext(sm),O=E._internalRenderMenuItem,M="".concat(y,"-item"),N=d.useRef(),R=d.useRef(),A=x||a,I=Va(t,R),P=qa(o),D=function(U){return{key:o,keyPath:rt(P).reverse(),item:N.current,domEvent:U}},j=i||w,$=q1(o,A,u,c),z=$.active,L=qt($,dj),B=S.includes(o),F=G1(P.length),H=function(U){if(!A){var Q=D(U);f==null||f(ws(Q)),m(Q)}},W=function(U){if(v==null||v(U),U.which===Wn.ENTER){var Q=D(U);f==null||f(ws(Q)),m(Q)}},V=function(U){k(o),p==null||p(U)},_={};e.role==="option"&&(_["aria-selected"]=B);var q=d.createElement(fj,ht({ref:N,elementRef:I,role:l===null?"none":l||"menuitem",tabIndex:a?null:-1,"data-menu-id":C&&g?null:g},so(b,["extra"]),L,_,{component:"li","aria-disabled":a,style:re(re({},F),n),className:Qe(M,K(K(K({},"".concat(M,"-active"),z),"".concat(M,"-selected"),B),"".concat(M,"-disabled"),A),r),onClick:H,onKeyDown:W,onFocus:V}),s,d.createElement(U1,{props:re(re({},e),{},{isSelected:B}),icon:j}));return O&&(q=O(q,e,{selected:B})),q});function pj(e,t){var n=e.eventKey,r=fc(),o=qa(n);return d.useEffect(function(){if(r)return r.registerPath(n,o),function(){r.unregisterPath(n,o)}},[o]),r?null:d.createElement(mj,ht({},e,{ref:t}))}const mc=d.forwardRef(pj);var vj=["className","children"],gj=function(e,t){var n=e.className,r=e.children,o=qt(e,vj),a=d.useContext(jr),i=a.prefixCls,s=a.mode,l=a.rtl;return d.createElement("ul",ht({className:Qe(i,l&&"".concat(i,"-rtl"),"".concat(i,"-sub"),"".concat(i,"-").concat(s==="inline"?"inline":"vertical"),n),role:"menu"},o,{"data-menu-list":!0,ref:t}),r)},dm=d.forwardRef(gj);dm.displayName="SubMenuList";function fm(e,t){return oo(e).map(function(n,r){if(d.isValidElement(n)){var o,a,i=n.key,s=(o=(a=n.props)===null||a===void 0?void 0:a.eventKey)!==null&&o!==void 0?o:i,l=s==null;l&&(s="tmp_key-".concat([].concat(rt(t),[r]).join("-")));var u={key:s,eventKey:s};return d.cloneElement(n,u)}return n})}var Jn={adjustX:1,adjustY:1},hj={topLeft:{points:["bl","tl"],overflow:Jn},topRight:{points:["br","tr"],overflow:Jn},bottomLeft:{points:["tl","bl"],overflow:Jn},bottomRight:{points:["tr","br"],overflow:Jn},leftTop:{points:["tr","tl"],overflow:Jn},leftBottom:{points:["br","bl"],overflow:Jn},rightTop:{points:["tl","tr"],overflow:Jn},rightBottom:{points:["bl","br"],overflow:Jn}},bj={topLeft:{points:["bl","tl"],overflow:Jn},topRight:{points:["br","tr"],overflow:Jn},bottomLeft:{points:["tl","bl"],overflow:Jn},bottomRight:{points:["tr","br"],overflow:Jn},rightTop:{points:["tr","tl"],overflow:Jn},rightBottom:{points:["br","bl"],overflow:Jn},leftTop:{points:["tl","tr"],overflow:Jn},leftBottom:{points:["bl","br"],overflow:Jn}};function X1(e,t,n){if(t)return t;if(n)return n[e]||n.other}var yj={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function xj(e){var t=e.prefixCls,n=e.visible,r=e.children,o=e.popup,a=e.popupStyle,i=e.popupClassName,s=e.popupOffset,l=e.disabled,u=e.mode,c=e.onVisibleChange,f=d.useContext(jr),v=f.getPopupContainer,p=f.rtl,b=f.subMenuOpenDelay,g=f.subMenuCloseDelay,h=f.builtinPlacements,y=f.triggerSubMenuAction,m=f.forceSubMenuRender,x=f.rootClassName,C=f.motion,w=f.defaultMotions,S=d.useState(!1),k=Ee(S,2),E=k[0],O=k[1],M=re(p?re({},bj):re({},hj),h),N=yj[u],R=X1(u,C,w),A=d.useRef(R);u!=="inline"&&(A.current=R);var I=re(re({},A.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),P=d.useRef();return d.useEffect(function(){return P.current=un(function(){O(n)}),function(){un.cancel(P.current)}},[n]),d.createElement(im,{prefixCls:t,popupClassName:Qe("".concat(t,"-popup"),K({},"".concat(t,"-rtl"),p),i,x),stretch:u==="horizontal"?"minWidth":null,getPopupContainer:v,builtinPlacements:M,popupPlacement:N,popupVisible:E,popup:o,popupStyle:a,popupAlign:s&&{offset:s},action:l?[]:[y],mouseEnterDelay:b,mouseLeaveDelay:g,onPopupVisibleChange:c,forceRender:m,popupMotion:I,fresh:!0},r)}function Cj(e){var t=e.id,n=e.open,r=e.keyPath,o=e.children,a="inline",i=d.useContext(jr),s=i.prefixCls,l=i.forceSubMenuRender,u=i.motion,c=i.defaultMotions,f=i.mode,v=d.useRef(!1);v.current=f===a;var p=d.useState(!v.current),b=Ee(p,2),g=b[0],h=b[1],y=v.current?n:!1;d.useEffect(function(){v.current&&h(!1)},[f]);var m=re({},X1(a,u,c));r.length>1&&(m.motionAppear=!1);var x=m.onVisibleChanged;return m.onVisibleChanged=function(C){return!v.current&&!C&&h(!0),x==null?void 0:x(C)},g?null:d.createElement(Bi,{mode:a,locked:!v.current},d.createElement(ea,ht({visible:y},m,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(C){var w=C.className,S=C.style;return d.createElement(dm,{id:t,className:w,style:S},o)}))}var wj=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Sj=["active"],Ej=d.forwardRef(function(e,t){var n=e.style,r=e.className,o=e.title,a=e.eventKey;e.warnKey;var i=e.disabled,s=e.internalPopupClose,l=e.children,u=e.itemIcon,c=e.expandIcon,f=e.popupClassName,v=e.popupOffset,p=e.popupStyle,b=e.onClick,g=e.onMouseEnter,h=e.onMouseLeave,y=e.onTitleClick,m=e.onTitleMouseEnter,x=e.onTitleMouseLeave,C=qt(e,wj),w=L1(a),S=d.useContext(jr),k=S.prefixCls,E=S.mode,O=S.openKeys,M=S.disabled,N=S.overflowDisabled,R=S.activeKey,A=S.selectedKeys,I=S.itemIcon,P=S.expandIcon,D=S.onItemClick,j=S.onOpenChange,$=S.onActive,z=d.useContext(sm),L=z._internalRenderSubMenuItem,B=d.useContext(K1),F=B.isSubPathKey,H=qa(),W="".concat(k,"-submenu"),V=M||i,_=d.useRef(),q=d.useRef(),U=u??I,Q=c??P,te=O.includes(a),X=!N&&te,Y=F(A,a),T=q1(a,V,m,x),Z=T.active,J=qt(T,Sj),ne=d.useState(!1),ae=Ee(ne,2),le=ae[0],be=ae[1],Ce=function(me){V||be(me)},de=function(me){Ce(!0),g==null||g({key:a,domEvent:me})},Se=function(me){Ce(!1),h==null||h({key:a,domEvent:me})},oe=d.useMemo(function(){return Z||(E!=="inline"?le||F([R],a):!1)},[E,Z,R,le,a,F]),se=G1(H.length),ke=function(me){V||(y==null||y({key:a,domEvent:me}),E==="inline"&&j(a,!te))},ge=ui(function(me){b==null||b(ws(me)),D(me)}),ie=function(me){E!=="inline"&&j(a,me)},we=function(){$(a)},fe=w&&"".concat(w,"-popup"),ce=d.useMemo(function(){return d.createElement(U1,{icon:E!=="horizontal"?Q:void 0,props:re(re({},e),{},{isOpen:X,isSubMenu:!0})},d.createElement("i",{className:"".concat(W,"-arrow")}))},[E,Q,e,X,W]),xe=d.createElement("div",ht({role:"menuitem",style:se,className:"".concat(W,"-title"),tabIndex:V?null:-1,ref:_,title:typeof o=="string"?o:null,"data-menu-id":N&&w?null:w,"aria-expanded":X,"aria-haspopup":!0,"aria-controls":fe,"aria-disabled":V,onClick:ke,onFocus:we},J),o,ce),he=d.useRef(E);if(E!=="inline"&&H.length>1?he.current="vertical":he.current=E,!N){var Me=he.current;xe=d.createElement(xj,{mode:Me,prefixCls:W,visible:!s&&X&&E!=="inline",popupClassName:f,popupOffset:v,popupStyle:p,popup:d.createElement(Bi,{mode:Me==="horizontal"?"vertical":Me},d.createElement(dm,{id:fe,ref:q},l)),disabled:V,onVisibleChange:ie},xe)}var ve=d.createElement(ro.Item,ht({ref:t,role:"none"},C,{component:"li",style:n,className:Qe(W,"".concat(W,"-").concat(E),r,K(K(K(K({},"".concat(W,"-open"),X),"".concat(W,"-active"),oe),"".concat(W,"-selected"),Y),"".concat(W,"-disabled"),V)),onMouseEnter:de,onMouseLeave:Se}),xe,!N&&d.createElement(Cj,{id:fe,open:X,keyPath:H},l));return L&&(ve=L(ve,e,{selected:Y,active:oe,open:X,disabled:V})),d.createElement(Bi,{onItemClick:ge,mode:E==="horizontal"?"vertical":E,itemIcon:U,expandIcon:Q},ve)}),pc=d.forwardRef(function(e,t){var n=e.eventKey,r=e.children,o=qa(n),a=fm(r,o),i=fc();d.useEffect(function(){if(i)return i.registerPath(n,o),function(){i.unregisterPath(n,o)}},[o]);var s;return i?s=a:s=d.createElement(Ej,ht({ref:t},e),a),d.createElement(W1.Provider,{value:o},s)});function mm(e){var t=e.className,n=e.style,r=d.useContext(jr),o=r.prefixCls,a=fc();return a?null:d.createElement("li",{role:"separator",className:Qe("".concat(o,"-item-divider"),t),style:n})}var kj=["className","title","eventKey","children"],Ij=d.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var o=e.children,a=qt(e,kj),i=d.useContext(jr),s=i.prefixCls,l="".concat(s,"-item-group");return d.createElement("li",ht({ref:t,role:"presentation"},a,{onClick:function(u){return u.stopPropagation()},className:Qe(l,n)}),d.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),d.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))}),pm=d.forwardRef(function(e,t){var n=e.eventKey,r=e.children,o=qa(n),a=fm(r,o),i=fc();return i?a:d.createElement(Ij,ht({ref:t},so(e,["warnKey"])),a)}),Mj=["label","children","key","type","extra"];function Td(e,t,n){var r=t.item,o=t.group,a=t.submenu,i=t.divider;return(e||[]).map(function(s,l){if(s&&xt(s)==="object"){var u=s,c=u.label,f=u.children,v=u.key,p=u.type,b=u.extra,g=qt(u,Mj),h=v??"tmp-".concat(l);return f||p==="group"?p==="group"?d.createElement(o,ht({key:h},g,{title:c}),Td(f,t,n)):d.createElement(a,ht({key:h},g,{title:c}),Td(f,t,n)):p==="divider"?d.createElement(i,ht({key:h},g)):d.createElement(r,ht({key:h},g,{extra:b}),c,(!!b||b===0)&&d.createElement("span",{className:"".concat(n,"-item-extra")},b))}return null}).filter(function(s){return s})}function yg(e,t,n,r,o){var a=e,i=re({divider:mm,item:mc,group:pm,submenu:pc},r);return t&&(a=Td(t,i,o)),fm(a,n)}var Nj=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Oo=[],Oj=d.forwardRef(function(e,t){var n,r=e,o=r.prefixCls,a=o===void 0?"rc-menu":o,i=r.rootClassName,s=r.style,l=r.className,u=r.tabIndex,c=u===void 0?0:u,f=r.items,v=r.children,p=r.direction,b=r.id,g=r.mode,h=g===void 0?"vertical":g,y=r.inlineCollapsed,m=r.disabled,x=r.disabledOverflow,C=r.subMenuOpenDelay,w=C===void 0?.1:C,S=r.subMenuCloseDelay,k=S===void 0?.1:S,E=r.forceSubMenuRender,O=r.defaultOpenKeys,M=r.openKeys,N=r.activeKey,R=r.defaultActiveFirst,A=r.selectable,I=A===void 0?!0:A,P=r.multiple,D=P===void 0?!1:P,j=r.defaultSelectedKeys,$=r.selectedKeys,z=r.onSelect,L=r.onDeselect,B=r.inlineIndent,F=B===void 0?24:B,H=r.motion,W=r.defaultMotions,V=r.triggerSubMenuAction,_=V===void 0?"hover":V,q=r.builtinPlacements,U=r.itemIcon,Q=r.expandIcon,te=r.overflowedIndicator,X=te===void 0?"...":te,Y=r.overflowedIndicatorPopupClassName,T=r.getPopupContainer,Z=r.onClick,J=r.onOpenChange,ne=r.onKeyDown;r.openAnimation,r.openTransitionName;var ae=r._internalRenderMenuItem,le=r._internalRenderSubMenuItem,be=r._internalComponents,Ce=qt(r,Nj),de=d.useMemo(function(){return[yg(v,f,Oo,be,a),yg(v,f,Oo,{},a)]},[v,f,be]),Se=Ee(de,2),oe=Se[0],se=Se[1],ke=d.useState(!1),ge=Ee(ke,2),ie=ge[0],we=ge[1],fe=d.useRef(),ce=lj(b),xe=p==="rtl",he=Ho(O,{value:M,postState:function(wt){return wt||Oo}}),Me=Ee(he,2),ve=Me[0],me=Me[1],Re=function(wt){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function nt(){me(wt),J==null||J(wt)}lt?Ql(nt):nt()},pe=d.useState(ve),Ne=Ee(pe,2),ct=Ne[0],dt=Ne[1],pt=d.useRef(!1),$e=d.useMemo(function(){return(h==="inline"||h==="vertical")&&y?["vertical",y]:[h,!1]},[h,y]),De=Ee($e,2),Ye=De[0],Fe=De[1],Ue=Ye==="inline",Ve=d.useState(Ye),We=Ee(Ve,2),je=We[0],Ie=We[1],it=d.useState(Fe),Oe=Ee(it,2),Le=Oe[0],ze=Oe[1];d.useEffect(function(){Ie(Ye),ze(Fe),pt.current&&(Ue?me(ct):Re(Oo))},[Ye,Fe]);var Ke=d.useState(0),ft=Ee(Ke,2),Je=ft[0],Et=ft[1],It=Je>=oe.length-1||je!=="horizontal"||x;d.useEffect(function(){Ue&&dt(ve)},[ve]),d.useEffect(function(){return pt.current=!0,function(){pt.current=!1}},[]);var mt=aj(),Nt=mt.registerPath,zt=mt.unregisterPath,Ht=mt.refreshOverflowKeys,At=mt.isSubPathKey,Wt=mt.getKeyPath,Tt=mt.getKeys,_t=mt.getSubPathKeys,Pe=d.useMemo(function(){return{registerPath:Nt,unregisterPath:zt}},[Nt,zt]),Ze=d.useMemo(function(){return{isSubPathKey:At}},[At]);d.useEffect(function(){Ht(It?Oo:oe.slice(Je+1).map(function(wt){return wt.key}))},[Je,It]);var Ge=Ho(N||R&&((n=oe[0])===null||n===void 0?void 0:n.key),{value:N}),Te=Ee(Ge,2),ot=Te[0],kt=Te[1],Dt=ui(function(wt){kt(wt)}),rn=ui(function(){kt(void 0)});Yo(t,function(){return{list:fe.current,focus:function(wt){var lt,nt=Tt(),Kt=$d(nt,ce),tt=Kt.elements,Xe=Kt.key2element,Bt=Kt.element2key,tn=cm(fe.current,tt),gn=ot??(tn[0]?Bt.get(tn[0]):(lt=oe.find(function(nr){return!nr.props.disabled}))===null||lt===void 0?void 0:lt.key),An=Xe.get(gn);if(gn&&An){var Xn;An==null||(Xn=An.focus)===null||Xn===void 0||Xn.call(An,wt)}}}});var cn=Ho(j||[],{value:$,postState:function(wt){return Array.isArray(wt)?wt:wt==null?Oo:[wt]}}),Gt=Ee(cn,2),Ut=Gt[0],mn=Gt[1],dn=function(wt){if(I){var lt=wt.key,nt=Ut.includes(lt),Kt;D?nt?Kt=Ut.filter(function(Xe){return Xe!==lt}):Kt=[].concat(rt(Ut),[lt]):Kt=[lt],mn(Kt);var tt=re(re({},wt),{},{selectedKeys:Kt});nt?L==null||L(tt):z==null||z(tt)}!D&&ve.length&&je!=="inline"&&Re(Oo)},pn=ui(function(wt){Z==null||Z(ws(wt)),dn(wt)}),yn=ui(function(wt,lt){var nt=ve.filter(function(tt){return tt!==wt});if(lt)nt.push(wt);else if(je!=="inline"){var Kt=_t(wt);nt=nt.filter(function(tt){return!Kt.has(tt)})}Pi(ve,nt,!0)||Re(nt,!0)}),vn=function(wt,lt){var nt=lt??!ve.includes(wt);yn(wt,nt)},qn=nj(je,ot,xe,ce,fe,Tt,Wt,kt,vn,ne);d.useEffect(function(){we(!0)},[]);var Gn=d.useMemo(function(){return{_internalRenderMenuItem:ae,_internalRenderSubMenuItem:le}},[ae,le]),Un=je!=="horizontal"||x?oe:oe.map(function(wt,lt){return d.createElement(Bi,{key:wt.key,overflowDisabled:lt>Je},wt)}),or=d.createElement(ro,ht({id:b,ref:fe,prefixCls:"".concat(a,"-overflow"),component:"ul",itemComponent:mc,className:Qe(a,"".concat(a,"-root"),"".concat(a,"-").concat(je),l,K(K({},"".concat(a,"-inline-collapsed"),Le),"".concat(a,"-rtl"),xe),i),dir:p,style:s,role:"menu",tabIndex:c,data:Un,renderRawItem:function(wt){return wt},renderRawRest:function(wt){var lt=wt.length,nt=lt?oe.slice(-lt):null;return d.createElement(pc,{eventKey:Fd,title:X,disabled:It,internalPopupClose:lt===0,popupClassName:Y},nt)},maxCount:je!=="horizontal"||x?ro.INVALIDATE:ro.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(wt){Et(wt)},onKeyDown:qn},Ce));return d.createElement(sm.Provider,{value:Gn},d.createElement(z1.Provider,{value:ce},d.createElement(Bi,{prefixCls:a,rootClassName:i,mode:je,openKeys:ve,rtl:xe,disabled:m,motion:ie?H:null,defaultMotions:ie?W:null,activeKey:ot,onActive:Dt,onInactive:rn,selectedKeys:Ut,inlineIndent:F,subMenuOpenDelay:w,subMenuCloseDelay:k,forceSubMenuRender:E,builtinPlacements:q,triggerSubMenuAction:_,getPopupContainer:T,itemIcon:U,expandIcon:Q,onItemClick:pn,onOpenChange:yn},d.createElement(K1.Provider,{value:Ze},or),d.createElement("div",{style:{display:"none"},"aria-hidden":!0},d.createElement(V1.Provider,{value:Pe},se)))))}),rl=Oj;rl.Item=mc;rl.SubMenu=pc;rl.ItemGroup=pm;rl.Divider=mm;const Pj=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:o,headerHeight:a,headerPadding:i,headerColor:s,footerPadding:l,fontSize:u,bodyBg:c,headerBg:f}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:c,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:a,padding:i,color:s,lineHeight:bt(a),background:f,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:l,color:r,fontSize:u,background:o},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},Z1=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:o,controlHeightSM:a,marginXXS:i,colorTextLightSolid:s,colorBgContainer:l}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:o,footerPadding:`${a}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+i*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:o}},Q1=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];lo("Layout",Pj,Z1,{deprecatedTokens:Q1});const Rj=e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:o,antCls:a,triggerHeight:i,triggerColor:s,triggerBg:l,headerHeight:u,zeroTriggerWidth:c,zeroTriggerHeight:f,borderRadiusLG:v,lightSiderBg:p,lightTriggerColor:b,lightTriggerBg:g,bodyBg:h}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:i},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${a}-menu${a}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${t}-children`]:{overflow:"hidden"},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:i,color:s,lineHeight:bt(i),textAlign:"center",background:l,cursor:"pointer",transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:"absolute",top:u,insetInlineEnd:e.calc(c).mul(-1).equal(),zIndex:1,width:c,height:f,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${bt(v)} ${bt(v)} 0`,cursor:"pointer",transition:`background ${o} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${o}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(c).mul(-1).equal(),borderRadius:`${bt(v)} 0 0 ${bt(v)}`}},"&-light":{background:p,[`${t}-trigger`]:{color:b,background:g},[`${t}-zero-width-trigger`]:{color:b,background:g,border:`1px solid ${h}`,borderInlineStart:0}}}}};lo(["Layout","Sider"],Rj,Z1,{deprecatedTokens:Q1});const J1=d.createContext({});var Aj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Dj=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:Aj}))},_1=d.forwardRef(Dj);const Ss=Hi({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var jj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const ex=e=>{const{prefixCls:t,className:n,dashed:r}=e,o=jj(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=d.useContext(Rn),i=a("menu",t),s=Qe({[`${i}-item-divider-dashed`]:!!r},n);return d.createElement(mm,Object.assign({className:s},o))},tx=e=>{var t;const{className:n,children:r,icon:o,title:a,danger:i,extra:s}=e,{prefixCls:l,firstLevel:u,direction:c,disableMenuItemTitleTooltip:f,inlineCollapsed:v}=d.useContext(Ss),p=x=>{const C=r==null?void 0:r[0],w=d.createElement("span",{className:Qe(`${l}-title-content`,{[`${l}-title-content-with-extra`]:!!s||s===0})},r);return(!o||d.isValidElement(r)&&r.type==="span")&&r&&x&&u&&typeof C=="string"?d.createElement("div",{className:`${l}-inline-collapsed-noicon`},C.charAt(0)):w},{siderCollapsed:b}=d.useContext(J1);let g=a;typeof a>"u"?g=u?r:"":a===!1&&(g="");const h={title:g};!b&&!v&&(h.title=null,h.open=!1);const y=oo(r).length;let m=d.createElement(mc,Object.assign({},so(e,["title","icon","danger"]),{className:Qe({[`${l}-item-danger`]:i,[`${l}-item-only-child`]:(o?y+1:y)===1},n),title:typeof a=="string"?a:void 0}),ao(o,{className:Qe(d.isValidElement(o)?(t=o.props)===null||t===void 0?void 0:t.className:void 0,`${l}-item-icon`)}),p(v));return f||(m=d.createElement(B1,Object.assign({},h,{placement:c==="rtl"?"left":"right",classNames:{root:`${l}-inline-collapsed-tooltip`}}),m)),m};var $j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Es=d.createContext(null),Fj=d.forwardRef((e,t)=>{const{children:n}=e,r=$j(e,["children"]),o=d.useContext(Es),a=d.useMemo(()=>Object.assign(Object.assign({},o),r),[o,r.prefixCls,r.mode,r.selectable,r.rootClassName]),i=_N(n),s=Va(t,i?Jo(n):null);return d.createElement(Es.Provider,{value:a},d.createElement(E1,{space:!0},i?d.cloneElement(n,{ref:s}):n))}),Tj=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:a,lineType:i,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${bt(a)} ${i} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,
|
|
1437
|
-
> ${t}-item-active,
|
|
1438
|
-
> ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},Bj=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,
|
|
1439
|
-
${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${bt(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${bt(t)})`}}}}),xg=e=>rc(e),Cg=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,subMenuItemSelectedColor:a,groupTitleColor:i,itemBg:s,subMenuItemBg:l,itemSelectedBg:u,activeBarHeight:c,activeBarWidth:f,activeBarBorderWidth:v,motionDurationSlow:p,motionEaseInOut:b,motionEaseOut:g,itemPaddingInline:h,motionDurationMid:y,itemHoverColor:m,lineType:x,colorSplit:C,itemDisabledColor:w,dangerItemColor:S,dangerItemHoverColor:k,dangerItemSelectedColor:E,dangerItemActiveBg:O,dangerItemSelectedBg:M,popupBg:N,itemHoverBg:R,itemActiveBg:A,menuSubMenuBg:I,horizontalItemSelectedColor:P,horizontalItemSelectedBg:D,horizontalItemBorderRadius:j,horizontalItemHoverBg:$}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:Object.assign({},xg(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:i}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},xg(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:m}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:A}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:A}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:k}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:E},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:u,[`&${n}-item-danger`]:{backgroundColor:M}},[`&${n}-submenu > ${n}`]:{backgroundColor:I},[`&${n}-popup > ${n}`]:{backgroundColor:N},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:N},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:v,marginTop:e.calc(v).mul(-1).equal(),marginBottom:0,borderRadius:j,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${bt(c)} solid transparent`,transition:`border-color ${p} ${b}`,content:'""'},"&:hover, &-active, &-open":{background:$,"&::after":{borderBottomWidth:c,borderBottomColor:P}},"&-selected":{color:P,backgroundColor:D,"&:hover":{backgroundColor:D},"&::after":{borderBottomWidth:c,borderBottomColor:P}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${bt(v)} ${x} ${C}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${bt(f)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${y} ${g}`,`opacity ${y} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:E}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${y} ${b}`,`opacity ${y} ${b}`].join(",")}}}}}},wg=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:a,marginXS:i,itemMarginBlock:s,itemWidth:l,itemPaddingInline:u}=e,c=e.calc(a).add(o).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:bt(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},[`> ${t}-item,
|
|
1440
|
-
> ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:bt(n)},[`${t}-item-group-list ${t}-submenu-title,
|
|
1441
|
-
${t}-submenu-title`]:{paddingInlineEnd:c}}},zj=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:a,controlHeightLG:i,motionEaseOut:s,paddingXL:l,itemMarginInline:u,fontSizeLG:c,motionDurationFast:f,motionDurationSlow:v,paddingXS:p,boxShadowSecondary:b,collapsedWidth:g,collapsedIconSize:h}=e,y={height:r,lineHeight:bt(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},wg(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},wg(e)),{boxShadow:b})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${bt(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${v}`,`background ${v}`,`padding ${f} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:y,[`& ${t}-item-group-title`]:{paddingInlineStart:l}},[`${t}-item`]:y}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:c,textAlign:"center"}}},[`> ${t}-item,
|
|
1442
|
-
> ${t}-item-group > ${t}-item-group-list > ${t}-item,
|
|
1443
|
-
> ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
|
|
1444
|
-
> ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${bt(e.calc(h).div(2).equal())} - ${bt(u)})`,textOverflow:"clip",[`
|
|
1445
|
-
${t}-submenu-arrow,
|
|
1446
|
-
${t}-submenu-expand-icon
|
|
1447
|
-
`]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:h,lineHeight:bt(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},IR),{paddingInline:p})}}]},Sg=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:a,iconCls:i,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${o}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${a}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Zf()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Eg=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:a,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${bt(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${bt(i)})`}}}}},Hj=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:i,paddingXS:s,padding:l,colorSplit:u,lineWidth:c,zIndexPopup:f,borderRadiusLG:v,subMenuItemBorderRadius:p,menuArrowSize:b,menuArrowOffset:g,lineType:h,groupTitleLineHeight:y,groupTitleFontSize:m}=e;return[{"":{[n]:Object.assign(Object.assign({},gv()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Lo(e)),gv()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${bt(s)} ${bt(l)}`,fontSize:m,lineHeight:y,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${i}`,`padding ${o} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:h,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Sg(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${bt(e.calc(r).mul(2).equal())} ${bt(l)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:v,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:v},Sg(e)),Eg(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${i}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),Eg(e)),{[`&-inline-collapsed ${n}-submenu-arrow,
|
|
1448
|
-
&-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${bt(g)})`},"&::after":{transform:`rotate(45deg) translateX(${bt(e.calc(g).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${bt(e.calc(b).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${bt(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${bt(g)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Lj=e=>{var t,n,r;const{colorPrimary:o,colorError:a,colorTextDisabled:i,colorErrorBg:s,colorText:l,colorTextDescription:u,colorBgContainer:c,colorFillAlter:f,colorFillContent:v,lineWidth:p,lineWidthBold:b,controlItemBgActive:g,colorBgTextHover:h,controlHeightLG:y,lineHeight:m,colorBgElevated:x,marginXXS:C,padding:w,fontSize:S,controlHeightSM:k,fontSizeLG:E,colorTextLightSolid:O,colorErrorHover:M}=e,N=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,R=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:p,A=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,I=new sn(O).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:o,itemSelectedColor:o,subMenuItemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:c,itemBg:c,colorItemBgHover:h,itemHoverBg:h,colorItemBgActive:v,itemActiveBg:g,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:g,itemSelectedBg:g,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:N,colorActiveBarHeight:b,activeBarHeight:b,colorActiveBarBorderSize:p,activeBarBorderWidth:R,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:a,dangerItemColor:a,colorDangerItemTextHover:a,dangerItemHoverColor:a,colorDangerItemTextSelected:a,dangerItemSelectedColor:a,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:A,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:y,groupTitleLineHeight:m,collapsedWidth:y*2,popupBg:x,itemMarginBlock:C,itemPaddingInline:w,horizontalLineHeight:`${y*1.15}px`,iconSize:S,iconMarginInlineEnd:k-S,collapsedIconSize:E,groupTitleFontSize:S,darkItemDisabledColor:new sn(O).setA(.25).toRgbString(),darkItemColor:I,darkDangerItemColor:a,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:O,darkItemSelectedBg:o,darkDangerItemSelectedBg:a,darkItemHoverBg:"transparent",darkGroupTitleColor:I,darkItemHoverColor:O,darkDangerItemHoverColor:M,darkDangerItemSelectedColor:O,darkDangerItemActiveBg:a,itemWidth:N?`calc(100% + ${R}px)`:`calc(100% - ${A*2}px)`}},Vj=(e,t=e,n=!0)=>lo("Menu",r=>{const{colorBgElevated:o,controlHeightLG:a,fontSize:i,darkItemColor:s,darkDangerItemColor:l,darkItemBg:u,darkSubMenuItemBg:c,darkItemSelectedColor:f,darkItemSelectedBg:v,darkDangerItemSelectedBg:p,darkItemHoverBg:b,darkGroupTitleColor:g,darkItemHoverColor:h,darkItemDisabledColor:y,darkDangerItemHoverColor:m,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:C,popupBg:w,darkPopupBg:S}=r,k=r.calc(i).div(7).mul(5).equal(),E=cr(r,{menuArrowSize:k,menuHorizontalHeight:r.calc(a).mul(1.15).equal(),menuArrowOffset:r.calc(k).mul(.25).equal(),menuSubMenuBg:o,calc:r.calc,popupBg:w}),O=cr(E,{itemColor:s,itemHoverColor:h,groupTitleColor:g,itemSelectedColor:f,subMenuItemSelectedColor:f,itemBg:u,popupBg:S,subMenuItemBg:c,itemActiveBg:"transparent",itemSelectedBg:v,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:b,itemDisabledColor:y,dangerItemColor:l,dangerItemHoverColor:m,dangerItemSelectedColor:x,dangerItemActiveBg:C,dangerItemSelectedBg:p,menuSubMenuBg:c,horizontalItemSelectedColor:f,horizontalItemSelectedBg:v});return[Hj(E),Tj(E),zj(E),Cg(E,"light"),Cg(O,"dark"),Bj(E),l1(E),bs(E,"slide-up"),bs(E,"slide-down"),rm(E,"zoom-big")]},Lj,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t),nx=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:a}=e,i=d.useContext(Ss),{prefixCls:s,inlineCollapsed:l,theme:u}=i,c=qa();let f;if(!r)f=l&&!c.length&&o&&typeof o=="string"?d.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):d.createElement("span",{className:`${s}-title-content`},o);else{const b=d.isValidElement(o)&&o.type==="span";f=d.createElement(d.Fragment,null,ao(r,{className:Qe(d.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:void 0,`${s}-item-icon`)}),b?o:d.createElement("span",{className:`${s}-title-content`},o))}const v=d.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[p]=_f("Menu");return d.createElement(Ss.Provider,{value:v},d.createElement(pc,Object.assign({},so(e,["icon"]),{title:f,popupClassName:Qe(s,n,`${s}-${a||u}`),popupStyle:Object.assign({zIndex:p},e.popupStyle)})))};var Wj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function au(e){return e===null||e===!1}const Kj={item:tx,submenu:nx,divider:ex},Yj=rr((e,t)=>{var n;const r=d.useContext(Es),o=r||{},{getPrefixCls:a,getPopupContainer:i,direction:s,menu:l}=d.useContext(Rn),u=a(),{prefixCls:c,className:f,style:v,theme:p="light",expandIcon:b,_internalDisableMenuItemTitleTooltip:g,inlineCollapsed:h,siderCollapsed:y,rootClassName:m,mode:x,selectable:C,onClick:w,overflowedIndicatorPopupClassName:S}=e,k=Wj(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),E=so(k,["collapsedWidth"]);(n=o.validator)===null||n===void 0||n.call(o,{mode:x});const O=Ln((...F)=>{var H;w==null||w.apply(void 0,F),(H=o.onClick)===null||H===void 0||H.call(o)}),M=o.mode||x,N=C??o.selectable,R=h??y,A={horizontal:{motionName:`${u}-slide-up`},inline:e1(u),other:{motionName:`${u}-zoom-big`}},I=a("menu",c||o.prefixCls),P=Xy(I),[D,j,$]=Vj(I,P,!r),z=Qe(`${I}-${p}`,l==null?void 0:l.className,f),L=d.useMemo(()=>{var F,H;if(typeof b=="function"||au(b))return b||null;if(typeof o.expandIcon=="function"||au(o.expandIcon))return o.expandIcon||null;if(typeof(l==null?void 0:l.expandIcon)=="function"||au(l==null?void 0:l.expandIcon))return(l==null?void 0:l.expandIcon)||null;const W=(F=b??(o==null?void 0:o.expandIcon))!==null&&F!==void 0?F:l==null?void 0:l.expandIcon;return ao(W,{className:Qe(`${I}-submenu-expand-icon`,d.isValidElement(W)?(H=W.props)===null||H===void 0?void 0:H.className:void 0)})},[b,o==null?void 0:o.expandIcon,l==null?void 0:l.expandIcon,I]),B=d.useMemo(()=>({prefixCls:I,inlineCollapsed:R||!1,direction:s,firstLevel:!0,theme:p,mode:M,disableMenuItemTitleTooltip:g}),[I,R,s,g,p]);return D(d.createElement(Es.Provider,{value:null},d.createElement(Ss.Provider,{value:B},d.createElement(rl,Object.assign({getPopupContainer:i,overflowedIndicator:d.createElement(_1,null),overflowedIndicatorPopupClassName:Qe(I,`${I}-${p}`,S),mode:M,selectable:N,onClick:O},E,{inlineCollapsed:R,style:Object.assign(Object.assign({},l==null?void 0:l.style),v),className:z,prefixCls:I,direction:s,defaultMotions:A,expandIcon:L,ref:t,rootClassName:Qe(m,j,o.rootClassName,$,P),_internalComponents:Kj})))))}),ol=rr((e,t)=>{const n=at(null),r=d.useContext(J1);return Yo(t,()=>({menu:n.current,focus:o=>{var a;(a=n.current)===null||a===void 0||a.focus(o)}})),d.createElement(Yj,Object.assign({ref:n},e,r))});ol.Item=tx;ol.SubMenu=nx;ol.Divider=ex;ol.ItemGroup=pm;const qj=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}},Gj=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:a,antCls:i,iconCls:s,motionDurationMid:l,paddingBlock:u,fontSize:c,dropdownEdgeChildPadding:f,colorTextDisabled:v,fontSizeIcon:p,controlPaddingHorizontal:b,colorBgElevated:g}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(a).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${i}-btn`]:{[`& > ${s}-down, & > ${i}-btn-icon > ${s}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${s}-down`]:{fontSize:p},[`${s}-down::before`]:{transition:`transform ${l}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft,
|
|
1449
|
-
&${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft,
|
|
1450
|
-
&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom,
|
|
1451
|
-
&${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom,
|
|
1452
|
-
&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight,
|
|
1453
|
-
&${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:s1},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft,
|
|
1454
|
-
&${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft,
|
|
1455
|
-
&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top,
|
|
1456
|
-
&${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top,
|
|
1457
|
-
&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight,
|
|
1458
|
-
&${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:u1},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft,
|
|
1459
|
-
&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom,
|
|
1460
|
-
&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:c1},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft,
|
|
1461
|
-
&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top,
|
|
1462
|
-
&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:d1}}},j1(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},Lo(e)),{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},cd(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${bt(u)} ${bt(b)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${bt(u)} ${bt(b)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},cd(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:v,cursor:"not-allowed","&:hover":{color:v,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${bt(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:p,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${bt(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(b).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:v,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[bs(e,"slide-up"),bs(e,"slide-down"),$v(e,"move-up"),$v(e,"move-down"),rm(e,"zoom-big")]]},Uj=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},lm({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),A1(e)),Xj=lo("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:o}=e,a=cr(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[Gj(a),qj(a)]},Uj,{resetStyle:!1}),vc=e=>{var t;const{menu:n,arrow:r,prefixCls:o,children:a,trigger:i,disabled:s,dropdownRender:l,popupRender:u,getPopupContainer:c,overlayClassName:f,rootClassName:v,overlayStyle:p,open:b,onOpenChange:g,visible:h,onVisibleChange:y,mouseEnterDelay:m=.15,mouseLeaveDelay:x=.1,autoAdjustOverflow:C=!0,placement:w="",overlay:S,transitionName:k,destroyOnHidden:E,destroyPopupOnHide:O}=e,{getPopupContainer:M,getPrefixCls:N,direction:R,dropdown:A}=d.useContext(Rn),I=u||l;Gf();const P=d.useMemo(()=>{const ae=N();return k!==void 0?k:w.includes("top")?`${ae}-slide-down`:`${ae}-slide-up`},[N,w,k]),D=d.useMemo(()=>w?w.includes("Center")?w.slice(0,w.indexOf("Center")):w:R==="rtl"?"bottomRight":"bottomLeft",[w,R]),j=N("dropdown",o),$=Xy(j),[z,L,B]=Xj(j,$),[,F]=Zr(),H=d.Children.only(U6(a)?d.createElement("span",null,a):a),W=ao(H,{className:Qe(`${j}-trigger`,{[`${j}-rtl`]:R==="rtl"},H.props.className),disabled:(t=H.props.disabled)!==null&&t!==void 0?t:s}),V=s?[]:i,_=!!(V!=null&&V.includes("contextMenu")),[q,U]=Ho(!1,{value:b??h}),Q=Ln(ae=>{g==null||g(ae,{source:"trigger"}),y==null||y(ae),U(ae)}),te=Qe(f,v,L,B,$,A==null?void 0:A.className,{[`${j}-rtl`]:R==="rtl"}),X=$1({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:C,offset:F.marginXXS,arrowWidth:r?F.sizePopupArrow:0,borderRadius:F.borderRadius}),Y=d.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(g==null||g(!1,{source:"menu"}),U(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),T=()=>{let ae;return n!=null&&n.items?ae=d.createElement(ol,Object.assign({},n)):typeof S=="function"?ae=S():ae=S,I&&(ae=I(ae)),ae=d.Children.only(typeof ae=="string"?d.createElement("span",null,ae):ae),d.createElement(Fj,{prefixCls:`${j}-menu`,rootClassName:Qe(B,$),expandIcon:d.createElement("span",{className:`${j}-menu-submenu-arrow`},R==="rtl"?d.createElement(z6,{className:`${j}-menu-submenu-arrow-icon`}):d.createElement(wA,{className:`${j}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Y,validator:({mode:le})=>{}},ae)},[Z,J]=_f("Dropdown",p==null?void 0:p.zIndex);let ne=d.createElement(G6,Object.assign({alignPoint:_},so(e,["rootClassName"]),{mouseEnterDelay:m,mouseLeaveDelay:x,visible:q,builtinPlacements:X,arrow:!!r,overlayClassName:te,prefixCls:j,getPopupContainer:c||M,transitionName:P,trigger:V,overlay:T,placement:D,onVisibleChange:Q,overlayStyle:Object.assign(Object.assign(Object.assign({},A==null?void 0:A.style),p),{zIndex:Z}),autoDestroy:E??O}),W);return Z&&(ne=d.createElement(Jf.Provider,{value:J},ne)),z(ne)},Zj=DD(vc,"align",void 0,"dropdown",e=>e),Qj=e=>d.createElement(Zj,Object.assign({},e),d.createElement("span",null));vc._InternalPanelDoNotUseOrYouWillBeFired=Qj;function ir(e,t){return e[t]}var Jj=["children"];function rx(e,t){return"".concat(e,"-").concat(t)}function _j(e){return e&&e.type&&e.type.isTreeNode}function al(e,t){return e??t}function Da(e){var t=e||{},n=t.title,r=t._title,o=t.key,a=t.children,i=n||"title";return{title:i,_title:r||[i],key:o||"key",children:a||"children"}}function ox(e){function t(n){var r=oo(n);return r.map(function(o){if(!_j(o))return fn(!o,"Tree/TreeNode can only accept TreeNode as children."),null;var a=o.key,i=o.props,s=i.children,l=qt(i,Jj),u=re({key:a},l),c=t(s);return c.length&&(u.children=c),u}).filter(function(o){return o})}return t(e)}function iu(e,t,n){var r=Da(n),o=r._title,a=r.key,i=r.children,s=new Set(t===!0?[]:t),l=[];function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return c.map(function(v,p){for(var b=rx(f?f.pos:"0",p),g=al(v[a],b),h,y=0;y<o.length;y+=1){var m=o[y];if(v[m]!==void 0){h=v[m];break}}var x=Object.assign(so(v,[].concat(rt(o),[a,i])),{title:h,key:g,parent:f,pos:b,children:null,data:v,isStart:[].concat(rt(f?f.isStart:[]),[p===0]),isEnd:[].concat(rt(f?f.isEnd:[]),[p===c.length-1])});return l.push(x),t===!0||s.has(g)?x.children=u(v[i]||[],x):x.children=[],x})}return u(e),l}function e$(e,t,n){var r={};xt(n)==="object"?r=n:r={externalGetKey:n},r=r||{};var o=r,a=o.childrenPropName,i=o.externalGetKey,s=o.fieldNames,l=Da(s),u=l.key,c=l.children,f=a||c,v;i?typeof i=="string"?v=function(b){return b[i]}:typeof i=="function"&&(v=function(b){return i(b)}):v=function(b,g){return al(b[u],g)};function p(b,g,h,y){var m=b?b[f]:e,x=b?rx(h.pos,g):"0",C=b?[].concat(rt(y),[b]):[];if(b){var w=v(b,x),S={node:b,index:g,pos:x,key:w,parentPos:h.node?h.pos:null,level:h.level+1,nodes:C};t(S)}m&&m.forEach(function(k,E){p(k,E,{node:b,pos:x,level:h?h.level+1:-1},C)})}p(null)}function ax(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,a=t.externalGetKey,i=t.childrenPropName,s=t.fieldNames,l=arguments.length>2?arguments[2]:void 0,u=a||l,c={},f={},v={posEntities:c,keyEntities:f};return n&&(v=n(v)||v),e$(e,function(p){var b=p.node,g=p.index,h=p.pos,y=p.key,m=p.parentPos,x=p.level,C=p.nodes,w={node:b,nodes:C,index:g,key:y,pos:h,level:x},S=al(y,h);c[h]=w,f[S]=w,w.parent=c[m],w.parent&&(w.parent.children=w.parent.children||[],w.parent.children.push(w)),r&&r(w,v)},{externalGetKey:u,childrenPropName:i,fieldNames:s}),o&&o(v),v}function yi(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,u=t.dropPosition,c=t.keyEntities,f=ir(c,e),v={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:o.indexOf(e)!==-1,loading:a.indexOf(e)!==-1,checked:i.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:l===e&&u===0,dragOverGapTop:l===e&&u===-1,dragOverGapBottom:l===e&&u===1};return v}function In(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,a=e.loaded,i=e.loading,s=e.halfChecked,l=e.dragOver,u=e.dragOverGapTop,c=e.dragOverGapBottom,f=e.pos,v=e.active,p=e.eventKey,b=re(re({},t),{},{expanded:n,selected:r,checked:o,loaded:a,loading:i,halfChecked:s,dragOver:l,dragOverGapTop:u,dragOverGapBottom:c,pos:f,active:v,key:p});return"props"in b||Object.defineProperty(b,"props",{get:function(){return fn(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),b}function ix(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function t$(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!!(n||r)||o===!1}function n$(e,t,n,r){for(var o=new Set(e),a=new Set,i=0;i<=n;i+=1){var s=t.get(i)||new Set;s.forEach(function(f){var v=f.key,p=f.node,b=f.children,g=b===void 0?[]:b;o.has(v)&&!r(p)&&g.filter(function(h){return!r(h.node)}).forEach(function(h){o.add(h.key)})})}for(var l=new Set,u=n;u>=0;u-=1){var c=t.get(u)||new Set;c.forEach(function(f){var v=f.parent,p=f.node;if(!(r(p)||!f.parent||l.has(f.parent.key))){if(r(f.parent.node)){l.add(v.key);return}var b=!0,g=!1;(v.children||[]).filter(function(h){return!r(h.node)}).forEach(function(h){var y=h.key,m=o.has(y);b&&!m&&(b=!1),!g&&(m||a.has(y))&&(g=!0)}),b&&o.add(v.key),g&&a.add(v.key),l.add(v.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(ix(a,o))}}function r$(e,t,n,r,o){for(var a=new Set(e),i=new Set(t),s=0;s<=r;s+=1){var l=n.get(s)||new Set;l.forEach(function(v){var p=v.key,b=v.node,g=v.children,h=g===void 0?[]:g;!a.has(p)&&!i.has(p)&&!o(b)&&h.filter(function(y){return!o(y.node)}).forEach(function(y){a.delete(y.key)})})}i=new Set;for(var u=new Set,c=r;c>=0;c-=1){var f=n.get(c)||new Set;f.forEach(function(v){var p=v.parent,b=v.node;if(!(o(b)||!v.parent||u.has(v.parent.key))){if(o(v.parent.node)){u.add(p.key);return}var g=!0,h=!1;(p.children||[]).filter(function(y){return!o(y.node)}).forEach(function(y){var m=y.key,x=a.has(m);g&&!x&&(g=!1),!h&&(x||i.has(m))&&(h=!0)}),g||a.delete(p.key),h&&i.add(p.key),u.add(p.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(ix(i,a))}}function lu(e,t,n,r){var o=[],a;a=t$;var i=new Set(e.filter(function(c){var f=!!ir(n,c);return f||o.push(c),f})),s=new Map,l=0;Object.keys(n).forEach(function(c){var f=n[c],v=f.level,p=s.get(v);p||(p=new Set,s.set(v,p)),p.add(f),l=Math.max(l,v)}),fn(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(c){return"'".concat(c,"'")}).join(", ")));var u;return t===!0?u=n$(i,s,l,a):u=r$(i,t.halfCheckedKeys,s,l,a),u}const o$=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Lo(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},Lo(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Lo(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:rc(e)},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${bt(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${bt(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`
|
|
1463
|
-
${n}:not(${n}-disabled),
|
|
1464
|
-
${t}:not(${t}-disabled)
|
|
1465
|
-
`]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`
|
|
1466
|
-
${n}-checked:not(${n}-disabled),
|
|
1467
|
-
${t}-checked:not(${t}-disabled)
|
|
1468
|
-
`]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{"&":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer}`,borderColor:`${e.colorBorder}`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer}`,borderColor:`${e.colorPrimary}`}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function lx(e,t){const n=cr(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return o$(n)}lo("Checkbox",(e,{prefixCls:t})=>[lx(t,e)]);function kg(e){return["small","middle","large"].includes(e)}function Ig(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const sx=ue.createContext({latestIndex:0}),a$=sx.Provider,i$=({className:e,index:t,children:n,split:r,style:o})=>{const{latestIndex:a}=d.useContext(sx);return n==null?null:d.createElement(d.Fragment,null,d.createElement("div",{className:e,style:o},n),t<a&&r&&d.createElement("span",{className:`${e}-split`},r))};var l$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const s$=d.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:o,size:a,className:i,style:s,classNames:l,styles:u}=Xf("space"),{size:c=a??"small",align:f,className:v,rootClassName:p,children:b,direction:g="horizontal",prefixCls:h,split:y,style:m,wrap:x=!1,classNames:C,styles:w}=e,S=l$(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,E]=Array.isArray(c)?c:[c,c],O=kg(E),M=kg(k),N=Ig(E),R=Ig(k),A=oo(b,{keepEmpty:!0}),I=f===void 0&&g==="horizontal"?"center":f,P=r("space",h),[D,j,$]=r1(P),z=Qe(P,i,j,`${P}-${g}`,{[`${P}-rtl`]:o==="rtl",[`${P}-align-${I}`]:I,[`${P}-gap-row-${E}`]:O,[`${P}-gap-col-${k}`]:M},v,p,$),L=Qe(`${P}-item`,(n=C==null?void 0:C.item)!==null&&n!==void 0?n:l.item);let B=0;const F=A.map((V,_)=>{var q;V!=null&&(B=_);const U=(V==null?void 0:V.key)||`${L}-${_}`;return d.createElement(i$,{className:L,key:U,index:_,split:y,style:(q=w==null?void 0:w.item)!==null&&q!==void 0?q:u.item},V)}),H=d.useMemo(()=>({latestIndex:B}),[B]);if(A.length===0)return null;const W={};return x&&(W.flexWrap="wrap"),!M&&R&&(W.columnGap=k),!O&&N&&(W.rowGap=E),D(d.createElement("div",Object.assign({ref:t,className:z,style:Object.assign(Object.assign(Object.assign({},W),s),m)},S),d.createElement(a$,{value:H},F)))}),cx=s$;cx.Compact=lA;var c$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const ux=e=>{const{getPopupContainer:t,getPrefixCls:n,direction:r}=d.useContext(Rn),{prefixCls:o,type:a="default",danger:i,disabled:s,loading:l,onClick:u,htmlType:c,children:f,className:v,menu:p,arrow:b,autoFocus:g,overlay:h,trigger:y,align:m,open:x,onOpenChange:C,placement:w,getPopupContainer:S,href:k,icon:E=d.createElement(_1,null),title:O,buttonsRender:M=te=>te,mouseEnterDelay:N,mouseLeaveDelay:R,overlayClassName:A,overlayStyle:I,destroyOnHidden:P,destroyPopupOnHide:D,dropdownRender:j,popupRender:$}=e,z=c$(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyOnHidden","destroyPopupOnHide","dropdownRender","popupRender"]),L=n("dropdown",o),B=`${L}-button`,F={menu:p,arrow:b,autoFocus:g,align:m,disabled:s,trigger:s?[]:y,onOpenChange:C,getPopupContainer:S||t,mouseEnterDelay:N,mouseLeaveDelay:R,overlayClassName:A,overlayStyle:I,destroyOnHidden:P,popupRender:$||j},{compactSize:H,compactItemClassnames:W}=a1(L,r),V=Qe(B,W,v);"destroyPopupOnHide"in e&&(F.destroyPopupOnHide=D),"overlay"in e&&(F.overlay=h),"open"in e&&(F.open=x),"placement"in e?F.placement=w:F.placement=r==="rtl"?"bottomLeft":"bottomRight";const _=d.createElement(ys,{type:a,danger:i,disabled:s,loading:l,onClick:u,htmlType:c,href:k,title:O},f),q=d.createElement(ys,{type:a,danger:i,icon:E}),[U,Q]=M([_,q]);return d.createElement(cx.Compact,Object.assign({className:V,size:H,block:!0},z),U,d.createElement(vc,Object.assign({},F),Q))};ux.__ANT_BUTTON=!0;const dx=vc;dx.Button=ux;var u$={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},d$=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:u$}))},f$=d.forwardRef(d$),m$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},p$=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:m$}))},fx=d.forwardRef(p$),v$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},g$=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:v$}))},h$=d.forwardRef(g$),b$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},y$=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:b$}))},x$=d.forwardRef(y$),C$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},w$=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:C$}))},S$=d.forwardRef(w$),E$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},k$=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:E$}))},I$=d.forwardRef(k$),M$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},N$=function(e,t){return d.createElement(ur,ht({},e,{ref:t,icon:M$}))},O$=d.forwardRef(N$),vm=d.createContext(null),P$=d.createContext({}),R$=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd,a="".concat(t,"-indent-unit"),i=[],s=0;s<n;s+=1)i.push(d.createElement("span",{key:s,className:Qe(a,K(K({},"".concat(a,"-start"),r[s]),"".concat(a,"-end"),o[s]))}));return d.createElement("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},i)};const A$=d.memo(R$);var D$=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Mg="open",Ng="close",j$="---",zi=function(e){var t,n,r,o=e.eventKey,a=e.className,i=e.style,s=e.dragOver,l=e.dragOverGapTop,u=e.dragOverGapBottom,c=e.isLeaf,f=e.isStart,v=e.isEnd,p=e.expanded,b=e.selected,g=e.checked,h=e.halfChecked,y=e.loading,m=e.domRef,x=e.active,C=e.data,w=e.onMouseMove,S=e.selectable,k=qt(e,D$),E=ue.useContext(vm),O=ue.useContext(P$),M=ue.useRef(null),N=ue.useState(!1),R=Ee(N,2),A=R[0],I=R[1],P=!!(E.disabled||e.disabled||(t=O.nodeDisabled)!==null&&t!==void 0&&t.call(O,C)),D=ue.useMemo(function(){return!E.checkable||e.checkable===!1?!1:E.checkable},[E.checkable,e.checkable]),j=function(ce){P||E.onNodeSelect(ce,In(e))},$=function(ce){P||!D||e.disableCheckbox||E.onNodeCheck(ce,In(e),!g)},z=ue.useMemo(function(){return typeof S=="boolean"?S:E.selectable},[S,E.selectable]),L=function(ce){E.onNodeClick(ce,In(e)),z?j(ce):$(ce)},B=function(ce){E.onNodeDoubleClick(ce,In(e))},F=function(ce){E.onNodeMouseEnter(ce,In(e))},H=function(ce){E.onNodeMouseLeave(ce,In(e))},W=function(ce){E.onNodeContextMenu(ce,In(e))},V=ue.useMemo(function(){return!!(E.draggable&&(!E.draggable.nodeDraggable||E.draggable.nodeDraggable(C)))},[E.draggable,C]),_=function(ce){ce.stopPropagation(),I(!0),E.onNodeDragStart(ce,e);try{ce.dataTransfer.setData("text/plain","")}catch{}},q=function(ce){ce.preventDefault(),ce.stopPropagation(),E.onNodeDragEnter(ce,e)},U=function(ce){ce.preventDefault(),ce.stopPropagation(),E.onNodeDragOver(ce,e)},Q=function(ce){ce.stopPropagation(),E.onNodeDragLeave(ce,e)},te=function(ce){ce.stopPropagation(),I(!1),E.onNodeDragEnd(ce,e)},X=function(ce){ce.preventDefault(),ce.stopPropagation(),I(!1),E.onNodeDrop(ce,e)},Y=function(ce){y||E.onNodeExpand(ce,In(e))},T=ue.useMemo(function(){var ce=ir(E.keyEntities,o)||{},xe=ce.children;return!!(xe||[]).length},[E.keyEntities,o]),Z=ue.useMemo(function(){return c===!1?!1:c||!E.loadData&&!T||E.loadData&&e.loaded&&!T},[c,E.loadData,T,e.loaded]);ue.useEffect(function(){y||typeof E.loadData=="function"&&p&&!Z&&!e.loaded&&E.onNodeLoad(In(e))},[y,E.loadData,E.onNodeLoad,p,Z,e]);var J=ue.useMemo(function(){var ce;return(ce=E.draggable)!==null&&ce!==void 0&&ce.icon?ue.createElement("span",{className:"".concat(E.prefixCls,"-draggable-icon")},E.draggable.icon):null},[E.draggable]),ne=function(ce){var xe=e.switcherIcon||E.switcherIcon;return typeof xe=="function"?xe(re(re({},e),{},{isLeaf:ce})):xe},ae=function(){if(Z){var ce=ne(!0);return ce!==!1?ue.createElement("span",{className:Qe("".concat(E.prefixCls,"-switcher"),"".concat(E.prefixCls,"-switcher-noop"))},ce):null}var xe=ne(!1);return xe!==!1?ue.createElement("span",{onClick:Y,className:Qe("".concat(E.prefixCls,"-switcher"),"".concat(E.prefixCls,"-switcher_").concat(p?Mg:Ng))},xe):null},le=ue.useMemo(function(){if(!D)return null;var ce=typeof D!="boolean"?D:null;return ue.createElement("span",{className:Qe("".concat(E.prefixCls,"-checkbox"),K(K(K({},"".concat(E.prefixCls,"-checkbox-checked"),g),"".concat(E.prefixCls,"-checkbox-indeterminate"),!g&&h),"".concat(E.prefixCls,"-checkbox-disabled"),P||e.disableCheckbox)),onClick:$,role:"checkbox","aria-checked":h?"mixed":g,"aria-disabled":P||e.disableCheckbox,"aria-label":"Select ".concat(typeof e.title=="string"?e.title:"tree node")},ce)},[D,g,h,P,e.disableCheckbox,e.title]),be=ue.useMemo(function(){return Z?null:p?Mg:Ng},[Z,p]),Ce=ue.useMemo(function(){return ue.createElement("span",{className:Qe("".concat(E.prefixCls,"-iconEle"),"".concat(E.prefixCls,"-icon__").concat(be||"docu"),K({},"".concat(E.prefixCls,"-icon_loading"),y))})},[E.prefixCls,be,y]),de=ue.useMemo(function(){var ce=!!E.draggable,xe=!e.disabled&&ce&&E.dragOverNodeKey===o;return xe?E.dropIndicatorRender({dropPosition:E.dropPosition,dropLevelOffset:E.dropLevelOffset,indent:E.indent,prefixCls:E.prefixCls,direction:E.direction}):null},[E.dropPosition,E.dropLevelOffset,E.indent,E.prefixCls,E.direction,E.draggable,E.dragOverNodeKey,E.dropIndicatorRender]),Se=ue.useMemo(function(){var ce=e.title,xe=ce===void 0?j$:ce,he="".concat(E.prefixCls,"-node-content-wrapper"),Me;if(E.showIcon){var ve=e.icon||E.icon;Me=ve?ue.createElement("span",{className:Qe("".concat(E.prefixCls,"-iconEle"),"".concat(E.prefixCls,"-icon__customize"))},typeof ve=="function"?ve(e):ve):Ce}else E.loadData&&y&&(Me=Ce);var me;return typeof xe=="function"?me=xe(C):E.titleRender?me=E.titleRender(C):me=xe,ue.createElement("span",{ref:M,title:typeof xe=="string"?xe:"",className:Qe(he,"".concat(he,"-").concat(be||"normal"),K({},"".concat(E.prefixCls,"-node-selected"),!P&&(b||A))),onMouseEnter:F,onMouseLeave:H,onContextMenu:W,onClick:L,onDoubleClick:B},Me,ue.createElement("span",{className:"".concat(E.prefixCls,"-title")},me),de)},[E.prefixCls,E.showIcon,e,E.icon,Ce,E.titleRender,C,be,F,H,W,L,B]),oe=Gy(k,{aria:!0,data:!0}),se=ir(E.keyEntities,o)||{},ke=se.level,ge=v[v.length-1],ie=!P&&V,we=E.draggingNodeKey===o,fe=S!==void 0?{"aria-selected":!!S}:void 0;return ue.createElement("div",ht({ref:m,role:"treeitem","aria-expanded":c?void 0:p,className:Qe(a,"".concat(E.prefixCls,"-treenode"),(r={},K(K(K(K(K(K(K(K(K(K(r,"".concat(E.prefixCls,"-treenode-disabled"),P),"".concat(E.prefixCls,"-treenode-switcher-").concat(p?"open":"close"),!c),"".concat(E.prefixCls,"-treenode-checkbox-checked"),g),"".concat(E.prefixCls,"-treenode-checkbox-indeterminate"),h),"".concat(E.prefixCls,"-treenode-selected"),b),"".concat(E.prefixCls,"-treenode-loading"),y),"".concat(E.prefixCls,"-treenode-active"),x),"".concat(E.prefixCls,"-treenode-leaf-last"),ge),"".concat(E.prefixCls,"-treenode-draggable"),V),"dragging",we),K(K(K(K(K(K(K(r,"drop-target",E.dropTargetKey===o),"drop-container",E.dropContainerKey===o),"drag-over",!P&&s),"drag-over-gap-top",!P&&l),"drag-over-gap-bottom",!P&&u),"filter-node",(n=E.filterTreeNode)===null||n===void 0?void 0:n.call(E,In(e))),"".concat(E.prefixCls,"-treenode-leaf"),Z))),style:i,draggable:ie,onDragStart:ie?_:void 0,onDragEnter:V?q:void 0,onDragOver:V?U:void 0,onDragLeave:V?Q:void 0,onDrop:V?X:void 0,onDragEnd:V?te:void 0,onMouseMove:w},fe,oe),ue.createElement(A$,{prefixCls:E.prefixCls,level:ke,isStart:f,isEnd:v}),J,ae(),le,Se)};zi.isTreeNode=1;function Qr(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function vo(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function gm(e){return e.split("-")}function $$(e,t){var n=[],r=ir(t,e);function o(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];a.forEach(function(i){var s=i.key,l=i.children;n.push(s),o(l)})}return o(r.children),n}function F$(e){if(e.parent){var t=gm(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function T$(e){var t=gm(e.pos);return Number(t[t.length-1])===0}function Og(e,t,n,r,o,a,i,s,l,u){var c,f=e.clientX,v=e.clientY,p=e.target.getBoundingClientRect(),b=p.top,g=p.height,h=(u==="rtl"?-1:1)*(((o==null?void 0:o.x)||0)-f),y=(h-12)/r,m=l.filter(function(D){var j;return(j=s[D])===null||j===void 0||(j=j.children)===null||j===void 0?void 0:j.length}),x=ir(s,n.eventKey);if(v<b+g/2){var C=i.findIndex(function(D){return D.key===x.key}),w=C<=0?0:C-1,S=i[w].key;x=ir(s,S)}var k=x.key,E=x,O=x.key,M=0,N=0;if(!m.includes(k))for(var R=0;R<y&&F$(x);R+=1)x=x.parent,N+=1;var A=t.data,I=x.node,P=!0;return T$(x)&&x.level===0&&v<b+g/2&&a({dragNode:A,dropNode:I,dropPosition:-1})&&x.key===n.eventKey?M=-1:(E.children||[]).length&&m.includes(O)?a({dragNode:A,dropNode:I,dropPosition:0})?M=0:P=!1:N===0?y>-1.5?a({dragNode:A,dropNode:I,dropPosition:1})?M=1:P=!1:a({dragNode:A,dropNode:I,dropPosition:0})?M=0:a({dragNode:A,dropNode:I,dropPosition:1})?M=1:P=!1:a({dragNode:A,dropNode:I,dropPosition:1})?M=1:P=!1,{dropPosition:M,dropLevelOffset:N,dropTargetKey:x.key,dropTargetPos:x.pos,dragOverNodeKey:O,dropContainerKey:M===0?null:((c=x.parent)===null||c===void 0?void 0:c.key)||null,dropAllowed:P}}function Pg(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function su(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(xt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return fn(!1,"`checkedKeys` is not an array or an object"),null;return t}function Bd(e,t){var n=new Set;function r(o){if(!n.has(o)){var a=ir(t,o);if(a){n.add(o);var i=a.parent,s=a.node;s.disabled||i&&r(i.key)}}}return(e||[]).forEach(function(o){r(o)}),rt(n)}var B$=function(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:o.top=0,o.left=-n*r;break;case 1:o.bottom=0,o.left=-n*r;break;case 0:o.bottom=0,o.left=r;break}return ue.createElement("div",{style:o})};function mx(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function z$(e,t){var n=d.useState(!1),r=Ee(n,2),o=r[0],a=r[1];an(function(){if(o)return e(),function(){t()}},[o]),an(function(){return a(!0),function(){a(!1)}},[])}var H$=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],L$=d.forwardRef(function(e,t){var n=e.className,r=e.style,o=e.motion,a=e.motionNodes,i=e.motionType,s=e.onMotionStart,l=e.onMotionEnd,u=e.active,c=e.treeNodeRequiredProps,f=qt(e,H$),v=d.useState(!0),p=Ee(v,2),b=p[0],g=p[1],h=d.useContext(vm),y=h.prefixCls,m=a&&i!=="hide";an(function(){a&&m!==b&&g(m)},[a]);var x=function(){a&&s()},C=d.useRef(!1),w=function(){a&&!C.current&&(C.current=!0,l())};z$(x,w);var S=function(k){m===k&&w()};return a?d.createElement(ea,ht({ref:t,visible:b},o,{motionAppear:i==="show",onVisibleChanged:S}),function(k,E){var O=k.className,M=k.style;return d.createElement("div",{ref:E,className:Qe("".concat(y,"-treenode-motion"),O),style:M},a.map(function(N){var R=Object.assign({},(mx(N.data),N.data)),A=N.title,I=N.key,P=N.isStart,D=N.isEnd;delete R.children;var j=yi(I,c);return d.createElement(zi,ht({},R,j,{title:A,active:u,data:N.data,key:I,isStart:P,isEnd:D}))}))}):d.createElement(zi,ht({domRef:t,className:n,style:r},f,{active:u}))});function V$(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function o(a,i){var s=new Map;a.forEach(function(u){s.set(u,!0)});var l=i.filter(function(u){return!s.has(u)});return l.length===1?l[0]:null}return n<r?{add:!0,key:o(e,t)}:{add:!1,key:o(t,e)}}function Rg(e,t,n){var r=e.findIndex(function(s){return s.key===n}),o=e[r+1],a=t.findIndex(function(s){return s.key===n});if(o){var i=t.findIndex(function(s){return s.key===o.key});return t.slice(a+1,i)}return t.slice(a+1)}var W$=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Ag={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},K$=function(){},Ko="RC_TREE_MOTION_".concat(Math.random()),zd={key:Ko},px={key:Ko,level:0,index:0,pos:"0",node:zd,nodes:[zd]},Dg={parent:null,children:[],pos:px.pos,data:zd,title:null,key:Ko,isStart:[],isEnd:[]};function jg(e,t,n,r){return t===!1||!n?e:e.slice(0,Math.ceil(n/r)+1)}function $g(e){var t=e.key,n=e.pos;return al(t,n)}function Y$(e){for(var t=String(e.data.key),n=e;n.parent;)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}var q$=d.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var o=e.expandedKeys,a=e.selectedKeys,i=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,u=e.halfCheckedKeys,c=e.keyEntities,f=e.disabled,v=e.dragging,p=e.dragOverNodeKey,b=e.dropPosition,g=e.motion,h=e.height,y=e.itemHeight,m=e.virtual,x=e.scrollWidth,C=e.focusable,w=e.activeItem,S=e.focused,k=e.tabIndex,E=e.onKeyDown,O=e.onFocus,M=e.onBlur,N=e.onActiveChange,R=e.onListChangeStart,A=e.onListChangeEnd,I=qt(e,W$),P=d.useRef(null),D=d.useRef(null);d.useImperativeHandle(t,function(){return{scrollTo:function(de){P.current.scrollTo(de)},getIndentWidth:function(){return D.current.offsetWidth}}});var j=d.useState(o),$=Ee(j,2),z=$[0],L=$[1],B=d.useState(r),F=Ee(B,2),H=F[0],W=F[1],V=d.useState(r),_=Ee(V,2),q=_[0],U=_[1],Q=d.useState([]),te=Ee(Q,2),X=te[0],Y=te[1],T=d.useState(null),Z=Ee(T,2),J=Z[0],ne=Z[1],ae=d.useRef(r);ae.current=r;function le(){var de=ae.current;W(de),U(de),Y([]),ne(null),A()}an(function(){L(o);var de=V$(z,o);if(de.key!==null)if(de.add){var Se=H.findIndex(function(we){var fe=we.key;return fe===de.key}),oe=jg(Rg(H,r,de.key),m,h,y),se=H.slice();se.splice(Se+1,0,Dg),U(se),Y(oe),ne("show")}else{var ke=r.findIndex(function(we){var fe=we.key;return fe===de.key}),ge=jg(Rg(r,H,de.key),m,h,y),ie=r.slice();ie.splice(ke+1,0,Dg),U(ie),Y(ge),ne("hide")}else H!==r&&(W(r),U(r))},[o,r]),d.useEffect(function(){v||le()},[v]);var be=g?q:r,Ce={expandedKeys:o,selectedKeys:a,loadedKeys:s,loadingKeys:l,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:p,dropPosition:b,keyEntities:c};return d.createElement(d.Fragment,null,S&&w&&d.createElement("span",{style:Ag,"aria-live":"assertive"},Y$(w)),d.createElement("div",null,d.createElement("input",{style:Ag,disabled:C===!1||f,tabIndex:C!==!1?k:null,onKeyDown:E,onFocus:O,onBlur:M,value:"",onChange:K$,"aria-label":"for screen reader"})),d.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},d.createElement("div",{className:"".concat(n,"-indent")},d.createElement("div",{ref:D,className:"".concat(n,"-indent-unit")}))),d.createElement(P1,ht({},I,{data:be,itemKey:$g,height:h,fullHeight:!1,virtual:m,itemHeight:y,scrollWidth:x,prefixCls:"".concat(n,"-list"),ref:P,role:"tree",onVisibleChange:function(de){de.every(function(Se){return $g(Se)!==Ko})&&le()}}),function(de){var Se=de.pos,oe=Object.assign({},(mx(de.data),de.data)),se=de.title,ke=de.key,ge=de.isStart,ie=de.isEnd,we=al(ke,Se);delete oe.key,delete oe.children;var fe=yi(we,Ce);return d.createElement(L$,ht({},oe,fe,{title:se,active:!!w&&ke===w.key,pos:Se,data:de.data,isStart:ge,isEnd:ie,motion:g,motionNodes:ke===Ko?X:null,motionType:J,onMotionStart:R,onMotionEnd:le,treeNodeRequiredProps:Ce,onMouseMove:function(){N(null)}}))}))}),G$=10,hm=(function(e){Ur(n,e);var t=Xr(n);function n(){var r;Sn(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),K(qe(r),"destroyed",!1),K(qe(r),"delayedDragEnterLogic",void 0),K(qe(r),"loadingRetryTimes",{}),K(qe(r),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:Da()}),K(qe(r),"dragStartMousePosition",null),K(qe(r),"dragNodeProps",null),K(qe(r),"currentMouseOverDroppableNodeKey",null),K(qe(r),"listRef",d.createRef()),K(qe(r),"onNodeDragStart",function(s,l){var u=r.state,c=u.expandedKeys,f=u.keyEntities,v=r.props.onDragStart,p=l.eventKey;r.dragNodeProps=l,r.dragStartMousePosition={x:s.clientX,y:s.clientY};var b=Qr(c,p);r.setState({draggingNodeKey:p,dragChildrenKeys:$$(p,f),indent:r.listRef.current.getIndentWidth()}),r.setExpandedKeys(b),window.addEventListener("dragend",r.onWindowDragEnd),v==null||v({event:s,node:In(l)})}),K(qe(r),"onNodeDragEnter",function(s,l){var u=r.state,c=u.expandedKeys,f=u.keyEntities,v=u.dragChildrenKeys,p=u.flattenNodes,b=u.indent,g=r.props,h=g.onDragEnter,y=g.onExpand,m=g.allowDrop,x=g.direction,C=l.pos,w=l.eventKey;if(r.currentMouseOverDroppableNodeKey!==w&&(r.currentMouseOverDroppableNodeKey=w),!r.dragNodeProps){r.resetDragState();return}var S=Og(s,r.dragNodeProps,l,b,r.dragStartMousePosition,m,p,f,c,x),k=S.dropPosition,E=S.dropLevelOffset,O=S.dropTargetKey,M=S.dropContainerKey,N=S.dropTargetPos,R=S.dropAllowed,A=S.dragOverNodeKey;if(v.includes(O)||!R){r.resetDragState();return}if(r.delayedDragEnterLogic||(r.delayedDragEnterLogic={}),Object.keys(r.delayedDragEnterLogic).forEach(function(I){clearTimeout(r.delayedDragEnterLogic[I])}),r.dragNodeProps.eventKey!==l.eventKey&&(s.persist(),r.delayedDragEnterLogic[C]=window.setTimeout(function(){if(r.state.draggingNodeKey!==null){var I=rt(c),P=ir(f,l.eventKey);P&&(P.children||[]).length&&(I=vo(c,l.eventKey)),r.props.hasOwnProperty("expandedKeys")||r.setExpandedKeys(I),y==null||y(I,{node:In(l),expanded:!0,nativeEvent:s.nativeEvent})}},800)),r.dragNodeProps.eventKey===O&&E===0){r.resetDragState();return}r.setState({dragOverNodeKey:A,dropPosition:k,dropLevelOffset:E,dropTargetKey:O,dropContainerKey:M,dropTargetPos:N,dropAllowed:R}),h==null||h({event:s,node:In(l),expandedKeys:c})}),K(qe(r),"onNodeDragOver",function(s,l){var u=r.state,c=u.dragChildrenKeys,f=u.flattenNodes,v=u.keyEntities,p=u.expandedKeys,b=u.indent,g=r.props,h=g.onDragOver,y=g.allowDrop,m=g.direction;if(r.dragNodeProps){var x=Og(s,r.dragNodeProps,l,b,r.dragStartMousePosition,y,f,v,p,m),C=x.dropPosition,w=x.dropLevelOffset,S=x.dropTargetKey,k=x.dropContainerKey,E=x.dropTargetPos,O=x.dropAllowed,M=x.dragOverNodeKey;c.includes(S)||!O||(r.dragNodeProps.eventKey===S&&w===0?r.state.dropPosition===null&&r.state.dropLevelOffset===null&&r.state.dropTargetKey===null&&r.state.dropContainerKey===null&&r.state.dropTargetPos===null&&r.state.dropAllowed===!1&&r.state.dragOverNodeKey===null||r.resetDragState():C===r.state.dropPosition&&w===r.state.dropLevelOffset&&S===r.state.dropTargetKey&&k===r.state.dropContainerKey&&E===r.state.dropTargetPos&&O===r.state.dropAllowed&&M===r.state.dragOverNodeKey||r.setState({dropPosition:C,dropLevelOffset:w,dropTargetKey:S,dropContainerKey:k,dropTargetPos:E,dropAllowed:O,dragOverNodeKey:M}),h==null||h({event:s,node:In(l)}))}}),K(qe(r),"onNodeDragLeave",function(s,l){r.currentMouseOverDroppableNodeKey===l.eventKey&&!s.currentTarget.contains(s.relatedTarget)&&(r.resetDragState(),r.currentMouseOverDroppableNodeKey=null);var u=r.props.onDragLeave;u==null||u({event:s,node:In(l)})}),K(qe(r),"onWindowDragEnd",function(s){r.onNodeDragEnd(s,null,!0),window.removeEventListener("dragend",r.onWindowDragEnd)}),K(qe(r),"onNodeDragEnd",function(s,l){var u=r.props.onDragEnd;r.setState({dragOverNodeKey:null}),r.cleanDragState(),u==null||u({event:s,node:In(l)}),r.dragNodeProps=null,window.removeEventListener("dragend",r.onWindowDragEnd)}),K(qe(r),"onNodeDrop",function(s,l){var u,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=r.state,v=f.dragChildrenKeys,p=f.dropPosition,b=f.dropTargetKey,g=f.dropTargetPos,h=f.dropAllowed;if(h){var y=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),b!==null){var m=re(re({},yi(b,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===b,data:ir(r.state.keyEntities,b).node}),x=v.includes(b);fn(!x,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var C=gm(g),w={event:s,node:In(m),dragNode:r.dragNodeProps?In(r.dragNodeProps):null,dragNodesKeys:[r.dragNodeProps.eventKey].concat(v),dropToGap:p!==0,dropPosition:p+Number(C[C.length-1])};c||(y==null||y(w)),r.dragNodeProps=null}}}),K(qe(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),K(qe(r),"triggerExpandActionExpand",function(s,l){var u=r.state,c=u.expandedKeys,f=u.flattenNodes,v=l.expanded,p=l.key,b=l.isLeaf;if(!(b||s.shiftKey||s.metaKey||s.ctrlKey)){var g=f.filter(function(y){return y.key===p})[0],h=In(re(re({},yi(p,r.getTreeNodeRequiredProps())),{},{data:g.data}));r.setExpandedKeys(v?Qr(c,p):vo(c,p)),r.onNodeExpand(s,h)}}),K(qe(r),"onNodeClick",function(s,l){var u=r.props,c=u.onClick,f=u.expandAction;f==="click"&&r.triggerExpandActionExpand(s,l),c==null||c(s,l)}),K(qe(r),"onNodeDoubleClick",function(s,l){var u=r.props,c=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&r.triggerExpandActionExpand(s,l),c==null||c(s,l)}),K(qe(r),"onNodeSelect",function(s,l){var u=r.state.selectedKeys,c=r.state,f=c.keyEntities,v=c.fieldNames,p=r.props,b=p.onSelect,g=p.multiple,h=l.selected,y=l[v.key],m=!h;m?g?u=vo(u,y):u=[y]:u=Qr(u,y);var x=u.map(function(C){var w=ir(f,C);return w?w.node:null}).filter(Boolean);r.setUncontrolledState({selectedKeys:u}),b==null||b(u,{event:"select",selected:m,node:l,selectedNodes:x,nativeEvent:s.nativeEvent})}),K(qe(r),"onNodeCheck",function(s,l,u){var c=r.state,f=c.keyEntities,v=c.checkedKeys,p=c.halfCheckedKeys,b=r.props,g=b.checkStrictly,h=b.onCheck,y=l.key,m,x={event:"check",node:l,checked:u,nativeEvent:s.nativeEvent};if(g){var C=u?vo(v,y):Qr(v,y),w=Qr(p,y);m={checked:C,halfChecked:w},x.checkedNodes=C.map(function(N){return ir(f,N)}).filter(Boolean).map(function(N){return N.node}),r.setUncontrolledState({checkedKeys:C})}else{var S=lu([].concat(rt(v),[y]),!0,f),k=S.checkedKeys,E=S.halfCheckedKeys;if(!u){var O=new Set(k);O.delete(y);var M=lu(Array.from(O),{halfCheckedKeys:E},f);k=M.checkedKeys,E=M.halfCheckedKeys}m=k,x.checkedNodes=[],x.checkedNodesPositions=[],x.halfCheckedKeys=E,k.forEach(function(N){var R=ir(f,N);if(R){var A=R.node,I=R.pos;x.checkedNodes.push(A),x.checkedNodesPositions.push({node:A,pos:I})}}),r.setUncontrolledState({checkedKeys:k},!1,{halfCheckedKeys:E})}h==null||h(m,x)}),K(qe(r),"onNodeLoad",function(s){var l,u=s.key,c=r.state.keyEntities,f=ir(c,u);if(!(f!=null&&(l=f.children)!==null&&l!==void 0&&l.length)){var v=new Promise(function(p,b){r.setState(function(g){var h=g.loadedKeys,y=h===void 0?[]:h,m=g.loadingKeys,x=m===void 0?[]:m,C=r.props,w=C.loadData,S=C.onLoad;if(!w||y.includes(u)||x.includes(u))return null;var k=w(s);return k.then(function(){var E=r.state.loadedKeys,O=vo(E,u);S==null||S(O,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:O}),r.setState(function(M){return{loadingKeys:Qr(M.loadingKeys,u)}}),p()}).catch(function(E){if(r.setState(function(M){return{loadingKeys:Qr(M.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=G$){var O=r.state.loadedKeys;fn(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:vo(O,u)}),p()}b(E)}),{loadingKeys:vo(x,u)}})});return v.catch(function(){}),v}}),K(qe(r),"onNodeMouseEnter",function(s,l){var u=r.props.onMouseEnter;u==null||u({event:s,node:l})}),K(qe(r),"onNodeMouseLeave",function(s,l){var u=r.props.onMouseLeave;u==null||u({event:s,node:l})}),K(qe(r),"onNodeContextMenu",function(s,l){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:l}))}),K(qe(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];s==null||s.apply(void 0,u)}),K(qe(r),"onBlur",function(){var s=r.props.onBlur;r.setState({focused:!1}),r.onActiveChange(null);for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];s==null||s.apply(void 0,u)}),K(qe(r),"getTreeNodeRequiredProps",function(){var s=r.state,l=s.expandedKeys,u=s.selectedKeys,c=s.loadedKeys,f=s.loadingKeys,v=s.checkedKeys,p=s.halfCheckedKeys,b=s.dragOverNodeKey,g=s.dropPosition,h=s.keyEntities;return{expandedKeys:l||[],selectedKeys:u||[],loadedKeys:c||[],loadingKeys:f||[],checkedKeys:v||[],halfCheckedKeys:p||[],dragOverNodeKey:b,dropPosition:g,keyEntities:h}}),K(qe(r),"setExpandedKeys",function(s){var l=r.state,u=l.treeData,c=l.fieldNames,f=iu(u,s,c);r.setUncontrolledState({expandedKeys:s,flattenNodes:f},!0)}),K(qe(r),"onNodeExpand",function(s,l){var u=r.state.expandedKeys,c=r.state,f=c.listChanging,v=c.fieldNames,p=r.props,b=p.onExpand,g=p.loadData,h=l.expanded,y=l[v.key];if(!f){var m=u.includes(y),x=!h;if(fn(h&&m||!h&&!m,"Expand state not sync with index check"),u=x?vo(u,y):Qr(u,y),r.setExpandedKeys(u),b==null||b(u,{node:l,expanded:x,nativeEvent:s.nativeEvent}),x&&g){var C=r.onNodeLoad(l);C&&C.then(function(){var w=iu(r.state.treeData,u,v);r.setUncontrolledState({flattenNodes:w})}).catch(function(){var w=r.state.expandedKeys,S=Qr(w,y);r.setExpandedKeys(S)})}}}),K(qe(r),"onListChangeStart",function(){r.setUncontrolledState({listChanging:!0})}),K(qe(r),"onListChangeEnd",function(){setTimeout(function(){r.setUncontrolledState({listChanging:!1})})}),K(qe(r),"onActiveChange",function(s){var l=r.state.activeKey,u=r.props,c=u.onActiveChange,f=u.itemScrollOffset,v=f===void 0?0:f;l!==s&&(r.setState({activeKey:s}),s!==null&&r.scrollTo({key:s,offset:v}),c==null||c(s))}),K(qe(r),"getActiveItem",function(){var s=r.state,l=s.activeKey,u=s.flattenNodes;return l===null?null:u.find(function(c){var f=c.key;return f===l})||null}),K(qe(r),"offsetActiveKey",function(s){var l=r.state,u=l.flattenNodes,c=l.activeKey,f=u.findIndex(function(b){var g=b.key;return g===c});f===-1&&s<0&&(f=u.length),f=(f+s+u.length)%u.length;var v=u[f];if(v){var p=v.key;r.onActiveChange(p)}else r.onActiveChange(null)}),K(qe(r),"onKeyDown",function(s){var l=r.state,u=l.activeKey,c=l.expandedKeys,f=l.checkedKeys,v=l.fieldNames,p=r.props,b=p.onKeyDown,g=p.checkable,h=p.selectable;switch(s.which){case Wn.UP:{r.offsetActiveKey(-1),s.preventDefault();break}case Wn.DOWN:{r.offsetActiveKey(1),s.preventDefault();break}}var y=r.getActiveItem();if(y&&y.data){var m=r.getTreeNodeRequiredProps(),x=y.data.isLeaf===!1||!!(y.data[v.children]||[]).length,C=In(re(re({},yi(u,m)),{},{data:y.data,active:!0}));switch(s.which){case Wn.LEFT:{x&&c.includes(u)?r.onNodeExpand({},C):y.parent&&r.onActiveChange(y.parent.key),s.preventDefault();break}case Wn.RIGHT:{x&&!c.includes(u)?r.onNodeExpand({},C):y.children&&y.children.length&&r.onActiveChange(y.children[0].key),s.preventDefault();break}case Wn.ENTER:case Wn.SPACE:{g&&!C.disabled&&C.checkable!==!1&&!C.disableCheckbox?r.onNodeCheck({},C,!f.includes(u)):!g&&h&&!C.disabled&&C.selectable!==!1&&r.onNodeSelect({},C);break}}}b==null||b(s)}),K(qe(r),"setUncontrolledState",function(s){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var c=!1,f=!0,v={};Object.keys(s).forEach(function(p){if(r.props.hasOwnProperty(p)){f=!1;return}c=!0,v[p]=s[p]}),c&&(!l||f)&&r.setState(re(re({},v),u))}}),K(qe(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return En(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var r=this.props,o=r.activeKey,a=r.itemScrollOffset,i=a===void 0?0:a;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:i}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var r=this.state,o=r.focused,a=r.flattenNodes,i=r.keyEntities,s=r.draggingNodeKey,l=r.activeKey,u=r.dropLevelOffset,c=r.dropContainerKey,f=r.dropTargetKey,v=r.dropPosition,p=r.dragOverNodeKey,b=r.indent,g=this.props,h=g.prefixCls,y=g.className,m=g.style,x=g.showLine,C=g.focusable,w=g.tabIndex,S=w===void 0?0:w,k=g.selectable,E=g.showIcon,O=g.icon,M=g.switcherIcon,N=g.draggable,R=g.checkable,A=g.checkStrictly,I=g.disabled,P=g.motion,D=g.loadData,j=g.filterTreeNode,$=g.height,z=g.itemHeight,L=g.scrollWidth,B=g.virtual,F=g.titleRender,H=g.dropIndicatorRender,W=g.onContextMenu,V=g.onScroll,_=g.direction,q=g.rootClassName,U=g.rootStyle,Q=Gy(this.props,{aria:!0,data:!0}),te;N&&(xt(N)==="object"?te=N:typeof N=="function"?te={nodeDraggable:N}:te={});var X={prefixCls:h,selectable:k,showIcon:E,icon:O,switcherIcon:M,draggable:te,draggingNodeKey:s,checkable:R,checkStrictly:A,disabled:I,keyEntities:i,dropLevelOffset:u,dropContainerKey:c,dropTargetKey:f,dropPosition:v,dragOverNodeKey:p,indent:b,direction:_,dropIndicatorRender:H,loadData:D,filterTreeNode:j,titleRender:F,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return d.createElement(vm.Provider,{value:X},d.createElement("div",{className:Qe(h,y,q,K(K(K({},"".concat(h,"-show-line"),x),"".concat(h,"-focused"),o),"".concat(h,"-active-focused"),l!==null)),style:U},d.createElement(q$,ht({ref:this.listRef,prefixCls:h,style:m,data:a,disabled:I,selectable:k,checkable:!!R,motion:P,dragging:s!==null,height:$,itemHeight:z,virtual:B,focusable:C,focused:o,tabIndex:S,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:W,onScroll:V,scrollWidth:L},this.getTreeNodeRequiredProps(),Q))))}}],[{key:"getDerivedStateFromProps",value:function(r,o){var a=o.prevProps,i={prevProps:r};function s(S){return!a&&r.hasOwnProperty(S)||a&&a[S]!==r[S]}var l,u=o.fieldNames;if(s("fieldNames")&&(u=Da(r.fieldNames),i.fieldNames=u),s("treeData")?l=r.treeData:s("children")&&(fn(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),l=ox(r.children)),l){i.treeData=l;var c=ax(l,{fieldNames:u});i.keyEntities=re(K({},Ko,px),c.keyEntities)}var f=i.keyEntities||o.keyEntities;if(s("expandedKeys")||a&&s("autoExpandParent"))i.expandedKeys=r.autoExpandParent||!a&&r.defaultExpandParent?Bd(r.expandedKeys,f):r.expandedKeys;else if(!a&&r.defaultExpandAll){var v=re({},f);delete v[Ko];var p=[];Object.keys(v).forEach(function(S){var k=v[S];k.children&&k.children.length&&p.push(k.key)}),i.expandedKeys=p}else!a&&r.defaultExpandedKeys&&(i.expandedKeys=r.autoExpandParent||r.defaultExpandParent?Bd(r.defaultExpandedKeys,f):r.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,l||i.expandedKeys){var b=iu(l||o.treeData,i.expandedKeys||o.expandedKeys,u);i.flattenNodes=b}if(r.selectable&&(s("selectedKeys")?i.selectedKeys=Pg(r.selectedKeys,r):!a&&r.defaultSelectedKeys&&(i.selectedKeys=Pg(r.defaultSelectedKeys,r))),r.checkable){var g;if(s("checkedKeys")?g=su(r.checkedKeys)||{}:!a&&r.defaultCheckedKeys?g=su(r.defaultCheckedKeys)||{}:l&&(g=su(r.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),g){var h=g,y=h.checkedKeys,m=y===void 0?[]:y,x=h.halfCheckedKeys,C=x===void 0?[]:x;if(!r.checkStrictly){var w=lu(m,!0,f);m=w.checkedKeys,C=w.halfCheckedKeys}i.checkedKeys=m,i.halfCheckedKeys=C}}return s("loadedKeys")&&(i.loadedKeys=r.loadedKeys),i}}]),n})(d.Component);K(hm,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:B$,allowDrop:function(){return!0},expandAction:!1});K(hm,"TreeNode",zi);const U$=({treeCls:e,treeNodeCls:t,directoryNodeSelectedBg:n,directoryNodeSelectedColor:r,motionDurationMid:o,borderRadius:a,controlItemBgHover:i})=>({[`${e}${e}-directory ${t}`]:{[`${e}-node-content-wrapper`]:{position:"static",[`&:has(${e}-drop-indicator)`]:{position:"relative"},[`> *:not(${e}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${o}`,content:'""',borderRadius:a},"&:hover:before":{background:i}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{background:n,borderRadius:a,[`${e}-switcher, ${e}-draggable-icon`]:{color:r},[`${e}-node-content-wrapper`]:{color:r,background:"transparent","&:before, &:hover:before":{background:n}}}}}),X$=new Jt("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Z$=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),Q$=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${bt(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),J$=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:o,titleHeight:a,indentSize:i,nodeSelectedBg:s,nodeHoverBg:l,colorTextQuaternary:u,controlItemBgActiveDisabled:c}=t;return{[n]:Object.assign(Object.assign({},Lo(t)),{"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${n}-active-focused)`]:rc(t),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:X$,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[r]:{display:"flex",alignItems:"flex-start",marginBottom:o,lineHeight:bt(a),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:o},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:c},[`${n}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:a,textAlign:"center",visibility:"visible",color:u},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:"hidden"}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(a).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:Object.assign(Object.assign({},Z$(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:a,height:a,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(a).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(a).div(2).equal()).mul(.8).equal(),height:t.calc(a).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:a,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},Q$(e,t)),{"&:hover":{backgroundColor:l},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:s},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(a).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${bt(t.calc(a).div(2).equal())} !important`}})}},_$=(e,t,n=!0)=>{const r=`.${e}`,o=`${r}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),i=cr(t,{treeCls:r,treeNodeCls:o,treeNodePadding:a});return[J$(e,i),n&&U$(i)].filter(Boolean)},eF=e=>{const{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,o=t;return{titleHeight:o,indentSize:o,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},tF=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},eF(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},nF=lo("Tree",(e,{prefixCls:t})=>[{[e.componentCls]:lx(`${t}-checkbox`,e)},_$(t,e),l1(e)],tF),Fg=4;function rF(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:o,direction:a="ltr"}=e,i=a==="ltr"?"left":"right",s=a==="ltr"?"right":"left",l={[i]:-n*o+Fg,[s]:0};switch(t){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[i]=o+Fg;break}return ue.createElement("div",{style:l,className:`${r}-drop-indicator`})}const oF=e=>{var t,n;const{prefixCls:r,switcherIcon:o,treeNodeProps:a,showLine:i,switcherLoadingIcon:s}=e,{isLeaf:l,expanded:u,loading:c}=a;if(c)return d.isValidElement(s)?s:d.createElement(Zy,{className:`${r}-switcher-loading-icon`});let f;if(i&&typeof i=="object"&&(f=i.showLeafIcon),l){if(!i)return null;if(typeof f!="boolean"&&f){const b=typeof f=="function"?f(a):f,g=`${r}-switcher-line-custom-icon`;return d.isValidElement(b)?ao(b,{className:Qe((t=b.props)===null||t===void 0?void 0:t.className,g)}):b}return f?d.createElement(fx,{className:`${r}-switcher-line-icon`}):d.createElement("span",{className:`${r}-switcher-leaf-line`})}const v=`${r}-switcher-icon`,p=typeof o=="function"?o(a):o;return d.isValidElement(p)?ao(p,{className:Qe((n=p.props)===null||n===void 0?void 0:n.className,v)}):p!==void 0?p:i?u?d.createElement(I$,{className:`${r}-switcher-line-icon`}):d.createElement(O$,{className:`${r}-switcher-line-icon`}):d.createElement(f$,{className:v})},vx=ue.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:o,virtual:a,tree:i}=ue.useContext(Rn),{prefixCls:s,className:l,showIcon:u=!1,showLine:c,switcherIcon:f,switcherLoadingIcon:v,blockNode:p=!1,children:b,checkable:g=!1,selectable:h=!0,draggable:y,motion:m,style:x}=e,C=r("tree",s),w=r(),S=m??Object.assign(Object.assign({},e1(w)),{motionAppear:!1}),k=Object.assign(Object.assign({},e),{checkable:g,selectable:h,showIcon:u,motion:S,blockNode:p,showLine:!!c,dropIndicatorRender:rF}),[E,O,M]=nF(C),[,N]=Zr(),R=N.paddingXS/2+(((n=N.Tree)===null||n===void 0?void 0:n.titleHeight)||N.controlHeightSM),A=ue.useMemo(()=>{if(!y)return!1;let P={};switch(typeof y){case"function":P.nodeDraggable=y;break;case"object":P=Object.assign({},y);break}return P.icon!==!1&&(P.icon=P.icon||ue.createElement(S$,null)),P},[y]),I=P=>ue.createElement(oF,{prefixCls:C,switcherIcon:f,switcherLoadingIcon:v,treeNodeProps:P,showLine:c});return E(ue.createElement(hm,Object.assign({itemHeight:R,ref:t,virtual:a},k,{style:Object.assign(Object.assign({},i==null?void 0:i.style),x),prefixCls:C,className:Qe({[`${C}-icon-hide`]:!u,[`${C}-block-node`]:p,[`${C}-unselectable`]:!h,[`${C}-rtl`]:o==="rtl"},i==null?void 0:i.className,l,O,M),direction:o,checkable:g&&ue.createElement("span",{className:`${C}-checkbox-inner`}),selectable:h,switcherIcon:I,draggable:A}),b))}),Tg=0,cu=1,Bg=2;function bm(e,t,n){const{key:r,children:o}=n;function a(i){const s=i[r],l=i[o];t(s,i)!==!1&&bm(l||[],t,n)}e.forEach(a)}function aF({treeData:e,expandedKeys:t,startKey:n,endKey:r,fieldNames:o}){const a=[];let i=Tg;if(n&&n===r)return[n];if(!n||!r)return[];function s(l){return l===n||l===r}return bm(e,l=>{if(i===Bg)return!1;if(s(l)){if(a.push(l),i===Tg)i=cu;else if(i===cu)return i=Bg,!1}else i===cu&&a.push(l);return t.includes(l)},Da(o)),a}function uu(e,t,n){const r=rt(t),o=[];return bm(e,(a,i)=>{const s=r.indexOf(a);return s!==-1&&(o.push(i),r.splice(s,1)),!!r.length},Da(n)),o}var zg=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function iF(e){const{isLeaf:t,expanded:n}=e;return t?d.createElement(fx,null):n?d.createElement(h$,null):d.createElement(x$,null)}function Hg({treeData:e,children:t}){return e||ox(t)}const lF=(e,t)=>{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:o}=e,a=zg(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const i=d.useRef(null),s=d.useRef(null),l=()=>{const{keyEntities:E}=ax(Hg(a));let O;return n?O=Object.keys(E):r?O=Bd(a.expandedKeys||o||[],E):O=a.expandedKeys||o||[],O},[u,c]=d.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[f,v]=d.useState(()=>l());d.useEffect(()=>{"selectedKeys"in a&&c(a.selectedKeys)},[a.selectedKeys]),d.useEffect(()=>{"expandedKeys"in a&&v(a.expandedKeys)},[a.expandedKeys]);const p=(E,O)=>{var M;return"expandedKeys"in a||v(E),(M=a.onExpand)===null||M===void 0?void 0:M.call(a,E,O)},b=(E,O)=>{var M;const{multiple:N,fieldNames:R}=a,{node:A,nativeEvent:I}=O,{key:P=""}=A,D=Hg(a),j=Object.assign(Object.assign({},O),{selected:!0}),$=(I==null?void 0:I.ctrlKey)||(I==null?void 0:I.metaKey),z=I==null?void 0:I.shiftKey;let L;N&&$?(L=E,i.current=P,s.current=L,j.selectedNodes=uu(D,L,R)):N&&z?(L=Array.from(new Set([].concat(rt(s.current||[]),rt(aF({treeData:D,expandedKeys:f,startKey:P,endKey:i.current,fieldNames:R}))))),j.selectedNodes=uu(D,L,R)):(L=[P],i.current=P,s.current=L,j.selectedNodes=uu(D,L,R)),(M=a.onSelect)===null||M===void 0||M.call(a,L,j),"selectedKeys"in a||c(L)},{getPrefixCls:g,direction:h}=d.useContext(Rn),{prefixCls:y,className:m,showIcon:x=!0,expandAction:C="click"}=a,w=zg(a,["prefixCls","className","showIcon","expandAction"]),S=g("tree",y),k=Qe(`${S}-directory`,{[`${S}-directory-rtl`]:h==="rtl"},m);return d.createElement(vx,Object.assign({icon:iF,ref:t,blockNode:!0},w,{showIcon:x,expandAction:C,prefixCls:S,className:k,expandedKeys:f,selectedKeys:u,onSelect:b,onExpand:p}))},sF=d.forwardRef(lF),ym=vx;ym.DirectoryTree=sF;ym.TreeNode=zi;const cF=({views:e,activeId:t,onSelect:n,theme:r})=>{const o=a=>a.map(i=>{if(i.children){const l=Array.isArray(i.children)?i.children:Object.values(i.children);if(l.length>0)return G.jsx(dx,{menu:{items:l.map(u=>{if(u.children){const c=Array.isArray(u.children)?u.children:Object.values(u.children);if(c.length>0)return{key:u.id,label:u.label,children:c.map(f=>{if(f.children){const v=Array.isArray(f.children)?f.children:Object.values(f.children);if(v.length>0)return{key:f.id,label:f.label,children:o(v)}}return{key:f.id,label:G.jsx("span",{onClick:()=>n(f),children:f.label})}})}}return{key:u.id,label:G.jsx("span",{onClick:()=>n(u),children:u.label})}})},trigger:["hover"],children:G.jsx("span",{className:"px-2 cursor-pointer select-none",style:{color:r==null?void 0:r.colors.text,borderRadius:r==null?void 0:r.space.radius,fontWeight:500,fontSize:15,marginRight:8,padding:"6px 16px",transition:"background 0.2s, color 0.2s"},children:i.label})},i.id)}const s=t===i.id;return G.jsxs("span",{className:`tab-item py-1 mx-1 cursor-pointer transition select-none${s?" active":""}`,style:{color:s?r==null?void 0:r.colors.primary:r==null?void 0:r.colors.disabled,fontWeight:500,fontSize:15,marginRight:8,background:"transparent",borderRadius:0,position:"relative",transition:"color 0.2s"},onClick:()=>n(i),children:[i.label,G.jsx("style",{children:`
|
|
1469
|
-
.tab-item {
|
|
1470
|
-
color: ${r==null?void 0:r.colors.disabled};
|
|
1471
|
-
transition: color 0.2s;
|
|
1472
|
-
}
|
|
1473
|
-
.tab-item:hover {
|
|
1474
|
-
color: ${r==null?void 0:r.colors.text};
|
|
1475
|
-
}
|
|
1476
|
-
.tab-item.active {
|
|
1477
|
-
color: ${r==null?void 0:r.colors.primary};
|
|
1478
|
-
}
|
|
1479
|
-
.tab-item::after {
|
|
1480
|
-
content: '';
|
|
1481
|
-
display: block;
|
|
1482
|
-
position: absolute;
|
|
1483
|
-
left: 0; right: 0; bottom: -2px;
|
|
1484
|
-
height: 2px;
|
|
1485
|
-
background: ${r==null?void 0:r.colors.primary};
|
|
1486
|
-
border-radius: 1px;
|
|
1487
|
-
transform: scaleX(0);
|
|
1488
|
-
transition: transform 0.28s cubic-bezier(.4,0,.2,1);
|
|
1489
|
-
z-index: 1;
|
|
1490
|
-
}
|
|
1491
|
-
.tab-item.active::after {
|
|
1492
|
-
transform: scaleX(1);
|
|
1493
|
-
}
|
|
1494
|
-
`})]},i.id)});return G.jsx(G.Fragment,{children:o(e)})},uF=Vn.div`
|
|
1495
|
-
display: flex;
|
|
1496
|
-
align-items: center;
|
|
1497
|
-
padding: 8px 12px;
|
|
1498
|
-
margin: 2px 0;
|
|
1499
|
-
|
|
1500
|
-
position: relative;
|
|
1501
|
-
border-radius: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.space)==null?void 0:n.radius)||"8px"}};
|
|
1502
|
-
transition: all 0.3s ease;
|
|
1503
|
-
cursor: pointer;
|
|
1504
|
-
|
|
1505
|
-
/* 动态层级宽度和缩进计算 */
|
|
1506
|
-
|
|
1507
|
-
padding-left: ${e=>6+e.$level*16}px;
|
|
1508
|
-
margin-left: ${e=>e.$level*16}px;
|
|
1509
|
-
box-sizing: border-box;
|
|
1510
|
-
|
|
1511
|
-
/* 激活状态样式 */
|
|
1512
|
-
background: ${e=>{var t,n;return e.$isActive?((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveBackground)||"linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%)":"transparent"}};
|
|
1513
|
-
color: ${e=>{var t,n,r,o,a,i;return e.$isActive?((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveText)||((o=(r=e.theme)==null?void 0:r.colors)==null?void 0:o.primary):(i=(a=e.theme)==null?void 0:a.colors)==null?void 0:i.text}};
|
|
1514
|
-
border: ${e=>{var t,n;return e.$isActive?`1px solid ${((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveBorder)||"rgba(59, 130, 246, 0.2)"}`:"1px solid transparent"}};
|
|
1515
|
-
box-shadow: ${e=>e.$isActive?"0 2px 8px rgba(59, 130, 246, 0.15)":"none"};
|
|
1516
|
-
|
|
1517
|
-
&:hover {
|
|
1518
|
-
transform: translateX(2px);
|
|
1519
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
1520
|
-
}
|
|
1521
|
-
`,dF=Vn.div`
|
|
1522
|
-
position: absolute;
|
|
1523
|
-
left: 0;
|
|
1524
|
-
top: 0;
|
|
1525
|
-
bottom: 0;
|
|
1526
|
-
width: 3px;
|
|
1527
|
-
background: ${e=>{var t,n,r,o;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveIndicator)||((o=(r=e.theme)==null?void 0:r.colors)==null?void 0:o.primary)}};
|
|
1528
|
-
border-radius: 0 2px 2px 0;
|
|
1529
|
-
z-index: 10;
|
|
1530
|
-
`,fF=Vn.div`
|
|
1531
|
-
width: 16px;
|
|
1532
|
-
height: 16px;
|
|
1533
|
-
margin-right: 8px;
|
|
1534
|
-
display: flex;
|
|
1535
|
-
align-items: center;
|
|
1536
|
-
justify-content: center;
|
|
1537
|
-
flex-shrink: 0;
|
|
1538
|
-
color: ${e=>{var t,n,r,o,a,i,s,l;return e.$hasChildren?e.$isActive?((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveIcon)||((o=(r=e.theme)==null?void 0:r.colors)==null?void 0:o.primary):((i=(a=e.theme)==null?void 0:a.colors)==null?void 0:i.navIcon)||((l=(s=e.theme)==null?void 0:s.colors)==null?void 0:l.textSecondary):"transparent"}};
|
|
1539
|
-
opacity: 0.7;
|
|
1540
|
-
transition: all 0.2s ease;
|
|
1541
|
-
|
|
1542
|
-
&:hover {
|
|
1543
|
-
opacity: 1;
|
|
1544
|
-
transform: scale(1.1);
|
|
1545
|
-
}
|
|
1546
|
-
`,mF=Vn.div`
|
|
1547
|
-
width: 20px;
|
|
1548
|
-
height: 20px;
|
|
1549
|
-
margin-right: 12px;
|
|
1550
|
-
display: flex;
|
|
1551
|
-
align-items: center;
|
|
1552
|
-
justify-content: center;
|
|
1553
|
-
flex-shrink: 0;
|
|
1554
|
-
`,pF=Vn.span`
|
|
1555
|
-
flex: 1;
|
|
1556
|
-
min-width: 0;
|
|
1557
|
-
font-weight: 500;
|
|
1558
|
-
font-size: 14px;
|
|
1559
|
-
line-height: 1.4;
|
|
1560
|
-
|
|
1561
|
-
/* 多行省略号 */
|
|
1562
|
-
display: -webkit-box;
|
|
1563
|
-
-webkit-box-orient: vertical;
|
|
1564
|
-
-webkit-line-clamp: ${e=>e.$maxLines||1};
|
|
1565
|
-
overflow: hidden;
|
|
1566
|
-
text-overflow: ellipsis;
|
|
1567
|
-
`,vF=Vn.span`
|
|
1568
|
-
margin-left: auto;
|
|
1569
|
-
flex-shrink: 0;
|
|
1570
|
-
padding: 2px 8px;
|
|
1571
|
-
font-size: 12px;
|
|
1572
|
-
border-radius: 9999px;
|
|
1573
|
-
background: ${e=>{var t,n,r,o;return e.$isActive?((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveCountBackground)||"rgba(59, 130, 246, 0.2)":((o=(r=e.theme)==null?void 0:r.colors)==null?void 0:o.navCountBackground)||"rgba(156, 163, 175, 0.1)"}};
|
|
1574
|
-
color: ${e=>{var t,n,r,o,a,i,s,l;return e.$isActive?((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveCountText)||((o=(r=e.theme)==null?void 0:r.colors)==null?void 0:o.primary):((i=(a=e.theme)==null?void 0:a.colors)==null?void 0:i.navCountText)||((l=(s=e.theme)==null?void 0:s.colors)==null?void 0:l.textSecondary)}};
|
|
1575
|
-
border: 1px solid
|
|
1576
|
-
${e=>{var t,n,r,o;return e.$isActive?((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.navActiveCountBorder)||"rgba(59, 130, 246, 0.3)":((o=(r=e.theme)==null?void 0:r.colors)==null?void 0:o.navCountBorder)||"rgba(156, 163, 175, 0.2)"}};
|
|
1577
|
-
`,gx=(e,t,n=0)=>{for(const r of e){if(r.id===t)return n;if(r.children){const o=Array.isArray(r.children)?r.children:Object.values(r.children),a=gx(o,t,n+1);if(a!==-1)return a}}return-1},hx=ue.memo(({views:e,activeId:t,onSelect:n,theme:r,modelStyle:o,label:a,activableParentNode:i=!1})=>{console.log("[TreeComponent] render with activeId:",t);const s=Mn(()=>II(e),[e]),[l,u]=Rt(()=>s.map(f=>f.key)),c=o===ma.NAV;return G.jsxs("div",{className:`${c?"w-[260px]":"w-[280px]"} border-r`,style:{background:c&&(r==null?void 0:r.colors.navBackground)||(r==null?void 0:r.colors.background),borderRight:`1px solid ${r==null?void 0:r.colors.border}`,borderRadius:c?0:r==null?void 0:r.space.radius,boxShadow:c?"none":r==null?void 0:r.colors.shadow,position:"relative"},children:[c&&G.jsx("div",{className:"px-4 py-3 border-b",style:{borderColor:r==null?void 0:r.colors.border,background:(r==null?void 0:r.colors.navHeaderBackground)||(r==null?void 0:r.colors.primary),color:(r==null?void 0:r.colors.navHeaderText)||"#fff",minHeight:"60px"},children:G.jsxs("div",{className:"flex items-center justify-between mb-3",children:[G.jsx("h3",{className:"text-sm font-semibold tracking-wide uppercase",children:a||"Navigation"}),G.jsxs("div",{className:"flex items-center space-x-2",children:[G.jsx("div",{className:"w-2 h-2 rounded-full bg-green-400 animate-pulse"}),G.jsx("span",{className:"text-xs opacity-75",children:"Active"})]})]})}),G.jsx("div",{className:`${c?"px-2 py-2 nav-tree-container":"px-0"}`,style:{height:c?"calc(100% - 60px)":"100%",overflowY:"auto"},children:G.jsx(ym,{treeData:s,selectedKeys:[t],expandedKeys:l,onExpand:f=>u(f),onSelect:f=>{const v=f[0],p=kr(e,v);if(!p)return;console.log("[TreeComponent] onSelect triggered:",{id:v,node:p});let b=[];if(p.children&&(b=Array.isArray(p.children)?p.children:Object.values(p.children)),console.log("[TreeComponent] Children array:",b),b.length>0&&!i){const g=l.includes(v)?l.filter(h=>h!==v):[...l,v];u(g)}else n(p)},defaultExpandAll:!c,showLine:!c,showIcon:!1,switcherIcon:null,className:c?"nav-tree":"",style:{background:"transparent",padding:c?"0":"0 3px",height:"100%",fontSize:c?"14px":"inherit"},...c&&{titleRender:f=>{const v=t===f.key,p=f.children&&f.children.length>0,b=l.includes(f.key),g=gx(e,f.key);return G.jsxs(uF,{$isActive:v,$level:g,$hasChildren:p,theme:r,children:[v&&G.jsx(dF,{theme:r}),G.jsx(fF,{$hasChildren:p,$isActive:v,theme:r,onClick:h=>{if(h.stopPropagation(),p){const y=f.key,m=l.includes(y)?l.filter(x=>x!==y):[...l,y];u(m)}},children:p&&G.jsx(FM,{className:`w-3 h-3 transition-transform duration-200 ${b?"rotate-90":""}`})}),f.icon&&G.jsx(mF,{children:f.icon}),G.jsx(pF,{$maxLines:2,children:f.title}),p&&G.jsx(vF,{$isActive:v,theme:r,children:f.children.length})]})}}})})]})},(e,t)=>{const n=e.activeId!==t.activeId||e.views!==t.views||e.modelStyle!==t.modelStyle||e.label!==t.label;return console.log("[TreeComponent] memo comparison:",{prevActiveId:e.activeId,nextActiveId:t.activeId,shouldUpdate:n}),!n});hx.displayName="TreeComponent";const fa=52,kF=ue.forwardRef(({label:e,model:t=null,views:n,defaultActiveId:r,dataSource:o,eventsEmit:a,styles:i,status:s={app:"ready",container:"ready",content:"ready"},CustomComponents:l,subTablePendingIds:u,onSubTableRowAnimationComplete:c,modelStyle:f,subTableConfig:v,...p},b)=>{const g={colors:{primary:"#007bff",secondary:"#6c757d",success:"#008000",warning:"#FFA500",error:"#FF0000",info:"#0000FF",background:"#f8f9fa",text:"#343a40",border:"#dee2e6",disabled:"#808080",disabledBackground:"#F5F5F5",disabledText:"#808080",shadow:"#000000",appBackground:"transparent",dashboardBackground:"#ffffff",listBackground:"#ffffff"},space:{sidebar:"md",size:"md",radius:"8px",padding:"16px",margin:"16px",shadow:"0 2px 8px rgba(0,0,0,0.1)",lineHeight:"md"},icons:{aiAvatar:"",userAvatar:""},others:{}},h=((T,Z)=>{if(!T)return Z;const J={...Z};return T.colors&&(J.colors={...J.colors,...T.colors}),T.space&&(J.space={...J.space,...T.space}),T.icons&&(J.icons={...J.icons,...T.icons}),T.others&&(J.others={...J.others,...T.others}),J})(i==null?void 0:i.theme,g),[y,m]=Rt(()=>{const T=r||Nu(n)||"";if(!(p!=null&&p.activable_parentNode)){const Z=kr(n,T);if(Z&&Z.children&&(Array.isArray(Z.children)?Z.children.length:Object.keys(Z.children).length))return Nu(n)||""}return T||"form-view"}),x=at(y);x.current=y;const C=Pt(T=>kr(n,T),[n]);Mn(()=>{var T;return((T=kr(n,y))==null?void 0:T.type)==="customized"?void 0:o},[n,y,o]),Mn(()=>{var T;return(T=kr(n,y))==null?void 0:T.type},[n,y]);const{innerData:w,setInnerData:S,pendingIds:k,setPendingIds:E,addingIds:O,setAddingIds:M,fuzzyValue:N,setFuzzyValue:R,selectedIds:A,setSelectedIds:I,resetStateOnNodeChange:P}=OI(Mn(()=>{var T;return((T=kr(n,y))==null?void 0:T.type)==="customized"?void 0:o},[n,y,o]),Mn(()=>{var T;return(T=kr(n,y))==null?void 0:T.type},[n,y])),D=Mn(()=>{if(!N.trim())return w;const T=kr(n,y);if(!(T!=null&&T.toolbar))return w;const Z=T.toolbar.find(ae=>ae.type==="fuzzy_search");if(!Z)return w;const J=Z.searchKeys||["name","description"],ne=N.trim().toLowerCase();return T.type==="card"?w.filter(ae=>J.some(le=>typeof le=="string"?(ae[le]||"").toString().toLowerCase().includes(ne):!1)):T.type==="table"?w.map(ae=>{if(!ae.data||!Array.isArray(ae.data))return null;const le=ae.data.some(Se=>J.some(oe=>typeof oe=="string"&&oe&&Se.columnId===oe?(Se.value??"").toString().toLowerCase().includes(ne):!1)),be=J.some(Se=>Array.isArray(Se));let Ce=!1,de=ae.children;if(be){const Se=J.filter(Array.isArray).flat();ae.children&&Array.isArray(ae.children)&&Se.length>0&&(Ce=ae.children.some(oe=>Array.isArray(oe==null?void 0:oe.data)?oe.data.some(se=>Se.includes(se.columnId)?(se.value??"").toString().toLowerCase().includes(ne):!1):!1),Ce&&(de=ae.children.filter(oe=>Array.isArray(oe==null?void 0:oe.data)?oe.data.some(se=>Se.includes(se.columnId)?(se.value??"").toString().toLowerCase().includes(ne):!1):!1)))}return le||Ce?le&&!Ce?{...ae,__autoExpand:!1}:Ce?{...ae,__autoExpand:!0,children:de}:{...ae}:null}).filter(Boolean):w},[w,N,n,y]);Yt(()=>{y&&y!==""&&P()},[y,P]);const j=Pt(T=>{T!==x.current&&(m(T),P())},[P]),$=PI(S,T=>E(Z=>new Set(Z).add(T)),T=>E(Z=>{const J=new Set(Z);return J.delete(T),J}),T=>M(Z=>new Set(Z).add(T)),T=>M(Z=>{const J=new Set(Z);return J.delete(T),J}),k,O),z=Mn(()=>({...$,isPending:T=>k.has(T),isAdding:T=>O.has(T)}),[$,k,O]);Yo(b,()=>({appFn:z,getActiveNode:()=>C(y),getCurrentData:()=>D,setCurrentData:S,getCurrentStatus:()=>s}),[z,y,D,s]);const L=Pt(T=>{T&&T!==x.current&&j(T)},[j]);Yt(()=>{r&&r!==y&&L(r)},[r,L]);const B=Pt((T,Z,J)=>{if(T==="_internal:subtable_animation_complete"){const{rowId:ne,tableId:ae}=Z;z.removeSubTableRow(ne,ae);return}T.startsWith("form:"),a==null||a(T,Z,z)},[a,z]),F=T=>{const Z=p==null?void 0:p.activable_parentNode,J=!!(T&&T.children&&(Array.isArray(T.children)?T.children.length:Object.keys(T.children).length));!Z&&J||T.type&&(j(T.id),B("select",{id:T.id,type:T.type}))},H=(T,Z)=>{B(T,Z)},W=(T,Z)=>{I(J=>{let ne;Z?ne=[...J,T]:ne=J.filter(le=>le!==T);const ae=D.filter(le=>ne.includes(le.id));return a==null||a("card_select",{selectedIds:ne,selectedItems:ae},z),ne})},V=T=>{B("card_delete",{id:T})},_=T=>{B("cards_delete",{ids:T})},q=T=>{S(Z=>Z.filter(J=>Array.isArray(T)?!T.includes(J.id):J.id!==T)),Array.isArray(T)?T.forEach(Z=>E(J=>{const ne=new Set(J);return ne.delete(Z),ne})):E(Z=>{const J=new Set(Z);return J.delete(T),J})},U=T=>{S(Z=>Z.map(J=>J.id===T?{...J,adding:!1}:J)),M(Z=>{const J=new Set(Z);return J.delete(T),J})},Q=T=>{S(Z=>Z.map(J=>J.id===T?{...J,adding:!1}:J)),M(Z=>{const J=new Set(Z);return J.delete(T),J})},te=Pt(T=>!(T!=null&&T.toolbar)||T.toolbar.length===0?null:G.jsx("div",{style:{height:fa,minHeight:fa,maxHeight:fa,display:"flex",alignItems:"center",gap:8,zIndex:2,padding:"0 16px"},children:G.jsx(qM,{activeNode:T,fuzzyValue:N,onFuzzyValueChange:R,onToolbarAction:H,styles:i})}),[N,R,H,i]),X=Pt(T=>(T==null?void 0:T.type)==="customized"&&o&&ue.isValidElement(o)?o:G.jsx(Bb,{activeNode:T,innerData:D,fuzzyValue:N,selectedIds:A,pendingIds:k,addingIds:O,onCardSelectChange:W,onCardAnimationComplete:q,onRemoveCard:V,onRemoveCards:_,onCardAddAnimationComplete:U,onTableRowAnimationComplete:Z=>{S(J=>J.filter(ne=>ne.id!==Z)),E(J=>{const ne=new Set(J);return ne.delete(Z),ne})},onTableRowAddAnimationComplete:Q,onEventsEmit:B,styles:i,CustomComponents:l,subTablePendingIds:u,onSubTableRowAnimationComplete:c,subTableConfig:v,viewId:y,total:T==null?void 0:T.total,requestPagesize:T==null?void 0:T.requestPagesize,viewPageSize:T==null?void 0:T.viewPageSize}),[o,D,N,A,k,O,W,q,V,_,U,Q,B,i,l,u,c,v,y]),Y=Pt(T=>{const Z=s[T];if(Z==="loading"){const J=(l==null?void 0:l[`${T==="container"?"Container":"Content"}Loading`])||(T==="container"?CI:SI);return G.jsx(J,{})}if(Z==="error"){const J=(l==null?void 0:l[`${T==="container"?"Container":"Content"}Error`])||(T==="container"?wI:EI);return G.jsx(J,{})}return null},[s,l]);if(s.app==="initializing")return l!=null&&l.AppLoading?G.jsx(l.AppLoading,{}):G.jsx(yI,{});if(s.app==="error")return l!=null&&l.AppError?G.jsx(l.AppError,{}):G.jsx(xI,{});if(t===null){const T=C(y),Z=(T==null?void 0:T.toolbar)&&T.toolbar.length>0;return G.jsxs("div",{className:"w-full h-full flex flex-col",style:{background:h==null?void 0:h.colors.appBackground,color:h==null?void 0:h.colors.text},...p,children:[te(T),G.jsx("div",{className:"flex-1 overflow-auto pt-3",style:{borderRadius:h==null?void 0:h.space.radius,padding:h==null?void 0:h.space.padding,position:"relative",boxShadow:"0 2px 16px 0 rgba(31, 41, 55, 0.08), 0 1.5px 4px 0 rgba(31, 41, 55, 0.04)",height:`calc(100% - ${Z?fa:0}px)`},children:Y("container")||Y("content")||X(T)})]})}if(t==="tree"){const T=kr(n,y),Z=(T==null?void 0:T.toolbar)&&T.toolbar.length>0,J=()=>{const ne=f||ma.NAV;let ae;switch(ne){case ma.NAV:ae="calc(100vw - 260px - 32px)";break;case ma.FLAT:ae="calc(100vw - 280px - 40px)";break;default:ae="calc(100vw - 260px - 32px)";break}return ae};return G.jsxs("div",{className:"flex w-full h-full relative",style:{background:h==null?void 0:h.colors.appBackground,color:h==null?void 0:h.colors.text},...p,children:[G.jsx(hx,{views:n,activeId:y,onSelect:F,theme:h,modelStyle:f||ma.NAV,label:e||"Navigation",activableParentNode:p==null?void 0:p.activable_parentNode}),G.jsxs("div",{className:`flex-1 tree-content-area tree-content-${f||"nav"}`,style:{borderRadius:h==null?void 0:h.space.radius,boxShadow:h==null?void 0:h.colors.shadow,padding:h==null?void 0:h.space.padding,width:J(),maxWidth:J(),overflowX:"auto",minWidth:0,height:"100%",minHeight:320,display:"flex",flexDirection:"column"},children:[te(T),G.jsx("div",{style:{height:`calc(100% - ${Z?fa:0}px)`},children:Y("container")||Y("content")||X(T)})]})]})}if(t==="tabs"){const T=kr(n,y),Z=(T==null?void 0:T.toolbar)&&T.toolbar.length>0;return G.jsxs("div",{className:`w-full h-full flex flex-col ${(i==null?void 0:i.root)||""}`,style:{background:"transparent",color:h==null?void 0:h.colors.text},...p,children:[G.jsxs("div",{className:"px-3 flex items-end border-b border-b-gray-100 gap-x-3",style:{borderColor:h==null?void 0:h.colors.border,background:"transparent",minHeight:48,paddingBottom:2},children:[e&&G.jsx("span",{className:"font-bold mr-4",style:{fontSize:18,color:h==null?void 0:h.colors.primary},children:e}),G.jsx(cF,{views:n,activeId:y,onSelect:F,theme:h})]}),G.jsxs("div",{className:"flex-1 overflow-auto relative p-2 pt-0",style:{background:(h==null?void 0:h.colors.dashboardBackground)||(h==null?void 0:h.colors.background)||"transparent",borderRadius:h==null?void 0:h.space.radius,boxShadow:h==null?void 0:h.colors.shadow},children:[te(T),G.jsx("div",{style:{background:(h==null?void 0:h.colors.listBackground)||(h==null?void 0:h.colors.background)||"transparent",height:`calc(100% - ${Z?fa+10:0}px)`},children:Y("container")||Y("content")||X(T)})]})]})}return null});export{Ph as C,Aw as D,SF as F,ba as J,Eu as S,_r as a,wF as i,kF as k};
|