@gientech/modual 1.8.5 → 1.8.6-fix1

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.
Files changed (45) hide show
  1. package/README.md +643 -643
  2. package/assets/EyeOutlined-DdyN56qp.js +235 -0
  3. package/assets/{GientechStreamReader-C7an1QrK.js → GientechStreamReader-C6V7hB3R.js} +2 -2
  4. package/assets/database.svg +11 -11
  5. package/assets/database_add.svg +53 -53
  6. package/assets/database_connect.svg +66 -66
  7. package/assets/database_upload.svg +29 -29
  8. package/assets/databse.svg +6 -6
  9. package/assets/defaultWeLogo.svg +14 -14
  10. package/assets/graph.svg +4 -4
  11. package/assets/index-BA909cu5.js +7 -0
  12. package/assets/index-Ba8yNM_m.js +1859 -0
  13. package/assets/index-C6U-beTf.js +1 -0
  14. package/assets/index-CGkdAb5z.js +1093 -0
  15. package/assets/index-CHM5080I.js +1 -0
  16. package/assets/{index-8usKJjKH.js → index-CdABwiUV.js} +2 -2
  17. package/assets/{index-tplNfcnA.js → index-DVUhz1-T.js} +3 -3
  18. package/assets/index-RiMZym1k.js +1 -0
  19. package/assets/{index-Di5Ga230.js → index-VMH3h1RB.js} +3 -3
  20. package/assets/knowledge.svg +4 -4
  21. package/assets/{MySQL.svg → mysql.svg} +14 -14
  22. package/assets/{plus-Dbo_i_9Z.js → plus-URwrOfgp.js} +1 -1
  23. package/assets/sensitive.svg +5 -5
  24. package/assets/style-0wKQlYgL.js +66 -0
  25. package/assets/style.css +1 -1
  26. package/assets/{x-C7NWGGXn.js → x-DJ7I9-U1.js} +1 -1
  27. package/assistantConfig.js +1 -1
  28. package/chat.js +19 -19
  29. package/database.js +2 -2
  30. package/databaseId.js +1 -1
  31. package/databaseTable.js +2 -2
  32. package/index.js +1 -1
  33. package/modelManage.js +1 -1
  34. package/package.json +6 -6
  35. package/sensitive.js +1 -1
  36. package/streamFilesReader.js +1 -1
  37. package/worker/pdf.worker.min.js +21 -21
  38. package/assets/index-6Ox5f3GI.js +0 -1
  39. package/assets/index-B0fJUyM7.js +0 -1
  40. package/assets/index-BmVOh6oe.js +0 -1
  41. package/assets/index-CFqsgVcx.js +0 -1088
  42. package/assets/index-D4NnOWbo.js +0 -576
  43. package/assets/index-DhczpnL_.js +0 -1291
  44. package/assets/index-OjluyvX1.js +0 -280
  45. package/assets/style-bUXwVVWZ.js +0 -21
@@ -1,1291 +0,0 @@
1
- import{jsxs as ce,jsx as k,Fragment as Kn}from"react/jsx-runtime";import*as f from"react";import Ee,{forwardRef as nn,createElement as Xt,useState as Je,useRef as jt,useEffect as Ct,useMemo as Bt,useContext as Zn,useImperativeHandle as ro,useCallback as nt,memo as Xn,Suspense as rl}from"react";import{d as re,a7 as Ft,a5 as it,i as Pe,c as rn,_ as lt,e as He,aP as _t,aQ as al,H as De,G as pe,E as ne,ad as wn,aq as rt,a3 as It,aR as Pt,A as ol,aS as il,L as Rt,y as Ne,aT as ll,aU as ao,z as Jn,w as Jt,aV as sl,aW as cl,aF as Wr,aX as ul,g as Zr,m as Cn,h as Ce,r as en,af as oo,j as Wt,Q as dl,aY as er,as as tr,aZ as Ur,a_ as fl,a$ as io,b0 as ml,b1 as vl,aC as gl,b2 as hl,p as qr,b3 as pl,b4 as bl,b5 as xn,ag as Cl,a0 as xl,b6 as yl,b7 as wl,b8 as Sl,b9 as kl,ae as $l,ba as Ml,bb as ya,bc as wa,bd as Il,be as Dl,bf as Ll,bg as Pl,bh as El,bi as Al,bj as Nl,ac as Gr,u as Hl,bk as Ol,B as Or,bl as lo,bm as Qr,an as so,S as co,U as uo,bn as fo,bo as mo,bp as vo,bq as Kr,al as go,f as Rl,k as Fl,br as Tl,M as Vl,N as Sa,bs as zl,F as we,bt as Bl,I as at,a9 as In,ab as Dn,aa as ka,a4 as $a,a8 as Ma,T as Xr,a6 as jl}from"./index-OjluyvX1.js";import{createPortal as ho}from"react-dom";const Yl=re.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,a;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"?((a=t==null?void 0:t.colors)==null?void 0:a.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
- `,Kt=({mode:e="default",label:t,icon:n,disabled:r=!1,loading:a=!1,onClick:o,styles:s,style:c,className:l,children:v,...u})=>{const d=Ft(),g=it(it({theme:Pe,mode:"light"},d),s),m=()=>{!r&&!a&&o&&o()};return ce(Yl,{$btnType:e,$disabled:r,$loading:a,$theme:g.theme||Pe,onClick:m,disabled:r||a,style:c,className:l,...u,children:[a&&k("span",{className:"button-loading"}),n&&k("span",{className:"button-icon",style:{marginRight:4},children:n}),t&&k("span",{className:"button-label",children:t}),v]})};/**
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 _l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),po=(...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 Wl={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 Zl=nn(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:o,iconNode:s,...c},l)=>Xt("svg",{ref:l,...Wl,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:po("lucide",a),...c},[...s.map(([v,u])=>Xt(v,u)),...Array.isArray(o)?o:[o]]));/**
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 bo=(e,t)=>{const n=nn(({className:r,...a},o)=>Xt(Zl,{ref:o,iconNode:t,className:po(`lucide-${_l(e)}`,r),...a}));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 Ul=bo("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 ql=bo("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"}]]),Gl=re.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
- `,Ql=re.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
- `,Kl=re.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
- `,$d=({mode:e="default",label:t="\u9009\u62E9\u9009\u9879",actions:n,styles:r,icon:a,disabled:o=!1,style:s,className:c,children:l,eventEmit:v,...u})=>{const[d,g]=Je(!1),m=jt(null),[p,y]=Je(null),[w,I]=Je({top:0,left:0}),i=Ft(),C=it(it({theme:Pe,mode:"light"},i),r);Ct(()=>{console.log("[DropDownButton] \u7EC4\u4EF6\u6302\u8F7D\uFF0CeventEmit:",v),console.log("[DropDownButton] actions:",n)},[v,n]);const h=()=>{if(!m.current)return;const j=m.current.getBoundingClientRect();y(j);const z=j.bottom+4,E=j.left;I({top:z,left:E})};Ct(()=>{if(!d)return;const j=N=>{m.current&&!m.current.contains(N.target)&&g(!1)},z=()=>g(!1),E=()=>g(!1);return document.addEventListener("mousedown",j),window.addEventListener("scroll",z,!0),window.addEventListener("resize",E),()=>{document.removeEventListener("mousedown",j),window.removeEventListener("scroll",z,!0),window.removeEventListener("resize",E)}},[d]);const D=j=>{v&&v("dropdown_action",{key:j}),g(!1)},L=()=>{o||(d||h(),g(!d))},O=()=>!d||!p?null:k(Gl,{$theme:C.theme||Pe,$buttonRect:p,style:{top:w.top,left:w.left},children:n.map((j,z)=>j.type==="divider"?k(Kl,{$theme:C.theme||Pe},j.key||`divider-${z}`):ce(Ql,{$theme:C.theme||Pe,onMouseDown:E=>{E.preventDefault(),E.stopPropagation(),D(j.key),j.onClick&&j.onClick()},children:[j.icon&&k("span",{className:"mr-2",children:j.icon}),j.component||j.label]},j.key||`action-${z}`))});return ce("div",{ref:m,style:{position:"relative",display:"inline-block"},className:c,children:[ce(Kt,{mode:e,label:t,icon:a,disabled:o,onClick:L,styles:r,style:s,...u,children:[l,k(Ul,{size:14,style:{marginLeft:4,transition:"transform 0.2s",transform:d?"rotate(180deg)":"rotate(0deg)"}})]}),d&&ho(O(),document.body)]})},Xl=({actions:e,onAction:t,direction:n="top",styles:r})=>{const[a,o]=Je(!1),s=jt(null),[c,l]=Je({}),v=jt(null);Ct(()=>{if(!a)return;const m=s.current;if(!m)return;const p=m.getBoundingClientRect(),y=window.scrollX||window.pageXOffset,w=window.scrollY||window.pageYOffset,I=128,i=8;let C={position:"absolute",left:p.right-I+y,width:I,zIndex:9999};if(n==="bottom")C.top=p.bottom+i-12+w;else{const h=e.length*30+1;C.top=p.top-i+10-h+w}l(C)},[a,n,e]),Ct(()=>{if(!a)return;const m=y=>{s.current&&s.current.contains(y.target)||v.current&&v.current.contains(y.target)||o(!1)},p=()=>o(!1);return document.addEventListener("mousedown",m),window.addEventListener("scroll",p,!0),()=>{document.removeEventListener("mousedown",m),window.removeEventListener("scroll",p,!0)}},[a]);const u=Ft(),d=it(it({theme:Pe,mode:"light"},u),r),g=k("div",{ref:v,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
- ${a?"opacity-100 translate-y-0 pointer-events-auto scale-100":"opacity-0 pointer-events-none scale-95"}
114
- `,style:{...c,background:d.theme.colors.background,color:d.theme.colors.text,border:`1px solid ${d.theme.colors.border}`,borderRadius:d.theme.space.radius,boxShadow:d.theme.colors.shadow,minWidth:128,zIndex:9999},children:k("div",{className:"py-1 px-2",children:e.map((m,p)=>m.type==="divider"?k("div",{className:"my-2 bg-gray-100",style:{height:1}},m.key||`divider-${p}`):ce("button",{className:"w-full rounded flex cursor-pointer items-center px-4 py-2 text-sm transition whitespace-nowrap",style:{color:d.theme.colors.text,background:"transparent",border:"none",fontSize:12},onClick:y=>{y.stopPropagation(),o(!1),t(m.key),m.onClick&&m.onClick()},type:"button",onMouseOver:y=>y.currentTarget.style.background=d.theme.colors.disabledBackground,onMouseOut:y=>y.currentTarget.style.background="transparent",children:[m.icon&&k("span",{className:"mr-2",children:m.icon}),m.label]},m.key||`action-${p}`))})});return ce(Kn,{children:[k("button",{ref:s,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:d.theme.colors.primary,borderRadius:d.theme.space.radius},onClick:m=>{m.stopPropagation(),o(p=>!p)},tabIndex:0,"aria-label":"\u66F4\u591A\u64CD\u4F5C",type:"button",children:k(ql,{size:18,className:"text-blue-500"})}),a&&ho(g,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 Jl=({current:e,pageSize:t,total:n,onChange:r,showSizeChanger:a=!0,pageSizeOptions:o=[6,12,24,48],onPageSizeChange:s,theme:c,size:l="md",showPageNumbers:v=!0})=>{const u=Math.ceil(n/t);if(u<=1&&!a)return null;const d={colors:{background:"#ffffff",text:"#1f2937",border:"#d9d9d9",disabledBackground:"#f5f5f5",primary:"#1677ff"},space:{radius:"6px"},...c},g=(()=>{const h=[],D=[];for(let L=Math.max(2,e-2);L<=Math.min(u-1,e+2);L++)h.push(L);return e-2>2?D.push(1,"..."):D.push(1),D.push(...h),e+2<u-1?D.push("...",u):u>1&&D.push(u),D})(),m=l==="sm"?{height:24,minWidth:24,fontSize:12,paddingX:8}:{height:28,minWidth:28,fontSize:12,paddingX:8},[p,y]=Ee.useState(""),w=()=>{if(!p||p.trim()==="")return;const h=parseInt(p,10);if(Number.isNaN(h))return;const D=Math.max(1,Math.min(u,h));D!==e&&r(D),y(String(D))},I={background:d.colors.background,color:d.colors.text,border:"1px solid transparent",borderRadius:d.space.radius,height:m.height,minWidth:m.minWidth,padding:`0 ${m.paddingX}px`,fontSize:m.fontSize,lineHeight:`${m.height}px`},i={...I,border:`1px solid ${d.colors.primary}`,color:d.colors.primary},C={background:"transparent",color:d.colors.text,border:"none",height:m.height,minWidth:m.minWidth,padding:`0 ${m.paddingX}px`,fontSize:m.fontSize,lineHeight:`${m.height}px`,borderRadius:d.space.radius};return ce("div",{className:"flex items-center justify-center gap-2 select-none",children:[a&&ce("div",{className:"flex items-center gap-2 mr-3",children:[k("span",{style:{fontSize:m.fontSize,color:d.colors.text},children:"\u6BCF\u9875"}),k("select",{value:t,onChange:h=>s&&s(parseInt(h.target.value,10)),style:{height:m.height,border:`1px solid ${d.colors.border}`,borderRadius:d.space.radius,padding:`0 ${m.paddingX}px`,background:d.colors.background,color:d.colors.text,fontSize:m.fontSize},"aria-label":"\u6BCF\u9875\u6761\u6570",children:o.map(h=>k("option",{value:h,children:h},h))}),k("span",{style:{fontSize:m.fontSize,color:d.colors.text},children:"\u6761"})]}),k("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:C,onMouseEnter:h=>{e!==1&&(h.currentTarget.style.color=d.colors.primary)},onMouseLeave:h=>{h.currentTarget.style.color=e===1?"#bfbfbf":d.colors.text},"aria-label":"\u4E0A\u4E00\u9875",children:k("svg",{width:m.fontSize+4,height:m.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:k("polyline",{points:"15,18 9,12 15,6"})})}),v&&g.map((h,D)=>{if(h==="...")return k("span",{style:{...I,color:"#bfbfbf"},children:"..."},`ellipsis-${D}`);const L=h===e;return k("button",{onClick:()=>r(h),className:"flex items-center justify-center transition-all duration-150",style:L?i:I,onMouseEnter:O=>{L||(O.currentTarget.style.borderColor=d.colors.primary,O.currentTarget.style.color=d.colors.primary)},onMouseLeave:O=>{L||(O.currentTarget.style.borderColor="transparent",O.currentTarget.style.color=d.colors.text)},"aria-label":`\u7B2C ${h} \u9875`,"aria-current":L?"page":void 0,children:h},h)}),k("button",{disabled:e===u,onClick:()=>r(e+1),className:"flex items-center justify-center disabled:opacity-40 disabled:cursor-not-allowed transition-colors duration-200",style:C,onMouseEnter:h=>{e!==u&&(h.currentTarget.style.color=d.colors.primary)},onMouseLeave:h=>{h.currentTarget.style.color=e===u?"#bfbfbf":d.colors.text},"aria-label":"\u4E0B\u4E00\u9875",children:k("svg",{width:m.fontSize+4,height:m.fontSize+4,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{color:e===u?"#bfbfbf":void 0},children:k("polyline",{points:"9,18 15,12 9,6"})})}),ce("div",{className:"flex items-center gap-2 ml-4",children:[k("span",{style:{fontSize:m.fontSize,color:d.colors.text},children:"\u524D\u5F80"}),k("input",{type:"number",inputMode:"numeric",min:1,max:u,value:p,onChange:h=>y(h.target.value),onKeyDown:h=>{h.key==="Enter"&&(h.preventDefault(),w())},onBlur:()=>w(),style:{height:m.height,width:l==="sm"?48:64,border:`1px solid ${d.colors.border}`,borderRadius:d.space.radius,padding:`0 ${m.paddingX}px`,background:d.colors.background,color:d.colors.text,fontSize:m.fontSize},"aria-label":"\u8DF3\u8F6C\u9875\u7801\u8F93\u5165"}),k("span",{style:{fontSize:m.fontSize,color:d.colors.text},children:"\u9875"})]})]})};var Co={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Jr={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},e0=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],Un={CSS:{},springs:{}};function kt(e,t,n){return Math.min(Math.max(e,t),n)}function pn(e,t){return e.indexOf(t)>-1}function Dr(e,t){return e.apply(null,t)}var de={arr:function(e){return Array.isArray(e)},obj:function(e){return pn(Object.prototype.toString.call(e),"Object")},pth:function(e){return de.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||de.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 de.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 de.hex(e)||de.rgb(e)||de.hsl(e)},key:function(e){return!Co.hasOwnProperty(e)&&!Jr.hasOwnProperty(e)&&e!=="targets"&&e!=="keyframes"}};function xo(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map(function(n){return parseFloat(n)}):[]}function yo(e,t){var n=xo(e),r=kt(de.und(n[0])?1:n[0],.1,100),a=kt(de.und(n[1])?100:n[1],.1,100),o=kt(de.und(n[2])?10:n[2],.1,100),s=kt(de.und(n[3])?0:n[3],.1,100),c=Math.sqrt(a/r),l=o/(2*Math.sqrt(a*r)),v=l<1?c*Math.sqrt(1-l*l):0,u=1,d=l<1?(l*c+-s)/v:-s+c;function g(p){var y=t?t*p/1e3:p;return l<1?y=Math.exp(-y*l*c)*(u*Math.cos(v*y)+d*Math.sin(v*y)):y=(u+d*y)*Math.exp(-y*c),p===0||p===1?p:1-y}function m(){var p=Un.springs[e];if(p)return p;for(var y=1/6,w=0,I=0;;)if(w+=y,g(w)===1){if(I++,I>=16)break}else I=0;var i=w*y*1e3;return Un.springs[e]=i,i}return t?g:m}function t0(e){return e===void 0&&(e=10),function(t){return Math.ceil(kt(t,1e-6,1)*e)*(1/e)}}var n0=(function(){var e=11,t=1/(e-1);function n(u,d){return 1-3*d+3*u}function r(u,d){return 3*d-6*u}function a(u){return 3*u}function o(u,d,g){return((n(d,g)*u+r(d,g))*u+a(d))*u}function s(u,d,g){return 3*n(d,g)*u*u+2*r(d,g)*u+a(d)}function c(u,d,g,m,p){var y,w,I=0;do w=d+(g-d)/2,y=o(w,m,p)-u,y>0?g=w:d=w;while(Math.abs(y)>1e-7&&++I<10);return w}function l(u,d,g,m){for(var p=0;p<4;++p){var y=s(d,g,m);if(y===0)return d;var w=o(d,g,m)-u;d-=w/y}return d}function v(u,d,g,m){if(!(0<=u&&u<=1&&0<=g&&g<=1))return;var p=new Float32Array(e);if(u!==d||g!==m)for(var y=0;y<e;++y)p[y]=o(y*t,u,g);function w(I){for(var i=0,C=1,h=e-1;C!==h&&p[C]<=I;++C)i+=t;--C;var D=(I-p[C])/(p[C+1]-p[C]),L=i+D*t,O=s(L,u,g);return O>=.001?l(I,L,u,g):O===0?L:c(I,i,i+t,u,g)}return function(I){return u===d&&g===m||I===0||I===1?I:o(w(I),d,m)}}return v})(),wo=(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 a,o=4;r<((a=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((a*3-2)/22-r,2)}},Elastic:function(r,a){r===void 0&&(r=1),a===void 0&&(a=.5);var o=kt(r,1,10),s=kt(a,.1,2);return function(c){return c===0||c===1?c:-o*Math.pow(2,10*(c-1))*Math.sin((c-1-s/(Math.PI*2)*Math.asin(1/o))*(Math.PI*2)/s)}}},n=["Quad","Cubic","Quart","Quint"];return n.forEach(function(r,a){t[r]=function(){return function(o){return Math.pow(o,a+2)}}}),Object.keys(t).forEach(function(r){var a=t[r];e["easeIn"+r]=a,e["easeOut"+r]=function(o,s){return function(c){return 1-a(o,s)(1-c)}},e["easeInOut"+r]=function(o,s){return function(c){return c<.5?a(o,s)(c*2)/2:1-a(o,s)(c*-2+2)/2}},e["easeOutIn"+r]=function(o,s){return function(c){return c<.5?(1-a(o,s)(1-c*2))/2:(a(o,s)(c*2-1)+1)/2}}}),e})();function ea(e,t){if(de.fnc(e))return e;var n=e.split("(")[0],r=wo[n],a=xo(e);switch(n){case"spring":return yo(e,t);case"cubicBezier":return Dr(n0,a);case"steps":return Dr(t0,a);default:return Dr(r,a)}}function So(e){try{var t=document.querySelectorAll(e);return t}catch{return}}function nr(e,t){for(var n=e.length,r=arguments.length>=2?arguments[1]:void 0,a=[],o=0;o<n;o++)if(o in e){var s=e[o];t.call(r,s,o,e)&&a.push(s)}return a}function rr(e){return e.reduce(function(t,n){return t.concat(de.arr(n)?rr(n):n)},[])}function Ia(e){return de.arr(e)?e:(de.str(e)&&(e=So(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function ta(e,t){return e.some(function(n){return n===t})}function na(e){var t={};for(var n in e)t[n]=e[n];return t}function Rr(e,t){var n=na(e);for(var r in e)n[r]=t.hasOwnProperty(r)?t[r]:e[r];return n}function ar(e,t){var n=na(e);for(var r in t)n[r]=de.und(e[r])?t[r]:e[r];return n}function r0(e){var t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e);return t?"rgba("+t[1]+",1)":e}function a0(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=e.replace(t,function(c,l,v,u){return l+l+v+v+u+u}),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),a=parseInt(r[1],16),o=parseInt(r[2],16),s=parseInt(r[3],16);return"rgba("+a+","+o+","+s+",1)"}function o0(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,a=parseInt(t[3],10)/100,o=t[4]||1;function s(g,m,p){return p<0&&(p+=1),p>1&&(p-=1),p<1/6?g+(m-g)*6*p:p<1/2?m:p<2/3?g+(m-g)*(2/3-p)*6:g}var c,l,v;if(r==0)c=l=v=a;else{var u=a<.5?a*(1+r):a+r-a*r,d=2*a-u;c=s(d,u,n+1/3),l=s(d,u,n),v=s(d,u,n-1/3)}return"rgba("+c*255+","+l*255+","+v*255+","+o+")"}function i0(e){if(de.rgb(e))return r0(e);if(de.hex(e))return a0(e);if(de.hsl(e))return o0(e)}function Et(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 l0(e){if(pn(e,"translate")||e==="perspective")return"px";if(pn(e,"rotate")||pn(e,"skew"))return"deg"}function Fr(e,t){return de.fnc(e)?e(t.target,t.id,t.total):e}function $t(e,t){return e.getAttribute(t)}function ra(e,t,n){var r=Et(t);if(ta([n,"deg","rad","turn"],r))return t;var a=Un.CSS[t+n];if(!de.und(a))return a;var o=100,s=document.createElement(e.tagName),c=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;c.appendChild(s),s.style.position="absolute",s.style.width=o+n;var l=o/s.offsetWidth;c.removeChild(s);var v=l*parseFloat(t);return Un.CSS[t+n]=v,v}function ko(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),a=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?ra(e,a,n):a}}function aa(e,t){if(de.dom(e)&&!de.inp(e)&&(!de.nil($t(e,t))||de.svg(e)&&e[t]))return"attribute";if(de.dom(e)&&ta(e0,t))return"transform";if(de.dom(e)&&t!=="transform"&&ko(e,t))return"css";if(e[t]!=null)return"object"}function $o(e){if(de.dom(e)){for(var t=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,r=new Map,a;a=n.exec(t);)r.set(a[1],a[2]);return r}}function s0(e,t,n,r){var a=pn(t,"scale")?1:0+l0(t),o=$o(e).get(t)||a;return n&&(n.transforms.list.set(t,o),n.transforms.last=t),r?ra(e,o,r):o}function oa(e,t,n,r){switch(aa(e,t)){case"transform":return s0(e,t,r,n);case"css":return ko(e,t,n);case"attribute":return $t(e,t);default:return e[t]||0}}function ia(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=Et(e)||0,a=parseFloat(t),o=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return a+o+r;case"-":return a-o+r;case"*":return a*o+r}}function Mo(e,t){if(de.col(e))return i0(e);if(/\s/g.test(e))return e;var n=Et(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function la(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function c0(e){return Math.PI*2*$t(e,"r")}function u0(e){return $t(e,"width")*2+$t(e,"height")*2}function d0(e){return la({x:$t(e,"x1"),y:$t(e,"y1")},{x:$t(e,"x2"),y:$t(e,"y2")})}function Io(e){for(var t=e.points,n=0,r,a=0;a<t.numberOfItems;a++){var o=t.getItem(a);a>0&&(n+=la(r,o)),r=o}return n}function f0(e){var t=e.points;return Io(e)+la(t.getItem(t.numberOfItems-1),t.getItem(0))}function Do(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return c0(e);case"rect":return u0(e);case"line":return d0(e);case"polyline":return Io(e);case"polygon":return f0(e)}}function m0(e){var t=Do(e);return e.setAttribute("stroke-dasharray",t),t}function v0(e){for(var t=e.parentNode;de.svg(t)&&de.svg(t.parentNode);)t=t.parentNode;return t}function Lo(e,t){var n=t||{},r=n.el||v0(e),a=r.getBoundingClientRect(),o=$t(r,"viewBox"),s=a.width,c=a.height,l=n.viewBox||(o?o.split(" "):[0,0,s,c]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:s,h:c,vW:l[2],vH:l[3]}}function g0(e,t){var n=de.str(e)?So(e)[0]:e,r=t||100;return function(a){return{property:a,el:n,svg:Lo(n),totalLength:Do(n)*(r/100)}}}function h0(e,t,n){function r(u){u===void 0&&(u=0);var d=t+u>=1?t+u:0;return e.el.getPointAtLength(d)}var a=Lo(e.el,e.svg),o=r(),s=r(-1),c=r(1),l=n?1:a.w/a.vW,v=n?1:a.h/a.vH;switch(e.property){case"x":return(o.x-a.x)*l;case"y":return(o.y-a.y)*v;case"angle":return Math.atan2(c.y-s.y,c.x-s.x)*180/Math.PI}}function Da(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=Mo(de.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:de.str(e)||t?r.split(n):[]}}function sa(e){var t=e?rr(de.arr(e)?e.map(Ia):Ia(e)):[];return nr(t,function(n,r,a){return a.indexOf(n)===r})}function Po(e){var t=sa(e);return t.map(function(n,r){return{target:n,id:r,total:t.length,transforms:{list:$o(n)}}})}function p0(e,t){var n=na(t);if(/^spring/.test(n.easing)&&(n.duration=yo(n.easing)),de.arr(e)){var r=e.length,a=r===2&&!de.obj(e[0]);a?e={value:e}:de.fnc(t.duration)||(n.duration=t.duration/r)}var o=de.arr(e)?e:[e];return o.map(function(s,c){var l=de.obj(s)&&!de.pth(s)?s:{value:s};return de.und(l.delay)&&(l.delay=c?0:t.delay),de.und(l.endDelay)&&(l.endDelay=c===o.length-1?t.endDelay:0),l}).map(function(s){return ar(s,n)})}function b0(e){for(var t=nr(rr(e.map(function(o){return Object.keys(o)})),function(o){return de.key(o)}).reduce(function(o,s){return o.indexOf(s)<0&&o.push(s),o},[]),n={},r=function(o){var s=t[o];n[s]=e.map(function(c){var l={};for(var v in c)de.key(v)?v==s&&(l.value=c[v]):l[v]=c[v];return l})},a=0;a<t.length;a++)r(a);return n}function C0(e,t){var n=[],r=t.keyframes;r&&(t=ar(b0(r),t));for(var a in t)de.key(a)&&n.push({name:a,tweens:p0(t[a],e)});return n}function x0(e,t){var n={};for(var r in e){var a=Fr(e[r],t);de.arr(a)&&(a=a.map(function(o){return Fr(o,t)}),a.length===1&&(a=a[0])),n[r]=a}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function y0(e,t){var n;return e.tweens.map(function(r){var a=x0(r,t),o=a.value,s=de.arr(o)?o[1]:o,c=Et(s),l=oa(t.target,e.name,c,t),v=n?n.to.original:l,u=de.arr(o)?o[0]:v,d=Et(u)||Et(l),g=c||d;return de.und(s)&&(s=v),a.from=Da(u,g),a.to=Da(ia(s,u),g),a.start=n?n.end:0,a.end=a.start+a.delay+a.duration+a.endDelay,a.easing=ea(a.easing,a.duration),a.isPath=de.pth(o),a.isPathTargetInsideSVG=a.isPath&&de.svg(t.target),a.isColor=de.col(a.from.original),a.isColor&&(a.round=1),n=a,a})}var Eo={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,a){if(r.list.set(t,n),t===r.last||a){var o="";r.list.forEach(function(s,c){o+=c+"("+s+") "}),e.style.transform=o}}};function Ao(e,t){var n=Po(e);n.forEach(function(r){for(var a in t){var o=Fr(t[a],r),s=r.target,c=Et(o),l=oa(s,a,c,r),v=c||Et(l),u=ia(Mo(o,v),l),d=aa(s,a);Eo[d](s,a,u,r.transforms,!0)}})}function w0(e,t){var n=aa(e.target,t.name);if(n){var r=y0(t,e),a=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:a.end,delay:r[0].delay,endDelay:a.endDelay}}}function S0(e,t){return nr(rr(e.map(function(n){return t.map(function(r){return w0(n,r)})})),function(n){return!de.und(n)})}function No(e,t){var n=e.length,r=function(o){return o.timelineOffset?o.timelineOffset:0},a={};return a.duration=n?Math.max.apply(Math,e.map(function(o){return r(o)+o.duration})):t.duration,a.delay=n?Math.min.apply(Math,e.map(function(o){return r(o)+o.delay})):t.delay,a.endDelay=n?a.duration-Math.max.apply(Math,e.map(function(o){return r(o)+o.duration-o.endDelay})):t.endDelay,a}var La=0;function k0(e){var t=Rr(Co,e),n=Rr(Jr,e),r=C0(n,e),a=Po(e.targets),o=S0(a,r),s=No(o,n),c=La;return La++,ar(t,{id:c,children:[],animatables:a,animations:o,duration:s.duration,delay:s.delay,endDelay:s.endDelay})}var bt=[],Ho=(function(){var e;function t(){!e&&(!Pa()||!qe.suspendWhenDocumentHidden)&&bt.length>0&&(e=requestAnimationFrame(n))}function n(a){for(var o=bt.length,s=0;s<o;){var c=bt[s];c.paused?(bt.splice(s,1),o--):(c.tick(a),s++)}e=s>0?requestAnimationFrame(n):void 0}function r(){qe.suspendWhenDocumentHidden&&(Pa()?e=cancelAnimationFrame(e):(bt.forEach(function(a){return a._onDocumentVisibility()}),Ho()))}return typeof document<"u"&&document.addEventListener("visibilitychange",r),t})();function Pa(){return!!document&&document.hidden}function qe(e){e===void 0&&(e={});var t=0,n=0,r=0,a,o=0,s=null;function c(i){var C=window.Promise&&new Promise(function(h){return s=h});return i.finished=C,C}var l=k0(e);c(l);function v(){var i=l.direction;i!=="alternate"&&(l.direction=i!=="normal"?"normal":"reverse"),l.reversed=!l.reversed,a.forEach(function(C){return C.reversed=l.reversed})}function u(i){return l.reversed?l.duration-i:i}function d(){t=0,n=u(l.currentTime)*(1/qe.speed)}function g(i,C){C&&C.seek(i-C.timelineOffset)}function m(i){if(l.reversePlayback)for(var h=o;h--;)g(i,a[h]);else for(var C=0;C<o;C++)g(i,a[C])}function p(i){for(var C=0,h=l.animations,D=h.length;C<D;){var L=h[C],O=L.animatable,j=L.tweens,z=j.length-1,E=j[z];z&&(E=nr(j,function(H){return i<H.end})[0]||E);for(var N=kt(i-E.start-E.delay,0,E.duration)/E.duration,q=isNaN(N)?1:E.easing(N),W=E.to.strings,M=E.round,S=[],x=E.to.numbers.length,P=void 0,$=0;$<x;$++){var R=void 0,F=E.to.numbers[$],T=E.from.numbers[$]||0;E.isPath?R=h0(E.value,q*F,E.isPathTargetInsideSVG):R=T+q*(F-T),M&&(E.isColor&&$>2||(R=Math.round(R*M)/M)),S.push(R)}var V=W.length;if(!V)P=S[0];else{P=W[0];for(var Y=0;Y<V;Y++){W[Y];var Z=W[Y+1],J=S[Y];isNaN(J)||(Z?P+=J+Z:P+=J+" ")}}Eo[L.type](O.target,L.property,P,O.transforms),L.currentValue=P,C++}}function y(i){l[i]&&!l.passThrough&&l[i](l)}function w(){l.remaining&&l.remaining!==!0&&l.remaining--}function I(i){var C=l.duration,h=l.delay,D=C-l.endDelay,L=u(i);l.progress=kt(L/C*100,0,100),l.reversePlayback=L<l.currentTime,a&&m(L),!l.began&&l.currentTime>0&&(l.began=!0,y("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,y("loopBegin")),L<=h&&l.currentTime!==0&&p(0),(L>=D&&l.currentTime!==C||!C)&&p(C),L>h&&L<D?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,y("changeBegin")),y("change"),p(L)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,y("changeComplete")),l.currentTime=kt(L,0,C),l.began&&y("update"),i>=C&&(n=0,w(),l.remaining?(t=r,y("loopComplete"),l.loopBegan=!1,l.direction==="alternate"&&v()):(l.paused=!0,l.completed||(l.completed=!0,y("loopComplete"),y("complete"),!l.passThrough&&"Promise"in window&&(s(),c(l)))))}return l.reset=function(){var i=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=i==="reverse",l.remaining=l.loop,a=l.children,o=a.length;for(var C=o;C--;)l.children[C].reset();(l.reversed&&l.loop!==!0||i==="alternate"&&l.loop===1)&&l.remaining++,p(l.reversed?l.duration:0)},l._onDocumentVisibility=d,l.set=function(i,C){return Ao(i,C),l},l.tick=function(i){r=i,t||(t=r),I((r+(n-t))*qe.speed)},l.seek=function(i){I(u(i))},l.pause=function(){l.paused=!0,d()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,bt.push(l),d(),Ho())},l.reverse=function(){v(),l.completed=!l.reversed,d()},l.restart=function(){l.reset(),l.play()},l.remove=function(i){var C=sa(i);Oo(C,l)},l.reset(),l.autoplay&&l.play(),l}function Ea(e,t){for(var n=t.length;n--;)ta(e,t[n].animatable.target)&&t.splice(n,1)}function Oo(e,t){var n=t.animations,r=t.children;Ea(e,n);for(var a=r.length;a--;){var o=r[a],s=o.animations;Ea(e,s),!s.length&&!o.children.length&&r.splice(a,1)}!n.length&&!r.length&&t.pause()}function $0(e){for(var t=sa(e),n=bt.length;n--;){var r=bt[n];Oo(t,r)}}function M0(e,t){t===void 0&&(t={});var n=t.direction||"normal",r=t.easing?ea(t.easing):null,a=t.grid,o=t.axis,s=t.from||0,c=s==="first",l=s==="center",v=s==="last",u=de.arr(e),d=parseFloat(u?e[0]:e),g=u?parseFloat(e[1]):0,m=Et(u?e[1]:e)||0,p=t.start||0+(u?d:0),y=[],w=0;return function(I,i,C){if(c&&(s=0),l&&(s=(C-1)/2),v&&(s=C-1),!y.length){for(var h=0;h<C;h++){if(!a)y.push(Math.abs(s-h));else{var D=l?(a[0]-1)/2:s%a[0],L=l?(a[1]-1)/2:Math.floor(s/a[0]),O=h%a[0],j=Math.floor(h/a[0]),z=D-O,E=L-j,N=Math.sqrt(z*z+E*E);o==="x"&&(N=-z),o==="y"&&(N=-E),y.push(N)}w=Math.max.apply(Math,y)}r&&(y=y.map(function(W){return r(W/w)*w})),n==="reverse"&&(y=y.map(function(W){return o?W<0?W*-1:-W:Math.abs(w-W)}))}var q=u?(g-d)/w:d;return p+q*(Math.round(y[i]*100)/100)+m}}function I0(e){e===void 0&&(e={});var t=qe(e);return t.duration=0,t.add=function(n,r){var a=bt.indexOf(t),o=t.children;a>-1&&bt.splice(a,1);function s(g){g.passThrough=!0}for(var c=0;c<o.length;c++)s(o[c]);var l=ar(n,Rr(Jr,e));l.targets=l.targets||e.targets;var v=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=de.und(r)?v:ia(r,v),s(t),t.seek(l.timelineOffset);var u=qe(l);s(u),o.push(u);var d=No(o,e);return t.delay=d.delay,t.endDelay=d.endDelay,t.duration=d.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t}qe.version="3.2.1";qe.speed=1;qe.suspendWhenDocumentHidden=!0;qe.running=bt;qe.remove=$0;qe.get=oa;qe.set=Ao;qe.convertPx=ra;qe.path=g0;qe.setDashoffset=m0;qe.stagger=M0;qe.timeline=I0;qe.easing=ea;qe.penner=wo;qe.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 D0=rn("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
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 Aa=rn("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
131
- * @license lucide-react v0.456.0 - ISC
132
- *
133
- * This source code is licensed under the ISC license.
134
- * See the LICENSE file in the root directory of this source tree.
135
- */const Ro=rn("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"}]]);/**
136
- * @license lucide-react v0.456.0 - ISC
137
- *
138
- * This source code is licensed under the ISC license.
139
- * See the LICENSE file in the root directory of this source tree.
140
- */const Nt=rn("File",[["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"}]]);/**
141
- * @license lucide-react v0.456.0 - ISC
142
- *
143
- * This source code is licensed under the ISC license.
144
- * See the LICENSE file in the root directory of this source tree.
145
- */const L0=rn("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);/**
146
- * @license lucide-react v0.456.0 - ISC
147
- *
148
- * This source code is licensed under the ISC license.
149
- * See the LICENSE file in the root directory of this source tree.
150
- */const P0=rn("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);function Fo(e,...t){const n=e||{};return t.reduce((r,a)=>(Object.keys(a||{}).forEach(o=>{const s=n[o],c=a[o];if(s&&typeof s=="object")if(c&&typeof c=="object")r[o]=Fo(s,r[o],c);else{const{_default:l}=s;l&&(r[o]=r[o]||{},r[o][l]=He(r[o][l],c))}else r[o]=He(r[o],c)}),r),{})}function E0(e,...t){return f.useMemo(()=>Fo.apply(void 0,[e].concat(t)),[t,e])}function A0(...e){return f.useMemo(()=>e.reduce((t,n={})=>(Object.keys(n).forEach(r=>{t[r]=Object.assign(Object.assign({},t[r]),n[r])}),t),{}),[e])}function Tr(e,t){const n=Object.assign({},e);return Object.keys(t).forEach(r=>{if(r!=="_default"){const a=t[r],o=n[r]||{};n[r]=a?Tr(o,a):o}}),n}const N0=(e,t,n)=>{const r=E0.apply(void 0,[n].concat(lt(e))),a=A0.apply(void 0,lt(t));return f.useMemo(()=>[Tr(r,n),Tr(a,n)],[r,a,n])};var Vn={exports:{}},H0=Vn.exports,Na;function O0(){return Na||(Na=1,(function(e,t){(function(n,r){e.exports=r()})(H0,(function(){var n=1e3,r=6e4,a=36e5,o="millisecond",s="second",c="minute",l="hour",v="day",u="week",d="month",g="quarter",m="year",p="date",y="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|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,i={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(M){var S=["th","st","nd","rd"],x=M%100;return"["+M+(S[(x-20)%10]||S[x]||S[0])+"]"}},C=function(M,S,x){var P=String(M);return!P||P.length>=S?M:""+Array(S+1-P.length).join(x)+M},h={s:C,z:function(M){var S=-M.utcOffset(),x=Math.abs(S),P=Math.floor(x/60),$=x%60;return(S<=0?"+":"-")+C(P,2,"0")+":"+C($,2,"0")},m:function M(S,x){if(S.date()<x.date())return-M(x,S);var P=12*(x.year()-S.year())+(x.month()-S.month()),$=S.clone().add(P,d),R=x-$<0,F=S.clone().add(P+(R?-1:1),d);return+(-(P+(x-$)/(R?$-F:F-$))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:d,y:m,w:u,d:v,D:p,h:l,m:c,s,ms:o,Q:g}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},D="en",L={};L[D]=i;var O="$isDayjsObject",j=function(M){return M instanceof q||!(!M||!M[O])},z=function M(S,x,P){var $;if(!S)return D;if(typeof S=="string"){var R=S.toLowerCase();L[R]&&($=R),x&&(L[R]=x,$=R);var F=S.split("-");if(!$&&F.length>1)return M(F[0])}else{var T=S.name;L[T]=S,$=T}return!P&&$&&(D=$),$||!P&&D},E=function(M,S){if(j(M))return M.clone();var x=typeof S=="object"?S:{};return x.date=M,x.args=arguments,new q(x)},N=h;N.l=z,N.i=j,N.w=function(M,S){return E(M,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var q=(function(){function M(x){this.$L=z(x.locale,null,!0),this.parse(x),this.$x=this.$x||x.x||{},this[O]=!0}var S=M.prototype;return S.parse=function(x){this.$d=(function(P){var $=P.date,R=P.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 F=$.match(w);if(F){var T=F[2]-1||0,V=(F[7]||"0").substring(0,3);return R?new Date(Date.UTC(F[1],T,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)):new Date(F[1],T,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)}}return new Date($)})(x),this.init()},S.init=function(){var x=this.$d;this.$y=x.getFullYear(),this.$M=x.getMonth(),this.$D=x.getDate(),this.$W=x.getDay(),this.$H=x.getHours(),this.$m=x.getMinutes(),this.$s=x.getSeconds(),this.$ms=x.getMilliseconds()},S.$utils=function(){return N},S.isValid=function(){return this.$d.toString()!==y},S.isSame=function(x,P){var $=E(x);return this.startOf(P)<=$&&$<=this.endOf(P)},S.isAfter=function(x,P){return E(x)<this.startOf(P)},S.isBefore=function(x,P){return this.endOf(P)<E(x)},S.$g=function(x,P,$){return N.u(x)?this[P]:this.set($,x)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(x,P){var $=this,R=!!N.u(P)||P,F=N.p(x),T=function(b,_){var G=N.w($.$u?Date.UTC($.$y,_,b):new Date($.$y,_,b),$);return R?G:G.endOf(v)},V=function(b,_){return N.w($.toDate()[b].apply($.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(_)),$)},Y=this.$W,Z=this.$M,J=this.$D,H="set"+(this.$u?"UTC":"");switch(F){case m:return R?T(1,0):T(31,11);case d:return R?T(1,Z):T(0,Z+1);case u:var A=this.$locale().weekStart||0,B=(Y<A?Y+7:Y)-A;return T(R?J-B:J+(6-B),Z);case v:case p:return V(H+"Hours",0);case l:return V(H+"Minutes",1);case c:return V(H+"Seconds",2);case s:return V(H+"Milliseconds",3);default:return this.clone()}},S.endOf=function(x){return this.startOf(x,!1)},S.$set=function(x,P){var $,R=N.p(x),F="set"+(this.$u?"UTC":""),T=($={},$[v]=F+"Date",$[p]=F+"Date",$[d]=F+"Month",$[m]=F+"FullYear",$[l]=F+"Hours",$[c]=F+"Minutes",$[s]=F+"Seconds",$[o]=F+"Milliseconds",$)[R],V=R===v?this.$D+(P-this.$W):P;if(R===d||R===m){var Y=this.clone().set(p,1);Y.$d[T](V),Y.init(),this.$d=Y.set(p,Math.min(this.$D,Y.daysInMonth())).$d}else T&&this.$d[T](V);return this.init(),this},S.set=function(x,P){return this.clone().$set(x,P)},S.get=function(x){return this[N.p(x)]()},S.add=function(x,P){var $,R=this;x=Number(x);var F=N.p(P),T=function(Z){var J=E(R);return N.w(J.date(J.date()+Math.round(Z*x)),R)};if(F===d)return this.set(d,this.$M+x);if(F===m)return this.set(m,this.$y+x);if(F===v)return T(1);if(F===u)return T(7);var V=($={},$[c]=r,$[l]=a,$[s]=n,$)[F]||1,Y=this.$d.getTime()+x*V;return N.w(Y,this)},S.subtract=function(x,P){return this.add(-1*x,P)},S.format=function(x){var P=this,$=this.$locale();if(!this.isValid())return $.invalidDate||y;var R=x||"YYYY-MM-DDTHH:mm:ssZ",F=N.z(this),T=this.$H,V=this.$m,Y=this.$M,Z=$.weekdays,J=$.months,H=$.meridiem,A=function(_,G,U,Q){return _&&(_[G]||_(P,R))||U[G].slice(0,Q)},B=function(_){return N.s(T%12||12,_,"0")},b=H||function(_,G,U){var Q=_<12?"AM":"PM";return U?Q.toLowerCase():Q};return R.replace(I,(function(_,G){return G||(function(U){switch(U){case"YY":return String(P.$y).slice(-2);case"YYYY":return N.s(P.$y,4,"0");case"M":return Y+1;case"MM":return N.s(Y+1,2,"0");case"MMM":return A($.monthsShort,Y,J,3);case"MMMM":return A(J,Y);case"D":return P.$D;case"DD":return N.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return A($.weekdaysMin,P.$W,Z,2);case"ddd":return A($.weekdaysShort,P.$W,Z,3);case"dddd":return Z[P.$W];case"H":return String(T);case"HH":return N.s(T,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return b(T,V,!0);case"A":return b(T,V,!1);case"m":return String(V);case"mm":return N.s(V,2,"0");case"s":return String(P.$s);case"ss":return N.s(P.$s,2,"0");case"SSS":return N.s(P.$ms,3,"0");case"Z":return F}return null})(_)||F.replace(":","")}))},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(x,P,$){var R,F=this,T=N.p(P),V=E(x),Y=(V.utcOffset()-this.utcOffset())*r,Z=this-V,J=function(){return N.m(F,V)};switch(T){case m:R=J()/12;break;case d:R=J();break;case g:R=J()/3;break;case u:R=(Z-Y)/6048e5;break;case v:R=(Z-Y)/864e5;break;case l:R=Z/a;break;case c:R=Z/r;break;case s:R=Z/n;break;default:R=Z}return $?R:N.a(R)},S.daysInMonth=function(){return this.endOf(d).$D},S.$locale=function(){return L[this.$L]},S.locale=function(x,P){if(!x)return this.$L;var $=this.clone(),R=z(x,P,!0);return R&&($.$L=R),$},S.clone=function(){return N.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},M})(),W=q.prototype;return E.prototype=W,[["$ms",o],["$s",s],["$m",c],["$H",l],["$W",v],["$M",d],["$y",m],["$D",p]].forEach((function(M){W[M[1]]=function(S){return this.$g(S,M[0],M[1])}})),E.extend=function(M,S){return M.$i||(M(S,q,E),M.$i=!0),E},E.locale=z,E.isDayjs=j,E.unix=function(M){return E(1e3*M)},E.en=L[D],E.Ls=L,E.p={},E}))})(Vn)),Vn.exports}var R0=O0();const mt=_t(R0);var zn={exports:{}},F0=zn.exports,Ha;function T0(){return Ha||(Ha=1,(function(e,t){(function(n,r){e.exports=r()})(F0,(function(){return function(n,r){r.prototype.weekday=function(a){var o=this.$locale().weekStart||0,s=this.$W,c=(s<o?s+7:s)-o;return this.$utils().u(a)?c:this.subtract(c,"day").add(a,"day")}}}))})(zn)),zn.exports}var V0=T0();const z0=_t(V0);var Bn={exports:{}},B0=Bn.exports,Oa;function j0(){return Oa||(Oa=1,(function(e,t){(function(n,r){e.exports=r()})(B0,(function(){return function(n,r,a){var o=r.prototype,s=function(d){return d&&(d.indexOf?d:d.s)},c=function(d,g,m,p,y){var w=d.name?d:d.$locale(),I=s(w[g]),i=s(w[m]),C=I||i.map((function(D){return D.slice(0,p)}));if(!y)return C;var h=w.weekStart;return C.map((function(D,L){return C[(L+(h||0))%7]}))},l=function(){return a.Ls[a.locale()]},v=function(d,g){return d.formats[g]||(function(m){return m.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(p,y,w){return y||w.slice(1)}))})(d.formats[g.toUpperCase()])},u=function(){var d=this;return{months:function(g){return g?g.format("MMMM"):c(d,"months")},monthsShort:function(g){return g?g.format("MMM"):c(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(g){return g?g.format("dddd"):c(d,"weekdays")},weekdaysMin:function(g){return g?g.format("dd"):c(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(g){return g?g.format("ddd"):c(d,"weekdaysShort","weekdays",3)},longDateFormat:function(g){return v(d.$locale(),g)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return u.bind(this)()},a.localeData=function(){var d=l();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(g){return v(d,g)},meridiem:d.meridiem,ordinal:d.ordinal}},a.months=function(){return c(l(),"months")},a.monthsShort=function(){return c(l(),"monthsShort","months",3)},a.weekdays=function(d){return c(l(),"weekdays",null,null,d)},a.weekdaysShort=function(d){return c(l(),"weekdaysShort","weekdays",3,d)},a.weekdaysMin=function(d){return c(l(),"weekdaysMin","weekdays",2,d)}}}))})(Bn)),Bn.exports}var Y0=j0();const _0=_t(Y0);var jn={exports:{}},W0=jn.exports,Ra;function Z0(){return Ra||(Ra=1,(function(e,t){(function(n,r){e.exports=r()})(W0,(function(){var n="week",r="year";return function(a,o,s){var c=o.prototype;c.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var v=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=s(this).startOf(r).add(1,r).date(v),d=s(this).endOf(n);if(u.isBefore(d))return 1}var g=s(this).startOf(r).date(v).startOf(n).subtract(1,"millisecond"),m=this.diff(g,n,!0);return m<0?s(this).startOf("week").week():Math.ceil(m)},c.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}}))})(jn)),jn.exports}var U0=Z0();const q0=_t(U0);var Yn={exports:{}},G0=Yn.exports,Fa;function Q0(){return Fa||(Fa=1,(function(e,t){(function(n,r){e.exports=r()})(G0,(function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),o=this.week(),s=this.year();return o===1&&a===11?s+1:a===0&&o>=52?s-1:s}}}))})(Yn)),Yn.exports}var K0=Q0();const X0=_t(K0);var _n={exports:{}},J0=_n.exports,Ta;function e2(){return Ta||(Ta=1,(function(e,t){(function(n,r){e.exports=r()})(J0,(function(){return function(n,r){var a=r.prototype,o=a.format;a.format=function(s){var c=this,l=this.$locale();if(!this.isValid())return o.bind(this)(s);var v=this.$utils(),u=(s||"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(d){switch(d){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return l.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return l.ordinal(c.week(),"W");case"w":case"ww":return v.s(c.week(),d==="w"?1:2,"0");case"W":case"WW":return v.s(c.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return v.s(String(c.$H===0?24:c.$H),d==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return d}}));return o.bind(this)(u)}}}))})(_n)),_n.exports}var t2=e2();const n2=_t(t2);var Wn={exports:{}},r2=Wn.exports,Va;function a2(){return Va||(Va=1,(function(e,t){(function(n,r){e.exports=r()})(r2,(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,a=/\d/,o=/\d\d/,s=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,l={},v=function(w){return(w=+w)+(w>68?1900:2e3)},u=function(w){return function(I){this[w]=+I}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(w){(this.zone||(this.zone={})).offset=(function(I){if(!I||I==="Z")return 0;var i=I.match(/([+-]|\d\d)/g),C=60*i[1]+(+i[2]||0);return C===0?0:i[0]==="+"?-C:C})(w)}],g=function(w){var I=l[w];return I&&(I.indexOf?I:I.s.concat(I.f))},m=function(w,I){var i,C=l.meridiem;if(C){for(var h=1;h<=24;h+=1)if(w.indexOf(C(h,0,I))>-1){i=h>12;break}}else i=w===(I?"pm":"PM");return i},p={A:[c,function(w){this.afternoon=m(w,!1)}],a:[c,function(w){this.afternoon=m(w,!0)}],Q:[a,function(w){this.month=3*(w-1)+1}],S:[a,function(w){this.milliseconds=100*+w}],SS:[o,function(w){this.milliseconds=10*+w}],SSS:[/\d{3}/,function(w){this.milliseconds=+w}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[o,u("day")],Do:[c,function(w){var I=l.ordinal,i=w.match(/\d+/);if(this.day=i[0],I)for(var C=1;C<=31;C+=1)I(C).replace(/\[|\]/g,"")===w&&(this.day=C)}],w:[s,u("week")],ww:[o,u("week")],M:[s,u("month")],MM:[o,u("month")],MMM:[c,function(w){var I=g("months"),i=(g("monthsShort")||I.map((function(C){return C.slice(0,3)}))).indexOf(w)+1;if(i<1)throw new Error;this.month=i%12||i}],MMMM:[c,function(w){var I=g("months").indexOf(w)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,u("year")],YY:[o,function(w){this.year=v(w)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function y(w){var I,i;I=w,i=l&&l.formats;for(var C=(w=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(E,N,q){var W=q&&q.toUpperCase();return N||i[q]||n[q]||i[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(M,S,x){return S||x.slice(1)}))}))).match(r),h=C.length,D=0;D<h;D+=1){var L=C[D],O=p[L],j=O&&O[0],z=O&&O[1];C[D]=z?{regex:j,parser:z}:L.replace(/^\[|\]$/g,"")}return function(E){for(var N={},q=0,W=0;q<h;q+=1){var M=C[q];if(typeof M=="string")W+=M.length;else{var S=M.regex,x=M.parser,P=E.slice(W),$=S.exec(P)[0];x.call(N,$),E=E.replace($,"")}}return(function(R){var F=R.afternoon;if(F!==void 0){var T=R.hours;F?T<12&&(R.hours+=12):T===12&&(R.hours=0),delete R.afternoon}})(N),N}}return function(w,I,i){i.p.customParseFormat=!0,w&&w.parseTwoDigitYear&&(v=w.parseTwoDigitYear);var C=I.prototype,h=C.parse;C.parse=function(D){var L=D.date,O=D.utc,j=D.args;this.$u=O;var z=j[1];if(typeof z=="string"){var E=j[2]===!0,N=j[3]===!0,q=E||N,W=j[2];N&&(W=j[2]),l=this.$locale(),!E&&W&&(l=i.Ls[W]),this.$d=(function(P,$,R,F){try{if(["x","X"].indexOf($)>-1)return new Date(($==="X"?1e3:1)*P);var T=y($)(P),V=T.year,Y=T.month,Z=T.day,J=T.hours,H=T.minutes,A=T.seconds,B=T.milliseconds,b=T.zone,_=T.week,G=new Date,U=Z||(V||Y?1:G.getDate()),Q=V||G.getFullYear(),ie=0;V&&!Y||(ie=Y>0?Y-1:G.getMonth());var ge,se=J||0,Se=H||0,ve=A||0,Ae=B||0;return b?new Date(Date.UTC(Q,ie,U,se,Se,ve,Ae+60*b.offset*1e3)):R?new Date(Date.UTC(Q,ie,U,se,Se,ve,Ae)):(ge=new Date(Q,ie,U,se,Se,ve,Ae),_&&(ge=F(ge).week(_).toDate()),ge)}catch{return new Date("")}})(L,z,O,i),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),q&&L!=this.format(z)&&(this.$d=new Date("")),l={}}else if(z instanceof Array)for(var M=z.length,S=1;S<=M;S+=1){j[1]=z[S-1];var x=i.apply(this,j);if(x.isValid()){this.$d=x.$d,this.$L=x.$L,this.init();break}S===M&&(this.$d=new Date(""))}else h.call(this,D)}}}))})(Wn)),Wn.exports}var o2=a2();const i2=_t(o2);mt.extend(i2);mt.extend(n2);mt.extend(z0);mt.extend(_0);mt.extend(q0);mt.extend(X0);mt.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(o){var s=(o||"").replace("Wo","wo");return r.bind(this)(s)}});var l2={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"},zt=function(t){var n=l2[t];return n||t.split("_")[0]},s2={getNow:function(){var t=mt();return typeof t.tz=="function"?t.tz():t},getFixedDate:function(t){return mt(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 mt().locale(zt(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(zt(t)).weekday(0)},getWeek:function(t,n){return n.locale(zt(t)).week()},getShortWeekDays:function(t){return mt().locale(zt(t)).localeData().weekdaysMin()},getShortMonths:function(t){return mt().locale(zt(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(zt(t)).format(r)},parse:function(t,n,r){for(var a=zt(t),o=0;o<r.length;o+=1){var s=r[o],c=n;if(s.includes("wo")||s.includes("Wo")){for(var l=c.split("-")[0],v=c.split("-")[1],u=mt(l,"YYYY").startOf("year").locale(a),d=0;d<=52;d+=1){var g=u.add(d,"week");if(g.format("Wo")===v)return g}return null}var m=mt(c,s,!0).locale(a);if(m.isValid())return m}return null}}};function c2(e,t){return e!==void 0?e:t?"bottomRight":"bottomLeft"}var xt=f.createContext(null),u2={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 To(e){var t=e.popupElement,n=e.popupStyle,r=e.popupClassName,a=e.popupAlign,o=e.transitionName,s=e.getPopupContainer,c=e.children,l=e.range,v=e.placement,u=e.builtinPlacements,d=u===void 0?u2:u,g=e.direction,m=e.visible,p=e.onClose,y=f.useContext(xt),w=y.prefixCls,I="".concat(w,"-dropdown"),i=c2(v,g==="rtl");return f.createElement(al,{showAction:[],hideAction:["click"],popupPlacement:i,builtinPlacements:d,prefixCls:I,popupTransitionName:o,popup:t,popupAlign:a,popupVisible:m,popupClassName:He(r,De(De({},"".concat(I,"-range"),l),"".concat(I,"-rtl"),g==="rtl")),popupStyle:n,stretch:"minWidth",getPopupContainer:s,onPopupVisibleChange:function(h){h||p()}},c)}function ca(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 Zt(e){return e==null?[]:Array.isArray(e)?e:[e]}function bn(e,t,n){var r=lt(e);return r[t]=n,r}function or(e,t){var n={},r=t||Object.keys(e);return r.forEach(function(a){e[a]!==void 0&&(n[a]=e[a])}),n}function Vo(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 zo(e,t,n){var r=n!==void 0?n:t[t.length-1],a=t.find(function(o){return e[o]});return r!==a?e[a]:void 0}function Bo(e){return or(e,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function ua(e,t,n,r){var a=f.useMemo(function(){return e||function(s,c){var l=s;return t&&c.type==="date"?t(l,c.today):n&&c.type==="month"?n(l,c.locale):c.originNode}},[e,n,t]),o=f.useCallback(function(s,c){return a(s,pe(pe({},c),{},{range:r}))},[a,r]);return o}function jo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=f.useState([!1,!1]),a=ne(r,2),o=a[0],s=a[1],c=function(u,d){s(function(g){return bn(g,d,u)})},l=f.useMemo(function(){return o.map(function(v,u){if(v)return!0;var d=e[u];return d?!!(!n[u]&&!d||d&&t(d,{activeIndex:u})):!1})},[e,o,t,n]);return[l,c]}function Yo(e,t,n,r,a){var o="",s=[];return e&&s.push(a?"hh":"HH"),t&&s.push("mm"),n&&s.push("ss"),o=s.join(":"),r&&(o+=".SSS"),a&&(o+=" A"),o}function d2(e,t,n,r,a,o){var s=e.fieldDateTimeFormat,c=e.fieldDateFormat,l=e.fieldTimeFormat,v=e.fieldMonthFormat,u=e.fieldYearFormat,d=e.fieldWeekFormat,g=e.fieldQuarterFormat,m=e.yearFormat,p=e.cellYearFormat,y=e.cellQuarterFormat,w=e.dayFormat,I=e.cellDateFormat,i=Yo(t,n,r,a,o);return pe(pe({},e),{},{fieldDateTimeFormat:s||"YYYY-MM-DD ".concat(i),fieldDateFormat:c||"YYYY-MM-DD",fieldTimeFormat:l||i,fieldMonthFormat:v||"YYYY-MM",fieldYearFormat:u||"YYYY",fieldWeekFormat:d||"gggg-wo",fieldQuarterFormat:g||"YYYY-[Q]Q",yearFormat:m||"YYYY",cellYearFormat:p||"YYYY",cellQuarterFormat:y||"[Q]Q",cellDateFormat:I||w||"D"})}function _o(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,o=t.showMillisecond,s=t.use12Hours;return Ee.useMemo(function(){return d2(e,n,r,a,o,s)},[e,n,r,a,o,s])}function mn(e,t,n){return n??t.some(function(r){return e.includes(r)})}var f2=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function m2(e){var t=or(e,f2),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=wn(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function v2(e){return e&&typeof e=="string"}function Wo(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function Zo(e,t,n,r,a){var o=t,s=n,c=r;if(!e&&!o&&!s&&!c&&!a)o=!0,s=!0,c=!0;else if(e){var l,v,u,d=[o,s,c].some(function(p){return p===!1}),g=[o,s,c].some(function(p){return p===!0}),m=d?!0:!g;o=(l=o)!==null&&l!==void 0?l:m,s=(v=s)!==null&&v!==void 0?v:m,c=(u=c)!==null&&u!==void 0?u:m}return[o,s,c,a]}function Uo(e){var t=e.showTime,n=m2(e),r=ne(n,2),a=r[0],o=r[1],s=t&&wn(t)==="object"?t:{},c=pe(pe({defaultOpenValue:s.defaultOpenValue||s.defaultValue},a),s),l=c.showMillisecond,v=c.showHour,u=c.showMinute,d=c.showSecond,g=Wo(v,u,d,l),m=Zo(g,v,u,d,l),p=ne(m,3);return v=p[0],u=p[1],d=p[2],[c,pe(pe({},c),{},{showHour:v,showMinute:u,showSecond:d,showMillisecond:l}),c.format,o]}function qo(e,t,n,r,a){var o=e==="time";if(e==="datetime"||o){for(var s=r,c=Vo(e,a,null),l=c,v=[t,n],u=0;u<v.length;u+=1){var d=Zt(v[u])[0];if(v2(d)){l=d;break}}var g=s.showHour,m=s.showMinute,p=s.showSecond,y=s.showMillisecond,w=s.use12Hours,I=mn(l,["a","A","LT","LLL","LTS"],w),i=Wo(g,m,p,y);i||(g=mn(l,["H","h","k","LT","LLL"]),m=mn(l,["m","LT","LLL"]),p=mn(l,["s","LTS"]),y=mn(l,["SSS"]));var C=Zo(i,g,m,p,y),h=ne(C,3);g=h[0],m=h[1],p=h[2];var D=t||Yo(g,m,p,y,I);return pe(pe({},s),{},{format:D,showHour:g,showMinute:m,showSecond:p,showMillisecond:y,use12Hours:I})}return null}function g2(e,t,n){if(t===!1)return null;var r=t&&wn(t)==="object"?t:{};return r.clearIcon||n||f.createElement("span",{className:"".concat(e,"-clear-btn")})}var Lr=7;function Tt(e,t,n){return!e&&!t||e===t?!0:!e||!t?!1:n()}function Vr(e,t,n){return Tt(t,n,function(){var r=Math.floor(e.getYear(t)/10),a=Math.floor(e.getYear(n)/10);return r===a})}function Yt(e,t,n){return Tt(t,n,function(){return e.getYear(t)===e.getYear(n)})}function za(e,t){var n=Math.floor(e.getMonth(t)/3);return n+1}function h2(e,t,n){return Tt(t,n,function(){return Yt(e,t,n)&&za(e,t)===za(e,n)})}function da(e,t,n){return Tt(t,n,function(){return Yt(e,t,n)&&e.getMonth(t)===e.getMonth(n)})}function fa(e,t,n){return Tt(t,n,function(){return Yt(e,t,n)&&da(e,t,n)&&e.getDate(t)===e.getDate(n)})}function Go(e,t,n){return Tt(t,n,function(){return e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)})}function Qo(e,t,n){return Tt(t,n,function(){return fa(e,t,n)&&Go(e,t,n)&&e.getMillisecond(t)===e.getMillisecond(n)})}function gn(e,t,n,r){return Tt(n,r,function(){var a=e.locale.getWeekFirstDate(t,n),o=e.locale.getWeekFirstDate(t,r);return Yt(e,a,o)&&e.locale.getWeek(t,n)===e.locale.getWeek(t,r)})}function ot(e,t,n,r,a){switch(a){case"date":return fa(e,n,r);case"week":return gn(e,t.locale,n,r);case"month":return da(e,n,r);case"quarter":return h2(e,n,r);case"year":return Yt(e,n,r);case"decade":return Vr(e,n,r);case"time":return Go(e,n,r);default:return Qo(e,n,r)}}function ir(e,t,n,r){return!t||!n||!r?!1:e.isAfter(r,t)&&e.isAfter(n,r)}function Ln(e,t,n,r,a){return ot(e,t,n,r,a)?!0:e.isAfter(n,r)}function p2(e,t,n){var r=t.locale.getWeekFirstDay(e),a=t.setDate(n,1),o=t.getWeekDay(a),s=t.addDate(a,r-o);return t.getMonth(s)===t.getMonth(n)&&t.getDate(s)>1&&(s=t.addDate(s,-7)),s}function Ke(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return e?typeof a=="function"?a(e):n.locale.format(r.locale,e,a):""}function qn(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(s,c){n?r=e[s](r,e[a[c]](n)):r=e[s](r,0)}),r}function b2(e,t,n,r,a){var o=rt(function(s,c){return!!(n&&n(s,c)||r&&e.isAfter(r,s)&&!ot(e,t,r,s,c.type)||a&&e.isAfter(s,a)&&!ot(e,t,a,s,c.type))});return o}function C2(e,t,n){return f.useMemo(function(){var r=Vo(e,t,n),a=Zt(r),o=a[0],s=wn(o)==="object"&&o.type==="mask"?o.format:null;return[a.map(function(c){return typeof c=="string"||typeof c=="function"?c:c.format}),s]},[e,t,n])}function x2(e,t,n){return typeof e[0]=="function"||n?!0:t}function y2(e,t,n,r){var a=rt(function(o,s){var c=pe({type:t},s);if(delete c.activeIndex,!e.isValidate(o)||n&&n(o,c))return!0;if((t==="date"||t==="time")&&r){var l,v=s&&s.activeIndex===1?"end":"start",u=((l=r.disabledTime)===null||l===void 0?void 0:l.call(r,o,v,{from:c.from}))||{},d=u.disabledHours,g=u.disabledMinutes,m=u.disabledSeconds,p=u.disabledMilliseconds,y=r.disabledHours,w=r.disabledMinutes,I=r.disabledSeconds,i=d||y,C=g||w,h=m||I,D=e.getHour(o),L=e.getMinute(o),O=e.getSecond(o),j=e.getMillisecond(o);if(i&&i().includes(D)||C&&C(D).includes(L)||h&&h(D,L).includes(O)||p&&p(D,L,O).includes(j))return!0}return!1});return a}function Pn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=f.useMemo(function(){var r=e&&Zt(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function Ko(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,o=a===void 0?"date":a,s=e.prefixCls,c=s===void 0?"rc-picker":s,l=e.styles,v=l===void 0?{}:l,u=e.classNames,d=u===void 0?{}:u,g=e.order,m=g===void 0?!0:g,p=e.components,y=p===void 0?{}:p,w=e.inputRender,I=e.allowClear,i=e.clearIcon,C=e.needConfirm,h=e.multiple,D=e.format,L=e.inputReadOnly,O=e.disabledDate,j=e.minDate,z=e.maxDate,E=e.showTime,N=e.value,q=e.defaultValue,W=e.pickerValue,M=e.defaultPickerValue,S=Pn(N),x=Pn(q),P=Pn(W),$=Pn(M),R=o==="date"&&E?"datetime":o,F=R==="time"||R==="datetime",T=F||h,V=C??F,Y=Uo(e),Z=ne(Y,4),J=Z[0],H=Z[1],A=Z[2],B=Z[3],b=_o(r,H),_=f.useMemo(function(){return qo(R,A,B,J,b)},[R,A,B,J,b]),G=f.useMemo(function(){return pe(pe({},e),{},{prefixCls:c,locale:b,picker:o,styles:v,classNames:d,order:m,components:pe({input:w},y),clearIcon:g2(c,I,i),showTime:_,value:S,defaultValue:x,pickerValue:P,defaultPickerValue:$},t==null?void 0:t())},[e]),U=C2(R,b,D),Q=ne(U,2),ie=Q[0],ge=Q[1],se=x2(ie,L,h),Se=b2(n,r,O,j,z),ve=y2(n,o,Se,_),Ae=f.useMemo(function(){return pe(pe({},G),{},{needConfirm:V,inputReadOnly:se,disabledDate:Se})},[G,V,se,Se]);return[Ae,R,T,ie,ge,ve]}function w2(e,t,n){var r=It(t,{value:e}),a=ne(r,2),o=a[0],s=a[1],c=Ee.useRef(e),l=Ee.useRef(),v=function(){Pt.cancel(l.current)},u=rt(function(){s(c.current),n&&o!==c.current&&n(c.current)}),d=rt(function(g,m){v(),c.current=g,g||m?u():l.current=Pt(u)});return Ee.useEffect(function(){return v},[]),[o,d]}function Xo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,a=n.every(function(u){return u})?!1:e,o=w2(a,t||!1,r),s=ne(o,2),c=s[0],l=s[1];function v(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!d.inherit||c)&&l(u,d.force)}return[c,v]}function Jo(e){var t=f.useRef();return f.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var o;(o=t.current)===null||o===void 0||o.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function ei(e,t){return f.useMemo(function(){return e||(t?(ol(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=ne(n,2),a=r[0],o=r[1];return{label:a,value:o}})):[])},[e,t])}function ma(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=f.useRef(t);r.current=t,il(function(){if(e)r.current(e);else{var a=Pt(function(){r.current(e)},n);return function(){Pt.cancel(a)}}},[e])}function ti(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=f.useState(0),a=ne(r,2),o=a[0],s=a[1],c=f.useState(!1),l=ne(c,2),v=l[0],u=l[1],d=f.useRef([]),g=f.useRef(null),m=f.useRef(null),p=function(h){g.current=h},y=function(h){return g.current===h},w=function(h){u(h)},I=function(h){return h&&(m.current=h),m.current},i=function(h){var D=d.current,L=new Set(D.filter(function(j){return h[j]||t[j]})),O=D[D.length-1]===0?1:0;return L.size>=2||e[O]?null:O};return ma(v||n,function(){v||(d.current=[],p(null))}),f.useEffect(function(){v&&d.current.push(o)},[v,o]),[v,w,I,o,s,i,d.current,p,y]}function S2(e,t,n,r,a,o){var s=n[n.length-1],c=function(v,u){var d=ne(e,2),g=d[0],m=d[1],p=pe(pe({},u),{},{from:zo(e,n)});return s===1&&t[0]&&g&&!ot(r,a,g,v,p.type)&&r.isAfter(g,v)||s===0&&t[1]&&m&&!ot(r,a,m,v,p.type)&&r.isAfter(v,m)?!0:o==null?void 0:o(v,p)};return c}function hn(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 Pr=[];function ni(e,t,n,r,a,o,s,c){var l=arguments.length>8&&arguments[8]!==void 0?arguments[8]:Pr,v=arguments.length>9&&arguments[9]!==void 0?arguments[9]:Pr,u=arguments.length>10&&arguments[10]!==void 0?arguments[10]:Pr,d=arguments.length>11?arguments[11]:void 0,g=arguments.length>12?arguments[12]:void 0,m=arguments.length>13?arguments[13]:void 0,p=s==="time",y=o||0,w=function(P){var $=e.getNow();return p&&($=qn(e,$)),l[P]||n[P]||$},I=ne(v,2),i=I[0],C=I[1],h=It(function(){return w(0)},{value:i}),D=ne(h,2),L=D[0],O=D[1],j=It(function(){return w(1)},{value:C}),z=ne(j,2),E=z[0],N=z[1],q=f.useMemo(function(){var x=[L,E][y];return p?x:qn(e,x,u[y])},[p,L,E,y,e,u]),W=function(P){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",R=[O,N][y];R(P);var F=[L,E];F[y]=P,d&&(!ot(e,t,L,F[0],s)||!ot(e,t,E,F[1],s))&&d(F,{source:$,range:y===1?"end":"start",mode:r})},M=function(P,$){if(c){var R={date:"month",week:"month",month:"year",quarter:"year"},F=R[s];if(F&&!ot(e,t,P,$,F))return hn(e,s,$,-1);if(s==="year"&&P){var T=Math.floor(e.getYear(P)/10),V=Math.floor(e.getYear($)/10);if(T!==V)return hn(e,s,$,-1)}}return $},S=f.useRef(null);return Rt(function(){if(a&&!l[y]){var x=p?null:e.getNow();if(S.current!==null&&S.current!==y?x=[L,E][y^1]:n[y]?x=y===0?n[0]:M(n[0],n[1]):n[y^1]&&(x=n[y^1]),x){g&&e.isAfter(g,x)&&(x=g);var P=c?hn(e,s,x,1):x;m&&e.isAfter(P,m)&&(x=c?hn(e,s,m,-1):m),W(x,"reset")}}},[a,y,n[y]]),f.useEffect(function(){a?S.current=y:S.current=null},[a,y]),Rt(function(){a&&l&&l[y]&&W(l[y],"reset")},[a,y]),[q,W]}function ri(e,t){var n=f.useRef(e),r=f.useState({}),a=ne(r,2),o=a[1],s=function(v){return v&&t!==void 0?t:n.current},c=function(v){n.current=v,o({})};return[s,c,s(!0)]}var k2=[];function ai(e,t,n){var r=function(s){return s.map(function(c){return Ke(c,{generateConfig:e,locale:t,format:n[0]})})},a=function(s,c){for(var l=Math.max(s.length,c.length),v=-1,u=0;u<l;u+=1){var d=s[u]||null,g=c[u]||null;if(d!==g&&!Qo(e,d,g)){v=u;break}}return[v<0,v!==0]};return[r,a]}function oi(e,t){return lt(e).sort(function(n,r){return t.isAfter(n,r)?1:-1})}function $2(e){var t=ri(e),n=ne(t,2),r=n[0],a=n[1],o=rt(function(){a(e)});return f.useEffect(function(){o()},[e]),[r,a]}function ii(e,t,n,r,a,o,s,c,l){var v=It(o,{value:s}),u=ne(v,2),d=u[0],g=u[1],m=d||k2,p=$2(m),y=ne(p,2),w=y[0],I=y[1],i=ai(e,t,n),C=ne(i,2),h=C[0],D=C[1],L=rt(function(j){var z=lt(j);if(r)for(var E=0;E<2;E+=1)z[E]=z[E]||null;else a&&(z=oi(z.filter(function(x){return x}),e));var N=D(w(),z),q=ne(N,2),W=q[0],M=q[1];if(!W&&(I(z),c)){var S=h(z);c(z,S,{range:M?"end":"start"})}}),O=function(){l&&l(w())};return[m,g,w,L,O]}function li(e,t,n,r,a,o,s,c,l,v){var u=e.generateConfig,d=e.locale,g=e.picker,m=e.onChange,p=e.allowEmpty,y=e.order,w=o.some(function(W){return W})?!1:y,I=ai(u,d,s),i=ne(I,2),C=i[0],h=i[1],D=ri(t),L=ne(D,2),O=L[0],j=L[1],z=rt(function(){j(t)});f.useEffect(function(){z()},[t]);var E=rt(function(W){var M=W===null,S=lt(W||O());if(M)for(var x=Math.max(o.length,S.length),P=0;P<x;P+=1)o[P]||(S[P]=null);w&&S[0]&&S[1]&&(S=oi(S,u)),a(S);var $=S,R=ne($,2),F=R[0],T=R[1],V=!F,Y=!T,Z=p?(!V||p[0])&&(!Y||p[1]):!0,J=!y||V||Y||ot(u,d,F,T,g)||u.isAfter(T,F),H=(o[0]||!F||!v(F,{activeIndex:0}))&&(o[1]||!T||!v(T,{from:F,activeIndex:1})),A=M||Z&&J&&H;if(A){n(S);var B=h(S,t),b=ne(B,1),_=b[0];m&&!_&&m(M&&S.every(function(G){return!G})?null:S,C(S))}return A}),N=rt(function(W,M){var S=bn(O(),W,r()[W]);j(S),M&&E()}),q=!c&&!l;return ma(!q,function(){q&&(E(),a(t),z())},2),[N,E]}function si(e,t,n,r,a){return t!=="date"&&t!=="time"?!1:n!==void 0?n:r!==void 0?r:!a&&(e==="date"||e==="time")}function M2(e,t,n,r,a,o){var s=e;function c(d,g,m){var p=o[d](s),y=m.find(function(C){return C.value===p});if(!y||y.disabled){var w=m.filter(function(C){return!C.disabled}),I=lt(w).reverse(),i=I.find(function(C){return C.value<=p})||w[0];i&&(p=i.value,s=o[g](s,p))}return p}var l=c("getHour","setHour",t()),v=c("getMinute","setMinute",n(l)),u=c("getSecond","setSecond",r(l,v));return c("getMillisecond","setMillisecond",a(l,v,u)),s}function En(){return[]}function An(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,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,s=[],c=n>=1?n|0:1,l=e;l<=t;l+=c){var v=a.includes(l);(!v||!r)&&s.push({label:ca(l,o),value:l,disabled:v})}return s}function va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},a=r.use12Hours,o=r.hourStep,s=o===void 0?1:o,c=r.minuteStep,l=c===void 0?1:c,v=r.secondStep,u=v===void 0?1:v,d=r.millisecondStep,g=d===void 0?100:d,m=r.hideDisabledOptions,p=r.disabledTime,y=r.disabledHours,w=r.disabledMinutes,I=r.disabledSeconds,i=f.useMemo(function(){return n||e.getNow()},[n,e]),C=f.useCallback(function($){var R=(p==null?void 0:p($))||{};return[R.disabledHours||y||En,R.disabledMinutes||w||En,R.disabledSeconds||I||En,R.disabledMilliseconds||En]},[p,y,w,I]),h=f.useMemo(function(){return C(i)},[i,C]),D=ne(h,4),L=D[0],O=D[1],j=D[2],z=D[3],E=f.useCallback(function($,R,F,T){var V=An(0,23,s,m,$()),Y=a?V.map(function(A){return pe(pe({},A),{},{label:ca(A.value%12||12,2)})}):V,Z=function(B){return An(0,59,l,m,R(B))},J=function(B,b){return An(0,59,u,m,F(B,b))},H=function(B,b,_){return An(0,999,g,m,T(B,b,_),3)};return[Y,Z,J,H]},[m,s,a,g,l,u]),N=f.useMemo(function(){return E(L,O,j,z)},[E,L,O,j,z]),q=ne(N,4),W=q[0],M=q[1],S=q[2],x=q[3],P=function(R,F){var T=function(){return W},V=M,Y=S,Z=x;if(F){var J=C(F),H=ne(J,4),A=H[0],B=H[1],b=H[2],_=H[3],G=E(A,B,b,_),U=ne(G,4),Q=U[0],ie=U[1],ge=U[2],se=U[3];T=function(){return Q},V=ie,Y=ge,Z=se}var Se=M2(R,T,V,Y,Z,e);return Se};return[P,W,M,S,x]}function I2(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,o=e.showTime,s=e.onSubmit,c=e.onNow,l=e.invalid,v=e.needConfirm,u=e.generateConfig,d=e.disabledDate,g=f.useContext(xt),m=g.prefixCls,p=g.locale,y=g.button,w=y===void 0?"button":y,I=u.getNow(),i=va(u,o,I),C=ne(i,1),h=C[0],D=r==null?void 0:r(t),L=d(I,{type:t}),O=function(){if(!L){var M=h(I);c(M)}},j="".concat(m,"-now"),z="".concat(j,"-btn"),E=a&&f.createElement("li",{className:j},f.createElement("a",{className:He(z,L&&"".concat(z,"-disabled")),"aria-disabled":L,onClick:O},n==="date"?p.today:p.now)),N=v&&f.createElement("li",{className:"".concat(m,"-ok")},f.createElement(w,{disabled:l,onClick:s},p.ok)),q=(E||N)&&f.createElement("ul",{className:"".concat(m,"-ranges")},E,N);return!D&&!q?null:f.createElement("div",{className:"".concat(m,"-footer")},D&&f.createElement("div",{className:"".concat(m,"-footer-extra")},D),q)}function ci(e,t,n){function r(a,o){var s=a.findIndex(function(l){return ot(e,t,l,o,n)});if(s===-1)return[].concat(lt(a),[o]);var c=lt(a);return c.splice(s,1),c}return r}var Ut=f.createContext(null);function lr(){return f.useContext(Ut)}function an(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,o=e.disabledDate,s=e.minDate,c=e.maxDate,l=e.cellRender,v=e.hoverValue,u=e.hoverRangeValue,d=e.onHover,g=e.values,m=e.pickerValue,p=e.onSelect,y=e.prevIcon,w=e.nextIcon,I=e.superPrevIcon,i=e.superNextIcon,C=r.getNow(),h={now:C,values:g,pickerValue:m,prefixCls:n,disabledDate:o,minDate:s,maxDate:c,cellRender:l,hoverValue:v,hoverRangeValue:u,onHover:d,locale:a,generateConfig:r,onSelect:p,panelType:t,prevIcon:y,nextIcon:w,superPrevIcon:I,superNextIcon:i};return[h,C]}var Ot=f.createContext({});function Sn(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,o=e.prefixColumn,s=e.rowClassName,c=e.titleFormat,l=e.getCellText,v=e.getCellClassName,u=e.headerCells,d=e.cellSelection,g=d===void 0?!0:d,m=e.disabledDate,p=lr(),y=p.prefixCls,w=p.panelType,I=p.now,i=p.disabledDate,C=p.cellRender,h=p.onHover,D=p.hoverValue,L=p.hoverRangeValue,O=p.generateConfig,j=p.values,z=p.locale,E=p.onSelect,N=m||i,q="".concat(y,"-cell"),W=f.useContext(Ot),M=W.onCellDblClick,S=function(Y){return j.some(function(Z){return Z&&ot(O,z,Y,Z,w)})},x=[],P=0;P<t;P+=1){for(var $=[],R=void 0,F=function(){var Y=P*n+T,Z=a(r,Y),J=N==null?void 0:N(Z,{type:w});T===0&&(R=Z,o&&$.push(o(R)));var H=!1,A=!1,B=!1;if(g&&L){var b=ne(L,2),_=b[0],G=b[1];H=ir(O,_,G,Z),A=ot(O,z,Z,_,w),B=ot(O,z,Z,G,w)}var U=c?Ke(Z,{locale:z,format:c,generateConfig:O}):void 0,Q=f.createElement("div",{className:"".concat(q,"-inner")},l(Z));$.push(f.createElement("td",{key:T,title:U,className:He(q,pe(De(De(De(De(De(De({},"".concat(q,"-disabled"),J),"".concat(q,"-hover"),(D||[]).some(function(ie){return ot(O,z,Z,ie,w)})),"".concat(q,"-in-range"),H&&!A&&!B),"".concat(q,"-range-start"),A),"".concat(q,"-range-end"),B),"".concat(y,"-cell-selected"),!L&&w!=="week"&&S(Z)),v(Z))),onClick:function(){J||E(Z)},onDoubleClick:function(){!J&&M&&M()},onMouseEnter:function(){J||h==null||h(Z)},onMouseLeave:function(){J||h==null||h(null)}},C?C(Z,{prefixCls:y,originNode:Q,today:I,type:w,locale:z}):Q))},T=0;T<n;T+=1)F();x.push(f.createElement("tr",{key:P,className:s==null?void 0:s(R)},$))}return f.createElement("div",{className:"".concat(y,"-body")},f.createElement("table",{className:"".concat(y,"-content")},u&&f.createElement("thead",null,f.createElement("tr",null,u)),f.createElement("tbody",null,x)))}var Nn={visibility:"hidden"};function on(e){var t=e.offset,n=e.superOffset,r=e.onChange,a=e.getStart,o=e.getEnd,s=e.children,c=lr(),l=c.prefixCls,v=c.prevIcon,u=v===void 0?"\u2039":v,d=c.nextIcon,g=d===void 0?"\u203A":d,m=c.superPrevIcon,p=m===void 0?"\xAB":m,y=c.superNextIcon,w=y===void 0?"\xBB":y,I=c.minDate,i=c.maxDate,C=c.generateConfig,h=c.locale,D=c.pickerValue,L=c.panelType,O="".concat(l,"-header"),j=f.useContext(Ot),z=j.hidePrev,E=j.hideNext,N=j.hideHeader,q=f.useMemo(function(){if(!I||!t||!o)return!1;var V=o(t(-1,D));return!Ln(C,h,V,I,L)},[I,t,D,o,C,h,L]),W=f.useMemo(function(){if(!I||!n||!o)return!1;var V=o(n(-1,D));return!Ln(C,h,V,I,L)},[I,n,D,o,C,h,L]),M=f.useMemo(function(){if(!i||!t||!a)return!1;var V=a(t(1,D));return!Ln(C,h,i,V,L)},[i,t,D,a,C,h,L]),S=f.useMemo(function(){if(!i||!n||!a)return!1;var V=a(n(1,D));return!Ln(C,h,i,V,L)},[i,n,D,a,C,h,L]),x=function(Y){t&&r(t(Y,D))},P=function(Y){n&&r(n(Y,D))};if(N)return null;var $="".concat(O,"-prev-btn"),R="".concat(O,"-next-btn"),F="".concat(O,"-super-prev-btn"),T="".concat(O,"-super-next-btn");return f.createElement("div",{className:O},n&&f.createElement("button",{type:"button","aria-label":h.previousYear,onClick:function(){return P(-1)},tabIndex:-1,className:He(F,W&&"".concat(F,"-disabled")),disabled:W,style:z?Nn:{}},p),t&&f.createElement("button",{type:"button","aria-label":h.previousMonth,onClick:function(){return x(-1)},tabIndex:-1,className:He($,q&&"".concat($,"-disabled")),disabled:q,style:z?Nn:{}},u),f.createElement("div",{className:"".concat(O,"-view")},s),t&&f.createElement("button",{type:"button","aria-label":h.nextMonth,onClick:function(){return x(1)},tabIndex:-1,className:He(R,M&&"".concat(R,"-disabled")),disabled:M,style:E?Nn:{}},g),n&&f.createElement("button",{type:"button","aria-label":h.nextYear,onClick:function(){return P(1)},tabIndex:-1,className:He(T,S&&"".concat(T,"-disabled")),disabled:S,style:E?Nn:{}},w))}function sr(e){var t=e.prefixCls,n=e.panelName,r=n===void 0?"date":n,a=e.locale,o=e.generateConfig,s=e.pickerValue,c=e.onPickerValueChange,l=e.onModeChange,v=e.mode,u=v===void 0?"date":v,d=e.disabledDate,g=e.onSelect,m=e.onHover,p=e.showWeek,y="".concat(t,"-").concat(r,"-panel"),w="".concat(t,"-cell"),I=u==="week",i=an(e,u),C=ne(i,2),h=C[0],D=C[1],L=o.locale.getWeekFirstDay(a.locale),O=o.setDate(s,1),j=p2(a.locale,o,O),z=o.getMonth(s),E=p===void 0?I:p,N=E?function(V){var Y=d==null?void 0:d(V,{type:"week"});return f.createElement("td",{key:"week",className:He(w,"".concat(w,"-week"),De({},"".concat(w,"-disabled"),Y)),onClick:function(){Y||g(V)},onMouseEnter:function(){Y||m==null||m(V)},onMouseLeave:function(){Y||m==null||m(null)}},f.createElement("div",{className:"".concat(w,"-inner")},o.locale.getWeek(a.locale,V)))}:null,q=[],W=a.shortWeekDays||(o.locale.getShortWeekDays?o.locale.getShortWeekDays(a.locale):[]);N&&q.push(f.createElement("th",{key:"empty"},f.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},a.week)));for(var M=0;M<Lr;M+=1)q.push(f.createElement("th",{key:M},W[(M+L)%Lr]));var S=function(Y,Z){return o.addDate(Y,Z)},x=function(Y){return Ke(Y,{locale:a,format:a.cellDateFormat,generateConfig:o})},P=function(Y){var Z=De(De({},"".concat(t,"-cell-in-view"),da(o,Y,s)),"".concat(t,"-cell-today"),fa(o,Y,D));return Z},$=a.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(a.locale):[]),R=f.createElement("button",{type:"button","aria-label":a.yearSelect,key:"year",onClick:function(){l("year",s)},tabIndex:-1,className:"".concat(t,"-year-btn")},Ke(s,{locale:a,format:a.yearFormat,generateConfig:o})),F=f.createElement("button",{type:"button","aria-label":a.monthSelect,key:"month",onClick:function(){l("month",s)},tabIndex:-1,className:"".concat(t,"-month-btn")},a.monthFormat?Ke(s,{locale:a,format:a.monthFormat,generateConfig:o}):$[z]),T=a.monthBeforeYear?[F,R]:[R,F];return f.createElement(Ut.Provider,{value:h},f.createElement("div",{className:He(y,p&&"".concat(y,"-show-week"))},f.createElement(on,{offset:function(Y){return o.addMonth(s,Y)},superOffset:function(Y){return o.addYear(s,Y)},onChange:c,getStart:function(Y){return o.setDate(Y,1)},getEnd:function(Y){var Z=o.setDate(Y,1);return Z=o.addMonth(Z,1),o.addDate(Z,-1)}},T),f.createElement(Sn,Ne({titleFormat:a.fieldDateFormat},e,{colNum:Lr,rowNum:6,baseDate:j,headerCells:q,getCellDate:S,getCellText:x,getCellClassName:P,prefixColumn:N,cellSelection:!I}))))}var D2=1/3;function L2(e,t){var n=f.useRef(!1),r=f.useRef(null),a=f.useRef(null),o=function(){return n.current},s=function(){Pt.cancel(r.current),n.current=!1},c=f.useRef(),l=function(){var d=e.current;if(a.current=null,c.current=0,d){var g=d.querySelector('[data-value="'.concat(t,'"]')),m=d.querySelector("li"),p=function y(){s(),n.current=!0,c.current+=1;var w=d.scrollTop,I=m.offsetTop,i=g.offsetTop,C=i-I;if(i===0&&g!==m||!ll(d)){c.current<=5&&(r.current=Pt(y));return}var h=w+(C-w)*D2,D=Math.abs(C-h);if(a.current!==null&&a.current<D){s();return}if(a.current=D,D<=1){d.scrollTop=C,s();return}d.scrollTop=h,r.current=Pt(y)};g&&m&&p()}},v=rt(l);return[v,s,o]}var P2=300;function E2(e){return e.map(function(t){var n=t.value,r=t.label,a=t.disabled;return[n,r,a].join(",")}).join(";")}function vn(e){var t=e.units,n=e.value,r=e.optionalValue,a=e.type,o=e.onChange,s=e.onHover,c=e.onDblClick,l=e.changeOnScroll,v=lr(),u=v.prefixCls,d=v.cellRender,g=v.now,m=v.locale,p="".concat(u,"-time-panel"),y="".concat(u,"-time-panel-cell"),w=f.useRef(null),I=f.useRef(),i=function(){clearTimeout(I.current)},C=L2(w,n??r),h=ne(C,3),D=h[0],L=h[1],O=h[2];Rt(function(){return D(),i(),function(){L(),i()}},[n,r,E2(t)]);var j=function(N){i();var q=N.target;!O()&&l&&(I.current=setTimeout(function(){var W=w.current,M=W.querySelector("li").offsetTop,S=Array.from(W.querySelectorAll("li")),x=S.map(function(T){return T.offsetTop-M}),P=x.map(function(T,V){return t[V].disabled?Number.MAX_SAFE_INTEGER:Math.abs(T-q.scrollTop)}),$=Math.min.apply(Math,lt(P)),R=P.findIndex(function(T){return T===$}),F=t[R];F&&!F.disabled&&o(F.value)},P2))},z="".concat(p,"-column");return f.createElement("ul",{className:z,ref:w,"data-type":a,onScroll:j},t.map(function(E){var N=E.label,q=E.value,W=E.disabled,M=f.createElement("div",{className:"".concat(y,"-inner")},N);return f.createElement("li",{key:q,className:He(y,De(De({},"".concat(y,"-selected"),n===q),"".concat(y,"-disabled"),W)),onClick:function(){W||o(q)},onDoubleClick:function(){!W&&c&&c()},onMouseEnter:function(){s(q)},onMouseLeave:function(){s(null)},"data-value":q},d?d(q,{prefixCls:u,originNode:M,today:g,type:"time",subType:a,locale:m}):M)}))}function Ht(e){return e<12}function A2(e){var t=e.showHour,n=e.showMinute,r=e.showSecond,a=e.showMillisecond,o=e.use12Hours,s=e.changeOnScroll,c=lr(),l=c.prefixCls,v=c.values,u=c.generateConfig,d=c.locale,g=c.onSelect,m=c.onHover,p=m===void 0?function(){}:m,y=c.pickerValue,w=(v==null?void 0:v[0])||null,I=f.useContext(Ot),i=I.onCellDblClick,C=va(u,e,w),h=ne(C,5),D=h[0],L=h[1],O=h[2],j=h[3],z=h[4],E=function(oe){var Re=w&&u[oe](w),Fe=y&&u[oe](y);return[Re,Fe]},N=E("getHour"),q=ne(N,2),W=q[0],M=q[1],S=E("getMinute"),x=ne(S,2),P=x[0],$=x[1],R=E("getSecond"),F=ne(R,2),T=F[0],V=F[1],Y=E("getMillisecond"),Z=ne(Y,2),J=Z[0],H=Z[1],A=W===null?null:Ht(W)?"am":"pm",B=f.useMemo(function(){return o?Ht(W)?L.filter(function(ee){return Ht(ee.value)}):L.filter(function(ee){return!Ht(ee.value)}):L},[W,L,o]),b=function(oe,Re){var Fe,_e=oe.filter(function(ct){return!ct.disabled});return Re??(_e==null||(Fe=_e[0])===null||Fe===void 0?void 0:Fe.value)},_=b(L,W),G=f.useMemo(function(){return O(_)},[O,_]),U=b(G,P),Q=f.useMemo(function(){return j(_,U)},[j,_,U]),ie=b(Q,T),ge=f.useMemo(function(){return z(_,U,ie)},[z,_,U,ie]),se=b(ge,J),Se=f.useMemo(function(){if(!o)return[];var ee=u.getNow(),oe=u.setHour(ee,6),Re=u.setHour(ee,18),Fe=function(ct,Xe){var ut=d.cellMeridiemFormat;return ut?Ke(ct,{generateConfig:u,locale:d,format:ut}):Xe};return[{label:Fe(oe,"AM"),value:"am",disabled:L.every(function(_e){return _e.disabled||!Ht(_e.value)})},{label:Fe(Re,"PM"),value:"pm",disabled:L.every(function(_e){return _e.disabled||Ht(_e.value)})}]},[L,o,u,d]),ve=function(oe){var Re=D(oe);g(Re)},Ae=f.useMemo(function(){var ee=w||y||u.getNow(),oe=function(Fe){return Fe!=null};return oe(W)?(ee=u.setHour(ee,W),ee=u.setMinute(ee,P),ee=u.setSecond(ee,T),ee=u.setMillisecond(ee,J)):oe(M)?(ee=u.setHour(ee,M),ee=u.setMinute(ee,$),ee=u.setSecond(ee,V),ee=u.setMillisecond(ee,H)):oe(_)&&(ee=u.setHour(ee,_),ee=u.setMinute(ee,U),ee=u.setSecond(ee,ie),ee=u.setMillisecond(ee,se)),ee},[w,y,W,P,T,J,_,U,ie,se,M,$,V,H,u]),Ie=function(oe,Re){return oe===null?null:u[Re](Ae,oe)},ke=function(oe){return Ie(oe,"setHour")},$e=function(oe){return Ie(oe,"setMinute")},je=function(oe){return Ie(oe,"setSecond")},Ve=function(oe){return Ie(oe,"setMillisecond")},Te=function(oe){return oe===null?null:oe==="am"&&!Ht(W)?u.setHour(Ae,W-12):oe==="pm"&&Ht(W)?u.setHour(Ae,W+12):Ae},xe=function(oe){ve(ke(oe))},Ye=function(oe){ve($e(oe))},Oe=function(oe){ve(je(oe))},Be=function(oe){ve(Ve(oe))},K=function(oe){ve(Te(oe))},me=function(oe){p(ke(oe))},ae=function(oe){p($e(oe))},fe=function(oe){p(je(oe))},X=function(oe){p(Ve(oe))},te=function(oe){p(Te(oe))},le={onDblClick:i,changeOnScroll:s};return f.createElement("div",{className:"".concat(l,"-content")},t&&f.createElement(vn,Ne({units:B,value:W,optionalValue:M,type:"hour",onChange:xe,onHover:me},le)),n&&f.createElement(vn,Ne({units:G,value:P,optionalValue:$,type:"minute",onChange:Ye,onHover:ae},le)),r&&f.createElement(vn,Ne({units:Q,value:T,optionalValue:V,type:"second",onChange:Oe,onHover:fe},le)),a&&f.createElement(vn,Ne({units:ge,value:J,optionalValue:H,type:"millisecond",onChange:Be,onHover:X},le)),o&&f.createElement(vn,Ne({units:Se,value:A,type:"meridiem",onChange:K,onHover:te},le)))}function ui(e){var t=e.prefixCls,n=e.value,r=e.locale,a=e.generateConfig,o=e.showTime,s=o||{},c=s.format,l="".concat(t,"-time-panel"),v=an(e,"time"),u=ne(v,1),d=u[0];return f.createElement(Ut.Provider,{value:d},f.createElement("div",{className:He(l)},f.createElement(on,null,n?Ke(n,{locale:r,format:c,generateConfig:a}):"\xA0"),f.createElement(A2,o)))}function N2(e){var t=e.prefixCls,n=e.generateConfig,r=e.showTime,a=e.onSelect,o=e.value,s=e.pickerValue,c=e.onHover,l="".concat(t,"-datetime-panel"),v=va(n,r),u=ne(v,1),d=u[0],g=function(w){return o?qn(n,w,o):qn(n,w,s)},m=function(w){c==null||c(w&&g(w))},p=function(w){var I=g(w);a(d(I,I))};return f.createElement("div",{className:l},f.createElement(sr,Ne({},e,{onSelect:p,onHover:m})),f.createElement(ui,e))}function H2(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,a=e.pickerValue,o=e.disabledDate,s=e.onPickerValueChange,c="".concat(t,"-decade-panel"),l=an(e,"decade"),v=ne(l,1),u=v[0],d=function(L){var O=Math.floor(r.getYear(L)/100)*100;return r.setYear(L,O)},g=function(L){var O=d(L);return r.addYear(O,99)},m=d(a),p=g(a),y=r.addYear(m,-10),w=function(L,O){return r.addYear(L,O*10)},I=function(L){var O=n.cellYearFormat,j=Ke(L,{locale:n,format:O,generateConfig:r}),z=Ke(r.addYear(L,9),{locale:n,format:O,generateConfig:r});return"".concat(j,"-").concat(z)},i=function(L){return De({},"".concat(t,"-cell-in-view"),Vr(r,L,m)||Vr(r,L,p)||ir(r,m,p,L))},C=o?function(D,L){var O=r.setDate(D,1),j=r.setMonth(O,0),z=r.setYear(j,Math.floor(r.getYear(j)/10)*10),E=r.addYear(z,10),N=r.addDate(E,-1);return o(z,L)&&o(N,L)}:null,h="".concat(Ke(m,{locale:n,format:n.yearFormat,generateConfig:r}),"-").concat(Ke(p,{locale:n,format:n.yearFormat,generateConfig:r}));return f.createElement(Ut.Provider,{value:u},f.createElement("div",{className:c},f.createElement(on,{superOffset:function(L){return r.addYear(a,L*100)},onChange:s,getStart:d,getEnd:g},h),f.createElement(Sn,Ne({},e,{disabledDate:C,colNum:3,rowNum:4,baseDate:y,getCellDate:w,getCellText:I,getCellClassName:i}))))}function O2(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,a=e.pickerValue,o=e.disabledDate,s=e.onPickerValueChange,c=e.onModeChange,l="".concat(t,"-month-panel"),v=an(e,"month"),u=ne(v,1),d=u[0],g=r.setMonth(a,0),m=n.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(n.locale):[]),p=function(h,D){return r.addMonth(h,D)},y=function(h){var D=r.getMonth(h);return n.monthFormat?Ke(h,{locale:n,format:n.monthFormat,generateConfig:r}):m[D]},w=function(){return De({},"".concat(t,"-cell-in-view"),!0)},I=o?function(C,h){var D=r.setDate(C,1),L=r.setMonth(D,r.getMonth(D)+1),O=r.addDate(L,-1);return o(D,h)&&o(O,h)}:null,i=f.createElement("button",{type:"button",key:"year","aria-label":n.yearSelect,onClick:function(){c("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},Ke(a,{locale:n,format:n.yearFormat,generateConfig:r}));return f.createElement(Ut.Provider,{value:d},f.createElement("div",{className:l},f.createElement(on,{superOffset:function(h){return r.addYear(a,h)},onChange:s,getStart:function(h){return r.setMonth(h,0)},getEnd:function(h){return r.setMonth(h,11)}},i),f.createElement(Sn,Ne({},e,{disabledDate:I,titleFormat:n.fieldMonthFormat,colNum:3,rowNum:4,baseDate:g,getCellDate:p,getCellText:y,getCellClassName:w}))))}function R2(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,a=e.pickerValue,o=e.onPickerValueChange,s=e.onModeChange,c="".concat(t,"-quarter-panel"),l=an(e,"quarter"),v=ne(l,1),u=v[0],d=r.setMonth(a,0),g=function(I,i){return r.addMonth(I,i*3)},m=function(I){return Ke(I,{locale:n,format:n.cellQuarterFormat,generateConfig:r})},p=function(){return De({},"".concat(t,"-cell-in-view"),!0)},y=f.createElement("button",{type:"button",key:"year","aria-label":n.yearSelect,onClick:function(){s("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},Ke(a,{locale:n,format:n.yearFormat,generateConfig:r}));return f.createElement(Ut.Provider,{value:u},f.createElement("div",{className:c},f.createElement(on,{superOffset:function(I){return r.addYear(a,I)},onChange:o,getStart:function(I){return r.setMonth(I,0)},getEnd:function(I){return r.setMonth(I,11)}},y),f.createElement(Sn,Ne({},e,{titleFormat:n.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:d,getCellDate:g,getCellText:m,getCellClassName:p}))))}function F2(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,a=e.value,o=e.hoverValue,s=e.hoverRangeValue,c=r.locale,l="".concat(t,"-week-panel-row"),v=function(d){var g={};if(s){var m=ne(s,2),p=m[0],y=m[1],w=gn(n,c,p,d),I=gn(n,c,y,d);g["".concat(l,"-range-start")]=w,g["".concat(l,"-range-end")]=I,g["".concat(l,"-range-hover")]=!w&&!I&&ir(n,p,y,d)}return o&&(g["".concat(l,"-hover")]=o.some(function(i){return gn(n,c,d,i)})),He(l,De({},"".concat(l,"-selected"),!s&&gn(n,c,a,d)),g)};return f.createElement(sr,Ne({},e,{mode:"week",panelName:"week",rowClassName:v}))}function T2(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,a=e.pickerValue,o=e.disabledDate,s=e.onPickerValueChange,c=e.onModeChange,l="".concat(t,"-year-panel"),v=an(e,"year"),u=ne(v,1),d=u[0],g=function(O){var j=Math.floor(r.getYear(O)/10)*10;return r.setYear(O,j)},m=function(O){var j=g(O);return r.addYear(j,9)},p=g(a),y=m(a),w=r.addYear(p,-1),I=function(O,j){return r.addYear(O,j)},i=function(O){return Ke(O,{locale:n,format:n.cellYearFormat,generateConfig:r})},C=function(O){return De({},"".concat(t,"-cell-in-view"),Yt(r,O,p)||Yt(r,O,y)||ir(r,p,y,O))},h=o?function(L,O){var j=r.setMonth(L,0),z=r.setDate(j,1),E=r.addYear(z,1),N=r.addDate(E,-1);return o(z,O)&&o(N,O)}:null,D=f.createElement("button",{type:"button",key:"decade","aria-label":n.decadeSelect,onClick:function(){c("decade")},tabIndex:-1,className:"".concat(t,"-decade-btn")},Ke(p,{locale:n,format:n.yearFormat,generateConfig:r}),"-",Ke(y,{locale:n,format:n.yearFormat,generateConfig:r}));return f.createElement(Ut.Provider,{value:d},f.createElement("div",{className:l},f.createElement(on,{superOffset:function(O){return r.addYear(a,O*10)},onChange:s,getStart:g,getEnd:m},D),f.createElement(Sn,Ne({},e,{disabledDate:h,titleFormat:n.fieldYearFormat,colNum:3,rowNum:4,baseDate:w,getCellDate:I,getCellText:i,getCellClassName:C}))))}var V2={date:sr,datetime:N2,week:F2,month:O2,quarter:R2,year:T2,decade:H2,time:ui};function z2(e,t){var n,r=e.locale,a=e.generateConfig,o=e.direction,s=e.prefixCls,c=e.tabIndex,l=c===void 0?0:c,v=e.multiple,u=e.defaultValue,d=e.value,g=e.onChange,m=e.onSelect,p=e.defaultPickerValue,y=e.pickerValue,w=e.onPickerValueChange,I=e.mode,i=e.onPanelChange,C=e.picker,h=C===void 0?"date":C,D=e.showTime,L=e.hoverValue,O=e.hoverRangeValue,j=e.cellRender,z=e.dateRender,E=e.monthCellRender,N=e.components,q=N===void 0?{}:N,W=e.hideHeader,M=((n=f.useContext(xt))===null||n===void 0?void 0:n.prefixCls)||s||"rc-picker",S=f.useRef();f.useImperativeHandle(t,function(){return{nativeElement:S.current}});var x=Uo(e),P=ne(x,4),$=P[0],R=P[1],F=P[2],T=P[3],V=_o(r,R),Y=h==="date"&&D?"datetime":h,Z=f.useMemo(function(){return qo(Y,F,T,$,V)},[Y,F,T,$,V]),J=a.getNow(),H=It(h,{value:I,postState:function(te){return te||"date"}}),A=ne(H,2),B=A[0],b=A[1],_=B==="date"&&Z?"datetime":B,G=ci(a,r,Y),U=It(u,{value:d}),Q=ne(U,2),ie=Q[0],ge=Q[1],se=f.useMemo(function(){var X=Zt(ie).filter(function(te){return te});return v?X:X.slice(0,1)},[ie,v]),Se=rt(function(X){ge(X),g&&(X===null||se.length!==X.length||se.some(function(te,le){return!ot(a,r,te,X[le],Y)}))&&(g==null||g(v?X:X[0]))}),ve=rt(function(X){if(m==null||m(X),B===h){var te=v?G(se,X):[X];Se(te)}}),Ae=It(p||se[0]||J,{value:y}),Ie=ne(Ae,2),ke=Ie[0],$e=Ie[1];f.useEffect(function(){se[0]&&!y&&$e(se[0])},[se[0]]);var je=function(te,le){i==null||i(te||y,le||B)},Ve=function(te){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;$e(te),w==null||w(te),le&&je(te)},Te=function(te,le){b(te),le&&Ve(le),je(le,te)},xe=function(te){if(ve(te),Ve(te),B!==h){var le=["decade","year"],ee=[].concat(le,["month"]),oe={quarter:[].concat(le,["quarter"]),week:[].concat(lt(ee),["week"]),date:[].concat(lt(ee),["date"])},Re=oe[h]||ee,Fe=Re.indexOf(B),_e=Re[Fe+1];_e&&Te(_e,te)}},Ye=f.useMemo(function(){var X,te;if(Array.isArray(O)){var le=ne(O,2);X=le[0],te=le[1]}else X=O;return!X&&!te?null:(X=X||te,te=te||X,a.isAfter(X,te)?[te,X]:[X,te])},[O,a]),Oe=ua(j,z,E),Be=q[_]||V2[_]||sr,K=f.useContext(Ot),me=f.useMemo(function(){return pe(pe({},K),{},{hideHeader:W})},[K,W]),ae="".concat(M,"-panel"),fe=or(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return f.createElement(Ot.Provider,{value:me},f.createElement("div",{ref:S,tabIndex:l,className:He(ae,De({},"".concat(ae,"-rtl"),o==="rtl"))},f.createElement(Be,Ne({},fe,{showTime:Z,prefixCls:M,locale:V,generateConfig:a,onModeChange:Te,pickerValue:ke,onPickerValueChange:function(te){Ve(te,!0)},value:se[0],onSelect:xe,values:se,cellRender:Oe,hoverRangeValue:Ye,hoverValue:L}))))}var Er=f.memo(f.forwardRef(z2));function B2(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,o=e.needConfirm,s=e.onSubmit,c=e.range,l=e.hoverValue,v=f.useContext(xt),u=v.prefixCls,d=v.generateConfig,g=f.useCallback(function(i,C){return hn(d,t,i,C)},[d,t]),m=f.useMemo(function(){return g(r,1)},[r,g]),p=function(C){a(g(C,-1))},y={onCellDblClick:function(){o&&s()}},w=t==="time",I=pe(pe({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:w});return c?I.hoverRangeValue=l:I.hoverValue=l,n?f.createElement("div",{className:"".concat(u,"-panels")},f.createElement(Ot.Provider,{value:pe(pe({},y),{},{hideNext:!0})},f.createElement(Er,I)),f.createElement(Ot.Provider,{value:pe(pe({},y),{},{hidePrev:!0})},f.createElement(Er,Ne({},I,{pickerValue:m,onPickerValueChange:p})))):f.createElement(Ot.Provider,{value:pe({},y)},f.createElement(Er,I))}function Ba(e){return typeof e=="function"?e():e}function j2(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?f.createElement("div",{className:"".concat(t,"-presets")},f.createElement("ul",null,n.map(function(o,s){var c=o.label,l=o.value;return f.createElement("li",{key:s,onClick:function(){r(Ba(l))},onMouseEnter:function(){a(Ba(l))},onMouseLeave:function(){a(null)}},c)}))):null}function di(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,o=e.range,s=e.multiple,c=e.activeInfo,l=c===void 0?[0,0,0]:c,v=e.presets,u=e.onPresetHover,d=e.onPresetSubmit,g=e.onFocus,m=e.onBlur,p=e.onPanelMouseDown,y=e.direction,w=e.value,I=e.onSelect,i=e.isInvalid,C=e.defaultOpenValue,h=e.onOk,D=e.onSubmit,L=f.useContext(xt),O=L.prefixCls,j="".concat(O,"-panel"),z=y==="rtl",E=f.useRef(null),N=f.useRef(null),q=f.useState(0),W=ne(q,2),M=W[0],S=W[1],x=f.useState(0),P=ne(x,2),$=P[0],R=P[1],F=f.useState(0),T=ne(F,2),V=T[0],Y=T[1],Z=function(xe){xe.width&&S(xe.width)},J=ne(l,3),H=J[0],A=J[1],B=J[2],b=f.useState(0),_=ne(b,2),G=_[0],U=_[1];f.useEffect(function(){U(10)},[H]),f.useEffect(function(){if(o&&N.current){var Te,xe=((Te=E.current)===null||Te===void 0?void 0:Te.offsetWidth)||0,Ye=N.current.getBoundingClientRect();if(!Ye.height||Ye.right<0){U(function(me){return Math.max(0,me-1)});return}var Oe=(z?A-xe:H)-Ye.left;if(Y(Oe),M&&M<B){var Be=z?Ye.right-(A-xe+M):H+xe-Ye.left-M,K=Math.max(0,Be);R(K)}else R(0)}},[G,z,M,H,A,B,o]);function Q(Te){return Te.filter(function(xe){return xe})}var ie=f.useMemo(function(){return Q(Zt(w))},[w]),ge=r==="time"&&!ie.length,se=f.useMemo(function(){return ge?Q([C]):ie},[ge,ie,C]),Se=ge?C:ie,ve=f.useMemo(function(){return se.length?se.some(function(Te){return i(Te)}):!0},[se,i]),Ae=function(){ge&&I(C),h(),D()},Ie=f.createElement("div",{className:"".concat(O,"-panel-layout")},f.createElement(j2,{prefixCls:O,presets:v,onClick:d,onHover:u}),f.createElement("div",null,f.createElement(B2,Ne({},e,{value:Se})),f.createElement(I2,Ne({},e,{showNow:s?!1:a,invalid:ve,onSubmit:Ae}))));t&&(Ie=t(Ie));var ke="".concat(j,"-container"),$e="marginLeft",je="marginRight",Ve=f.createElement("div",{onMouseDown:p,tabIndex:-1,className:He(ke,"".concat(O,"-").concat(n,"-panel-container")),style:De(De({},z?je:$e,$),z?$e:je,"auto"),onFocus:g,onBlur:m},Ie);return o&&(Ve=f.createElement("div",{onMouseDown:p,ref:N,className:He("".concat(O,"-range-wrapper"),"".concat(O,"-").concat(r,"-range-wrapper"))},f.createElement("div",{ref:E,className:"".concat(O,"-range-arrow"),style:{left:V}}),f.createElement(ao,{onResize:Z},Ve))),Ve}function fi(e,t){var n=e.format,r=e.maskFormat,a=e.generateConfig,o=e.locale,s=e.preserveInvalidOnBlur,c=e.inputReadOnly,l=e.required,v=e["aria-required"],u=e.onSubmit,d=e.onFocus,g=e.onBlur,m=e.onInputChange,p=e.onInvalid,y=e.open,w=e.onOpenChange,I=e.onKeyDown,i=e.onChange,C=e.activeHelp,h=e.name,D=e.autoComplete,L=e.id,O=e.value,j=e.invalid,z=e.placeholder,E=e.disabled,N=e.activeIndex,q=e.allHelp,W=e.picker,M=function(V,Y){var Z=a.locale.parse(o.locale,V,[Y]);return Z&&a.isValidate(Z)?Z:null},S=n[0],x=f.useCallback(function(T){return Ke(T,{locale:o,format:S,generateConfig:a})},[o,a,S]),P=f.useMemo(function(){return O.map(x)},[O,x]),$=f.useMemo(function(){var T=W==="time"?8:10,V=typeof S=="function"?S(a.getNow()).length:S.length;return Math.max(T,V)+2},[S,W,a]),R=function(V){for(var Y=0;Y<n.length;Y+=1){var Z=n[Y];if(typeof Z=="string"){var J=M(V,Z);if(J)return J}}return!1},F=function(V){function Y(H){return V!==void 0?H[V]:H}var Z=Jn(e,{aria:!0,data:!0}),J=pe(pe({},Z),{},{format:r,validateFormat:function(A){return!!R(A)},preserveInvalidOnBlur:s,readOnly:c,required:l,"aria-required":v,name:h,autoComplete:D,size:$,id:Y(L),value:Y(P)||"",invalid:Y(j),placeholder:Y(z),active:N===V,helped:q||C&&N===V,disabled:Y(E),onFocus:function(A){d(A,V)},onBlur:function(A){g(A,V)},onSubmit:u,onChange:function(A){m();var B=R(A);if(B){p(!1,V),i(B,V);return}p(!!A,V)},onHelp:function(){w(!0,{index:V})},onKeyDown:function(A){var B=!1;if(I==null||I(A,function(){B=!0}),!A.defaultPrevented&&!B)switch(A.key){case"Escape":w(!1,{index:V});break;case"Enter":y||w(!0);break}}},t==null?void 0:t({valueTexts:P}));return Object.keys(J).forEach(function(H){J[H]===void 0&&delete J[H]}),J};return[F,x]}var Y2=["onMouseEnter","onMouseLeave"];function mi(e){return f.useMemo(function(){return or(e,Y2)},[e])}var _2=["icon","type"],W2=["onClear"];function cr(e){var t=e.icon,n=e.type,r=Jt(e,_2),a=f.useContext(xt),o=a.prefixCls;return t?f.createElement("span",Ne({className:"".concat(o,"-").concat(n)},r),t):null}function zr(e){var t=e.onClear,n=Jt(e,W2);return f.createElement(cr,Ne({},n,{type:"clear",role:"button",onMouseDown:function(a){a.preventDefault()},onClick:function(a){a.stopPropagation(),t()}}))}var Ar=["YYYY","MM","DD","HH","mm","ss","SSS"],ja="\u9867",Z2=(function(){function e(t){cl(this,e),De(this,"format",void 0),De(this,"maskFormat",void 0),De(this,"cells",void 0),De(this,"maskCells",void 0),this.format=t;var n=Ar.map(function(c){return"(".concat(c,")")}).join("|"),r=new RegExp(n,"g");this.maskFormat=t.replace(r,function(c){return ja.repeat(c.length)});var a=new RegExp("(".concat(Ar.join("|"),")")),o=(t.split(a)||[]).filter(function(c){return c}),s=0;this.cells=o.map(function(c){var l=Ar.includes(c),v=s,u=s+c.length;return s=u,{text:c,mask:l,start:v,end:u}}),this.maskCells=this.cells.filter(function(c){return c.mask})}return sl(e,[{key:"getSelection",value:function(n){var r=this.maskCells[n]||{},a=r.start,o=r.end;return[a||0,o||0]}},{key:"match",value:function(n){for(var r=0;r<this.maskFormat.length;r+=1){var a=this.maskFormat[r],o=n[r];if(!o||a!==ja&&a!==o)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(n){for(var r=Number.MAX_SAFE_INTEGER,a=0,o=0;o<this.maskCells.length;o+=1){var s=this.maskCells[o],c=s.start,l=s.end;if(n>=c&&n<=l)return o;var v=Math.min(Math.abs(n-c),Math.abs(n-l));v<r&&(r=v,a=o)}return a}}]),e})();function U2(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 q2=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],Br=f.forwardRef(function(e,t){var n=e.active,r=e.showActiveCls,a=r===void 0?!0:r,o=e.suffixIcon,s=e.format,c=e.validateFormat,l=e.onChange;e.onInput;var v=e.helped,u=e.onHelp,d=e.onSubmit,g=e.onKeyDown,m=e.preserveInvalidOnBlur,p=m===void 0?!1:m,y=e.invalid,w=e.clearIcon,I=Jt(e,q2),i=e.value,C=e.onFocus,h=e.onBlur,D=e.onMouseUp,L=f.useContext(xt),O=L.prefixCls,j=L.input,z=j===void 0?"input":j,E="".concat(O,"-input"),N=f.useState(!1),q=ne(N,2),W=q[0],M=q[1],S=f.useState(i),x=ne(S,2),P=x[0],$=x[1],R=f.useState(""),F=ne(R,2),T=F[0],V=F[1],Y=f.useState(null),Z=ne(Y,2),J=Z[0],H=Z[1],A=f.useState(null),B=ne(A,2),b=B[0],_=B[1],G=P||"";f.useEffect(function(){$(i)},[i]);var U=f.useRef(),Q=f.useRef();f.useImperativeHandle(t,function(){return{nativeElement:U.current,inputElement:Q.current,focus:function(X){Q.current.focus(X)},blur:function(){Q.current.blur()}}});var ie=f.useMemo(function(){return new Z2(s||"")},[s]),ge=f.useMemo(function(){return v?[0,0]:ie.getSelection(J)},[ie,J,v]),se=ne(ge,2),Se=se[0],ve=se[1],Ae=function(X){X&&X!==s&&X!==i&&u()},Ie=rt(function(fe){c(fe)&&l(fe),$(fe),Ae(fe)}),ke=function(X){if(!s){var te=X.target.value;Ae(te),$(te),l(te)}},$e=function(X){var te=X.clipboardData.getData("text");c(te)&&Ie(te)},je=f.useRef(!1),Ve=function(){je.current=!0},Te=function(X){var te=X.target,le=te.selectionStart,ee=ie.getMaskCellIndex(le);H(ee),_({}),D==null||D(X),je.current=!1},xe=function(X){M(!0),H(0),V(""),C(X)},Ye=function(X){h(X)},Oe=function(X){M(!1),Ye(X)};ma(n,function(){!n&&!p&&$(i)});var Be=function(X){X.key==="Enter"&&c(G)&&d(),g==null||g(X)},K=function(X){Be(X);var te=X.key,le=null,ee=null,oe=ve-Se,Re=s.slice(Se,ve),Fe=function(ut){H(function(st){var Ge=st+ut;return Ge=Math.max(Ge,0),Ge=Math.min(Ge,ie.size()-1),Ge})},_e=function(ut){var st=U2(Re),Ge=ne(st,3),vt=Ge[0],yt=Ge[1],wt=Ge[2],ht=G.slice(Se,ve),ue=Number(ht);if(isNaN(ue))return String(wt||(ut>0?vt:yt));var ze=ue+ut,Ze=yt-vt+1;return String(vt+(Ze+ze-vt)%Ze)};switch(te){case"Backspace":case"Delete":le="",ee=Re;break;case"ArrowLeft":le="",Fe(-1);break;case"ArrowRight":le="",Fe(1);break;case"ArrowUp":le="",ee=_e(1);break;case"ArrowDown":le="",ee=_e(-1);break;default:isNaN(Number(te))||(le=T+te,ee=le);break}if(le!==null&&(V(le),le.length>=oe&&(Fe(1),V(""))),ee!==null){var ct=G.slice(0,Se)+ca(ee,oe)+G.slice(ve);Ie(ct.slice(0,s.length))}_({})},me=f.useRef();Rt(function(){if(!(!W||!s||je.current)){if(!ie.match(G)){Ie(s);return}return Q.current.setSelectionRange(Se,ve),me.current=Pt(function(){Q.current.setSelectionRange(Se,ve)}),function(){Pt.cancel(me.current)}}},[ie,s,W,G,J,Se,ve,b,Ie]);var ae=s?{onFocus:xe,onBlur:Oe,onKeyDown:K,onMouseDown:Ve,onMouseUp:Te,onPaste:$e}:{};return f.createElement("div",{ref:U,className:He(E,De(De({},"".concat(E,"-active"),n&&a),"".concat(E,"-placeholder"),v))},f.createElement(z,Ne({ref:Q,"aria-invalid":y,autoComplete:"off"},I,{onKeyDown:Be,onBlur:Ye},ae,{value:G,onChange:ke})),f.createElement(cr,{type:"suffix",icon:o}),w)}),G2=["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"],Q2=["index"];function K2(e,t){var n=e.id,r=e.prefix,a=e.clearIcon,o=e.suffixIcon,s=e.separator,c=s===void 0?"~":s,l=e.activeIndex;e.activeHelp,e.allHelp;var v=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,g=e.style,m=e.onClick,p=e.onClear,y=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var w=e.disabled,I=e.invalid;e.inputReadOnly;var i=e.direction;e.onOpenChange;var C=e.onActiveInfo;e.placement;var h=e.onMouseDown;e.required,e["aria-required"];var D=e.autoFocus,L=e.tabIndex,O=Jt(e,G2),j=i==="rtl",z=f.useContext(xt),E=z.prefixCls,N=f.useMemo(function(){if(typeof n=="string")return[n];var b=n||{};return[b.start,b.end]},[n]),q=f.useRef(),W=f.useRef(),M=f.useRef(),S=function(_){var G;return(G=[W,M][_])===null||G===void 0?void 0:G.current};f.useImperativeHandle(t,function(){return{nativeElement:q.current,focus:function(_){if(wn(_)==="object"){var G,U=_||{},Q=U.index,ie=Q===void 0?0:Q,ge=Jt(U,Q2);(G=S(ie))===null||G===void 0||G.focus(ge)}else{var se;(se=S(_??0))===null||se===void 0||se.focus()}},blur:function(){var _,G;(_=S(0))===null||_===void 0||_.blur(),(G=S(1))===null||G===void 0||G.blur()}}});var x=mi(O),P=f.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),$=fi(pe(pe({},e),{},{id:N,placeholder:P})),R=ne($,1),F=R[0],T=f.useState({position:"absolute",width:0}),V=ne(T,2),Y=V[0],Z=V[1],J=rt(function(){var b=S(l);if(b){var _=b.nativeElement.getBoundingClientRect(),G=q.current.getBoundingClientRect(),U=_.left-G.left;Z(function(Q){return pe(pe({},Q),{},{width:_.width,left:U})}),C([_.left,_.right,G.width])}});f.useEffect(function(){J()},[l]);var H=a&&(y[0]&&!w[0]||y[1]&&!w[1]),A=D&&!w[0],B=D&&!A&&!w[1];return f.createElement(ao,{onResize:J},f.createElement("div",Ne({},x,{className:He(E,"".concat(E,"-range"),De(De(De(De({},"".concat(E,"-focused"),v),"".concat(E,"-disabled"),w.every(function(b){return b})),"".concat(E,"-invalid"),I.some(function(b){return b})),"".concat(E,"-rtl"),j),d),style:g,ref:q,onClick:m,onMouseDown:function(_){var G=_.target;G!==W.current.inputElement&&G!==M.current.inputElement&&_.preventDefault(),h==null||h(_)}}),r&&f.createElement("div",{className:"".concat(E,"-prefix")},r),f.createElement(Br,Ne({ref:W},F(0),{autoFocus:A,tabIndex:L,"date-range":"start"})),f.createElement("div",{className:"".concat(E,"-range-separator")},c),f.createElement(Br,Ne({ref:M},F(1),{autoFocus:B,tabIndex:L,"date-range":"end"})),f.createElement("div",{className:"".concat(E,"-active-bar"),style:Y}),f.createElement(cr,{type:"suffix",icon:o}),H&&f.createElement(zr,{icon:a,onClear:p})))}var X2=f.forwardRef(K2);function Ya(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function Hn(e){return e===1?"end":"start"}function J2(e,t){var n=Ko(e,function(){var Le=e.disabled,be=e.allowEmpty,Me=Ya(Le,!1),We=Ya(be,!1);return{disabled:Me,allowEmpty:We}}),r=ne(n,6),a=r[0],o=r[1],s=r[2],c=r[3],l=r[4],v=r[5],u=a.prefixCls,d=a.styles,g=a.classNames,m=a.defaultValue,p=a.value,y=a.needConfirm,w=a.onKeyDown,I=a.disabled,i=a.allowEmpty,C=a.disabledDate,h=a.minDate,D=a.maxDate,L=a.defaultOpen,O=a.open,j=a.onOpenChange,z=a.locale,E=a.generateConfig,N=a.picker,q=a.showNow,W=a.showToday,M=a.showTime,S=a.mode,x=a.onPanelChange,P=a.onCalendarChange,$=a.onOk,R=a.defaultPickerValue,F=a.pickerValue,T=a.onPickerValueChange,V=a.inputReadOnly,Y=a.suffixIcon,Z=a.onFocus,J=a.onBlur,H=a.presets,A=a.ranges,B=a.components,b=a.cellRender,_=a.dateRender,G=a.monthCellRender,U=a.onClick,Q=Jo(t),ie=Xo(O,L,I,j),ge=ne(ie,2),se=ge[0],Se=ge[1],ve=function(be,Me){(I.some(function(We){return!We})||!be)&&Se(be,Me)},Ae=ii(E,z,c,!0,!1,m,p,P,$),Ie=ne(Ae,5),ke=Ie[0],$e=Ie[1],je=Ie[2],Ve=Ie[3],Te=Ie[4],xe=je(),Ye=ti(I,i,se),Oe=ne(Ye,9),Be=Oe[0],K=Oe[1],me=Oe[2],ae=Oe[3],fe=Oe[4],X=Oe[5],te=Oe[6],le=Oe[7],ee=Oe[8],oe=function(be,Me){K(!0),Z==null||Z(be,{range:Hn(Me??ae)})},Re=function(be,Me){K(!1),J==null||J(be,{range:Hn(Me??ae)})},Fe=f.useMemo(function(){if(!M)return null;var Le=M.disabledTime,be=Le?function(Me){var We=Hn(ae),tt=zo(xe,te,ae);return Le(Me,We,{from:tt})}:void 0;return pe(pe({},M),{},{disabledTime:be})},[M,ae,xe,te]),_e=It([N,N],{value:S}),ct=ne(_e,2),Xe=ct[0],ut=ct[1],st=Xe[ae]||N,Ge=st==="date"&&Fe?"datetime":st,vt=Ge===N&&Ge!=="time",yt=si(N,st,q,W,!0),wt=li(a,ke,$e,je,Ve,I,c,Be,se,v),ht=ne(wt,2),ue=ht[0],ze=ht[1],Ze=S2(xe,I,te,E,z,C),pt=jo(xe,v,i),At=ne(pt,2),Vt=At[0],ln=At[1],Qe=ni(E,z,xe,Xe,se,ae,o,vt,R,F,Fe==null?void 0:Fe.defaultOpenValue,T,h,D),qt=ne(Qe,2),sn=qt[0],Dt=qt[1],gt=rt(function(Le,be,Me){var We=bn(Xe,ae,be);if((We[0]!==Xe[0]||We[1]!==Xe[1])&&ut(We),x&&Me!==!1){var tt=lt(xe);Le&&(tt[ae]=Le),x(tt,We)}}),et=function(be,Me){return bn(xe,Me,be)},dt=function(be,Me){var We=xe;be&&(We=et(be,ae)),le(ae);var tt=X(We);Ve(We),ue(ae,tt===null),tt===null?ve(!1,{force:!0}):Me||Q.current.focus({index:tt})},ur=function(be){var Me,We=be.target.getRootNode();if(!Q.current.nativeElement.contains((Me=We.activeElement)!==null&&Me!==void 0?Me:document.activeElement)){var tt=I.findIndex(function(nl){return!nl});tt>=0&&Q.current.focus({index:tt})}ve(!0),U==null||U(be)},kn=function(){ze(null),ve(!1,{force:!0})},dr=f.useState(null),cn=ne(dr,2),fr=cn[0],un=cn[1],Lt=f.useState(null),Gt=ne(Lt,2),Qt=Gt[0],dn=Gt[1],$n=f.useMemo(function(){return Qt||xe},[xe,Qt]);f.useEffect(function(){se||dn(null)},[se]);var mr=f.useState([0,0,0]),fn=ne(mr,2),vr=fn[0],gr=fn[1],hr=ei(H,A),pr=function(be){dn(be),un("preset")},br=function(be){var Me=ze(be);Me&&ve(!1,{force:!0})},Cr=function(be){dt(be)},xr=function(be){dn(be?et(be,ae):null),un("cell")},yr=function(be){ve(!0),oe(be)},wr=function(){me("panel")},Sr=function(be){var Me=bn(xe,ae,be);Ve(Me),!y&&!s&&o===Ge&&dt(be)},kr=function(){ve(!1)},$r=ua(b,_,G,Hn(ae)),Mr=xe[ae]||null,Ir=rt(function(Le){return v(Le,{activeIndex:ae})}),ye=f.useMemo(function(){var Le=Jn(a,!1),be=Wr(a,[].concat(lt(Object.keys(Le)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return be},[a]),he=f.createElement(di,Ne({},ye,{showNow:yt,showTime:Fe,range:!0,multiplePanel:vt,activeInfo:vr,disabledDate:Ze,onFocus:yr,onBlur:Re,onPanelMouseDown:wr,picker:N,mode:st,internalMode:Ge,onPanelChange:gt,format:l,value:Mr,isInvalid:Ir,onChange:null,onSelect:Sr,pickerValue:sn,defaultOpenValue:Zt(M==null?void 0:M.defaultOpenValue)[ae],onPickerValueChange:Dt,hoverValue:$n,onHover:xr,needConfirm:y,onSubmit:dt,onOk:Te,presets:hr,onPresetHover:pr,onPresetSubmit:br,onNow:Cr,cellRender:$r})),ft=function(be,Me){var We=et(be,Me);Ve(We)},St=function(){me("input")},Mn=function(be,Me){var We=te.length,tt=te[We-1];if(We&&tt!==Me&&y&&!i[tt]&&!ee(tt)&&xe[tt]){Q.current.focus({index:tt});return}me("input"),ve(!0,{inherit:!0}),ae!==Me&&se&&!y&&s&&dt(null,!0),fe(Me),oe(be,Me)},Ji=function(be,Me){if(ve(!1),!y&&me()==="input"){var We=X(xe);ue(ae,We===null)}Re(be,Me)},el=function(be,Me){be.key==="Tab"&&dt(null,!0),w==null||w(be,Me)},tl=f.useMemo(function(){return{prefixCls:u,locale:z,generateConfig:E,button:B.button,input:B.input}},[u,z,E,B.button,B.input]);return Rt(function(){se&&ae!==void 0&&gt(null,N,!1)},[se,ae,N]),Rt(function(){var Le=me();!se&&Le==="input"&&(ve(!1),dt(null,!0)),!se&&s&&!y&&Le==="panel"&&(ve(!0),dt())},[se]),f.createElement(xt.Provider,{value:tl},f.createElement(To,Ne({},Bo(a),{popupElement:he,popupStyle:d.popup,popupClassName:g.popup,visible:se,onClose:kr,range:!0}),f.createElement(X2,Ne({},a,{ref:Q,suffixIcon:Y,activeIndex:Be||se?ae:null,activeHelp:!!Qt,allHelp:!!Qt&&fr==="preset",focused:Be,onFocus:Mn,onBlur:Ji,onKeyDown:el,onSubmit:dt,value:$n,maskFormat:l,onChange:ft,onInputChange:St,format:c,inputReadOnly:V,disabled:I,open:se,onOpenChange:ve,onClick:ur,onClear:kn,invalid:Vt,onInvalid:ln,onActiveInfo:gr}))))}var es=f.forwardRef(J2);function ts(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,o=a===void 0?"\xD7":a,s=e.formatDate,c=e.disabled,l=e.maxTagCount,v=e.placeholder,u="".concat(t,"-selector"),d="".concat(t,"-selection"),g="".concat(d,"-overflow");function m(w,I){return f.createElement("span",{className:He("".concat(d,"-item")),title:typeof w=="string"?w:null},f.createElement("span",{className:"".concat(d,"-item-content")},w),!c&&I&&f.createElement("span",{onMouseDown:function(C){C.preventDefault()},onClick:I,className:"".concat(d,"-item-remove")},o))}function p(w){var I=s(w),i=function(h){h&&h.stopPropagation(),r(w)};return m(I,i)}function y(w){var I="+ ".concat(w.length," ...");return m(I)}return f.createElement("div",{className:u},f.createElement(ul,{prefixCls:g,data:n,renderItem:p,renderRest:y,itemKey:function(I){return s(I)},maxCount:l}),!n.length&&f.createElement("span",{className:"".concat(t,"-selection-placeholder")},v))}var ns=["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 rs(e,t){e.id;var n=e.open,r=e.prefix,a=e.clearIcon,o=e.suffixIcon;e.activeHelp,e.allHelp;var s=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var c=e.locale,l=e.generateConfig,v=e.placeholder,u=e.className,d=e.style,g=e.onClick,m=e.onClear,p=e.internalPicker,y=e.value,w=e.onChange,I=e.onSubmit;e.onInputChange;var i=e.multiple,C=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var h=e.disabled,D=e.invalid;e.inputReadOnly;var L=e.direction;e.onOpenChange;var O=e.onMouseDown;e.required,e["aria-required"];var j=e.autoFocus,z=e.tabIndex,E=e.removeIcon,N=Jt(e,ns),q=L==="rtl",W=f.useContext(xt),M=W.prefixCls,S=f.useRef(),x=f.useRef();f.useImperativeHandle(t,function(){return{nativeElement:S.current,focus:function(A){var B;(B=x.current)===null||B===void 0||B.focus(A)},blur:function(){var A;(A=x.current)===null||A===void 0||A.blur()}}});var P=mi(N),$=function(A){w([A])},R=function(A){var B=y.filter(function(b){return b&&!ot(l,c,b,A,p)});w(B),n||I()},F=fi(pe(pe({},e),{},{onChange:$}),function(H){var A=H.valueTexts;return{value:A[0]||"",active:s}}),T=ne(F,2),V=T[0],Y=T[1],Z=!!(a&&y.length&&!h),J=i?f.createElement(f.Fragment,null,f.createElement(ts,{prefixCls:M,value:y,onRemove:R,formatDate:Y,maxTagCount:C,disabled:h,removeIcon:E,placeholder:v}),f.createElement("input",{className:"".concat(M,"-multiple-input"),value:y.map(Y).join(","),ref:x,readOnly:!0,autoFocus:j,tabIndex:z}),f.createElement(cr,{type:"suffix",icon:o}),Z&&f.createElement(zr,{icon:a,onClear:m})):f.createElement(Br,Ne({ref:x},V(),{autoFocus:j,tabIndex:z,suffixIcon:o,clearIcon:Z&&f.createElement(zr,{icon:a,onClear:m}),showActiveCls:!1}));return f.createElement("div",Ne({},P,{className:He(M,De(De(De(De(De({},"".concat(M,"-multiple"),i),"".concat(M,"-focused"),s),"".concat(M,"-disabled"),h),"".concat(M,"-invalid"),D),"".concat(M,"-rtl"),q),u),style:d,ref:S,onClick:g,onMouseDown:function(A){var B,b=A.target;b!==((B=x.current)===null||B===void 0?void 0:B.inputElement)&&A.preventDefault(),O==null||O(A)}}),r&&f.createElement("div",{className:"".concat(M,"-prefix")},r),J)}var as=f.forwardRef(rs);function os(e,t){var n=Ko(e),r=ne(n,6),a=r[0],o=r[1],s=r[2],c=r[3],l=r[4],v=r[5],u=a,d=u.prefixCls,g=u.styles,m=u.classNames,p=u.order,y=u.defaultValue,w=u.value,I=u.needConfirm,i=u.onChange,C=u.onKeyDown,h=u.disabled,D=u.disabledDate,L=u.minDate,O=u.maxDate,j=u.defaultOpen,z=u.open,E=u.onOpenChange,N=u.locale,q=u.generateConfig,W=u.picker,M=u.showNow,S=u.showToday,x=u.showTime,P=u.mode,$=u.onPanelChange,R=u.onCalendarChange,F=u.onOk,T=u.multiple,V=u.defaultPickerValue,Y=u.pickerValue,Z=u.onPickerValueChange,J=u.inputReadOnly,H=u.suffixIcon,A=u.removeIcon,B=u.onFocus,b=u.onBlur,_=u.presets,G=u.components,U=u.cellRender,Q=u.dateRender,ie=u.monthCellRender,ge=u.onClick,se=Jo(t);function Se(ye){return ye===null?null:T?ye:ye[0]}var ve=ci(q,N,o),Ae=Xo(z,j,[h],E),Ie=ne(Ae,2),ke=Ie[0],$e=Ie[1],je=function(he,ft,St){if(R){var Mn=pe({},St);delete Mn.range,R(Se(he),Se(ft),Mn)}},Ve=function(he){F==null||F(Se(he))},Te=ii(q,N,c,!1,p,y,w,je,Ve),xe=ne(Te,5),Ye=xe[0],Oe=xe[1],Be=xe[2],K=xe[3],me=xe[4],ae=Be(),fe=ti([h]),X=ne(fe,4),te=X[0],le=X[1],ee=X[2],oe=X[3],Re=function(he){le(!0),B==null||B(he,{})},Fe=function(he){le(!1),b==null||b(he,{})},_e=It(W,{value:P}),ct=ne(_e,2),Xe=ct[0],ut=ct[1],st=Xe==="date"&&x?"datetime":Xe,Ge=si(W,Xe,M,S),vt=i&&function(ye,he){i(Se(ye),Se(he))},yt=li(pe(pe({},a),{},{onChange:vt}),Ye,Oe,Be,K,[],c,te,ke,v),wt=ne(yt,2),ht=wt[1],ue=jo(ae,v),ze=ne(ue,2),Ze=ze[0],pt=ze[1],At=f.useMemo(function(){return Ze.some(function(ye){return ye})},[Ze]),Vt=function(he,ft){if(Z){var St=pe(pe({},ft),{},{mode:ft.mode[0]});delete St.range,Z(he[0],St)}},ln=ni(q,N,ae,[Xe],ke,oe,o,!1,V,Y,Zt(x==null?void 0:x.defaultOpenValue),Vt,L,O),Qe=ne(ln,2),qt=Qe[0],sn=Qe[1],Dt=rt(function(ye,he,ft){if(ut(he),$&&ft!==!1){var St=ye||ae[ae.length-1];$(St,he)}}),gt=function(){ht(Be()),$e(!1,{force:!0})},et=function(he){!h&&!se.current.nativeElement.contains(document.activeElement)&&se.current.focus(),$e(!0),ge==null||ge(he)},dt=function(){ht(null),$e(!1,{force:!0})},ur=f.useState(null),kn=ne(ur,2),dr=kn[0],cn=kn[1],fr=f.useState(null),un=ne(fr,2),Lt=un[0],Gt=un[1],Qt=f.useMemo(function(){var ye=[Lt].concat(lt(ae)).filter(function(he){return he});return T?ye:ye.slice(0,1)},[ae,Lt,T]),dn=f.useMemo(function(){return!T&&Lt?[Lt]:ae.filter(function(ye){return ye})},[ae,Lt,T]);f.useEffect(function(){ke||Gt(null)},[ke]);var $n=ei(_),mr=function(he){Gt(he),cn("preset")},fn=function(he){var ft=T?ve(Be(),he):[he],St=ht(ft);St&&!T&&$e(!1,{force:!0})},vr=function(he){fn(he)},gr=function(he){Gt(he),cn("cell")},hr=function(he){$e(!0),Re(he)},pr=function(he){if(ee("panel"),!(T&&st!==W)){var ft=T?ve(Be(),he):[he];K(ft),!I&&!s&&o===st&&gt()}},br=function(){$e(!1)},Cr=ua(U,Q,ie),xr=f.useMemo(function(){var ye=Jn(a,!1),he=Wr(a,[].concat(lt(Object.keys(ye)),["onChange","onCalendarChange","style","className","onPanelChange"]));return pe(pe({},he),{},{multiple:a.multiple})},[a]),yr=f.createElement(di,Ne({},xr,{showNow:Ge,showTime:x,disabledDate:D,onFocus:hr,onBlur:Fe,picker:W,mode:Xe,internalMode:st,onPanelChange:Dt,format:l,value:ae,isInvalid:v,onChange:null,onSelect:pr,pickerValue:qt,defaultOpenValue:x==null?void 0:x.defaultOpenValue,onPickerValueChange:sn,hoverValue:Qt,onHover:gr,needConfirm:I,onSubmit:gt,onOk:me,presets:$n,onPresetHover:mr,onPresetSubmit:fn,onNow:vr,cellRender:Cr})),wr=function(he){K(he)},Sr=function(){ee("input")},kr=function(he){ee("input"),$e(!0,{inherit:!0}),Re(he)},$r=function(he){$e(!1),Fe(he)},Mr=function(he,ft){he.key==="Tab"&&gt(),C==null||C(he,ft)},Ir=f.useMemo(function(){return{prefixCls:d,locale:N,generateConfig:q,button:G.button,input:G.input}},[d,N,q,G.button,G.input]);return Rt(function(){ke&&oe!==void 0&&Dt(null,W,!1)},[ke,oe,W]),Rt(function(){var ye=ee();!ke&&ye==="input"&&($e(!1),gt()),!ke&&s&&!I&&ye==="panel"&&gt()},[ke]),f.createElement(xt.Provider,{value:Ir},f.createElement(To,Ne({},Bo(a),{popupElement:yr,popupStyle:g.popup,popupClassName:m.popup,visible:ke,onClose:br}),f.createElement(as,Ne({},a,{ref:se,suffixIcon:H,removeIcon:A,activeHelp:!!Lt,allHelp:!!Lt&&dr==="preset",focused:te,onFocus:kr,onBlur:$r,onKeyDown:Mr,onSubmit:gt,value:dn,maskFormat:l,onChange:wr,onInputChange:Sr,internalPicker:o,format:c,inputReadOnly:J,disabled:h,open:ke,onOpenChange:$e,onClick:et,onClear:dt,invalid:At,onInvalid:function(he){pt(he,0)}}))))}var is=f.forwardRef(os);const vi=f.createContext(null),ls=vi.Provider,gi=f.createContext(null),ss=gi.Provider,cs=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},en(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"}})}},us=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:o,motionDurationMid:s,motionEaseInOutCirc:c,colorBgContainer:l,colorBorder:v,lineWidth:u,colorBgContainerDisabled:d,colorTextDisabled:g,paddingXS:m,dotColorDisabled:p,lineType:y,radioColor:w,radioBgColor:I,calc:i}=e,C=`${t}-inner`,D=i(a).sub(i(4).mul(2)),L=i(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},en(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:`${Ce(u)} ${y} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},en(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &,
151
- &:hover ${C}`]:{borderColor:r},[`${t}-input:focus-visible + ${C}`]:oo(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:L,height:L,marginBlockStart:i(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:i(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:w,borderBlockStart:0,borderInlineStart:0,borderRadius:L,transform:"scale(0)",opacity:0,transition:`all ${o} ${c}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:L,height:L,backgroundColor:l,borderColor:v,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${s}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[C]:{borderColor:r,backgroundColor:I,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${o} ${c}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[C]:{backgroundColor:d,borderColor:v,cursor:"not-allowed","&::after":{backgroundColor:p}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:g,cursor:"not-allowed"},[`&${t}-checked`]:{[C]:{"&::after":{transform:`scale(${i(D).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},ds=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:o,colorBorder:s,motionDurationMid:c,buttonPaddingInline:l,fontSize:v,buttonBg:u,fontSizeLG:d,controlHeightLG:g,controlHeightSM:m,paddingXS:p,borderRadius:y,borderRadiusSM:w,borderRadiusLG:I,buttonCheckedBg:i,buttonSolidCheckedColor:C,colorTextDisabled:h,colorBgContainerDisabled:D,buttonCheckedBgDisabled:L,buttonCheckedColorDisabled:O,colorPrimary:j,colorPrimaryHover:z,colorPrimaryActive:E,buttonSolidCheckedBg:N,buttonSolidCheckedHoverBg:q,buttonSolidCheckedActiveBg:W,calc:M}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:l,paddingBlock:0,color:t,fontSize:v,lineHeight:Ce(M(n).sub(M(a).mul(2)).equal()),background:u,border:`${Ce(a)} ${o} ${s}`,borderBlockStartWidth:M(a).add(.02).equal(),borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:M(a).mul(-1).equal()},"&:first-child":{borderInlineStart:`${Ce(a)} ${o} ${s}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${r}-group-large &`]:{height:g,fontSize:d,lineHeight:Ce(M(g).sub(M(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:I,borderEndStartRadius:I},"&:last-child":{borderStartEndRadius:I,borderEndEndRadius:I}},[`${r}-group-small &`]:{height:m,paddingInline:M(p).sub(a).equal(),paddingBlock:0,lineHeight:Ce(M(m).sub(M(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:w,borderEndStartRadius:w},"&:last-child":{borderStartEndRadius:w,borderEndEndRadius:w}},"&:hover":{position:"relative",color:j},"&:has(:focus-visible)":oo(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:j,background:i,borderColor:j,"&::before":{backgroundColor:j},"&:first-child":{borderColor:j},"&:hover":{color:z,borderColor:z,"&::before":{backgroundColor:z}},"&:active":{color:E,borderColor:E,"&::before":{backgroundColor:E}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:N,borderColor:N,"&:hover":{color:C,background:q,borderColor:q},"&:active":{color:C,background:W,borderColor:W}},"&-disabled":{color:h,backgroundColor:D,borderColor:s,cursor:"not-allowed","&:first-child, &:hover":{color:h,backgroundColor:D,borderColor:s}},[`&-disabled${r}-button-wrapper-checked`]:{color:O,backgroundColor:L,borderColor:s,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},fs=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:o,colorText:s,colorBgContainer:c,colorTextDisabled:l,controlItemBgActiveDisabled:v,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:g,colorPrimaryActive:m,colorWhite:p}=e,y=4,w=o,I=t?w-y*2:w-(y+a)*2;return{radioSize:w,dotSize:I,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:g,buttonSolidCheckedActiveBg:m,buttonBg:c,buttonCheckedBg:c,buttonColor:s,buttonCheckedBgDisabled:v,buttonCheckedColorDisabled:l,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?d:p,radioBgColor:t?c:d}},hi=Zr("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Ce(n)} ${t}`,o=Cn(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[cs(o),us(o),ds(o)]},fs,{unitless:{radioSize:!0,dotSize:!0}});var ms=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const vs=(e,t)=>{var n,r;const a=f.useContext(vi),o=f.useContext(gi),{getPrefixCls:s,direction:c,radio:l}=f.useContext(Wt),v=f.useRef(null),u=dl(t,v),{isFormItemInput:d}=f.useContext(er),g=x=>{var P,$;(P=e.onChange)===null||P===void 0||P.call(e,x),($=a==null?void 0:a.onChange)===null||$===void 0||$.call(a,x)},{prefixCls:m,className:p,rootClassName:y,children:w,style:I,title:i}=e,C=ms(e,["prefixCls","className","rootClassName","children","style","title"]),h=s("radio",m),D=((a==null?void 0:a.optionType)||o)==="button",L=D?`${h}-button`:h,O=tr(h),[j,z,E]=hi(h,O),N=Object.assign({},C),q=f.useContext(Ur);a&&(N.name=a.name,N.onChange=g,N.checked=e.value===a.value,N.disabled=(n=N.disabled)!==null&&n!==void 0?n:a.disabled),N.disabled=(r=N.disabled)!==null&&r!==void 0?r:q;const W=He(`${L}-wrapper`,{[`${L}-wrapper-checked`]:N.checked,[`${L}-wrapper-disabled`]:N.disabled,[`${L}-wrapper-rtl`]:c==="rtl",[`${L}-wrapper-in-form-item`]:d,[`${L}-wrapper-block`]:!!(a!=null&&a.block)},l==null?void 0:l.className,p,y,z,E,O),[M,S]=fl(N.onClick);return j(f.createElement(io,{component:"Radio",disabled:N.disabled},f.createElement("label",{className:W,style:Object.assign(Object.assign({},l==null?void 0:l.style),I),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:i,onClick:M},f.createElement(ml,Object.assign({},N,{className:He(N.className,{[vl]:!D}),type:"radio",prefixCls:L,ref:u,onClick:S})),w!==void 0?f.createElement("span",{className:`${L}-label`},w):null)))},Gn=f.forwardRef(vs),gs=f.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=f.useContext(Wt),{name:a}=f.useContext(er),o=gl(hl(a)),{prefixCls:s,className:c,rootClassName:l,options:v,buttonStyle:u="outline",disabled:d,children:g,size:m,style:p,id:y,optionType:w,name:I=o,defaultValue:i,value:C,block:h=!1,onChange:D,onMouseEnter:L,onMouseLeave:O,onFocus:j,onBlur:z}=e,[E,N]=It(i,{value:C}),q=f.useCallback(Y=>{const Z=E,J=Y.target.value;"value"in e||N(J),J!==Z&&(D==null||D(Y))},[E,N,D]),W=n("radio",s),M=`${W}-group`,S=tr(W),[x,P,$]=hi(W,S);let R=g;v&&v.length>0&&(R=v.map(Y=>typeof Y=="string"||typeof Y=="number"?f.createElement(Gn,{key:Y.toString(),prefixCls:W,disabled:d,value:Y,checked:E===Y},Y):f.createElement(Gn,{key:`radio-group-value-options-${Y.value}`,prefixCls:W,disabled:Y.disabled||d,value:Y.value,checked:E===Y.value,title:Y.title,style:Y.style,className:Y.className,id:Y.id,required:Y.required},Y.label)));const F=qr(m),T=He(M,`${M}-${u}`,{[`${M}-${F}`]:F,[`${M}-rtl`]:r==="rtl",[`${M}-block`]:h},c,l,P,$,S),V=f.useMemo(()=>({onChange:q,value:E,disabled:d,name:I,optionType:w,block:h}),[q,E,d,I,w,h]);return x(f.createElement("div",Object.assign({},Jn(e,{aria:!0,data:!0}),{className:T,style:p,onMouseEnter:L,onMouseLeave:O,onFocus:j,onBlur:z,id:y,ref:t}),f.createElement(ls,{value:V},R)))}),hs=f.memo(gs);var ps=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const bs=(e,t)=>{const{getPrefixCls:n}=f.useContext(Wt),{prefixCls:r}=e,a=ps(e,["prefixCls"]),o=n("radio",r);return f.createElement(ss,{value:"button"},f.createElement(Gn,Object.assign({prefixCls:o},a,{type:"radio",ref:t})))},Cs=f.forwardRef(bs),yn=Gn;yn.Button=Cs;yn.Group=hs;yn.__ANT_RADIO=!0;const Nr=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",o=bl(e);return[{[`${n}-multiple${a}`]:{paddingBlock:o.containerPadding,paddingInlineStart:o.basePadding,minHeight:r,[`${n}-selection-item`]:{height:o.itemHeight,lineHeight:Ce(o.itemLineHeight)}}}]},xs=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=Cn(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),o=Cn(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[Nr(a,"small"),Nr(e),Nr(o,"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"}}},pl(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},ys=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:o,cellHoverBg:s,lineWidth:c,lineType:l,colorPrimary:v,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:g,cellBgDisabled:m,colorFillSecondary:p}=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:Ce(r),borderRadius:a,transition:`background ${o}`},[`&:hover:not(${t}-in-view):not(${t}-disabled),
152
- &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:s}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Ce(c)} ${l} ${v}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range,
153
- &-in-view${t}-range-start,
154
- &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
155
- &-in-view${t}-range-start,
156
- &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:v},[`&${t}-disabled ${n}`]:{background:p}},[`&-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:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:g,cursor:"not-allowed",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:g}}},ws=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:o,cellWidth:s,paddingSM:c,paddingXS:l,paddingXXS:v,colorBgContainer:u,lineWidth:d,lineType:g,borderRadiusLG:m,colorPrimary:p,colorTextHeading:y,colorSplit:w,pickerControlIconBorderWidth:I,colorIcon:i,textHeight:C,motionDurationMid:h,colorIconHover:D,fontWeightStrong:L,cellHeight:O,pickerCellPaddingVertical:j,colorTextDisabled:z,colorText:E,fontSize:N,motionDurationSlow:q,withoutTimeCellHeight:W,pickerQuarterPanelContentHeight:M,borderRadiusSM:S,colorTextLightSolid:x,cellHoverBg:P,timeColumnHeight:$,timeColumnWidth:R,timeCellHeight:F,controlItemBgActive:T,marginXXS:V,pickerDatePanelPaddingHorizontal:Y,pickerControlIconMargin:Z}=e,J=e.calc(s).mul(7).add(e.calc(Y).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:m,outline:"none","&-focused":{borderColor:p},"&-rtl":{[`${t}-prev-icon,
157
- ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
158
- ${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:J},"&-header":{display:"flex",padding:`0 ${Ce(l)}`,color:y,borderBottom:`${Ce(d)} ${g} ${w}`,"> *":{flex:"none"},button:{padding:0,color:i,lineHeight:Ce(C),background:"transparent",border:0,cursor:"pointer",transition:`color ${h}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:N,"&:hover":{color:D},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:L,lineHeight:Ce(C),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:p}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:o,height:o,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:I,borderInlineStartWidth:I,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Z,insetInlineStart:Z,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:I,borderInlineStartWidth:I,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:O,fontWeight:"normal"},th:{height:e.calc(O).add(e.calc(j).mul(2)).equal(),color:E,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Ce(j)} 0`,color:z,cursor:"pointer","&-in-view":{color:E}},ys(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(W).mul(4).equal()},[r]:{padding:`0 ${Ce(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:M}},"&-decade-panel":{[r]:{padding:`0 ${Ce(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${Ce(l)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${Ce(l)} ${Ce(Y)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel-row":{td:{"&:before":{transition:`background ${h}`},"&:first-child:before":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child:before":{borderStartEndRadius:S,borderEndEndRadius:S}},"&:hover td:before":{background:P},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:p},[`&${t}-cell-week`]:{color:new xn(x).setA(.5).toHexString()},[r]:{color:x}}},"&-range-hover td:before":{background:T}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${Ce(l)} ${Ce(c)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${Ce(d)} ${g} ${w}`},[`${t}-date-panel,
159
- ${t}-time-panel`]:{transition:`opacity ${q}`},"&-active":{[`${t}-date-panel,
160
- ${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:R,margin:`${Ce(v)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${h}`,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% - ${Ce(F)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Ce(d)} ${g} ${w}`},"&-active":{background:new xn(T).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:V,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(R).sub(e.calc(V).mul(2)).equal(),height:F,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(R).sub(F).div(2).equal(),color:E,lineHeight:Ce(F),borderRadius:S,cursor:"pointer",transition:`background ${h}`,"&:hover":{background:P}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:T}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:z,background:"transparent",cursor:"not-allowed"}}}}}}}}},Ss=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:o,colorPrimary:s,cellActiveWithRangeBg:c,colorPrimaryBorder:l,lineType:v,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Ce(r)} ${v} ${u}`,"&-extra":{padding:`0 ${Ce(a)}`,lineHeight:Ce(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${Ce(r)} ${v} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:Ce(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:Ce(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:s,background:c,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},ks=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:a}=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(a).add(e.calc(r).div(2)).equal()}},$s=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:o,lineWidth:s}=e,c=o*2,l=s*2,v=Math.min(n-c,n-l),u=Math.min(r-c,r-l),d=Math.min(a-c,a-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new xn(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new xn(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:a*1.4,timeColumnHeight:224,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:a,withoutTimeCellHeight:a*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:v,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Ms=e=>Object.assign(Object.assign(Object.assign(Object.assign({},Cl(e)),$s(e)),xl(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),Is=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign(Object.assign({},yl(e)),wl(e)),Sl(e)),kl(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ce(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Ce(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ce(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ce(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},Hr=(e,t)=>({padding:`${Ce(e)} ${Ce(t)}`}),Ds=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}}}}},Ls=e=>{var t;const{componentCls:n,antCls:r,paddingInline:a,lineWidth:o,lineType:s,colorBorder:c,borderRadius:l,motionDurationMid:v,colorTextDisabled:u,colorTextPlaceholder:d,colorTextQuaternary:g,fontSizeLG:m,inputFontSizeLG:p,fontSizeSM:y,inputFontSizeSM:w,controlHeightSM:I,paddingInlineSM:i,paddingXS:C,marginXS:h,colorIcon:D,lineWidthBold:L,colorPrimary:O,motionDurationSlow:j,zIndexPopup:z,paddingXXS:E,sizePopupArrow:N,colorBgElevated:q,borderRadiusLG:W,boxShadowSecondary:M,borderRadiusSM:S,colorSplit:x,cellHoverBg:P,presetsWidth:$,presetsMaxWidth:R,boxShadowPopoverArrow:F,fontHeight:T,lineHeightLG:V}=e;return[{[n]:Object.assign(Object.assign(Object.assign({},en(e)),Hr(e.paddingBlock,e.paddingInline)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:`border ${v}, box-shadow ${v}, background ${v}`,[`${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 ${v}`},Nl(d)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:d}}},"&-large":Object.assign(Object.assign({},Hr(e.paddingBlockLG,e.paddingInlineLG)),{[`${n}-input > input`]:{fontSize:p??m,lineHeight:V}}),"&-small":Object.assign(Object.assign({},Hr(e.paddingBlockSM,e.paddingInlineSM)),{[`${n}-input > input`]:{fontSize:w??y}}),[`${n}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(C).div(2).equal(),color:g,lineHeight:1,pointerEvents:"none",transition:`opacity ${v}, color ${v}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:h}}},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:g,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${v}, color ${v}`,"> *":{verticalAlign:"top"},"&:hover":{color:D}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-suffix:not(:last-child)`]:{opacity:0}},[`${n}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:m,color:g,fontSize:m,verticalAlign:"top",cursor:"default",[`${n}-focused &`]:{color:D},[`${n}-range-separator &`]:{[`${n}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${n}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:L,background:O,opacity:0,transition:`all ${j} ease-out`,pointerEvents:"none"},[`&${n}-focused`]:{[`${n}-active-bar`]:{opacity:1}},[`${n}-range-separator`]:{alignItems:"center",padding:`0 ${Ce(C)}`,lineHeight:1}},"&-range, &-multiple":{[`${n}-clear`]:{insetInlineEnd:a},[`&${n}-small`]:{[`${n}-clear`]:{insetInlineEnd:i}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},en(e)),ws(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:z,[`&${n}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${n}-dropdown-placement-bottomLeft,
161
- &${n}-dropdown-placement-bottomRight`]:{[`${n}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${n}-dropdown-placement-topLeft,
162
- &${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,
163
- &${r}-slide-up-enter${r}-slide-up-enter-active${n}-dropdown-placement-topRight,
164
- &${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-topLeft,
165
- &${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-topRight`]:{animationName:Pl},[`&${r}-slide-up-enter${r}-slide-up-enter-active${n}-dropdown-placement-bottomLeft,
166
- &${r}-slide-up-enter${r}-slide-up-enter-active${n}-dropdown-placement-bottomRight,
167
- &${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-bottomLeft,
168
- &${r}-slide-up-appear${r}-slide-up-appear-active${n}-dropdown-placement-bottomRight`]:{animationName:Ll},[`&${r}-slide-up-leave ${n}-panel-container`]:{pointerEvents:"none"},[`&${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-topLeft,
169
- &${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-topRight`]:{animationName:Dl},[`&${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-bottomLeft,
170
- &${r}-slide-up-leave${r}-slide-up-leave-active${n}-dropdown-placement-bottomRight`]:{animationName:Il},[`${n}-panel > ${n}-time-panel`]:{paddingTop:E},[`${n}-range-wrapper`]:{display:"flex",position:"relative"},[`${n}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${j} ease-out`},Al(e,q,F)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${n}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:q,borderRadius:W,boxShadow:M,transition:`margin ${j}`,display:"inline-block",pointerEvents:"auto",[`${n}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${n}-presets`]:{display:"flex",flexDirection:"column",minWidth:$,maxWidth:R,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:C,borderInlineEnd:`${Ce(o)} ${s} ${x}`,li:Object.assign(Object.assign({},El),{borderRadius:S,paddingInline:C,paddingBlock:e.calc(I).sub(T).div(2).equal(),cursor:"pointer",transition:`all ${j}`,"+ li":{marginTop:h},"&:hover":{background:P}})}},[`${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:c}}}}),"&-dropdown-range":{padding:`${Ce(e.calc(N).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${n}-separator`]:{transform:"scale(-1, 1)"},[`${n}-footer`]:{"&-extra":{direction:"rtl"}}}})},ya(e,"slide-up"),ya(e,"slide-down"),wa(e,"move-up"),wa(e,"move-down")]},pi=Zr("DatePicker",e=>{const t=Cn($l(e),ks(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Ss(t),Ls(t),Is(t),Ds(t),xs(t),Ml(e,{focusElCls:`${e.componentCls}-focused`})]},Ms);var Ps={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"},Es=function(t,n){return f.createElement(Gr,Ne({},t,{ref:n,icon:Ps}))},As=f.forwardRef(Es);const bi=(e,t,n,r,a)=>{const{classNames:o,styles:s}=Hl(e),[c,l]=N0([o,t],[s,n],{popup:{_default:"root"}});return f.useMemo(()=>{var v,u;const d=Object.assign(Object.assign({},c),{popup:Object.assign(Object.assign({},c.popup),{root:He((v=c.popup)===null||v===void 0?void 0:v.root,r)})}),g=Object.assign(Object.assign({},l),{popup:Object.assign(Object.assign({},l.popup),{root:Object.assign(Object.assign({},(u=l.popup)===null||u===void 0?void 0:u.root),a)})});return[d,g]},[c,l,r,a])};function Ns(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 Hs(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 Ci(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=Ol(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[f.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[Os,Rs]=["week","WeekPicker"],[Fs,Ts]=["month","MonthPicker"],[Vs,zs]=["year","YearPicker"],[Bs,js]=["quarter","QuarterPicker"],[ga,_a]=["time","TimePicker"];var Ys={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"},_s=function(t,n){return f.createElement(Gr,Ne({},t,{ref:n,icon:Ys}))},Ws=f.forwardRef(_s),Zs={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"},Us=function(t,n){return f.createElement(Gr,Ne({},t,{ref:n,icon:Zs}))},qs=f.forwardRef(Us);const xi=({picker:e,hasFeedback:t,feedbackIcon:n,suffixIcon:r})=>r===null||r===!1?null:r===!0||r===void 0?Ee.createElement(Ee.Fragment,null,e===ga?Ee.createElement(qs,null):Ee.createElement(Ws,null),t&&n):r,Gs=e=>f.createElement(Or,Object.assign({size:"small",type:"primary"},e));function yi(e){return Bt(()=>Object.assign({button:Gs},e),[e])}var Qs=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const Ks=e=>nn((n,r)=>{var a;const{prefixCls:o,getPopupContainer:s,components:c,className:l,style:v,placement:u,size:d,disabled:g,bordered:m=!0,placeholder:p,popupStyle:y,popupClassName:w,dropdownClassName:I,status:i,rootClassName:C,variant:h,picker:D,styles:L,classNames:O,suffixIcon:j}=n,z=Qs(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupStyle","popupClassName","dropdownClassName","status","rootClassName","variant","picker","styles","classNames","suffixIcon"]),E=D===ga?"timePicker":"datePicker",N=f.useRef(null),{getPrefixCls:q,direction:W,getPopupContainer:M,rangePicker:S}=Zn(Wt),x=q("picker",o),{compactSize:P,compactItemClassnames:$}=lo(x,W),R=q(),[F,T]=Qr("rangePicker",h,m),V=tr(x),[Y,Z,J]=pi(x,V),[H,A]=bi(E,O,L,w||I,y),[B]=Ci(n,x),b=yi(c),_=qr(ke=>{var $e;return($e=d??P)!==null&&$e!==void 0?$e:ke}),G=f.useContext(Ur),U=g??G,Q=Zn(er),{hasFeedback:ie,status:ge,feedbackIcon:se}=Q,Se=f.createElement(xi,{picker:D,hasFeedback:ie,feedbackIcon:se,suffixIcon:j});ro(r,()=>N.current);const[ve]=so("Calendar",vo),Ae=Object.assign(Object.assign({},ve),n.locale),[Ie]=co("DatePicker",(a=A.popup.root)===null||a===void 0?void 0:a.zIndex);return Y(f.createElement(uo,{space:!0},f.createElement(es,Object.assign({separator:f.createElement("span",{"aria-label":"to",className:`${x}-separator`},f.createElement(As,null)),disabled:U,ref:N,placement:u,placeholder:Hs(Ae,D,p),suffixIcon:Se,prevIcon:f.createElement("span",{className:`${x}-prev-icon`}),nextIcon:f.createElement("span",{className:`${x}-next-icon`}),superPrevIcon:f.createElement("span",{className:`${x}-super-prev-icon`}),superNextIcon:f.createElement("span",{className:`${x}-super-next-icon`}),transitionName:`${R}-slide-up`,picker:D},z,{className:He({[`${x}-${_}`]:_,[`${x}-${F}`]:T},fo(x,mo(ge,i),ie),Z,$,l,S==null?void 0:S.className,J,V,C,H.root),style:Object.assign(Object.assign(Object.assign({},S==null?void 0:S.style),v),A.root),locale:Ae.lang,prefixCls:x,getPopupContainer:s||M,generateConfig:e,components:b,direction:W,classNames:{popup:He(Z,J,V,C,H.popup.root)},styles:{popup:Object.assign(Object.assign({},A.popup.root),{zIndex:Ie})},allowClear:B}))))});var Xs=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const Js=e=>{const t=(l,v)=>{const u=v===_a?"timePicker":"datePicker";return nn((g,m)=>{var p;const{prefixCls:y,getPopupContainer:w,components:I,style:i,className:C,rootClassName:h,size:D,bordered:L,placement:O,placeholder:j,popupStyle:z,popupClassName:E,dropdownClassName:N,disabled:q,status:W,variant:M,onCalendarChange:S,styles:x,classNames:P,suffixIcon:$}=g,R=Xs(g,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupStyle","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange","styles","classNames","suffixIcon"]),{getPrefixCls:F,direction:T,getPopupContainer:V,[u]:Y}=Zn(Wt),Z=F("picker",y),{compactSize:J,compactItemClassnames:H}=lo(Z,T),A=f.useRef(null),[B,b]=Qr("datePicker",M,L),_=tr(Z),[G,U,Q]=pi(Z,_);ro(m,()=>A.current);const ie={showToday:!0},ge=l||g.picker,se=F(),{onSelect:Se,multiple:ve}=R,Ae=Se&&l==="time"&&!ve,Ie=(ee,oe,Re)=>{S==null||S(ee,oe,Re),Ae&&Se(ee)},[ke,$e]=bi(u,P,x,E||N,z),[je,Ve]=Ci(g,Z),Te=yi(I),xe=qr(ee=>{var oe;return(oe=D??J)!==null&&oe!==void 0?oe:ee}),Ye=f.useContext(Ur),Oe=q??Ye,Be=Zn(er),{hasFeedback:K,status:me,feedbackIcon:ae}=Be,fe=f.createElement(xi,{picker:ge,hasFeedback:K,feedbackIcon:ae,suffixIcon:$}),[X]=so("DatePicker",vo),te=Object.assign(Object.assign({},X),g.locale),[le]=co("DatePicker",(p=$e.popup.root)===null||p===void 0?void 0:p.zIndex);return G(f.createElement(uo,{space:!0},f.createElement(is,Object.assign({ref:A,placeholder:Ns(te,ge,j),suffixIcon:fe,placement:O,prevIcon:f.createElement("span",{className:`${Z}-prev-icon`}),nextIcon:f.createElement("span",{className:`${Z}-next-icon`}),superPrevIcon:f.createElement("span",{className:`${Z}-super-prev-icon`}),superNextIcon:f.createElement("span",{className:`${Z}-super-next-icon`}),transitionName:`${se}-slide-up`,picker:l,onCalendarChange:Ie},ie,R,{locale:te.lang,className:He({[`${Z}-${xe}`]:xe,[`${Z}-${B}`]:b},fo(Z,mo(me,W),K),U,H,Y==null?void 0:Y.className,C,Q,_,h,ke.root),style:Object.assign(Object.assign(Object.assign({},Y==null?void 0:Y.style),i),$e.root),prefixCls:Z,getPopupContainer:w||V,generateConfig:e,components:Te,direction:T,disabled:Oe,classNames:{popup:He(U,Q,_,h,ke.popup.root)},styles:{popup:Object.assign(Object.assign({},$e.popup.root),{zIndex:le})},allowClear:je,removeIcon:Ve}))))})},n=t(),r=t(Os,Rs),a=t(Fs,Ts),o=t(Vs,zs),s=t(Bs,js),c=t(ga,_a);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:o,TimePicker:c,QuarterPicker:s}},wi=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:o,QuarterPicker:s}=Js(e),c=Ks(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=a,l.RangePicker=c,l.TimePicker=o,l.QuarterPicker=s,l},Mt=wi(s2),ec=Kr(Mt,"popupAlign",void 0,"picker");Mt._InternalPanelDoNotUseOrYouWillBeFired=ec;const tc=Kr(Mt.RangePicker,"popupAlign",void 0,"picker");Mt._InternalRangePanelDoNotUseOrYouWillBeFired=tc;Mt.generatePicker=wi;const nc=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:o}=e,s=o(r).sub(n).equal(),c=o(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},en(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:s,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${Ce(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:s}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},ha=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Cn(e,{tagFontSize:a,tagLineHeight:Ce(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},pa=e=>({defaultBg:new xn(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Si=Zr("Tag",e=>{const t=ha(e);return nc(t)},pa);var rc=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const ac=f.forwardRef((e,t)=>{const{prefixCls:n,style:r,className:a,checked:o,children:s,icon:c,onChange:l,onClick:v}=e,u=rc(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:d,tag:g}=f.useContext(Wt),m=C=>{l==null||l(!o),v==null||v(C)},p=d("tag",n),[y,w,I]=Si(p),i=He(p,`${p}-checkable`,{[`${p}-checkable-checked`]:o},g==null?void 0:g.className,a,w,I);return y(f.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},r),g==null?void 0:g.style),className:i,onClick:m}),c,f.createElement("span",null,s)))}),oc=e=>Rl(e,(t,{textColor:n,lightBorderColor:r,lightColor:a,darkColor:o})=>({[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}})),ic=go(["Tag","preset"],e=>{const t=ha(e);return oc(t)},pa);function lc(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const On=(e,t,n)=>{const r=lc(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},sc=go(["Tag","status"],e=>{const t=ha(e);return[On(t,"success","Success"),On(t,"processing","Info"),On(t,"error","Error"),On(t,"warning","Warning")]},pa);var cc=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const uc=f.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:o,children:s,icon:c,color:l,onClose:v,bordered:u=!0,visible:d}=e,g=cc(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:p,tag:y}=f.useContext(Wt),[w,I]=f.useState(!0),i=Wr(g,["closeIcon","closable"]);f.useEffect(()=>{d!==void 0&&I(d)},[d]);const C=Fl(l),h=Tl(l),D=C||h,L=Object.assign(Object.assign({backgroundColor:l&&!D?l:void 0},y==null?void 0:y.style),o),O=m("tag",n),[j,z,E]=Si(O),N=He(O,y==null?void 0:y.className,{[`${O}-${l}`]:D,[`${O}-has-color`]:l&&!D,[`${O}-hidden`]:!w,[`${O}-rtl`]:p==="rtl",[`${O}-borderless`]:!u},r,a,z,E),q=$=>{$.stopPropagation(),v==null||v($),!$.defaultPrevented&&I(!1)},[,W]=Vl(Sa(e),Sa(y),{closable:!1,closeIconRender:$=>{const R=f.createElement("span",{className:`${O}-close-icon`,onClick:q},$);return zl($,R,F=>({onClick:T=>{var V;(V=F==null?void 0:F.onClick)===null||V===void 0||V.call(F,T),q(T)},className:He(F==null?void 0:F.className,`${O}-close-icon`)}))}}),M=typeof g.onClick=="function"||s&&s.type==="a",S=c||null,x=S?f.createElement(f.Fragment,null,S,s&&f.createElement("span",null,s)):s,P=f.createElement("span",Object.assign({},i,{ref:t,className:N,style:L}),x,W,C&&f.createElement(ic,{key:"preset",prefixCls:O}),h&&f.createElement(sc,{key:"status",prefixCls:O}));return j(M?f.createElement(io,{component:"Tag"},P):P)}),ki=uc;ki.CheckableTag=ac;var dc=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 a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const{TimePicker:fc,RangePicker:mc}=Mt,vc=f.forwardRef((e,t)=>f.createElement(mc,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),tn=f.forwardRef((e,t)=>{var{addon:n,renderExtraFooter:r,variant:a,bordered:o}=e,s=dc(e,["addon","renderExtraFooter","variant","bordered"]);const[c]=Qr("timePicker",a,o),l=f.useMemo(()=>{if(r)return r;if(n)return n},[n,r]);return f.createElement(fc,Object.assign({},s,{mode:void 0,ref:t,renderExtraFooter:l,variant:c}))}),$i=Kr(tn,"popupAlign",void 0,"picker");tn._InternalPanelDoNotUseOrYouWillBeFired=$i;tn.RangePicker=vc;tn._InternalPanelDoNotUseOrYouWillBeFired=$i;const gc=re.div`
171
- background-color: #ffffff;
172
- box-shadow: 0 2px 12px rgba(0,0,0,0.08);
173
- border-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"8px"}};
174
- height: 90vh;
175
- overflow: hidden;
176
- position: relative;
177
- `,hc=()=>{Ct(()=>{const e="goggle-nav-icon-styles";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerHTML=`
178
- :root { --color-gray: #64748b; --color-blue: #3b82f6; }
179
- .g-nav-item { position: relative; transition: all .3s ease; border-radius: 8px; }
180
- .g-nav-icon img { transition: all .3s ease; filter: grayscale(100%) brightness(100%) opacity(.7); }
181
- .g-nav-text { color: var(--color-gray); transition: color .3s ease; }
182
- .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); }
183
- .g-nav-item:not(.active):hover .g-nav-text { color: var(--color-blue); font-weight: 500; }
184
- .g-nav-item.active { background-color: rgba(219,234,254,0.6); }
185
- .g-nav-item.active .g-nav-icon img { filter: sepia(100%) saturate(1000%) hue-rotate(200deg) brightness(100%) opacity(1); transform: scale(1.05); }
186
- .g-nav-item.active .g-nav-text { color: var(--color-blue); opacity: .8; font-weight: 500; }
187
- .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; }
188
- `,document.head.appendChild(t)}},[])},pc=({items:e,activePath:t,defaultOpen:n=!0,open:r,onOpenChange:a,onItemClick:o,logo:s,className:c,style:l,styles:v})=>{const u=Ft(),d=it(it({theme:Pe,mode:"light"},u),v);hc();const[g,m]=Je(n),p=typeof r=="boolean"?r:g,y=h=>{typeof r=="boolean"||m(h),a==null||a(h)},[w,I]=Je(!1),i=h=>h?typeof h=="string"?k("img",{src:h,className:"w-6 h-6 transition-all duration-200",alt:"nav"}):h:null,C=Bt(()=>({width:p?"60px":"20px",minWidth:p?"60px":"20px",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"}),[p]);return ce(gc,{$theme:d.theme||Pe,className:`relative ${c||""}`,style:{...C,...l},children:[k("div",{onMouseEnter:()=>I(!0),onMouseLeave:()=>I(!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:()=>y(!p),"aria-label":p?"\u6536\u8D77":"\u5C55\u5F00",role:"button",children:k("div",{className:"group flex items-center justify-center w-6 h-6 rounded-full transition-all duration-200",children:ce("div",{className:"relative w-4 h-4 flex items-center justify-center",children:[k("div",{className:`absolute w-[2px] h-3 bg-gray-400 rounded-full transition-all duration-300 ${w?"opacity-0 scale-0":"opacity-100 scale-100"}`}),k("svg",{viewBox:"0 0 24 24",fill:"none",className:`absolute w-4 h-4 stroke-gray-400 transition-all duration-300 ${w?"opacity-100 scale-100":"opacity-0 scale-0"} ${p?"rotate-0":"rotate-180"}`,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:k("polyline",{points:"15 18 9 12 15 6"})})]})})}),ce("div",{className:"h-full py-6 px-[2px] flex flex-col items-center",style:{opacity:p?1:0,transform:p?"translateX(0)":"translateX(-10px)",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)"},children:[k("div",{className:"mb-6 transition-transform duration-300 hover:scale-105",children:typeof s=="string"?k("img",{src:s,className:"w-7 h-7",alt:"logo"}):s||k("div",{className:"w-7 h-7 rounded bg-gray-100 flex items-center justify-center text-xs text-gray-500",children:"G"})}),k("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(h=>{const D=!!(t&&h.path&&t.startsWith(h.path)),L=D&&h.activeIcon?h.activeIcon:h.icon;return ce("div",{onClick:()=>!h.disabled&&(o==null?void 0:o(h)),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 ${D?"active bg-blue-50":"text-gray-500 hover:bg-gray-50"}`,children:[ce("div",{className:"relative g-nav-icon transition-transform duration-200 group-hover:scale-105",children:[i(L),h.badge&&h.badge>0&&k("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:h.badge>99?"99+":h.badge})]}),k("div",{className:"mt-1 text-xs text-center g-nav-text transition-colors duration-200",children:h.name})]},h.key)})})]})]})};re.div.withConfig({shouldForwardProp:e=>!["itemWidth","itemGap","theme"].includes(e)})`
189
- position: relative;
190
- display: flex;
191
- align-items: flex-end;
192
- justify-content: center;
193
- padding: 12px 20px;
194
- 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)"}};
195
- backdrop-filter: saturate(180%) blur(20px);
196
- -webkit-backdrop-filter: saturate(180%) blur(20px);
197
- 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)"}};
198
- border-radius: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.space)==null?void 0:n.radius)||"14px"}};
199
- 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)"}};
200
- width: fit-content;
201
- margin: 0 auto;
202
- min-width: ${e=>e.itemWidth*2}px;
203
- `;re.div.withConfig({shouldForwardProp:e=>!["itemWidth","itemHeight","itemGap","isHovered","magnification"].includes(e)})`
204
- position: relative;
205
- width: ${e=>e.itemWidth}px;
206
- height: ${e=>e.itemHeight}px;
207
- margin: 0 ${e=>e.itemGap/2}px;
208
- cursor: pointer;
209
- transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
210
- transform: ${e=>e.isHovered?`scale(${e.magnification})`:"scale(1)"};
211
- transform-origin: center bottom;
212
- z-index: ${e=>e.isHovered?10:1};
213
- `;re.img.withConfig({shouldForwardProp:e=>!["isActive"].includes(e)})`
214
- width: 80%;
215
- height: 80%;
216
- object-fit: contain;
217
- border-radius: 8px;
218
- transition: all 0.15s ease;
219
- filter: ${e=>e.isActive?"none":"grayscale(0.3) brightness(0.8)"};
220
-
221
- &:hover {
222
- filter: none;
223
- }
224
- `;re.div.withConfig({shouldForwardProp:e=>!["isActive","theme"].includes(e)})`
225
- position: absolute;
226
- bottom: -4px;
227
- left: 40%;
228
- transform: translateX(-50%);
229
- width: 6px;
230
- height: 6px;
231
- background: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007AFF"}};
232
- border-radius: 50%;
233
- opacity: ${e=>e.isActive?1:0};
234
- transition: opacity 0.2s ease;
235
- `;re.div.withConfig({shouldForwardProp:e=>!["visible","theme"].includes(e)})`
236
- position: absolute;
237
- bottom: 100%;
238
- left: 40%;
239
- transform: translateX(-50%) translateY(-8px);
240
- 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)"}};
241
- color: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.colors)==null?void 0:n.background)||"white"}};
242
- padding: 4px 8px;
243
- border-radius: ${e=>{var t,n;return((n=(t=e.theme)==null?void 0:t.space)==null?void 0:n.radius)||"4px"}};
244
- font-size: 10px;
245
- white-space: nowrap;
246
- opacity: ${e=>e.visible?1:0};
247
- visibility: ${e=>e.visible?"visible":"hidden"};
248
- transition: all 0.2s ease;
249
- z-index: 1000;
250
-
251
- &::after {
252
- content: '';
253
- position: absolute;
254
- top: 100%;
255
- left: 50%;
256
- transform: translateX(-50%);
257
- border: 4px solid transparent;
258
- 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)"}};
259
- }
260
- `;const Mi=e=>{if(e===0)return"0 B";const t=1024,n=["B","KB","MB","GB"],r=Math.floor(Math.log(e)/Math.log(t));return parseFloat((e/Math.pow(t,r)).toFixed(2))+" "+n[r]},Wa=()=>Math.random().toString(36).substr(2,9),bc=(e,t)=>{const n={...e.formData},r=["name","filename","title","displayName","fileName"],a=["size","fileSize","file_size"],o=["type","fileType","mimeType","contentType"];return t.forEach(s=>{const c=s.name||s.field;c&&(r.includes(c.toLowerCase())&&!n[c]&&(n[c]=e.name),a.includes(c.toLowerCase())&&!n[c]&&(n[c]=Mi(e.size)),o.includes(c.toLowerCase())&&!n[c]&&(n[c]=e.type))}),n},Cc=async(e,t,n={},r={},a)=>new Promise((o,s)=>{var c;const l=new XMLHttpRequest,v=new URL(t);if(Object.entries(r).forEach(([d,g])=>{v.searchParams.append(d,g)}),(c=n["Content-Type"])==null?void 0:c.includes("application/json")){const d=new FileReader;d.onload=()=>{const g=d.result,m=JSON.stringify({file:g.split(",")[1]});u(m)},d.onerror=()=>s(new Error("\u6587\u4EF6\u8BFB\u53D6\u5931\u8D25")),d.readAsDataURL(e)}else{const d=new FormData;d.append("tableFile",e),u(d)}function u(d){l.upload.addEventListener("progress",g=>{if(g.lengthComputable){const m=Math.round(g.loaded/g.total*100);a==null||a(m)}}),l.addEventListener("load",()=>{if(l.status>=200&&l.status<300)try{const g=JSON.parse(l.responseText);g.data?o(g.data):o(l.responseText)}catch{o(l.responseText)}else{console.log("====xhr.responseText",l.responseText);let g="";try{const p=JSON.parse(l.responseText);p.errorMsg?g=p.errorMsg:p.message?g=p.message:p.error?g=p.error:g=`\u4E0A\u4F20\u5931\u8D25: ${l.status} ${l.statusText}`}catch{g=`\u4E0A\u4F20\u5931\u8D25: ${l.status} ${l.statusText}`}const m=new Error(g);m.response={status:l.status,statusText:l.statusText,data:l.responseText?JSON.parse(l.responseText):null,headers:l.getAllResponseHeaders()},s(m)}}),l.addEventListener("error",()=>{const g=new Error("\u7F51\u7EDC\u9519\u8BEF\uFF0C\u4E0A\u4F20\u5931\u8D25");g.request=l,g.type="network",s(g)}),l.addEventListener("timeout",()=>{const g=new Error("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u4E0A\u4F20\u5931\u8D25");g.request=l,g.type="timeout",s(g)}),l.open("POST",v.toString()),Object.entries(n).forEach(([g,m])=>{l.setRequestHeader(g,m)}),l.send(d)}}),xc=re.div`
261
- border: 2px dashed ${e=>{var t,n,r,a;return e.$isDragOver?((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff":((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.border)||"#dee2e6"}};
262
- border-radius: 4px;
263
- background: ${e=>{var t,n,r,a;return e.$isDragOver?`${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}10`:((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.background)||"#f8f9fa"}};
264
- padding: 24px;
265
- text-align: center;
266
- transition: all 0.2s ease;
267
- cursor: pointer;
268
- min-height: 200px;
269
- display: flex;
270
- flex-direction: column;
271
- align-items: center;
272
- justify-content: center;
273
- gap: 16px;
274
-
275
- &:hover {
276
- border-color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
277
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
278
- }
279
- `,yc=re.div`
280
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
281
- font-size: 48px;
282
- margin-bottom: 8px;
283
- `,wc=re.div`
284
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)||"#343a40"}};
285
- font-size: 16px;
286
- font-weight: 500;
287
- margin-bottom: 4px;
288
- `,Za=re.div`
289
- color: ${e=>{var t,n,r,a;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.textSecondary)||((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.disabledText)||"#6b7280"}};
290
- font-size: 14px;
291
- `,Sc=re.input`
292
- display: none;
293
- `,kc=re.div`
294
-
295
- width: 100%;
296
- max-width: 600px;
297
- `,$c=re.div.attrs({className:"upload-item"})`
298
- display: flex;
299
- align-items: center;
300
- padding: 8px 12px;
301
- border-bottom: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
302
- border: ${e=>{var t,n,r,a;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 ${((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.border)||"#dee2e6"}`}};
303
- border-radius: 4px;
304
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#ffffff"}};
305
- transition: all 0.2s ease;
306
-
307
- &:hover {
308
- border-color: ${e=>{var t,n,r,a;return e.$hasForm?"transparent":e.$status==="error"?((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000":((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.primary)||"#007bff"}};
309
- }
310
- `,Mc=re.div`
311
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
312
- margin-right: 12px;
313
- flex-shrink: 0;
314
- `,Ic=re.div`
315
- flex: 1;
316
- min-width: 0;
317
- `,Dc=re.div`
318
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)||"#343a40"}};
319
- font-size: 12px;
320
- font-weight: 400;
321
- margin-bottom: 2px;
322
- white-space: nowrap;
323
- overflow: hidden;
324
- text-overflow: ellipsis;
325
- `,Lc=re.div`
326
- color: ${e=>{var t,n,r,a;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.textSecondary)||((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.disabledText)||"#6b7280"}};
327
- font-size: 10px;
328
- `,Pc=re.div`
329
- width: 100%;
330
- height: 4px;
331
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
332
- border-radius: 2px;
333
- overflow: hidden;
334
- margin-top: 8px;
335
- position: relative;
336
-
337
- &::after {
338
- content: '';
339
- position: absolute;
340
- top: 0;
341
- left: 0;
342
- height: 100%;
343
- width: ${e=>e.$progress}%;
344
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
345
- transition: width 0.3s ease;
346
- }
347
- `,Ec=re.div`
348
- margin-left: 12px;
349
- flex-shrink: 0;
350
- color: ${e=>{var t,n,r,a,o,s,c,l,v,u;switch(e.$status){case"success":return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.success)||"#008000";case"error":return((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.error)||"#FF0000";case"uploading":return((s=(o=e.$theme)==null?void 0:o.colors)==null?void 0:s.primary)||"#007bff";case"pending":return((l=(c=e.$theme)==null?void 0:c.colors)==null?void 0:l.warning)||"#FFA500";default:return((u=(v=e.$theme)==null?void 0:v.colors)==null?void 0:u.disabledText)||"#808080"}}};
351
- `,Ac=re.button`
352
- background: none;
353
- border: none;
354
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}};
355
- cursor: pointer;
356
- padding: 4px;
357
- border-radius: 4px;
358
- margin-left: 8px;
359
- transition: all 0.2s ease;
360
-
361
- &:hover {
362
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}}20;
363
- }
364
- `;re.button`
365
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
366
- border: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
367
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
368
- padding: 8px 16px;
369
- border-radius: 4px;
370
- cursor: pointer;
371
- display: flex;
372
- align-items: center;
373
- gap: 8px;
374
- font-size: 14px;
375
- transition: all 0.2s ease;
376
-
377
- &:hover {
378
- border-color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
379
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}}10;
380
- }
381
- `;re.button`
382
- background: none;
383
- border: none;
384
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
385
- cursor: pointer;
386
- padding: 4px;
387
- border-radius: 4px;
388
- margin-left: 8px;
389
- transition: all 0.2s ease;
390
- display: flex;
391
- align-items: center;
392
-
393
- &:hover {
394
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}}20;
395
- }
396
- `;const Nc=re.div`
397
- padding: 0px;
398
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
399
-
400
- /* 移除边框,避免与外层容器边框重叠 */
401
- border: none;
402
- border-radius: 0;
403
-
404
- /* 添加上方隔离线 */
405
- border-top: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
406
-
407
- /* 当有错误时,使用错误状态的隔离线颜色 */
408
- ${e=>{var t,n;return e.$hasError&&`
409
- border-top-color: ${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"};
410
- `}}
411
-
412
- /* 添加左右内边距,与外层容器对齐 */
413
- margin: 0 1px;
414
-
415
- /* 添加背景色区分 */
416
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.listBackground)||"#f9f9f9"}};
417
- `;re.input`
418
- border: 1px solid ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)||"#dee2e6"}};
419
- border-radius: 4px;
420
- padding: 8px 12px;
421
- font-size: 14px;
422
- width: 100%;
423
- margin-top: 8px;
424
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
425
- color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)||"#343a40"}};
426
-
427
- &:focus {
428
- outline: none;
429
- border-color: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)||"#007bff"}};
430
- }
431
- `;const Hc=re.div`
432
- /* 基础样式 */
433
- margin-top: 5px;
434
- background: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)||"#f8f9fa"}};
435
- transition: all 0.2s ease;
436
-
437
- /* 边框逻辑:有表单时显示边框,无表单时不显示 */
438
- border: ${e=>{var t,n,r,a;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 ${((a=(r=e.$theme)==null?void 0:r.colors)==null?void 0:a.border)||"#dee2e6"}`:"none"}};
439
-
440
- /* 圆角设置:有表单时设置圆角,无表单时不设置 */
441
- border-radius: ${e=>e.$hasForm?"4px":"0"};
442
-
443
- /* 当有表单时的特殊样式 */
444
- ${e=>e.$hasForm&&`
445
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
446
-
447
- /* \u786E\u4FDD\u8FB9\u6846\u5B8C\u6574\u5305\u88F9\u6574\u4E2A\u5BB9\u5668 */
448
- overflow: hidden;
449
- `}
450
-
451
- /* 错误状态的特殊样式 */
452
- ${e=>{var t,n;return e.$status==="error"&&`
453
- background: ${((n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.error)||"#FF0000"}05;
454
- `}}
455
-
456
- /* 样式覆盖 */
457
- .list-my div{
458
- padding: 2px 2px !important;
459
- }
460
-
461
- :where(.css-dev-only-do-not-override-1v28nim).ant-input-textarea-affix-wrapper.ant-input-affix-wrapper >textarea.ant-input{
462
- min-height: 32px !important;
463
- }
464
- `;function Ue(e){return e.label?ce("div",{className:"flex items-center gap-2",children:[k("span",{className:"font-medium text-gray-800 text-sm",children:e.label}),e.required&&k("span",{className:"text-red-500 font-bold text-sm",children:"*"}),(e.helpText||e.description)&&k(Xr,{title:e.helpText||e.description,placement:"top",children:k(Ro,{className:"text-gray-400 hover:text-gray-600 cursor-help transition-colors",size:14})})]}):null}function Oc(e=[],t,n={},r="md"){const a=r==="sm"?"28px":"40px",o=r==="sm"?"28px":"40px",s=r==="sm"?"0 8px":"0 12px",c=r==="sm"?"16px":"24px",l=r==="sm"?"12px":"14px",v=Ee.useMemo(()=>{var i,C,h,D,L,O;(C=(i=t==null?void 0:t.theme)==null?void 0:i.colors)!=null&&C.border;const j=((D=(h=t==null?void 0:t.theme)==null?void 0:h.colors)==null?void 0:D.primary)||"#3b82f6",z=((O=(L=t==null?void 0:t.theme)==null?void 0:L.colors)==null?void 0:O.textSecondary)||"#9ca3af";return`
465
- .dynamic-form .ant-form-item-label > label {
466
- height: auto !important;
467
- line-height: 1.5 !important;
468
- margin-bottom: ${r==="sm"?"6px":"8px"} !important;
469
- font-weight: 500 !important;
470
- color: #374151 !important;
471
- font-size: ${l} !important;
472
- }
473
- .dynamic-form .ant-form-item {
474
- margin-bottom: ${c} !important;
475
- animation: df-fade-in 200ms ease-out both;
476
- }
477
-
478
- /* \u53D7\u63A7\u9879\u51FA\u73B0\u7684\u8F7B\u5FAE\u52A8\u753B */
479
- @keyframes df-fade-in {
480
- from { opacity: 0; transform: translateY(6px); }
481
- to { opacity: 1; transform: translateY(0); }
482
- }
483
- .df-stagger { animation: df-fade-in 200ms ease-out both; }
484
-
485
- /* \u9690\u85CFAnt Design\u7684\u5FC5\u586B\u661F\u53F7 */
486
- .dynamic-form .ant-form-item-required::before {
487
- display: none !important;
488
- }
489
- .dynamic-form .ant-form-item-required::after {
490
- display: none !important;
491
- }
492
-
493
- .dynamic-form .ant-input,
494
- .dynamic-form .ant-select-selector,
495
- {
496
- border-radius: 6px !important;
497
- border: none !important;
498
- transition: all 0.2s !important;
499
-
500
- line-height: ${o} !important;
501
- padding: ${s} !important;
502
- font-size: ${l} !important;
503
- }
504
-
505
- /* smooth show/hide for controlled items */
506
- .df-hidden {
507
- opacity: 0 !important;
508
- transform: translateY(-4px) !important;
509
- max-height: 0 !important;
510
- margin-bottom: 0 !important;
511
- overflow: hidden !important;
512
- pointer-events: none !important;
513
- transition: all 180ms ease !important;
514
- }
515
- .df-stagger { transition: all 200ms ease; }
516
-
517
- .dynamic-form .ant-input-number,
518
- .dynamic-form .ant-picker {
519
- line-height: ${o} !important;
520
- padding: ${s} !important;
521
- font-size: ${l} !important;
522
- }
523
-
524
- .dynamic-form .ant-input{
525
- padding: 0 6px !important;
526
- }
527
- .ant-input-affix-wrapper:where(.css-dev-only-do-not-override-1vjf2v5).ant-input-affix-wrapper {
528
- padding:0 6px !important;
529
- }
530
-
531
- .dynamic-form .ant-input-textarea .ant-input {
532
- border: none !important;
533
- background: transparent !important;
534
- padding: ${r==="sm"?"6px 8px":"8px 12px"} !important;
535
- min-height: ${r==="sm"?"56px":"80px"} !important;
536
- resize: vertical !important;
537
- }
538
-
539
- /* textarea \u6837\u5F0F\u4FEE\u590D */
540
- .dynamic-form .ant-input-textarea {
541
- border-radius: 6px !important;
542
- border: 1px solid #d1d5db !important;
543
- transition: all 0.2s !important;
544
- font-size: ${l} !important;
545
- }
546
-
547
- /* \u5BC6\u7801\u6846\u6837\u5F0F\u4FEE\u590D */
548
- .dynamic-form .ant-input-password {
549
- height: ${a} !important;
550
- line-height: ${o} !important;
551
- padding: 0 0px !important;
552
- }
553
- .dynamic-form .ant-input-number .ant-input-number-input {
554
- padding: 0 0px !important;
555
- }
556
- .dynamic-form :where(.css-dev-only-do-not-override-1d4w9r2).ant-input-number .ant-input-number-input{
557
- padding: 0 0px !important;
558
- }
559
- .dynamic-form .ant-input-password .ant-input {
560
- height: ${r==="sm"?"26px":"38px"} !important;
561
- line-height: ${r==="sm"?"26px":"38px"} !important;
562
- padding: ${s} !important;
563
- border: none !important;
564
- background: transparent !important;
565
- }
566
- /* \u6570\u5B57\u6846\u6837\u5F0F\u4FEE\u590D */
567
- .dynamic-form .ant-input-number {
568
- height: ${a} !important;
569
- line-height: ${o} !important;
570
- width: 100% !important;
571
- }
572
- .dynamic-form .ant-input-number .ant-input-number-input {
573
- height: ${r==="sm"?"26px":"38px"} !important;
574
- line-height: ${r==="sm"?"26px":"38px"} !important;
575
- text-align: left !important;
576
- }
577
- .dynamic-form .ant-input:focus,
578
- .dynamic-form .ant-select-focused .ant-select-selector,
579
- .dynamic-form .ant-input-number-focused,
580
- .dynamic-form .ant-picker-focused {
581
- border-color: ${j} !important;
582
- box-shadow: 0 0 0 2px ${j}1A !important;
583
- }
584
- .dynamic-form .ant-input:hover,
585
- .dynamic-form .ant-select:hover .ant-select-selector,
586
- .dynamic-form .ant-input-number:hover,
587
- .dynamic-form .ant-picker:hover {
588
- border-color: ${z} !important;
589
- }
590
- .ant-form input[type="file"] {
591
- display: none !important;
592
- }
593
-
594
-
595
-
596
- /* \u8BA1\u6570\u5668\u6837\u5F0F\u4F18\u5316\uFF0C\u907F\u514D\u4E0E\u81EA\u5B9A\u4E49\u6837\u5F0F\u51B2\u7A81 */
597
- .dynamic-form .ant-input-show-count-suffix {
598
- color: #6b7280 !important;
599
- font-size: 12px !important;
600
- margin-left: 8px !important;
601
- }
602
-
603
- .dynamic-form .ant-input-textarea-show-count-suffix {
604
- color: #6b7280 !important;
605
- font-size: 12px !important;
606
- text-align: right !important;
607
- margin-top: 4px !important;
608
- }
609
-
610
- /* \u786E\u4FDD\u8BA1\u6570\u5668\u4E0D\u4E0E\u5176\u4ED6\u5143\u7D20\u91CD\u53E0 */
611
- .dynamic-form .ant-form-item-control-input {
612
- position: relative !important;
613
- }
614
-
615
- .dynamic-form .ant-form-item-control-input-content {
616
- position: relative !important;
617
- }
618
- `},[r,a,o,s,c,l,t]);Ee.useEffect(()=>{const i=document.createElement("style");return i.textContent=v,document.head.appendChild(i),()=>{document.head.removeChild(i)}},[v]);const[u,d]=Ee.useState(()=>{const i={};return e.forEach(C=>{C.name&&(C.type==="switch"?i[C.name]=n[C.name]??C.defaultValue??!1:["select","radio","checkbox"].includes(C.type)&&(i[C.name]=n[C.name]??C.defaultValue??(C.type==="checkbox"?[]:"")))}),i}),g=Ee.useRef();Ee.useEffect(()=>{t&&t.formInstance&&!g.current&&(g.current=t.formInstance)},[t]);const m=(i,C,h)=>{var D;if(d(L=>({...L,[i]:C})),g.current&&h){let L=[];if(Array.isArray(h))L=h;else if(typeof h=="object"){const O=String(C);Object.keys(h).forEach(j=>{j!==O&&h[j].forEach(z=>{z&&g.current.setFieldsValue({[z]:void 0})})})}Array.isArray(h)&&((D=e.find(O=>O.name===i))==null?void 0:D.type)==="switch"&&!C&&L.forEach(O=>{O&&g.current.setFieldsValue({[O]:void 0})})}},p=new Set,y=(()=>{var i,C;try{return((C=(i=t==null?void 0:t.formInstance)==null?void 0:i.getFieldsValue)==null?void 0:C.call(i))||{}}catch{return{}}})(),w=i=>{i.forEach(C=>{if(C){if(C.controlledItems&&C.name){const h=u[C.name];if(Array.isArray(C.controlledItems))C.type==="switch"&&h===!1&&C.controlledItems.forEach(D=>{D&&p.add(D)});else if(typeof C.controlledItems=="object"){const D=new Set;Object.values(C.controlledItems).forEach(j=>{(j||[]).forEach(z=>z&&D.add(z))});const L=String(h??""),O=new Set((C.controlledItems[L]||[]).filter(Boolean));D.forEach(j=>{O.has(j)||p.add(j)})}}(typeof C.hidden=="function"?C.hidden(y):C.hidden===!0)&&C.name&&p.add(C.name),C.type==="col"&&Array.isArray(C.children)&&w(C.children)}})};w(e);const I=e.map((i,C)=>{var h,D,L,O,j,z,E,N,q,W,M,S,x,P,$,R,F,T,V,Y,Z,J;if(i.name&&p.has(i.name))return null;if(i.type==="divider")return k("div",{className:"my-3 border-b border-solid border-gray-200"},i.name||`divider-${Math.random()}`);if(i.type==="title"){const H=i.level||1,A={1:"text-[16px]",2:"text-[14px]",3:"text-[12px]"},B=A[H]||A[1];return k("div",{className:`${B} text-gray-800 mb-4 mt-6 ${i.className||""} df-stagger`,style:{color:"#1f2937",lineHeight:"1.4",fontWeight:H===1?700:H===2?600:500,animationDelay:`${C*30}ms`},children:ce("div",{className:"flex items-center",children:[k("span",{className:"mr-3",children:i.label}),k("div",{className:"flex-1 border-b-[1px] border-dashed border-gray-200",style:{borderBottomStyle:"dashed",borderBottomWidth:"1px",borderBottomColor:"#e5e7eb"}})]})},i.name||`title-${Math.random()}`)}if(i.type==="col"){if(!i.children||i.children.length===0)return null;const H=(b,_)=>{var G,U,Q,ie,ge,se,Se,ve,Ae,Ie,ke,$e,je,Ve,Te,xe,Ye,Oe,Be,K,me,ae;const fe=typeof b.hidden=="function"?b.hidden(y):b.hidden===!0;if(b.name&&p.has(b.name)||fe)return null;const X={label:b.label?Ue(b):void 0,name:b.name,rules:b.name?[{required:b.required,message:b.error||`\u8BF7\u8F93\u5165${b.label}`}]:void 0,className:"mb-6 df-stagger",style:{animationDelay:`${_*30}ms`},labelCol:{span:24},wrapperCol:{span:24},required:!1},te=b.name||b.id||`form-item-${_}`,le=`${b.className||""} ${r==="sm"?"h-7":"h-10"}`;switch(b.type){case"divider":return k("div",{className:"my-3 border-b border-solid border-gray-200"},b.name||b.id||`divider-${_}`);case"input":return k(we.Item,{...X,children:k(at,{placeholder:b.placeholder,disabled:b.disabled,className:le})},te);case"select":return k(we.Item,{...X,children:k(In,{placeholder:b.placeholder,disabled:b.disabled,className:le,value:u[b.name||""],onChange:ee=>m(b.name||"",ee,b.controlledItems),children:(G=b.options)==null?void 0:G.map((ee,oe)=>k(In.Option,{value:ee.value,children:ee.render?ee.render():ee.label},ee.value||oe))})},te);case"number":return k(we.Item,{...X,children:k(Dn,{addonAfter:b.unit?k("span",{className:"text-[10px] text-gray-300",children:b.unit}):null,min:(U=b.range)==null?void 0:U.min,max:(Q=b.range)==null?void 0:Q.max,step:b.step,placeholder:b.placeholder,disabled:b.disabled,className:le,style:{width:"100%"}})},te);case"password":return k(we.Item,{...X,children:k(at.Password,{placeholder:b.placeholder,disabled:b.disabled,className:le})},te);case"textarea":return k(we.Item,{...X,children:k(at.TextArea,{placeholder:b.placeholder,disabled:b.disabled,className:le,rows:r==="sm"?3:4})},te);case"date":return k(we.Item,{...X,children:k(Mt,{placeholder:b.placeholder,disabled:b.disabled,className:le,style:{width:"100%"}})},te);case"radio":return k(we.Item,{...X,children:k(yn.Group,{options:b.options,disabled:b.disabled,className:b.className})},te);case"switch":return k(we.Item,{label:null,colon:!1,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},children:ce("div",{className:"flex items-center justify-between",children:[k("div",{className:"flex items-center gap-2",children:b.label?Ue(b):null}),k(we.Item,{name:b.name,valuePropName:"checked",noStyle:!0,children:k($a,{disabled:b.disabled,checked:u[b.name||""],onChange:ee=>m(b.name||"",ee,b.controlledItems)})})]})},b.name||`switch-${Math.random()}`);case"slider":return ce("div",{className:"mb-6",children:[ce("div",{className:"flex items-center justify-between mb-3",children:[k("div",{className:"flex items-center",children:b.label?Ue(b):null}),ce("div",{className:"flex items-center gap-2",children:[k(we.Item,{name:b.name,noStyle:!0,children:k(Dn,{min:(ie=b.range)==null?void 0:ie.min,max:(ge=b.range)==null?void 0:ge.max,step:b.step,disabled:b.disabled,className:"h-8 w-20"})}),b.unit&&k("span",{className:"text-sm text-gray-500",children:b.unit})]})]}),k(we.Item,{name:b.name,noStyle:!0,children:k(ka,{min:(se=b.range)==null?void 0:se.min,max:(Se=b.range)==null?void 0:Se.max,step:b.step,disabled:b.disabled,className:b.className})})]},b.name||`slider-${Math.random()}`);case"checkbox":return k(we.Item,{...X,children:k(Ma.Group,{options:b.options,disabled:b.disabled,className:b.className})},te);case"email":return k(we.Item,{...X,children:k(at,{type:"email",placeholder:b.placeholder,disabled:b.disabled,className:le})},te);case"time":return k(we.Item,{...X,children:k(tn,{placeholder:b.placeholder,disabled:b.disabled,className:le,style:{width:"100%"}})},te);case"datetime":return k(we.Item,{...X,children:k(Mt,{showTime:!0,placeholder:b.placeholder,disabled:b.disabled,className:le,style:{width:"100%"}})},te);case"file":return k(we.Item,{...X,children:k(at,{type:"file",placeholder:b.placeholder,disabled:b.disabled,className:le})},te);case"color":return k(we.Item,{...X,children:k(at,{type:"color",placeholder:b.placeholder,disabled:b.disabled,className:le,style:{width:"65px",height:"40px",padding:"4px !important"}})},te);case"json":return k(we.Item,{...X,children:k(at.TextArea,{placeholder:b.placeholder,disabled:b.disabled,className:le,rows:4})},te);case"markdown":return k(we.Item,{...X,children:k(at.TextArea,{placeholder:b.placeholder,disabled:b.disabled,className:le,rows:6})},te);case"uploader":return k(we.Item,{...X,children:k(qa,{multiple:((ve=b.uploaderConfig)==null?void 0:ve.multiple)??!0,accept:((Ae=b.uploaderConfig)==null?void 0:Ae.accept)??"*/*",maxSize:((Ie=b.uploaderConfig)==null?void 0:Ie.maxSize)??100,maxFiles:((ke=b.uploaderConfig)==null?void 0:ke.maxFiles)??10,autoUpload:(($e=b.uploaderConfig)==null?void 0:$e.autoUpload)??!0,url:(je=b.uploaderConfig)==null?void 0:je.url,headers:((Ve=b.uploaderConfig)==null?void 0:Ve.headers)??{},queryParams:((Te=b.uploaderConfig)==null?void 0:Te.queryParams)??{},itemForm:((xe=b.uploaderConfig)==null?void 0:xe.itemForm)??[],buttons:((Ye=b.uploaderConfig)==null?void 0:Ye.buttons)||[],icons:(Oe=b.uploaderConfig)==null?void 0:Oe.icons,placeholder:(Be=b.uploaderConfig)==null?void 0:Be.placeholder,listName:(K=b.uploaderConfig)==null?void 0:K.listName,errorMessages:(me=b.uploaderConfig)==null?void 0:me.errorMessages,onRef:(ae=b.uploaderConfig)==null?void 0:ae.onRef,styles:t,eventsEmit:(ee,oe)=>{if(t&&typeof t.eventsEmit=="function"){const Re=ee.startsWith("uploader:")?ee:`uploader:${ee}`;t.eventsEmit(Re,{fieldName:b.name,...oe})}}})},te);default:return null}},A=i.children.map((b,_)=>H(b,_)),B=b=>{if(!i.percentage||i.percentage.length===0)return"flex-1";const _=i.percentage[b];return _&&_>0?`${_/12*100}%`:"flex-1"};return k("div",{className:`flex justify-between items-start gap-x-2 ${i.className||""}`,style:{flexDirection:i.direction==="column"?"column":"row",flexWrap:i.wrap?"wrap":"nowrap",gap:i.gap?`${i.gap}px`:"8px",justifyContent:i.justify||"space-between",alignItems:i.align||"start"},children:A.map((b,_)=>k("div",{style:{width:B(_),flex:i.percentage?"none":"1"},children:b},`col-child-${_}`))},i.name||`col-${Math.random()}`)}if(i.type==="input"){const H=[];return i.required&&H.push({required:!0,message:i.error||`\u8BF7\u8F93\u5165${i.label}`}),i.validate&&H.push({validator:async(A,B)=>{if(B&&i.validate){const b=i.validate(B);if(b)throw new Error(b)}}}),k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:H.length>0?H:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(at,{placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,maxLength:i.counter,showCount:!!i.counter})},i.name||`input-${Math.random()}`)}if(i.type==="select")return k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(In,{placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,value:u[i.name||""],onChange:H=>m(i.name||"",H,i.controlledItems),children:(h=i.options)==null?void 0:h.map((H,A)=>k(In.Option,{value:H.value,children:H.render?H.render():H.label},H.value||A))})},i.name||`select-${Math.random()}`);if(i.type==="number")return k(we.Item,{label:i.label?Ue(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",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(Dn,{addonAfter:i.unit?k("span",{className:"text-[10px] text-gray-300",children:i.unit}):null,min:(D=i.range)==null?void 0:D.min,max:(L=i.range)==null?void 0:L.max,step:i.step,placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},i.name||`number-${Math.random()}`);if(i.type==="slider")return ce("div",{className:"mb-6",children:[ce("div",{className:"flex items-center justify-between mb-3",children:[k("div",{className:"flex items-center",children:i.label?Ue(i):null}),ce("div",{className:"flex items-center gap-2",children:[k(we.Item,{name:i.name,noStyle:!0,children:k(Dn,{min:(O=i.range)==null?void 0:O.min,max:(j=i.range)==null?void 0:j.max,step:i.step,disabled:i.disabled,className:"h-8 w-20"})}),i.unit&&k("span",{className:"text-sm text-gray-500",children:i.unit})]})]}),k(we.Item,{name:i.name,noStyle:!0,children:k(ka,{min:(z=i.range)==null?void 0:z.min,max:(E=i.range)==null?void 0:E.max,step:i.step,disabled:i.disabled,className:i.className})})]},i.name||`slider-${Math.random()}`);if(i.type==="switch")return k(we.Item,{label:null,colon:!1,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},children:ce("div",{className:"flex items-center justify-between",children:[k("div",{className:"flex items-center gap-2",children:i.label?Ue(i):null}),k(we.Item,{name:i.name,valuePropName:"checked",noStyle:!0,children:k($a,{disabled:i.disabled,checked:i.name?u[i.name]:!1,className:i.className,onChange:H=>i.name&&m(i.name,H,i.controlledItems)})})]})},i.name||`switch-${Math.random()}`);if(i.type==="textarea"){const H=[];return i.required&&H.push({required:!0,message:i.error||`\u8BF7\u8F93\u5165${i.label}`}),i.validate&&H.push({validator:async(A,B)=>{if(B&&i.validate){const b=i.validate(B);if(b)throw new Error(b)}}}),k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:H.length>0?H:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(at.TextArea,{placeholder:i.placeholder,disabled:i.disabled,rows:r==="sm"?2:3,style:{height:"auto !important"},maxLength:i.counter,showCount:!!i.counter})},i.name||`textarea-${Math.random()}`)}return i.type==="date"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(Mt,{placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},i.name||`date-${Math.random()}`):i.type==="radio"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(yn.Group,{options:i.options,disabled:i.disabled,className:i.className})},i.name||`radio-${Math.random()}`):i.type==="password"?k(we.Item,{label:i.label?Ue(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",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(at.Password,{placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`})},i.name||`password-${Math.random()}`):i.type==="checkbox"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(Ma.Group,{options:i.options,disabled:i.disabled,className:i.className})},i.name||`checkbox-${Math.random()}`):i.type==="email"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u8F93\u5165${i.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:k(at,{type:"email",placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`})},i.name||`email-${Math.random()}`):i.type==="time"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(tn,{placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},i.name||`time-${Math.random()}`):i.type==="datetime"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(Mt,{showTime:!0,placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%"}})},i.name||`datetime-${Math.random()}`):i.type==="file"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(at,{type:"file",placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`})},i.name||`file-${Math.random()}`):i.type==="color"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u9009\u62E9${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(at,{type:"color",placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,style:{width:"100%",height:r==="sm"?"28px":"40px"}})},i.name||`color-${Math.random()}`):i.type==="json"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u8F93\u5165${i.label}`},{validator:(H,A)=>{if(!A)return Promise.resolve();try{return JSON.parse(A),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:k(at.TextArea,{placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,rows:4})},i.name||`json-${Math.random()}`):i.type==="markdown"?k(we.Item,{label:i.label?Ue(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",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(at.TextArea,{placeholder:i.placeholder,disabled:i.disabled,className:`${i.className||""} ${r==="sm"?"h-7":"h-10"}`,rows:6})},i.name||`markdown-${Math.random()}`):i.type==="uploader"?k(we.Item,{label:i.label?Ue(i):void 0,name:i.name,rules:i.name?[{required:i.required,message:i.error||`\u8BF7\u4E0A\u4F20${i.label}`}]:void 0,className:"mb-6",labelCol:{span:24},wrapperCol:{span:24},required:!1,children:k(qa,{multiple:((N=i.uploaderConfig)==null?void 0:N.multiple)??!0,accept:((q=i.uploaderConfig)==null?void 0:q.accept)??"*/*",maxSize:((W=i.uploaderConfig)==null?void 0:W.maxSize)??100,maxFiles:((M=i.uploaderConfig)==null?void 0:M.maxFiles)??10,autoUpload:((S=i.uploaderConfig)==null?void 0:S.autoUpload)??!0,url:(x=i.uploaderConfig)==null?void 0:x.url,headers:((P=i.uploaderConfig)==null?void 0:P.headers)??{},queryParams:(($=i.uploaderConfig)==null?void 0:$.queryParams)??{},itemForm:((R=i.uploaderConfig)==null?void 0:R.itemForm)??[],buttons:((F=i.uploaderConfig)==null?void 0:F.buttons)||[],icons:(T=i.uploaderConfig)==null?void 0:T.icons,placeholder:(V=i.uploaderConfig)==null?void 0:V.placeholder,listName:(Y=i.uploaderConfig)==null?void 0:Y.listName,errorMessages:(Z=i.uploaderConfig)==null?void 0:Z.errorMessages,onRef:(J=i.uploaderConfig)==null?void 0:J.onRef,styles:t,eventsEmit:(H,A)=>{if(t&&typeof t.eventsEmit=="function"){const B=H.startsWith("uploader:")?H:`uploader:${H}`;t.eventsEmit(B,{fieldName:i.name,...A})}}})},i.name||`uploader-${Math.random()}`):null});return Ee.useEffect(()=>{t&&typeof t.setFormRef=="function"&&t.setFormRef(g)},[t]),I}const Rc=`
619
- .ant-input-password .ant-input-suffix {
620
- position: absolute !important;
621
- right: 8px !important;
622
- top: 50% !important;
623
- transform: translateY(-50%) !important;
624
- display: flex !important;
625
- align-items: center !important;
626
- justify-content: center !important;
627
- }
628
-
629
- .ant-input-password .ant-input-suffix .anticon {
630
- font-size: 14px !important;
631
- color: rgba(0, 0, 0, 0.45) !important;
632
- }
633
-
634
- .ant-input-password:hover .ant-input-suffix .anticon {
635
- color: rgba(0, 0, 0, 0.65) !important;
636
- }
637
- `,Ii=Ee.forwardRef(({formItems:e,formProps:t={},initialValues:n={},eventsEmit:r,databaseType:a,styles:o,size:s="md",formConfig:c,title:l,description:v,formWidth:u,...d},g)=>{var m,p,y,w,I,i,C,h,D,L,O,j,z,E;const[N]=we.useForm(),q=Ft(),W=it(it({theme:Pe,mode:"light"},q),o),M=jt({}),S=()=>{const A=N.getFieldsValue(),B=[],b=G=>{G==null||G.forEach(U=>{U&&(U.type==="col"&&Array.isArray(U.children)?b(U.children):U.name&&B.push({name:U.name,type:U.type}))})};b(e);const _=B.map(G=>{const U=G.type==="uploader"?M.current[G.name]||A[G.name]||[]:A[G.name];return{name:G.name,type:G.type,value:U}});return{formName:(t==null?void 0:t.name)||"",values:A,fields:_,files:M.current,timestamp:new Date().toISOString()}},x=(A,B)=>{typeof r=="function"&&(r("form:change",{formName:(t==null?void 0:t.name)||"",values:B,changedValues:A}),Object.keys(A).forEach(b=>{r("form:fieldChange",{formName:(t==null?void 0:t.name)||"",field:b,value:A[b],allValues:B})}))},P=(A,B)=>{if(A.startsWith("uploader:")){const b=B==null?void 0:B.fieldName;if(b){const _=M.current[b]||[];let G=_;switch(A){case"uploader:success":{const U=B==null?void 0:B.item;if(U){const Q={id:U.id,name:U.name,size:U.size,type:U.type,uploadApiRes:U.uploadApiRes||{},formData:U.formData||{}},ie=_.findIndex(ge=>ge.id===Q.id);ie>=0?(_[ie]=Q,G=[..._]):G=[..._,Q]}break}case"uploader:remove":{const U=B==null?void 0:B.itemId;G=_.filter(Q=>Q.id!==U);break}case"uploader:formDataChange":{const U=B==null?void 0:B.itemId,Q=(B==null?void 0:B.formData)||{};G=_.map(ie=>ie.id===U?{...ie,formData:Q}:ie);break}case"uploader:dataChange":{Array.isArray(B==null?void 0:B.items)&&(G=B.items.map(U=>({id:U.id,name:U.name,size:U.size,type:U.type,uploadApiRes:U.uploadApiRes||{},formData:U.formData||{}})));break}}M.current[b]=G,N.setFieldsValue({[b]:G})}}if(typeof r=="function"){const b={formName:(t==null?void 0:t.name)||"",...B};A==="uploader:error"&&b.data===void 0&&(b.data=S()),r(A,b)}},[$,R]=Je(e);Ct(()=>{R(e)},[e]);const F=(A,B)=>{const b=_=>_.map(G=>G&&(G.type==="col"&&Array.isArray(G.children)?{...G,children:b(G.children)}:G.name===A?{...G,...B}:G));R(_=>b(_))},T=A=>{const B=[...$];for(;B.length;){const b=B.shift();if(b){if(b.type==="col"&&Array.isArray(b.children))B.push(...b.children);else if(b.name===A)return b}}},V=Oc($,{...o,eventsEmit:P,formInstance:N},n,s),Y=async()=>{try{const A=await N.validateFields();typeof r=="function"?r("form:submit",{formName:(t==null?void 0:t.name)||"",values:A,data:S()}):N.submit(),c!=null&&c.onSubmit?c.onSubmit(A):N.resetFields()}catch(A){typeof r=="function"&&r("form:submit_error",{formName:(t==null?void 0:t.name)||"",error:A,data:S()})}},Z=()=>{N.resetFields(),typeof r=="function"&&r("form:reset",{formName:(t==null?void 0:t.name)||"",data:S()}),c!=null&&c.onReset&&c.onReset()},J=()=>{N.resetFields(),typeof r=="function"&&r("form:cancel",{formName:(t==null?void 0:t.name)||"",data:S()})},H=async()=>{try{const A=await N.validateFields(),B=[],b=G=>{G==null||G.forEach(U=>{U&&(U.type==="col"&&Array.isArray(U.children)?b(U.children):U.name&&B.push({name:U.name,type:U.type}))})};b(e);const _=B.map(G=>{const U=G.type==="uploader"?M.current[G.name]||A[G.name]||[]:A[G.name];return{name:G.name,type:G.type,value:U}});return{fields:_,formName:(t==null?void 0:t.name)||"",fieldCount:_.length,timestamp:new Date().toISOString(),isValid:!0}}catch(A){const B=N.getFieldsValue(),b=[],_=U=>{U==null||U.forEach(Q=>{Q&&(Q.type==="col"&&Array.isArray(Q.children)?_(Q.children):Q.name&&b.push({name:Q.name,type:Q.type}))})};_(e);const G=b.map(U=>{const Q=U.type==="uploader"?M.current[U.name]||B[U.name]||[]:B[U.name];return{name:U.name,type:U.type,value:Q}});return{fields:G,formName:(t==null?void 0:t.name)||"",fieldCount:G.length,timestamp:new Date().toISOString(),isValid:!1,errors:A}}};return Ee.useImperativeHandle(g,()=>({form:N,getAllData:H,submit:Y,reset:Z,cancel:J,validate:()=>N.validateFields(),getValue:A=>N.getFieldValue(A),getValues:()=>N.getFieldsValue(),setValues:A=>N.setFieldsValue(A),setFieldProps:(A,B)=>F(A,B),getFieldProps:A=>T(A)}),[N,H,Y,Z,J]),ce(Kn,{children:[k("style",{children:Rc}),ce("div",{style:{position:"relative",height:"100%",padding:"24px",width:u||"100%",maxWidth:u||"100%"},children:[(l||v)&&ce("div",{style:{marginBottom:"24px"},children:[l&&k("h2",{style:{fontSize:"24px",fontWeight:"600",color:((p=(m=W.theme)==null?void 0:m.colors)==null?void 0:p.text)||"#1f2937",margin:"0 0 8px 0"},children:l}),v&&k("p",{style:{fontSize:"14px",color:((w=(y=W.theme)==null?void 0:y.colors)==null?void 0:w.secondary)||"#6b7280",margin:"0",lineHeight:"1.5"},children:v})]}),ce(we,{form:N,...t,initialValues:n,onValuesChange:x,...d,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:[V,((c==null?void 0:c.showSubmit)||(c==null?void 0:c.showReset))&&ce("div",{style:{marginTop:"32px",paddingTop:"24px",borderTop:`1px solid ${((i=(I=W.theme)==null?void 0:I.colors)==null?void 0:i.border)||"#e5e7eb"}`,display:"flex",gap:"12px",justifyContent:"flex-end"},children:[(c==null?void 0:c.showReset)&&k(Or,{onClick:Z,style:{borderColor:((h=(C=W.theme)==null?void 0:C.colors)==null?void 0:h.border)||"#e5e7eb",color:((L=(D=W.theme)==null?void 0:D.colors)==null?void 0:L.text)||"#1f2937"},children:(c==null?void 0:c.resetText)||"\u91CD\u7F6E"}),(c==null?void 0:c.showSubmit)&&k(Or,{type:"primary",onClick:Y,style:{backgroundColor:((j=(O=W.theme)==null?void 0:O.colors)==null?void 0:j.primary)||"#2563eb",borderColor:((E=(z=W.theme)==null?void 0:z.colors)==null?void 0:E.primary)||"#2563eb"},children:(c==null?void 0:c.submitText)||"\u63D0\u4EA4"})]})]})]})]})});Ee.memo(Ii);const Ua=!1,Fc=(e,t)=>t!=null&&t.fileType?e.startsWith("image/")?t.fileType.image||k(Nt,{size:20}):e.includes("document")||e.includes("pdf")||e.includes("text")?t.fileType.document||k(Nt,{size:20}):e.includes("spreadsheet")||e.includes("excel")||e.includes("csv")?t.fileType.spreadsheet||k(Nt,{size:20}):e.includes("zip")||e.includes("rar")||e.includes("7z")?t.fileType.archive||k(Nt,{size:20}):e.startsWith("video/")?t.fileType.video||k(Nt,{size:20}):e.startsWith("audio/")?t.fileType.audio||k(Nt,{size:20}):t.fileType.default||k(Nt,{size:20}):k(Nt,{size:20}),Tc=(e,t,n)=>{var r,a,o,s;if(n!=null&&n.itemStatus)switch(e){case"error":return n.itemStatus.error||k(Aa,{size:20});case"uploading":return n.itemStatus.uploading||k("span",{style:{fontSize:"12px",color:((r=t==null?void 0:t.colors)==null?void 0:r.primary)||"#007bff"},children:"\u4E0A\u4F20\u4E2D..."});case"success":return n.itemStatus.success||null;case"pending":return n.itemStatus.pending||k("span",{style:{fontSize:"12px",color:((a=t==null?void 0:t.colors)==null?void 0:a.warning)||"#FFA500"},children:"\u7B49\u5F85\u4E2D"});default:return null}switch(e){case"error":return k(Aa,{size:20});case"uploading":return k("span",{style:{fontSize:"12px",color:((o=t==null?void 0:t.colors)==null?void 0:o.primary)||"#007bff"},children:"\u4E0A\u4F20\u4E2D..."});case"pending":return k("span",{style:{fontSize:"12px",color:((s=t==null?void 0:t.colors)==null?void 0:s.warning)||"#FFA500"},children:"\u7B49\u5F85\u4E2D"});default:return null}};Bl`
638
- .upload-item-container .upload-item {
639
- padding: 0px !important;
640
- }
641
-
642
- .upload-item-container .list-item {
643
- padding: 0px !important;
644
- }
645
- `;const Vc=({item:e,index:t,theme:n,itemForm:r,onRemove:a,onToggleExpand:o,onFormDataChange:s,icons:c})=>{var l;return ce(Hc,{$theme:n,$status:e.status,$hasForm:r.length>0,children:[ce($c,{$theme:n,$status:e.status,$hasForm:r.length>0,children:[k(Mc,{$theme:n,children:Fc(e.type,c)}),ce(Ic,{children:[ce("div",{className:"flex items-center gap-1 line-clamp-1",children:[k(Dc,{$theme:n,children:e.name}),k(Lc,{$theme:n,children:Mi(e.size)})]}),e.status==="uploading"&&k(Pc,{$theme:n,$progress:e.progress}),e.status==="error"&&e.error&&k("div",{style:{color:((l=n==null?void 0:n.colors)==null?void 0:l.error)||"#FF0000",fontSize:"12px",marginTop:"4px"},children:typeof e.error=="string"?e.error:String(e.error)})]}),(()=>{const v=Tc(e.status,n,c);return v&&k(Ec,{$theme:n,$status:e.status,children:v})})(),Ua,k(Ac,{$theme:n,onClick:()=>a(e.id),title:"\u79FB\u9664\u6587\u4EF6",children:k(L0,{size:16})})]}),(r.length>0||Ua)&&k(Nc,{$theme:n,$hasError:e.status==="error",className:"list-my",children:k(Ii,{formItems:r,initialValues:e.formData||{},size:"sm",formProps:{component:!1},eventsEmit:(v,u)=>{switch(console.log("DynamicForm Event:",v,u),v){case"form:submit":s(e.id,u.values);break;case"form:change":s(e.id,u.values);break;case"form:fieldChange":if(u.field&&u.value!==void 0){const d={...e.formData,[u.field]:u.value};s(e.id,d)}break;case"form:reset":s(e.id,{});break;case"form:validate":u.values&&s(e.id,u.values);break}},styles:{theme:n},style:{padding:"0px"}},`form-${e.id}-always`)})]})},qa=({multiple:e=!0,accept:t="*/*",maxSize:n=100,maxFiles:r=10,autoUpload:a=!0,url:o="http://localhost:3000/upload",headers:s={},queryParams:c={},itemForm:l=[],styles:v,buttons:u=[],errorMessages:d={},icons:g,eventsEmit:m,onRef:p,placeholder:y,listName:w})=>{var I,i;const C=Ft(),h=it(it({theme:Pe,mode:"light"},C),v),D=jt(null),[L,O]=Je(!1),[j,z]=Je([]),E=nt(H=>(H??j).map(A=>({id:A.id,name:A.name,status:A.status,error:A.error,uploadApiRes:A.uploadApiRes||{},formData:A.formData||{},file:A.file,size:A.size,type:A.type})),[j]),N=Bt(()=>{if(!y)return null;if(typeof y=="string"){let H=y;return H=H.replace(/<br\s*\/?>(?=\s*)/gi,`
646
- `),H=H.replace(/\s*\/n\s*/gi,`
647
- `),H=H.replace(/\\n/g,`
648
- `),k(Za,{$theme:h.theme||Pe,style:{textAlign:"center",whiteSpace:"pre-line"},children:H})}return y},[y,h.theme]),q={noUrl:"\u8BF7\u63D0\u4F9B\u4E0A\u4F20\u63A5\u53E3\u5730\u5740 (url)",uploadFailed:"\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",fileTooLarge:`\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 ${n}MB`,invalidFileType:"\u4E0D\u652F\u6301\u7684\u6587\u4EF6\u7C7B\u578B"},W={...q,...d},M=(H,A)=>W[H]?W[H]:A||q[H],S=H=>{const A=H/1048576;return`${Number(A.toFixed(2))}MB`},x=nt((H,A)=>{const B=n*1024*1024,b=[],_=[];if(H.forEach(Q=>{Q.size>B?b.push(Q):_.push(Q)}),b.length>0){const Q=b.map(ge=>`${ge.name}\uFF08${S(ge.size)}\uFF09`).join("\u3001"),ie=`${M("fileTooLarge")}\uFF1A${Q}`;m==null||m("uploader:error",{type:"fileTooLarge",message:ie,files:b.map(ge=>({name:ge.name,size:ge.size})),limit:`${n}MB`,data:E()})}const G=Math.max(0,r-A);if(G<=0){const Q=`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20 ${r} \u4E2A\u6587\u4EF6\uFF0C\u5DF2\u5B58\u5728 ${A} \u4E2A\uFF0C\u65E0\u6CD5\u7EE7\u7EED\u6DFB\u52A0\u3002`;return m==null||m("uploader:error",{type:"tooManyFiles",message:Q,currentCount:A,tryAdd:H.length,limit:r,data:E()}),[]}const U=_.slice(0,G);if(_.length>G){const Q=_.length-U.length,ie=`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20 ${r} \u4E2A\u6587\u4EF6\uFF0C\u672C\u6B21\u4EC5\u63A5\u53D7 ${U.length} \u4E2A\uFF0C\u5FFD\u7565 ${Q} \u4E2A\u3002`;m==null||m("uploader:error",{type:"tooManyFiles",message:ie,currentCount:A,accepted:U.length,dropped:Q,limit:r,data:E()})}return U},[n,r,M,m,E]),P=Bt(()=>({getUploadItems:()=>j,getUploadItemsData:H=>{let A=j;return H!=null&&H.includeStatus&&(A=A.filter(B=>H.includeStatus.includes(B.status))),H!=null&&H.excludeStatus&&(A=A.filter(B=>!H.excludeStatus.includes(B.status))),A.map(B=>({id:B.id,name:B.name,status:B.status,error:B.error,uploadApiRes:B.uploadApiRes||{},formData:B.formData||{},file:B.file,size:B.size,type:B.type}))},clearUploadItems:()=>{z([]),m==null||m("uploader:clear",{})},setItemError:(H,A)=>{z(B=>B.map(b=>b.id===H?{...b,status:"error",error:A}:b)),m==null||m("uploader:errorSet",{itemId:H,error:A,data:E()})},clearItemError:H=>{z(A=>A.map(B=>B.id===H?{...B,status:"pending",error:void 0}:B)),m==null||m("uploader:errorCleared",{itemId:H,data:E()})},addUploadItems:H=>{const A=x(H,j.length);if(A.length===0)return;const B=A.map(b=>({id:Wa(),file:b,name:b.name,size:b.size,type:b.type,status:"pending",progress:0,formData:{},isExpanded:!1}));z(b=>[...b,...B]),a&&V(B)},removeUploadItem:H=>{z(A=>{const B=A.find(b=>b.id===H);return B&&(m==null||m("uploader:remove",{itemId:H,item:B,data:E(A)})),A.filter(b=>b.id!==H)})},validateFormData:async()=>!(j.some(H=>H.status==="error")||j.some(H=>H.status==="uploading")||!j.some(H=>H.status==="success"))}),[j,a,m,x,E]);Ct(()=>{p&&p(P)},[P,p]);const $=nt(H=>{if(!H)return;const A=x(Array.from(H),j.length);if(A.length===0)return;const B=A.map(b=>({id:Wa(),file:b,name:b.name,size:b.size,type:b.type,status:"pending",progress:0,formData:{},isExpanded:!1}));z(b=>[...b,...B]),a&&V(B)},[a,j.length,x]),R=nt(H=>{H.preventDefault(),O(!0)},[]),F=nt(H=>{H.preventDefault(),O(!1)},[]),T=nt(H=>{H.preventDefault(),O(!1),$(H.dataTransfer.files)},[$]),V=nt(async H=>{if(!o){console.error(M("noUrl"));return}m==null||m("uploader:start",{items:H,data:E()});for(const A of H)try{z(U=>U.map(Q=>Q.id===A.id?{...Q,status:"uploading"}:Q));const B=await Cc(A.file,o,s,c,U=>{z(Q=>Q.map(ie=>ie.id===A.id?{...ie,progress:U}:ie)),m==null||m("uploader:progress",{item:{...A,progress:U},data:E()})}),b=bc(A,l),_={...A,status:"success",uploadApiRes:B,progress:100,formData:b,isExpanded:l.length>0},G=j.map(U=>U.id===A.id?_:U);z(U=>U.map(Q=>Q.id===A.id?_:Q)),m==null||m("uploader:success",{item:_,data:E(G)})}catch(B){let b="";if(console.log("\u4E0A\u4F20\u9519\u8BEF\u8BE6\u60C5:",B),B&&typeof B=="object"){const U=B;if(U.response&&U.response.data){const Q=U.response.data;if(console.log("\u9519\u8BEF\u54CD\u5E94\u6570\u636E:",Q),Q.errorMsg)b=Q.errorMsg;else if(Q.message)b=Q.message;else if(Q.error)b=Q.error;else if(Q.errorCode)switch(Q.errorCode){case"30013":b="\u767B\u5F55\u5931\u6548\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55";break;case"30014":b="\u6CA1\u6709\u6743\u9650\u6267\u884C\u6B64\u64CD\u4F5C";break;case"30015":b="\u6587\u4EF6\u683C\u5F0F\u4E0D\u652F\u6301";break;case"30016":b="\u6587\u4EF6\u5927\u5C0F\u8D85\u51FA\u9650\u5236";break;default:b=`\u64CD\u4F5C\u5931\u8D25 (${Q.errorCode})`}}else if(U.message)try{const Q=JSON.parse(U.message);if(console.log("\u89E3\u6790\u7684\u9519\u8BEF\u6570\u636E:",Q),Q.errorMsg)b=Q.errorMsg;else if(Q.message)b=Q.message;else if(Q.error)b=Q.error;else if(Q.errorCode)switch(Q.errorCode){case"30013":b="\u767B\u5F55\u5931\u6548\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55";break;case"30014":b="\u6CA1\u6709\u6743\u9650\u6267\u884C\u6B64\u64CD\u4F5C";break;case"30015":b="\u6587\u4EF6\u683C\u5F0F\u4E0D\u652F\u6301";break;case"30016":b="\u6587\u4EF6\u5927\u5C0F\u8D85\u51FA\u9650\u5236";break;default:b=`\u64CD\u4F5C\u5931\u8D25 (${Q.errorCode})`}}catch(Q){console.log("\u9519\u8BEF\u6D88\u606F\u89E3\u6790\u5931\u8D25:",Q),b=U.message}}b||(b=M("uploadFailed")),console.log("\u6700\u7EC8\u4F7F\u7528\u7684\u9519\u8BEF\u4FE1\u606F:",b);const _={...A,status:"error",error:b},G=j.map(U=>U.id===A.id?_:U);z(U=>U.map(Q=>Q.id===A.id?_:Q)),m==null||m("uploader:error",{item:_,error:b,data:E(G)})}m==null||m("uploader:complete",{items:j,data:E()})},[o,s,c,m,j,l,W.uploadFailed,E]),Y=nt(H=>{z(A=>{const B=A.find(b=>b.id===H);return B&&(m==null||m("uploader:remove",{itemId:H,item:B,data:E(A)})),A.filter(b=>b.id!==H)})},[m,E]),Z=nt(H=>{z(A=>A.map(B=>{if(B.id===H){const b={...B,isExpanded:!B.isExpanded};return console.log("Toggle Expand:",H,b.isExpanded,b.formData),m==null||m("uploader:toggleExpand",{itemId:H,isExpanded:b.isExpanded,item:b,data:E(A)}),b}return B}))},[m,E]),J=nt((H,A)=>{console.log("FormData Change:",H,A),z(B=>{const b=B.map(_=>{if(_.id===H){const G={..._,formData:{...A}};return m==null||m("uploader:formDataChange",{itemId:H,formData:G.formData,item:G,data:E(B)}),G}return _});return m==null||m("uploader:dataChange",{items:b,changedItemId:H,changedFormData:A,data:E(b)}),b})},[m,E]);return ce("div",{children:[ce(xc,{$theme:h.theme||Pe,$isDragOver:L,onDragOver:R,onDragLeave:F,onDrop:T,onClick:()=>{var H;D.current&&(D.current.value=""),(H=D.current)==null||H.click()},children:[k(yc,{$theme:h.theme||Pe,children:(g==null?void 0:g.dragUpload)||k(P0,{size:48})}),N||ce(Kn,{children:[k(wc,{$theme:h.theme||Pe,children:"\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u5904\u6216\u70B9\u51FB\u9009\u62E9\u6587\u4EF6"}),ce(Za,{$theme:h.theme||Pe,children:["\u652F\u6301 ",t," \u683C\u5F0F\uFF0C\u5355\u4E2A\u6587\u4EF6\u6700\u5927 ",n,"MB",!o&&k("div",{style:{color:((i=(I=h.theme)==null?void 0:I.colors)==null?void 0:i.error)||"#FF0000",marginTop:"8px",fontSize:"12px"},children:M("noUrl")})]})]})]}),k(Sc,{ref:D,type:"file",multiple:e,accept:t,onChange:H=>{$(H.target.files),H.target.value=""}}),j.length>0&&ce("div",{children:[ce("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",margin:"6px 0px"},children:[k("div",{className:"text-[14px] font-bold opacity-60",children:w||"\u4E0A\u4F20\u6587\u4EF6\u5217\u8868"}),u.length>0&&k("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:u.map((H,A)=>k(Kt,{mode:H.mode||"default",label:H.label,icon:H.icon,disabled:H.disabled,onClick:H.onClick,styles:v},A))})]}),k(kc,{$theme:h.theme||Pe,children:j.map((H,A)=>k(Vc,{item:H,index:A,itemForm:l,onRemove:Y,onToggleExpand:Z,onFormDataChange:J,theme:h.theme||Pe,icons:g},H.id))})]})]})};function Di(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jr={exports:{}},zc=jr.exports,Ga;function Li(){return Ga||(Ga=1,(function(e,t){(function(n,r){e.exports=r()})(zc,(function(){var n=1e3,r=6e4,a=36e5,o="millisecond",s="second",c="minute",l="hour",v="day",u="week",d="month",g="quarter",m="year",p="date",y="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|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,i={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(M){var S=["th","st","nd","rd"],x=M%100;return"["+M+(S[(x-20)%10]||S[x]||S[0])+"]"}},C=function(M,S,x){var P=String(M);return!P||P.length>=S?M:""+Array(S+1-P.length).join(x)+M},h={s:C,z:function(M){var S=-M.utcOffset(),x=Math.abs(S),P=Math.floor(x/60),$=x%60;return(S<=0?"+":"-")+C(P,2,"0")+":"+C($,2,"0")},m:function M(S,x){if(S.date()<x.date())return-M(x,S);var P=12*(x.year()-S.year())+(x.month()-S.month()),$=S.clone().add(P,d),R=x-$<0,F=S.clone().add(P+(R?-1:1),d);return+(-(P+(x-$)/(R?$-F:F-$))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:d,y:m,w:u,d:v,D:p,h:l,m:c,s,ms:o,Q:g}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},D="en",L={};L[D]=i;var O="$isDayjsObject",j=function(M){return M instanceof q||!(!M||!M[O])},z=function M(S,x,P){var $;if(!S)return D;if(typeof S=="string"){var R=S.toLowerCase();L[R]&&($=R),x&&(L[R]=x,$=R);var F=S.split("-");if(!$&&F.length>1)return M(F[0])}else{var T=S.name;L[T]=S,$=T}return!P&&$&&(D=$),$||!P&&D},E=function(M,S){if(j(M))return M.clone();var x=typeof S=="object"?S:{};return x.date=M,x.args=arguments,new q(x)},N=h;N.l=z,N.i=j,N.w=function(M,S){return E(M,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var q=(function(){function M(x){this.$L=z(x.locale,null,!0),this.parse(x),this.$x=this.$x||x.x||{},this[O]=!0}var S=M.prototype;return S.parse=function(x){this.$d=(function(P){var $=P.date,R=P.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 F=$.match(w);if(F){var T=F[2]-1||0,V=(F[7]||"0").substring(0,3);return R?new Date(Date.UTC(F[1],T,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)):new Date(F[1],T,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)}}return new Date($)})(x),this.init()},S.init=function(){var x=this.$d;this.$y=x.getFullYear(),this.$M=x.getMonth(),this.$D=x.getDate(),this.$W=x.getDay(),this.$H=x.getHours(),this.$m=x.getMinutes(),this.$s=x.getSeconds(),this.$ms=x.getMilliseconds()},S.$utils=function(){return N},S.isValid=function(){return this.$d.toString()!==y},S.isSame=function(x,P){var $=E(x);return this.startOf(P)<=$&&$<=this.endOf(P)},S.isAfter=function(x,P){return E(x)<this.startOf(P)},S.isBefore=function(x,P){return this.endOf(P)<E(x)},S.$g=function(x,P,$){return N.u(x)?this[P]:this.set($,x)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(x,P){var $=this,R=!!N.u(P)||P,F=N.p(x),T=function(b,_){var G=N.w($.$u?Date.UTC($.$y,_,b):new Date($.$y,_,b),$);return R?G:G.endOf(v)},V=function(b,_){return N.w($.toDate()[b].apply($.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(_)),$)},Y=this.$W,Z=this.$M,J=this.$D,H="set"+(this.$u?"UTC":"");switch(F){case m:return R?T(1,0):T(31,11);case d:return R?T(1,Z):T(0,Z+1);case u:var A=this.$locale().weekStart||0,B=(Y<A?Y+7:Y)-A;return T(R?J-B:J+(6-B),Z);case v:case p:return V(H+"Hours",0);case l:return V(H+"Minutes",1);case c:return V(H+"Seconds",2);case s:return V(H+"Milliseconds",3);default:return this.clone()}},S.endOf=function(x){return this.startOf(x,!1)},S.$set=function(x,P){var $,R=N.p(x),F="set"+(this.$u?"UTC":""),T=($={},$[v]=F+"Date",$[p]=F+"Date",$[d]=F+"Month",$[m]=F+"FullYear",$[l]=F+"Hours",$[c]=F+"Minutes",$[s]=F+"Seconds",$[o]=F+"Milliseconds",$)[R],V=R===v?this.$D+(P-this.$W):P;if(R===d||R===m){var Y=this.clone().set(p,1);Y.$d[T](V),Y.init(),this.$d=Y.set(p,Math.min(this.$D,Y.daysInMonth())).$d}else T&&this.$d[T](V);return this.init(),this},S.set=function(x,P){return this.clone().$set(x,P)},S.get=function(x){return this[N.p(x)]()},S.add=function(x,P){var $,R=this;x=Number(x);var F=N.p(P),T=function(Z){var J=E(R);return N.w(J.date(J.date()+Math.round(Z*x)),R)};if(F===d)return this.set(d,this.$M+x);if(F===m)return this.set(m,this.$y+x);if(F===v)return T(1);if(F===u)return T(7);var V=($={},$[c]=r,$[l]=a,$[s]=n,$)[F]||1,Y=this.$d.getTime()+x*V;return N.w(Y,this)},S.subtract=function(x,P){return this.add(-1*x,P)},S.format=function(x){var P=this,$=this.$locale();if(!this.isValid())return $.invalidDate||y;var R=x||"YYYY-MM-DDTHH:mm:ssZ",F=N.z(this),T=this.$H,V=this.$m,Y=this.$M,Z=$.weekdays,J=$.months,H=$.meridiem,A=function(_,G,U,Q){return _&&(_[G]||_(P,R))||U[G].slice(0,Q)},B=function(_){return N.s(T%12||12,_,"0")},b=H||function(_,G,U){var Q=_<12?"AM":"PM";return U?Q.toLowerCase():Q};return R.replace(I,(function(_,G){return G||(function(U){switch(U){case"YY":return String(P.$y).slice(-2);case"YYYY":return N.s(P.$y,4,"0");case"M":return Y+1;case"MM":return N.s(Y+1,2,"0");case"MMM":return A($.monthsShort,Y,J,3);case"MMMM":return A(J,Y);case"D":return P.$D;case"DD":return N.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return A($.weekdaysMin,P.$W,Z,2);case"ddd":return A($.weekdaysShort,P.$W,Z,3);case"dddd":return Z[P.$W];case"H":return String(T);case"HH":return N.s(T,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return b(T,V,!0);case"A":return b(T,V,!1);case"m":return String(V);case"mm":return N.s(V,2,"0");case"s":return String(P.$s);case"ss":return N.s(P.$s,2,"0");case"SSS":return N.s(P.$ms,3,"0");case"Z":return F}return null})(_)||F.replace(":","")}))},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(x,P,$){var R,F=this,T=N.p(P),V=E(x),Y=(V.utcOffset()-this.utcOffset())*r,Z=this-V,J=function(){return N.m(F,V)};switch(T){case m:R=J()/12;break;case d:R=J();break;case g:R=J()/3;break;case u:R=(Z-Y)/6048e5;break;case v:R=(Z-Y)/864e5;break;case l:R=Z/a;break;case c:R=Z/r;break;case s:R=Z/n;break;default:R=Z}return $?R:N.a(R)},S.daysInMonth=function(){return this.endOf(d).$D},S.$locale=function(){return L[this.$L]},S.locale=function(x,P){if(!x)return this.$L;var $=this.clone(),R=z(x,P,!0);return R&&($.$L=R),$},S.clone=function(){return N.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},M})(),W=q.prototype;return E.prototype=W,[["$ms",o],["$s",s],["$m",c],["$H",l],["$W",v],["$M",d],["$y",m],["$D",p]].forEach((function(M){W[M[1]]=function(S){return this.$g(S,M[0],M[1])}})),E.extend=function(M,S){return M.$i||(M(S,q,E),M.$i=!0),E},E.locale=z,E.isDayjs=j,E.unix=function(M){return E(1e3*M)},E.en=L[D],E.Ls=L,E.p={},E}))})(jr)),jr.exports}var Bc=Li();const ba=Di(Bc);var Yr={exports:{}},jc=Yr.exports,Qa;function Yc(){return Qa||(Qa=1,(function(e,t){(function(n,r){e.exports=r()})(jc,(function(){return function(n,r,a){n=n||{};var o=r.prototype,s={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 c(v,u,d,g){return o.fromToBase(v,u,d,g)}a.en.relativeTime=s,o.fromToBase=function(v,u,d,g,m){for(var p,y,w,I=d.$locale().relativeTime||s,i=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"}],C=i.length,h=0;h<C;h+=1){var D=i[h];D.d&&(p=g?a(v).diff(d,D.d,!0):d.diff(v,D.d,!0));var L=(n.rounding||Math.round)(Math.abs(p));if(w=p>0,L<=D.r||!D.r){L<=1&&h>0&&(D=i[h-1]);var O=I[D.l];m&&(L=m(""+L)),y=typeof O=="string"?O.replace("%d",L):O(L,u,D.l,w);break}}if(u)return y;var j=w?I.future:I.past;return typeof j=="function"?j(y):j.replace("%s",y)},o.to=function(v,u){return c(v,u,this,!0)},o.from=function(v,u){return c(v,u,this)};var l=function(v){return v.$u?a.utc():a()};o.toNow=function(v){return this.to(l(this),v)},o.fromNow=function(v){return this.from(l(this),v)}}}))})(Yr)),Yr.exports}var _c=Yc();const Wc=Di(_c);var _r={exports:{}},Zc=_r.exports,Ka;function Uc(){return Ka||(Ka=1,(function(e,t){(function(n,r){e.exports=r(Li())})(Zc,(function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=r(n),o={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(s,c){return c==="W"?s+"\u5468":s+"\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(s,c){var l=100*s+c;return l<600?"\u51CC\u6668":l<900?"\u65E9\u4E0A":l<1100?"\u4E0A\u5348":l<1300?"\u4E2D\u5348":l<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return a.default.locale(o,null,!0),o}))})(_r)),_r.exports}Uc();ba.locale("zh-cn");ba.extend(Wc);const Xa={success:"green",error:"red",warning:"orange",processing:"blue",info:"cyan",default:"default"};function qc(e){if(!e)return"-";const t=ba(e),n=t.format("YYYY\u5E74M\u6708D\u65E5 HH:mm"),r=t.fromNow();return k(Xr,{title:k("div",{style:{minWidth:120},children:k("div",{style:{color:"#aaa",fontSize:12,marginTop:2},children:r})}),children:k("span",{style:{fontWeight:500,opacity:.6},children:n})})}function Gc(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 Qc(e,t,n={}){const{eventsEmit:r}=t||{};return Ee.useMemo(()=>e.map(a=>{if(a.render)return a;switch(a.type){case"customized":return{...a,render:(o,s,c)=>{var l,v;const u=c==null?void 0:c.value;let d=u&&typeof u=="object"&&(u.component||u.Comp)?u.component||u.Comp:a.component;if(typeof d=="string"&&(d=((l=t==null?void 0:t.customizeComponents)==null?void 0:l[d])||((v=n==null?void 0:n.customizeComponents)==null?void 0:v[d])),!d)return a.fallback??null;const g=u&&typeof u=="object"&&"data"in u?u.data:c==null?void 0:c.value,m=typeof a.componentProps=="function"?a.componentProps({value:g,row:s,cell:c,col:a}):a.componentProps||{},p=u&&typeof u=="object"&&"props"in u?u.props||{}:{};let y={};if(u&&typeof u=="object"){const I=new Set(["component","Comp","props"]);Object.keys(u).forEach(i=>{I.has(i)||(y[i]=u[i])})}const w={value:g,row:s,cell:c,col:a,emit:(I,i)=>{var C;return(C=t==null?void 0:t.eventsEmit)==null?void 0:C.call(t,I,{row:s,cell:c,col:a,data:i})},...m,...y,...p};if(Ee.isValidElement(d))return Ee.cloneElement(d,w);if(typeof d=="function"){const I=d;return Ee.createElement(I,w)}return a.fallback??null}};case"status":return{...a,render:(o,s,c)=>{const l=(c==null?void 0:c.statusType)||"default",v=Xa[l]||Xa.default;return k(ki,{color:v,children:o})}};case"date":return{...a,render:o=>qc(o)};case"number":return{...a,render:o=>{const s=a.numberStyle||"float";return k("span",{style:{textAlign:"right",display:"block",color:"#2563eb",fontWeight:500,fontVariantNumeric:"tabular-nums",fontFamily:"Consolas, Menlo, monospace"},children:Gc(o,s)})}};case"image":return{...a,render:o=>o?k("img",{src:o,style:{width:36,height:36,borderRadius:8,objectFit:"cover",boxShadow:"0 1px 4px 0 rgba(0,0,0,0.04)"}}):null};case"longText":return{...a,render:o=>{const s=a.maxRow||1,c=a.maxWidth||240,l=a.areaStyle||"default",v=13,u=1.6,d=v*u,g=s*d;let m={maxWidth:typeof c=="number"?`${c}px`:c,maxHeight:g,overflowY:"auto",color:l==="code"?"#d4d4d4":"#666",opacity:l==="code"?1:.85,fontSize:v,lineHeight:u,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 k("span",{style:m,children:o})}};case"tag":return{...a,render:o=>Array.isArray(o)?k("div",{style:{display:"flex",flexWrap:"wrap",gap:"6px",minWidth:"200px",maxWidth:"100%"},children:o.map((s,c)=>k("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:s},c))}):null};case"action":return{...a,render:(o,s,c)=>{const l=t!=null&&t.isPending?t.isPending(s.id):!1;if(Array.isArray(o)){const u=o.map(d=>d&&typeof d=="object"&&(d.columnId==="actions"||d.type==="action")&&"value"in d&&!("mode"in d)?{value:d.value,label:d.label||d.value,icon:d.icon,disabled:d.disabled,key:d.key}:d);if(u.length>=3){const d=u.slice(0,2),g=u.slice(2);return ce("div",{style:{display:"flex",gap:4,justifyContent:"center",alignItems:"center"},children:[d.map((m,p)=>k(Kt,{mode:m.mode||"text",label:m.label||m.value||"",icon:m.icon,disabled:m.disabled||l&&m.value==="delete",styles:n,style:{padding:"0 8px",minWidth:0},onClick:()=>r==null?void 0:r(`table_action_${m.value}`,s)},p)),k(Xl,{actions:g.map((m,p)=>({key:m.value||String(p),label:m.label||m.value||"",icon:m.icon,disabled:m.disabled||l&&m.value==="delete"})),onAction:m=>{const p=g.find(y=>(y.value||String(y.key))===m);p&&!p.disabled&&!(l&&p.value==="delete")&&(r==null||r(`table_action_${p.value}`,s))}})]})}else return k("div",{style:{display:"flex",gap:4,justifyContent:"center"},children:u.map((d,g)=>k(Kt,{mode:d.mode||"text",label:d.label||d.value||"",icon:d.icon,disabled:d.disabled||l&&d.value==="delete",styles:n,style:{padding:"0 8px",minWidth:0},onClick:()=>r==null?void 0:r(`table_action_${d.value}`,s)},g))})}const v=c||{};return k(Kt,{mode:v.mode||"text",label:v.label||v.value||"",icon:v.icon,disabled:v.disabled||l&&v.value==="delete",styles:n,style:{padding:"0 8px",minWidth:0},onClick:()=>r==null?void 0:r(`table_action_${v.value}`,s)})}};case"label":return{...a,render:o=>k("span",{className:"font-bold",children:o})};case"title":return{...a,render:(o,s,c)=>{const l=(c==null?void 0:c.level)||1,v={1:"text-xl font-bold",2:"text-lg font-semibold",3:"text-base font-medium"},u=v[l]||v[1];return ce("div",{className:`${u} text-gray-800 ${(c==null?void 0:c.className)||""}`,style:{color:"#1f2937",lineHeight:"1.4",fontWeight:l===1?700:l===2?600:400},children:[k("span",{className:"h-full w-1 bg-gray-500 rounded-full mr-2"}),k("span",{className:"text-gray-500",children:o})]})}};case"paragraph":return{...a,render:o=>k("div",{style:{maxWidth:240,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},title:o,children:o})};case"text":return{...a,render:o=>k("span",{children:o})};default:return{...a,render:o=>k("span",{children:o})}}}),[e,r,t==null?void 0:t.isPending,t==null?void 0:t.customizeComponents,n==null?void 0:n.customizeComponents])}function Kc(e){return ce("div",{className:"flex items-center gap-2",children:[k("span",{className:"font-medium text-gray-800 text-sm",children:e.title}),e.helpText&&k(Xr,{title:e.helpText,placement:"top",children:k(Ro,{className:"text-gray-400 hover:text-gray-600 cursor-help transition-colors",size:14})})]})}const Xc=re.div`
649
- background: ${({theme:e})=>e.colors.tableBackground||e.colors.background};
650
- border-radius: ${({theme:e})=>e.space.radius};
651
- box-shadow: ${({theme:e})=>e.colors.shadow};
652
- padding: ${({theme:e})=>e.space.padding};
653
- overflow-x: auto;
654
- width: 100%;
655
- max-width: 100%;
656
- box-sizing: border-box;
657
- min-height: 240px;
658
- display: flex;
659
- flex-direction: column;
660
- `,Jc=re.div`
661
- background: ${({theme:e})=>e.colors.tableBackground||e.colors.background};
662
- border-radius: ${({theme:e})=>e.space.radius};
663
- padding: ${({theme:e})=>e.space.padding};
664
- width: 100%;
665
- max-width: 100%;
666
- box-sizing: border-box;
667
- display: flex;
668
- flex-direction: column;
669
- overflow: visible; // 子table不产生滚动条,由外层容器处理
670
- `,eu=re.div`
671
- overflow-x: auto;
672
- overflow-y: hidden;
673
- width: 100%;
674
- max-width: 100%;
675
- border: 1px solid ${({theme:e})=>e.colors.border};
676
- border-radius: ${({theme:e})=>e.space.radius};
677
- background: ${({theme:e})=>e.colors.tableBackground||e.colors.background};
678
- position: relative; // 为sticky列提供定位上下文
679
- isolation: isolate; // 创建新的层叠上下文
680
- height: auto; // 确保容器高度自适应内容
681
- min-height: 200px; // 最小高度确保滚动条可见
682
- box-sizing: border-box; // 确保padding和border包含在宽度内
683
-
684
- /* 子table内容宽度控制 - 根据父容器动态计算 */
685
- & > div {
686
- min-width: 100%; // 使用父容器的100%宽度作为最小宽度
687
- width: 100%; // 确保宽度填满父容器
688
- }
689
-
690
- /* 自定义滚动条样式 */
691
- &::-webkit-scrollbar {
692
- height: 6px;
693
- }
694
-
695
- &::-webkit-scrollbar-track {
696
- background: ${({theme:e})=>e.colors.disabledBackground};
697
- border-radius: 3px;
698
- }
699
-
700
- &::-webkit-scrollbar-thumb {
701
- background: ${({theme:e})=>e.colors.border};
702
- border-radius: 3px;
703
- }
704
-
705
- &::-webkit-scrollbar-thumb:hover {
706
- background: ${({theme:e})=>e.colors.disabled};
707
- }
708
- `,Ja=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"}}},eo=re.th`
709
- background: ${({theme:e})=>e.colors.disabledBackground};
710
- color: ${({theme:e})=>e.colors.tableHeaderText||e.colors.text};
711
- font-weight: 600;
712
- font-size: 13px;
713
- padding: 0.5rem 0.75rem;
714
- border-bottom: 1px solid ${({theme:e})=>e.colors.border};
715
- min-width: 48px;
716
- white-space: nowrap;
717
- /* 移除默认的 text-align: center,让每列使用自己的对齐方式 */
718
- &:first-child {
719
- background: ${({theme:e})=>e.colors.tableFirstColumnBg||e.colors.disabledBackground};
720
- }
721
- &:last-child {
722
- background: ${({theme:e})=>e.colors.tableLastColumnBg||e.colors.disabledBackground};
723
- }
724
- `,to=re.td`
725
- padding: 0.5rem 0.75rem;
726
- border-bottom: 1px solid ${({theme:e})=>e.colors.border};
727
- color: ${({theme:e})=>e.colors.text};
728
- font-size: 14px;
729
- vertical-align: middle;
730
- white-space: nowrap;
731
- overflow: hidden;
732
- text-overflow: ellipsis;
733
- background: ${({theme:e})=>e.colors.tableBackground||"#fff"};
734
- `,tu=re.tr`
735
- &:hover {
736
- background: ${({theme:e})=>e.colors.disabledBackground};
737
- }
738
- `,nu=Ee.forwardRef((e,t)=>k(tu,{...e,ref:t})),ru=`
739
- .sticky-shadow-left {
740
- box-shadow: 4px 0 8px -4px rgba(0,0,0,0.08);
741
- transition: box-shadow 0.2s;
742
- }
743
- .sticky-shadow-right {
744
- box-shadow: -4px 0 8px -4px rgba(0,0,0,0.08);
745
- transition: box-shadow 0.2s;
746
- }
747
- `;if(typeof window<"u"&&!document.getElementById("dynamic-table-sticky-shadow")){const e=document.createElement("style");e.id="dynamic-table-sticky-shadow",e.innerHTML=ru,document.head.appendChild(e)}const au=Ee.memo(e=>{var t,n,r,a,o,s,c,l,v,u,d,g,m,p,y,w,I,i,C;const h=e.dataSource||[],D=e.columns||[],L=e.size||"md",O=e.level||0,j=Ft(),z=it(it({theme:Pe,mode:"light"},j),e.styles),E=((t=z.theme)==null?void 0:t.colors)||Pe.colors,N=E.tableBackground||E.background||Pe.colors.background,q=E.tableFirstColumnBg||E.surfaceSubtle||N,W=E.tableLastColumnBg||E.surfaceSubtle||N,{viewId:M,total:S,requestPagesize:x=50,viewPageSize:P}=e,[$,R]=Je(P);Ct(()=>{typeof P=="number"&&P>0&&R(P)},[P]);const[F,T]=Je(new Set);Ct(()=>{T(new Set)},[M]);const[V,Y]=Je(!1),[Z,J]=Je(!1),[H,A]=Je(new Set),B=jt(null),b=jt(null),[_,G]=Je(0),U=L==="sm"?.7:1,Q=Qc(D,{eventsEmit:e.eventsEmit,isPending:e.isPending,customizeComponents:e.customizeComponents},e.styles),[ie,ge]=Je([]),se=nt((K,me)=>{var ae;ge(te=>{let le;return me?le=[...te,K]:le=te.filter(ee=>ee!==K),le});const fe=me?[...ie,K]:ie.filter(te=>te!==K),X=h.filter(te=>fe.includes(te.id));(ae=e.eventsEmit)==null||ae.call(e,"table_row_select",{rowId:K,checked:me,selectedItems:X})},[ie,h,e.eventsEmit]),Se=Bt(()=>h.length>0&&ie.length===h.length,[h.length,ie.length]),ve=nt(K=>{var me;const ae=K?h.map(X=>X.id):[];ge(ae);const fe=K?h:[];(me=e.eventsEmit)==null||me.call(e,"table_select_all",{checked:K,selectedItems:fe,totalCount:h.length})},[h,e.eventsEmit]),[Ae,Ie]=Je(1),ke=typeof $=="number"&&$>0?$:P??(e.isSubTable?5:10),$e=S||h.length;Bt(()=>Math.ceil($e/ke),[$e,ke]);const je=Bt(()=>{if(e.viewBehavior!=="pagination")return h;const K=(Ae-1)*ke,me=K+ke;if(h.some(ae=>typeof ae.__absIndex=="number")){const ae=[];for(let fe=K;fe<me;fe++){const X=h.find(te=>te.__absIndex===fe);X&&ae.push(X)}return ae}return h.slice(K,me)},[e.viewBehavior,h,Ae,ke]),Ve=nt(K=>{var me;if(Ie(K),S&&x&&M){const ae=(K-1)*ke,fe=Math.floor(ae/x)+1;(!F.has(fe)||ae>=h.length)&&(T(X=>{const te=new Set(X);return te.add(fe),te}),(me=e.eventsEmit)==null||me.call(e,"pagination:request_merge_data",{viewId:M,request:{pageNo:fe,pageSize:x}},void 0))}},[S,x,M,ke,h.length,e.eventsEmit,F]),Te=nt(K=>{A(me=>{const ae=new Set(me);return ae.has(K)?ae.delete(K):(ae.add(K),setTimeout(()=>{var fe,X;(X=e.eventsEmit)==null||X.call(e,"table_expand",{tableId:K,children:((fe=h.find(te=>te.id===K))==null?void 0:fe.children)||[]})},0)),ae})},[h,e.eventsEmit]),xe=nt(K=>K.hasOwnProperty("children")&&K.children!==void 0,[]),Ye=nt(K=>H.has(K),[H]),Oe=nt(()=>{const K=B.current;K&&(e.isSubTable||(Y(K.scrollLeft>0),J(K.scrollLeft<K.scrollWidth-K.offsetWidth-1)))},[e.isSubTable]);Ct(()=>{const K=B.current;if(K)return Oe(),K.addEventListener("scroll",Oe),window.addEventListener("resize",Oe),()=>{K.removeEventListener("scroll",Oe),window.removeEventListener("resize",Oe)}},[Oe]),Ct(()=>{const K=B.current;if(!K)return;const me=()=>{const fe=K.getBoundingClientRect();G(fe.width)};me(),window.addEventListener("resize",me);const ae=new ResizeObserver(me);return ae.observe(K),()=>{window.removeEventListener("resize",me),ae.disconnect()}},[]);const Be=e.isSubTable?Jc:Xc;return ce(Be,{theme:z.theme||Pe,className:"w-full",style:{transform:`scale(${U})`,transformOrigin:"top left",height:"100%",display:"flex",flexDirection:"column"},children:[k("style",{children:`
748
- .removing-row {
749
- pointer-events: none;
750
- overflow: hidden;
751
- will-change: opacity, transform;
752
- }
753
- .stagger-row {
754
- will-change: transform;
755
- }
756
- .adding-row {
757
- animation: row-slide-in 0.6s ease-out forwards;
758
- will-change: transform, opacity;
759
- }
760
- @keyframes row-slide-in {
761
- 0% {
762
- opacity: 0;
763
- transform: translateY(-10px);
764
- }
765
- 100% {
766
- opacity: 1;
767
- transform: translateY(0);
768
- }
769
- }
770
- @keyframes spin {
771
- 0% { transform: rotate(0deg); }
772
- 100% { transform: rotate(360deg); }
773
- }
774
- `}),k("div",{ref:B,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:ce("table",{ref:b,className:"border-collapse",style:{minWidth:"max-content",width:"100%",tableLayout:"auto"},children:[k("thead",{style:{position:e.isSubTable?void 0:"sticky",top:0,zIndex:3,background:((r=(n=z.theme)==null?void 0:n.colors)==null?void 0:r.disabledBackground)||"#f5f5f5"},children:ce("tr",{children:[e.allowMultiSelect&&k(eo,{theme:z.theme||Pe,style:{position:"sticky",left:0,zIndex:3,background:q,width:40,minWidth:40,maxWidth:40,textAlign:"center"},className:V?"sticky-shadow-left":"",children:k("input",{type:"checkbox",checked:Se,onChange:K=>ve(K.target.checked)})}),Q.map((K,me)=>{var ae,fe;const X=me===0,te=me===Q.length-1,le=X?q:te?W:((fe=(ae=z.theme)==null?void 0:ae.colors)==null?void 0:fe.disabledBackground)||"#f5f5f5",ee=X?{position:"sticky",left:e.allowMultiSelect?40:0,zIndex:2,background:le}:te?{position:"sticky",right:0,zIndex:2,background:le}:{};return k(eo,{theme:z.theme||Pe,style:{...Ja(K.type),...ee,...K.maxWidth!==void 0?{maxWidth:typeof K.maxWidth=="number"?`${K.maxWidth}px`:K.maxWidth}:{}},className:X&&V?"sticky-shadow-left":te&&Z?"sticky-shadow-right":"",children:Kc(K)},K.id)})]})}),k("tbody",{children:je.map((K,me)=>{var ae,fe,X,te,le,ee,oe,Re,Fe,_e,ct,Xe,ut,st,Ge,vt;const yt=e.rowProps?e.rowProps(K,me):{},wt=xe(K),ht=Ye(K.id)||K.__autoExpand&&wt;return ce(Ee.Fragment,{children:[ce(nu,{theme:z.theme||Pe,...yt,className:`${yt.className||""} ${(ae=e.addingIds)!=null&&ae.includes(K.id)?"adding-row":""} ${K.removing?"removing-row":""}`,style:{...yt.style,...K.removing?{opacity:0,transform:"translateX(100px)",transition:"opacity 0.3s ease, transform 0.3s ease"}:{}},onAnimationEnd:ue=>{var ze,Ze;ue.animationName==="row-slide-in"&&(ze=e.addingIds)!=null&&ze.includes(K.id)&&((Ze=e.onRowAddAnimationComplete)==null||Ze.call(e,K.id))},onTransitionEnd:ue=>{var ze;K.removing&&ue.propertyName==="transform"&&((ze=e.onRowAnimationComplete)==null||ze.call(e,K.id))},children:[e.allowMultiSelect&&k(to,{theme:z.theme||Pe,style:{position:"sticky",left:0,zIndex:2,background:q,width:40,minWidth:40,maxWidth:40,textAlign:"center"},className:V?"sticky-shadow-left":"",children:k("input",{type:"checkbox",checked:ie.includes(K.id),onChange:ue=>se(K.id,ue.target.checked)})}),Q.map((ue,ze)=>{var Ze;const pt=ze===0,At=ze===Q.length-1,Vt=pt?q:At?W:N,ln=pt?{position:"sticky",left:e.allowMultiSelect?40:0,zIndex:1,background:Vt}:At?{position:"sticky",right:0,zIndex:1,background:Vt}:{},Qe=((Ze=K.data)==null?void 0:Ze.filter(Dt=>Dt.columnId===ue.id))||[],qt=Object.assign({},Ja(ue.type),ln,ue.maxWidth!==void 0?{maxWidth:typeof ue.maxWidth=="number"?`${ue.maxWidth}px`:ue.maxWidth}:{},{background:Vt}),sn=()=>{var Dt,gt;return pt&&wt?ce("div",{style:{display:"flex",alignItems:"center",gap:8},children:[k("button",{onClick:()=>Te(K.id),style:{background:"none",border:"none",cursor:"pointer",padding:4,display:"flex",alignItems:"center",justifyContent:"center",color:((gt=(Dt=z.theme)==null?void 0:Dt.colors)==null?void 0:gt.text)||"#222"},children:ht?k(jl,{size:16}):k(D0,{size:16})}),ce("span",{style:{paddingLeft:O*16},children:[" ",Qe.length>0?ue.type==="action"?ue.render?ue.render(Qe.length>1?Qe.map(et=>et):Qe[0],K,Qe.length>1?void 0:Qe[0]):null:Qe.map((et,dt)=>k("span",{style:{marginRight:4,display:"inline-block",maxWidth:ue.maxWidth?typeof ue.maxWidth=="number"?`${ue.maxWidth}px`:ue.maxWidth:void 0,overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"middle"},children:ue.render?ue.render(et.value,K,et):k("span",{children:et.value})},dt)):null]})]}):ce("span",{style:{paddingLeft:O*16},children:[" ",Qe.length>0?ue.type==="action"?ue.render?ue.render(Qe.length>1?Qe.map(et=>et):Qe[0],K,Qe.length>1?void 0:Qe[0]):null:Qe.map((et,dt)=>k("span",{style:{marginRight:4,display:"inline-block",maxWidth:ue.maxWidth?typeof ue.maxWidth=="number"?`${ue.maxWidth}px`:ue.maxWidth:void 0,overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"middle"},children:ue.render?ue.render(et.value,K,et):k("span",{children:et.value})},dt)):null]})};return k(to,{theme:z.theme||Pe,style:qt,className:pt&&V?"sticky-shadow-left":At&&Z?"sticky-shadow-right":"",children:sn()},ue.id)})]}),wt&&ht&&K.children!==void 0&&k("tr",{className:" relative ",style:{width:_>0?`${_}px`:"100%"},children:k("td",{style:{width:_>0?`${_}px`:"100%"},colSpan:Q.length+(e.allowMultiSelect?1:0),children:ce("div",{style:{position:"sticky",left:0,padding:"15px 18px",width:_>0?`${_}px`:"100%",minWidth:"800px",maxWidth:"100%",background:((X=(fe=z.theme)==null?void 0:fe.colors)==null?void 0:X.disabledBackground)||"#f5f5f5",boxSizing:"border-box"},children:[K.tableLoading&&k("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:z.space.radius},children:ce("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:8},children:[k("div",{style:{width:24,height:24,border:`2px solid ${((le=(te=z.theme)==null?void 0:te.colors)==null?void 0:le.border)||"#d1d5db"}`,borderTop:`2px solid ${((oe=(ee=z.theme)==null?void 0:ee.colors)==null?void 0:oe.primary)||"#2563eb"}`,borderRadius:"50%",animation:"spin 1s linear infinite"}}),k("span",{style:{fontSize:14,color:((Fe=(Re=z.theme)==null?void 0:Re.colors)==null?void 0:Fe.text)||"#222"},children:"\u52A0\u8F7D\u4E2D..."})]})}),ce("div",{style:{marginBottom:"16px"},children:[Array.isArray((_e=e.subTableConfig)==null?void 0:_e.toolbar)&&e.subTableConfig.toolbar.length>0&&k("div",{style:{display:"flex",gap:8,alignItems:"center",marginBottom:8},children:e.subTableConfig.toolbar.map((ue,ze)=>{const Ze={primary:"primary",error:"danger",default:"text"}[ue.btnType]||"text";return k(Kt,{mode:Ze,label:ue.label,icon:ue.icon,onClick:()=>{var pt;return(pt=e.eventsEmit)==null?void 0:pt.call(e,"table_action_add",{tableId:K.id,action:ue})}},ze)})}),k(eu,{theme:z.theme||Pe,onWheel:ue=>{ue.stopPropagation()},onScroll:ue=>{ue.stopPropagation()},style:{position:"relative",overflow:"auto",maxHeight:"400px",width:"100%",maxWidth:"100%"},children:k(au,{columns:((ct=e.subTableConfig)==null?void 0:ct.columns)||[],dataSource:K.children||[],isSubTable:!0,isPending:ue=>{var ze,Ze;return((Ze=(ze=e.subTablePendingIds)==null?void 0:ze[K.id])==null?void 0:Ze.includes(ue))||!1},onRowAnimationComplete:ue=>{var ze;(ze=e.onSubTableRowAnimationComplete)==null||ze.call(e,K.id,ue),e.eventsEmit&&e.eventsEmit("_internal:subtable_animation_complete",{rowId:ue,tableId:K.id})},eventsEmit:(ue,ze)=>{var Ze;(Ze=e.eventsEmit)==null||Ze.call(e,ue,{...ze,tableId:K.id})},allowMultiSelect:(Xe=e.subTableConfig)==null?void 0:Xe.allowMultiSelect,size:e.size,level:O+1,subTableConfig:e.subTableConfig,styles:e.styles,onRowAddAnimationComplete:e.onRowAddAnimationComplete,addingIds:e.addingIds,viewBehavior:(ut=e.subTableConfig)==null?void 0:ut.viewBehavior,viewPageSize:(st=e.subTableConfig)==null?void 0:st.viewPageSize,total:(Ge=e.subTableConfig)==null?void 0:Ge.total,requestPagesize:(vt=e.subTableConfig)==null?void 0:vt.requestPagesize})})]})]})})})]},K.id??me)})})]})}),e.viewBehavior==="pagination"&&k("div",{style:{height:48,display:"flex",justifyContent:"end",alignItems:"center",background:((o=(a=z.theme)==null?void 0:a.colors)==null?void 0:o.background)||"#fff",borderTop:`1px solid ${((c=(s=z.theme)==null?void 0:s.colors)==null?void 0:c.border)||"#d1d5db"}`,flexShrink:0,paddingRight:16},children:k(Jl,{current:Ae,pageSize:ke,total:$e,onChange:Ve,onPageSizeChange:K=>{var me;Ie(1),R(K),S&&x&&M&&e.eventsEmit&&(T(new Set),e.eventsEmit("pagination:request_merge_data",{viewId:M,request:{pageNo:1,pageSize:x}},void 0)),(me=e.eventsEmit)==null||me.call(e,"pagination:pageSizeChange",{viewId:M,pageSize:K})},showSizeChanger:!0,pageSizeOptions:[5,10,20,30,50],theme:{colors:{background:((v=(l=z.theme)==null?void 0:l.colors)==null?void 0:v.background)||"#fff",text:((d=(u=z.theme)==null?void 0:u.colors)==null?void 0:d.text)||"#222",border:((m=(g=z.theme)==null?void 0:g.colors)==null?void 0:m.border)||"#d1d5db",disabledBackground:((y=(p=z.theme)==null?void 0:p.colors)==null?void 0:y.disabledBackground)||"#f5f5f5",primary:((I=(w=z.theme)==null?void 0:w.colors)==null?void 0:I.primary)||"#2563eb"},space:{radius:((C=(i=z.theme)==null?void 0:i.space)==null?void 0:C.radius)||"6px"}},size:e.size,showPageNumbers:!0})})]})});re.div`
775
- display: flex;
776
- background-color: #ffffff;
777
- border: 1px solid ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)==null?void 0:r.default)||"#e5e7eb"}};
778
- border-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"8px"}};
779
- overflow: hidden;
780
- width: ${e=>e.$width||"600px"};
781
- height: ${e=>e.$height||"400px"};
782
- position: relative;
783
- `;re.div`
784
- display: flex;
785
- flex-direction: column;
786
- border-right: 1px solid ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)==null?void 0:r.default)||"#e5e7eb"}};
787
- overflow: hidden;
788
-
789
- &:last-child {
790
- border-right: none;
791
- }
792
- `;re.div`
793
- padding: 12px 16px;
794
- border-bottom: 1px solid ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)==null?void 0:r.default)||"#e5e7eb"}};
795
- background-color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)==null?void 0:r.secondary)||"#f9fafb"}};
796
- font-weight: 500;
797
- font-size: 14px;
798
- color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)==null?void 0:r.primary)||"#111827"}};
799
- `;re.div`
800
- padding: 12px;
801
- border-bottom: 1px solid ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)==null?void 0:r.default)||"#e5e7eb"}};
802
- background-color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)==null?void 0:r.default)||"#ffffff"}};
803
- `;re.input`
804
- width: 100%;
805
- padding: 8px 12px 8px 36px;
806
- border: 1px solid ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)==null?void 0:r.default)||"#e5e7eb"}};
807
- border-radius: ${e=>{var t,n;return((n=(t=e.$theme)==null?void 0:t.space)==null?void 0:n.radius)||"6px"}};
808
- font-size: 14px;
809
- outline: none;
810
- transition: all 0.2s;
811
-
812
- &:focus {
813
- border-color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)==null?void 0:r.default)||"#3b82f6"}};
814
- box-shadow: 0 0 0 3px ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)==null?void 0:r.default)||"#3b82f6"}}20;
815
- }
816
-
817
- &::placeholder {
818
- color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)==null?void 0:r.tertiary)||"#9ca3af"}};
819
- }
820
- `;re.div`
821
- position: absolute;
822
- left: 20px;
823
- top: 50%;
824
- transform: translateY(-50%);
825
- color: #9ca3af;
826
- pointer-events: none;
827
- `;re.div`
828
- flex: 1;
829
- overflow-y: auto;
830
- overflow-x: hidden;
831
-
832
- &::-webkit-scrollbar {
833
- width: 6px;
834
- }
835
-
836
- &::-webkit-scrollbar-track {
837
- background: #f1f1f1;
838
- }
839
-
840
- &::-webkit-scrollbar-thumb {
841
- background: #c1c1c1;
842
- border-radius: 3px;
843
-
844
- &:hover {
845
- background: #a8a8a8;
846
- }
847
- }
848
- `;re.div`
849
- padding: 10px 16px;
850
- cursor: ${e=>e.$disabled?"not-allowed":"pointer"};
851
- transition: all 0.2s;
852
- display: flex;
853
- align-items: center;
854
- justify-content: space-between;
855
- border-bottom: 1px solid ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.border)==null?void 0:r.light)||"#f3f4f6"}};
856
- opacity: ${e=>e.$disabled?.5:1};
857
-
858
- &:hover {
859
- background-color: ${e=>{var t,n,r;return e.$disabled?"transparent":((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.background)==null?void 0:r.hover)||"#f3f4f6"}};
860
- }
861
-
862
- &:last-child {
863
- border-bottom: none;
864
- }
865
- `;re.span`
866
- flex: 1;
867
- font-size: 14px;
868
- color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)==null?void 0:r.primary)||"#111827"}};
869
- overflow: hidden;
870
- text-overflow: ellipsis;
871
- white-space: nowrap;
872
- `;re.button`
873
- display: flex;
874
- align-items: center;
875
- justify-content: center;
876
- width: 68px;
877
- height: 24px;
878
- border: none;
879
- background-color: #ebecf3;
880
- border-radius: 4px;
881
- cursor: pointer;
882
- font-size: 12px;
883
- color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)==null?void 0:r.secondary)||"#1D2129"}};
884
- transition: all 0.2s;
885
-
886
- &:disabled {
887
- cursor: not-allowed;
888
- color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)==null?void 0:r.secondary)||"#C9CDD4"}};
889
- }
890
- `;re.div`
891
- padding: 40px 20px;
892
- text-align: center;
893
- color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.text)==null?void 0:r.tertiary)||"#9ca3af"}};
894
- font-size: 14px;
895
- `;re.span`
896
- display: inline-flex;
897
- align-items: center;
898
- justify-content: center;
899
- min-width: 20px;
900
- height: 20px;
901
- padding: 0 6px;
902
- background-color: ${e=>{var t,n,r;return((r=(n=(t=e.$theme)==null?void 0:t.colors)==null?void 0:n.primary)==null?void 0:r.default)||"#3b82f6"}};
903
- color: white;
904
- border-radius: 10px;
905
- font-size: 12px;
906
- font-weight: 500;
907
- margin-left: 8px;
908
- `;const ou=f.createContext({outlet:null,matches:[],isDataRoute:!1}),iu=f.createContext(null);function lu(e){let t=f.useContext(ou).outlet;return t&&f.createElement(iu.Provider,{value:e},t)}function su(e){return lu(e.context)}new Promise(()=>{});/**
909
- * @license lucide-react v0.456.0 - ISC
910
- *
911
- * This source code is licensed under the ISC license.
912
- * See the LICENSE file in the root directory of this source tree.
913
- */const cu=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Pi=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
914
- * @license lucide-react v0.456.0 - ISC
915
- *
916
- * This source code is licensed under the ISC license.
917
- * See the LICENSE file in the root directory of this source tree.
918
- */var uu={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"};/**
919
- * @license lucide-react v0.456.0 - ISC
920
- *
921
- * This source code is licensed under the ISC license.
922
- * See the LICENSE file in the root directory of this source tree.
923
- */const du=nn(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:o,iconNode:s,...c},l)=>Xt("svg",{ref:l,...uu,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Pi("lucide",a),...c},[...s.map(([v,u])=>Xt(v,u)),...Array.isArray(o)?o:[o]]));/**
924
- * @license lucide-react v0.456.0 - ISC
925
- *
926
- * This source code is licensed under the ISC license.
927
- * See the LICENSE file in the root directory of this source tree.
928
- */const Ei=(e,t)=>{const n=nn(({className:r,...a},o)=>Xt(du,{ref:o,iconNode:t,className:Pi(`lucide-${cu(e)}`,r),...a}));return n.displayName=`${e}`,n};/**
929
- * @license lucide-react v0.456.0 - ISC
930
- *
931
- * This source code is licensed under the ISC license.
932
- * See the LICENSE file in the root directory of this source tree.
933
- */const fu=Ei("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
934
- * @license lucide-react v0.456.0 - ISC
935
- *
936
- * This source code is licensed under the ISC license.
937
- * See the LICENSE file in the root directory of this source tree.
938
- */const Rn=Ei("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),mu=re.div`
939
- display: flex;
940
- justify-content: flex-start;
941
- align-items: flex-start;
942
- margin-left: 20px;
943
- flex-direction: column;
944
- height: 100%;
945
- width: 100%;
946
- max-width: 98%;
947
- position: relative;
948
- `,vu=re.div`
949
- display: flex;
950
- height: 38px;
951
- z-index: 10;
952
- background: transparent;
953
- gap: 8px;
954
- flex-direction: row;
955
- align-items: center;
956
- justify-content: flex-start;
957
- width: 100%;
958
- min-width: 0; /* 确保 flex 子元素可以收缩 */
959
- `,gu=re.button`
960
- display: flex;
961
- align-items: center;
962
- justify-content: center;
963
- width: 32px;
964
- height: 32px;
965
- background: transparent;
966
- border: none;
967
- cursor: pointer;
968
-
969
- /* 仅让图标在 hover 时上浮,按钮背景保持透明 */
970
- svg {
971
- transition: transform 0.2s ease;
972
- }
973
-
974
- &:hover {
975
- background: transparent;
976
- }
977
-
978
- &:hover svg {
979
- transform: translateY(-1px);
980
- }
981
-
982
- &:active svg {
983
- transform: translateY(0);
984
- }
985
- `,hu=re.div`
986
- line-height: 1.4;
987
- cursor: pointer;
988
- transition: color 0.2s ease;
989
- white-space: nowrap;
990
- overflow: hidden;
991
- text-overflow: ellipsis;
992
- max-width: 200px;
993
- min-width: 0;
994
-
995
- &:hover {
996
- color: #007bff;
997
- }
998
- `,pu=re.div`
999
- line-height: 1.4;
1000
- white-space: nowrap;
1001
- overflow: hidden;
1002
- text-overflow: ellipsis;
1003
- flex: 1;
1004
- min-width: 0;
1005
- `,no=re.div`
1006
- display: flex;
1007
- align-items: center;
1008
- gap: 4px;
1009
- flex-wrap: nowrap;
1010
- max-width: 50%;
1011
- min-width: 0;
1012
- overflow: hidden;
1013
- `,Fn=re.div`
1014
- display: flex;
1015
- align-items: center;
1016
- gap: 4px;
1017
- font-size: 14px;
1018
- color: ${e=>e.$isLast?"#343a40":"#6c757d"};
1019
- font-weight: ${e=>e.$isLast?"600":"normal"};
1020
- cursor: ${e=>e.$isClickable?"pointer":"default"};
1021
- transition: color 0.2s ease;
1022
- white-space: nowrap;
1023
- overflow: hidden;
1024
- text-overflow: ellipsis;
1025
- max-width: 120px;
1026
-
1027
- &:hover {
1028
- color: ${e=>e.$isLast?"#007bff":"inherit"};
1029
- }
1030
- `,Tn=re.div`
1031
- display: flex;
1032
- align-items: center;
1033
- color: #6c757d;
1034
- margin: 0 2px;
1035
- `,bu=re.div`
1036
- display: flex;
1037
- flex-direction: column;
1038
- width: 100%;
1039
- height: calc(100% - 45px);
1040
- min-height: 650px;
1041
- overflow: auto;
1042
- `;re.div`
1043
- position: fixed;
1044
- bottom: 20px;
1045
- left: 50%;
1046
- transform: translateX(-50%);
1047
- z-index: 1000;
1048
- `;const Md=({children:e,goBack:t,title:n,description:r,breadcrumbs:a,dockItems:o,dockActiveMode:s="single",defaultDockActiveId:c,defaultDockActiveIds:l,styles:v,eventsEmit:u})=>{var d,g,m,p,y,w,I,i;const C=Ft(),h=it(it({theme:Pe,mode:"light"},C),v),D=(h==null?void 0:h.theme)||Pe,L=Ee.useRef(null),O=()=>{u!=null&&u.onGoBack?u.onGoBack():t&&t()},j=()=>{u!=null&&u.onTitleClick&&u.onTitleClick()},z=(M,S)=>{u!=null&&u.onBreadcrumbClick?u.onBreadcrumbClick(M,S):M.onClick&&M.onClick()},E=(M,S)=>{u!=null&&u.onDockItemClick&&u.onDockItemClick(M,S)},N=()=>{if(!a||a.length===0)return null;const M=Ee.useRef(null),[S,x]=Ee.useState({start:0,end:a.length,showEllipsis:!1}),P=Ee.useCallback(()=>{if(!M.current||a.length<=3){x({start:0,end:a.length,showEllipsis:!1});return}const T=M.current.offsetWidth*.5;let V=Math.floor((T-30)/140);if(V<2&&(V=2),V>=a.length){x({start:0,end:a.length,showEllipsis:!1});return}const Y=0,Z=Math.min(V-1,a.length);x({start:Y,end:Z,showEllipsis:Z<a.length-1})},[a.length]);if(Ee.useEffect(()=>{P();const T=new ResizeObserver(()=>{P()});return M.current&&T.observe(M.current),()=>{T.disconnect()}},[P]),a.length<=3)return k(no,{children:a.map((T,V)=>ce(Ee.Fragment,{children:[k(Fn,{$isLast:V===a.length-1,$isClickable:!!(V<a.length-1||T.onClick),onClick:()=>z(T,V),style:{color:V===a.length-1?D.colors.text:D.colors.textSecondary||D.colors.disabledText},title:T.label,children:T.label}),V<a.length-1&&k(Tn,{children:k(Rn,{size:14})})]},T.id))});const{start:$,end:R,showEllipsis:F}=S;return ce(no,{children:[a.slice($,R).map((T,V)=>ce(Ee.Fragment,{children:[k(Fn,{$isLast:V===R-$-1&&!F,$isClickable:!!(V<R-$-1||T.onClick),onClick:()=>z(T,$+V),style:{color:V===R-$-1&&!F?D.colors.text:D.colors.textSecondary||D.colors.disabledText},title:T.label,children:T.label}),V<R-$-1&&k(Tn,{children:k(Rn,{size:14})})]},T.id)),F&&ce(Kn,{children:[k(Tn,{children:k(Rn,{size:14})}),k(Fn,{$isLast:!1,$isClickable:!1,style:{color:D.colors.textSecondary||D.colors.disabledText,cursor:"default",maxWidth:"auto"},title:`${a.slice(R,-1).map(T=>T.label).join(" > ")}`,children:"..."}),k(Tn,{children:k(Rn,{size:14})}),k(Fn,{$isLast:!0,$isClickable:!!a[a.length-1].onClick,onClick:()=>z(a[a.length-1],a.length-1),style:{color:D.colors.text},title:a[a.length-1].label,children:a[a.length-1].label})]})]})},[q,W]=Ee.useState(!0);return k(mu,{style:{background:D.colors.appBackground,color:D.colors.text,fontFamily:((g=(d=D.fonts)==null?void 0:d.body)==null?void 0:g.family)||"PingFang SC, Microsoft YaHei, Arial, sans-serif"},children:ce("div",{style:{height:"100%",display:"flex",width:"100%",gap:12},children:[o&&o.length>0&&k("div",{style:{flex:`0 0 ${q?72:28}px`,transition:"flex-basis .2s ease"},children:k(pc,{items:o,open:q,onOpenChange:W,onItemClick:M=>E({id:String(M.key),label:M.name},0),defaultOpen:!0})}),ce("div",{style:{display:"flex",flexDirection:"column",flex:1,minWidth:0},children:[(n||r||t||a)&&ce(vu,{ref:L,children:[t&&k(gu,{onClick:O,style:{color:D.colors.primary,borderRadius:D.space.radius||"6px"},title:"\u8FD4\u56DE",children:k(fu,{size:18})}),N(),n&&k(hu,{onClick:j,style:{color:D.colors.text,fontSize:((p=(m=D.fonts)==null?void 0:m.heading)==null?void 0:p.size)||"16px",fontWeight:((w=(y=D.fonts)==null?void 0:y.heading)==null?void 0:w.weight)||"600"},title:n,children:n}),r&&k(pu,{style:{color:D.colors.textSecondary||D.colors.disabledText,opacity:.7,fontSize:((i=(I=D.fonts)==null?void 0:I.body)==null?void 0:i.size)||"12px"},title:r,children:r})]}),k(bu,{style:{background:D.colors.dashboardBackground||"transparent",border:`1px solid ${D.colors.border}`||void 0,borderRadius:D.space.radius||void 0,boxShadow:D.colors.shadow||void 0},children:e||k(su,{})})]})]})})};re.div.withConfig({shouldForwardProp:e=>!["backgroundImage","backgroundColor"].includes(e)})`
1049
- position: fixed;
1050
- top: 0;
1051
- left: 0;
1052
- width: 100vw;
1053
- height: 100vh;
1054
- background: ${e=>e.backgroundImage?`url(${e.backgroundImage}) center/cover no-repeat`:e.backgroundColor||"#1a1a1a"};
1055
- display: flex;
1056
- flex-direction: column;
1057
- overflow: hidden;
1058
- z-index: 1;
1059
- `;re.div`
1060
- height: 48px;
1061
- width: 100%;
1062
- display: flex;
1063
- align-items: center;
1064
- justify-content: center;
1065
- background: transparent;
1066
- z-index: 10;
1067
- flex-shrink: 0;
1068
- `;re.div`
1069
- flex: 1;
1070
- width: 100%;
1071
- overflow-y: auto;
1072
- overflow-x: hidden;
1073
- position: relative;
1074
- z-index: 2;
1075
- background: transparent;
1076
-
1077
- /* 自定义滚动条样式 */
1078
- &::-webkit-scrollbar {
1079
- width: 6px;
1080
- }
1081
-
1082
- &::-webkit-scrollbar-track {
1083
- background: rgba(255, 255, 255, 0.1);
1084
- border-radius: 3px;
1085
- }
1086
-
1087
- &::-webkit-scrollbar-thumb {
1088
- background: rgba(255, 255, 255, 0.3);
1089
- border-radius: 3px;
1090
- }
1091
-
1092
- &::-webkit-scrollbar-thumb:hover {
1093
- background: rgba(255, 255, 255, 0.5);
1094
- }
1095
- `;re.div`
1096
- height: 80px;
1097
- width: 100%;
1098
- display: flex;
1099
- align-items: flex-end;
1100
- justify-content: center;
1101
- padding: 12px 0;
1102
- background: transparent;
1103
- z-index: 10;
1104
- flex-shrink: 0;
1105
- `;re.div`
1106
- --header-height: 56px;
1107
- --page-gutter: 16px;
1108
- --sidebar-width: 264px;
1109
- --toc-width: 268px;
1110
- --content-max: 960px;
1111
-
1112
- display: flex;
1113
- flex-direction: column;
1114
- width: 100%;
1115
- min-height: 100vh;
1116
- height: 100vh; /* 以视口高度为基准,便于内部独立滚动布局 */
1117
- position: relative;
1118
- `;re.div`
1119
- position: sticky;
1120
- top: 0;
1121
- z-index: 30;
1122
- width: 100%;
1123
- height: var(--header-height);
1124
- display: flex;
1125
- align-items: center;
1126
- justify-content: space-between;
1127
- padding: 0 16px;
1128
- border-bottom: 1px solid rgba(0,0,0,0.06);
1129
- backdrop-filter: blur(8px);
1130
- `;re.div`
1131
- display: flex;
1132
- align-items: center;
1133
- gap: 12px;
1134
- min-width: 0;
1135
- `;re.div`
1136
- display: flex;
1137
- align-items: center;
1138
- gap: 8px;
1139
- `;re.button`
1140
- display: inline-flex;
1141
- align-items: center;
1142
- justify-content: center;
1143
- width: 32px;
1144
- height: 32px;
1145
- border-radius: 8px;
1146
- background: transparent;
1147
- border: 1px solid rgba(0,0,0,0.08);
1148
- cursor: pointer;
1149
- transition: background .15s ease, border-color .15s ease, transform .1s ease;
1150
-
1151
- &:hover { background: rgba(0,0,0,0.04); }
1152
- &:active { transform: translateY(1px); }
1153
- `;re.div`
1154
- display: grid;
1155
- grid-template-columns: var(--sidebar-width) 1fr var(--toc-width);
1156
- gap: 16px;
1157
- width: 100%;
1158
- padding: 12px 0;
1159
- box-sizing: border-box;
1160
- transition: grid-template-columns .25s ease;
1161
- height: calc(100vh - var(--header-height));
1162
- min-height: calc(100vh - var(--header-height));
1163
- overflow: hidden; /* 内部区域各自滚动 */
1164
-
1165
- @media (max-width: 1280px) {
1166
- grid-template-columns: var(--sidebar-width) 1fr 0px;
1167
- }
1168
-
1169
- @media (max-width: 960px) {
1170
- grid-template-columns: 0px 1fr 0px;
1171
- gap: 12px;
1172
- padding: 12px 12px 20px 12px;
1173
- }
1174
- `;re.aside`
1175
- position: relative;
1176
- `;re.div`
1177
- height: 100%;
1178
- overflow: hidden;
1179
- padding-right: 8px;
1180
- border-right: 1px solid rgba(0,0,0,0.06);
1181
- transition: opacity .2s ease, transform .2s ease;
1182
- opacity: ${e=>e.$collapsed?0:1};
1183
- transform: translateX(${e=>e.$collapsed?"-6px":"0px"});
1184
- pointer-events: ${e=>e.$collapsed?"none":"auto"};
1185
- `;re.button`
1186
- position: absolute;
1187
- top: 6px;
1188
- right: -10px;
1189
- width: 10px;
1190
- height: 72px;
1191
- border: none;
1192
- background: rgba(0,0,0,0.06);
1193
- border-radius: 0 8px 8px 0;
1194
- cursor: pointer;
1195
- display: flex;
1196
- align-items: center;
1197
- justify-content: center;
1198
- transition: background .15s ease;
1199
- &:hover { background: rgba(0,0,0,0.12); }
1200
- `;re.div`
1201
- height: 100%;
1202
- overflow: auto;
1203
- padding-right: 8px;
1204
- `;re.main`
1205
- position: relative;
1206
- min-width: 0;
1207
- height: 100%;
1208
- overflow: auto; /* 文档渲染区独立滚动 */
1209
- `;re.div`
1210
- width: 100%;
1211
- max-width: var(--content-max);
1212
- margin: 0 auto;
1213
- background-clip: padding-box;
1214
- border-radius: 8px;
1215
- padding: 0px 12px;
1216
- `;re.div`
1217
- height: 100%;
1218
- transition: opacity .5s ease;
1219
- opacity: ${e=>e.$opacity};
1220
- `;re.aside`
1221
- position: relative;
1222
- z-index: 1;
1223
- `;re.div`
1224
- /* 跟随整页滚动,不再单独滚动 */
1225
- position: static;
1226
- overflow: visible;
1227
- padding-left: 8px;
1228
- border-left: 1px solid rgba(0,0,0,0.06);
1229
- background: transparent;
1230
- z-index: 1;
1231
- `;re.div`
1232
- transition: opacity .2s ease, transform .2s ease;
1233
- opacity: ${e=>e.$collapsed?0:1};
1234
- transform: translateX(${e=>e.$collapsed?"6px":"0px"});
1235
- pointer-events: ${e=>e.$collapsed?"none":"auto"};
1236
- `;re.button`
1237
- position: absolute;
1238
- top: 6px;
1239
- left: -10px;
1240
- width: 10px;
1241
- height: 72px;
1242
- border: none;
1243
- background: rgba(0,0,0,0.06);
1244
- border-radius: 8px 0 0 8px;
1245
- cursor: pointer;
1246
- display: flex;
1247
- align-items: center;
1248
- justify-content: center;
1249
- transition: background .15s ease;
1250
- &:hover { background: rgba(0,0,0,0.12); }
1251
- `;re.div`
1252
- font-size: 12px;
1253
- opacity: .7;
1254
- padding: 8px 8px;
1255
- `;re.button`
1256
- width: 100%;
1257
- display: flex;
1258
- align-items: center;
1259
- gap: 8px;
1260
- padding: 8px 10px;
1261
- background: transparent;
1262
- border: none;
1263
- text-align: left;
1264
- cursor: pointer;
1265
- border-radius: 6px;
1266
- color: inherit;
1267
- transition: background .15s ease, color .15s ease;
1268
- font-size: 13px;
1269
- white-space: nowrap;
1270
-
1271
- &:hover {
1272
- background: rgba(0,0,0,0.04);
1273
- }
1274
-
1275
- ${e=>e.$active?"background: rgba(0,0,0,0.08); font-weight: 600;":""}
1276
- `;re.div`
1277
- display: flex;
1278
- align-items: center;
1279
- gap: 8px;
1280
- flex-wrap: nowrap;
1281
- white-space: nowrap;
1282
- overflow-x: auto;
1283
- overflow-y: hidden;
1284
- scrollbar-width: none;
1285
- &::-webkit-scrollbar { display: none; }
1286
- `;re.div`
1287
- width: 1px;
1288
- height: 16px;
1289
- background: currentColor;
1290
- opacity: .2;
1291
- `;({...Pe,colors:{...Pe.colors}});({...Pe,colors:{...Pe.colors}});const Ai="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM8.69727%205.36035C9.24139%205.36035%209.7044%205.43727%2010.0781%205.59961L10.1787%205.64355V6.78418L9.93066%206.64746C9.56044%206.44228%209.15313%206.33892%208.70508%206.33887C8.12836%206.33887%207.66998%206.52918%207.31543%206.90527L7.31445%206.90625C6.96154%207.27886%206.77643%207.78905%206.77637%208.45605C6.77641%209.08819%206.94869%209.57219%207.27637%209.92578L7.4043%2010.0488C7.71343%2010.3185%208.1013%2010.456%208.5791%2010.4561C9.10219%2010.4561%209.54903%2010.3382%209.9248%2010.1084L10.1787%209.95312V11.0381L10.0889%2011.085C9.65012%2011.3158%209.10967%2011.4268%208.47559%2011.4268C7.6423%2011.4268%206.9605%2011.1612%206.44922%2010.6191V10.6182C5.93981%2010.0754%205.69145%209.36307%205.69141%208.49902C5.69147%207.57075%205.97064%206.80719%206.54102%206.22656C7.10964%205.64782%207.83309%205.36042%208.69727%205.36035ZM6.3291%206.75488C6.32678%206.75844%206.32457%206.76206%206.32227%206.76562C6.36901%206.69342%206.41884%206.62326%206.47266%206.55566L6.3291%206.75488ZM8.10645%205.57812C8.01275%205.59511%207.92124%205.61615%207.83203%205.6416C8.0108%205.5906%208.19869%205.55704%208.39551%205.54004L8.10645%205.57812Z'%20fill='%23339C43'/%3e%3c/svg%3e",Ni="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.29%201.33301C11.457%201.33301%2011.6182%201.39584%2011.7412%201.50879L12.6504%202.3457L11.9736%203.08105L11.1602%202.33301H4V13.666H12.667V3.71387L11.9766%203.08398L11.9736%203.08203L12.6504%202.3457L13.4502%203.07617C13.5879%203.20229%2013.6668%203.38063%2013.667%203.56738V14L13.6533%2014.1338C13.5913%2014.4377%2013.3223%2014.666%2013%2014.666H3.66699L3.53223%2014.6523C3.27187%2014.599%203.06687%2014.3942%203.01367%2014.1338L3%2014V2C3.00012%201.67798%203.22857%201.40887%203.53223%201.34668L3.66699%201.33301H11.29ZM10.5%209C10.7761%209%2011%209.22386%2011%209.5C11%209.77614%2010.7761%2010%2010.5%2010H6.5C6.22386%2010%206%209.77614%206%209.5C6%209.22386%206.22386%209%206.5%209H10.5ZM10.5%207C10.7761%207%2011%207.22386%2011%207.5C11%207.77614%2010.7761%208%2010.5%208H6.5C6.22386%208%206%207.77614%206%207.5C6%207.22386%206.22386%207%206.5%207H10.5Z'%20fill='%23426BFF'/%3e%3c/svg%3e",Hi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM6.71582%205.33301C6.78793%205.33301%206.85481%205.37254%206.89258%205.43652L7.9541%207.25586L9.00488%205.43848C9.04265%205.3745%209.10953%205.33496%209.18164%205.33496H9.79395C9.83089%205.33515%209.86769%205.34564%209.89941%205.36523C9.93101%205.3848%209.95694%205.41285%209.97461%205.44629C9.99224%205.47972%2010.0011%205.5176%2010%205.55566C9.99877%205.59389%209.9876%205.63179%209.96777%205.66406L8.50293%208.01855L9.94531%2010.3359C10.0071%2010.4354%209.97971%2010.5668%209.88379%2010.6309C9.84945%2010.6522%209.81097%2010.665%209.77148%2010.665H9.12793C9.05762%2010.665%208.99086%2010.6274%208.95312%2010.5635L7.88379%208.76172L6.80664%2010.5654C6.76885%2010.6275%206.70384%2010.667%206.63184%2010.667H6.04004C6.00321%2010.6669%205.96628%2010.6561%205.93457%2010.6367C5.90309%2010.6174%205.87717%2010.5897%205.85938%2010.5566C5.84153%2010.5233%205.83209%2010.4854%205.83301%2010.4473C5.83393%2010.4093%205.84491%2010.3721%205.86426%2010.3398L7.2959%207.97949L5.88379%205.66211C5.82198%205.56081%205.85112%205.42939%205.94727%205.36719C5.97982%205.3442%206.01726%205.33302%206.05664%205.33301H6.71582Z'%20fill='%232F913E'/%3e%3c/svg%3e",Oi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1162%203.07617C13.2543%203.20232%2013.3338%203.3804%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM10%208.5C10.2761%208.5%2010.5%208.72386%2010.5%209C10.5%209.27614%2010.2761%209.5%2010%209.5H6C5.72386%209.5%205.5%209.27614%205.5%209C5.5%208.72386%205.72386%208.5%206%208.5H10ZM9%206C9.27614%206%209.5%206.22386%209.5%206.5C9.5%206.77614%209.27614%207%209%207H6C5.72386%207%205.5%206.77614%205.5%206.5C5.5%206.22386%205.72386%206%206%206H9Z'%20fill='%2370706E'/%3e%3c/svg%3e",Ri="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%202.66667C2%202.29848%202.29848%202%202.66667%202H8.22957C8.49499%202%208.73512%202.15744%208.84095%202.40085L9.92791%204.90085C10.1193%205.34115%209.79664%205.83333%209.31652%205.83333H2.66667C2.29848%205.83333%202%205.53486%202%205.16667V2.66667Z'%20fill='%23F9B13C'/%3e%3cpath%20d='M3%204.50008C3%204.31599%203.14924%204.16675%203.33333%204.16675H12.6667C12.8508%204.16675%2013%204.31599%2013%204.50008V13.1667C13%2013.3508%2012.8508%2013.5001%2012.6667%2013.5001H3.33333C3.14924%2013.5001%203%2013.3508%203%2013.1667V4.50008Z'%20fill='white'/%3e%3cpath%20d='M2%204.66675H13.3333C13.7015%204.66675%2014%204.96522%2014%205.33341V13.3334C14%2013.7016%2013.7015%2014.0001%2013.3333%2014.0001H2.66667C2.29848%2014.0001%202%2013.7016%202%2013.3334V4.66675Z'%20fill='%23FFCB2E'/%3e%3c/svg%3e",Fi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM8.95117%208.80469C8.95117%209.45619%208.83123%209.99047%208.58105%2010.3984L8.46582%2010.5654C8.13575%2010.9898%207.68375%2011.2012%207.12109%2011.2012C6.86476%2011.2012%206.64525%2011.1636%206.4668%2011.083L6.4082%2011.0566V10.0342L6.56641%2010.1494C6.70723%2010.2516%206.88862%2010.3066%207.11719%2010.3066C7.40052%2010.3066%207.60577%2010.1907%207.74609%209.95508C7.89129%209.7111%207.9707%209.33189%207.9707%208.80469V4.84961H8.95117V8.80469Z'%20fill='%23FF4D50'/%3e%3c/svg%3e",Ti="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%201C13.5523%201%2014%201.44772%2014%202V13H3.5C3.22386%2013%203%2013.2239%203%2013.5C3%2013.7761%203.22386%2014%203.5%2014H14C14%2014.5523%2013.5523%2015%2013%2015H4C2.89543%2015%202%2014.1046%202%2013V3C2%201.89543%202.89543%201%204%201H13ZM5.5%204C5.22386%204%205%204.22386%205%204.5C5%204.77614%205.22386%205%205.5%205H10.5C10.7761%205%2011%204.77614%2011%204.5C11%204.22386%2010.7761%204%2010.5%204H5.5Z'%20fill='%230956E4'/%3e%3c/svg%3e",Vi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%201.5C11.5899%201.5%2014.5%204.41015%2014.5%208C14.5%2011.5899%2011.5899%2014.5%208%2014.5C4.41015%2014.5%201.5%2011.5899%201.5%208C1.5%204.41015%204.41015%201.5%208%201.5ZM8%202.42871C4.92298%202.42871%202.42871%204.92298%202.42871%208C2.42871%2011.077%204.92298%2013.5713%208%2013.5713C11.077%2013.5713%2013.5713%2011.077%2013.5713%208C13.5713%204.92298%2011.077%202.42871%208%202.42871ZM6.19434%207.36523C6.2548%207.30503%206.3537%207.30487%206.41406%207.36523L6.68262%207.63477C6.74275%207.69515%206.74275%207.79314%206.68262%207.85352L6.30371%208.23242C5.89985%208.63677%205.89974%209.29201%206.30371%209.69629C6.70813%2010.1005%207.3642%2010.1006%207.76855%209.69629L8.14746%209.31738C8.20788%209.25744%208.30591%209.25726%208.36621%209.31738L8.63574%209.58691C8.69582%209.64722%208.69567%209.74526%208.63574%209.80566L8.25684%2010.1846C7.58294%2010.8585%206.49045%2010.8582%205.81641%2010.1846C5.14239%209.51056%205.14239%208.41815%205.81641%207.74414L6.19434%207.36523ZM8.27441%207.27246C8.33487%207.21231%208.43282%207.21214%208.49316%207.27246L8.7627%207.54199C8.82268%207.60237%208.82273%207.7004%208.7627%207.76074L7.76074%208.76172C7.70035%208.82211%207.60244%208.82201%207.54199%208.76172L7.27246%208.49316C7.21217%208.43285%207.21239%208.33487%207.27246%208.27441L8.27441%207.27246ZM7.74414%205.81543C8.41813%205.14189%209.51068%205.14173%2010.1846%205.81543C10.8584%206.48938%2010.8583%207.58286%2010.1846%208.25684L9.80566%208.63477C9.74528%208.69515%209.64736%208.69505%209.58691%208.63477L9.31738%208.36621C9.25716%208.30593%209.25744%208.20792%209.31738%208.14746L9.69629%207.76855C10.1004%207.36418%2010.1005%206.70805%209.69629%206.30371C9.29201%205.89962%208.6368%205.89978%208.23242%206.30371L7.85352%206.68262C7.79319%206.74294%207.69523%206.74271%207.63477%206.68262L7.36523%206.41309C7.30484%206.35264%207.30481%206.25476%207.36523%206.19434L7.74414%205.81543Z'%20fill='%2339B83F'/%3e%3c/svg%3e",zi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957Z'%20fill='%23675FF0'/%3e%3cpath%20d='M5%206.81818C5.12597%206.81818%205.22541%206.79021%205.30497%206.73427C5.38453%206.67832%205.43757%206.6014%205.46409%206.51049C5.49061%206.41259%205.50387%206.25175%205.50387%206.02098C5.50387%205.79021%205.5105%205.63636%205.51713%205.56643C5.53039%205.44755%205.55691%205.35664%205.60331%205.28671C5.64309%205.21678%205.6895%205.16084%205.74917%205.11888C5.80884%205.07692%205.88177%205.04895%205.97459%205.02098C6.03425%205.00699%206.14033%205%206.27956%205H6.41878V5.32867H6.34586C6.17348%205.32867%206.06077%205.35664%206.00773%205.40559C5.9547%205.45454%205.92155%205.57343%205.92155%205.75525C5.92155%206.11888%205.91492%206.34266%205.89503%206.44056C5.86851%206.58741%205.81547%206.6993%205.74254%206.78322C5.66961%206.86014%205.55691%206.93706%205.41105%207C5.59006%207.06294%205.72265%207.16084%205.80221%207.29371C5.88177%207.42657%205.92155%207.63636%205.92155%207.93706C5.92155%208.2028%205.92818%208.36364%205.92818%208.41958C5.94144%208.51049%205.97459%208.58042%206.02762%208.61539C6.08066%208.65035%206.18674%208.67133%206.33923%208.67133H6.41215V9H6.27293C6.11381%209%205.99448%208.99301%205.92818%208.96503C5.8221%208.93007%205.73591%208.88112%205.66961%208.81119C5.60331%208.74126%205.55691%208.65035%205.53702%208.53846C5.51713%208.42657%205.50387%208.25175%205.50387%208C5.50387%207.74825%205.49061%207.58042%205.46409%207.48252C5.43757%207.39161%205.38453%207.30769%205.30497%207.25874C5.22541%207.2028%205.12597%207.17483%205%207.16783V6.81818ZM10.5956%206.06993H7.22099C7.04199%206.06993%206.90276%205.91608%206.90276%205.73427V5.67133C6.90276%205.48252%207.04862%205.33566%207.22099%205.33566H10.5956C10.7746%205.33566%2010.9138%205.48951%2010.9138%205.67133V5.73427C10.9138%205.91608%2010.768%206.06993%2010.5956%206.06993ZM10.5956%207.3986H7.22099C7.04199%207.3986%206.90276%207.24476%206.90276%207.06294V7C6.90276%206.81119%207.04862%206.66434%207.22099%206.66434H10.5956C10.7746%206.66434%2010.9138%206.81818%2010.9138%207V7.06294C10.9138%207.24476%2010.768%207.3986%2010.5956%207.3986ZM10.5956%208.73427H7.22099C7.04199%208.73427%206.90276%208.58042%206.90276%208.3986V8.33566C6.90276%208.14685%207.04862%208%207.22099%208H10.5956C10.7746%208%2010.9138%208.15385%2010.9138%208.33566V8.3986C10.9138%208.58042%2010.768%208.73427%2010.5956%208.73427Z'%20fill='%23675FF0'/%3e%3cpath%20d='M11.5%2010.1265H10.8525V12H10.3677V10.1265H9.72168V9.73096H11.5V10.1265Z'%20fill='%23675FF0'/%3e%3cpath%20d='M7.55811%2012V9.73096H8.3418C9.14746%209.73096%209.55029%2010.0996%209.55029%2010.8369C9.55029%2011.1875%209.4375%2011.4692%209.21191%2011.6821C8.98633%2011.894%208.69531%2012%208.33887%2012H7.55811ZM8.0415%2010.1265V11.6045H8.30518C8.53467%2011.6045%208.71484%2011.5361%208.8457%2011.3994C8.97656%2011.2627%209.04199%2011.0776%209.04199%2010.8442C9.04199%2010.6187%208.97363%2010.4429%208.83691%2010.3169C8.7002%2010.1899%208.52246%2010.1265%208.30371%2010.1265H8.0415Z'%20fill='%23675FF0'/%3e%3cpath%20d='M4.96094%2010.8955C4.96094%2010.54%205.06445%2010.251%205.27148%2010.0283C5.47949%209.80469%205.75391%209.69287%206.09473%209.69287C6.41895%209.69287%206.67969%209.80078%206.87695%2010.0166C7.0752%2010.2324%207.17432%2010.5098%207.17432%2010.8486C7.17432%2011.2021%207.07129%2011.4893%206.86523%2011.71C6.66016%2011.9297%206.39111%2012.0396%206.05811%2012.0396C5.73291%2012.0396%205.46875%2011.9331%205.26562%2011.7202C5.0625%2011.5063%204.96094%2011.2314%204.96094%2010.8955ZM5.46924%2010.8691C5.46924%2011.0898%205.52246%2011.2705%205.62891%2011.4111C5.73535%2011.5508%205.88135%2011.6206%206.06689%2011.6206C6.25635%2011.6206%206.40381%2011.5537%206.50928%2011.4199C6.61475%2011.2852%206.66748%2011.1045%206.66748%2010.8779C6.66748%2010.6416%206.61621%2010.4551%206.51367%2010.3184C6.41113%2010.1807%206.2666%2010.1118%206.08008%2010.1118C5.89062%2010.1118%205.74121%2010.1821%205.63184%2010.3228C5.52344%2010.4634%205.46924%2010.6455%205.46924%2010.8691Z'%20fill='%23675FF0'/%3e%3c/svg%3e",Bi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM7.71191%205.00098C7.95398%205.01182%208.23799%205.16198%208.30664%205.54688C8.40941%206.03464%208.27759%206.57316%208.17285%207.00488L8.16699%207.03027C8.37835%207.57951%208.66991%207.94773%209.11426%208.21875C10.017%208.10683%2010.5964%208.16863%2010.835%208.40332C10.9994%208.56776%2011.0484%208.87519%2010.9473%209.11914C10.8894%209.25831%2010.7357%209.48926%2010.3457%209.48926C9.95189%209.48921%209.37167%209.31384%208.8623%209.04102C8.40175%209.11875%207.8926%209.29278%207.40137%209.45898C7.2966%209.49512%207.18778%209.5311%207.08301%209.56543C6.3969%2010.7429%205.8824%2010.9998%205.56445%2011C5.48865%2011%205.4233%2010.9837%205.36914%2010.9639C5.24449%2010.9169%205.13813%2010.8189%205.07129%2010.6924C5.01181%2010.5787%204.98629%2010.4528%205.00781%2010.3535C5.1144%209.81502%205.83149%209.3878%206.36621%209.11133C6.65343%208.60533%207.04538%207.75431%207.29102%207.16895C7.09599%206.41389%206.98933%205.82132%207.1084%205.3877C7.17162%205.15099%207.42651%204.98835%207.71191%205.00098ZM6.18555%209.77441C5.99948%209.94427%205.76264%2010.1801%205.6416%2010.4023C5.74457%2010.3228%205.93444%2010.1394%206.18555%209.77441ZM7.73926%207.69629C7.60016%208.05769%207.39944%208.55181%207.15918%208.9873C7.23144%208.95839%207.30596%208.9272%207.38184%208.89648C7.69966%208.76643%208.05529%208.61975%208.44531%208.53125C8.17624%208.31804%207.93249%208.03049%207.73926%207.69629ZM9.73535%208.74707C10.3674%208.99599%2010.5185%208.91259%2010.5352%208.90234L10.5391%208.89648H10.543C10.5536%208.88933%2010.5516%208.88347%2010.5498%208.87988C10.544%208.87053%2010.4509%208.71359%209.73535%208.74707ZM7.72852%205.4834C7.67613%205.54303%207.68883%206.05251%207.77734%206.41211C7.8496%206.16635%207.86152%205.68036%207.76758%205.51953C7.75502%205.4962%207.74284%205.48532%207.72852%205.4834Z'%20fill='%23FF4D50'/%3e%3c/svg%3e",ji="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1777%202.67969C14.4553%202.7361%2014.6644%202.98029%2014.666%203.27441V12.667C14.6659%2012.9891%2014.4376%2013.2583%2014.1338%2013.3203L14%2013.334H2L1.86523%2013.3203C1.56164%2013.2581%201.33312%2012.989%201.33301%2012.667V3.33398C1.33301%203.01196%201.56164%202.74298%201.86523%202.68066L2%202.66699H14.0557L14.1777%202.67969ZM2.33301%2012.334H13.666V3.66699H2.33301V12.334ZM8.78125%207.39355C8.79747%207.40146%208.81204%207.41261%208.82324%207.42676L10.8545%2010.0166C10.915%2010.0939%2010.8601%2010.2078%2010.7607%2010.208H5.28613C5.26386%2010.2081%205.24156%2010.2022%205.22266%2010.1904C5.20374%2010.1786%205.18849%2010.1616%205.17871%2010.1416C5.16897%2010.1216%205.16469%2010.0993%205.16699%2010.0771C5.16933%2010.055%205.17865%2010.0341%205.19238%2010.0166L6.67676%208.12305C6.68788%208.10885%206.70253%208.09775%206.71875%208.08984C6.73488%208.08198%206.75256%208.07818%206.77051%208.07812C6.78858%208.07812%206.807%208.08193%206.82324%208.08984C6.83924%208.09768%206.85322%208.10907%206.86426%208.12305L7.47656%208.90332L8.63379%207.42676C8.64501%207.41261%208.65955%207.40145%208.67578%207.39355C8.69215%207.38564%208.71034%207.38086%208.72852%207.38086C8.74668%207.38087%208.7649%207.38565%208.78125%207.39355ZM6.35547%205.83301C6.51333%205.83301%206.66474%205.89619%206.77637%206.00781C6.888%206.11944%206.95117%206.27084%206.95117%206.42871C6.95111%206.5865%206.88794%206.73803%206.77637%206.84961C6.66476%206.9611%206.51323%207.02344%206.35547%207.02344C6.19768%207.02338%206.04615%206.96118%205.93457%206.84961C5.823%206.73803%205.7608%206.5865%205.76074%206.42871C5.76074%206.27095%205.82308%206.11942%205.93457%206.00781C6.04615%205.89624%206.19768%205.83307%206.35547%205.83301Z'%20fill='%2332A3FF'/%3e%3c/svg%3e",Yi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM6.1543%205.26758H8.1543C9.30194%205.26778%209.9998%206.03334%2010%207.08105C10%208.14247%209.29247%208.89045%208.15039%208.89062H6.93262V10.7275C6.93262%2010.812%206.86371%2010.8816%206.7793%2010.8818H6.1543C6.06968%2010.8818%206%2010.8122%206%2010.7275V5.41992C6.00002%205.33532%206.06969%205.2666%206.1543%205.2666V5.26758ZM6.93262%206.03906V8.12402H7.68066C8.54028%208.12402%209.0498%207.91372%209.0498%207.0791C9.04962%206.41793%208.66339%206.03914%208.01367%206.03906H6.93262Z'%20fill='%23FA8C16'/%3e%3c/svg%3e",_i="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.73633%201.57642C2.53848%200.774265%203.74473%200.714862%204.87207%201.03052C6.02182%201.35245%207.24885%202.09683%208.3125%203.1604C9.37624%204.22414%2010.1204%205.45195%2010.4424%206.60181C10.758%207.72909%2010.6986%208.93446%209.89648%209.73657C9.09439%2010.5387%207.88901%2010.5981%206.76172%2010.2825C5.61186%209.96051%204.38405%209.21632%203.32031%208.15259C2.25674%207.08894%201.51236%205.86191%201.19043%204.71216C0.874775%203.58481%200.934176%202.37857%201.73633%201.57642Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.76172%205.41479C7.88883%205.09929%209.09442%205.15888%209.89648%205.96069C10.6986%206.76284%2010.758%207.96909%2010.4424%209.09644C10.1204%2010.2462%209.37617%2011.4732%208.3125%2012.5369C7.24882%2013.6005%206.02187%2014.3448%204.87207%2014.6667C3.74472%2014.9824%202.53848%2014.923%201.73633%2014.1208C0.934528%2013.3188%200.874922%2012.1132%201.19043%2010.9861C1.51239%209.83623%202.25659%208.60841%203.32031%207.54468C4.38405%206.48096%205.61186%205.73675%206.76172%205.41479Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.1282%201.03052C12.2553%200.715012%2013.4609%200.774612%2014.263%201.57642C15.0651%202.37857%2015.1246%203.58481%2014.8089%204.71216C14.4869%205.86196%2013.7427%207.08892%2012.679%208.15259C11.6153%209.21627%2010.3884%209.96048%209.23859%2010.2825C8.11124%2010.5981%206.90499%2010.5387%206.10284%209.73657C5.30106%208.9345%205.24144%207.72892%205.55695%206.60181C5.8789%205.45195%206.62311%204.22414%207.68683%203.1604C8.75056%202.09668%209.97838%201.35248%2011.1282%201.03052Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.10284%205.96069C6.90499%205.15855%208.11124%205.09914%209.23859%205.41479C10.3883%205.73673%2011.6154%206.48111%2012.679%207.54468C13.7427%208.60841%2014.4869%209.83623%2014.8089%2010.9861C15.1245%2012.1134%2015.0651%2013.3188%2014.263%2014.1208C13.4609%2014.9229%2012.2555%2014.9823%2011.1282%2014.6667C9.97838%2014.3448%208.75055%2013.6006%207.68683%2012.5369C6.62325%2011.4732%205.87888%2010.2462%205.55695%209.09644C5.24129%207.96909%205.3007%206.76284%206.10284%205.96069Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Wi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM9.91406%205.16699C10.0058%205.16721%2010.0799%205.24128%2010.0801%205.33301V5.9707C10.0801%206.06262%2010.0059%206.13748%209.91406%206.1377H8.64648C8.55457%206.1377%208.47971%206.21185%208.47949%206.30371V10.5469C8.47936%2010.6387%208.40525%2010.7127%208.31348%2010.7129H7.59375C7.50178%2010.7129%207.42689%2010.6388%207.42676%2010.5469V6.30371C7.42654%206.21185%207.35168%206.1377%207.25977%206.1377H6C5.90795%206.1377%205.83301%206.06275%205.83301%205.9707V5.33301C5.83323%205.24115%205.90809%205.16699%206%205.16699H9.91406Z'%20fill='%234089FF'/%3e%3c/svg%3e",Zi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.9568%201.33276C11.1238%201.33276%2011.2849%201.39651%2011.408%201.50952L12.3171%202.34644L11.6404%203.08179L10.8269%202.33374H3.66675V13.6667H12.3337V3.7146L11.6433%203.08472L11.6404%203.08276L12.3171%202.34644L13.1169%203.0769C13.2546%203.20307%2013.3336%203.38138%2013.3337%203.56812V14.0007L13.3201%2014.1345C13.2578%2014.4382%2012.9888%2014.6667%2012.6667%2014.6667H3.33374L3.19897%2014.6531C2.93875%2014.5998%202.73378%2014.3947%202.68042%2014.1345L2.66675%2014.0007V2.00073C2.66675%201.67864%202.89529%201.40965%203.19897%201.34741L3.33374%201.33276H10.9568ZM6.05542%207.31616C6.12046%207.25114%206.22568%207.25122%206.29077%207.31616L6.58081%207.6062C6.64589%207.67128%206.64588%207.77646%206.58081%207.84155L6.17358%208.24976C5.73807%208.68527%205.73807%209.39139%206.17358%209.8269C6.60912%2010.2622%207.31529%2010.2624%207.75073%209.8269L8.15796%209.4187C8.22305%209.35363%208.32921%209.35362%208.39429%209.4187L8.68433%209.70874C8.74934%209.77383%208.74937%209.88%208.68433%209.94507L8.27612%2010.3523C7.55026%2011.0782%206.37308%2011.0782%205.64722%2010.3523C4.92174%209.62652%204.92177%208.45016%205.64722%207.72437L6.05542%207.31616ZM8.29468%207.21655C8.35977%207.15147%208.46592%207.15147%208.53101%207.21655L8.82104%207.50659C8.88578%207.5716%208.88575%207.67692%208.82104%207.74194L7.74194%208.82104C7.67692%208.88583%207.57163%208.8858%207.50659%208.82104L7.21655%208.53101C7.15147%208.46592%207.15147%208.35977%207.21655%208.29468L8.29468%207.21655ZM7.72339%205.64722C8.44919%204.92141%209.62642%204.92152%2010.3523%205.64722C11.0782%206.37308%2011.0782%207.55026%2010.3523%208.27612L9.94409%208.68433C9.87904%208.74897%209.77371%208.7491%209.70874%208.68433L9.4187%208.39429C9.35361%208.3292%209.35361%208.22305%209.4187%208.15796L9.8269%207.75073C10.2623%207.31533%2010.2621%206.60913%209.8269%206.17358C9.39139%205.73807%208.68527%205.73807%208.24976%206.17358L7.84155%206.58081C7.77647%206.64589%207.67129%206.64588%207.6062%206.58081L7.31616%206.29077C7.25109%206.22568%207.25108%206.1205%207.31616%206.05542L7.72339%205.64722Z'%20fill='%231998FF'/%3e%3c/svg%3e",Ui="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM5.77832%205.83301C5.87031%205.83301%205.94933%205.8983%205.9707%205.98828L6.72852%209.2998L7.54492%205.98535C7.56627%205.89541%207.64507%205.83309%207.73535%205.83301H8.26465C8.35498%205.83305%208.43373%205.89538%208.45508%205.98535L9.27344%209.30664L10.0254%205.98828C10.0467%205.89837%2010.1259%205.83313%2010.2178%205.83301H10.8027C10.8329%205.83312%2010.8626%205.84093%2010.8896%205.85449C10.9167%205.86808%2010.9406%205.88781%2010.959%205.91211C10.9773%205.93632%2010.9901%205.96425%2010.9961%205.99414C11.0021%206.02417%2011.0008%206.05533%2010.9932%206.08496L9.77148%2010.6846C9.74853%2010.7727%209.66957%2010.8328%209.58105%2010.833H9.05859C8.96987%2010.833%208.89019%2010.7712%208.86719%2010.6846L8%207.40137L7.13281%2010.6846C7.10985%2010.7728%207.03094%2010.8328%206.94238%2010.833H6.41602C6.32739%2010.8329%206.24857%2010.7712%206.22559%2010.6846L5.00684%206.08496C4.99909%206.05533%204.99796%206.0242%205.00391%205.99414C5.00985%205.9641%205.02262%205.93543%205.04102%205.91113C5.05939%205.88697%205.08338%205.86703%205.11035%205.85352C5.13734%205.84008%205.1672%205.83306%205.19727%205.83301H5.77832Z'%20fill='%23426BFF'/%3e%3c/svg%3e",qi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.29%201.33008C11.457%201.33008%2011.6182%201.39298%2011.7412%201.50586L12.6504%202.34277L11.9736%203.07812L11.1602%202.33008H4V13.6631H12.667V3.71094L11.9766%203.08105L11.9736%203.0791L12.6504%202.34277L13.4502%203.07324C13.588%203.19942%2013.6669%203.37761%2013.667%203.56445V13.9971L13.6533%2014.1309C13.5912%2014.4347%2013.3222%2014.6631%2013%2014.6631H3.66699L3.53223%2014.6494C3.27204%2014.5959%203.06685%2014.3912%203.01367%2014.1309L3%2013.9971V1.99707C3%201.67508%203.22869%201.40611%203.53223%201.34375L3.66699%201.33008H11.29ZM7.36816%206.39941C7.65187%206.39959%207.84768%206.57468%207.95605%206.93066L7.52734%207.78809L7.31641%207.35938C7.24417%207.22007%207.15618%207.14756%207.04785%207.14746H6.19043C6.04599%207.14751%206.00977%207.21486%206.08203%207.35938L7.04199%209.38867C7.68737%208.10825%208.05967%207.27658%208.21973%206.93066C8.40557%206.5332%208.62233%206.39943%208.90625%206.39941H10.791C11.1471%206.39948%2011.2705%206.57449%2011.1621%206.93066C11.0536%207.287%2010.5013%208.46426%209.50488%2010.457C9.46874%2010.5241%209.41249%2010.5762%209.35059%2010.6123C9.1441%2010.731%208.88077%2010.6635%208.75684%2010.457L8.22461%209.28027L8.65332%208.42285L9.13379%209.43945L10.1504%207.35938C10.2175%207.21997%2010.1866%207.14746%2010.042%207.14746H8.97852L7.47656%2010.3535C7.43013%2010.5031%207.31627%2010.6168%207.17188%2010.6582C6.93438%2010.7253%206.68626%2010.591%206.61914%2010.3535C5.62275%208.28844%205.09083%207.1111%205.01855%206.82715C4.94645%206.54338%205.09114%206.39941%205.44727%206.39941H7.36816Z'%20fill='%23ED8E35'/%3e%3c/svg%3e",Gi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%202.66667C2%202.29848%202.29848%202%202.66667%202H13.3333C13.7015%202%2014%202.29848%2014%202.66667V8H2V2.66667Z'%20fill='%234DC6FF'/%3e%3cpath%20d='M2%208H14V13.3333C14%2013.7015%2013.7015%2014%2013.3333%2014H2.66667C2.29848%2014%202%2013.7015%202%2013.3333V8Z'%20fill='%234DCE84'/%3e%3crect%20x='14'%20y='6'%20width='4'%20height='12'%20transform='rotate(90%2014%206)'%20fill='%23FF5F5A'/%3e%3crect%20x='6'%20y='2'%20width='4'%20height='12'%20fill='%23FCC048'/%3e%3crect%20x='5.66667'%20y='5.66667'%20width='4.66667'%20height='4.66667'%20rx='0.666667'%20stroke='white'%20stroke-width='0.666667'/%3e%3c/svg%3e",Cu=Object.assign({});function xu(e,t,n){let r=e;for(let a=0;a<t.length-1;a+=1){const o=t[a];(!r[o]||typeof r[o]!="object")&&(r[o]={}),r=r[o]}r[t[t.length-1]]=n}function yu(e){return e.replace(/^\.\//,"").split("?")[0].replace(/\.svg$/i,"").split("/")}function wu(e,t){const n=Ee.lazy(()=>e().then(a=>({default:a.default||a.ReactComponent}))),r=a=>k(rl,{fallback:null,children:k(n,{...a})});return r.displayName=t,Xn(r)}const Qi={};Object.entries(Cu).forEach(([e,t])=>{const n=yu(e),r=wu(t,`Icon(${n.join("/")})`);xu(Qi,n,r)});const Su=Object.assign({"./rag/csv.svg":Ai,"./rag/document.svg":Ni,"./rag/excel.svg":Hi,"./rag/file.svg":Oi,"./rag/folder.svg":Ri,"./rag/json.svg":Fi,"./rag/knowledgebase.svg":Ti,"./rag/netretrive.svg":Vi,"./rag/odf.svg":zi,"./rag/pdf.svg":Bi,"./rag/pic.svg":ji,"./rag/ppt.svg":Yi,"./rag/think.svg":_i,"./rag/txt.svg":Wi,"./rag/url.svg":Zi,"./rag/word.svg":Ui,"./rag/wps.svg":qi,"./rag/zip.svg":Gi});function ku(e,t,n){let r=e;for(let a=0;a<t.length-1;a+=1){const o=t[a];(!r[o]||typeof r[o]!="object")&&(r[o]={}),r=r[o]}r[t[t.length-1]]=n}function $u(e){return e.replace(/^\.\//,"").split("?")[0].replace(/\.svg$/i,"").split("/")}const Ki={};Object.entries(Su).forEach(([e,t])=>{const n=$u(e);ku(Ki,n,t)});function Mu(e){const t=e.split("/").filter(Boolean);let n=Qi;for(const r of t){if(!n)return;n=n[r]}return typeof n=="function"?n:void 0}function Iu(e){const t=e.split("/").filter(Boolean);let n=Ki;for(const r of t){if(!n)return;n=n[r]}return typeof n=="string"?n:void 0}const Id=({type:e,size:t,...n})=>{const r=Mu(e),a=typeof t<"u"?{width:t,height:t}:{};if(r)return k(r,{...a,...n});const o=Iu(e);return o?k("img",{src:o,alt:"",...a,...n}):null},Du="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM8.69727%205.36035C9.24139%205.36035%209.7044%205.43727%2010.0781%205.59961L10.1787%205.64355V6.78418L9.93066%206.64746C9.56044%206.44228%209.15313%206.33892%208.70508%206.33887C8.12836%206.33887%207.66998%206.52918%207.31543%206.90527L7.31445%206.90625C6.96154%207.27886%206.77643%207.78905%206.77637%208.45605C6.77641%209.08819%206.94869%209.57219%207.27637%209.92578L7.4043%2010.0488C7.71343%2010.3185%208.1013%2010.456%208.5791%2010.4561C9.10219%2010.4561%209.54903%2010.3382%209.9248%2010.1084L10.1787%209.95312V11.0381L10.0889%2011.085C9.65012%2011.3158%209.10967%2011.4268%208.47559%2011.4268C7.6423%2011.4268%206.9605%2011.1612%206.44922%2010.6191V10.6182C5.93981%2010.0754%205.69145%209.36307%205.69141%208.49902C5.69147%207.57075%205.97064%206.80719%206.54102%206.22656C7.10964%205.64782%207.83309%205.36042%208.69727%205.36035ZM6.3291%206.75488C6.32678%206.75844%206.32457%206.76206%206.32227%206.76562C6.36901%206.69342%206.41884%206.62326%206.47266%206.55566L6.3291%206.75488ZM8.10645%205.57812C8.01275%205.59511%207.92124%205.61615%207.83203%205.6416C8.0108%205.5906%208.19869%205.55704%208.39551%205.54004L8.10645%205.57812Z'%20fill='%23339C43'/%3e%3c/svg%3e",Lu=Object.freeze(Object.defineProperty({__proto__:null,default:Du},Symbol.toStringTag,{value:"Module"})),Pu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.29%201.33301C11.457%201.33301%2011.6182%201.39584%2011.7412%201.50879L12.6504%202.3457L11.9736%203.08105L11.1602%202.33301H4V13.666H12.667V3.71387L11.9766%203.08398L11.9736%203.08203L12.6504%202.3457L13.4502%203.07617C13.5879%203.20229%2013.6668%203.38063%2013.667%203.56738V14L13.6533%2014.1338C13.5913%2014.4377%2013.3223%2014.666%2013%2014.666H3.66699L3.53223%2014.6523C3.27187%2014.599%203.06687%2014.3942%203.01367%2014.1338L3%2014V2C3.00012%201.67798%203.22857%201.40887%203.53223%201.34668L3.66699%201.33301H11.29ZM10.5%209C10.7761%209%2011%209.22386%2011%209.5C11%209.77614%2010.7761%2010%2010.5%2010H6.5C6.22386%2010%206%209.77614%206%209.5C6%209.22386%206.22386%209%206.5%209H10.5ZM10.5%207C10.7761%207%2011%207.22386%2011%207.5C11%207.77614%2010.7761%208%2010.5%208H6.5C6.22386%208%206%207.77614%206%207.5C6%207.22386%206.22386%207%206.5%207H10.5Z'%20fill='%23426BFF'/%3e%3c/svg%3e",Eu=Object.freeze(Object.defineProperty({__proto__:null,default:Pu},Symbol.toStringTag,{value:"Module"})),Au="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM6.71582%205.33301C6.78793%205.33301%206.85481%205.37254%206.89258%205.43652L7.9541%207.25586L9.00488%205.43848C9.04265%205.3745%209.10953%205.33496%209.18164%205.33496H9.79395C9.83089%205.33515%209.86769%205.34564%209.89941%205.36523C9.93101%205.3848%209.95694%205.41285%209.97461%205.44629C9.99224%205.47972%2010.0011%205.5176%2010%205.55566C9.99877%205.59389%209.9876%205.63179%209.96777%205.66406L8.50293%208.01855L9.94531%2010.3359C10.0071%2010.4354%209.97971%2010.5668%209.88379%2010.6309C9.84945%2010.6522%209.81097%2010.665%209.77148%2010.665H9.12793C9.05762%2010.665%208.99086%2010.6274%208.95312%2010.5635L7.88379%208.76172L6.80664%2010.5654C6.76885%2010.6275%206.70384%2010.667%206.63184%2010.667H6.04004C6.00321%2010.6669%205.96628%2010.6561%205.93457%2010.6367C5.90309%2010.6174%205.87717%2010.5897%205.85938%2010.5566C5.84153%2010.5233%205.83209%2010.4854%205.83301%2010.4473C5.83393%2010.4093%205.84491%2010.3721%205.86426%2010.3398L7.2959%207.97949L5.88379%205.66211C5.82198%205.56081%205.85112%205.42939%205.94727%205.36719C5.97982%205.3442%206.01726%205.33302%206.05664%205.33301H6.71582Z'%20fill='%232F913E'/%3e%3c/svg%3e",Nu=Object.freeze(Object.defineProperty({__proto__:null,default:Au},Symbol.toStringTag,{value:"Module"})),Hu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1162%203.07617C13.2543%203.20232%2013.3338%203.3804%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM10%208.5C10.2761%208.5%2010.5%208.72386%2010.5%209C10.5%209.27614%2010.2761%209.5%2010%209.5H6C5.72386%209.5%205.5%209.27614%205.5%209C5.5%208.72386%205.72386%208.5%206%208.5H10ZM9%206C9.27614%206%209.5%206.22386%209.5%206.5C9.5%206.77614%209.27614%207%209%207H6C5.72386%207%205.5%206.77614%205.5%206.5C5.5%206.22386%205.72386%206%206%206H9Z'%20fill='%2370706E'/%3e%3c/svg%3e",Ou=Object.freeze(Object.defineProperty({__proto__:null,default:Hu},Symbol.toStringTag,{value:"Module"})),Ru="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%202.66667C2%202.29848%202.29848%202%202.66667%202H8.22957C8.49499%202%208.73512%202.15744%208.84095%202.40085L9.92791%204.90085C10.1193%205.34115%209.79664%205.83333%209.31652%205.83333H2.66667C2.29848%205.83333%202%205.53486%202%205.16667V2.66667Z'%20fill='%23F9B13C'/%3e%3cpath%20d='M3%204.50008C3%204.31599%203.14924%204.16675%203.33333%204.16675H12.6667C12.8508%204.16675%2013%204.31599%2013%204.50008V13.1667C13%2013.3508%2012.8508%2013.5001%2012.6667%2013.5001H3.33333C3.14924%2013.5001%203%2013.3508%203%2013.1667V4.50008Z'%20fill='white'/%3e%3cpath%20d='M2%204.66675H13.3333C13.7015%204.66675%2014%204.96522%2014%205.33341V13.3334C14%2013.7016%2013.7015%2014.0001%2013.3333%2014.0001H2.66667C2.29848%2014.0001%202%2013.7016%202%2013.3334V4.66675Z'%20fill='%23FFCB2E'/%3e%3c/svg%3e",Fu=Object.freeze(Object.defineProperty({__proto__:null,default:Ru},Symbol.toStringTag,{value:"Module"})),Tu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM8.95117%208.80469C8.95117%209.45619%208.83123%209.99047%208.58105%2010.3984L8.46582%2010.5654C8.13575%2010.9898%207.68375%2011.2012%207.12109%2011.2012C6.86476%2011.2012%206.64525%2011.1636%206.4668%2011.083L6.4082%2011.0566V10.0342L6.56641%2010.1494C6.70723%2010.2516%206.88862%2010.3066%207.11719%2010.3066C7.40052%2010.3066%207.60577%2010.1907%207.74609%209.95508C7.89129%209.7111%207.9707%209.33189%207.9707%208.80469V4.84961H8.95117V8.80469Z'%20fill='%23FF4D50'/%3e%3c/svg%3e",Vu=Object.freeze(Object.defineProperty({__proto__:null,default:Tu},Symbol.toStringTag,{value:"Module"})),zu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%201C13.5523%201%2014%201.44772%2014%202V13H3.5C3.22386%2013%203%2013.2239%203%2013.5C3%2013.7761%203.22386%2014%203.5%2014H14C14%2014.5523%2013.5523%2015%2013%2015H4C2.89543%2015%202%2014.1046%202%2013V3C2%201.89543%202.89543%201%204%201H13ZM5.5%204C5.22386%204%205%204.22386%205%204.5C5%204.77614%205.22386%205%205.5%205H10.5C10.7761%205%2011%204.77614%2011%204.5C11%204.22386%2010.7761%204%2010.5%204H5.5Z'%20fill='%230956E4'/%3e%3c/svg%3e",Bu=Object.freeze(Object.defineProperty({__proto__:null,default:zu},Symbol.toStringTag,{value:"Module"})),ju="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%201.5C11.5899%201.5%2014.5%204.41015%2014.5%208C14.5%2011.5899%2011.5899%2014.5%208%2014.5C4.41015%2014.5%201.5%2011.5899%201.5%208C1.5%204.41015%204.41015%201.5%208%201.5ZM8%202.42871C4.92298%202.42871%202.42871%204.92298%202.42871%208C2.42871%2011.077%204.92298%2013.5713%208%2013.5713C11.077%2013.5713%2013.5713%2011.077%2013.5713%208C13.5713%204.92298%2011.077%202.42871%208%202.42871ZM6.19434%207.36523C6.2548%207.30503%206.3537%207.30487%206.41406%207.36523L6.68262%207.63477C6.74275%207.69515%206.74275%207.79314%206.68262%207.85352L6.30371%208.23242C5.89985%208.63677%205.89974%209.29201%206.30371%209.69629C6.70813%2010.1005%207.3642%2010.1006%207.76855%209.69629L8.14746%209.31738C8.20788%209.25744%208.30591%209.25726%208.36621%209.31738L8.63574%209.58691C8.69582%209.64722%208.69567%209.74526%208.63574%209.80566L8.25684%2010.1846C7.58294%2010.8585%206.49045%2010.8582%205.81641%2010.1846C5.14239%209.51056%205.14239%208.41815%205.81641%207.74414L6.19434%207.36523ZM8.27441%207.27246C8.33487%207.21231%208.43282%207.21214%208.49316%207.27246L8.7627%207.54199C8.82268%207.60237%208.82273%207.7004%208.7627%207.76074L7.76074%208.76172C7.70035%208.82211%207.60244%208.82201%207.54199%208.76172L7.27246%208.49316C7.21217%208.43285%207.21239%208.33487%207.27246%208.27441L8.27441%207.27246ZM7.74414%205.81543C8.41813%205.14189%209.51068%205.14173%2010.1846%205.81543C10.8584%206.48938%2010.8583%207.58286%2010.1846%208.25684L9.80566%208.63477C9.74528%208.69515%209.64736%208.69505%209.58691%208.63477L9.31738%208.36621C9.25716%208.30593%209.25744%208.20792%209.31738%208.14746L9.69629%207.76855C10.1004%207.36418%2010.1005%206.70805%209.69629%206.30371C9.29201%205.89962%208.6368%205.89978%208.23242%206.30371L7.85352%206.68262C7.79319%206.74294%207.69523%206.74271%207.63477%206.68262L7.36523%206.41309C7.30484%206.35264%207.30481%206.25476%207.36523%206.19434L7.74414%205.81543Z'%20fill='%2339B83F'/%3e%3c/svg%3e",Yu=Object.freeze(Object.defineProperty({__proto__:null,default:ju},Symbol.toStringTag,{value:"Module"})),_u="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957Z'%20fill='%23675FF0'/%3e%3cpath%20d='M5%206.81818C5.12597%206.81818%205.22541%206.79021%205.30497%206.73427C5.38453%206.67832%205.43757%206.6014%205.46409%206.51049C5.49061%206.41259%205.50387%206.25175%205.50387%206.02098C5.50387%205.79021%205.5105%205.63636%205.51713%205.56643C5.53039%205.44755%205.55691%205.35664%205.60331%205.28671C5.64309%205.21678%205.6895%205.16084%205.74917%205.11888C5.80884%205.07692%205.88177%205.04895%205.97459%205.02098C6.03425%205.00699%206.14033%205%206.27956%205H6.41878V5.32867H6.34586C6.17348%205.32867%206.06077%205.35664%206.00773%205.40559C5.9547%205.45454%205.92155%205.57343%205.92155%205.75525C5.92155%206.11888%205.91492%206.34266%205.89503%206.44056C5.86851%206.58741%205.81547%206.6993%205.74254%206.78322C5.66961%206.86014%205.55691%206.93706%205.41105%207C5.59006%207.06294%205.72265%207.16084%205.80221%207.29371C5.88177%207.42657%205.92155%207.63636%205.92155%207.93706C5.92155%208.2028%205.92818%208.36364%205.92818%208.41958C5.94144%208.51049%205.97459%208.58042%206.02762%208.61539C6.08066%208.65035%206.18674%208.67133%206.33923%208.67133H6.41215V9H6.27293C6.11381%209%205.99448%208.99301%205.92818%208.96503C5.8221%208.93007%205.73591%208.88112%205.66961%208.81119C5.60331%208.74126%205.55691%208.65035%205.53702%208.53846C5.51713%208.42657%205.50387%208.25175%205.50387%208C5.50387%207.74825%205.49061%207.58042%205.46409%207.48252C5.43757%207.39161%205.38453%207.30769%205.30497%207.25874C5.22541%207.2028%205.12597%207.17483%205%207.16783V6.81818ZM10.5956%206.06993H7.22099C7.04199%206.06993%206.90276%205.91608%206.90276%205.73427V5.67133C6.90276%205.48252%207.04862%205.33566%207.22099%205.33566H10.5956C10.7746%205.33566%2010.9138%205.48951%2010.9138%205.67133V5.73427C10.9138%205.91608%2010.768%206.06993%2010.5956%206.06993ZM10.5956%207.3986H7.22099C7.04199%207.3986%206.90276%207.24476%206.90276%207.06294V7C6.90276%206.81119%207.04862%206.66434%207.22099%206.66434H10.5956C10.7746%206.66434%2010.9138%206.81818%2010.9138%207V7.06294C10.9138%207.24476%2010.768%207.3986%2010.5956%207.3986ZM10.5956%208.73427H7.22099C7.04199%208.73427%206.90276%208.58042%206.90276%208.3986V8.33566C6.90276%208.14685%207.04862%208%207.22099%208H10.5956C10.7746%208%2010.9138%208.15385%2010.9138%208.33566V8.3986C10.9138%208.58042%2010.768%208.73427%2010.5956%208.73427Z'%20fill='%23675FF0'/%3e%3cpath%20d='M11.5%2010.1265H10.8525V12H10.3677V10.1265H9.72168V9.73096H11.5V10.1265Z'%20fill='%23675FF0'/%3e%3cpath%20d='M7.55811%2012V9.73096H8.3418C9.14746%209.73096%209.55029%2010.0996%209.55029%2010.8369C9.55029%2011.1875%209.4375%2011.4692%209.21191%2011.6821C8.98633%2011.894%208.69531%2012%208.33887%2012H7.55811ZM8.0415%2010.1265V11.6045H8.30518C8.53467%2011.6045%208.71484%2011.5361%208.8457%2011.3994C8.97656%2011.2627%209.04199%2011.0776%209.04199%2010.8442C9.04199%2010.6187%208.97363%2010.4429%208.83691%2010.3169C8.7002%2010.1899%208.52246%2010.1265%208.30371%2010.1265H8.0415Z'%20fill='%23675FF0'/%3e%3cpath%20d='M4.96094%2010.8955C4.96094%2010.54%205.06445%2010.251%205.27148%2010.0283C5.47949%209.80469%205.75391%209.69287%206.09473%209.69287C6.41895%209.69287%206.67969%209.80078%206.87695%2010.0166C7.0752%2010.2324%207.17432%2010.5098%207.17432%2010.8486C7.17432%2011.2021%207.07129%2011.4893%206.86523%2011.71C6.66016%2011.9297%206.39111%2012.0396%206.05811%2012.0396C5.73291%2012.0396%205.46875%2011.9331%205.26562%2011.7202C5.0625%2011.5063%204.96094%2011.2314%204.96094%2010.8955ZM5.46924%2010.8691C5.46924%2011.0898%205.52246%2011.2705%205.62891%2011.4111C5.73535%2011.5508%205.88135%2011.6206%206.06689%2011.6206C6.25635%2011.6206%206.40381%2011.5537%206.50928%2011.4199C6.61475%2011.2852%206.66748%2011.1045%206.66748%2010.8779C6.66748%2010.6416%206.61621%2010.4551%206.51367%2010.3184C6.41113%2010.1807%206.2666%2010.1118%206.08008%2010.1118C5.89062%2010.1118%205.74121%2010.1821%205.63184%2010.3228C5.52344%2010.4634%205.46924%2010.6455%205.46924%2010.8691Z'%20fill='%23675FF0'/%3e%3c/svg%3e",Wu=Object.freeze(Object.defineProperty({__proto__:null,default:_u},Symbol.toStringTag,{value:"Module"})),Zu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM7.71191%205.00098C7.95398%205.01182%208.23799%205.16198%208.30664%205.54688C8.40941%206.03464%208.27759%206.57316%208.17285%207.00488L8.16699%207.03027C8.37835%207.57951%208.66991%207.94773%209.11426%208.21875C10.017%208.10683%2010.5964%208.16863%2010.835%208.40332C10.9994%208.56776%2011.0484%208.87519%2010.9473%209.11914C10.8894%209.25831%2010.7357%209.48926%2010.3457%209.48926C9.95189%209.48921%209.37167%209.31384%208.8623%209.04102C8.40175%209.11875%207.8926%209.29278%207.40137%209.45898C7.2966%209.49512%207.18778%209.5311%207.08301%209.56543C6.3969%2010.7429%205.8824%2010.9998%205.56445%2011C5.48865%2011%205.4233%2010.9837%205.36914%2010.9639C5.24449%2010.9169%205.13813%2010.8189%205.07129%2010.6924C5.01181%2010.5787%204.98629%2010.4528%205.00781%2010.3535C5.1144%209.81502%205.83149%209.3878%206.36621%209.11133C6.65343%208.60533%207.04538%207.75431%207.29102%207.16895C7.09599%206.41389%206.98933%205.82132%207.1084%205.3877C7.17162%205.15099%207.42651%204.98835%207.71191%205.00098ZM6.18555%209.77441C5.99948%209.94427%205.76264%2010.1801%205.6416%2010.4023C5.74457%2010.3228%205.93444%2010.1394%206.18555%209.77441ZM7.73926%207.69629C7.60016%208.05769%207.39944%208.55181%207.15918%208.9873C7.23144%208.95839%207.30596%208.9272%207.38184%208.89648C7.69966%208.76643%208.05529%208.61975%208.44531%208.53125C8.17624%208.31804%207.93249%208.03049%207.73926%207.69629ZM9.73535%208.74707C10.3674%208.99599%2010.5185%208.91259%2010.5352%208.90234L10.5391%208.89648H10.543C10.5536%208.88933%2010.5516%208.88347%2010.5498%208.87988C10.544%208.87053%2010.4509%208.71359%209.73535%208.74707ZM7.72852%205.4834C7.67613%205.54303%207.68883%206.05251%207.77734%206.41211C7.8496%206.16635%207.86152%205.68036%207.76758%205.51953C7.75502%205.4962%207.74284%205.48532%207.72852%205.4834Z'%20fill='%23FF4D50'/%3e%3c/svg%3e",Uu=Object.freeze(Object.defineProperty({__proto__:null,default:Zu},Symbol.toStringTag,{value:"Module"})),qu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1777%202.67969C14.4553%202.7361%2014.6644%202.98029%2014.666%203.27441V12.667C14.6659%2012.9891%2014.4376%2013.2583%2014.1338%2013.3203L14%2013.334H2L1.86523%2013.3203C1.56164%2013.2581%201.33312%2012.989%201.33301%2012.667V3.33398C1.33301%203.01196%201.56164%202.74298%201.86523%202.68066L2%202.66699H14.0557L14.1777%202.67969ZM2.33301%2012.334H13.666V3.66699H2.33301V12.334ZM8.78125%207.39355C8.79747%207.40146%208.81204%207.41261%208.82324%207.42676L10.8545%2010.0166C10.915%2010.0939%2010.8601%2010.2078%2010.7607%2010.208H5.28613C5.26386%2010.2081%205.24156%2010.2022%205.22266%2010.1904C5.20374%2010.1786%205.18849%2010.1616%205.17871%2010.1416C5.16897%2010.1216%205.16469%2010.0993%205.16699%2010.0771C5.16933%2010.055%205.17865%2010.0341%205.19238%2010.0166L6.67676%208.12305C6.68788%208.10885%206.70253%208.09775%206.71875%208.08984C6.73488%208.08198%206.75256%208.07818%206.77051%208.07812C6.78858%208.07812%206.807%208.08193%206.82324%208.08984C6.83924%208.09768%206.85322%208.10907%206.86426%208.12305L7.47656%208.90332L8.63379%207.42676C8.64501%207.41261%208.65955%207.40145%208.67578%207.39355C8.69215%207.38564%208.71034%207.38086%208.72852%207.38086C8.74668%207.38087%208.7649%207.38565%208.78125%207.39355ZM6.35547%205.83301C6.51333%205.83301%206.66474%205.89619%206.77637%206.00781C6.888%206.11944%206.95117%206.27084%206.95117%206.42871C6.95111%206.5865%206.88794%206.73803%206.77637%206.84961C6.66476%206.9611%206.51323%207.02344%206.35547%207.02344C6.19768%207.02338%206.04615%206.96118%205.93457%206.84961C5.823%206.73803%205.7608%206.5865%205.76074%206.42871C5.76074%206.27095%205.82308%206.11942%205.93457%206.00781C6.04615%205.89624%206.19768%205.83307%206.35547%205.83301Z'%20fill='%2332A3FF'/%3e%3c/svg%3e",Gu=Object.freeze(Object.defineProperty({__proto__:null,default:qu},Symbol.toStringTag,{value:"Module"})),Qu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM6.1543%205.26758H8.1543C9.30194%205.26778%209.9998%206.03334%2010%207.08105C10%208.14247%209.29247%208.89045%208.15039%208.89062H6.93262V10.7275C6.93262%2010.812%206.86371%2010.8816%206.7793%2010.8818H6.1543C6.06968%2010.8818%206%2010.8122%206%2010.7275V5.41992C6.00002%205.33532%206.06969%205.2666%206.1543%205.2666V5.26758ZM6.93262%206.03906V8.12402H7.68066C8.54028%208.12402%209.0498%207.91372%209.0498%207.0791C9.04962%206.41793%208.66339%206.03914%208.01367%206.03906H6.93262Z'%20fill='%23FA8C16'/%3e%3c/svg%3e",Ku=Object.freeze(Object.defineProperty({__proto__:null,default:Qu},Symbol.toStringTag,{value:"Module"})),Xu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.73633%201.57642C2.53848%200.774265%203.74473%200.714862%204.87207%201.03052C6.02182%201.35245%207.24885%202.09683%208.3125%203.1604C9.37624%204.22414%2010.1204%205.45195%2010.4424%206.60181C10.758%207.72909%2010.6986%208.93446%209.89648%209.73657C9.09439%2010.5387%207.88901%2010.5981%206.76172%2010.2825C5.61186%209.96051%204.38405%209.21632%203.32031%208.15259C2.25674%207.08894%201.51236%205.86191%201.19043%204.71216C0.874775%203.58481%200.934176%202.37857%201.73633%201.57642Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.76172%205.41479C7.88883%205.09929%209.09442%205.15888%209.89648%205.96069C10.6986%206.76284%2010.758%207.96909%2010.4424%209.09644C10.1204%2010.2462%209.37617%2011.4732%208.3125%2012.5369C7.24882%2013.6005%206.02187%2014.3448%204.87207%2014.6667C3.74472%2014.9824%202.53848%2014.923%201.73633%2014.1208C0.934528%2013.3188%200.874922%2012.1132%201.19043%2010.9861C1.51239%209.83623%202.25659%208.60841%203.32031%207.54468C4.38405%206.48096%205.61186%205.73675%206.76172%205.41479Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.1282%201.03052C12.2553%200.715012%2013.4609%200.774612%2014.263%201.57642C15.0651%202.37857%2015.1246%203.58481%2014.8089%204.71216C14.4869%205.86196%2013.7427%207.08892%2012.679%208.15259C11.6153%209.21627%2010.3884%209.96048%209.23859%2010.2825C8.11124%2010.5981%206.90499%2010.5387%206.10284%209.73657C5.30106%208.9345%205.24144%207.72892%205.55695%206.60181C5.8789%205.45195%206.62311%204.22414%207.68683%203.1604C8.75056%202.09668%209.97838%201.35248%2011.1282%201.03052Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.10284%205.96069C6.90499%205.15855%208.11124%205.09914%209.23859%205.41479C10.3883%205.73673%2011.6154%206.48111%2012.679%207.54468C13.7427%208.60841%2014.4869%209.83623%2014.8089%2010.9861C15.1245%2012.1134%2015.0651%2013.3188%2014.263%2014.1208C13.4609%2014.9229%2012.2555%2014.9823%2011.1282%2014.6667C9.97838%2014.3448%208.75055%2013.6006%207.68683%2012.5369C6.62325%2011.4732%205.87888%2010.2462%205.55695%209.09644C5.24129%207.96909%205.3007%206.76284%206.10284%205.96069Z'%20stroke='%234E6EF2'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ju=Object.freeze(Object.defineProperty({__proto__:null,default:Xu},Symbol.toStringTag,{value:"Module"})),ed="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM9.91406%205.16699C10.0058%205.16721%2010.0799%205.24128%2010.0801%205.33301V5.9707C10.0801%206.06262%2010.0059%206.13748%209.91406%206.1377H8.64648C8.55457%206.1377%208.47971%206.21185%208.47949%206.30371V10.5469C8.47936%2010.6387%208.40525%2010.7127%208.31348%2010.7129H7.59375C7.50178%2010.7129%207.42689%2010.6388%207.42676%2010.5469V6.30371C7.42654%206.21185%207.35168%206.1377%207.25977%206.1377H6C5.90795%206.1377%205.83301%206.06275%205.83301%205.9707V5.33301C5.83323%205.24115%205.90809%205.16699%206%205.16699H9.91406Z'%20fill='%234089FF'/%3e%3c/svg%3e",td=Object.freeze(Object.defineProperty({__proto__:null,default:ed},Symbol.toStringTag,{value:"Module"})),nd="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.9568%201.33276C11.1238%201.33276%2011.2849%201.39651%2011.408%201.50952L12.3171%202.34644L11.6404%203.08179L10.8269%202.33374H3.66675V13.6667H12.3337V3.7146L11.6433%203.08472L11.6404%203.08276L12.3171%202.34644L13.1169%203.0769C13.2546%203.20307%2013.3336%203.38138%2013.3337%203.56812V14.0007L13.3201%2014.1345C13.2578%2014.4382%2012.9888%2014.6667%2012.6667%2014.6667H3.33374L3.19897%2014.6531C2.93875%2014.5998%202.73378%2014.3947%202.68042%2014.1345L2.66675%2014.0007V2.00073C2.66675%201.67864%202.89529%201.40965%203.19897%201.34741L3.33374%201.33276H10.9568ZM6.05542%207.31616C6.12046%207.25114%206.22568%207.25122%206.29077%207.31616L6.58081%207.6062C6.64589%207.67128%206.64588%207.77646%206.58081%207.84155L6.17358%208.24976C5.73807%208.68527%205.73807%209.39139%206.17358%209.8269C6.60912%2010.2622%207.31529%2010.2624%207.75073%209.8269L8.15796%209.4187C8.22305%209.35363%208.32921%209.35362%208.39429%209.4187L8.68433%209.70874C8.74934%209.77383%208.74937%209.88%208.68433%209.94507L8.27612%2010.3523C7.55026%2011.0782%206.37308%2011.0782%205.64722%2010.3523C4.92174%209.62652%204.92177%208.45016%205.64722%207.72437L6.05542%207.31616ZM8.29468%207.21655C8.35977%207.15147%208.46592%207.15147%208.53101%207.21655L8.82104%207.50659C8.88578%207.5716%208.88575%207.67692%208.82104%207.74194L7.74194%208.82104C7.67692%208.88583%207.57163%208.8858%207.50659%208.82104L7.21655%208.53101C7.15147%208.46592%207.15147%208.35977%207.21655%208.29468L8.29468%207.21655ZM7.72339%205.64722C8.44919%204.92141%209.62642%204.92152%2010.3523%205.64722C11.0782%206.37308%2011.0782%207.55026%2010.3523%208.27612L9.94409%208.68433C9.87904%208.74897%209.77371%208.7491%209.70874%208.68433L9.4187%208.39429C9.35361%208.3292%209.35361%208.22305%209.4187%208.15796L9.8269%207.75073C10.2623%207.31533%2010.2621%206.60913%209.8269%206.17358C9.39139%205.73807%208.68527%205.73807%208.24976%206.17358L7.84155%206.58081C7.77647%206.64589%207.67129%206.64588%207.6062%206.58081L7.31616%206.29077C7.25109%206.22568%207.25108%206.1205%207.31616%206.05542L7.72339%205.64722Z'%20fill='%231998FF'/%3e%3c/svg%3e",rd=Object.freeze(Object.defineProperty({__proto__:null,default:nd},Symbol.toStringTag,{value:"Module"})),ad="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.957%201.33301C11.124%201.33307%2011.2853%201.39583%2011.4082%201.50879L12.3174%202.3457L11.6406%203.08105L10.8271%202.33301H3.66699V13.666H12.334V3.71387L11.6436%203.08398L11.6406%203.08203L12.3174%202.3457L13.1172%203.07617C13.2549%203.20229%2013.3338%203.38063%2013.334%203.56738V14L13.3203%2014.1338C13.2583%2014.4376%2012.9891%2014.6659%2012.667%2014.666H3.33398L3.19922%2014.6523C2.93884%2014.599%202.73387%2014.3942%202.68066%2014.1338L2.66699%2014V2C2.66711%201.67798%202.89556%201.40887%203.19922%201.34668L3.33398%201.33301H10.957ZM5.77832%205.83301C5.87031%205.83301%205.94933%205.8983%205.9707%205.98828L6.72852%209.2998L7.54492%205.98535C7.56627%205.89541%207.64507%205.83309%207.73535%205.83301H8.26465C8.35498%205.83305%208.43373%205.89538%208.45508%205.98535L9.27344%209.30664L10.0254%205.98828C10.0467%205.89837%2010.1259%205.83313%2010.2178%205.83301H10.8027C10.8329%205.83312%2010.8626%205.84093%2010.8896%205.85449C10.9167%205.86808%2010.9406%205.88781%2010.959%205.91211C10.9773%205.93632%2010.9901%205.96425%2010.9961%205.99414C11.0021%206.02417%2011.0008%206.05533%2010.9932%206.08496L9.77148%2010.6846C9.74853%2010.7727%209.66957%2010.8328%209.58105%2010.833H9.05859C8.96987%2010.833%208.89019%2010.7712%208.86719%2010.6846L8%207.40137L7.13281%2010.6846C7.10985%2010.7728%207.03094%2010.8328%206.94238%2010.833H6.41602C6.32739%2010.8329%206.24857%2010.7712%206.22559%2010.6846L5.00684%206.08496C4.99909%206.05533%204.99796%206.0242%205.00391%205.99414C5.00985%205.9641%205.02262%205.93543%205.04102%205.91113C5.05939%205.88697%205.08338%205.86703%205.11035%205.85352C5.13734%205.84008%205.1672%205.83306%205.19727%205.83301H5.77832Z'%20fill='%23426BFF'/%3e%3c/svg%3e",od=Object.freeze(Object.defineProperty({__proto__:null,default:ad},Symbol.toStringTag,{value:"Module"})),id="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.29%201.33008C11.457%201.33008%2011.6182%201.39298%2011.7412%201.50586L12.6504%202.34277L11.9736%203.07812L11.1602%202.33008H4V13.6631H12.667V3.71094L11.9766%203.08105L11.9736%203.0791L12.6504%202.34277L13.4502%203.07324C13.588%203.19942%2013.6669%203.37761%2013.667%203.56445V13.9971L13.6533%2014.1309C13.5912%2014.4347%2013.3222%2014.6631%2013%2014.6631H3.66699L3.53223%2014.6494C3.27204%2014.5959%203.06685%2014.3912%203.01367%2014.1309L3%2013.9971V1.99707C3%201.67508%203.22869%201.40611%203.53223%201.34375L3.66699%201.33008H11.29ZM7.36816%206.39941C7.65187%206.39959%207.84768%206.57468%207.95605%206.93066L7.52734%207.78809L7.31641%207.35938C7.24417%207.22007%207.15618%207.14756%207.04785%207.14746H6.19043C6.04599%207.14751%206.00977%207.21486%206.08203%207.35938L7.04199%209.38867C7.68737%208.10825%208.05967%207.27658%208.21973%206.93066C8.40557%206.5332%208.62233%206.39943%208.90625%206.39941H10.791C11.1471%206.39948%2011.2705%206.57449%2011.1621%206.93066C11.0536%207.287%2010.5013%208.46426%209.50488%2010.457C9.46874%2010.5241%209.41249%2010.5762%209.35059%2010.6123C9.1441%2010.731%208.88077%2010.6635%208.75684%2010.457L8.22461%209.28027L8.65332%208.42285L9.13379%209.43945L10.1504%207.35938C10.2175%207.21997%2010.1866%207.14746%2010.042%207.14746H8.97852L7.47656%2010.3535C7.43013%2010.5031%207.31627%2010.6168%207.17188%2010.6582C6.93438%2010.7253%206.68626%2010.591%206.61914%2010.3535C5.62275%208.28844%205.09083%207.1111%205.01855%206.82715C4.94645%206.54338%205.09114%206.39941%205.44727%206.39941H7.36816Z'%20fill='%23ED8E35'/%3e%3c/svg%3e",ld=Object.freeze(Object.defineProperty({__proto__:null,default:id},Symbol.toStringTag,{value:"Module"})),sd="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%202.66667C2%202.29848%202.29848%202%202.66667%202H13.3333C13.7015%202%2014%202.29848%2014%202.66667V8H2V2.66667Z'%20fill='%234DC6FF'/%3e%3cpath%20d='M2%208H14V13.3333C14%2013.7015%2013.7015%2014%2013.3333%2014H2.66667C2.29848%2014%202%2013.7015%202%2013.3333V8Z'%20fill='%234DCE84'/%3e%3crect%20x='14'%20y='6'%20width='4'%20height='12'%20transform='rotate(90%2014%206)'%20fill='%23FF5F5A'/%3e%3crect%20x='6'%20y='2'%20width='4'%20height='12'%20fill='%23FCC048'/%3e%3crect%20x='5.66667'%20y='5.66667'%20width='4.66667'%20height='4.66667'%20rx='0.666667'%20stroke='white'%20stroke-width='0.666667'/%3e%3c/svg%3e",cd=Object.freeze(Object.defineProperty({__proto__:null,default:sd},Symbol.toStringTag,{value:"Module"})),ud="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAV9SURBVHgBvVZfb1VFEJ/ZPS2l9cpFQypSEEMhUmKiYjQBoxDjm8ZoQuKjTyZ+AV9MrOAH8MlHE99rRKOvPgCSoAkalbQx1mBLLV4vpX9u2t6es7vjzOyevZdg5Y2b7N09c3Zn5jfzm9kDcJ9/uN2LZy6c/RAMfoCASFlKcoKAREb8H0Us/G89RH2v9OHc9gYvnQusDPnHU1Ajaky9jAbjGsQhijPV+6IjaVYdcTuY7QzyaT4ouyijU5k8q5hEC1JaK2KFo/ti6Kg+GWrnoID/+yUDmM9TDUxDG50Ssf5jL+SEtQGq98E9ECZDd6IGjWVUlgxjTlKMxl1nkvG+FMhWejtQ+HgzVM1Vt0n/dNfwRneZ/u6u4HK1Dl1f8ZZwV75Xqk1YDyX8tDan2iJirJVjzkZKv0jrkE7yQ5ONggsBtkJFnXIDV7bWYbnswLovMUQnE4mSKn7eMzAiijKhqAaCRIk06YAyUA2K+GDexUh88HwwkOO5Cg6dcxAghiYRNBOVCorhTXRSttZ5jZkVZmGkGmWDyWHCwAgDk8o5z4YqKitHlavQM/raWEKpFipTwe3OCiXMiD18cVYKZw71GUw8kpA0B4bhUGOUxPhiZwlLX8JDQw/S0V378NbmKsysLmTdzjr6q3UTEqJM2x71YkhrapkzZ87kN6m+YKPqwvMPH8K3Dp7AHWDB+0BvjD2L7xx+GTrdDUFPnsPsXQUyF6yzQMOzASszD8syC7JGKgySlZnlZmpqKuJlgYzABtfLLZi5vQA7i0E4vfcYPNHYiy8+MgEXFq/B9U6LwAckz1kNknLCAUyK1Sgb0rUFMTTAT1FuUR1IISXNX2osHEv4sf0HHGjsgVfGnoIju/ZBm0P5+exl4GRq1IwxylIpZKNpjQyJvYawl03IsyxNMthrj0IOPtKttuDb+Z9huNgBR3ePwdTv38GtzTVSbYxKB0UFBcRw9oWOYphl3RsSZjMxMVFTVLwUpKBM9R72jjRz8o/tPgDkHBsKrBplsHJDMhfGyICCDIfXinFUGePnZ7QxvyhhNtPT01TnUPKh2LksmoPDcOLRCbg0/wtMt+fgpf1PwrHmfkAuF84hyYye1y6gGLIcxQFjhSg5Z2JEUEUyJdIcP3481yCm6jD88Prhkyo/f+0ifPL9F+rUu0+/BlyUXHwVUOl47blgvTLTMqKovGYsZCNMquiEdJpGo5GLRq8tdn589z4YGRyCK3PXoL22RJtlF7+ZvgyvTpyEN4+8AOdnLiKzhkPMEbYVrP45D3UtZyXx4r7j+hWyFZ1OJ3ca7jBSF/Db0hx89esFuL60KCiQ80mfXvkSPvvha2QkYG0BwTA6g4IY2SPlpehlMKJD25sYDdB3pbLJ4urVq7JYYWkzukHabYQ0xIO9AMmTvhMDhlQkiqUU2uUSaalAuhQ8xXaVvj8wrrG/tQGjfG9oeOh9fvGYZaWDpoAGk6a58wHpMjAyMKTMNZaTzmetEWoYcOTpRmsR0VGqvxxZzLdwbpqxt9e3vh0dHS3Ksiz8iLfh8WE7ePRgS4mkpR0PxOqm3AkZZfIbIzyT+mhKXuh94UB6odpgfHwcWq0WFUXh7aD1uMGcCHyefTR8ynBk5ZnvK25rJCGUZ+46rMHJHGU6BK2TNMg5VlBJCcm7gLJX3Z+dnSU26tvtNrOo8J25m1tCdzEkSrjuJI9g2Sgb4YGqUHpqMqQzK48Gs+HsAGGVnJJwQq/NxW+cMcA9p5/bkBBJ7vRa096AiXlBc8j0SV0R8ydAok6ug97HaYyp1LicksF4wJ06dcrBAnhG8REqKlQE0kmUjYy2Ro0+hlU7T5LXSKFGKmdiiIkcnQXoK9nJyUkjow9tP/I8+vboOcqEvPfvX+6cfN20TwR9AAAAAElFTkSuQmCC",dd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVNSURBVHgBvVZLbxxFEK7qmXHWiR1siwNIFnmAhDAIlERw9gFx4J57jty5IIRk5Q8AF/4Cl/wJCyRuFhJInALhsQRC/Iqza292Zrr46tHrjSVzZLS93T3TXY+vvqpuov/54fM+fPTV9A5R9TkWrAoJ6c93sDAJC7GcrhYugiSEytzE5/wAW+8mOvdJWyR5lVyZa+TnlHgTUZEiGGZdJ/Yj//Pe5/lazvJlfa4+kavmhZg34U8Oz+zHc2vdbVg0c42jdy/tH69W/sNDtTuzmsfmhRtv5uogRLvXsUby6XsJu9j2cJmfq1CyzM9ctm0PkY5TGBOj4ljRSYazGxvI+GKRO5D/xbSllfGE5GAkvPuEZPco8/iEaNpDf36eYCp9NCF61hHdf2i6Qrmb5dgXQ3lmQIkhCEIr6lSXidqOZTzpeXQi9GQMoa2bp+jynAs6v7xoH4w4M6/CHTcCPy6cI1OoIq66JbpXuIfSHvzozQDhtg8a+KaiWKSAFFg6n4071jMb3wrxzKCi0B54yEsDptUlKOqFH+6RqLdtJ5yDAFzCED5NO6G9IycTG03tG4cNbEQLoOWsQjW5Sk6otWWmFoFDXHnaRY7RLBRcAtP3LMNd85yfpwwXoRxstjf17du3TZF6gMSko3Gmtmf66XeRHtYbvJJEey4CFKrs1QXQU50iuFywDpQN7TSju+pM9+7dm5miz6TN9NdeT+OTzHDQsyBn/uCGlxmosTjrOMe4qaG0ZrG+0pZinGShJm4qogZ9jb7e2NhIGtweMeuyW5bxN7hgrDDDN9+u6M0rjHgRf/sjEE1aWMx8TsjkKkF1qk4pLMKzSJfyEN8sLQClbjRaaIBeWq3ojSsJZOjk2suJ37nu9eHGqwzPRb7/JXsNgwyEnNQbl5fmCp7XmFksw4A6sDWSwVVAkPjFy4k0z9+/2fDiwlzlx/Pu68R/7DHtPQ32scOoMBHDEK5kPi+NXBJFLojT5JynIAWSXaAgUSkAXa/eE80Xf32Ojom+3u5RgZhWLhF990MLwYkM3yK/GOl5IjPS3Lp1yxfB3sUL+qZQ6HRP1N1ZW75I9OF7iSZwZYoXhSh10jE8wLyxdyCSjgthtC0vL4unhdDJM5GDceZHhz09PMj0z5HQ0+MsJ62wZwOaCU6oPhUdI0cv9om+2cf+EiYPj0MYZJlDR+rhcKigI58yHT/LfDhu6dFhpl8f9zTcy7Q/6vmkjZNAI1RVsLYhkFIwpgnYPZmqBo1f8srpRScALSeHBZPr+/cX1KBDseINxSigLYLYou+0Za+nookPSuLgoJ4zVaAJdNLfRyw1GJZPi8nsQsLlDGX31tJiY4No/2D0yeDi4qfY8AocoEHDtDRIdBmxUrYudlAEIxJIoTLrJpHyQ4vAn487TlkPVgluBLBW4kt6zOxgBmmaneFwYbl+azB4Ya0ZpaVmIV2qF29+9jPY6/nq9ordnwwYVQyNCWyAn5QaZymnucvT7Nzlsl9KHq431/PweNSmapCrBeq7BYSHKiCYgtUeP8kclT9Kda5EEzDqBUc+u54o2XbrsNPDa2+9s7MDQF7L6+uTdnhcy9pot9+Xjtf6ZDGbFYwcSg2p5PPk156gcOTc/NWkpGI5pcLDzc31fnt7G9+Gsm/L1vGhOQQaK3qCGPtIJSc/EoNAqowC3tDjmEfyc7mu2W1PlacHCRZnKFOSoa5Qt7m5idNv2IF2H2Pdb0gCi16FspsyQM7gp1Q6VqZSjeOngrwKErQZgZBiPsb5qnXavvEBytbd4rnRdmtrK2kjv82leJ/Otrk17GyQc2/wZ59/AcalYkfFCITdAAAAAElFTkSuQmCC",fd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVbSURBVHgBvVbLblxFED3V9854bEfEeeBEJkROogjhSCDFC7Zs2LMJ66z4AhaIjZUfgB2ssgYpC8QfZEeQiJBATAIisUGJE5yH7Tjj8X10F1Xd1deTSAZWGann9vSd7lNV51RVA6/4Qwe9eHb1q8vk6HMwjuhv5vgN5xzLh+KP/zrH9oBIxyp5XDkQ8PnVL1flv4vpNOIAFnwyXCZdU5gILuuYfE5iGp59tsqDAMmHRVIAPVx2uMC6kWwt2YHOtbQeFIzzSnIOHA2O5wBzBwMG3RgUQ+1MRrJOOJo9YYyFWM3K68hoKQiByYDxL4De7OcUEk54McDp4OQdmzGIjkvYxUye2GPTiNgZznxZvr5A08yhGjPv7BC2tzk8e0bYGwNtK1jhJW5k/94euG3BD9bZFs2KzOlLHMo8e7gib+bkUMDLaD37vTFhPAaPnoObmpI+Ep/I+hMjaDAtfPsU2hQGYzCGVr8py1m3lha3RVuK8WYJp3DIdP48uTfehP/xB/i1u0miFJ2LhMWDQpD/ynDO3E5y4cR/JC9xGvnoAHOYSL0M3oN9S+Wx4wgbG8CRYwi/3VKCOLBRlzOx14Pf2rRVJTjqxdQ6AWcvXgDUiRIOFUzbsHBKNDeHsL2lYY071STLtXi4a/u8u7GeEgP7XBlgNi1JTWbu0qVLLwpBmZAQhbZRy0H9PtpHD+GbGr6tEYRP8Z5Z3nMjQ6IRjDrOjmQns4CSduLr8tq1axYM0lIim4McGAHJjXZSXCRsCgBXxDwLpsBYgdo2VRhYEiLjmc5cTAjOIXXZbw2TJbCqD0pWefoMtev30H/nItzR47LmRR+aHpT0Z2VMGNc6F2udjmBJykm6KZMtGTOH2UqVacQvT50Gzcxi9O03GFx8DzMffkTN2h/GBlG7dgfN2l3LApf42a9r5lIWTKaWyC0tLWUCk88W8d6Zc2j+WkX/rSX0FHxqSuYX0Fs8B/SnMHj/g0xNdEy/vMZYabF6mHh0MWrqtSKUw+Ewpyorf9Qr5dCzAjBAeXIBKArsfn8d/tHfKOZPYurtd8WYs6hu/QLvGxVQKliq2FS/ctpkPjvxqJDL5eXlzkMVRSFc6eYw2sH2d1+jfSJ5WFUc4/HwHo9/vilxcUlM+vSDeHBhVazrf1bBmZI1ynhALm2aCjKchCoXvt2fbsDvSllra1FiRVnzTpM/isDFc4q6ws7Gr9G79A9rRlkbmGBV3pTj8dgSRfBDUlJ15zZqSeaYi5L8UgCsBzIpF6RgUQMO1NbUShF3ia1c9KjzzoqANTkqMRzqqy2pLnPt8y20Tx9Loj8QMOEmpBEkHbTkWStQWHNF8vXxBnMTdMWqTcjSs/LHXYeKiX9BVDp6+vTT6Znpz+Tk09FIKcSFiIZnDsV8pEEdi3THjXiWCrfn3fv3ietghuz3Be6yVDeF/U4ladFfLp/05o8enl4Y9acHZZjqzQS33NDtmORWf50y47p2HrXhjDOHNC+cGhJMN9bQ9oUa5+UFs2lvd8RuULRNqMj5vguNT+0oNSGEeLuw61pXqLW4cO4PEla2/3Pu7d1FhNMNA+Wj4TC8fupU6M3O1huHGf09ucxhU94cQlSiAVpAKDdDuzCkQmlXOGf1xPrOxLb9C2N5XSYfnzjRrq+vE540tWQhtl7zLsyGbTngsBQDFFaw7dwkIOMz3ZQSAJunE0BmGMhiu+pWVlbC5s2b4cHCQnNj/nE1PT9f/R42KxHnJ1T7Pwtpi6g8ObnWQNRIIhBqZMSnnN+KqhrPQX6LWqHPUMm8TiOoglVUTdiUcQWcm6k8pTcWOkwDuZO4l4cYOfk+U/u/Pv8AUhuD27A+V7IAAAAASUVORK5CYII=",md="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfnSURBVHgB7VhdbFxHFT5n5t7d63XWJnYc167Jj5u2wklDGlciVCJsKUKRAuoLFvAQflRQUQNURZWQ4KHNC1KQihp4QFRFiEgIlaiVEBWPlYUoVUvskASHiqaNg62k+bE39np/7r0zczgzd3e9dt24uwkv1R5rfOfOvXfm+86cv1mAtrSlLW1pS1va0paWBaF1afyWap33vvfIfZJKnwLyR0FSb+/WXT76pRmNdNLo1L9STz43CbdRsJnn1NB/puHZg4e+0DHSCY8GKA8ZjB8gfoL8MqGAzXcNA6KsT0cCzyiEY6/NnT3+0JFxBbcouN740w39navfHwPYd8fDD3ao1DHW8P0ImkEb93mdwDATEAKW6SdTkPDfQYNfxief+yfcZgK1MWTwcI6vI7kcj41Dju/Hr4KAnSPuyWO9B75FwvxcAGUIE9AWqJuAyGob+rfvABCYzIrucX0BploBKX8of/DLX8FtIuDurdZrwOdnZ+WNTMGrKIOpSIvaiz/aP/rtnjQ8aywMcOp2jXkwQ0uC//PbA8N3g+ErCh6zz1ctaIkblN/xnvjFC3CbCDjN53I58TuY9gZ3fL770OHDn2AzCKIoEqK8kElfmb47/faZHwsyG4isSjWgIat0VrZ2k4TzefAqRRjYvhVQsg8Iw5QQ1tp0AlHUOn3Af+rZv8EtEKhr39r61NiIfG3icsfxV089PLB16zZjDEIcynjm/BZz4a39VJi7V2uTMloxeLZ9wztBtm+ANO8LGci/OQ5DO+4CKTy3AwI/iIB1bjEpgvAz+NjzJWhCROONAz8G2Mems/j6ogw85bONZhgObwD/LxcCfe3KkCot3qGU9kmxtpViwDE3DiixBsMNeEzwX+SIWMew5IzbobW1yOSM2RtHmUehSakRwPrcJwD+UxjHrn6NJgo8o5TdfwKLby6fVYvXh0jIbggCpCAAzZEGDQM2muzVNsOEtIrBbooxycy0bsQm8JT6OrRIgGrT9+UAN5ZHsNhrUFN9WLP5GFq41o1LC73ZA19JdX3xG9D9yDfhY2PfBbFnP1AUIcUMOo74bcMaoWRSShzVESDhgqnBhgUbCCCoB8JjT+2CFgg0TJdzAX971IvpwO5uZMNMFJfLQItzXapczlpTXnz1Fci/8FMo/PXP0Ln700B9g2xGOgHPO4BsUmw0kCS1xPbJsamF2dVQ0MGRUNwHLRBw051zs4zDhqUIl7o0pilARWhjZ2jCElGxkIGokkoSleJKwUD89jnnvNDZxQRY+yoCo0Jw/lEFRjW0VUNFukkGjYNRaIFAPeNm70mum8Aqk9gSFOuVVRrHOqoseXGlLKxTcuyG0E9Dau8+BiQhunSBuYVsaRWI+RqFJdBW24YSwCaJUFj16Q9qHKl6oQnxap0jrMc/8joTEwCprMJilZBSRkuQYbkcqahY1NFS0YX+roe+xEnrIET5G/Dey7+B8MK7YHkmYZWRBBHk52/A1OQkBEKC+6i6F/WiotqhhkSNJvChCfFW3HFtM8o4CtsA3pg12GFfwFiB1qiEKcdKlSrlio0tMPPib6Fy7u8uZLrY70IOh1HWNCjWOvsCKG420yblkQMuquaz7OANRFwrzkATstKJTyQ309MAGZ+XynDoNMjGLkP0PN4Ub96YuGwRCQ6TIorARh6KYqI46XPwZx+osPnFDnyCrOq8BMs70OgW1WYLDc4bJ6EFAitiQn+HR+VFSVEFSbDyeSgKunsKXpC+xEvkdaFA2tp4rFwC44bWaY0No+zEdgyjuK6XhiyzjnBCE6mz0IR4qwcK2UYyZdBCOwIy5UfYvfG/nhdc/PfPfrLFD8sZDhkubFq7J6NcCQH2deu4ouaZrCN28pWxE9cErxHP7H3p5CloQlaUElPVFZYupqiUnyctORmHoSPgbegs+4P3zIqg46yvy9c5axlnPsq2yPmCbXYn7A4YDqm1KjpJWtWq9WZizDFoUsTqgfFxcIlscNgzMvbU+dNTJYhLzro7hu6c97LZKTJiOg6VotDafcjArekkTdtIxGMCjauHkgVMdfa1izlw1PD8n/Ibj0OTUj+8WN08U61E86OjIpWdk68XRPpSYWHD58a+NrCwWPEkxbLTUKq/cGVkKF46iqQ7XdGfOB9IexawDmuM2wGfE10ak/PMGrqqAnerV3w/tW/Xi2+ehhYJ1PpocwGbEg6OAl4aGPArlzv8q6aUwpLvi7QRNrn53A4O93+1B81Ri2v5JEbuGCltY/CWkO2/f6ll8CLh9vgnXzrV0qlMrh6wh0XeBXj3Xr7ObqHunsh0dvXoXl/EPYRx50YR3dfphfMlf3Kgi64FUuz3kYMsI/FY1Z4DzZWlO5Mlu5Ngfz8B5lZk1z285+XTz0OLctMj5eM5wGwB8OrmHU5Rb92oiKEhTrJlXf/uTuzbzch/zwXbcK1ormnWxvXqSbMhklIyLnASQnxizysTTZ/CGkWuRSDH1z6+/mUaIM87Qfl5WCzOU//SEMHmNM2GkjZRiq6VBJyX+nIm9H6d9uVF/nqbBOx3SQmXCdQmtiW2EfQPrrCOzmyS3//sHybegVuUm/0qUS/waj+nWN9wP01UxXbHq1eo9g9m99zvS72TrWrUKP1x9oNYo7wuJU3w2fiN3ScmmkpUrRBYMU7Vm6dh3SNVXY4sf1r/HtZNAq3JhwX1ocGvkv8L6La0pS1taUtbPjLyPy268QDdSiqgAAAAAElFTkSuQmCC",vd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAATKSURBVHgBvVZLbxxFEK7qmXViW7acYA6WIsHBUiRLnCzuBq5cfedXcEHCPC7cOPET4JYfgbghTAQHC4EvCBwrD7/iXXsz092VevXMrGUnOWWk3pme6a6vvqqvqhfgLV9404ePfzz6KgN+GRCRiAY7kICIf4D4k73jObwWSczkb25c+NFPJ1kMidFMahEVzAEE0D3GGSdeQUKucOMXNzDDTt75XAx3xjswoQHXsns9YPF+cC+sZoz43dYQYMAZSN0zCPkrAa9zoAMfMJ1x4AanBynQzZ9xnr6/jLAyboieTBI+Gmd6zPfnU4IpZzPnWWEI3vOG4KIF+ONZIqDeXsnpdQ7Uft/h9SuyJ2aAhgEmLzKDZTjhcdkSJjAjnKc+tDxfnQ9FpTTwxtLpTqA7KA+1e/W+82flZsw5q1ooE6SUMTGBDIbUKRJVkWCBFGuhxNkE5KDlndqGHtCuTKqyHiiTjsjPto1EF+qxc0ps4WLMcbe5lqYuUUoFvEAOANGtcS4lYXBvuablOcBxG6CN7IBr5HgS4Z+jBsq+NAI6fnomZJDUyjC2AD0hQ6i3t7cByiKlx6DM8P67I3xn8TZcvf5+8gL++mVqomBTKXEoc+7k6BS7UFiJlrBbdGoOc8sYdMFqORq3+OisgYOTBp5NIt27M4effnAHHjw8oYcHF+rYySR78SHdXajwwe/HpSbVCQmSMbNUK/6VkEpqrYuQMW2bCOfjKTbz5t/ltMHTs0ugEHhJRRCC5lzZ5IRB3mcoTJ0vWUYH5VoAxTdTH+9imfKIUKVIyMZkYUg8z5ESb1HXlYbRCaSCA0ukdzsglxiUUtF99cbGhs9dxhKCnLggI4TYMtDIosXvQttgqthk0KOCkdDzXihk9juIK4heMKiRE2DzpN7b2/N0lO5QjGQNVakjrhFWCDOnhCmwUUxiGygilI5dsSfUdRgqpWFtXb1ArDc3NzvG/l33iFJTTGzfQirNIMbEcBFzhRorwopozmtOmOVSclA6nYoGrQ/wmwz10tJSJ1s9a3mTGOd0QW4j5JTtK99T02KsghBHSw6DzxGc/fuYbVfFBuTuaPQm0Zck1efn5yUE0tfsOZMykpb2658H8PNv/xNnFBLWmGJEqiRbQZOXYsA0nYImlN+pbrQIgpVEd0CiiWZ3d1dmpzxWuvNUQ2gNgDucMJWMQQ7MHBKIX9xxdfHT4wvi3mddJthhaHVo3LzQurarpwWz/HxhYfELfvtezT+36gCLtypYnh9BbkZwe8TtTfwNNbTIW6pac9Qmov8Ojhg9qk3u++CNxsgNjsDS09FBKx96IN9fXcXTD787q1iCtfoup0XFgkGMWUIb/OBAOyXUZgAp/uyc0LREs4AZleH6+jrs7+/T2toap47dZGWKMpIcSh4cDiVGCpoR8nBqyeuz5Y7PFehThl78vYAK3cJO3WRQPDw8hLuf/DCpgme0dBUJmwfGXA/OUubhyknhM8K+2/CknPjZw5kFTPlLaVB/pnrdaseQErH/pCIiyZuEOBljz1NXj11PNcQg57oDJimsra0tuSfMzbeRu4uWh3YcNp5abrFROlA3RMrcHHjwnxsfvA7IBxcv2rMcqunrIX/c2dkJMpxtr4YrY7DG5P4m/7z9egkURHiCa3UU2QAAAABJRU5ErkJggg==",gd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVZSURBVHgBvVbNbhxFEK7qmdm1ndhZm40D5M9STCL5BFiIq+EJuPiAxIGn4IKE+XkAngIE8gPkCDxAIKDIUsBEjmMR23H8u/aud7urqKrumd1FdsIpu+rtmZ7p+urnq68X4BV/8LwHH373/EsC/MIhIjMP7EAGZvkBlkdxTe7hpUhqhr4+98UPvt8jNaRGic0iGlgCUMDkMQ458YIg9OPOfZIMDEWna+leDVfGKzANA86M7uWApfcDcxnVkJE0x3cY0OEQpO0ZSPkLAc9yoAIfiHTIgXOcHiiBbf5U6vRt20Oj1WXePg74T4t4S+bDDkNHqkk0TAzFO+wynPQAft8JDNy3V9b0LAfyNC/J+w3d4wmgKwDHpyRgBHsy2j3GANGI1KmfWrlvjrqSpTzgTSxncgKTg3qRJ69mUvzCXEIiMrYwMYRAGCQAgohUMRKNkRATqdZcmedIoARarplt6APGD7GxrA9EbMPLddzGygvzOMUUxMJJS/Ie76017RULqQQvIQcA9T4XJy/UUJgkEQmQ9wHuTGWYYQ6/PT3ldo+Mc+/fGMHdE8K/dk4hFMC7zw40GGSzMpjblDeACtEtLi6aMxp5ngFMjWUwmkmzS1oFFD555xJ8/PYE3GpkEHoB3rzoUNfeu1qDIA5JBiQzOgROhwZGEO/VMKn3OlizA255eblKgg/Rt4kRByRpvHEpckoju/1aYQ5cHc/spfsbJ3IvZfYeXQSJqUve2zUhOyUaa+yskgX53Nyc9qLUirEj9BwpnKTVmedzr0vqjr1Qn2D2ch2p5+HqRHTiz81TZqkzkBSAAjqnc9V4qf04BjPQri5yhVH1sic90ekGGB/JQOt3bbKAJ7un8HCzDdcna1DPkW9fqdt9q91DATSCOY4pNIT0tUhjGuM3goDr3ryJxkphqGSI2xJlITW81ihgeryA++stuPf3kXn31lSO1yfrsP78NBqjmD9ITBRDmGhuDaExOa2W9pS2ifJk9e5djg0oGQoB9zoeJi8WMDs9aiAPN1q81+pZPj56t2lrvz464tCV2im55JGjaD2TXuRKYbhsjSjrbMcZag2T7KqDIKkKSh68dWUUNnY6sL1zjMc95pWNI5y5fMFMPXh8IMYVQSjhXdyt9KCy5aBUOtMHjDpglM2np6cpiYwxtedFP0Ugp8ZrAtjWWjJ1Az5YO4S5a+Owsn4E1JWwMqcsRO46OHi8JbuzqvOpOhqTSPRbkvPt7W091AFL2ZXHv/yxBY82TwxQmInSIvzDT+vw48/rxsbcwBxjpu3j0bc72tJixLEJgCmA4xgZQ7/xAfOVlRV9dV9QG5omTZAzt8jyIlQU/ZJQtLlNsShGozmStWd7Xorvo8o4V7ZiWbxS6CvZzefn57nVan1W1Mc+zzO8WRN9G6vnMDFWwOSFYHQfqwVQUXApDUWWgdhWAeGNp/ty4c2m6D5g4oMFN3AElpqOScCzZvNOrTsyU4SiXtBEIx97Y+EJKb0xHRJKgJiuUoftgIg/cWi6KcWEUb95GJDQZGN2dhZWV/dpamrf48UmB96U1HvEakfU9xAiE2xBLyiTNwJaflH7OkC/ZHa0IAwQCFJ0vLq6yjMzM2Ft7QibLueDlg+Npre0WUeVwBj1uGSYCGhSLe1tN3RSlOdV+h/HZW+WJz6tra3p7Hd2dJqXDg4qGEYSVHm2A9WxPBD+METttONRn8scIIocV62AfeDyzNVuNcklOaaCAi4sLAgD7nlH3W8oeDt6ZEZVBQ491DURayhnea4SJUP+3KRBMjgNCF2M115P9a+gahIZS0tLTkfFgrju/jsG3ol0/z//vNPnXykvrFYTHUlOAAAAAElFTkSuQmCC",hd=Object.assign({}),pd=Object.assign({}),bd=Object.assign({"./rag/csv.svg":Lu,"./rag/document.svg":Eu,"./rag/excel.svg":Nu,"./rag/file.svg":Ou,"./rag/folder.svg":Fu,"./rag/json.svg":Vu,"./rag/knowledgebase.svg":Bu,"./rag/netretrive.svg":Yu,"./rag/odf.svg":Wu,"./rag/pdf.svg":Uu,"./rag/pic.svg":Gu,"./rag/ppt.svg":Ku,"./rag/think.svg":Ju,"./rag/txt.svg":td,"./rag/url.svg":rd,"./rag/word.svg":od,"./rag/wps.svg":ld,"./rag/zip.svg":cd}),Cd=Object.assign({"./assets/img/excel.png":ud,"./assets/img/img.png":dd,"./assets/img/pdf.png":fd,"./assets/img/ppt.png":md,"./assets/img/txt.png":vd,"./assets/img/word.png":gd}),xd=Object.assign({"./rag/csv.svg":Ai,"./rag/document.svg":Ni,"./rag/excel.svg":Hi,"./rag/file.svg":Oi,"./rag/folder.svg":Ri,"./rag/json.svg":Fi,"./rag/knowledgebase.svg":Ti,"./rag/netretrive.svg":Vi,"./rag/odf.svg":zi,"./rag/pdf.svg":Bi,"./rag/pic.svg":ji,"./rag/ppt.svg":Yi,"./rag/think.svg":_i,"./rag/txt.svg":Wi,"./rag/url.svg":Zi,"./rag/word.svg":Ui,"./rag/wps.svg":qi,"./rag/zip.svg":Gi});function Xi(e,t,n){let r=e;for(let a=0;a<t.length-1;a+=1){const o=t[a];(!r[o]||typeof r[o]!="object")&&(r[o]={}),r=r[o]}r[t[t.length-1]]=n}function Ca(e,t){return e.replace(/^\.\//,"").split("?")[0].replace(new RegExp(`\\.${t}$`,"i"),"").split("/")}const Qn={};function xa(e){Object.entries(e).forEach(([t,n])=>{let r;const a=n;if(a&&typeof a.ReactComponent=="function")r=a.ReactComponent;else if(a&&typeof a.default=="function")r=a.default;else return;const o=Xn(r),s=Ca(t,"svg");o.displayName=`Icon(${s.join("/")})`,Xi(Qn,s,o)})}xa(hd);xa(pd);xa(bd);Object.entries(Cd).forEach(([e,t])=>{const n=Xn(a=>k("img",{src:t,alt:"",...a})),r=Ca(e,"png");n.displayName=`IconImg(${r.join("/")})`,Xi(Qn,r,n)});Object.entries(xd).forEach(([e,t])=>{const n=Ca(e,"svg");let r=Qn;for(let s=0;s<n.length;s+=1){const c=n[s];r[c]||(r[c]={}),r=r[c]}if(typeof r=="function")return;const a=Xn(s=>k("img",{src:t,alt:"",...s}));a.displayName=`IconSvgUrl(${n.join("/")})`;let o=Qn;for(let s=0;s<n.length-1;s+=1){const c=n[s];(!o[c]||typeof o[c]!="object")&&(o[c]={}),o=o[c]}o[n[n.length-1]]=a});export{D0 as C,Nt as F,Id as I,Kt as J,yn as R,ki as T,P0 as U,Ii as V,Ro as a,Aa as b,mt as d,au as e,$d as i,Jl as l,Md as m,Xl as s};