1"use strict";(self.webpackChunk_guuru_partner_portal||=[]).push([[3705],{65754:(e,t,o)=>{var n=o(14041),r=o(42831),i=o(35342);const a=n.createContext({labelAlign:"right",layout:"horizontal",itemRef:()=>{}}),l=n.createContext(null),s=n.createContext({prefixCls:""}),c=n.createContext({}),d=n.createContext(void 0);o.d(t,["$W",0,c,"Op",0,e=>{const t=(0,i.cJ)(e,["prefixCls"]);return n.createElement(r.Op,{...t})},"Pp",0,d,"XB",0,({children:e,status:t,override:o})=>{const r=n.useContext(c),i=n.useMemo(()=>{const e={...r};return o&&delete e.isFormItemInput,t&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[t,o,r]);return n.createElement(c.Provider,{value:i},e)},"cK",0,a,"hb",0,s,"jC",0,l])},28475:(e,t,o)=>{o.d(t,{A:()=>m,H:()=>c});var n=o(14041),r=o(42831),i=o(35342),a=o(62501),l=o(35018),s=o(64573);function c(e){return(0,s.$r)(e).join("_")}function d(e,t){const o=t.getFieldInstance(e),n=(0,i.rb)(o);if(n)return n;const r=(0,s.kV)((0,s.$r)(e),t.__INTERNAL__.name);return r?document.getElementById(r):void 0}function m(e){const[t]=(0,r.mN)(),o=n.useRef({}),i=n.useMemo(()=>e??{...t,__INTERNAL__:{itemRef:e=>t=>{const n=c(e);t?o.current[n]=t:delete o.current[n]}},scrollToField:(e,t={})=>{const{focus:o,...n}=t,r=d(e,i);r&&((0,a.A)(r,{scrollMode:"if-needed",block:"nearest",...n}),o&&i.focusField(e))},focusField:e=>{const t=i.getFieldInstance(e);(0,l.Tn)(t?.focus)?t.focus():d(e,i)?.focus?.()},getFieldInstance:e=>{const t=c(e);return o.current[t]}},[e,t]);return[i]}},64719:(e,t,o)=>{var n=o(14041),r=o(9642),i=o(65754);o.d(t,["A",0,(e,t,o,a)=>{const l=n.useContext(r.QO),{variant:s,[e]:c}=l,d=n.useContext(i.Pp),m=a?l[a]:void 0,u=c?.variant??m?.variant,p=void 0!==t||!1===o||void 0!==d||void 0!==u||void 0!==s;let g;return g=void 0!==t?t:!1===o?"borderless":d??u??s??"outlined",[g,r.lJ.includes(g),p]}])},64573:(e,t,o)=>{o.d(t,{$r:()=>i,BS:()=>l,kV:()=>a});const n=["parentNode"],r="form_item";function i(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function a(e,t){if(!e.length)return;const o=e.join("_");return t?`${t}_${o}`:n.includes(o)?`${r}_${o}`:o}function l(e,t,o,n,r,i){let a=n;return void 0!==i?a=i:o.validating?a="validating":e.length?a="error":t.length?a="warning":(o.touched||r&&o.validated)&&(a="success"),a}},14796:(e,t,o)=>{const n=(0,o(14041).createContext)(void 0);o.d(t,["A",0,n])},18384:(e,t,o)=>{const n=(0,o(14041).createContext)({});o.d(t,["A",0,n])},97497:(e,t,o)=>{var n=o(14041),r=o(35342),i=o(24838),a=o(35018),l=o(41250),s=o(9642),c=o(32257),d=o(18384),m=o(23281);function u(e){return"auto"===e?"1 1 auto":(0,a.Et)(e)?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const p=n.forwardRef((e,t)=>{const{getPrefixCls:o,direction:p}=n.useContext(s.QO),{gutter:g,wrap:h}=n.useContext(d.A),{prefixCls:f,span:$,order:b,offset:v,push:x,pull:y,className:C,children:S,flex:k,style:w,...E}=e,A=o("col",f),z=o(),[I,B]=(0,m.xV)(A),[N]=(0,c.PN)(z,"col"),M={};let T={};l.Gl.forEach(t=>{let o={};const n=e[t];(0,a.Et)(n)?o.span=n:(0,a.Qd)(n)&&(o=n||{}),delete E[t],T={...T,[`${A}-${t}-${o.span}`]:(0,r.R)(o.span),[`${A}-${t}-order-${o.order}`]:o.order||0===o.order,[`${A}-${t}-offset-${o.offset}`]:o.offset||0===o.offset,[`${A}-${t}-push-${o.push}`]:o.push||0===o.push,[`${A}-${t}-pull-${o.pull}`]:o.pull||0===o.pull,[`${A}-rtl`]:"rtl"===p},(o.flex||0===o.flex)&&(T[`${A}-${t}-flex`]=!0,M[N(`${t}-flex`)]=u(o.flex))});const P=(0,i.$)(A,{[`${A}-${$}`]:void 0!==$,[`${A}-order-${b}`]:b,[`${A}-offset-${v}`]:v,[`${A}-push-${x}`]:x,[`${A}-pull-${y}`]:y},C,T,I,B),R={};if(g?.[0]){const e=(0,a.Et)(g[0])?g[0]/2+"px":`calc(${g[0]} / 2)`;R.paddingInline=e}return(k||0===k)&&(R.flex=u(k),!1!==h||R.minWidth||(R.minWidth=0)),n.createElement("div",{...E,style:{...R,...w,...M},className:P,ref:t},S)});o.d(t,["A",0,p])},20728:(e,t,o)=>{var n=o(14041),r=o(35342),i=o(83732),a=o(41250);o.d(t,["A",0,function(e=!0,t={}){const o=(0,n.useRef)(t),[,l]=(0,i.C)(),s=(0,a.Ay)();return(0,r.Nf)(()=>{const t=s.subscribe(t=>{o.current=t,e&&l()});return()=>s.unsubscribe(t)},[e]),o.current}])},23281:(e,t,o)=>{var n=o(86285),r=o(18764),i=o(32257);const a=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},l=(e,t)=>
1((e,t)=>{const{componentCls:o,gridColumns:n,antCls:r}=e,[a,l]=(0,i.PN)(r,"grid"),[,s]=(0,i.PN)(r,"col"),c={};for(let e=n;e>=0;e--)0===e?(c[`${o}${t}-${e}`]={display:"none"},c[`${o}-push-${e}`]={insetInlineStart:"auto"},c[`${o}-pull-${e}`]={insetInlineEnd:"auto"},c[`${o}${t}-push-${e}`]={insetInlineStart:"auto"},c[`${o}${t}-pull-${e}`]={insetInlineEnd:"auto"},c[`${o}${t}-offset-${e}`]={marginInlineStart:0},c[`${o}${t}-order-${e}`]={order:0}):(c[`${o}${t}-${e}`]=[{[a("display")]:"block",display:"block"},{display:l("display"),flex:`0 0 ${e/n*100}%`,maxWidth:e/n*100+"%"}],c[`${o}${t}-push-${e}`]={insetInlineStart:e/n*100+"%"},c[`${o}${t}-pull-${e}`]={insetInlineEnd:e/n*100+"%"},c[`${o}${t}-offset-${e}`]={marginInlineStart:e/n*100+"%"},c[`${o}${t}-order-${e}`]={order:e});return c[`${o}${t}-flex`]={flex:s(`${t.replace(/-/,"")}-flex`)},c})(e,t),s=(0,i.OF)("Grid",e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},()=>({})),c=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin}),d=(0,i.OF)("Grid",e=>{const t=(0,r.oX)(e,{gridColumns:24}),o=c(t);return delete o.xs,[a(t),l(t,""),l(t,"-xs"),Object.keys(o).map(e=>((e,t,o)=>({[`@media (min-width: ${(0,n.zA)(t)})`]:{...l(e,o)}}))(t,o[e],`-${e}`)).reduce((e,t)=>({...e,...t}),{})]},()=>({}));o.d(t,["L3",0,s,"i4",0,c,"xV",0,d])},40342:(e,t,o)=>{o.r(t),o.d(t,{Affix:()=>n.A,Alert:()=>r.A,Anchor:()=>i.A,App:()=>a.A,AutoComplete:()=>l.A,Avatar:()=>s.A,BackTop:()=>c.A,Badge:()=>d.A,BorderBeam:()=>m.A,Breadcrumb:()=>u.A,Button:()=>p.A,Calendar:()=>g.A,Card:()=>h.A,Carousel:()=>f.A,Cascader:()=>$.A,Checkbox:()=>b.A,Col:()=>v.A,Collapse:()=>x.A,ColorPicker:()=>y.A,ConfigProvider:()=>C.Ay,DatePicker:()=>S.A,Descriptions:()=>k.A,Divider:()=>w.A,Drawer:()=>E.A,Dropdown:()=>A.A,Empty:()=>z.A,Flex:()=>I.A,FloatButton:()=>he,Form:()=>St,Grid:()=>kt,Image:()=>eo,Input:()=>Mo,InputNumber:()=>To.A,Layout:()=>jo,List:()=>qn,Listy:()=>Vn,Masonry:()=>er,Mentions:()=>pr,Menu:()=>gr.A,Modal:()=>Mr.A,Pagination:()=>fn,Popconfirm:()=>ni,Popover:()=>Kr.A,Progress:()=>ri.A,QRCode:()=>mi,Radio:()=>fi,Rate:()=>Si,Result:()=>Pi,Row:()=>Ri,Segmented:()=>Hi.A,Select:()=>Zo.A,Skeleton:()=>Fi.A,Slider:()=>Di.A,Space:()=>me.A,Spin:()=>Mn,Splitter:()=>ea,Statistic:()=>da,Steps:()=>La,Switch:()=>Qa,Table:()=>Os,Tabs:()=>Xs.A,Tag:()=>lc,TimePicker:()=>Bc,Timeline:()=>Fc,Tooltip:()=>j.A,Tour:()=>Kc,Transfer:()=>vd,Tree:()=>Wl,TreeSelect:()=>zd,Typography:()=>um,Upload:()=>pm.A,Watermark:()=>Am,message:()=>Nr,notification:()=>Gr,theme:()=>Sc,unstableSetRender:()=>zm,version:()=>gm.A});var n=o(41180),r=o(67450),i=o(33706),a=o(68072),l=o(62989),s=o(35510),c=o(17893),d=o(51443),m=o(8376),u=o(65927),p=o(76363),g=o(96537),h=o(68302),f=o(99688),$=o(60731),b=o(52029),v=o(61747),x=o(63453),y=o(15554),C=o(40569),S=o(43570),k=o(99968),w=o(55843),E=o(23405),A=o(83942),z=o(48130),I=o(72073),B=o(14041),N=o(11356),M=o(96898),T=o(35342),P=o(24838),R=o(66502),H=o(9642),F=o(32257);const D=B.createContext(null);var L=o(27821),W=o(21049),O=o(7010),X=o(35753),_=o(6493),q=o(50509),j=o(38010),G=o(21137),K=o(18764),V=o(86285);const Q=e=>{const{componentCls:t,floatButtonSize:o,iconCls:n,antCls:r,floatButtonIconSize:i}=e,[a,l]=(0,F.PN)(r,"float-btn"),[,s]=(0,F.PN)(r,"btn"),c=t=>[`linear-gradient(${t}, ${t})`,`conic-gradient(${e.colorPrimary} ${l("progress","0turn")}, ${e.colorBorderSecondary} 0)`].join(", "),d=`${t}-badge`,m=Math.SQRT2,u=(m-1)/m,p=e.calc(e.borderRadius).mul(u).equal(),g=e.calc(e.controlHeight).div(2).mul(u).equal();return{[t]:[{[a("size")]:(0,V.zA)(o)},{flexDirection:"column",margin:0,padding:`${(0,V.zA)(e.paddingXXS)} 0`,width:l("size"),minHeight:l("size"),height:"auto",wordBreak:"break-word",whiteSpace:"normal",gap:e.calc(e.paddingXXS).div(2).equal(),"&-rtl":{direction:"rtl"},[`&${t}-individual`]:{position:"fixed",zIndex:e.zIndexPopupBase,insetInlineEnd:e.floatButtonInsetInlineEnd,bottom:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary},[`&${t}-pure`]:{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-icon`]:{lineHeight:1},[`&${r}-btn${t}-progress`]:{borderWidth:(0,V.zA)(e.lineWidthBold),borderColor:"transparent",backgroundImage:c(s("bg-color")),backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",[`&:not(:disabled):not(${r}-btn-disabled)`]:{"&:hover":{borderColor:"transparent",backgroundImage:c(s("bg-color-hover"))},"&:active":{borderColor:"transparent",backgroundImage:c(s("bg-color-active"))}},[`&:disabled, &${r}-btn-disabled`]:{borderColor:"transparent",backgroundImage:c(s("bg-color-disabled"))}},[`&${t}-icon-only`]:{[n]:{fontSize:i}},[`${t}-content`]:{fontSize:e.fontSizeSM},[d]:{position:"absolute",top:0,insetInlineEnd:0,[`&:not(${d}-dot)`]:{transform:"translate(50%, -50%)"}},[`&-rtl ${d}
1:not(${d}-dot)`]:{transform:"translate(-50%, -50%)"},"&-square":{[`${d}-dot`]:{marginTop:p,marginInlineEnd:p}},"&-circle":{[d]:{marginTop:g,marginInlineEnd:g}}}]}};var Y=o(48408);const U=e=>{const{componentCls:t,antCls:o,floatButtonSize:n,padding:r}=e,i=`${t}-group`,a=`${i}-list`,[l,s]=(0,F.PN)(o,"float-btn"),c=(0,V.zA)(e.calc(r).mul(-1).equal());return{[i]:[{[l("list-transform-start")]:`translate(0,${(0,V.zA)(n)})`,[l("list-trigger-offset")]:`calc(${(0,V.zA)(n)} + ${(0,V.zA)(r)})`},{...(0,Y.dF)(e),position:"fixed",zIndex:e.zIndexPopupBase,insetInlineEnd:e.floatButtonInsetInlineEnd,bottom:e.floatButtonInsetBlockEnd,gap:r,"&-rtl":{direction:"rtl"},[`&${t}-pure`]:{position:"relative",inset:"auto"},[t]:{position:"relative",inset:"auto"}},{[`&:not(${i}-individual) ${a}`]:{boxShadow:e.boxShadowSecondary},[`&${i}-individual ${a}`]:{gap:r},[`&-menu-mode ${a}`]:{position:"absolute","&::after":{content:'""',position:"absolute",inset:0}},[a]:{borderRadius:e.borderRadiusLG,"&-motion":{transition:`all ${e.motionDurationSlow}`,"&-enter, &-appear":{opacity:0,transform:s("list-transform-start"),"&-active":{opacity:1,transform:"translate(0, 0)"}},"&-leave":{"&-active":{opacity:0,transform:s("list-transform-start")}}}},"&-top":{[a]:{bottom:s("list-trigger-offset"),"&::after":{top:"100%",bottom:c}}},"&-bottom":{[a]:{[l("list-transform-start")]:`translate(0, calc(${(0,V.zA)(n)} * -1))`,top:s("list-trigger-offset"),"&::after":{top:c,bottom:"100%"}}},"&-left":{[a]:{[l("list-transform-start")]:`translate(${(0,V.zA)(n)}, 0)`,right:s("list-trigger-offset"),"&::after":{left:"100%",right:c}}},"&-right":{[a]:{[l("list-transform-start")]:`translate(calc(${(0,V.zA)(n)} * -1), 0)`,left:s("list-trigger-offset"),"&::after":{left:c,right:"100%"}}}}]}},Z=(0,F.OF)("FloatButton",e=>{const{controlHeightLG:t,marginXXL:o,marginLG:n,fontSizeIcon:r,calc:i}=e,a=(0,K.oX)(e,{floatButtonIconSize:i(r).mul(1.5).equal(),floatButtonSize:t,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:n});return[Q(a),U(a),(0,G.p9)(e)]},()=>({}),{order:-998}),J="float-btn",ee=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,rootClassName:r,style:i,type:a="default",shape:l="circle",icon:s,description:c,content:m,tooltip:u,badge:p={},classNames:g,styles:h,...f}=e,{getPrefixCls:$,direction:b}=B.useContext(H.QO),v=B.useContext(D),x=$(J,o),y=(0,q.A)(x),{shape:C,individual:S,classNames:k,styles:w}=v||{},E=C||l,A=S??!0,z=m??c,I={...e,type:a,shape:E},[N,M]=Z(x,y),R=B.useMemo(()=>({icon:`${x}-icon`,content:`${x}-content`}),[x]),[F,G]=(0,X.AV)([R,k,g],[w,h],{props:I}),K=(0,T.AZ)(z)||s?s:B.createElement(L.A,null),[V]=(0,O.YK)("FloatButton",i?.zIndex),Q={...i,zIndex:V},Y=(0,T.cJ)(p,["title","children","status","text"]),U="badge"in e&&B.createElement(d.A,{...Y,className:(0,P.$)(Y.className,`${x}-badge`,{[`${x}-badge-dot`]:Y.dot})}),ee=(0,W.A)(u);let te=B.createElement(_.A,{...f,ref:t,className:(0,P.$)(N,M,y,x,n,r,`${x}-${a}`,`${x}-${E}`,{[`${x}-rtl`]:"rtl"===b,[`${x}-individual`]:A,[`${x}-icon-only`]:!(0,T.AZ)(z)}),classNames:F,styles:G,style:Q,shape:E,type:a,size:"large",icon:K,_skipSemantic:!0},z,U);return ee&&(te=B.createElement(j.A,{...ee},te)),te}),te=ee;var oe=o(28053),ne=o(35018),re=o(1012);const ie=e=>{const t=(0,oe.A)(e);let o=null;if((0,ne.l6)(e)?o=e.document.documentElement:(0,ne.wz)(e)?o=e.documentElement:(0,ne.sb)(e)&&(o=e),!o)return 0;const n=Math.max(o.scrollHeight-o.clientHeight,0);return n>0?Math.min(Math.max(t/n,0),1):0},ae=B.createElement(N.A,null),le=B.forwardRef((e,t)=>{const{backTopIcon:o}=(0,H.TP)("floatButton"),{prefixCls:n,className:r,style:i,type:a="default",shape:l="circle",visibilityHeight:s=400,icon:c,target:d,onClick:m,duration:u=450,showProgress:p=!1,...g}=e,h=c??o??ae,f=B.useRef(null);B.useImperativeHandle(t,()=>({nativeElement:f.current}));const $=B.useCallback(()=>f.current?.ownerDocument||window,[]),b=d||$,{scrollProgress:v,visible:x}=(e=>{const{getTarget:t,showProgress:o,visibilityHeight:n}=e,[r,i]=B.useState(0===n),[a,l]=B.useState(0);return B.useEffect(()=>{const e=t(),r=()=>{i((0,oe.A)(e)>=n),o&&l(ie(e))},a=(0,re.A)(r);return r(),e?.addEventListener("scroll",a),()=>{a.cancel(),e?.removeEventListener("scroll",a)}},[t,o,n]),B.useEffect(()=>{if(!o)return;const e=(0,re.A)(()=>
1{l(ie(t()))});return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),e.cancel()}},[t,o]),{scrollProgress:a,visible:r}})({getTarget:b,showProgress:p,visibilityHeight:s}),y=e=>{const t=window.matchMedia?.("(prefers-reduced-motion: reduce)");(0,R.A)(0,{getContainer:b,duration:t?.matches?0:u}),m?.(e)},{getPrefixCls:C}=(0,B.useContext)(H.QO),S=C(J,n),k=C(),[w]=(0,F.PN)(k,"float-btn"),E=(0,B.useContext)(D)?.shape,A={prefixCls:S,icon:h,type:a,shape:E||l,style:p?{[w("progress")]:`${v}turn`,...i}:i,...g};return B.createElement(M.Ay,{visible:x,motionName:`${k}-fade`},({className:e},t)=>B.createElement(te,{ref:(0,T.K4)(f,t),...A,onClick:y,className:(0,P.$)(r,e,{[`${S}-progress`]:p})}))}),se=le;var ce=o(48657),de=o(19106),me=o(79873);const ue=(e,t)=>{const{prefixCls:o,className:n,style:r,classNames:i,styles:a,rootClassName:l,shape:s="circle",type:c="default",placement:d,icon:m=B.createElement(L.A,null),closeIcon:u,trigger:p,children:g,onOpenChange:h,open:f,onClick:$,disabled:b,...v}=e,{direction:x,getPrefixCls:y,closeIcon:C,classNames:S,styles:k,className:w,style:E}=(0,H.TP)("floatButtonGroup"),A=u??C??B.createElement(ce.A,null),z=y(J,o),N=(0,q.A)(z),[R,F]=Z(z,N),W=`${z}-group`,_=p&&["click","hover"].includes(p),j=B.useContext(de.A),G=b??j,[K]=(0,O.YK)("FloatButton",r?.zIndex),V=B.useRef(null);B.useImperativeHandle(t,()=>({nativeElement:V.current}));const Q=["top","left","right","bottom"].includes(d)?d:"top",[Y,U]=(0,T.PW)(!1,f),ee="hover"===p,oe="click"===p,ne=(0,T._q)(e=>{G||Y!==e&&(U(e),h?.(e))});B.useEffect(()=>{if(oe){const e=e=>{V.current?.contains(e.target)||ne(!1)};return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})}},[oe]);const re="circle"===s,ie={...e,shape:s,type:c,placement:Q,disabled:G},ae=(0,X.XT)(E),le=(0,X.XT)(r),[se,ue]=(0,X.AV)([S,i],[k,ae,a,le],{props:ie}),pe=B.useMemo(()=>({shape:s,individual:re,classNames:{root:se.item,icon:se.itemIcon,content:se.itemContent},styles:{root:ue.item,icon:ue.itemIcon,content:ue.itemContent}}),[s,re,se,ue]),ge=B.useMemo(()=>({...pe,individual:!0,classNames:{root:se.trigger,icon:se.triggerIcon,content:se.triggerContent},styles:{root:ue.trigger,icon:ue.triggerIcon,content:ue.triggerContent}}),[pe,se,ue]);let he;const fe=`${W}-list`,$e=e=>{const t="top"===Q||"bottom"===Q,o={className:(0,P.$)(fe,se.list,e),style:ue.list};return he=re?B.createElement(I.A,{vertical:t,...o},g):B.createElement(me.A.Compact,{vertical:t,...o},g),he};return B.createElement(D.Provider,{value:pe},B.createElement("div",{className:(0,P.$)(W,R,F,N,w,se.root,n,l,{[`${W}-rtl`]:"rtl"===x,[`${W}-individual`]:re,[`${W}-${Q}`]:_,[`${W}-menu-mode`]:_}),style:{zIndex:K,...ue.root},ref:V,onMouseEnter:()=>{ee&&ne(!0)},onMouseLeave:()=>{ee&&ne(!1)}},_?B.createElement(M.Ay,{visible:Y,motionName:`${fe}-motion`},({className:e})=>$e(e)):$e(),_&&B.createElement(D.Provider,{value:ge},B.createElement(te,{type:c,icon:Y?A:m,"aria-label":e["aria-label"],className:`${W}-trigger`,onClick:e=>{oe&&ne(!Y),$?.(e)},disabled:G,...v}))))},pe=B.forwardRef(ue),ge=({backTop:e,...t})=>e?B.createElement(se,{...t,visibilityHeight:0}):B.createElement(te,{...t});te.BackTop=se,te.Group=pe,te._InternalPanelDoNotUseOrYouWillBeFired=({className:e,items:t,classNames:o,styles:n,prefixCls:r,...i})=>{const{getPrefixCls:a}=B.useContext(H.QO),l=`${a(J,r)}-pure`;return t?B.createElement(pe,{className:(0,P.$)(e,l),classNames:o,styles:n,...i},t.map((e,t)=>B.createElement(ge,{key:t,...e}))):B.createElement(ge,{className:(0,P.$)(e,l),classNames:o,styles:n,...i})};const he=te;var fe=o(65754),$e=o(64619),be=o(85528);function ve(e){const[t,o]=(0,T.Cy)(e);return B.useEffect(()=>{o(e,{ms:e.length?0:10})},[e]),t}var xe=o(71584),ye=o(99820);const Ce=e=>{const{componentCls:t,motionDurationFast:o,motionEaseInOut:n}=e,r=`${t}-show-help`,i=`${t}-show-help-item`;return{[r]:{transition:`opacity ${o} ${n}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}
1},[i]:{overflow:"hidden",transition:`${["height","opacity","transform"].map(e=>`${e} ${o} ${n}`).join(", ")} !important`,[`&${i}-appear, &${i}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${i}-leave-active`]:{transform:"translateY(-5px)"}}}}},Se=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus, input[type='radio']:focus, input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,V.zA)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),ke=(e,t)=>{const{formItemCls:o}=e;return{[o]:{[`${o}-label > label`]:{height:t},[`${o}-control-input`]:{minHeight:t}}}},we=e=>{const{componentCls:t}=e;return{[t]:{...(0,Y.dF)(e),...Se(e),[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":{...ke(e,e.controlHeightSM)},"&-large":{...ke(e,e.controlHeightLG)}}}},Ee=e=>{const{formItemCls:t,iconCls:o,rootPrefixCls:n,antCls:r,labelRequiredMarkColor:i,labelColor:a,labelFontSize:l,labelHeight:s,labelColonMarginInlineStart:c,labelColonMarginInlineEnd:d,itemMarginBottom:m}=e,[u]=(0,F.PN)(r,"grid");return{[t]:{...(0,Y.dF)(e),marginBottom:m,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden${r}-row`]:{display:"none"},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset","> label":{verticalAlign:"middle",textWrap:"balance"}},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:s,color:a,fontSize:l,[`> ${o}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"sans-serif",lineHeight:1,content:'"*"'},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:c,marginInlineEnd:d},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{[u("display")]:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${n}-col-'"]):not([class*="' ${n}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%",[`&:has(> ${r}-switch:only-child, > ${r}-rate:only-child)`]:{display:"flex",alignItems:"center"}}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:xe.nF,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}}}},Ae=e=>({padding:e.verticalLabelPadding,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ze=e=>({...Ae(e),margin:e.verticalLabelMargin}),Ie=e=>{const[t]=(0,F.PN)(e.antCls,"form");return{...Ae(e),[t("item-label-margin")]:e.verticalLabelMargin}},Be=e=>
1{const{antCls:t,formItemCls:o}=e;return{[`${o}-horizontal`]:{[`${o}-label`]:{flexGrow:0},[`${o}-control`]:{flex:"1 1 0",minWidth:0},[`${o}-label[class$='-24'], ${o}-label[class*='-24 ']`]:{[`& + ${o}-control`]:{minWidth:"unset"}},[`> ${o}-row > ${t}-col-24${o}-label,\n > ${o}-row > ${t}-col-xl-24${o}-label`]:ze(e)}}},Ne=e=>{const{componentCls:t,formItemCls:o,inlineItemMarginBottom:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[`${o}-inline`]:{flex:"none",marginInlineEnd:e.margin,marginBottom:n,"&-row":{flexWrap:"nowrap"},[`> ${o}-label,\n > ${o}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${o}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${o}-has-feedback`]:{display:"inline-block"}}}}},Me=e=>{const{componentCls:t,formItemCls:o,rootPrefixCls:n}=e;return{[`${o}:not(${o}-vertical) > ${o}-row > ${o}-label`]:ze(e),[`${t}:not(${t}-inline)`]:{[o]:{flexWrap:"wrap",[`${o}-label, ${o}-control`]:{[`&:not([class*=" ${n}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Te=e=>{const{componentCls:t,formItemCls:o,antCls:n,verticalLabelHeight:r}=e,[i,a]=(0,F.PN)(n,"form");return{[o]:{[i("item-label-margin")]:"initial"},[`${o}-label`]:{margin:a("item-label-margin")},[`${o}-vertical`]:{[`${o}-row`]:{flexDirection:"column"},[`${o}-label > label`]:{height:r},[`${o}-control`]:{width:"100%",flex:"none"},[`> ${o}-row > ${o}-label,\n > ${o}-row > ${n}-col-24${o}-label,\n > ${o}-row > ${n}-col-xl-24${o}-label`]:Ie(e)},[`@media (max-width: ${(0,V.zA)(e.screenXSMax)})`]:[Me(e),{[t]:{[`${o}:not(${o}-horizontal):not(${o}-vertical)`]:{[`> ${o}-row > ${n}-col-xs-24${o}-label`]:ze(e)}}}],[`@media (max-width: ${(0,V.zA)(e.screenSMMax)})`]:{[t]:{[`${o}:not(${o}-horizontal):not(${o}-vertical)`]:{[`> ${o}-row > ${n}-col-sm-24${o}-label`]:ze(e)}}},[`@media (max-width: ${(0,V.zA)(e.screenMDMax)})`]:{[t]:{[`${o}:not(${o}-horizontal):not(${o}-vertical)`]:{[`> ${o}-row > ${n}-col-md-24${o}-label`]:ze(e)}}},[`@media (max-width: ${(0,V.zA)(e.screenLGMax)})`]:{[t]:{[`${o}:not(${o}-horizontal):not(${o}-vertical)`]:{[`> ${o}-row > ${n}-col-lg-24${o}-label`]:ze(e)}}}}},Pe=(e,t)=>(0,K.oX)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),Re=(0,F.OF)("Form",(e,{rootPrefixCls:t})=>{const o=Pe(e,t);return[we(o),Ee(o),Ce(o),Be(o),Ne(o),Te(o),(0,ye.A)(o),xe.nF]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,verticalLabelHeight:e.labelHeight??"auto",labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),{order:-1e3}),He=[];function Fe(e,t,o,n=0){return{key:"string"==typeof e?e:`${t}-${n}`,error:e,errorStatus:o}}const De=({help:e,helpStatus:t,errors:o=He,warnings:n=He,className:r,fieldId:i,onVisibleChanged:a})=>{const{prefixCls:l}=B.useContext(fe.hb),{classNames:s,styles:c}=B.useContext(fe.cK),d=`${l}-item-explain`,m=(0,q.A)(l),[u,p]=Re(l,m),g=B.useMemo(()=>(0,be.A)(l),[l]),h=ve(o),f=ve(n),$=(0,T.R)(e),b=B.useMemo(()=>$?[Fe(e,"help",t)]:[].concat((0,$e.A)(h.map((e,t)=>Fe(e,"error","error",t))),(0,$e.A)(f.map((e,t)=>Fe(e,"warning","warning",t)))),[e,t,$,h,f]),v=B.useMemo(()=>{const e={};return b.forEach(({key:t})=>{e[t]=(e[t]||0)+1}),b.map((t,o)=>({...t,key:e[t.key]>1?`${t.key}-fallback-${o}`:t.key}))},[b]),x={};return i&&(x.id=`${i}_help`),B.createElement(M.Ay,{motionDeadline:g.motionDeadline,motionName:`${l}-show-help`,visible:!!v.length,onVisibleChanged:a},e=>{const{className:t,style:o}=e;return B.createElement("div",{...x,className:(0,P.$)(d,t,s?.help,p,m,r,u),style:{...c?.help,...o}},B.createElement(M.aF,{keys:v,...(0,be.A)(l),motionName:`${l}-show-help-item`,component:!1},e=>{const{key:t,error:o,errorStatus:n,className:r,style:i}=e;return B.createElement("div",{key:t,className:(0,P.$)(r,s?.helpItem,{[`${d}-${n}`]:n}),style:{...c?.helpItem,...i}},o)}))})};var Le=o(42831),We=o(17392),Oe=o(625),Xe=o(28475),_e=o(14796);const qe=(e,t)=>{const o=B.useContext(de.A),{getPrefixCls:n,direction:r,requiredMark:i,colon:a,scrollToFirstError:l,className:s,style:c,styles:d,classNames:m,tooltip:u,labelAlign:p,labelWrap:g}=(0,H.TP)("form"),{prefixCls:h,className:f,rootClassName:$,size:b,disabled:v=o,form:x,colon:y,labelAlign:C,labelWrap:S,labelCol:k,wrapperCol:w,layout:E="horizontal",scrollToFirstError:A,requiredMark:z,onFinishFailed:I,name:N,style:M,feedbackIcons:T,variant:R,classNames:F,styles:D,tooltip:L,...W}=e,O=(0,We.A)(b),_=B.useContext(_e.A),j=B.useMemo(()=>void 0!==z?z:void 0===i||i,[z,i]),G=y??a,K=C??p,V=S??g,Q={...u,...L},Y=n("form",h),U=(0,q.A)(Y),[Z,J]=Re(Y,U),ee={...e,size:O,disabled:v,layout:E,colon:G,requiredMark:j,labelAlign:K,labelWrap:V},te=(0,X.XT)(c),oe=(0,X.XT)(M),[re,ie]=(0,X.AV)([m,F],[d,te,D,oe],{props:ee}),ae=(0,P.$)(Y,`${Y}-${E}`,{[`${Y}-hide-required-mark`]:!1===j,[`${Y}-rtl`]:"rtl"===r,[`${Y}-large`]:"large"===O,[`${Y}-small`]:"small"===O},J,U,Z,s,f,$,re.root),[le]=(0,Xe.A)(x),{__INTERNAL__:se}=le;se.name=N;const ce=B.useMemo(()=>({name:N,labelAlign:K,labelCol:k,labelWrap:V,wrapperCol:w,layout:E,colon:G,requiredMark:j,itemRef:se.itemRef,form:le,feedbackIcons:T,tooltip:Q,classNames:re,styles:ie}),[N,K,V,k,w,E,G,j,le,T,re,ie,Q]),me=B.useRef(null);B.useImperativeHandle(t,()=>({...le,nativeElement:me.current?.nativeElement}));const ue=(e,t)=>
1{if(e){let o={block:"nearest"};(0,ne.Qd)(e)&&(o={...o,...e}),le.scrollToField(t,o)}};return B.createElement(fe.Pp.Provider,{value:R},B.createElement(de.X,{disabled:v},B.createElement(Oe.A.Provider,{value:O},B.createElement(fe.Op,{validateMessages:_},B.createElement(fe.cK.Provider,{value:ce},B.createElement(fe.XB,{status:!0},B.createElement(Le.Ay,{id:N,...W,name:N,onFinishFailed:e=>{if(I?.(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==A)return void ue(A,t);void 0!==l&&ue(l,t)}},form:le,ref:me,style:ie?.root,className:ae})))))))},je=B.forwardRef(qe);var Ge=o(27291),Ke=o(81136);const Ve=()=>{const{status:e,errors:t=[],warnings:o=[]}=B.useContext(fe.$W);return{status:e,errors:t,warnings:o}};Ve.Context=fe.$W;const Qe=Ve;var Ye=o(64573),Ue=o(41250),Ze=o(20728);function Je(e,t){const o=[void 0,void 0],n=Array.isArray(e)?e:[e,void 0],r=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};return n.forEach((e,t)=>{if((0,ne.Qd)(e))for(let n=0;n<Ue.ye.length;n++){const i=Ue.ye[n];if(r[i]&&void 0!==e[i]){o[t]=e[i];break}}else o[t]=e}),o}var et=o(18384),tt=o(23281);const ot=(e,t)=>{if((0,ne.Kg)(e))return e;if((0,ne.Qd)(e))for(let o=0;o<Ue.ye.length;o++){const n=Ue.ye[o];if(!t||!t[n])continue;const r=e[n];if(void 0!==r)return r}return""},nt=B.forwardRef((e,t)=>{const{prefixCls:o,justify:n,align:r,className:i,style:a,children:l,gutter:s=0,wrap:c,...d}=e,{getPrefixCls:m,direction:u}=B.useContext(H.QO),p=(0,Ze.A)(!0,null),g=ot(r,p),h=ot(n,p),f=m("row",o),[$,b]=(0,tt.L3)(f),v=Je(s,p),x=(0,P.$)(f,{[`${f}-no-wrap`]:!1===c,[`${f}-${h}`]:h,[`${f}-${g}`]:g,[`${f}-rtl`]:"rtl"===u},i,$,b),y={};if(v?.[0]){const e=(0,ne.Et)(v[0])?v[0]/-2+"px":`calc(${v[0]} / -2)`;y.marginInline=e}const[C,S]=v;y.rowGap=S;const k=B.useMemo(()=>({gutter:[C,S],wrap:c}),[C,S,c]);return B.createElement(et.A.Provider,{value:k},B.createElement("div",{...d,className:x,style:{...y,...a},ref:t},l))}),rt=nt;var it=o(97497);const at=(0,F.bf)(["Form","item-item"],(e,{rootPrefixCls:t})=>(e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}})(Pe(e,t))),lt=e=>{const{prefixCls:t,status:o,labelCol:n,wrapperCol:r,children:i,errors:a,warnings:l,_internalItemRender:s,extra:c,help:d,fieldId:m,marginBottom:u,onErrorVisibleChanged:p,label:g}=e,h=`${t}-item`,f=B.useContext(fe.cK),{classNames:$,styles:b}=f,v=B.useMemo(()=>{let e={...r||f.wrapperCol||{}};return null!==g||n||r||!f.labelCol||[void 0].concat((0,$e.A)(Ue.Gl)).forEach(t=>{const o=t?[t]:[],n=(0,T.Jt)(f.labelCol,o),r=(0,ne.Qd)(n)?n:{},i=(0,T.Jt)(e,o),a=(0,ne.Qd)(i)?i:{};"span"in r&&!("offset"in a)&&r.span<24&&(e=(0,T.hZ)(e,[].concat(o,["offset"]),r.span))}),e},[r,f.wrapperCol,f.labelCol,g,n]),x=(0,P.$)(`${h}-control`,v.className),y=B.useMemo(()=>{const{labelCol:e,wrapperCol:t,...o}=f;return o},[f]),C=B.useRef(null),[S,k]=B.useState(0);(0,T.Nf)(()=>{c&&C.current?k(C.current.clientHeight):k(0)},[c]);const w=B.createElement("div",{className:`${h}-control-input`},B.createElement("div",{className:(0,P.$)(`${h}-control-input-content`,$?.content),style:b?.content},i)),E=B.useMemo(()=>({prefixCls:t,status:o}),[t,o]),A=null!==u||a.length||l.length?B.createElement(fe.hb.Provider,{value:E},B.createElement(De,{fieldId:m,errors:a,warnings:l,help:d,helpStatus:o,className:`${h}-explain-connected`,onVisibleChanged:p})):null,z={};m&&(z.id=`${m}_extra`);const I=c?B.createElement("div",{...z,className:(0,P.$)(`${h}-extra`,$?.extra),style:b?.extra,ref:C},c):null,N=A||I?B.createElement("div",{className:`${h}-additional`,style:u?{minHeight:u+S}:{}},A,I):null,M=s&&"pro_table_render"===s.mark&&s.render?s.render(e,{input:w,errorList:A,extra:I}):B.createElement(B.Fragment,null,w,N);return B.createElement(fe.cK.Provider,{value:y},B.createElement(it.A,{...v,className:x},M),B.createElement(at,{prefixCls:t}))};var st=o(15195),ct=o(52468),dt=o(25917);const mt=({prefixCls:e,label:t,htmlFor:o,labelCol:n,labelAlign:r,colon:i,required:a,requiredMark:l,tooltip:s,vertical:c})=>{const[d]=(0,ct.A)("Form"),{labelAlign:m,labelCol:u,labelWrap:p,colon:g,classNames:h,styles:f,tooltip:$}=B.useContext(fe.cK);if(!(0,T.AZ)(t))return null;const b=n||u||{},v=r||m,x=`${e}-item-label`,y=(0,P.$)(x,"left"===v&&`${x}-left`,b.className,{[`${x}-wrap`]:!!p});let C=t;const S=!0===i||!1!==g&&!1!==i;S&&!c&&"string"==typeof t&&t.trim()&&(C=t.replace(/[:|ï¼]\s*$/,""));const k=(0,W.A)(s,$);if(k){const t=B.createElement(j.A,{...k},B.createElement("span",{className:`${e}-item-tooltip`,onClick:e=>{e.preventDefault()},tabIndex:-1},k.icon||k.children||B.createElement(st.A,null)));C=B.createElement(B.Fragment,null,C,t)}const w="optional"===l,E=(0,ne.Tn)(l),A=!1===l;let z;E?C=l(C,{required:!!a}):w&&!a&&(C=B.createElement(B.Fragment,null,C,B.createElement("span",{className:`${e}-item-optional`},d?.optional||dt.A.Form?.optional))),A?z="hidden":(w||E)&&(z="optional");const I=(0,P.$)(h?.label,{[`${e}-item-required`]:a,[`${e}-item-required-mark-${z}`]:z,[`${e}-item-no-colon`]:!S});return B.createElement(it.A,{...b,className:y},B.createElement("label",{htmlFor:o,className:I,style:f?.label,title:"string"==typeof t?t:void 0},C))};var ut=o(238),pt=o(13744),gt=o(6948),ht=o(77870);
1const ft={success:ut.A,warning:gt.A,error:pt.A,validating:ht.A},$t=function({children:e,errors:t,warnings:o,hasFeedback:n,validateStatus:r,prefixCls:i,meta:a,noStyle:l,name:s}){const c=`${i}-item`,{feedbackIcons:d}=B.useContext(fe.cK),m=(0,Ye.BS)(t,o,a,null,!!n,r),{isFormItemInput:u,status:p,hasFeedback:g,feedbackIcon:h,name:f}=B.useContext(fe.$W),$=B.useMemo(()=>{let e;if(n){const r=!0!==n&&n.icons||d,i=m&&r?.({status:m,errors:t,warnings:o})?.[m],a=m?ft[m]:null;e=!1!==i&&a?B.createElement("span",{className:(0,P.$)(`${c}-feedback-icon`,`${c}-feedback-icon-${m}`)},i||B.createElement(a,null)):null}const r={status:m||"",errors:t,warnings:o,hasFeedback:!!n,feedbackIcon:e,isFormItemInput:!0,name:s};return l&&(r.status=(m??p)||"",r.isFormItemInput=u,r.hasFeedback=!!(n??g),r.feedbackIcon=void 0!==n?r.feedbackIcon:h,r.name=s??f),r},[m,t,o,n,d,l,s,u,p,c,g,h,f]);return B.createElement(fe.$W.Provider,{value:$},e)};function bt(e){const{prefixCls:t,className:o,rootClassName:n,style:r,help:i,errors:a,warnings:l,validateStatus:s,meta:c,hasFeedback:d,hidden:m,children:u,fieldId:p,required:g,isRequired:h,onSubItemMetaChange:f,layout:$,name:b,...v}=e,x=`${t}-item`,{requiredMark:y,layout:C}=B.useContext(fe.cK),S=$||C,k="vertical"===S,w=B.useRef(null),E=ve(a),A=ve(l),z=(0,T.R)(i),I=!!(z||E.length||A.length),N=!!w.current&&(0,T.zN)(w.current),[M,R]=B.useState(null);(0,T.Nf)(()=>{if(I&&w.current){const e=getComputedStyle(w.current);R(Number.parseInt(e.marginBottom,10))}},[I,N]);const H=((e=!1)=>{const t=e?E:c.errors,o=e?A:c.warnings;return(0,Ye.BS)(t,o,c,"",!!d,s)})(),F=(0,P.$)(x,o,n,{[`${x}-with-help`]:z||E.length||A.length,[`${x}-has-feedback`]:H&&d,[`${x}-has-success`]:"success"===H,[`${x}-has-warning`]:"warning"===H,[`${x}-has-error`]:"error"===H,[`${x}-is-validating`]:"validating"===H,[`${x}-hidden`]:m,[`${x}-${S}`]:S});return B.createElement("div",{className:F,style:r,ref:w},B.createElement(rt,{className:`${x}-row`,...(0,T.cJ)(v,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])},B.createElement(mt,{htmlFor:p,...e,requiredMark:y,required:g??h,prefixCls:t,vertical:k}),B.createElement(lt,{...e,...c,errors:E,warnings:A,prefixCls:t,status:H,help:i,marginBottom:M,onErrorVisibleChanged:e=>{e||I||R(null)}},B.createElement(fe.jC.Provider,{value:f},B.createElement($t,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:d,validateStatus:H,name:b},u)))),!!M&&B.createElement("div",{className:`${x}-margin-offset`,style:{marginBottom:-M}}))}const vt=B.memo(e=>e.children,(e,t)=>function(e,t){const o=Object.keys(e),n=Object.keys(t);return o.length===n.length&&o.every(o=>{const n=e[o],r=t[o];return n===r||(0,ne.Tn)(n)||(0,ne.Tn)(r)})}(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,o)=>e===t.childProps[o])),xt=function(e){const{name:t,noStyle:o,className:n,dependencies:r,prefixCls:i,shouldUpdate:a,rules:l,children:s,required:c,label:d,messageVariables:m,trigger:u="onChange",validateTrigger:p,hidden:g,help:h,layout:f}=e,{getPrefixCls:$}=B.useContext(H.QO),{name:b}=B.useContext(fe.cK),v=(e=>{if((0,ne.Tn)(e))return e;const t=(0,T.$r)(e);return t.length<=1?t[0]:t})(s),x=(0,ne.Tn)(v),y=B.useContext(fe.jC),{validateTrigger:C}=B.useContext(Le._z),S=(0,T.R)(p)?p:C,k=(0,T.R)(t),w=$("form",i),E=(0,q.A)(w),[A,z]=Re(w,E);(0,Ke.Z2)("Form.Item");const I=B.useContext(Le.EF),N=B.useRef(null),[M,R]=function(){const[e,t]=B.use
1State({}),o=B.useRef(null),n=B.useRef([]),r=B.useRef(!1);return B.useEffect(()=>(r.current=!1,()=>{r.current=!0,T.er.cancel(o.current),o.current=null}),[]),[e,function(e){r.current||(null===o.current&&(n.current=[],o.current=(0,T.er)(()=>{o.current=null,t(e=>{let t=e;return n.current.forEach(e=>{t=e(t)}),t})})),n.current.push(e))}]}(),[F,D]=(0,T.J0)(()=>({errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1})),L=(e,t)=>{R(o=>{const n={...o},r=[].concat((0,$e.A)(e.name.slice(0,-1)),(0,$e.A)(t)).join("__SPLIT__");return e.destroy?delete n[r]:n[r]=e,n})},[W,O]=B.useMemo(()=>{const e=(0,$e.A)(F.errors),t=(0,$e.A)(F.warnings);return Object.values(M).forEach(o=>{e.push.apply(e,(0,$e.A)(o.errors||[])),t.push.apply(t,(0,$e.A)(o.warnings||[]))}),[e,t]},[M,F.errors,F.warnings]),X=(()=>{const{itemRef:e}=B.useContext(fe.cK),t=B.useRef({});return(o,n)=>{const r=n&&(0,ne.Qd)(n)&&(0,T.A9)(n),i=o.join("_");return t.current.name===i&&t.current.originRef===r||(t.current.name=i,t.current.originRef=r,t.current.ref=(0,T.K4)(e(o),r)),t.current.ref}})();function _(r,i,a){return o&&!g?B.createElement($t,{prefixCls:w,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:F,errors:W,warnings:O,noStyle:!0,name:t},r):B.createElement(bt,{key:"row",...e,className:(0,P.$)(n,z,E,A),prefixCls:w,fieldId:i,isRequired:a,errors:W,warnings:O,meta:F,onSubItemMetaChange:L,layout:f,name:t},r)}if(!k&&!x&&!r)return _(v);let j={};return"string"==typeof d?j.label=d:t&&(j.label=String(t)),m&&(j={...j,...m}),B.createElement(Le.D0,{...e,messageVariables:j,trigger:u,validateTrigger:S,onMetaChange:e=>{const t=I?.getKey(e.name);if(D(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}:e,!0),o&&!1!==h&&y){let o=e.name;if(e.destroy)o=N.current||o;else if(void 0!==t){const[e,n]=t;o=[e].concat((0,$e.A)(n)),N.current=o}y(e,o)}}},(o,n,i)=>{const s=(0,Ye.$r)(t).length&&n?n.name:[],d=(0,Ye.kV)(s,b),m=void 0!==c?c:l?.some(e=>{if((0,ne.Qd)(e)&&e.required&&!e.warningOnly)return!0;if((0,ne.Tn)(e)){const t=e(i);return t?.required&&!t?.warningOnly}return!1}),p={...o};let g=null;if(Array.isArray(v)&&k)g=v;else if(x&&(!a&&!r||k));else if(!r||x||k)if(B.isValidElement(v)){const t={...v.props,...p};if(t.id||(t.id=d),h||W.length>0||O.length>0||e.extra){const o=[];(h||W.length>0)&&o.push(`${d}_help`),e.extra&&o.push(`${d}_extra`),t["aria-describedby"]=o.join(" ")}W.length>0&&(t["aria-invalid"]="true"),m&&(t["aria-required"]="true"),(0,T.f3)(v)&&(t.ref=X(s,v)),new Set([].concat((0,$e.A)((0,Ye.$r)(u)),(0,$e.A)((0,Ye.$r)(S)))).forEach(e=>{t[e]=(...t)=>{p[e]?.(...t),v.props[e]?.(...t)}});const o=[t["aria-required"],t["aria-invalid"],t["aria-describedby"]];g=B.createElement(vt,{control:p,update:v,childProps:o},(0,Ge.Ob)(v,t))}else g=x&&(a||r)&&!k?v(i):v;return _(g,d,m)})};xt.useStatus=Qe;const yt=xt,Ct=je;Ct.Item=yt,Ct.List=({prefixCls:e,children:t,...o})=>{const{getPrefixCls:n}=B.useContext(H.QO),r=n("form",e),i=B.useMemo(()=>({prefixCls:r,status:"error"}),[r]);return B.createElement(Le.B8,{...o},(e,o,n)=>B.createElement(fe.hb.Provider,{value:i},t(e.map(e=>({...e,fieldKey:e.key})),o,{errors:n.errors,warnings:n.warnings})))},Ct.ErrorList=De,Ct.useForm=Xe.A,Ct.useFormInstance=function(){const{form:e}=B.useContext(fe.cK);return e},Ct.useWatch=Le.FH,Ct.Provider=fe.Op;const St=Ct,kt={useBreakpoint:function(){return(0,Ze.A)()}};var wt=o(79338),Et=o(10384);const At=(e,t,o,n,r,i,a)=>{const[l]=(0,O.YK)("ImagePreview",e?.zIndex),[s,c,d]=(0,Et.u)(e?.mask,t?.mask,`${o}-preview`);return B.useMemo(()=>{if(!e)return e;const{cover:m,getContainer:u,closeIcon:p,rootClassName:g}=e,{closeIcon:h}=t??{};return{motionName:(0,be.b)(`${o}-preview`,"fade"),...e,...a?{cover:m??a}:{},icons:i,getContainer:u??r,zIndex:l,closeIcon:p??h,rootClassName:(0,P.$)(n,g),mask:s,maskClosable:d,blurClassName:c.mask}},[e,t,o,n,r,a,i,l,s,d,c])};function zt(e){return(0,ne.Qd)(e)&&!(0,B.isValidElement)(e)}function It(e){const t=(0,B.useMemo)(()=>"boolean"==typeof e?e?{}:null:(0,ne.Qd)(e)?e:{},[e]);return(0,B.useMemo)(()=>{if(!t)return[t,"",""];const{open:e,onOpenChange:o,cover:n,actionsRender:r,visible:i,onVisibleChange:a,rootClassName:l,maskClassName:s,mask:c,forceRender:d,destroyOnClose:m,toolbarRender:u,...p}=t;let g;o?g=o:a&&(g=(e,t)=>
1{const{current:o}=t||{};void 0!==o?a(e,!e,o):a(e,!e)});const[h,f]=function(e){return(0,B.isValidElement)(e)?[e,void 0]:"boolean"==typeof e||(0,ne.Qd)(e)?[void 0,e]:[void 0,void 0]}(c);return[{...p,open:e??i,onOpenChange:g,cover:n??h,mask:f,actionsRender:r??u},l,s]},[t])}var Bt=o(23246),Nt=o(72245),Mt=o(98283),Tt=o(10558),Pt=o(9380),Rt=o(35086),Ht=o(13419),Ft=o(81316);const Dt=new V.Mo("antImageProgressActive",{"0%":{backgroundPosition:"200% 0"},"100%":{backgroundPosition:"-200% 0"}}),Lt=(e,t,o,n="translate(0%, 0%)",r=.8)=>new V.Mo(e,{"0%":{transform:n,opacity:r},"50%":{transform:t,opacity:o},"100%":{transform:n,opacity:r}}),Wt=Lt("antImageInkFlow1","translate(15%, -20%) scale(1.25)",.5),Ot=Lt("antImageInkFlow2","translate(-18%, 15%) scale(0.85)",.9,"translate(0%, 0%) scale(1.1)",.7),Xt=Lt("antImageInkFlow3","translate(8%, 10%) scale(1.15)",.8,"translate(0%, 0%) scale(0.85)",.65),_t=e=>({position:e||"absolute",inset:0}),qt=e=>{const{componentCls:t,motionDurationSlow:o,colorTextLightSolid:n}=e;return{[t]:{[`${t}-cover`]:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:n,background:new Ft.Y("#000").setA(.3).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${o}`},"&:hover, &:focus-visible":{[`${t}-cover`]:{opacity:1}},[`${t}-cover-top`]:{inset:"0 0 auto 0",justifyContent:"center"},[`${t}-cover-bottom`]:{inset:"auto 0 0 0",justifyContent:"center"}}}},jt=e=>{const{componentCls:t,motionDurationMid:o,motionEaseInOut:n,progressAnimationDuration:r}=e,i={position:"absolute",width:"150%",height:"150%",left:"-25%",top:"-25%",animationTimingFunction:n,animationIterationCount:"infinite",pointerEvents:"none",willChange:"transform, opacity"};return{[`${t}-progress-wrapper`]:{position:"relative",display:"inline-block",overflow:"hidden",borderRadius:"inherit",backgroundColor:e.colorBgBase,backdropFilter:"blur(8px)",[`${t}-progress-ink-1`]:{...i,background:"radial-gradient(ellipse 65% 55% at 25% 30%, rgba(100, 180, 255, 0.98) 0%, transparent 55%)",animationName:Wt,animationDuration:r,filter:"blur(40px)","&::before":{content:'""',...i,background:"radial-gradient(ellipse 60% 65% at 75% 45%, rgba(180, 140, 255, 0.95) 0%, transparent 50%)",animationName:Ot,animationDuration:`calc(${r} + 2s)`,animationDelay:"-1s",filter:"blur(45px)"},"&::after":{content:'""',...i,background:"radial-gradient(ellipse 55% 50% at 50% 70%, rgba(100, 220, 220, 0.9) 0%, transparent 45%)",animationName:Xt,animationDuration:`calc(${r} + 0.5s)`,animationDelay:"-2s",filter:"blur(38px)"}},[`${t}-progress-ink-2`]:{...i,background:"radial-gradient(ellipse 45% 40% at 60% 20%, rgba(255, 150, 200, 0.88) 0%, transparent 45%)",animationName:Xt,animationDuration:`calc(${r} + 1.5s)`,animationDelay:"-3s",filter:"blur(42px)","&::before":{content:'""',...i,background:"radial-gradient(ellipse 50% 55% at 20% 75%, rgba(160, 190, 255, 0.88) 0%, transparent 50%)",animationName:Wt,animationDuration:`calc(${r} + 2.5s)`,animationDelay:"-2.5s",filter:"blur(35px)"}},[`${t}-progress-content`]:{position:"absolute",top:"50%",left:0,transform:"translateY(-50%)",display:"flex",flexDirection:"column",alignItems:"center",width:"100%",paddingInline:e.paddingLG,textAlign:"center",fontSize:e.fontSize,color:e.colorTextSecondary,zIndex:1},[`${t}-progress-rail`]:{width:"100%",height:6,marginTop:e.marginSM,backgroundColor:"rgba(255, 255, 255, 0.5)",borderRadius:e.borderRadiusXS,overflow:"hidden",backdropFilter:"blur(4px)","&::before":{content:'""',display:"block",height:"100%",width:"var(--progress-percent, 0%)",background:"linear-gradient(90deg, rgba(120, 170, 255, 0.85) 0%, rgba(160, 150, 245, 0.85) 40%, rgba(130, 200, 220, 0.85) 60%, rgba(120, 170, 255, 0.85) 100%)",backgroundSize:"200% 100%",borderRadius:e.borderRadiusXS/2,transition:`width ${o} ease`,animationName:Dt,animationDuration:r,animationTimingFunction:"linear",animationIterationCount:"infinite"}},[`${t}-progress-indicator`]:{marginTop:e.marginXS}}}},Gt=e=>{const{motionEaseOut:t,previewCls:o,motionDurationSlow:n,componentCls:r,colorBgMask:i,marginXL:a,marginSM:l,margin:s,colorTextLightSolid:c,paddingSM:d,paddingLG:m,previewOperationHoverColor:u,previewOperationColorDisabled:p,previewOperationSize:g,zIndexPopup:h}=e,f=new Ft.Y(i).setA(.1),$=f.clone().setA(.2),b={position:"absolute",color:c,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:d,outline:0,border:0,cursor:"pointer",transition:`all ${n}`,display:"flex",fontSize:g,"&:hover":{backgroundColor:$.toRgbString()},"&:active":{backgroundColor:f.toRgbString()},"&:focus-visible":(0,Y.jk)(e)};return{[`${r}-preview`]:{textAlign:"center",inset:0,position:"fixed",userSelect:"none",zIndex:h,[`${o}-mask`]:{inset:0,position:"absolute",background:i,backdropFilter:"blur(0px)",transition:`backdrop-filter ${n}`,[`&${r}-preview-mask-blur`]:{backdropFilter:"blur(4px)"},[`&${r}-preview-mask-hidden`]:{display:"none"}},[`${o}-body`]:{..._t(),"pointer-events":"none",display:"flex",alignItems:"center",justifyContent:"center","> *":{pointerEvents:"auto"}},[`${o}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",transition:`transform ${n} ${t} 0s`},[`&-movable ${o}
1-img`]:{cursor:"grab"},[`&-moving ${o}-img`]:{cursor:"grabbing"},[`${o}-close`]:{...b,top:l,insetInlineEnd:l},[`${o}-switch`]:{...b,top:"50%",transform:"translateY(-50%)","&-disabled":{"&, &:hover, &:active":{color:p,background:"transparent",cursor:"not-allowed"}},"&-prev":{insetInlineStart:l},"&-next":{insetInlineEnd:l}},[`${o}-footer`]:{position:"absolute",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)",gap:s},[`${o}-actions`]:{display:"flex",gap:d,padding:`0 ${(0,V.zA)(m)}`,backgroundColor:f.toRgbString(),borderRadius:100,fontSize:g,"&-action":{color:"inherit",background:"transparent",border:0,font:"inherit",padding:d,cursor:"pointer",transition:`all ${n}`,display:"flex",[`&:not(${o}-actions-action-disabled):hover`]:{color:u},"&:focus-visible":(0,Y.jk)(e),"&-disabled":{color:p,cursor:"not-allowed"}}}}}},Kt=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",...(0,Y.K8)(e),[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-placeholder`]:{..._t()}}}},Vt=e=>{const{previewCls:t,motionDurationSlow:o}=e;return{[t]:{"&-fade":{transition:`opacity ${o}`,"&-enter, &-appear":{opacity:0,[`${t}-body`]:{transform:"scale(0)"},"&-active":{opacity:1,[`${t}-body`]:{transform:"scale(1)",transition:`transform ${o}`}}},"&-leave":{opacity:1,"&-active":{opacity:0,[`${t}-body`]:{transform:"scale(0)",transition:`transform ${o}`}}}}}}},Qt=(0,F.OF)("Image",e=>{const t=`${e.componentCls}-preview`,o=(0,K.oX)(e,{previewCls:t,imagePreviewSwitchSize:e.controlHeightLG});return[Kt(o),qt(o),jt(o),Gt(o),Vt(o)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Ft.Y(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Ft.Y(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Ft.Y(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon,progressAnimationDuration:"3s"})),Yt={rotateLeft:B.createElement(Mt.A,null),rotateRight:B.createElement(Tt.A,null),zoomIn:B.createElement(Rt.A,null),zoomOut:B.createElement(Ht.A,null),close:B.createElement(ce.A,null),left:B.createElement(Bt.A,null),right:B.createElement(Nt.A,null),flipX:B.createElement(Pt.A,null),flipY:B.createElement(Pt.A,{rotate:90})},Ut={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},Zt=e=>{const{prefixCls:t,percent:o,render:n,classNames:r,styles:i,rootClassName:a,rootStyle:l,width:s,height:c}=e,d=(0,ne.Et)(o)&&Number.isFinite(o),m=d?Math.max(0,Math.min(100,Math.round(o))):0,u=d?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":m,"aria-label":`${m}%`}:{"aria-busy":!0},p=d?B.createElement("div",{className:(0,P.$)(`${t}-progress-rail`,r?.rail),style:{...i?.rail,"--progress-percent":`${m}%`}}):null,g=n?n(p,m):B.createElement(B.Fragment,null,p,d&&B.createElement("div",{className:(0,P.$)(`${t}-progress-indicator`,r?.indicator),style:i?.indicator},`${m}%`));return B.createElement("div",{className:(0,P.$)(t,`${t}-progress-wrapper`,r?.root,a),style:{width:s,height:c,...l,...i?.root},...u},!d&&B.createElement("span",{role:"status","aria-live":"polite",style:Ut},"Loading"),B.createElement("div",{className:`${t}-progress-ink-1`}),B.createElement("div",{className:`${t}-progress-ink-2`}),B.createElement("div",{className:(0,P.$)(`${t}-progress-content`,r?.content),style:i?.content},g))},Jt=e=>{const{prefixCls:t,preview:o,className:n,rootClassName:r,style:i,styles:a,classNames:l,wrapperStyle:s,fallback:c,placeholder:d,...m}=e,{getPrefixCls:u,getPopupContainer:p,className:g,style:h,preview:f,styles:$,classNames:b,fallback:v}=(0,H.TP)("image"),x=u("image",t),y=(0,q.A)(x),[C,S]=Qt(x,y),k=(0,P.$)(r,C,S,y),w=(0,P.$)(n,C,g),[E,A,z]=It(o),[I,N,M]=It(f),T=At(E,I,x,k,p,Yt,!0),R={...e,preview:T},F=B.useMemo(()=>({cover:(0,P.$)(M,z),popup:{root:(0,P.$)(N,A)}}),[A,z,N,M]),{mask:D,blurClassName:L}=T??{},W=B.useMemo(()=>({mask:(0,P.$)({[`${x}-preview-mask-hidden`]:!D},L)}),[D,x,L]),O=B.useMemo(()=>[b,l,F,{popup:W}],[b,l,F,W]),_=(0,X.XT)(h,"image"),j=(0,X.XT)(i,"image"),G=(0,X.XT)(h),K=(0,X.XT)(i),[V,Q]=(0,
1X.AV)(O,[$,{root:s},_,a,j],{props:R},{popup:{_default:"root"},placeholder:{}}),[,Y]=(0,X.AV)([],[$,G,{root:s},a,K],{props:R},{popup:{_default:"root"},placeholder:{}}),{image:U,...Z}=Q,J=c??v,{progressConfig:ee}=function(e){return(0,B.useMemo)(()=>e&&zt(e)?"boolean"==typeof e.progress?{progressConfig:e.progress?{}:void 0}:{progressConfig:e.progress}:{},[e])}(d),te=void 0!==ee,{percent:oe,render:ne}=ee||{},re=V?.placeholder?.progress,ie=Y?.placeholder?.progress,{width:ae,height:le,src:se,...ce}=m,de=zt(d)?void 0:d,me=de&&!se,ue=me?e=>de:ne;return te||me?B.createElement(Zt,{prefixCls:x,percent:oe,render:ue,classNames:re,styles:ie,rootClassName:(0,P.$)(k,w),rootStyle:Y?.root,width:ae,height:le}):B.createElement(wt.A,{prefixCls:x,preview:T||!1,rootClassName:k,className:w,style:U,fallback:J,placeholder:de,width:ae,height:le,src:se,...ce,classNames:V,styles:Z})};Jt.PreviewGroup=({previewPrefixCls:e,preview:t,classNames:o,styles:n,...r})=>{const{getPrefixCls:i,getPopupContainer:a,direction:l,preview:s,classNames:c,styles:d}=(0,H.TP)("image"),m=i("image",e),u=`${m}-preview`,p=(0,q.A)(m),[g,h]=Qt(m,p),f=(0,P.$)(g,h,p),[$,b,v]=It(t),[x,y,C]=It(s),S=B.useMemo(()=>({...Yt,left:"rtl"===l?B.createElement(Nt.A,null):B.createElement(Bt.A,null),right:"rtl"===l?B.createElement(Bt.A,null):B.createElement(Nt.A,null)}),[l]),k=At($,x,m,f,a,S),{mask:w,blurClassName:E}=k??{},A={...r,classNames:o,styles:n},[z,I]=(0,X.AV)([c,o,{cover:(0,P.$)(C,v),popup:{root:(0,P.$)(y,b),mask:(0,P.$)({[`${m}-preview-mask-hidden`]:!w},E)}}],[d,n],{props:A},{popup:{_default:"root"}});return B.createElement(wt.A.PreviewGroup,{preview:k,previewPrefixCls:u,icons:S,...r,classNames:z,styles:I})};const eo=Jt;var to=o(83111);var oo=o(36822),no=o(43307),ro=o(64719),io=o(91674);const ao=(0,F.OF)(["Input","OTP"],e=>(e=>{const{componentCls:t,paddingXS:o}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:o,[`${t}-input-wrapper`]:{position:"relative",[`${t}-mask-icon`]:{position:"absolute",zIndex:"1",top:"50%",right:"50%",transform:"translate(50%, -50%)",pointerEvents:"none"},[`${t}-mask-input`]:{color:"transparent",caretColor:e.colorText,"&::selection":{color:"transparent"}},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":"none",margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":"textfield"}},"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}})((0,K.oX)(e,(0,io.C)(e))),io.b),lo=B.forwardRef((e,t)=>{const{className:o,value:n,onChange:r,onActiveChange:i,index:a,mask:l,onFocus:s,type:c,...d}=e,{getPrefixCls:m}=B.useContext(H.QO),u=m("otp"),p="string"==typeof l?l:"â¢",g=B.useRef(null);B.useImperativeHandle(t,()=>g.current);const h=()=>{(0,T.er)(()=>{const e=g.current?.input;document.activeElement===e&&e&&e.select()})};return B.createElement("span",{className:`${u}-input-wrapper`,role:"presentation"},l&&""!==n&&void 0!==n&&B.createElement("span",{className:`${u}-mask-icon`,"aria-hidden":"true"},p),B.createElement(oo.A,{"aria-label":`OTP Input ${a+1}`,...d,type:c??(l?"password":"text"),ref:g,value:n,onInput:e=>{r(a,e.target.value)},onFocus:e=>{s?.(e),h()},onKeyDown:e=>{const{key:t,ctrlKey:o,metaKey:r}=e;"ArrowLeft"===t?i(a-1):"ArrowRight"===t?i(a+1):"z"===t&&(o||r)?e.preventDefault():"Backspace"!==t||n||i(a-1),h()},onMouseDown:h,onMouseUp:h,className:(0,P.$)(o,{[`${u}-mask-input`]:l})}))});function so(e){return(e||"").split("")}const co=e=>{const{index:t,prefixCls:o,separator:n,className:r,style:i}=e,a=(0,ne.Tn)(n)?n(t):n;return a?B.createElement("span",{className:(0,P.$)(`${o}-separator`,r),style:i},a):null},mo=B.forwardRef((e,t)=>{const{prefixCls:o,length:n=6,size:r,defaultValue:i,value:a,onChange:l,formatter:s,separator:c,variant:d,disabled:m,status:u,autoFocus:p,mask:g,type:h,autoComplete:f,onInput:$,onFocus:b,inputMode:v,classNames:x,styles:y,className:C,style:S,...k}=e,{classNames:w,styles:E,getPrefixCls:A,direction:z,style:I,className:N}=(0,H.TP)("otp"),M=A("otp",o),[R]=(0,ro.A)("otp",d,void 0,"input"),F={...e,length:n,variant:R},D=(0,X.XT)(I),L=(0,X.XT)(S),[W,O]=(0,X.AV)([w,x],[E,D,y,L],{props:F}),_=(0,T.KE)(k,{aria:!0,data:!0,attr:!0}),[q,j]=ao(M),G=(0,We.A)(e=>r??e),K=B.useContext(fe.$W),V=(0,no.v)(K.status,u),Q=B.useMemo(()=>({...K,status:V,hasFeedback:!1,feedbackIcon:null}),[K,V]),Y=B.useRef(null),U=B.useRef({});B.useImperativeHandle(t,()=>({focus:()=>
1{U.current[0]?.focus()},blur:()=>{for(let e=0;e<n;e+=1)U.current[e]?.blur()},nativeElement:Y.current}));const Z=e=>s?s(e):e,[J,ee]=B.useState(()=>so(Z(i||"")));B.useEffect(()=>{void 0!==a&&ee(so(a))},[a]);const te=(0,T._q)(e=>{ee(e),$&&$(e),l&&e.length===n&&e.every(e=>e)&&e.some((e,t)=>J[t]!==e)&&l(e.join(""))}),oe=(0,T._q)((e,t)=>{let o=(0,$e.A)(J);for(let t=0;t<e;t+=1)o[t]||(o[t]="");t.length<=1?o[e]=t:o=o.slice(0,e).concat(so(t)),o=o.slice(0,n);for(let e=o.length-1;e>=0&&!o[e];e-=1)o.pop();const r=Z(o.map(e=>e||" ").join(""));return o=so(r).map((e,t)=>" "!==e||o[t]?e:o[t]),o}),ne=(e,t)=>{const o=oe(e,t),r=Math.min(e+t.length,n-1);r!==e&&void 0!==o[e]&&U.current[r]?.focus(),te(o)},re=e=>{U.current[e]?.focus()},ie={variant:R,disabled:m,status:V,mask:g,type:h,inputMode:v,autoComplete:f};return B.createElement("div",{..._,ref:Y,className:(0,P.$)(C,M,{[`${M}-sm`]:"small"===G,[`${M}-lg`]:"large"===G,[`${M}-rtl`]:"rtl"===z},j,q,N,W.root),style:O.root,role:"group"},B.createElement(fe.$W.Provider,{value:Q},Array.from({length:n}).map((e,t)=>{const o=`otp-${t}`,r=J[t]||"";return B.createElement(B.Fragment,{key:o},B.createElement(lo,{ref:e=>{U.current[t]=e},index:t,size:G,htmlSize:1,className:(0,P.$)(W.input,`${M}-input`),style:O.input,onChange:ne,value:r,onActiveChange:re,autoFocus:0===t&&p,onFocus:e=>((e,t)=>{for(let e=0;e<t;e+=1)if(!U.current[e]?.input?.value){U.current[e]?.focus();break}b?.(e)})(e,t),...ie}),t<n-1&&B.createElement(co,{separator:c,index:t,prefixCls:M,className:(0,P.$)(W.separator),style:O.separator}))})))}),uo=mo;var po=o(85034),go=o(64951),ho=o(44353);const fo=e=>e?B.createElement(go.A,null):B.createElement(po.A,null),$o={click:"onClick",hover:"onMouseOver"},bo=B.forwardRef((e,t)=>{const{disabled:o,action:n="click",visibilityToggle:r=!0,iconRender:i,prefixCls:a,inputPrefixCls:l,suffix:s,className:c,style:d,classNames:m,styles:u,variant:p,...g}=e,{getPrefixCls:h,className:f,style:$,classNames:b,styles:v,iconRender:x}=(0,H.TP)("inputPassword"),[y]=(0,ro.A)("inputPassword",p,e.bordered,"input"),[C]=(0,ct.A)("global"),S=B.useContext(de.A),k=o??S,w={...e,disabled:k,variant:y},E=(0,X.XT)($),A=(0,X.XT)(d),[z,I]=(0,X.AV)([b,m],[v,E,u,A],{props:w}),N=(0,ne.Qd)(r)&&void 0!==r.visible,[M,R]=(0,B.useState)(()=>!!N&&r.visible),F=(0,B.useRef)(null);B.useEffect(()=>{N&&R(r.visible)},[N,r]);const D=(0,ho.A)(F),L=()=>{if(k)return;M&&D();const e=!M;N||R(e),(0,ne.Qd)(r)&&r.onVisibleChange?.(e)},W=h("input",l),O=h("input-password",a),_=r&&(e=>{const t=$o[n]||"",o=(i||x||fo)(M),a=(0,ne.Qd)(r)?r.tabIndex:void 0;return B.createElement("span",{key:"passwordIcon",role:"button",tabIndex:k?-1:a??0,className:`${e}-icon`,"aria-disabled":k,"aria-pressed":M,"aria-label":M?C.hide:C.show,onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.repeat||L())},[t]:L},o)})(O),q=(0,P.$)(O,f,c,{[`${O}-${e.size}`]:!!e.size}),j={...g,type:M?"text":"password",prefixCls:W,suffix:B.createElement(B.Fragment,null,_,s),disabled:k,className:q,classNames:z,styles:I,variant:y};return B.createElement(oo.A,{ref:(0,T.K4)(t,F),...j})}),vo=bo;var xo=o(39718),yo=o(54117),Co=o(5537);const So=(0,F.OF)(["Input","Search"],e=>(e=>{const{componentCls:t,antCls:o,calc:n,max:r}=e,i=`${t}-btn`,[a,l]=(0,F.PN)(o,"input-search"),s=e.inputFontSizeSM??e.fontSize,c=r(e.controlHeightSM,n(s).mul(e.lineHeight).add(n(e.paddingBlockSM).mul(2)).add(n(e.lineWidth).mul(2)).equal());return{[t]:{[a("btn-height")]:(0,V.zA)(e.controlHeight),width:"100%",[i]:{height:l("btn-height"),"&:focus-visible":{zIndex:5},[`&${o}-btn-icon-only`]:{width:l("btn-height")},"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}},[`&${t}-large`]:{[a("btn-height")]:(0,V.zA)(e.controlHeightLG)},[`&${t}-small`]:{[a("btn-height")]:(0,V.zA)(e.controlHeightSM)},[`&${t}-small ${i}`]:{minHeight:c,[`&${e.antCls}-btn-icon-only`]:{minWidth:c}}}}})((0,K.oX)(e,(0,io.C)(e))),io.b),ko=B.forwardRef((e,t)=>{const{prefixCls:o,inputPrefixCls:n,className:r,size:i,style:a,enterButton:l=!1,searchIcon:s,addonAfter:c,loading:d,disabled:m,onSearch:u,onChange:p,onCompositionStart:g,onCompositionEnd:h,variant:f,onPressEnter:$,classNames:b,styles:v,hidden:x,...y}=e,{direction:C,getPrefixCls:S,className:k,style:w,classNames:E,styles:A,searchIcon:z}=(0,H.TP)("inputSearch"),I=B.useContext(de.A),N=m??I,[M,,R]=(0,ro.A)("inputSearch",f,e.bordered),F=R?M:void 0,[D]=(0,ro.A)("inputSearch",f,e.bordered,"input"),L={...e,enterButton:l,variant:F},W=(0,X.XT)(w),O=(0,X.XT)(a),[q,j]=(0,X.AV)([E,b],[A,W,v,O],{props:L},{button:{_default:"root"}}),G=B.useRef(!1),K=S("input-search",o),V=S("input",n),[Q,Y]=So(K),{compactSize:U}=(0,Co.RQ)(K,C),Z=(0,We.A)(e=>i??U??e),J=B.useRef(null),ee=e=>{document.activeElement===J.current?.input&&e.preventDefault()},te=e=>{u&&u(J.current?.input?.value,e,{source:"input"})},oe="boolean"==typeof l?(0,yo.A)(s,z,B.createElement(xo.A,null)):null,ne=`${K}-btn`,re=(0,P.$)(ne,{[`${ne}-${F}`]:F});let ie;const ae=l||{},le=ae.type&&!0===ae.type.__ANT_BUTTON;if(le||"button"===ae.type){const e=ae.props;ie=(0,Ge.Ob)(ae,{disabled:N||e.disabled||!le&&d,onMouseDown:t=>{e.onMouseDown?.(t),ee(t)},onClick:e=>{ae?.props?.onClick?.(e),te(e)},key:"enterButton",...le?{className:(0,P.$)(re,e.className),loading:d||e.loading,size:Z}:{}})}else ie=B.createElement(_.A,{classNames:q.button,styles:j.button,className:re,color:l?"primary":"default",size:Z,disabled:m,key:"enterButton",onMouseDown:ee,onClick:te,loading:d,icon:oe,variant:"borderless"===F||"filled"===F||"underlined"===F?"text":l?"solid":void 0},l);c&&(ie=[ie,(0,Ge.Ob)(c,{key:"addonAfter"})]);const se=(0,P.$)(K,Y,{[`${K}-rtl`]:"rtl"===C,[`${K}-${Z}`]:!!Z,[`${K}-with-button`]:!!l},r,k,Q,q.root),ce=(0,T.KE)(y,{data:!0}),me=(0,T.cJ)({...y,classNames:(0,T.cJ)(q,["button","root"]),styles:(0,T.cJ)(j,["button","root"]),prefixCls:V,type:"search",size:Z,variant:D,onPressEnter:e=>{G.current||d||($?.(e),te(e))},onCompositionStart:e=>{G.current=!0,g?.(e)},onCompositionEnd:e=>{G.current=!1,h?.(e)},onChange:e=>{e?.target&&"click"===e.type&&u&&u(e.target.value,e,{source:"clear"}),p?.(e)},disabled:m},Object.keys(ce));return B.createElement(Co.Ay,{className:se,style:j.root,...ce,hidden:x},B.createElement(oo.A,{ref:(0,T.K4)(J,t),...me}),ie)}),wo=ko;var Eo=o(50078),Ao=o(45346);
1const zo=(0,F.OF)(["Input","TextArea"],e=>(e=>{const{componentCls:t,paddingLG:o}=e,n=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical","@media (hover: none) and (pointer: coarse)":{resize:"none"},[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[n]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${n}-has-feedback ${t}\n `]:{paddingInlineEnd:o},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}})((0,K.oX)(e,(0,io.C)(e))),io.b,{resetFont:!1}),Io=(0,B.forwardRef)((e,t)=>{const{prefixCls:o,bordered:n=!0,size:r,disabled:i,status:a,allowClear:l,classNames:s,rootClassName:c,className:d,style:m,styles:u,variant:p,showCount:g,onMouseDown:h,onResize:f,...$}=e,{getPrefixCls:b,direction:v,allowClear:x,autoComplete:y,className:C,style:S,classNames:k,styles:w}=(0,H.TP)("textArea"),E=B.useContext(de.A),A=i??E,{status:z,hasFeedback:I,feedbackIcon:N}=B.useContext(fe.$W),M=(0,no.v)(z,a),R=(0,X.XT)(S),F=(0,X.XT)(m),[D,L]=(0,X.AV)([k,s],[w,R,u,F],{props:e}),W=B.useRef(null);B.useImperativeHandle(t,()=>({resizableTextArea:W.current?.resizableTextArea,focus:e=>{(0,T.F4)(W.current?.resizableTextArea?.textArea,e)},blur:()=>W.current?.blur(),nativeElement:W.current?.nativeElement||null}));const O=b("input",o),_=(0,q.A)(O),[j,G]=(0,to.MG)(O,c);zo(O,_);const{compactSize:K,compactItemClassnames:V}=(0,Co.RQ)(O,v),Q=(0,We.A)(e=>r??K??e),[Y,U]=(0,ro.A)("textArea",p,n),Z=(0,Ao.O)({allowClear:l,contextAllowClear:x,componentName:"TextArea"}),[J,ee]=B.useState(!1),[te,oe]=B.useState(!1);return B.createElement(Eo.fs,{autoComplete:y,...$,style:L.root,styles:L,disabled:A,allowClear:Z,className:(0,P.$)(G,_,d,c,V,C,D.root,{[`${O}-textarea-affix-wrapper-resize-dirty`]:te}),classNames:{...D,textarea:(0,P.$)({[`${O}-sm`]:"small"===Q,[`${O}-lg`]:"large"===Q},j,D.textarea,J&&`${O}-mouse-active`),variant:(0,P.$)({[`${O}-${Y}`]:U},(0,no.L)(O,M)),affixWrapper:(0,P.$)(`${O}-textarea-affix-wrapper`,{[`${O}-affix-wrapper-rtl`]:"rtl"===v,[`${O}-affix-wrapper-sm`]:"small"===Q,[`${O}-affix-wrapper-lg`]:"large"===Q,[`${O}-textarea-show-count`]:g||e.count?.show},j)},prefixCls:O,suffix:I&&B.createElement("span",{className:`${O}-textarea-suffix`},N),showCount:g,ref:W,onResize:e=>{if(f?.(e),J&&(0,ne.Tn)(getComputedStyle)){const e=W.current?.nativeElement?.querySelector("textarea");e&&"both"===getComputedStyle(e).resize&&oe(!0)}},onMouseDown:e=>{ee(!0),h?.(e);const t=()=>{ee(!1),document.removeEventListener("mouseup",t)};document.addEventListener("mouseup",t)}})}),Bo=Io,No=oo.A;No.Group=e=>{const{getPrefixCls:t,direction:o}=(0,B.useContext)(H.QO),{prefixCls:n,className:r}=e,i=t("input-group",n),a=t("input"),[l,s]=(0,to.Ay)(a),c=(0,P.$)(i,s,{[`${i}-lg`]:"large"===e.size,[`${i}-sm`]:"small"===e.size,[`${i}-compact`]:e.compact,[`${i}-rtl`]:"rtl"===o},l,r),d=(0,B.useContext)(fe.$W),m=(0,B.useMemo)(()=>({...d,isFormItemInput:!1}),[d]);return B.createElement(fe.$W.Provider,{value:m},B.createElement(me.A.Compact,{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onF
1ocus:e.onFocus,onBlur:e.onBlur},e.children))},No.Search=wo,No.TextArea=Bo,No.Password=vo,No.OTP=uo;const Mo=No;var To=o(70663),Po=o(10882),Ro=o(42348),Ho=o(38879);const Fo=({suffixCls:e,tagName:t,displayName:o})=>o=>B.forwardRef((n,r)=>B.createElement(o,{ref:r,suffixCls:e,tagName:t,...n})),Do=B.forwardRef((e,t)=>{const{prefixCls:o,suffixCls:n,className:r,tagName:i,...a}=e,{getPrefixCls:l}=B.useContext(H.QO),s=l("layout",o),[c,d]=(0,Ho.Ay)(s),m=n?`${s}-${n}`:s;return B.createElement(i,{className:(0,P.$)(o||m,r,c,d),ref:t,...a})}),Lo=B.forwardRef((e,t)=>{const{direction:o}=B.useContext(H.QO),[n,r]=B.useState([]),{prefixCls:i,className:a,rootClassName:l,children:s,hasSider:c,tagName:d,style:m,...u}=e,p=(0,T.cJ)(u,["suffixCls"]),{getPrefixCls:g,className:h,style:f}=(0,H.TP)("layout"),$=g("layout",i),b=function(e,t,o){return"boolean"==typeof o?o:!!e.length||(0,T.$r)(t).some(e=>e.type===Ro.A)}(n,s,c),[v,x]=(0,Ho.Ay)($),y=(0,P.$)($,{[`${$}-has-sider`]:b,[`${$}-rtl`]:"rtl"===o},h,a,l,v,x),C=B.useMemo(()=>({siderHook:{addSider:e=>{r(t=>[].concat((0,$e.A)(t),[e]))},removeSider:e=>{r(t=>t.filter(t=>t!==e))}}}),[]);return B.createElement(Po.M.Provider,{value:C},B.createElement(d,{ref:t,className:y,style:{...f,...m},...p},s))}),Wo=Fo({tagName:"div",displayName:"Layout"})(Lo),Oo=Fo({suffixCls:"header",tagName:"header",displayName:"Header"})(Do),Xo=Fo({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Do),_o=Fo({suffixCls:"content",tagName:"main",displayName:"Content"})(Do),qo=Wo;qo.Header=Oo,qo.Footer=Xo,qo.Content=_o,qo.Sider=Ro.A,qo._InternalSiderContext=Ro.P;const jo=qo;var Go=o(34203),Ko=o(5664),Vo=o(93148),Qo=o(83049),Yo=o(19640),Uo=o(62876),Zo=o(34595),Jo=o(4842),en=o(38069);const tn=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}}}},on=e=>{const{componentCls:t}=e;return{[`&${t}-small ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-quick-jumper":{input:{...(0,to.BZ)(e),width:e.paginationMiniQuickJumperInputWidth}}}}},nn=e=>{const{componentCls:t}=e;return{[`&${t}-large ${t}-options`]:{"&-quick-jumper":{input:{...(0,to.xp)(e)}}}}},rn=e=>{const{componentCls:t,antCls:o}=e,[,n]=(0,F.PN)(o,"pagination");return{[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{height:n("item-size-actual"),lineHeight:n("item-size-actual"),verticalAlign:"top",[`${t}-item-link`]:{height:n("item-size-actual"),backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:n("item-size-actual"),lineHeight:n("item-size-actual")}}},[`${t}-simple-pager`]:{display:"inline-flex",alignItems:"center",height:n("item-size-actual"),marginInlineEnd:n("item-spacing-actual"),input:{boxSizing:"border-box",height:"100%",width:e.quickJumperInputWidth,padding:`0 ${(0,V.zA)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,V.zA)(e.inputOutlineOffset)} 0 ${(0,V.zA)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBg
1ContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}},[`&${t}-disabled`]:{[`${t}-prev, ${t}-next`]:{[`${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}},[`&${t}-small`]:{[`${t}-simple-pager`]:{input:{width:e.paginationMiniQuickJumperInputWidth}}}}}},an=e=>{const{componentCls:t}=e,o=`${t}-options-quick-jumper input, ${t}-simple-pager input`;return{[`&${t}-filled`]:{[o]:{background:e.colorFillTertiary,borderColor:"transparent","&:hover":{background:e.colorFillSecondary},"&:focus":{borderColor:e.activeBorderColor,outline:0,backgroundColor:e.activeBg},"&[disabled]":{...(0,en.eT)(e)}}},[`&${t}-borderless`]:{[o]:{background:"transparent",border:"none","&:focus":{outline:"none",boxShadow:"none"},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-underlined`]:{[o]:{background:e.colorBgContainer,borderWidth:`${(0,V.zA)(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${e.colorBorder} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${e.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus":{borderColor:`transparent transparent ${e.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg},"&[disabled]":{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"}}}}},ln=e=>{const{componentCls:t,iconCls:o,sizeLG:n,antCls:r}=e,[,i]=(0,F.PN)(r,"pagination");return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",inset:0,display:"inline-flex",justifyContent:"center",alignItems:"center",margin:"auto",color:e.colorTextDisabled,textAlign:"center",opacity:1,transition:`all ${e.motionDurationMid}`,[`${o}-ellipsis > svg`]:{width:n,height:n}}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`\n ${t}-prev,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{marginInlineEnd:i("item-spacing-actual")},[`\n ${t}-prev,\n ${t}-next,\n ${t}-jump-prev,\n ${t}-jump-next\n `]:{display:"inline-block",minWidth:i("item-size-actual"),height:i("item-size-actual"),color:e.colorText,fontFamily:e.fontFamily,lineHeight:i("item-size-actual"),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle",[`&-size-changer, &-size-changer${t}-options-size-changer-select`]:{width:"auto"},"&-quick-jumper":{display:"inline-block",height:i("item-size-actual"),marginInlineStart:e.marginXS,lineHeight:i("item-size-actual"),verticalAlign:"baseline",input:{...(0,to.wj)(e),...(0,en.nI)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...(0,en.eT)(e)},width:e.quickJumperInputWidth,height:i("item-size-actual"),boxSizing:"border-box",margin:0,marginInlineStart:i("item-spacing-actual"),marginInlineEnd:i("item-spacing-actual")}}}}},sn=e=>{const{componentCls:t,antCls:o}=e,[,n]=(0,F.PN)(o,"pagination");return{[`${t}-item`]:{display:"inline-block",minWidth:n("item-size-actual"),height:n("item-size-actual"),marginInlineEnd:n("item-spacing-actual"),fontFamily:e.fontFamily,lineHeight:(0,V.zA)(e.calc(n("item-size-actual")).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,V.zA)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}},cn=e=>{const{componentCls:t,antCls:o}=e,[n,r]=(0,F.PN)(o,"pagination");return{[t]:{[n("item-size-actual")]:(0,V.zA)(e.itemSize),[n("item-spacing-actual")]:(0,V.zA)(e.marginXS),"&-small":{[n("item-size-actual")]:(0,V.zA)(e.itemSizeSM),[n("item-spacing-actual")]:(0,V.zA)(e.marginXXS)},"&-large":{[n("item-size-actual")]:(0,V.zA)(e.itemSizeLG),[n("item-spacing-actual")]:(0,V.zA)(e.marginSM)},...(0,Y.dF)(e),display:"flex",alignItems:"center","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:r("item-size-actual"),marginInlineEnd:r("item-spacing-actual"),lineHeight:(0,V.zA)(e.calc(r("item-size-actual")).sub(2).equal()),verticalAlign:"middle"},...sn(e),...ln(e),...rn(e),...an(e),...on(e),...nn(e),...tn(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},dn=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:{...(0,Y.K8)(e)},[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}
1,...(0,Y.jk)(e)}},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:(0,Y.jk)(e)}}}},mn=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemSizeLG:e.controlHeightLG,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...(0,io.b)(e)}),un=e=>(0,K.oX)(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,io.C)(e)),pn=(0,F.OF)("Pagination",e=>{const t=un(e);return[cn(t),dn(t)]},mn),gn=(0,F.bf)(["Pagination","bordered"],e=>(e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}})(un(e)),mn);function hn(e){return(0,B.useMemo)(()=>"boolean"==typeof e?[e,{}]:(0,ne.Qd)(e)?[!0,e]:[void 0,void 0],[e])}const fn=e=>{const{align:t,prefixCls:o,selectPrefixCls:n,className:r,rootClassName:i,style:a,size:l,locale:s,responsive:c,showSizeChanger:d,components:m,selectComponentClass:u,pageSizeOptions:p,styles:g,classNames:h,...f}=e,{xs:$}=(0,Ze.A)(c),[,b]=(0,Jo.Ay)(),{getPrefixCls:v,direction:x,showSizeChanger:y,className:C,style:S,classNames:k,styles:w,totalBoundaryShowSizeChanger:E}=(0,H.TP)("pagination"),A=v("pagination",o),[z,I]=pn(A),N=(0,We.A)(l),M="small"===N||!(!$||N||!c),[T,R]=(0,ro.A)("input"),F={...e,size:N},D=(0,X.XT)(S),L=(0,X.XT)(a),[W,O]=(0,X.AV)([k,h],[w,D,g,L],{props:F}),[_]=(0,ct.A)("Pagination",Uo.A),q={..._,...s},[j,G]=hn(d),[K,V]=hn(y),Q=j??K,Y=G??V,U=u||Zo.A,Z=B.useMemo(()=>p?p.map(Number):void 0,[p]),J=B.useMemo(()=>{const e=B.createElement("span",{className:`${A}-item-ellipsis`},B.createElement(Qo.A,null));return{prevIcon:B.createElement("button",{className:`${A}-item-link`,type:"button",tabIndex:-1},"rtl"===x?B.createElement(Nt.A,null):B.createElement(Bt.A,null)),nextIcon:B.createElement("button",{className:`${A}-item-link`,type:"button",tabIndex:-1},"rtl"===x?B.createElement(Bt.A,null):B.createElement(Nt.A,null)),jumpPrevIcon:B.createElement("a",{className:`${A}-item-link`},B.createElement("div",{className:`${A}-item-container`},"rtl"===x?B.createElement(Vo.A,{className:`${A}-item-link-icon`}):B.createElement(Ko.A,{className:`${A}-item-link-icon`}),e)),jumpNextIcon:B.createElement("a",{className:`${A}-item-link`},B.createElement("div",{className:`${A}-item-container`},"rtl"===x?B.createElement(Ko.A,{className:`${A}-item-link-icon`}):B.createElement(Vo.A,{className:`${A}-item-link-icon`}),e))}},[x,A]),ee=v("select",n),te=(0,P.$)({[`${A}-${t}`]:!!t,[`${A}-${N}`]:N,[`${A}-${T}`]:R&&"outlined"!==T,[`${A}-mini`]:M,[`${A}-rtl`]:"rtl"===x,[`${A}-bordered`]:b.wireframe},C,r,i,W.root,z,I),oe={...O.root};return B.createElement(B.Fragment,null,b.wireframe&&B.createElement(gn,{prefixCls:A}),B.createElement(Yo.A,{...J,...f,styles:O,classNames:W,style:oe,prefixCls:A,selectPrefixCls:ee,className:te,locale:q,pageSizeOptions:Z,showSizeChanger:Q,totalBoundaryShowSizeChanger:f.totalBoundaryShowSizeChanger??E,sizeChangerRender:e=>{const{disabled:t,size:o,onSizeChange:n,"aria-label":r,className:i,options:a}=e,l=m?.sizeChanger;if(l)return B.createElement(l,{value:o,onChange:n,disabled:!!t,className:i});const{className:s,onChange:c}=Y||{},d=a.find(e=>String(e.value)===String(o))?.value;return B.createElement(U,{disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":r,options:a,...Y,value:d,onChange:(e,t)=>
1{n?.(e),c?.(e,t)},size:N,className:(0,P.$)(`${A}-options-size-changer-select`,i,s)})}}))};var $n=o(97973);const bn=80*Math.PI,vn=e=>{const{dotClassName:t,style:o,hasCircleCls:n}=e;return B.createElement("circle",{className:(0,P.$)(`${t}-circle`,{[`${t}-circle-bg`]:n}),r:40,cx:50,cy:50,strokeWidth:20,style:o})},xn=({percent:e,prefixCls:t})=>{const o=`${t}-dot`,n=`${o}-holder`,r=`${n}-hidden`,[i,a]=B.useState(!1);(0,T.Nf)(()=>{0!==e&&a(!0)},[e]);const l=Math.max(Math.min(e,100),0);if(!i)return null;const s={strokeDashoffset:""+bn/4,strokeDasharray:`${bn*l/100} ${bn*(100-l)/100}`};return B.createElement("span",{className:(0,P.$)(n,`${o}-progress`,{[r]:l<=0})},B.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l},B.createElement(vn,{dotClassName:o,hasCircleCls:!0}),B.createElement(vn,{dotClassName:o,style:s})))};function yn(e){const{prefixCls:t,percent:o=0,className:n,style:r}=e,i=`${t}-dot`,a=`${i}-holder`,l=`${a}-hidden`;return B.createElement(B.Fragment,null,B.createElement("span",{className:(0,P.$)(a,n,o>0&&l),style:r},B.createElement("span",{className:(0,P.$)(i,`${t}-dot-spin`)},[1,2,3,4].map(e=>B.createElement("i",{className:`${t}-dot-item`,key:e})))),B.createElement(xn,{prefixCls:t,percent:o}))}function Cn(e){const{prefixCls:t,indicator:o,percent:n,className:r,style:i}=e,a=`${t}-dot`;return o&&B.isValidElement(o)?(0,Ge.Ob)(o,e=>({className:(0,P.$)(e.className,a,r),style:{...e.style,...i},percent:n})):B.createElement(yn,{prefixCls:t,percent:n,className:r,style:i})}const Sn=new V.Mo("antSpinMove",{to:{opacity:1}}),kn=new V.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),wn=e=>{const{componentCls:t}=e,o=`${t}-section`;return{[t]:{...(0,Y.dF)(e),position:"relative","&-rtl":{direction:"rtl"},[`&${o}, > ${o}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:e.paddingSM,color:e.colorPrimary},[`&${o}`]:{display:"inline-flex"},[`> ${o}`]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:"auto"},[`> ${o}`]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}},En=e=>{const{componentCls:t,antCls:o,motionDurationSlow:n}=e,[r,i]=(0,F.PN)(o,"spin");return{[t]:{[r("dot-holder-size")]:e.dotSize,[r("dot-item-size")]:`calc((${i("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:i("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(e=>`${e} ${n} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}
1},position:"relative",display:"inline-block",fontSize:i("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:kn,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:i("dot-item-size"),height:i("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Sn,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>`${e} ${n} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}}}}},An=e=>{const{componentCls:t}=e,[o]=(0,F.PN)(e.antCls,"spin");return{[t]:{"&-sm":{[o("dot-holder-size")]:e.dotSizeSM},"&-lg":{[o("dot-holder-size")]:e.dotSizeLG}}}},zn=(0,F.OF)("Spin",e=>{const t=(0,K.oX)(e,{spinDotDefault:e.colorTextDescription});return[wn(t),En(t),An(t)]},e=>{const{controlHeightLG:t,controlHeight:o}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:o}}),In=[[30,.05],[70,.03],[96,.01]];let Bn;const Nn=B.forwardRef((e,t)=>{const{prefixCls:o,spinning:n=!0,delay:r=0,className:i,rootClassName:a,size:l,tip:s,description:c,wrapperClassName:d,style:m,children:u,fullscreen:p=!1,indicator:g,percent:h,classNames:f,styles:$,...b}=e,{getPrefixCls:v,direction:x,indicator:y,className:C,style:S,classNames:k,styles:w}=(0,H.TP)("spin"),E=v("spin",o),[A,z]=zn(E),[I,N]=B.useState(()=>n&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(n,r)),M=function(e,t){const[o,n]=B.useState(0),r=B.useRef(null),i="auto"===t;return B.useEffect(()=>(i&&e&&(n(0),r.current=setInterval(()=>{n(e=>{const t=100-e;for(let o=0;o<In.length;o+=1){const[n,r]=In[o];if(e<=n)return e+t*r}return e})},200)),()=>{r.current&&(clearInterval(r.current),r.current=null)}),[i,e]),i?o:t}(I,h);B.useEffect(()=>{if(n){const e=(0,$n.s)(r,()=>{N(!0)});return e(),()=>{e?.cancel?.()}}N(!1)},[r,n]);const T=(0,We.A)(e=>l??e),R=c??s,F={...e,size:T,spinning:I,tip:R,description:R,fullscreen:p,children:u,percent:M},D=(0,X.XT)(S),[L,W]=(0,X.AV)([k,f],[w,D,$],{props:F}),O=g??y??Bn,_=void 0!==u,q=_||p,j=B.createElement(B.Fragment,null,B.createElement(Cn,{className:(0,P.$)(L.indicator),style:W.indicator,prefixCls:E,indicator:O,percent:M}),R&&B.createElement("div",{className:(0,P.$)(`${E}-description`,L.tip,L.description),style:{...W.tip,...W.description}},R)),G=B.useRef(null);return B.useImperativeHandle(t,()=>({nativeElement:G.current})),B.createElement("div",{ref:G,className:(0,P.$)(E,{[`${E}-sm`]:"small"===T,[`${E}-lg`]:"large"===T,[`${E}-spinning`]:I,[`${E}-rtl`]:"rtl"===x,[`${E}-fullscreen`]:p},a,L.root,p&&L.mask,q?d:[`${E}-section`,L.section],C,i,A,z),style:{...W.root,...q?{}:W.section,...p?W.mask:{},...m},"aria-live":"polite","aria-busy":I,...b},I&&(q?B.createElement("div",{className:(0,P.$)(`${E}-section`,L.section),style:W.section},j):j),_&&B.createElement("div",{className:(0,P.$)(`${E}-container`,L.container),style:W.container},u))});Nn.setDefaultIndicator=e=>{Bn=e};const Mn=Nn,Tn=B.createContext({}),Pn=(Tn.Consumer,B.forwardRef((e,t)=>{const{prefixCls:o,className:n,avatar:r,title:i,description:a,...l}=e,{getPrefixCls:s}=(0,B.useContext)(H.QO),c=s("list",o),d=(0,P.$)(`${c}-item-meta`,n),m=B.useRef(null);B.useImperativeHandle(t,()=>({nativeElement:m.current}));const u=B.createElement("div",{className:`${c}-item-meta-content`},i&&B.createElement("h4",{className:`${c}-item-meta-title`},i),a&&B.createElement("div",{className:`${c}-item-meta-description`},a));return B.createElement("div",{ref:m,...l,className:d},r&&B.createElement("div",{className:`${c}-item-meta-avatar`},r),(i||a)&&u)})),Rn=B.forwardRef((e,t)=>
1{const{prefixCls:o,children:n,actions:r,extra:i,styles:a,className:l,classNames:s,colStyle:c,...d}=e,{grid:m,itemLayout:u}=(0,B.useContext)(Tn),{getPrefixCls:p,list:g}=(0,B.useContext)(H.QO),h=e=>(0,P.$)(g?.item?.classNames?.[e],s?.[e]),f=e=>({...g?.item?.styles?.[e],...a?.[e]}),$=p("list",o),b=r&&r.length>0&&B.createElement("ul",{className:(0,P.$)(`${$}-item-action`,h("actions")),key:"actions",style:f("actions")},r.map((e,t)=>B.createElement("li",{key:`${$}-item-action-${t}`},e,t!==r.length-1&&B.createElement("em",{className:`${$}-item-action-split`})))),v=m?"div":"li",x=B.createElement(v,{...d,...m?{}:{ref:t},className:(0,P.$)(`${$}-item`,{[`${$}-item-no-flex`]:!("vertical"===u?i:!(()=>{const e=(0,T.$r)(n);return e.some(ne.Kg)&&e.length>1})())},l)},"vertical"===u&&i?[B.createElement("div",{className:`${$}-item-main`,key:"content"},n,b),B.createElement("div",{className:(0,P.$)(`${$}-item-extra`,h("extra")),key:"extra",style:f("extra")},i)]:[n,b,(0,Ge.Ob)(i,{key:"extra"})]);return m?B.createElement(it.A,{ref:t,flex:1,style:c},x):x}),Hn=Rn;Hn.Meta=Pn;const Fn=Hn,Dn=e=>{const{listBorderedCls:t,componentCls:o,paddingLG:n,margin:r,itemPaddingSM:i,itemPaddingLG:a,marginLG:l,borderRadiusLG:s}=e,c=(0,V.zA)(e.calc(s).sub(e.lineWidth).equal());return{[t]:{border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:s,[`${o}-header`]:{borderRadius:`${c} ${c} 0 0`},[`${o}-footer`]:{borderRadius:`0 0 ${c} ${c}`},[`${o}-header,${o}-footer,${o}-item`]:{paddingInline:n},[`${o}-pagination`]:{margin:`${(0,V.zA)(r)} ${(0,V.zA)(l)}`}},[`${t}${o}-sm`]:{[`${o}-item,${o}-header,${o}-footer`]:{padding:i}},[`${t}${o}-lg`]:{[`${o}-item,${o}-header,${o}-footer`]:{padding:a}}}},Ln=e=>{const{componentCls:t,screenSM:o,screenMD:n,marginLG:r,marginSM:i,margin:a}=e;return{[`@media screen and (max-width:${n}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:r}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:r}}}},[`@media screen and (max-width: ${o}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,V.zA)(a)}`}}}}}},Wn=e=>{const{componentCls:t,antCls:o,controlHeight:n,minHeight:r,paddingSM:i,marginLG:a,padding:l,itemPadding:s,colorPrimary:c,itemPaddingSM:d,itemPaddingLG:m,paddingXS:u,margin:p,colorText:g,colorTextDescription:h,motionDurationSlow:f,lineWidth:$,headerBg:b,footerBg:v,emptyTextPadding:x,metaMarginBottom:y,avatarMarginRight:C,titleMarginBottom:S,descriptionFontSize:k}=e;return{[t]:{...(0,Y.dF)(e),position:"relative","--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:v},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:a,[`${o}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:r,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:s,color:g,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:C},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:g},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,V.zA)(e.marginXXS)} 0`,color:g,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:g,transition:`all ${f}`,"&:hover":{color:c}}},[`${t}-item-meta-description`]:{color:h,fontSize:k,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,V.zA)(u)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:$,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,V.zA)(l)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:x,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}},[`${t}-grid ${o}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:y,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:S,color:g,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${(0,V.zA)(l)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:n},[`${t}-split${t}-something-after-last-item ${o}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:m},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},On=(0,F.OF)("List",e=>{const t=(0,K.oX)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Wn(t),Dn(t),Ln(t)]},e=>({contentWidth:220,itemPadding:`${(0,V.zA)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,V.zA)(e.paddingContentVerticalSM)} ${(0,V.zA)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,V.zA)(e.paddingContentVerticalLG)} ${(0,V.zA)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),{extraCssVarPrefixCls:({prefixCls:e})=>[`${e}-container`]}),Xn=(e,t)=>{const{pagination:o=!1,prefixCls:n,bordered:r=!1,split:i=!0,className:a,rootClassName:l,style:s,children:c,itemLayout:d,loadMore:m,grid:u,dataSource:p=[],size:g,header:h,footer:f,loading:$=!1,rowKey:b,renderItem:v,locale:x,...y}=e,C=(0,ne.Qd)(o)?o:{},[S,k]=B.useState(C.defaultCurrent||1),[w,E]=B.useState(C.defaultPageSize||10),{getPrefixCls:A,direction:z,className:I,style:N}=(0,H.TP)("list"),{renderEmpty:M}=B.useContext(H.QO),R=e=>(t,n)=>{k(t),E(n),o&&o?.[e]?.(t,n)},F=R("onChange"),D=R("onShowSizeChange"),L=(e,t)=>{if(!v)return null;let o;return o=(0,ne.Tn)(b)?b(e):b?e[b]:e.key,o??(o=`list-item-${t}`),B.createElement(B.Fragment,{key:o},v(e,t))},W=!!(m||o||f),O=A("list",n),[X,_]=On(O);let q=$;"boolean"==typeof q&&(q={spinning:q});const j=!!q?.spinning;let G="";switch((0,We.A)(g)){case"large":G="lg";break;case"small":G="sm"}const K=(0,P.$)(O,{[`${O}-vertical`]:"vertical"===d,[`${O}-${G}`]:G,[`${O}-split`]:i,[`${O}-bordered`]:r,[`${O}-loading`]:j,[`${O}-grid`]:!!u,[`${O}-something-after-last-item`]:W,[`${O}-rtl`]:"rtl"===z},I,a,l,X,_),V=`${O}-container`,Q=(0,T.v6)({current:1,total:0,position:"bottom"},{total:p.length,current:S,pageSize:w},o||{}),Y=Math.ceil(Q.total/Q.pageSize);Q.current=Math.min(Q.current,Y);const U=o&&B.createElement("div",{className:(0,P.$)(`${O}-pagination`)},B.createElement(fn,{align:"end",...Q,onChange:F,onShowSizeChange:D}
1));let Z=(0,$e.A)(p);o&&p.length>(Q.current-1)*Q.pageSize&&(Z=(0,$e.A)(p).splice((Q.current-1)*Q.pageSize,Q.pageSize));const J=Object.keys(u||{}).some(e=>Ue.ye.includes(e)),ee=(0,Ze.A)(J),te=B.useMemo(()=>{for(let e=0;e<Ue.ye.length;e+=1){const t=Ue.ye[e];if(ee[t])return t}},[ee]),oe=B.useMemo(()=>{if(!u)return;const e=te&&u[te]?u[te]:u.column;return e?{width:100/e+"%",maxWidth:100/e+"%"}:void 0},[JSON.stringify(u),te]);let re=j&&B.createElement("div",{style:{minHeight:53}});if(Z.length>0){const e=Z.map(L);re=u?B.createElement(rt,{className:(0,P.$)(V,_),gutter:u.gutter},B.Children.map(e,e=>B.createElement("div",{key:e?.key,style:oe},e))):B.createElement("ul",{className:(0,P.$)(`${O}-items`,V,_)},e)}else c||j||(re=B.createElement("div",{className:`${O}-empty-text`},x?.emptyText||M?.("List")||B.createElement(Go.A,{componentName:"List"})));const ie=Q.position,ae=B.useMemo(()=>({grid:u,itemLayout:d}),[JSON.stringify(u),d]);return B.createElement(Tn.Provider,{value:ae},B.createElement("div",{ref:t,style:{...N,...s},className:K,...y},("top"===ie||"both"===ie)&&U,h&&B.createElement("div",{className:`${O}-header`},h),B.createElement(Mn,{...q},re,c),f&&B.createElement("div",{className:`${O}-footer`},f),m||("bottom"===ie||"both"===ie)&&U))},_n=B.forwardRef(Xn);_n.Item=Fn;const qn=_n;var jn=o(73653);const Gn=(0,F.OF)("Listy",e=>{const{componentCls:t,itemPaddingBlock:o,itemPaddingInline:n}=e;return{[t]:{...(0,Y.dF)(e),position:"relative",color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,[`${t}-item`]:{padding:`${(0,V.zA)(o)} ${(0,V.zA)(n)}`,borderBottom:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,transition:`background-color ${e.motionDurationMid} ${e.motionEaseInOut}`,"&:hover":{backgroundColor:e.controlItemBgHover}},[`${t}-group-header`]:{boxSizing:"border-box",padding:`${(0,V.zA)(e.paddingXS)} ${(0,V.zA)(n)}`,color:e.colorTextDescription,fontWeight:e.fontWeightStrong,backgroundColor:e.colorBgContainer,backgroundImage:`linear-gradient(${e.colorFillAlter}, ${e.colorFillAlter})`,"&-sticky":{position:"sticky",top:0,insetInline:0,zIndex:1},"&-fixed":{position:"absolute",top:0,insetInline:0,transform:"translateY(0)",pointerEvents:"auto"},"&-holder":{position:"absolute",inset:0,overflow:"hidden",pointerEvents:"none"}},[`${t}-group-section`]:{position:"relative"},[`${t}-scrollbar`]:{zIndex:1,cursor:"pointer","&:hover":{backgroundColor:e.colorFillQuaternary}},"&-rtl":{direction:"rtl"}}}},e=>({itemPaddingBlock:e.paddingSM,itemPaddingInline:e.padding})),Kn=(e,t)=>{const{prefixCls:o,rootClassName:n,className:r,style:i,classNames:a,styles:l,virtual:s,...c}=e,{getPrefixCls:d,direction:m,className:u,style:p,classNames:g,styles:h}=(0,H.TP)("listy"),{virtual:f}=B.useContext(H.QO),$=d("listy",o),b=(0,q.A)($),[v,x]=Gn($,b),[,y]=(0,Jo.Ay)(),C={...y,...y.Listy},S=C.fontHeight+2*(C.itemPaddingBlock??C.paddingSM),k=(0,X.XT)(p),w=(0,X.XT)(i),[E,A]=(0,X.AV)([g,a],[h,k,l,w],{props:e}),z=(0,P.$)(u,E.root,n,r,v,x,b),I=s??f??!1;return B.createElement(jn.A,{...c,ref:t,prefixCls:$,direction:m,virtual:I,itemHeight:S,classNames:{...E,root:z},styles:A})},Vn=B.forwardRef(Kn);var Qn=o(57696);const Yn=B.forwardRef((e,t)=>{const{item:o,style:n,prefixCls:r,itemRender:i,className:a,index:l,column:s,onResize:c}=e,d=`${r}-item`,m=(0,B.useMemo)(()=>o.children??i?.({...o,index:l,column:s}),[o,i,s,l]);let u=B.createElement("div",{ref:t,style:n,className:(0,P.$)(d,a)},m);return c&&(u=B.createElement(Qn.Ay,{onResize:c},u)),u}),Un=Yn,Zn=(0,F.OF)("Masonry",e=>{const{componentCls:t}=e,o=`${t}-item`;return{[t]:{position:"relative",boxSizing:"border-box",display:"flex",flexDirection:"column",flexWrap:"wrap","&-rtl":{direction:"rtl"},[`& > ${o}`]:{boxSizing:"border-box","&-fade":{"&-appear":{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseOut}`,opacity:0,"&-active":{opacity:1}},"&-leave":{transition:`opacity ${e.motionDurationFast} ${e.motionEaseOut}`,opacity:1,"&-active":{opacity:0}
1}},[`&:not(${o}-fade)`]:{transition:["left","right","top"].map(t=>`${t} ${e.motionDurationSlow} ${e.motionEaseOut}`).join(",")}}}}}),Jn=B.forwardRef((e,t)=>{const{rootClassName:o,className:n,style:r,classNames:i,styles:a,columns:l,prefixCls:s,gutter:c=0,items:d,itemRender:m,onLayoutChange:u,fresh:p}=e,{getPrefixCls:g,direction:h,className:f,style:$,classNames:b,styles:v}=(0,H.TP)("masonry"),x=g("masonry",s),y=g(),C=(0,q.A)(x),[S,k]=Zn(x,C),[w,E]=(0,F.PN)(y,"masonry"),A=B.useRef(null);B.useImperativeHandle(t,()=>({nativeElement:A.current}));const[z,I]=function(){const e=B.useRef(null);return null===e.current&&(e.current=new Map),[(t,o)=>{e.current.set(t,o)},t=>e.current.get(t)]}(),[N,R]=B.useState([]);B.useEffect(()=>{R(d||[])},[d]);const D=(0,Ze.A)(),L=Je(c,D),[W=0,O=W]=L,_=B.useMemo(()=>{if(!l)return 3;if((0,ne.Et)(l))return l;const e=Ue.ye.find(e=>D[e]&&void 0!==l[e]);return e?l[e]:l.xs??1},[l,D]),j={...e,columns:_},G=(0,X.XT)($),K=(0,X.XT)(r),[V,Q]=(0,X.AV)([b,i],[v,G,a,K],{props:j}),[Y,U]=B.useState([]),Z=function(e){const t=B.useRef(0),o=()=>{T.er.cancel(t.current)};return B.useEffect(()=>o,[]),(0,T._q)(()=>{o(),t.current=(0,T.er)(e)})}(()=>{const e=N.map((e,t)=>{const o=e.key??t,n=I(o),r=n?.getBoundingClientRect();return[o,r?r.height:0,e.column]});U(t=>(0,T.n4)(t,e)?t:e)}),[J,ee]=function(e,t,o){const[n,r]=B.useMemo(()=>{const n=new Array(t).fill(0),r=new Map;for(let i=0;i<e.length;i+=1){const[a,l,s]=e[i];let c=s??n.indexOf(Math.min.apply(Math,(0,$e.A)(n)));c=Math.min(c,t-1);const d=n[c];r.set(a,{column:c,top:d}),n[c]+=l+o}return[r,Math.max(0,Math.max.apply(Math,(0,$e.A)(n))-o)]},[t,e,o]);return[n,r]}(Y,_,O),te=B.useMemo(()=>N.map((e,t)=>{const o=e.key??t;return{item:e,itemIndex:t,itemKey:o,key:o,position:J.get(o)}}),[N,J]);B.useEffect(()=>{Z()},[N,_]);const[oe,re]=B.useState([]);return(0,T.Nf)(()=>{u&&te.every(({position:e})=>e)&&re(e=>{const t=te.map(({item:e,position:t})=>[e,t.column]);return(0,T.n4)(e,t)?e:t})},[te]),(0,T.Nf)(()=>{u&&d&&d.length===oe.length&&u(oe.map(([e,t])=>({...e,column:t})))},[oe]),B.createElement(Qn.Ay,{onResize:Z},B.createElement("div",{ref:A,className:(0,P.$)(x,f,V.root,o,n,S,k,{[`${x}-rtl`]:"rtl"===h}),style:{height:ee,...Q.root},onLoad:Z,onError:Z},B.createElement(M.aF,{keys:te,component:!1,motionAppear:!0,motionLeave:!0,motionName:`${x}-item-fade`},(e,t)=>{const{item:o,itemKey:n,position:r={},itemIndex:i,key:a,className:l,style:s}=e,{column:c=0}=r,d={[w("item-width")]:`calc((100% + ${W}px) / ${_})`,insetInlineStart:`calc(${E("item-width")} * ${c})`,width:`calc(${E("item-width")} - ${W}px)`,top:r.top,position:"absolute"};return B.createElement(Un,{prefixCls:x,key:a,item:o,style:{...s,...Q.item,...d},className:(0,P.$)(V.item,l),ref:(0,T.K4)(t,e=>z(n,e)),index:i,itemRender:m,column:c,onResize:p?Z:null})})))}),er=Jn;var tr=o(9887),or=o(74132),nr=o(87175),rr=o(49308);const ir=e=>{const{componentCls:t,fontSize:o,paddingXXS:n,colorBgElevated:r,borderRadiusLG:i,boxShadowSecondary:a,itemPaddingVertical:l,controlPaddingHorizontal:s,colorText:c,borderRadius:d,lineHeight:m,colorTextDisabled:u,controlItemBgHover:p,motionDurationSlow:g}=e;return{[t]:{"&-dropdown":{...(0,Y.dF)(e),position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:o,fontVariant:"initial",padding:n,backgroundColor:r,borderRadius:i,outline:"none",boxShadow:a,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":{...Y.L9,position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${(0,V.zA)(l)} ${(0,V.zA)(s)}`,color:c,borderRadius:d,fontWeight:"normal",lineHeight:m,cursor:"pointer",transition:`background-color ${g} ease`,"&:hover":{backgroundColor:p},"&-disabled":{color:u,cursor:"not-allowed","&:hover":{color:u,backgroundColor:p,cursor:"not-allowed"}},"&-selected":{color:c,fontWeight:e.fontWeightStrong,backgroundColor:p},"&-active":{backgroundColor:p}}}}}}},ar=e=>{const{componentCls:t,colorText:o,antCls:n,colorTextDisabled:r,calc:i}=e,[a,l]=(0,F.PN)(n,"cmp-mentions");return{[t]:[(0,Y.dF)(e),(0,to.wj)(e,{largeStyle:{padding:0},smallStyle:{padding:0}}),(0,en.Eb)(e),(0,en.sA)(e),(0,en.lB)(e),(0,en.aP)(e),{[a("padding-inline")]:e.paddingInline,[a("padding-block")]:e.paddingBlock,[a("control-height")]:e.controlHeight,display:"flex",padding:0,whiteSpace:"pre-wrap","> textarea":[(0,Y.dF)(e),(0,to.j_)(e.colorTextPlaceholder),{background:"transparent",border:"none",borderRadius:"inherit",outline:"none",flex:"auto",minWidth:0,resize:"none","&:disabled":{color:r}}],[`> textarea, ${t}-measure`]:{color:o,boxSizing:"border-box",margin:0,minHeight:i(l("control-height")).sub(i(e.lineWidth).mul(2).equal()).equal(),paddingInline:l("padding-inline"),paddingBlock:l("padding-block"),overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},[`${t}
1-measure`]:{position:"absolute",inset:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},[`${t}-suffix`]:{display:"inline-flex",alignItems:"center",flex:"none",color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,position:"absolute",top:"50%",transform:"translateY(-50%)",insetInlineEnd:l("padding-inline"),columnGap:e.marginXS,[`${t}-clear-icon`]:{cursor:"pointer",border:0,background:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"}},[`${n}-form-item-feedback-icon`]:{display:"inline-flex",alignItems:"center",justifyContent:"center"}}},{"&-has-suffix":{"> textarea":{paddingInlineEnd:i(e.paddingXXS).mul(1.5).add(e.fontSizeIcon).add(l("padding-inline")).equal()}}},{"&-disabled":{"> textarea":{...(0,en.eT)(e)}}},{"&-lg":{[a("padding-inline")]:e.paddingInlineLG,[a("padding-block")]:e.paddingBlockLG,[a("control-height")]:e.controlHeightLG},"&-sm":{[a("padding-inline")]:e.paddingInlineSM,[a("padding-block")]:e.paddingBlockSM,[a("control-height")]:e.controlHeightSM}}]}},lr=(0,F.OF)("Mentions",e=>{const t=(0,K.oX)(e,(0,io.C)(e));return[ar(t),ir(t)]},e=>({...(0,io.b)(e),dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50,itemPaddingVertical:(e.controlHeight-e.fontHeight)/2})),{Option:sr}=tr.A;function cr(){return!0}const dr=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,rootClassName:r,disabled:i,loading:a,filterOption:l,children:s,notFoundContent:c,options:d,status:m,allowClear:u,popupClassName:p,style:g,variant:h,classNames:f,styles:$,size:b,popupRender:v,...x}=e,[y,C]=B.useState(!1),S=B.useRef(null),k=(0,T.K4)(t,S),w=(0,We.A)(e=>b??e),{getPrefixCls:E,direction:A,allowClear:z,className:I,style:N,classNames:M,styles:R}=(0,H.TP)("mentions"),{renderEmpty:F}=B.useContext(H.QO),{status:D,hasFeedback:L,feedbackIcon:W}=B.useContext(fe.$W),_=(0,no.v)(D,m),j=B.useContext(de.A),G=i??j,K=E("mentions",o),V={...e,disabled:G,status:_,variant:h},Q=(0,X.XT)(N),Y=(0,X.XT)(g),[U,Z]=(0,X.AV)([M,f],[R,Q,$,Y],{props:V}),J=B.useMemo(()=>void 0!==c?c:F?.("Select")||B.createElement(Go.A,{componentName:"Select"}),[c,F]),ee=B.useMemo(()=>a?B.createElement(sr,{value:"ANTD_SEARCHING",disabled:!0},B.createElement(Mn,{size:"small"})):s,[a,s]),te=a?[{value:"ANTD_SEARCHING",disabled:!0,label:B.createElement(Mn,{size:"small"})}]:d,oe=a?cr:l,ne=(0,Ao.O)({allowClear:u,contextAllowClear:z,defaultAllowClear:!1,componentName:"Mentions"}),re=(0,q.A)(K),[ie,ae]=lr(K,re),[le,se]=(0,ro.A)("mentions",h),[ce]=(0,O.YK)("SelectLike",Z.popup?.zIndex),me=L&&B.createElement(B.Fragment,null,W),ue=(0,P.$)(I,n,r,ae,re,U.root,{[`${K}-sm`]:"small"===w,[`${K}-lg`]:"large"===w}),pe=(0,rr.A)(v);return B.createElement(tr.A,{silent:a,prefixCls:K,notFoundContent:J,className:ue,disabled:G,allowClear:ne,direction:A,style:Z.root,popupRender:pe,...x,filterOption:oe,onFocus:(...e)=>{x.onFocus&&x.onFocus.apply(x,e),C(!0)},onBlur:(...e)=>{x.onBlur&&x.onBlur.apply(x,e),C(!1)},ref:k,options:te,suffix:me,styles:{textarea:Z.textarea,popup:{...Z.popup,zIndex:ce},suffix:Z.suffix},classNames:{textarea:(0,P.$)(U.textarea),popup:(0,P.$)(U.popup,p,r,ie,ae,re),suffix:U.suffix,mentions:(0,P.$)({[`${K}-disabled`]:G,[`${K}-focused`]:y,[`${K}-rtl`]:"rtl"===A},ie),variant:(0,P.$)({[`${K}-${le}`]:se},(0,no.L)(K,_)),affixWrapper:ie}},ee)}),mr=dr;mr.Option=sr;const ur=(0,or.A)(mr,void 0,void 0,"mentions");mr._InternalPanelDoNotUseOrYouWillBeFired=ur,mr.getMentions=(e="",t={})=>{const{prefix:o="@",split:n=" "}=t,r=(0,nr.A)(o);return e.split(n).reduce((e,t="")=>{let o=null;if(r.some(e=>t.slice(0,e.length)===e&&(o=e,!0)),null!==o){const n={prefix:o,value:t.slice(o.length)};n.value&&e.push(n)}return e},[])};const pr=mr;var gr=o(57667),hr=o(76969),fr=o(18974),$r=o(21262),br=o(37148);var vr=o(98874),xr=o(22820);let yr=null,Cr=e=>e(),Sr=[],kr={};function wr(){const{getContainer:e,duration:t,rtl:o,maxCount:n,top:r,stack:i}=kr,a=e?.()||document.body;return{getContainer:()=>a,duration:t,rtl:o,maxCount:n,top:r,stack:i}}const Er=B.forwardRef((e,t)=>{const{messageConfig:o,sync:n}=e,{getPrefixCls:r}=(0,B.useContext)(H.QO),i=kr.prefixCls||r("message"),a=(0,B.useContext)(hr.B),[l,s]=(0,vr.y)({...o,prefixCls:i,...a.message});return B.useImperativeHandle(t,()=>{const e={...l};return Object.keys(e).forEach(t=>{e[t]=(...e)=>(n(),l[t].apply(l,e))}),{instance:e,sync:n}}),s}),Ar=B.forwardRef((e,t)=>
1{const[o,n]=B.useState(wr),r=()=>{n(wr)};B.useEffect(r,[]);const i=(0,C.cr)(),a=i.getRootPrefixCls(),l=i.getIconPrefixCls(),s=i.getTheme(),c=B.createElement(Er,{ref:t,sync:r,messageConfig:o});return B.createElement(C.Ay,{prefixCls:a,iconPrefixCls:l,theme:s},i.holderRender?i.holderRender(c):c)}),zr=()=>{if(!yr){const e=document.createDocumentFragment(),t={fragment:e};return yr=t,void Cr(()=>{(0,T.XX)(B.createElement(Ar,{ref:e=>{const{instance:o,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&o&&(t.instance=o,t.sync=n,zr())})}}),e)})}yr.instance&&(Sr.forEach(e=>{const{type:t,skipped:o}=e;if(!o)switch(t){case"open":Cr(()=>{const t=yr.instance.open({...kr,...e.config});t?.then(e.resolve),e.setCloseFn(t)});break;case"destroy":Cr(()=>{yr?.instance.destroy(e.key)});break;default:Cr(()=>{var o;const n=(o=yr.instance)[t].apply(o,(0,$e.A)(e.args));n?.then(e.resolve),e.setCloseFn(n)})}}),Sr=[])},Ir={open:function(e){const t=(0,xr.E)(t=>{let o;const n={type:"open",config:e,resolve:t,setCloseFn:e=>{o=e}};return Sr.push(n),()=>{o?Cr(()=>{o()}):n.skipped=!0}});return zr(),t},destroy:e=>{Sr.push({type:"destroy",key:e}),zr()},config:function(e){kr={...kr,...e},Cr(()=>{yr?.sync?.()})},useMessage:vr.A,_InternalPanelDoNotUseOrYouWillBeFired:$r.Ay,_InternalListDoNotUseOrYouWillBeFired:e=>{const{items:t,classNames:o,style:n}=e,{getPrefixCls:r}=(0,H.TP)("message"),i=r("message"),a=(0,q.A)(i),[l,s]=(0,br.A)(i,a),c=`${i}-notice`,d=t.map(e=>{const{content:t,duration:o,key:n,type:r}=e,a=r?`${c}-icon-${r}`:void 0;return{key:n,duration:o,icon:(0,$r.HC)(r),title:t,className:`${c}-${r}`,classNames:{wrapper:`${i}-${r}`,icon:a}}});return B.createElement(fr.qb,{prefixCls:i,placement:"top",configList:d,className:(0,P.$)(l,s,a),classNames:{...o,wrapper:o?.wrapper,title:o?.title},style:n,stack:!1})}},Br=Ir;["success","info","warning","error","loading"].forEach(e=>{Br[e]=(...t)=>function(e,t){(0,C.cr)();const o=(0,xr.E)(o=>{let n;const r={type:e,args:t,resolve:o,setCloseFn:e=>{n=e}};return Sr.push(r),()=>{n?Cr(()=>{n()}):r.skipped=!0}});return zr(),o}(e,t)});const Nr=Br;var Mr=o(43065),Tr=o(88192),Pr=o(54482);var Rr=o(68224);let Hr=null,Fr=e=>e(),Dr=[],Lr={};function Wr(){const{getContainer:e,rtl:t,maxCount:o,top:n,bottom:r,showProgress:i,pauseOnHover:a}=Lr,l=e?.()||document.body;return{getContainer:()=>l,rtl:t,maxCount:o,top:n,bottom:r,showProgress:i,pauseOnHover:a}}const Or=B.forwardRef((e,t)=>{const{notificationConfig:o,sync:n}=e,{getPrefixCls:r}=(0,B.useContext)(H.QO),i=Lr.prefixCls||r("notification"),a=(0,B.useContext)(hr.B),[l,s]=(0,Rr.G)({...o,prefixCls:i,...a.notification});return B.useEffect(n,[]),B.useImperativeHandle(t,()=>{const e={...l};return Object.keys(e).forEach(t=>{e[t]=(...e)=>(n(),l[t].apply(l,e))}),{instance:e,sync:n}}),s}),Xr=B.forwardRef((e,t)=>{const[o,n]=B.useState(Wr),r=()=>{n(Wr)};B.useEffect(r,[]);const i=(0,C.cr)(),a=i.getRootPrefixCls(),l=i.getIconPrefixCls(),s=i.getTheme(),c=B.createElement(Or,{ref:t,sync:r,notificationConfig:o});return B.createElement(C.Ay,{prefixCls:a,iconPrefixCls:l,theme:s},i.holderRender?i.holderRender(c):c)}),_r=()=>{if(!Hr){const e=document.createDocumentFragment(),t={fragment:e};return Hr=t,void Fr(()=>{(0,T.XX)(B.createElement(Xr,{ref:e=>{const{instance:o,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&o&&(t.instance=o,t.sync=n,_r())})}}),e)})}Hr.instance&&(Dr.forEach(e=>{switch(e.type){case"open":Fr(()=>{Hr.instance.open({...Lr,...e.config})});break;case"destroy":Fr(()=>{Hr?.instance?.destroy(e.key)})}}),Dr=[])};function qr(e){(0,C.cr)(),Dr.push({type:"open",config:e}),_r()}const jr={open:qr,destroy:e=>{Dr.push({type:"destroy",key:e}),_r()},config:function(e){Lr={...Lr,...e},Fr(()=>{Hr?.sync?.()})},useNotification:Rr.A,_InternalPanelDoNotUseOrYouWillBeFired:Tr.Ay,_InternalListDoNotUseOrYouWillBeFired:e=>{const{items:t,classNames:o,placement:n="topRight",style:r}=e,{getPrefixCls:i}=(0,H.TP)("notification"),a=i("notification"),l=(0,q.A)(a),[s,c]=(0,Pr.Ay)(a,l),d=`${a}-notice`,m=t.map(e=>{const{actions:t,description:o,duration:n,key:r,showProgress:i,title:a,type:l}=e,s=`${d}-icon-${l}`;return{key:r,actions:t,closable:{closeIcon:(0,Tr.aC)(d)},description:o,duration:n,icon:Tr.sr[l],showProgress:i,title:a,className:`${d}-${l}`,classNames:{icon:s}}});return B.createElement(fr.qb,{prefixCls:a,placement:n,configList:m,className:(0,P.$)(s,c,l),classNames:o,style:r,stack:!1})}};
1["success","info","warning","error"].forEach(e=>{jr[e]=t=>qr({...t,type:e})});const Gr=jr;var Kr=o(51840),Vr=o(68130),Qr=o(74208),Yr=o(97064),Ur=o(28718),Zr=o(26496);const Jr=(0,F.OF)("Popconfirm",e=>{const{componentCls:t,iconCls:o,antCls:n,zIndexPopup:r,colorText:i,colorWarning:a,marginXXS:l,marginXS:s,fontSize:c,fontWeightStrong:d,colorTextHeading:m}=e;return{[t]:{zIndex:r,[`&${n}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon`]:{color:a},[`> ${t}-message-icon ${o}`]:{fontSize:c,lineHeight:1,marginInlineEnd:s},[`${t}-title`]:{fontWeight:d,color:m,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:l,color:i}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}},e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),ei=e=>{const{prefixCls:t,okButtonProps:o,cancelButtonProps:n,title:r,description:i,cancelText:a,okText:l,okType:s="primary",icon:c=B.createElement(gt.A,null),showCancel:d=!0,close:m,onConfirm:u,onCancel:p,onPopupClick:g,classNames:h,styles:f}=e,{getPrefixCls:$}=B.useContext(H.QO),[b]=(0,ct.A)("Popconfirm",dt.A.Popconfirm),v=(0,Yr.b)(r),x=(0,Yr.b)(i);return B.createElement("div",{className:`${t}-inner-content`,onClick:g},B.createElement("div",{className:`${t}-message`},c&&B.createElement("span",{className:(0,P.$)(`${t}-message-icon`,h?.icon),style:f?.icon},c),B.createElement("div",{className:`${t}-message-text`},(0,T.AZ)(v)&&B.createElement("div",{className:(0,P.$)(`${t}-title`,h?.title),style:f?.title},v),(0,T.AZ)(x)&&B.createElement("div",{className:(0,P.$)(`${t}-description`,h?.content),style:f?.content},x))),B.createElement("div",{className:`${t}-buttons`},d&&B.createElement(_.A,{onClick:p,size:"small",...n},a||b?.cancelText),B.createElement(Qr.A,{buttonProps:{size:"small",...(0,Ur.DU)(s),...o},actionFn:u,close:m,prefixCls:$("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},l||b?.okText)))},ti=B.forwardRef((e,t)=>{const{prefixCls:o,placement:n="top",trigger:r,okType:i="primary",icon:a=B.createElement(gt.A,null),children:l,overlayClassName:s,onOpenChange:c,overlayStyle:d,styles:m,arrow:u,classNames:p,disabled:g=!1,mouseEnterDelay:h,mouseLeaveDelay:f,...$}=e,{getPrefixCls:b,className:v,style:x,classNames:y,styles:C,arrow:S,trigger:k,mouseEnterDelay:w,mouseLeaveDelay:E}=(0,H.TP)("popconfirm"),[A,z]=(0,T.PW)(e.defaultOpen??!1,e.open),I=(0,Vr.A)(u,S),N=r||k||"click",M=h??w??.1,R=f??E??.1,F=e=>{z(e),c?.(e)},D=b("popconfirm",o),L={...e,placement:n,trigger:N,okType:i,overlayStyle:d,styles:m,classNames:p,mouseEnterDelay:M,mouseLeaveDelay:R},W=(0,X.XT)(x),O=(0,X.XT)(d),[_,q]=(0,X.AV)([y,p],[C,W,m,O],{props:L}),j=(0,P.$)(D,v,s,_.root);return Jr(D),B.createElement(Kr.A,{arrow:I,...(0,T.cJ)($,["title"]),trigger:N,placement:n,onOpenChange:e=>{g||F(e)},open:A,ref:t,mouseEnterDelay:M,mouseLeaveDelay:R,classNames:{root:j,container:_.container,arrow:_.arrow},styles:{root:q.root,container:q.container,arrow:q.arrow},content:B.createElement(ei,{okType:i,icon:a,...e,prefixCls:D,close:()=>{F(!1)},onConfirm:t=>e.onConfirm?.call(void 0,t),onCancel:t=>{F(!1),e.onCancel?.call(void 0,t)},classNames:_,styles:q}),"data-popover-inject":!0},l)}),oi=ti;oi._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,placement:o,className:n,style:r,...i}=e,{getPrefixCls:a}=B.useContext(H.QO),l=a("popconfirm",t);return Jr(l),B.createElement(Zr.Ay,{placement:o,className:(0,P.$)(l,n),style:r,content:B.createElement(ei,{prefixCls:l,...i})})};const ni=oi;var ri=o(55615),ii=o(43667),ai=o(62494);const li=B.createElement(Mn,null);function si({prefixCls:e,locale:t,onRefresh:o,statusRender:n,status:r}){const i={expired:B.createElement(B.Fragment,null,B.createElement("p",{className:`${e}-expired`},t?.expired),o&&B.createElement(_.A,{type:"link",icon:B.createElement(ai.A,null),onClick:o},t?.refresh)),loading:li,scanned:B.createElement("p",{className:`${e}-scanned`},t?.scanned)};return(n??(e=>i[e.status]))({status:r,locale:t,onRefresh:o})}const ci=(0,F.OF)("QRCode",e=>(e=>{const{componentCls:t,lineWidth:o,lineType:n,colorSplit:r}=e;return{[t]:{...(0,Y.dF)(e),display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${(0,V.zA)(o)} ${n} ${r}`,position:"relative",overflow:"hidden",[`& > ${t}-cover`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeCoverBackgroun
1dColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}},[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}})((0,K.oX)(e,{QRCodeTextColor:e.colorText})),e=>({QRCodeCoverBackgroundColor:new Ft.Y(e.colorBgContainer).setA(.96).toRgbString()})),di=B.forwardRef((e,t)=>{const[,o]=(0,Jo.Ay)(),{value:n,type:r="canvas",icon:i="",size:a=160,iconSize:l,color:s=o.colorText,errorLevel:c="M",status:d="active",bordered:m=!0,onRefresh:u,style:p,className:g,rootClassName:h,prefixCls:f,bgColor:$="transparent",marginSize:b,statusRender:v,classNames:x,styles:y,boostLevel:C,...S}=e,{getPrefixCls:k,className:w,style:E,classNames:A,styles:z}=(0,H.TP)("qrcode"),I={...e,bgColor:$,type:r,size:a,status:d,bordered:m,errorLevel:c},N=(0,X.XT)(E),M=(0,X.XT)(p),[R,F]=(0,X.AV)([A,x],[z,N,y,M],{props:I}),D=k("qrcode",f),[L,W]=ci(D),O={src:i,x:void 0,y:void 0,height:(0,ne.Et)(l)?l:l?.height??40,width:(0,ne.Et)(l)?l:l?.width??40,excavate:!0,crossOrigin:"anonymous"},_=(0,T.KE)(S,!0),q=(0,T.cJ)(S,Object.keys(_)),j={value:n,size:a,level:c,bgColor:$,fgColor:s,style:{width:p?.width,height:p?.height},imageSettings:i?O:void 0,marginSize:b,boostLevel:C,..._},[G]=(0,ct.A)("QRCode"),K=B.useRef(null);if(B.useImperativeHandle(t,()=>({nativeElement:K.current})),!n)return null;const V=(0,P.$)(D,g,h,L,W,w,R.root,{[`${D}-borderless`]:!m}),Q={backgroundColor:$,...F.root,width:p?.width??a,height:p?.height??a};return B.createElement("div",{ref:K,...q,className:V,style:Q},"active"!==d&&B.createElement("div",{className:(0,P.$)(`${D}-cover`,R.cover),style:F.cover},B.createElement(si,{prefixCls:D,locale:G,status:d,onRefresh:u,statusRender:v})),"canvas"===r?B.createElement(ii.Xe,{...j}):B.createElement(ii.hp,{...j}))}),mi=di;var ui=o(37817),pi=o(86877),gi=o(18685);const hi=pi.A;hi.Button=gi.A,hi.Group=ui.A,hi.__ANT_RADIO=!0;const fi=hi;var $i=o(72637),bi=o(55678);const vi=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,V.zA)(e.lineWidthFocus)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},xi=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),yi=(0,F.OF)("Rate",e=>(e=>{const{componentCls:t}=e;return{[t]:{...(0,Y.dF)(e),display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none","&-small":{fontSize:e.starSizeSM},"&-large":{fontSize:e.starSizeLG},[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}},...vi(e),...xi(e)}}})((0,K.oX)(e,{})),e=>({lineWidthFocus:0===e.lineWidthFocus?0:e.lineWidth,starColor:e.yellow6,starSize:.625*e.controlHeight,starSizeSM:.625*e.controlHeightSM,starSizeLG:.625*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent})),Ci=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,rootClassName:r,style:i,tooltips:a,character:l=B.createElement($i.A,null),disabled:s,size:c,...d}=e,{getPrefixCls:m,direction:u,className:p,style:g}=(0,H.TP)("rate"),h=m("rate",o),[f,$]=yi(h),b={...g,...i},v=B.useContext(de.A),x=s??v,y=(0,We.A)(e=>c??e);return B.createElement(bi.A,{ref:t,character:l,characterRender:(e,{index:t=0})=>{if(!a)return e;const o=a[t];return(0,ne.Qd)(o)?B.createElement(j.A,{...o},e):B.createElement(j.A,{title:o},e)},disabled:x,...d,className:(0,P.$)({[`${h}-large`]:"large"===y,[`${h}-small`]:"small"===y},n,r,f,$,p),style:b,prefixCls:h,direction:u})}),Si=Ci;var ki=o(53923);const wi=e=>{const{componentCls:t,lineHeightHeading3:o,iconCls:n,padding:r,paddingXL:i,paddingXS:a,paddingLG:l,marginXS:s,lineHeight:c}=e;return{[t]:{padding:`${(0,V.zA)(e.calc(l).mul(2).equal())} ${(0,V.zA)(i)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${n}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:o,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:c,textAlign:"center"},[`${t} ${t}-body`]:{marginTop:l,padding:`${(0,V.zA)(l)} ${(0,V.zA)(e.calc(r).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},Ei=e=>{const{componentCls:t}=e;return{[`${t}-success ${t}-icon`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon`]:{color:e.resultWarningIconColor}}},Ai=(0,F.OF)("Result",e=>{const t=e.colorInfo,o=e.colorError,n=e.colorSuccess,r=e.colorWarning;return(e=>[wi(e),Ei(e)])((0,K.oX)(e,{resultInfoIconColor:t,resultErrorIconColor:o,resultSuccessIconColor:n,resultWarningIconColor:r,imageWidth:250,imageHeight:295}))},e=>{const{fontSizeHeading3:t,fontSize:o,paddingLG:n}=e;return{titleFontSize:t,subtitleFontSize:o,iconFontSize:(0,ne.Et)(t)?3*t:`calc(${t} * 3)`,extraMargin:`${n}px 0 0 0`}}),zi={success:ut.A,error:pt.A,info:gt.A,warning:ki.A},Ii={404:()=>B.createElement("svg",{width:"252",height:"294"},B.createElement("title",null,"No Found"),B.createElement("g",{fill:"none",fillRule:"evenodd"},B.createElement("circle",{cx:"126.75",cy:"128.1",r:"126",fill:"#E4EBF7"}),B.createElement("circle",{cx:"31.55",cy:"130.8",r:"8.3",fill:"#FFF"}),B.createElement("path",{stroke:"#FFF",d:"m37 134.3 10.5 6m.9 6.2-12.7 10.8",strokeWidth:"2"}),B.createElement("path",{fill:"#FFF",d:"M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2"}),B.createElement("path",{fill:"#FFF",d:"M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),B.createElement("path",{stroke:"#FFF",d:"m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13",strokeWidth:"2"}),B.createElement("path",{fill:"#FFF",d:"M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4"}),B.createElement("path",{stroke:"#FFF",d:"M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z",strokeWidth:"2"}),B.createElement("path",{stroke:"#FFF",d:"m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4",strokeWidth:"2"}),B.createElement("path",{fill:"#FFF",d:"M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7"}),B.createElement("circle",{cx:"204.3",cy:"30",r:"29.5",fill:"#1677ff"}),B.createElement("path",{fill:"#FFF",d:"M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2
10 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2"}),B.createElement("path",{fill:"#FFB594",d:"M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76"}),B.createElement("path",{fill:"#FFC6A0",d:"m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6"}),B.createElement("path",{fill:"#FFF",d:"M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6"}),B.createElement("path",{fill:"#CBD1D1",d:"M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6"}),B.createElement("path",{fill:"#2B0849",d:"M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z"}),B.createElement("path",{fill:"#A4AABA",d:"M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),B.createElement("path",{fill:"#CBD1D1",d:"M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z"}),B.createElement("path",{fill:"#2B0849",d:"M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1"}),B.createElement("path",{fill:"#A4AABA",d:"M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1"}),B.createElement("path",{fill:"#7BB2F9",d:"m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2"}),B.createElement("path",{stroke:"#648BD8",d:"M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#648BD8",d:"M107.3 222.1s2.7-1.1 6-3.9",strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{stroke:"#648BD8",d:"M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#192064",d:"M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4"}),B.createElement("path",{fill:"#FFF",d:"M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8"}),B.createElement("path",{fill:"#192064",d:"M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7"}),B.createElement("path",{stroke:"#648BD8",d:"M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#FFC6A0",d:"M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2"}),B.createElement("path",{fill:"#FFC6A0",d:"M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5"}),B.createElement("path",{fill:"#520038",d:"M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z"}),B.createElement("path",{fill:"#552950",d:"M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3"}),B.createElement("path",{stroke:"#DB836E",d:"m110.1 74.8-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#5C2552",d:"M110.8 74.5s1.8-.7 2.6.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#DB836E",d:"M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#5C2552",d:"M103.3 73s1.8 1 4.1.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#DB836E",d:"M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#E4EBF7",d:"M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#F2D7AD",d:"M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1"}),B.createElement("path",{fill:"#F4D19D",d:"M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1"}),B.createElement("path",{fill:"#F2D7AD",d:"M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l
1-7.2 10.4z"}),B.createElement("path",{fill:"#CC9B6E",d:"M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z"}),B.createElement("path",{fill:"#F4D19D",d:"M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8"}),B.createElement("path",{fill:"#CC9B6E",d:"M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z"}),B.createElement("path",{fill:"#FFC6A0",d:"m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2"}),B.createElement("path",{stroke:"#DB836E",d:"M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#DB836E",d:"M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#5BA02E",d:"M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6"}),B.createElement("path",{fill:"#92C110",d:"M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7"}),B.createElement("path",{fill:"#F2D7AD",d:"M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2"}),B.createElement("path",{stroke:"#E4EBF7",d:"M89 89.5s7.8 5.4 16.6 2.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}))),500:()=>B.createElement("svg",{width:"254",height:"294"},B.createElement("title",null,"Server Error"),B.createElement("g",{fill:"none",fillRule:"evenodd"},B.createElement("path",{fill:"#E4EBF7",d:"M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1"}),B.createElement("path",{fill:"#FFF",d:"M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7"}),B.createElement("path",{stroke:"#FFF",d:"m37.2 135.6 10.5 6m1 6.3-12.8 10.8",strokeWidth:"2"}),B.createElement("path",{fill:"#FFF",d:"M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8"}),B.createElement("circle",{cx:"201.35",cy:"30.2",r:"29.7",fill:"#FF603B"}),B.createElement("path",{fill:"#FFF",d:"m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7"}),B.createElement("path",{fill:"#FFB594",d:"M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5"}),B.createElement("path",{fill:"#FFF",d:"M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2"}),B.createElement("path",{fill:"#FFB594",d:"m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2"}),B.createElement("path",{fill:"#FFC6A0",d:"M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6"}),B.createElement("path",{fill:"#520038",d:"M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z"}),B.createElement("path",{fill:"#552950",d:"M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3"}),B.createElement("path",{stroke:"#DB836E",d:"m99.2 73.6-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#5C2552",d:"M100 73.3s1.7-.7 2.4.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#DB836E",d:"M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2
11.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#5C2552",d:"M92.3 71.7s1.9 1.1 4.2 1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#DB836E",d:"M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#E4EBF7",d:"M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#FFF",d:"M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6"}),B.createElement("path",{fill:"#FFC6A0",d:"M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7"}),B.createElement("path",{fill:"#FFC6A0",d:"M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7"}),B.createElement("path",{stroke:"#E4EBF7",d:"M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#FFC6A0",d:"M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1"}),B.createElement("path",{fill:"#FFF",d:"M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5"}),B.createElement("path",{fill:"#CBD1D1",d:"M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5"}),B.createElement("path",{fill:"#2B0849",d:"M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z"}),B.createElement("path",{fill:"#A4AABA",d:"M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6"}),B.createElement("path",{fill:"#CBD1D1",d:"M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z"}),B.createElement("path",{fill:"#2B0849",d:"M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1"}),B.createElement("path",{fill:"#A4AABA",d:"M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1"}),B.createElement("path",{fill:"#7BB2F9",d:"M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7"}),B.createElement("path",{stroke:"#648BD8",d:"M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#648BD8",d:"M97 219.4s2.9-1.2 6.3-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1"}),B.createElement("path",{stroke:"#648BD8",d:"M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13
1-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#192064",d:"M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7"}),B.createElement("path",{fill:"#FFF",d:"M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8"}),B.createElement("path",{fill:"#192064",d:"M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7"}),B.createElement("path",{stroke:"#648BD8",d:"M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#E4EBF7",d:"M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#FFC6A0",d:"M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7"}),B.createElement("path",{stroke:"#DB836E",d:"M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),B.createElement("path",{stroke:"#E59788",d:"M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7",
1strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),B.createElement("path",{fill:"#FFC6A0",d:"M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6"}),B.createElement("path",{stroke:"#E59788",d:"M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),B.createElement("path",{stroke:"#E4EBF7",d:"M109.3 112.5s3.4-3.6 7.6-4.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#E59788",d:"M107.4 123s9.7-2.7 11.4-.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),B.createElement("path",{stroke:"#BFCDDD",d:"m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),B.createElement("path",{fill:"#A3B4C6",d:"M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4"}),B.createElement("path",{fill:"#A3B4C6",d:"M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8"}),B.createElement("path",{fill:"#A3B4C6",d:"M154.1 190.1h70.5v-84.6h-70.5z"}),B.createElement("path",{fill:"#BFCDDD",d:"M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1"}),B.createElement("path",{fill:"#FFF",d:"M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8"}),B.createElement("path",{fill:"#BFCDDD",d:"M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2"}),B.createElement("path",{stroke:"#7C90A5",d:"M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#FFF",d:"M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8"}),B.createElement("path",{fill:"#BFCDDD",d:"M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4"}),B.createElement("path",{stroke:"#A3B4C6",d:"M177.3 207.2v11.5m23.8-11.5v11.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#5BA02E",d:"M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4"}),B.createElement("path",{fill:"#92C110",d:"M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4"}),B.createElement("path",{fill:"#F2D7AD",d:"M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2"}))),403:()=>B.createElement("svg",{width:"251",height:"294"},B.createElement("title",null,"Unauthorized"),B.createElement("g",{fill:"none",fillRule:"evenodd"},B.createElement("path",{fill:"#E4EBF7",d:"M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129"}),B.createElement("path",{fill:"#FFF",d:"M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6"}),B.createElement("path",{stroke:"#FFF",d:"m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7",strokeWidth:"2"}
1),B.createElement("path",{fill:"#FFF",d:"M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2"}),B.createElement("path",{fill:"#FFF",d:"M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),B.createElement("path",{stroke:"#FFF",d:"m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13",strokeWidth:"2"}),B.createElement("path",{fill:"#FFF",d:"M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4"}),B.createElement("path",{stroke:"#FFF",d:"M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z",strokeWidth:"2"}),B.createElement("path",{stroke:"#FFF",d:"m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7",strokeWidth:"2"}),B.createElement("path",{fill:"#A26EF4",d:"M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0"}),B.createElement("path",{fill:"#FFF",d:"m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7"}),B.createElement("path",{fill:"#FFF",d:"M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7"}),B.createElement("path",{fill:"#5BA02E",d:"M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6"}),B.createElement("path",{fill:"#92C110",d:"M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6"}),B.createElement("path",{fill:"#F2D7AD",d:"M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3"}),B.createElement("path",{fill:"#FFF",d:"M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7"}),B.createElement("path",{fill:"#FFC6A0",d:"m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2"}),B.createElement("path",{fill:"#FFB594",d:"M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4"}),B.createElement("path",{fill:"#FFC6A0",d:"m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26"}),B.createElement("path",{fill:"#FFF",d:"M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3"}),B.createElement("path",{stroke:"#E4EBF7",d:"M78.2 94.7s.9 7.4-5 13",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#E4EBF7",d:"M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".9"}),B.createElement("path",{fill:"#FFC6A0",d:"m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z"}),B.createElement("path",{fill:"#FFB594",d:"m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9"}),B.createElement("path",{fill:"#5C2552",d:"M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7"}),B.createElement("path",{fill:"#FFC6A0",d:"M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1"}),B.createElement("path",{stroke:"#DB836E",d:"m100.8 77.1 1.7-1-1-4.3.7-1.4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#552950",d:"M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3"}),B.createElement("path",{stroke:"#DB836E",d:"M91.1 86.8s5.3 5 12.7 2.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#DB836E",d:"M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2"}),B.createElement("path",{stroke:"#5C2552",d:"M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),B.createElement("path",{stroke:"#DB836E",d:"M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#E4EBF7",d:"m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.
16 8.8-6.7 14M128.3 88s3 4 4 11.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#DB836E",d:"M64 84.8s-6 10-13.5 10",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),B.createElement("path",{fill:"#FFC6A0",d:"m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7"}),B.createElement("path",{stroke:"#DB836E",d:"M130.5 85.5s4.6 5.7 11.7 6.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),B.createElement("path",{stroke:"#E4EBF7",d:"M121.7 105.7s-.4 8.6-1.3 13.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#648BD8",d:"M115.8 161.5s-3.6-1.5-2.7-7.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#CBD1D1",d:"M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6"}),B.createElement("path",{fill:"#2B0849",d:"M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z"}),B.createElement("path",{fill:"#A4AABA",d:"M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),B.createElement("path",{fill:"#CBD1D1",d:"M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z"}),B.createElement("path",{fill:"#2B0849",d:"M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2"}),B.createElement("path",{fill:"#A4AABA",d:"M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1"}),B.createElement("path",{fill:"#7BB2F9",d:"m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39"}),B.createElement("path",{stroke:"#648BD8",d:"M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{stroke:"#648BD8",d:"M108.5 221s2.7-1.2 6-4",strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{stroke:"#648BD8",d:"M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),B.createElement("path",{fill:"#192064",d:"M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4"}),B.createElement("path",{fill:"#FFF",d:"M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7"}),B.createElement("path",{fill:"#192064",d:"M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7"}),B.createElement("path",{stroke:"#648BD8",d:"M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"})))},Bi=Object.keys(Ii),Ni=({icon:e,status:t,className:o,style:n})=>{if(Bi.includes(`${t}`)){const e=Ii[t];return B.createElement("div",{className:o,style:n},B.createElement(e,null))}const r=B.createElement(zi[t]);return null===e||!1===e?null:B.createElement("div",{className:o,style:n},e||r)},Mi=({className:e,extra:t,style:o})=>(0,T.AZ)(t)?B.createElement("div",{className:e,style:o},t):null,Ti=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,rootClassName:r,subTitle:i,title:a,style:l,children:s,status:c="info",icon:d,extra:m,styles:u,classNames:p,...g}=e,{getPrefixCls:h,direction:f,className:$,style:b,classNames:v,styles:x}=(0,H.TP)("result"),y={...e,status:c}
1,C=(0,X.XT)(b),S=(0,X.XT)(l),[k,w]=(0,X.AV)([v,p],[x,C,u,S],{props:y}),E=h("result",o),[A,z]=Ai(E),I=(0,P.$)(E,`${E}-${c}`,n,$,r,{[`${E}-rtl`]:"rtl"===f},A,z,k.root),N=(0,P.$)(`${E}-title`,k.title),M=(0,P.$)(`${E}-subtitle`,k.subTitle),R=(0,P.$)(`${E}-extra`,k.extra),F=(0,P.$)(`${E}-body`,k.body),D=(0,P.$)(`${E}-icon`,{[`${E}-image`]:Bi.includes(`${c}`)},k.icon),L={...w.root},W=(0,T.KE)(g,{aria:!0,data:!0}),O=B.useRef(null);return B.useImperativeHandle(t,()=>({nativeElement:O.current})),B.createElement("div",{ref:O,...W,className:I,style:L},B.createElement(Ni,{className:D,style:w.icon,status:c,icon:d}),(0,T.AZ)(a)&&B.createElement("div",{className:N,style:w.title},a),(0,T.AZ)(i)&&B.createElement("div",{className:M,style:w.subTitle},i),B.createElement(Mi,{className:R,extra:m,style:w.extra}),(0,T.AZ)(s)&&B.createElement("div",{className:F,style:w.body},s))});Ti.PRESENTED_IMAGE_403=Ii[403],Ti.PRESENTED_IMAGE_404=Ii[404],Ti.PRESENTED_IMAGE_500=Ii[500];const Pi=Ti,Ri=rt;var Hi=o(76012),Fi=o(24705),Di=o(3511);const Li=(0,B.forwardRef)((e,t)=>{const{prefixCls:o,className:n,children:r,destroyOnHidden:i=!1,size:a,style:l,supportMotion:s}=e,c=0===a||"string"==typeof a&&0===Number.parseFloat(a),d=(0,P.$)(`${o}-panel`,{[`${o}-panel-hidden`]:c,[`${o}-panel-transition`]:s},n),m=void 0!==a;return B.createElement("div",{ref:t,className:d,style:{...l,flexBasis:m?a:"auto",flexGrow:m?0:1}},!(i&&c)&&r)});var Wi=o(56244);function Oi(e){if((0,ne.Qd)(e))return{...e,showCollapsibleIcon:void 0===e.showCollapsibleIcon?"auto":e.showCollapsibleIcon};const t=!!e;return{start:t,end:t,showCollapsibleIcon:"auto"}}function Xi(e,t){return e.collapsible&&t.collapsible?!0===e.showCollapsibleIcon||!0===t.showCollapsibleIcon||("auto"===e.showCollapsibleIcon||"auto"===t.showCollapsibleIcon)&&"auto":e.collapsible?e.showCollapsibleIcon:!!t.collapsible&&t.showCollapsibleIcon}function _i(e){return Number(e.slice(0,-1))/100}function qi(e){return"string"==typeof e&&e.endsWith("%")}var ji=o(56664),Gi=o(13666);const Ki=e=>(0,ne.Et)(e)&&Number.isFinite(e)?Math.round(e):0,Vi=e=>{const{prefixCls:t,rootPrefixCls:o,vertical:n,index:r,active:i,ariaNow:a,ariaMin:l,ariaMax:s,resizable:c,draggerIcon:d,draggerStyle:m,draggerClassName:u,collapsibleIcon:p,startCollapsible:g,endCollapsible:h,onDraggerDoubleClick:f,onOffsetStart:$,onOffsetUpdate:b,onOffsetEnd:v,onCollapse:x,lazy:y,containerSize:C,showStartCollapsibleIcon:S,showEndCollapsibleIcon:k}=e,w=`${t}-bar`,E=(0,B.useRef)(0),[A]=(0,F.PN)(o,"splitter"),[z,I]=(0,B.useState)(null),[N,M]=(0,B.useState)(0),R=n?0:N,H=n?N:0,D=(0,T._q)((e,t)=>{const o=(e=>{const t=C*a/100,o=t+e,n=Math.max(0,C*l/100),r=Math.min(C,C*s/100);return Math.max(n,Math.min(r,o))-t})(n?t:e);M(o)}),L=(0,T._q)(()=>{b(r,R,H,!0),M(0),v(!0)}),W=(e,t)=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),x(r,t))},O=e=>{switch(e){case!0:return`${w}-collapse-bar-always-visible`;case!1:return`${w}-collapse-bar-always-hidden`;case"auto":return`${w}-collapse-bar-hover-only`}};(0,T.Nf)(()=>{if(!z)return;const e={mousemove:e=>{const{pageX:t,pageY:o}=e,n=t-z[0],i=o-z[1];y?D(n,i):b(r,n,i)},mouseup:()=>{y?L():v(),I(null)},touchmove:e=>{if(1===e.touches.length){const t=e.touches[0],o=t.pageX-z[0],n=t.pageY-z[1];y?D(o,n):b(r,o,n)}},touchend:()=>{y?L():v(),I(null)}};for(const[t,o]of Object.entries(e))window.addEventListener(t,o);return()=>{for(const[t,o]of Object.entries(e))window.removeEventListener(t,o)}},[z,r,y]);const X={[A("bar-preview-offset")]:`${N}px`},[_,q,j,G]=B.useMemo(()=>{let e=null,t=null;const o=void 0!==p?.start,r=void 0!==p?.end;return n?(e=o?p.start:B.createElement(Gi.A,null),t=r?p.end:B.createElement(ji.A,null)):(e=o?p.start:B.createElement(Bt.A,null),t=r?p.end:B.createElement(Nt.A,null)),[e,t,o,r]},[p,n]);return B.createElement("div",{className:w},y&&B.createElement("div",{className:(0,P.$)(`${w}-preview`,{[`${w}-preview-active`]:!!N}),style:X}),B.createElement("div",{style:m?.default,className:(0,P.$)(`${w}-dragger`,{[`${w}-dragger-disabled`]:!c,[`${w}-dragger-active`]:i,[`${w}-dragger-customize`]:void 0!==d},u?.default,i&&u?.active),onMouseDown:e=>{e.stopPropagation();const t=Date.now(),o=t-E.current;o>0&&o<300||(E.current=t,c&&e.currentTarget&&(I([e.pageX,e.pageY]),$(r)))},onTouchStart:e=>{if(c&&1===e.touches.length){const t=e.touches[0];I([t.pageX,t.pageY]),$(r)}},onDoubleClick:()=>f?.(r),role:"separator","aria-disabled":!c,"aria-orientation":n?"horizontal":"vertical","aria-valuenow":Ki(a),"aria-valuemin":Ki(l),"aria-valuemax":Ki(s)},void 0!==d?B.createElement("div",{className:(0,P.$)(`${w}-dragger-icon`)},d):null),g&&B.createElement("div",{className:(0,P.$)(`${w}-collapse-bar`,`${w}-collapse-bar-start`,{[`${w}-collapse-bar-customize`]:j},O(S)),role:"button",tabIndex:0,"aria-label":"Toggle start panel",onClick:()=>x(r,"start"),onKeyDown:e=>W(e,"start")},B.createElement("span",{className:(0,P.$)(`${w}-collapse-icon`,`${w}-collapse-start`)},_)),h&&B.createElement("div",{className:(0,P.$)(`${w}-collapse-bar`,`${w}-collapse-bar-end`,{[`${w}-collapse-bar-customize`]:G},O(k)),role:"button",tabIndex:0,"aria-label":"Toggle end panel",onClick:()=>x(r,"end"),onKeyDown:e=>W(e,"end")},B.createElement("span",{className:(0,P.$)(`${w}-collapse-icon`,`${w}-collapse-end`)},q)))};var Qi=o(96899);const Yi={position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"},Ui=(0,F.OF)("Splitter",e=>{const{componentCls:t,colorFill:o,splitBarDraggableSize:n,splitBarSize:r,splitTriggerSize:i,controlItemBgHover:a,controlItemBgActive:l,controlItemBgActiveHover:s,colorPrimary:c,antCls:d,calc:m}=e,[,u]=(0,F.PN)(d,"splitter"),p=`${t}-bar`,g=`${t}-mask`,h=`${t}-panel`,f=m(i).div(2).equal(),$={position:"absolute",background:e.colorPrimary,opacity:.2,pointerEvents:"none",transition:"none",zIndex:1,display:"none"};return{[t]:{...(0,Y.dF)(e),display:"flex",width:"100%",height:"100%",alignItems:"stretch",[`> ${p}`]:{flex:"none",position:"relative",userSelect:"none",[`${p}-dragger`]:{...Yi,zIndex:1,"&::before":{content:'""',background:a,...Yi},"&::after":{content:'""',background:o,...Yi},[`&:hover:not(${p}-dragger-active)`]:{"&::before":{background:l}},"&-active":{zIndex:2,"&::before":{background:s}},[`&-active${p}-dragger-customize`]:{[`${p}-dragger-icon`]:{color:c}},[`&-disabled${p}-dragger`]:{zIndex:0,"&, &:hover, &-active":{cursor:"default","&::before":{background:a}},"&::after":{display:"none"},[`${p}-dragger-icon`]:{display:"none"}},"&-customize":{[`${p}-dragger-icon`]:{...Yi,display:"flex",alignItems:"center",color:o},"&::after":{display:"none"}}},[`${p}-collapse-bar`]:{...Yi,zIndex:e.zIndexPopupBase,background:a,fontSize:e.fontSizeSM,borderRadius:e.borderRadiusXS,color:e.colorText,cursor:"pointer",opacity:0,display:"flex",alignItems:"center",justifyContent:"center","&:focus-visible":(0,Y.jk)(e),[`&:hover:not(${p}-collapse-bar-customize)`]:{background:l},[`&:active:not(${p}-collapse-bar-customize)`]:{background:s},[`${p}-collapse-icon`]:{display:"flex",alignItems:"center"}},[`${p}-collapse-bar-customize`]:{background:"transparent"},"&:hover, &:active, &:focus-within":{[`${p}-collapse-bar-hover-only`]:{opacity:1}},[`${p}-collapse-bar-hover-only`]:{"@media(hover:none)":{opacity:1}},[`${p}-collapse-bar-always-hidden`]:{display:"none"},[`${p}-collapse-bar-always-visible`]:{opacity:1}},[g]:{position:"fixed",zIndex:e.zIndexPopupBase,inset:0,"&-horizontal":{cursor:"col-resize"},"&-vertical":{cursor:"row-resize"}},"&-horizontal":{flexDirection:"row",[`> ${p}`]:{width:0,[`${p}
vendor: 4,281 bytes, line 1
1-preview`]:{height:"100%",width:r,...$,[`&${p}-preview-active`]:{display:"block",transform:`translate3d(${u("bar-preview-offset")}, 0, 0)`}},[`${p}-dragger`]:{cursor:"col-resize",height:"100%",width:i,"&::before":{height:"100%",width:r},"&::after":{height:n,width:r}},[`${p}-collapse-bar`]:{width:e.fontSizeSM,height:e.controlHeightSM,"&-start":{left:{_skip_check_:!0,value:"auto"},right:{_skip_check_:!0,value:f},transform:"translateY(-50%)"},"&-end":{left:{_skip_check_:!0,value:f},right:{_skip_check_:!0,value:"auto"},transform:"translateY(-50%)"}}}},"&-vertical":{flexDirection:"column",[`> ${p}`]:{height:0,[`${p}-preview`]:{height:r,width:"100%",...$,[`&${p}-preview-active`]:{display:"block",transform:`translate3d(0, ${u("bar-preview-offset")}, 0)`}},[`${p}-dragger`]:{cursor:"row-resize",width:"100%",height:i,"&::before":{width:"100%",height:r},"&::after":{width:n,height:r}},[`${p}-collapse-bar`]:{height:e.fontSizeSM,width:e.controlHeightSM,"&-start":{top:"auto",bottom:f,transform:"translateX(-50%)"},"&-end":{top:f,bottom:"auto",transform:"translateX(-50%)"}}}},[h]:{overflow:"auto",scrollbarWidth:"thin",boxSizing:"border-box","&-hidden":{overflow:"hidden"},[`&:has(${t}:only-child)`]:{overflow:"hidden"},"&-transition":{transition:`flex-basis ${e.motionDurationSlow} ${e.motionEaseInOut}`,...(0,Qi.V)()}}}}},e=>{const t=e.splitBarSize||2,o=e.splitTriggerSize||6,n=e.resizeSpinnerSize||20;return{splitBarSize:t,splitTriggerSize:o,splitBarDraggableSize:e.splitBarDraggableSize??n,resizeSpinnerSize:n}}),Zi=(e,t)=>{const{prefixCls:o,className:n,classNames:r,collapsible:i,style:a,styles:l,layout:s,orientation:c,vertical:d,children:m,destroyOnHidden:u,draggerIcon:p,collapsibleIcon:g,rootClassName:h,onDraggerDoubleClick:f,onResizeStart:$,onResize:b,onResizeEnd:v,lazy:x}=e,{getPrefixCls:y,direction:C,className:S,style:k,classNames:w,styles:E}=(0,H.TP)("splitter"),A=y("splitter",o),z=y(),I=(0,q.A)(A),[N,M]=Ui(A,I),[R,F]=(0,Wi.M)(c,d,s),D="rtl"===C,L=!F&&D,W=function(e){return B.useMemo(()=>(0,T.$r)(e).filter(e=>B.isValidElement(e)).map(e=>{const{props:t}=e,{collapsible:o,...n}=t;return{...n,collapsible:Oi(o)}}),[e])}(m),[O,_]=(0,B.useState)(),[j,G,K,V,Q,Y]=function(e,t){const o=e.map(e=>e.size),n=e.length,r=t||0,i=e=>e*r,[a,l]=B.useState(()=>e.map(e=>e.defaultSize)),s=B.useMemo(()=>o.some(T.R)?o:a,[n,a,o]),c=B.useMemo(()=>e.map(e=>qi(e.min)?_i(e.min):(e.min||0)/r),[e,r]),d=B.useMemo(()=>e.map(e=>qi(e.max)?_i(e.max):(e.max||r)/r),[e,r]),m=B.useMemo(()=>{const e=[];for(let t=0;t<n;t+=1){const o=s[t];if(qi(o))e[t]=_i(o);else if(o||0===o){const n=Number(o);Number.isNaN(n)||(e[t]=n/r)}else e[t]=void 0}return function(e,t,o){let n=0;const r=[];e.forEach((e,t)=>{void 0===e?r.push(t):n+=e});const i=1-n,a=r.length;if(e.length&&!r.length&&1!==n){if(0===n){const t=1/e.length;return e.map(()=>t)}const r=1/n,i=e.map(e=>e*r);return function(e,t,o){const n=e.map((e,o)=>0===e?0:t[o]??0),r=e.map((e,t)=>0===e?0:o[t]??1),i=n.some((e,t)=>e>r[t]),a=n.reduce((e,t)=>e+t,0),l=r.reduce((e,t)=>e+t,0);if(i||a>1||l<1)return e;const s=e.map((e,t)=>Math.min(r[t],Math.max(n[t],e))),c=s.reduce((e,t)=>e+t,0);if(1===c)return s;const d=c<1,m=s.map((e,t)=>d?r[t]-e:e-n[t]),u=m.reduce((e,t)=>e+t,0),p=1-c;return s.map((e,t)=>e+p*(m[t]/u))}(i,t,o)}if(i<0){const t=1/n;return e.map(e=>void 0===e?0:e*t)}let l=0,s=0,c=0,d=1;for(const e of r){const n=t[e]||0,r=o[e]||1;l+=n,s+=r,c=Math.max(c,n),d=Math.min(d,r)}if(l>1&&s<1){const t=1/a;return e.map(e=>void 0===e?t:e)}const m=i/a;if(c<=m&&m<=d)return e.map(e=>void 0===e?m:e);const u=(0,$e.A)(e);let p=i-l;for(let e=0;e<a;e+=1){const n=r[e],i=t[n]||0,a=o[n]||1;u[n]=i;const l=a-i,s=Math.min(l,p);u[n]+=s,p-=s}return u}(e,c,d)},[n,s,r,c,d]),u=B.useMemo(()=>m.map(i),[m,r]);return[B.useMemo(()=>t?u:s,[u,s,t]),u,m,c,d,l]}(W,O),U=function(e,t,o){return B.useMemo(()=>{const n=[];for(let r=0;r<e.length-1;r+=1){const i=e[r],a=e[r+1],l=t[r],s=t[r+1],{resizable:c=!0,min:d,collapsible:m}=i,{resizable:u=!0,min:p,collapsible:g}=a,h=c&&u&&(0!==l||!d)&&(0!==s||!p),f=!!m.end&&l>0,$=!!g.start&&0===s&&l>0,b=f||$,v=!!g.start&&s>0,x=!!m.end&&0===l&&s>0,y=v||x,C=Xi({collapsible:f,showCollapsibleIcon:m.showCollapsibleIcon},{collapsible:$,showCollapsibleIcon:g.showCollapsibleIcon}),S=Xi({collapsible:v,showCollapsibleIcon:g.showCollapsibleIcon}
1,{collapsible:x,showCollapsibleIcon:m.showCollapsibleIcon});n[r]={resizable:h,startCollapsible:!!(o?y:b),endCollapsible:!!(o?b:y),showStartCollapsibleIcon:o?S:C,showEndCollapsibleIcon:o?C:S}}return n},[t,e,o])}(W,G,L),[Z,J,ee,te,oe]=function(e,t,o,n,r,i){const a=e.map(e=>[e.min,e.max]),l=n||0,s=e=>e*l;function c(e,t){return"string"==typeof e?s(_i(e)):e??t}const[d,m]=B.useState([]),u=B.useRef([]),[p,g]=B.useState(null),h=()=>o.map(s);return[e=>{m(h()),g({index:e,confirmed:!1})},(e,o)=>{let n=null;if(!(p&&p.confirmed||0===o))if(o>0)n=e,g({index:e,confirmed:!0});else for(let o=e;o>=0;o-=1)if(d[o]>0&&t[o].resizable){n=o,g({index:o,confirmed:!0});break}const i=n??p?.index??e,s=(0,$e.A)(d),m=i+1,u=c(a[i][0],0),h=c(a[m][0],0),f=c(a[i][1],l),$=c(a[m][1],l);let b=o;return s[i]+b<u&&(b=u-s[i]),s[m]-b<h&&(b=s[m]-h),s[i]+b>f&&(b=f-s[i]),s[m]-b>$&&(b=s[m]-$),s[i]+=b,s[m]-=b,r(s),s},()=>{g(null)},(e,t)=>{const o=h(),n=i?"start"===t?"end":"start":t,s="start"===n?e:e+1,d="start"===n?e+1:e,m=o[s],p=o[d];if(0!==m&&0!==p)o[s]=0,o[d]+=m,u.current[e]=m;else{const t=m+p,n=c(a[s][0],0),r=c(a[s][1],l),i=c(a[d][0],0),g=c(a[d][1],l),h=Math.max(n,t-g),f=Math.min(r,t-i),$=i||(f-h)/2,b=u.current[e],v=t-b;b&&b<=g&&b>=i&&v<=r&&v>=n?(o[d]=b,o[s]=v):(o[s]-=$,o[d]+=$)}return r(o),o},p?.index]}(W,U,K,O,Y,L),re=(0,T._q)(e=>{Z(e),$?.(G)}),ie=(0,T._q)((e,t,o)=>{const n=J(e,t);o?v?.(n):b?.(n)}),ae=(0,T._q)(e=>{ee(),e||v?.(G)}),le=(0,T._q)((t,o)=>{const n=te(t,o);b?.(n),v?.(n);const r=n.map(e=>Math.abs(e)<Number.EPSILON);e.onCollapse?.(r,n)}),se={...e,vertical:F,orientation:R},ce=(0,X.XT)(k),de=(0,X.XT)(a),[me,ue]=(0,X.AV)([w,r],[E,ce,l,de],{props:se},{dragger:{_default:"default"}}),pe=(0,P.$)(A,n,`${A}-${R}`,{[`${A}-rtl`]:D},h,me.root,S,M,I,N),ge=B.useRef(null);B.useImperativeHandle(t,()=>({nativeElement:ge.current}));const he=`${A}-mask`,fe=B.useMemo(()=>{const e=[];let t=0;const o=W.length;for(let n=0;n<o;n+=1)t+=K[n],e.push(t);return e},[K,W.length]);return B.createElement(Qn.Ay,{onResize:e=>{const{offsetWidth:t,offsetHeight:o}=e,n=F?o:t;0!==n&&_(n)}},B.createElement("div",{ref:ge,style:ue.root,className:pe},W.map((e,t)=>{const o={...e,className:(0,P.$)(me.panel,e.className),style:{...ue.panel,...e.style}},n=B.createElement(Li,{...o,prefixCls:A,size:j[t],supportMotion:i?.motion&&void 0===oe,destroyOnHidden:e.destroyOnHidden??u});let r=null;const a=U[t];if(a){const e=Number.isFinite(fe[t-1])?fe[t-1]:0,o=Number.isFinite(fe[t+1
1])?fe[t+1]:1,n=e+V[t],l=o-Q[t+1],s=e+Q[t],c=o-V[t+1];r=B.createElement(Vi,{lazy:x,index:t,active:oe===t,prefixCls:A,rootPrefixCls:z,vertical:F,resizable:a.resizable,draggerStyle:ue.dragger,draggerClassName:me.dragger,draggerIcon:p,collapsibleIcon:i?.icon||g,ariaNow:100*fe[t],ariaMin:100*Math.max(n,l),ariaMax:100*Math.min(s,c),startCollapsible:a.startCollapsible,endCollapsible:a.endCollapsible,showStartCollapsibleIcon:a.showStartCollapsibleIcon,showEndCollapsibleIcon:a.showEndCollapsibleIcon,onDraggerDoubleClick:f,onOffsetStart:re,onOffsetUpdate:(e,t,o,n)=>{let r=F?o:t;L&&(r=-r),ie(e,r,n)},onOffsetEnd:ae,onCollapse:le,containerSize:O||0})}return B.createElement(B.Fragment,{key:`split-panel-${t}`},n,r)}),(0,ne.Et)(oe)&&B.createElement("div",{"aria-hidden":!0,className:(0,P.$)(he,`${he}-${R}`)})))},Ji=B.forwardRef(Zi);Ji.Panel=()=>null;const ea=Ji,ta=e=>{const{value:t,formatter:o,precision:n,decimalSeparator:r,groupSeparator:i="",prefixCls:a,className:l,style:s}=e;let c;if((0,ne.Tn)(o))c=o(t);else{const e=String(t),o=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(o&&"-"!==e){const e=o[1];let t=o[2]||"0",l=o[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,i),(0,ne.Et)(n)&&(l=l.padEnd(n,"0").slice(0,n>0?n:0)),l&&(l=`${r}${l}`),c=[B.createElement("span",{key:"int",className:`${a}-content-value-int`},e,t),l&&B.createElement("span",{key:"decimal",className:`${a}-content-value-decimal`},l)]}else c=e}return B.createElement("span",{className:l,style:s},c)},oa=(0,F.OF)("Statistic",e=>(e=>{const{componentCls:t,marginXXS:o,padding:n,colorTextDescription:r,titleFontSize:i,colorTextHeading:a,contentFontSize:l,fontFamily:s}=e;return{[t]:{...(0,Y.dF)(e),[`${t}-header`]:{paddingBottom:o,[`${t}-title`]:{color:r,fontSize:i}},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:a,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:o},[`${t}-content-suffix`]:{marginInlineStart:o}}}}})((0,K.oX)(e,{})),e=>{const{fontSizeHeading3:t,fontSize:o}=e;return{titleFontSize:o,contentFontSize:t}}),na=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,rootClassName:r,style:i,valueStyle:a,value:l=0,title:s,valueRender:c,prefix:d,suffix:m,loading:u=!1,formatter:p,precision:g,decimalSeparator:h=".",groupSeparator:f=",",onMouseEnter:$,onMouseLeave:b,styles:v,classNames:x,...y}=e,{getPrefixCls:C,direction:S,className:k,style:w,classNames:E,styles:A}=(0,H.TP)("statistic"),z=C("statistic",o),[I,N]=oa(z),M={...e,decimalSeparator:h,groupSeparator:f,loading:u,value:l},R=(0,X.XT)(w),F=(0,X.XT)(i),[D,L]=(0,X.AV)([E,x],[A,R,v,F],{props:M}),W=(0,P.$)(z,{[`${z}-rtl`]:"rtl"===S},k,n,r,D.root,I,N),O=(0,P.$)(`${z}-header`,D.header),_=(0,P.$)(`${z}-title`,D.title),q=(0,P.$)(`${z}-content`,D.content),j=(0,P.$)(`${z}-content-value`,D.value),G=(0,P.$)(`${z}-content-prefix`,D.prefix),K=(0,P.$)(`${z}-content-suffix`,D.suffix),V=B.createElement(ta,{decimalSeparator:h,groupSeparator:f,prefixCls:z,formatter:p,precision:g,value:l,className:j,style:L.value}),Q=B.useRef(null);B.useImperativeHandle(t,()=>({nativeElement:Q.current}));const Y=(0,T.KE)(y,{aria:!0,data:!0});return B.createElement("div",{...Y,className:W,style:L.root,ref:Q,onMouseEnter:$,onMouseLeave:b},(0,T.AZ)(s)&&B.createElement("div",{className:O,style:L.header},B.createElement("div",{className:_,style:L.title},s)),B.createElement(Fi.A,{paragraph:!1,loading:u,className:`${z}-skeleton`,active:!0},B.createElement("div",{className:q,style:{...a,...L.content}},(0,T.AZ)(d)&&B.createElement("span",{className:G,style:L.prefix},d),(0,ne.Tn)(c)?c(V):V,(0,T.AZ)(m)&&B.createElement("span",{className:K,style:L.suffix},m))))}),ra=na,ia=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];const aa=1e3/60,la=e=>{const{value:t,format:o="HH:mm:ss",onChange:n,onFinish:r,type:i,...a}=e,l="countdown"===i,[s,c]=B.useState(null),d=(0,T._q)(()=>{const e=Date.now(),o=function(e){return new Date(e).getTime()}(t);c({});const i=l?o-e:e-o;return n?.(i),!(l&&o<e&&(r?.(),1))});return B.useEffect(()=>{let e;return e=window.setInterval(()=>{d()||window.clearInterval(e)},aa),()=>{window.clearInterval(e)}},[t,l]),B.useEffect(()=>{c({})},[]),B.createElement(ra,{...a,value:t,valueRender:e=>(0,Ge.Ob)(e,{title:void 0}),formatter:(e,t)=>s?function(e,t,o){const{format:n=""}=t,r=new Date(e).getTime(),i=Date.now();return function(e,t){let o=e;const n=/\[[^\]]*]/g,r=(t.match(n)||[]).map(e=>e.slice(1,-1)),i=t.replace(n,"[]"),a=ia.reduce((e,[t,n])=>{if(e.includes(t)){const r=Math.floor(o/n);return o-=r*n,e.replace(new RegExp(`${t}+`,"g"),e=>{const t=e.length;return r.toString().padStart(t,"0")})}return e},i);let l=0;return a.replace(n,()=>{const e=r[l];return l+=1,e})}(o?Math.max(r-i,0):Math.max(i-r,0),n)}(e,{...t,format:o},l):"-"})},sa=e=>B.createElement(la,{...e,type:"countdown"}),ca=B.memo(sa);ra.Timer=la,ra.Countdown=ca;const da=ra;var ma=o(98278),ua=o(45128),pa=o(43672),ga=o(57383);const ha=B.createContext(null),fa=e=>{const{prefixCls:t}=e;
1return B.createElement("svg",{"aria-hidden":!0,className:`${t}-panel-arrow`,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},B.createElement("path",{d:"M 0 0 L 100 50 L 0 100"}))},$a=e=>{const{prefixCls:t,rootPrefixCls:o,children:n,percent:r}=e,i=`${t}-item-progress-icon`,a=`${i}-circle`,[,l]=(0,F.PN)(o,"cmp-steps"),s=`calc(${l("progress-radius")} * 2 * ${Math.PI*r/100}) 9999`;return B.createElement(B.Fragment,null,B.createElement("svg",{className:`${i}-svg`,viewBox:"0 0 100 100",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":r},B.createElement("circle",{className:(0,P.$)(a,`${a}-rail`)}),B.createElement("circle",{className:(0,P.$)(a,`${a}-ptg`),strokeDasharray:s,transform:"rotate(-90 50 50)"})),n)},ba=e=>{const{componentCls:t,antCls:o}=e,n=`${t}-item`,[r,i]=(0,F.PN)(o,"cmp-steps");return{[`${t}-horizontal`]:{[`> ${n}`]:{flex:"1 1 auto",minWidth:e.iconSize,[`${n}-rail`]:{[r("horizontal-rail-margin")]:`calc(${i("icon-size-max")} / 2 - ${i("rail-size")} / 2 + ${i("item-wrapper-padding-top")})`,position:"static",marginTop:i("horizontal-rail-margin"),width:"auto",borderBlockStartWidth:i("rail-size"),flex:1,minWidth:0,alignSelf:"flex-start"}}}}},va=e=>{const{componentCls:t,customIconFontSize:o,motionDurationSlow:n,iconSize:r,lineWidth:i,lineType:a,antCls:l}=e,s=`${t}-item`,[c,d]=(0,F.PN)(l,"cmp-steps");return{[t]:{[c("icon-size")]:r,[c("icon-border-width")]:i,[`${s}-icon`]:{width:d("icon-size"),height:d("icon-size"),margin:0,flex:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:d("icon-size"),textAlign:"center",borderRadius:d("icon-size"),border:`${d("icon-border-width")} ${a} transparent`,transition:["background-color","border","color","inset","transform"].map(e=>`${e} ${n}`).join(", "),zIndex:1},[`${s}-custom ${s}-icon`]:{background:"none",border:0,fontSize:o}}}},xa=e=>{const{componentCls:t,inlineDotSize:o,paddingXS:n,lineWidth:r,antCls:i,calc:a}=e,l=a(n).add(r).equal(),s=`${t}-item`,[c,d]=(0,F.PN)(i,"cmp-steps");return{[`${t}-inline`]:{[c("items-offset")]:"0",[c("item-wrapper-padding-top")]:l,display:"inline-flex","&:before":{content:'""',flex:d("items-offset")},[s]:{[c("title-vertical-row-gap")]:n,[c("icon-size")]:o,[c("icon-size-active")]:o,[c("title-font-size")]:e.fontSizeSM,[c("title-line-height")]:e.lineHeightSM,[c("item-title-color")]:e.colorTextSecondary,[c("subtitle-font-size")]:e.fontSizeSM,[c("subtitle-line-height")]:e.lineHeightSM,[c("item-subtitle-color")]:e.colorTextQuaternary,[c("rail-size")]:e.lineWidth,[c("title-horizontal-rail-gap")]:"0px",flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${s}-icon-dot`]:{"&:after":{display:"none"}}},"&-title":{fontWeight:"normal",whiteSpace:"nowrap"},"&-content":{display:"none"}}}}},ya=(e,t,o)=>{const{calc:n,componentCls:r,descriptionMaxWidth:i,antCls:a}=e,l=`${r}-item`,[,s]=(0,F.PN)(a,"cmp-steps");return{[`@container style(${c=i,(c||"--ant-not-exist").replace(/var\((.*)\)/,"$1")})`]:[{[`${l}-icon`]:{marginInlineStart:n(i).sub(s("icon-size")).div(2).equal()},[`${l}-rail`]:{width:"auto",insetInlineStart:n(i).add(s("icon-size")).div(2).add(t).equal(),insetInlineEnd:n(i).sub(s("icon-size")).div(2).sub(t).mul(-1).equal()}},o]};var c},Ca=e=>{const{componentCls:t,descriptionMaxWidth:o,marginXS:n,fontHeightLG:r,margin:i,paddingSM:a,marginXXS:l,antCls:s,calc:c}=e,d=`${t}-item`,[m,u]=(0,F.PN)(s,"cmp-steps");return{[t]:{[m("icon-size-max")]:`max(${u("icon-size")}, ${u("icon-size-active",u("icon-size"))})`,[`${d}-icon`]:{marginBlockStart:`calc((${u("heading-height")} - ${u("icon-size")}) / 2)`}},[`${t}-title-horizontal`]:{[m("title-horizontal-item-margin")]:i,[m("title-horizontal-rail-margin")]:i,[m("title-horizontal-title-height")]:r,[m("heading-height")]:`max(${u("icon-size")}, ${u("title-horizontal-title-height")})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${d}
vendor: 1,845 bytes, line 1
1:not(:first-child)`]:{marginInlineStart:u("title-horizontal-item-margin")},[`${d}:last-child`]:{flex:"0 1 auto"},[`${d}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${d}-wrapper`]:{columnGap:e.margin},[`${d}-empty-header`]:{[`${d}-header`]:{minHeight:"auto"},[`${d}-content`]:{marginTop:c(u("heading-height")).sub(e.fontHeight).div(2).equal()}}},[`${d}-section`]:{flex:1,minWidth:0},[`${d}-header`]:{minHeight:u("heading-height")},[`${d}-title`]:{flex:"0 1 auto"},[`${d}-content`]:{maxWidth:o},[`${d}-subtitle`]:{flex:"0 9999 auto"},[`&${t}-horizontal ${d}-rail`]:{[m("item-wrapper-padding-top")]:"0px",flex:"1 1 0%",marginInlineStart:u("title-horizontal-rail-margin")}},[`${t}-title-vertical`]:{[m("title-vertical-row-gap")]:a,[m("title-horizontal-rail-gap")]:l,[m("heading-height")]:u("icon-size-max"),[`> ${d}`]:{flex:"1 1 0%",[`${d}-wrapper`]:{flexDirection:"column",rowGap:u("title-vertical-row-gap"),alignItems:"center"},[`${d}-section`]:{alignSelf:"stretch"},[`${d}-header`]:{flexDirection:"column",alignItems:"center"},[`${d}-title, ${d}-subtitle, ${d}-content`]:{textAlign:"center",maxWidth:"100%"},[`${d}-subtitle`]:{margin:0},[`${d}-rail`]:{position:"absolute",top:0,width:`calc(100% - ${u("icon-size")} - ${u("title-horizontal-rail-gap")} * 2)`,insetInlineStart:`calc(50% + ${u("icon-size")} / 2 + ${u("title-horizontal-rail-gap")})`}},...ya(e,n,{[`${d}:last-child`]:{flex:"none"},[`${d}-icon`]:{alignSelf:"flex-start"},[`${d}-section`]:{width:o}})}}},Sa=e=>{const{componentCls:t}=e,o=`${t}-item`;return{[`${t}-max-count`]:{[`${o}-ellipsis`]:{[`${o}-title, ${o}-subtitle, ${o}-content`]:{color:e.colorTextDescription}}}}},ka=e=>{const{componentCls:t,fontSizeIcon:o,navContentMaxWidth:n,navArrowColor:r,colorPrimary:i,motionDurationSlow:a,antCls:l,calc:s}=e,c=`${t}-item`,d=i,[m,u]=(0,F.PN)(l,"cmp-steps");return{[`${t}${t}
1-navigation`]:{[c.repeat(4)]:{display:"flex",justifyContent:"center",position:"relative",flex:1,marginInlineStart:0,[`${c}-wrapper`]:{paddingBlock:e.paddingSM},[`${c}-section`]:{maxWidth:n},[`${c}-rail`]:{display:"none"},"&:before":{position:"absolute",display:"block",backgroundColor:d,transition:`all ${a}`,transitionTimingFunction:"ease-out",content:'""'},"&:not(:last-child):after":{position:"absolute",display:"block",borderTop:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${r}`,content:'""'},[`&${c}-active`]:{[m("item-content-active-color")]:u("item-content-color"),[m("item-icon-active-bg-color")]:u("item-icon-bg-color"),[m("item-icon-active-border-color")]:u("item-icon-border-color"),[m("item-icon-active-text-color")]:u("item-icon-text-color")}},[`&${t}-horizontal`]:{[c]:{"&:before":{bottom:0,insetInlineStart:"50%",width:0,height:e.lineWidthBold},[`&${c}-active:before`]:{insetInlineStart:0,width:"100%"},"&:not(:last-child):after":{top:"50%",insetInlineStart:s(o).div(2).mul(-1).add("100%").equal(),width:o,height:o,transform:"translateY(-50%) rotate(45deg)"}}},[`&${t}-vertical`]:{[c.repeat(4)]:{[`${c}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:"50%",width:e.lineWidthBold,height:0},[`&${c}-active::before`]:{top:0,height:"100%"},"&:not(:last-child):after":{left:{_skip_check_:!0,value:"50%"},top:"100%",width:s(o).div(3).mul(2).equal(),height:s(o).div(3).mul(2).equal(),transform:"translateY(-50%) translateX(-50%) rotate(135deg)"}}}}}},wa=e=>{const{componentCls:t,lineWidthBold:o,borderRadius:n,borderRadiusSM:r,motionDurationMid:i,paddingXS:a,lineType:l,paddingSM:s,antCls:c,calc:d}=e,m=`${t}-item`,[u,p]=(0,F.PN)(c,"cmp-steps"),g=`${(0,V.zA)(o)} ${l} ${p("panel-border-color")}`;return{[`${t}${t}-panel`]:[{[`${m}-rail`]:{display:"none"},[`&${t}-horizontal`]:{alignItems:"stretch",[m]:{flex:1,margin:0}}},{"&":{[u("panel-padding")]:s,[u("item-border-radius")]:n,[m]:{[u("panel-bg-color")]:p("item-icon-bg-color"),[u("panel-border-color")]:p("item-icon-border-color"),[u("panel-active-bg-color")]:p("item-icon-active-bg-color"),[u("panel-active-border-color")]:p("item-icon-active-border-color"),[u("panel-title-height")]:`calc(${p("title-font-size")} * ${p("title-line-height")})`,[u("item-base-height")]:d(p("panel-padding")).mul(2).add(p("icon-size")).add(p("panel-title-height")).equal(),[u("item-base-width")]:`calc(${p("item-base-height")} * 0.7071)`,transition:`background-color ${i}`}},[`${m}-icon`]:{display:"none"},[`${m}-header`]:{minHeight:"auto"},[`${t}-panel-arrow`]:{position:"absolute",top:d(o).mul(-1).equal(),insetInlineStart:"100%",zIndex:1,height:d(o).mul(2).add("100%").equal(),width:p("item-base-width"),overflow:"visible",strokeLinecap:"round",path:{fill:p("panel-bg-color"),stroke:p("panel-border-color"),strokeWidth:o,vectorEffect:"non-scaling-stroke",transition:`fill ${i}`}},[`${m}:last-child ${t}-panel-arrow`]:{display:"none"},[m]:{padding:p("panel-padding"),background:p("panel-bg-color"),position:"relative",borderBlock:g,"&:not(:first-child)":{paddingInlineStart:`calc(${p("panel-padding")} + ${p("item-base-width")})`},"&:first-child":{borderInlineStart:g,borderStartStartRadius:p("item-border-radius"),borderEndStartRadius:p("item-border-radius")},"&:last-child":{borderInlineEnd:g,borderStartEndRadius:p("item-border-radius"),borderEndEndRadius:p("item-border-radius")},"&-active":{background:p("panel-active-bg-color"),borderColor:p("panel-active-border-color"),[`${t}-panel-arrow`]:{path:{fill:p("panel-active-bg-color"),stroke:p("panel-active-border-color")}},[`${m}-title, ${m}-subtitle, ${m}-content`]:{color:p("item-icon-active-text-color")}}}},{[`&${t}-small`]:{[u("panel-padding")]:a,[u("item-border-radius")]:r}},{[`&${t}-filled`]:{[m]:{"&:not(:first-child)":{clipPath:`polygon(${[`${(0,V.zA)(o)} 0`,`calc(100% + ${p("item-base-width")}) 0`,`calc(100% + ${p("item-base-width")}) 100%`,`${(0,V.zA)(o)} 100%`,`calc(${p("item-base-width")} + ${(0,V.zA)(o)}) 50%`].join(",")})`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:d(o).div(2).mul(-1).equal(),height:d(o).add("100%").equal()}}}]}},Ea=e=>{const{calc:t,antCls:o,componentCls:n,lineWidthBold:r,motionDurationSlow:i}=e,a=`${n}-item`,[l,s]=(0,F.PN)(o,"cmp-steps"),c=t(r).add(r).equal();return{[`${n}${n}
vendor: 10,505 bytes, line 1
1-with-progress`]:{[l("item-wrapper-padding-top")]:c,[`${a}${a}-process`]:{[`${a}-icon`]:{position:"relative"}},[`${a}-progress-icon`]:{"&-svg":{[l("svg-size")]:t(c).mul(2).add(s("icon-size")).equal(),[l("icon-size-ptg-unitless")]:`calc(100 / tan(atan2(${s("svg-size")}, 1px)))`,fontSize:s("svg-size"),lineHeight:s("icon-size-ptg-unitless"),position:"absolute",inset:t(c).mul(-1).equal(),width:"auto",height:"auto"},"&-circle":{lineHeight:s("icon-size-ptg-unitless"),strokeWidth:t(s("icon-size-ptg-unitless")).mul(r).equal(),[l("progress-radius")]:t(s("svg-size")).sub(r).mul(s("icon-size-ptg-unitless")).div(2).equal(),r:s("progress-radius"),fill:"none",cx:50,cy:50,transition:`all ${i} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}},Aa=e=>{const{componentCls:t,iconSize:o,dotSize:n,dotCurrentSize:r,marginXXS:i,lineWidthBold:a,fontSizeSM:l,antCls:s}=e,c=`${t}-item`,[d,m]=(0,F.PN)(s,"cmp-steps");return{[`${t}${t}-dot`]:{[d("icon-size-active")]:r,[d("icon-size")]:n,[d("dot-icon-size")]:n,[d("dot-icon-border-width")]:a,[d("rail-size")]:a,[d("icon-border-width")]:a,[`${c}-custom ${c}-icon`]:{fontSize:l},[`${c}-icon`]:{position:"relative","&:after":{content:'""',width:o,height:o,display:"block",position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"}},[`${c}-active ${c}-icon`]:{[d("icon-size")]:m("icon-size-active")},[`&${t}-horizontal`]:{[`&, &${t}-small`]:ya(e,i)}}}},za=e=>{const{componentCls:t,lineWidthBold:o,antCls:n}=e,r=`${t}-item`,[,i]=(0,F.PN)(n,"cmp-steps");return{[`${t}${t}-rtl`]:{direction:"rtl",[`&${t}-navigation${t}-horizontal`]:{[`${r}:after`]:{transform:"translateY(-50%) rotate(-45deg)"}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:"scaleX(-1)"},[`&${t}-filled`]:{[r]:{"&:not(:first-child)":{clipPath:`polygon(${[`calc(0px - ${i("item-base-width")}) 0px`,`calc(100% - ${(0,V.zA)(o)}) 0px`,`calc(100% - ${i("item-base-width")} - ${(0,V.zA)(o)}) 50%`,`calc(100% - ${(0,V.zA)(o)}) 100%`,`calc(0px - ${i("item-base-width")}) 100%`].join(",")})`}}}}}}},Ia=e=>{const{componentCls:t,iconSizeSM:o,fontSize:n,lineHeight:r,marginXS:i,fontHeight:a,marginSM:l,paddingXS:s,antCls:c}=e,[d]=(0,F.PN)(c,"cmp-steps");return{[`${t}${t}-small`]:{[d("icon-size")]:o,[d("title-horizontal-item-margin")]:l,[d("title-vertical-row-gap")]:s,[d("title-font-size")]:n,[d("title-line-height")]:r,[d("title-horizontal-rail-margin")]:i,[d("title-horizontal-title-height")]:a,[`&${t}-horizontal${t}-title-vertical`]:ya(e,i)}}},Ba="wait",Na="process",Ma="finish",Ta="error",Pa=e=>{const{componentCls:t,colorTextDisabled:o,colorTextLightSolid:n,colorPrimary:r,colorTextLabel:i,colorError:a,colorErrorHover:l,colorErrorBgFilledHover:s,colorFillTertiary:c,colorErrorBg:d,colorPrimaryBgHover:m,colorPrimaryBg:u,colorText:p,colorTextDescription:g,colorBgContainer:h,colorPrimaryHover:f,lineType:$,antCls:b}=e,v=`${t}-item`,[x,y]=(0,F.PN)(b,"cmp-steps");return{[t]:[{[v]:{[x("item-solid-line-color")]:"#000",[x("item-title-color")]:"#000",[x("item-content-color")]:"#000",[x("item-subtitle-color")]:y("item-content-color"),[x("item-icon-custom-color")]:"#000",[x("item-icon-bg-color")]:"#000",[x("item-icon-border-color")]:"#000",[x("item-icon-text-color")]:"#fff",[x("item-icon-dot-color")]:"#000",[x("item-icon-dot-bg-color")]:y("item-icon-dot-color"),[x("item-icon-dot-border-color")]:y("item-icon-dot-color"),[x("item-text-hover-color")]:"#000",[x("item-icon-bg-hover-color")]:y("item-icon-bg-color"),[x("item-icon-border-hover-color")]:y("item-icon-border-color"),[x("item-icon-text-hover-color")]:y("item-icon-text-color"),[x("item-content-active-color")]:y("item-content-color"),[x("item-icon-active-bg-color")]:y("item-icon-bg-color"),[x("item-icon-active-border-color")]:y("item-icon-border-color"),[x("item-icon-active-text-color")]:y("item-icon-text-color"),[x("item-process-rail-line-style")]:$},[`${v}-rail`]:{borderColor:y("item-solid-line-color")},[`${v}-custom ${v}-icon`]:{color:y("item-icon-custom-color")},[`${v}-title`]:{color:y("item-title-color")},[`${v}-subtitle`]:{color:y("item-subtitle-color")},[`${v}-content`]:{color:y("item-content-color")},[`${v}-active ${v}-icon`]:{},[`${v}-active ${v}-content`]:{color:y("item-content-active-color")},[`${v}[role='button']:not(${v}-active):hover`]:{[`${v}-title, ${v}-content`]:{color:y("item-text-hover-color")}},[`&:not(${t}-dot)`]:{[`${v}:not(${v}-custom)`]:{[`${v}-icon`]:{background:y("item-icon-bg-color"),borderColor:y("item-icon-border-color"),color:y("item-icon-text-color")},[`&[role='button']:not(${v}-active):hover`]:{[`${v}-icon`]:{background:y("item-icon-bg-hover-color"),borderColor:y("item-icon-border-hover-color"),color:y("item-icon-text-hover-color")}},[`&${v}-active`]:{[`${v}-icon`]:{background:y("item-icon-active-bg-color"),borderColor:y("item-icon-active-border-color"),color:y("item-icon-active-text-color")}}}},[`&${t}-dot`]:{[`${v}-icon`]:{background:y("item-icon-dot-bg-color"),borderColor:y("item-icon-dot-border-color"),color:y("item-icon-dot-color"),[`&${v}-icon-dot-custom`]:{background:"transparent",border:"none"}}}},{[`${v}-${Ba}`]:{[x("item-icon-custom-color")]:o,[x("item-title-color")]:g,[x("item-content-color")]:g,[x("item-content-active-color")]:p,[x("item-text-hover-color")]:f},[`${v}-rail-${Ba}`]:{[x("item-solid-line-color")]:o},[`${v}-${Na}`]:{[x("item-icon-custom-color")]:r,[x("item-title-color")]:p,[x("item-content-color")]:g,[x("item-content-active-color")]:p,[x("item-text-hover-color")]:f},[`${v}-rail-${Na}`]:{[x("item-solid-line-color")]:r,[x("rail-line-style")]:y("item-process-rail-line-style")},[`${v}-${Ma}`]:{[x("item-icon-custom-color")]:r,[x("item-title-color")]:p,[x("item-content-color")]:g,[x("item-content-active-color")]:p,[x("item-text-hover-color")]:f},[`${v}-rail-${Ma}`]:{[x("item-solid-line-color")]:r},[`${v}-${Ta}`]:{[x("item-icon-custom-color")]:a,[x("item-title-color")]:a,[x("item-content-color")]:a,[x("item-content-active-color")]:a,[x("item-text-hover-color")]:l},[`${v}-rail-${Ta}`]:{[x("item-solid-line-color")]:a}},{[`&${t}-filled`]:{[v]:{[x("item-icon-dot-border-color")]:"transparent"},[`${v}-${Ba}`]:{[x("item-icon-bg-color")]:c,[x("item-icon-border-color")]:"transparent",[x("item-icon-text-color")]:i,[x("item-icon-dot-bg-color")]:o,[x("item-icon-bg-hover-color")]:m,[x("item-icon-border-hover-color")]:"transparent",[x("item-icon-text-hover-color")]:r,[x("item-icon-active-bg-color")]:r,[x("item-icon-active-border-color")]:"transparent",[x("item-icon-active-text-color")]:n},[`${v}-${Na}, ${v}-${Ma}`]:{[x("item-icon-bg-color")]:u,[x("item-icon-border-color")]:"transparent",[x("item-icon-text-color")]:r,[x("item-icon-dot-bg-color")]:r,[x("item-icon-bg-hover-color")]:m,[x("item-icon-border-hover-color")]:"transparent",[x("item-icon-text-hover-color")]:r,[x("item-icon-active-bg-color")]:r,[x("item-icon-active-border-color")]:"transparent",[x("item-icon-active-text-color")]:n},[`${v}-${Ta}`]:{[x("item-icon-bg-color")]:d,[x("item-icon-border-color")]:"transparent",[x("item-icon-text-color")]:a,[x("item-icon-dot-bg-color")]:a,[x("item-icon-bg-hover-color")]:s,[x("item-icon-border-hover-color")]:"transparent",[x("item-icon-text-hover-color")]:a,[x("item-icon-active-bg-color")]:a,[x("item-icon-active-border-color")]:"transparent",[x("item-icon-active-text-color")]:n}}},{[`&${t}-outlined`]:{[v]:{[x("item-icon-dot-bg-color")]:"transparent"},[`${v}-${Ba}`]:{[x("item-icon-bg-color")]:h,[x("item-icon-border-color")]:o,[x("item-icon-text-color")]:o,[x("item-icon-dot-color")]:o,[x("item-icon-bg-hover-color")]:"transparent",[x("item-icon-border-hover-color")]:f,[x("item-icon-text-hover-color")]:f,[x("item-icon-active-bg-color")]:c},[`${v}-${Na}, ${v}-${Ma}`]:{[x("item-icon-bg-color")]:h,[x("item-icon-border-color")]:r,[x("item-icon-text-color")]:r,[x("item-icon-dot-color")]:r,[x("item-icon-bg-hover-color")]:"transparent",[x("item-icon-border-hover-color")]:f,[x("item-icon-text-hover-color")]:f,[x("item-icon-active-bg-color")]:u},[`${v}-${Ta}`]:{[x("item-icon-bg-color")]:h,[x("item-icon-border-color")]:a,[x("item-icon-text-color")]:a,[x("item-icon-dot-color")]:a,[x("item-icon-bg-hover-color")]:"transparent",[x("item-icon-border-hover-color")]:l,[x("item-icon-text-hover-color")]:l,[x("item-icon-active-bg-color")]:d}}}]}},Ra=e=>{const{componentCls:t,marginXXS:o,paddingSM:n,controlHeight:r,antCls:i,calc:a}=e,l=`${t}-item`,[s,c]=(0,F.PN)(i,"cmp-steps");return{[`${t}-vertical`]:{[s("vertical-rail-margin")]:a(o).mul(1.5).equal(),flexDirection:"column",alignItems:"stretch",[`> ${l}`]:{minHeight:a(r).mul(1.5).equal(),paddingBottom:n,"&:last-child":{paddingBottom:0},[`${l}-icon`]:{marginInlineStart:`calc((${c("icon-size-max")} - ${c("icon-size")}) / 2)`},[`${l}-rail`]:{[s("rail-offset")]:a(c("heading-height")).sub(c("icon-size")).div(2).equal(),borderInlineStartWidth:c("rail-size"),position:"absolute",top:a(c("icon-size")).add(c("item-wrapper-padding-top")).add(c("rail-offset")).add(c("vertical-rail-margin")).equal(),insetInlineStart:a(c("icon-size-max")).div(2).equal(),bottom:a(c("vertical-rail-margin")).sub(c("rail-offset")).equal(),marginInlineStart:`calc(${c("rail-size")} / -2)`}}}}},Ha=e=>{const{componentCls:t,antCls:o}=e,n=`${t}-item`,[r,i]=(0,F.PN)(o,"cmp-steps");return{[t]:{[r("title-font-size")]:e.fontSizeLG,[r("title-line-height")]:e.lineHeightLG,[r("subtitle-font-size")]:e.fontSize,[r("subtitle-line-height")]:e.lineHeight,[r("item-wrapper-padding-top")]:"0px",[r("rail-size")]:e.lineWidth,[r("rail-line-style")]:e.lineType,...(0,Y.dF)(e),display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[n]:{flex:"none",position:"relative"},[`${n}-wrapper`]:{display:"flex",flexWrap:"nowrap",paddingTop:i("item-wrapper-padding-top")},[`${n}-header`]:{display:"flex",flexWrap:"nowrap",alignItems:"center"},[`${n}-title`]:{color:e.colorText,fontSize:i("title-font-size"),lineHeight:i("title-line-height"),wordBreak:"break-word"},[`${n}-subtitle`]:{color:e.colorTextDescription,fontWeight:"normal",fontSize:i("subtitle-font-size"),lineHeight:i("subtitle-line-height"),marginInlineStart:e.marginXS,wordBreak:"break-word"},[`${n}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word"},[`${n}-rail`]:{borderStyle:i("rail-line-style"),borderWidth:0},[`${n}-title, ${n}-subtitle, ${n}-content, ${n}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${n}-title, ${n}-subtitle, ${n}-content`]:Y.L9},[`${n}[role='button']:focus-visible`]:(0,Y.jk)(e),[`${n}[role='button']:not(${n}
1-active):hover`]:{cursor:"pointer"}}}},Fa=(0,F.OF)("Steps",e=>{const t=(0,K.oX)(e,{inlineDotSize:6});return[Ha(t),va(t),Ra(t),ba(t),Ca(t),Ia(t),Aa(t),Pa(t),ka(t),wa(t),xa(t),Sa(t),Ea(t),za(t)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}));const Da={itemIcon:ga.D},La=e=>{const{size:t,className:o,rootClassName:n,style:r,variant:i="filled",type:a,classNames:l,styles:s,direction:c,orientation:d,responsive:m=!0,progressDot:u,labelPlacement:p,titlePlacement:g,ellipsis:h,maxCount:f,offset:$=0,items:b,percent:v,current:x=0,initial:y=0,onChange:C,iconRender:S,...k}=e,w=B.useContext(ha),E=(0,H.TP)("steps"),{getPrefixCls:A,direction:z,className:I,style:N}=E;let M,T,R={};w?R={root:w.rootComponent,item:w.itemComponent}:({classNames:M,styles:T}=E);const D=A(),L=A("steps",e.prefixCls),W=`${L}-item-icon`,[O,_]=Fa(L),[q]=(0,F.PN)(D,"cmp-steps"),G=(0,We.A)(t),K=B.useMemo(()=>(b||[]).filter(Boolean),[b]),{xs:V}=(0,Ze.A)(m),Q=B.useMemo(()=>a&&"default"!==a?a:u?"dot":a,[u,a]),Y="inline"===Q,U="dot"===Q||"inline"===Q,Z=B.useMemo(()=>"dot"===Q&&(0,ne.Tn)(u)?u:void 0,[Q,u]),J=B.useMemo(()=>"panel"===Q?"horizontal":m&&V||"vertical"===(d||c)?"vertical":"horizontal",[d,c,Q,m,V]),ee=B.useMemo(()=>U||"vertical"===J?"vertical"===J?"horizontal":"vertical":"navigation"===a?"horizontal":g||p||"horizontal",[U,p,J,g,a]),te=Y?void 0:v,{canApplyMaxCount:oe,displaySteps:re,mappedDisplayCurrent:ie,displayItems:ae}=function(e,t,o,n,r){const i=void 0!==n&&n>=3&&e.length>n,a=t-o,l=B.useMemo(()=>{if(!i)return e.map((e,t)=>({item:e,originIndex:t}));const t=function(e,t,o){const n=Math.min(Math.max(t,0),e-1),r=Math.min(o,e),i=new Set([0,n,e-1]);for(let t=1;i.size<r&&t<e;t+=1){const o=[n-t,n+t,t,e-1-t];for(const t of o){if(i.size>=r)break;t>=0&&t<e&&i.add(t)}}return Array.from(i).sort((e,t)=>e-t).flatMap((e,t,o)=>t>0&&e-o[t-1]>1?[null,e]:[e])}(e.length,a,n);return t.map((o,n)=>null===o?function(e,t,o,n,r){const i=e[o].key??o,a=e[n].key??n,l=e.slice(o+1,n).some(e=>"error"===e.status)?"error":n-1<t?"finish":"wait";return{item:{key:`ellipsis-${i}-${a}`,title:"",icon:B.createElement(Qo.A),status:l,disabled:!0,className:`${r}-item-ellipsis`},originIndex:-1}}(e,a,t[n-1],t[n+1],r):function(e,t){return{item:{...e,key:e.key??t},originIndex:t}}(e[o],o))},[i,a,e,n,r]),s=l.findIndex(e=>e.originIndex===a);return{canApplyMaxCount:i,displaySteps:l,mappedDisplayCurrent:s>=0?s:a,displayItems:l.map(e=>e.item)}}(K,x,y,f,L),le={...e,variant:i,size:G,type:Q,orientation:J,titlePlacement:ee,current:x,initial:y,percent:te,responsive:m,offset:$,ellipsis:h,maxCount:f},se=(0,X.XT)(N),de=(0,X.XT)(r),[me,ue]=(0,X.AV)([Da,M,l],[T,se,s,de],{props:le}),pe="panel"===Q?e=>B.createElement(B.Fragment,null,e,B.createElement(fa,{prefixCls:L})):void 0,ge={[q("items-offset")]:`${$}`},he=(0,P.$)(I,`${L}-${i}`,{[`${L}-${Q}`]:"dot"!==Q&&Q,[`${L}-rtl`]:"rtl"===z,[`${L}-dot`]:U,[`${L}-ellipsis`]:h,[`${L}-max-count`]:oe,[`${L}-with-progress`]:void 0!==te,[`${L}-small`]:"small"===G},o,n,O,_);return B.createElement(ua.Ay,{...k,prefixCls:L,className:he,style:ge,classNames:me,styles:ue,orientation:J,titlePlacement:ee,components:R,initial:0,current:ie,items:ae,onChange:C?e=>{const t=re[e];C&&t&&t.originIndex>=0&&C(y+t.originIndex)}:void 0,iconRender:(e,t)=>{const{item:o,index:n,active:r,components:{Icon:i}}=t,a=re[n]?.originIndex,l=void 0!==a&&a>=0?y+a:n,{status:s,icon:c}=o;let d=null;if(U||c)d=c;else switch(s){case"finish":d=B.createElement(ma.A,{className:`${W}-finish`});break;case"error":d=B.createElement(ce.A,{className:`${W}-error`});break;default:{let e=B.createElement("span",{className:`${W}-number`},l+1);"process"===s&&void 0!==te&&(e=B.createElement($a,{prefixCls:L,rootPrefixCls:D,percent:te},e)),d=e}}let m=B.createElement(i,null,d);return S?m=S(m,{index:l,active:r,item:o,components:{Icon:i}}):(0,ne.Tn)(Z)&&(m=Z(m,{index:l,...o})),m},itemRender:(e,t)=>{let o=e;return Y&&t.item.content&&(o=B.createElement(j.A,{destroyOnHidden:!0,title:t.item.content},e)),B.createElement(pa.A,{component:"Steps",disabled:t.item.disabled||!C,colorSource:"filled"===i?"color":null},o)},itemWrapperRender:pe})};var Wa=o(84849);const Oa=e=>{const{componentCls:t,trackHeightSM:o,trackPadding:n,trackMinWidthSM:r,innerMinMarginSM:i,innerMaxMarginSM:a,handleSizeSM:l,calc:s}=e,c=`${t}-inner`,d=(0,V.zA)(s(l).add(s(n).mul(2)).equal()),m=(0,V.zA)(s(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:r,height:o,lineHeight:(0,V.zA)(o),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked, ${c}-unchecked`]:{minHeight:o},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${m})`,marginInlineEnd:`calc(100% - ${d} + ${m})`},[`${c}-unchecked`]:{marginTop:s(o).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:l,height:l},[`${t}-loading-icon`]:{top:s(s(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${m})`,marginInlineEnd:`calc(-100% + ${d} - ${m})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${(0,V.zA)(s(l).add(n).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(e.marginXXS).div(2).equal(),marginInlineEnd:s(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:s(e.marginXXS).div(2).equal()}}}}}}},Xa=e=>{const{componentCls:t,handleSize:o,calc:n}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:n(n(o).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},_a=e=>{const{componentCls:t,trackPadding:o,handleBg:n,handleShadow:r,handleSize:i,calc:a}=e,l=`${t}-handle`;return{[t]:{[l]:{position:"absolute",top:o,insetInlineStart:o,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,...(0,Qi.V)(),"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:n,borderRadius:a(i).div(2).equal(),boxSh
1adow:r,transition:`all ${e.switchDuration} ease-in-out`,content:'""',...(0,Qi.X)()}},[`&${t}-checked ${l}`]:{insetInlineStart:`calc(100% - ${(0,V.zA)(a(i).add(o).equal())})`},[`&:not(${t}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},qa=e=>{const{componentCls:t,trackHeight:o,trackPadding:n,innerMinMargin:r,innerMaxMargin:i,handleSize:a,switchDuration:l,calc:s}=e,c=`${t}-inner`,d=(0,V.zA)(s(a).add(s(n).mul(2)).equal()),m=(0,V.zA)(s(i).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:r,transition:["padding-inline-start","padding-inline-end"].map(e=>`${e} ${l} ease-in-out`).join(", "),...(0,Qi.V)(),[`${c}-checked, ${c}-unchecked`]:{display:"flex",alignItems:"center",justifyContent:"center",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,pointerEvents:"none",minHeight:o,transition:["margin-inline-start","margin-inline-end"].map(e=>`${e} ${l} ease-in-out`).join(", "),...(0,Qi.V)()},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${m})`,marginInlineEnd:`calc(100% - ${d} + ${m})`},[`${c}-unchecked`]:{marginTop:s(o).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:r,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${m})`,marginInlineEnd:`calc(-100% + ${d} - ${m})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(n).mul(2).equal(),marginInlineEnd:s(n).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(n).mul(-1).mul(2).equal(),marginInlineEnd:s(n).mul(2).equal()}}}}}},ja=e=>{const{componentCls:t,trackHeight:o,trackMinWidth:n}=e;return{[t]:{...(0,Y.dF)(e),position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:n,height:o,lineHeight:(0,V.zA)(o),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",...(0,Qi.V)(),[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary},...(0,Y.K8)(e),[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}}}},Ga=(0,F.OF)("Switch",e=>{const t=(0,K.oX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ja(t),qa(t),_a(t),Xa(t),Oa(t)]},e=>
1{const{fontSize:t,lineHeight:o,controlHeight:n,colorWhite:r}=e,i=t*o,a=n/2,l=i-4,s=a-4;return{trackHeight:i,trackHeightSM:a,trackMinWidth:2*l+8,trackMinWidthSM:2*s+4,trackPadding:2,handleBg:r,handleSize:l,handleSizeSM:s,handleShadow:`0 2px 4px 0 ${new Ft.Y("#00230b").setA(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:s/2,innerMaxMarginSM:s+2+4}}),Ka=B.forwardRef((e,t)=>{const{prefixCls:o,size:n,disabled:r,loading:i,className:a,rootClassName:l,style:s,checked:c,value:d,defaultChecked:m,defaultValue:u,onChange:p,styles:g,classNames:h,...f}=e,[$,b]=(0,T.PW)(m??u??!1,c??d),{getPrefixCls:v,direction:x,className:y,style:C,classNames:S,styles:k}=(0,H.TP)("switch"),w=B.useContext(de.A),E=(r??w)||i,A=v("switch",o),[z,I]=Ga(A),N=(0,We.A)(n),M={...e,size:N,disabled:E},R=(0,X.XT)(C),F=(0,X.XT)(s),[D,L]=(0,X.AV)([S,h],[k,R,g,F],{props:M}),W=B.createElement("div",{className:(0,P.$)(`${A}-handle`,D.indicator),style:L.indicator},i&&B.createElement(ht.A,{className:`${A}-loading-icon`})),O=(0,P.$)(y,{[`${A}-small`]:"small"===N,[`${A}-loading`]:i,[`${A}-rtl`]:"rtl"===x},a,l,D.root,z,I);return B.createElement(pa.A,{component:"Switch",disabled:E},B.createElement(Wa.A,{...f,classNames:D,styles:L,checked:$,onChange:(...e)=>{b(e[0]),p?.(...e)},prefixCls:A,className:O,style:L.root,disabled:E,ref:t,loadingIcon:W}))}),Va=Ka;Va.__ANT_SWITCH=!0;const Qa=Va;var Ya=o(68921);var Ua=o(92160),Za=o(70412);const Ja={},el="SELECT_ALL",tl="SELECT_INVERT",ol="SELECT_NONE",nl=[],rl=(e,t,o=[])=>((t||[]).forEach(t=>{o.push(t),(0,ne.Qd)(t)&&e in t&&rl(e,t[e],o)}),o);var il=o(52078);const al=e=>{const t={};for(const[o,n]of Object.entries(e))(0,T.R)(n)&&(t[o]=n);return t},ll=(e,t)=>
1"key"in e&&(0,T.R)(e.key)?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function sl(e,t){return t?`${t}-${e}`:`${e}`}const cl=(e,t)=>(0,ne.Tn)(e)?e(t):e,dl=e=>{const t=e.toLowerCase();return t.includes("center")?"center":t.includes("left")||t.includes("start")?"start":"end"};var ml=o(10963),ul=o(37850),pl=o(82715),gl=o(65612),hl=o(85213),fl=o(72141),$l=o(96564),bl=o(71668);const vl=({treeCls:e,treeNodeCls:t,directoryNodeSelectedBg:o,directoryNodeSelectedColor:n,motionDurationMid:r,borderRadius:i,controlItemBgHover:a})=>({[`${e}${e}-directory ${t}`]:{[`${e}-node-content-wrapper`]:{position:"static",[`&:has(${e}-drop-indicator)`]:{position:"relative"},[`> *:not(${e}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${r}`,content:'""',borderRadius:i},"&:hover:before":{background:a}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{background:o,borderRadius:i,[`${e}-switcher, ${e}-draggable-icon`]:{color:n},[`${e}-node-content-wrapper`]:{color:n,background:"transparent","&, &:hover":{color:n},"&:before, &:hover:before":{background:o}}}}}),xl=new V.Mo("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),yl=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),Cl=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,V.zA)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Sl=(e,t)=>{const{treeCls:o,treeNodeCls:n,treeNodePadding:r,titleHeight:i,indentSize:a,switcherSize:l,motionDurationMid:s,nodeSelectedBg:c,nodeHoverBg:d,colorTextQuaternary:m,controlItemBgActiveDisabled:u}=t;return{[o]:{...(0,Y.dF)(t),"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${o}-rtl ${o}-switcher_close ${o}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`${o}-list`]:{"&:focus-visible":{outline:"none",[`${n}-active ${o}-node-content-wrapper`]:{...(0,Y.jk)(t)}}},[`${o}-list-scrollbar`]:{cursor:"pointer","&:hover":{backgroundColor:t.colorFillQuaternary}},[`${o}-list-holder-inner`]:{alignItems:"flex-start"},[`&${o}-block-node`]:{[`${o}-list-holder-inner`]:{alignItems:"stretch",[`${o}-node-content-wrapper`]:{flex:"auto"},[`${n}.dragging:after`]:{position:"absolute",inset:0,border:`${(0,V.zA)(t.lineWidth)} ${t.lineType} ${t.colorPrimary}`,opacity:0,animationName:xl,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[n]:{display:"flex",alignItems:"flex-start",marginBottom:r,lineHeight:(0,V.zA)(i),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:r},[`&-disabled ${o}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${o}-checkbox-disabled + ${o}-node-selected,&${n}-disabled${n}-selected ${o}-node-content-wrapper`]:{backgroundColor:u},[`${o}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${n}-disabled)`]:{[`${o}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${o}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${n}-disabled).filter-node ${o}-title`]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:"grab",[`${o}-draggable-icon`]:{flexShrink:0,width:l,textAlign:"center",visibility:"visible",color:m},[`&${n}-disabled ${o}-draggable-icon`]:{visibility:"hidden"}}},[`${o}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${o}-draggable-icon`]:{visibility:"hidden"},[`${o}-switcher, ${o}-checkbox`]:{marginInlineEnd:t.calc(t.calc(l).sub(t.controlInteractiveSize)).div(2).equal()},[`${o}-checkbox`]:{flexShrink:0,alignSelf:"flex-start",marginBlockStart:t.calc(t.calc(i).sub(t.controlInteractiveSize)).div(2).equal()},[`${o}-switcher`]:{...yl(e,t),position:"relative",flex:"none",alignSelf:"stretch",width:l,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:l,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${o}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${o}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(l).div(2).equal(),bottom:t.calc(r).mul(-1).equal(),marginInlineStart:t.calc(t.lineWidth).mul(-1).equal(),borderInlineEnd:`${(0,V.zA)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(l).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`${(0,V.zA)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,content:'""'}}},[`${o}-node-content-wrapper`]:{position:"relative",minHeight:i,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:[`all ${s}`,"border 0s","line-height 0s","box-shadow 0s"].join(", "),...Cl(e,t),"&:hover":{backgroundColor:d},[`&${o}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:c},[`${o}-iconEle`]:{display:"inline-block",width:l,height:i,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${o}-unselectable ${o}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${o}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(l).div(2).equal(),bottom:t.calc(r).mul(-1).equal(),borderInlineEnd:`${(0,V.zA)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${o}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${n}-leaf-last ${o}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,V.zA)(t.calc(i).div(2).equal())} !important`}}}},kl=(e,t,o=!0)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.calc(t.paddingXS).div(2).equal(),a=(0,K.oX)(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i});
1return[Sl(e,a),o&&vl(a)].filter(Boolean)},wl=e=>{const{controlHeightSM:t,controlItemBgHover:o,controlItemBgActive:n}=e;return{titleHeight:t,switcherSize:t,indentSize:t,nodeHoverBg:o,nodeHoverColor:e.colorText,nodeSelectedBg:n,nodeSelectedColor:e.colorText}},El=(0,F.OF)("Tree",(e,{prefixCls:t})=>[{[e.componentCls]:(0,bl.gd)(`${t}-checkbox`,e)},kl(t,e),(0,ye.A)(e)],e=>{const{colorTextLightSolid:t,colorPrimary:o}=e;return{...wl(e),directoryNodeSelectedColor:t,directoryNodeSelectedBg:o}}),Al=e=>{const{dropPosition:t,dropLevelOffset:o,prefixCls:n,indent:r,direction:i="ltr"}=e,a="ltr"===i?"left":"right",l="ltr"===i?"right":"left",s={[a]:-o*r+4,[l]:0};switch(t){case-1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[a]=r+4}return B.createElement("div",{style:s,className:`${n}-drop-indicator`})};var zl=o(21723),Il=o(23368),Bl=o(83571);const Nl=e=>{const{prefixCls:t,switcherIcon:o,treeNodeProps:n,showLine:r,switcherLoadingIcon:i}=e,{isLeaf:a,expanded:l,loading:s}=n;if(s)return B.isValidElement(i)?i:B.createElement(ht.A,{className:`${t}-switcher-loading-icon`});let c;if((0,ne.Qd)(r)&&(c=r.showLeafIcon),a){if(!r)return null;if("boolean"!=typeof c&&c){const e=(0,ne.Tn)(c)?c(n):c,o=`${t}-switcher-line-custom-icon`;return B.isValidElement(e)?(0,Ge.Ob)(e,{className:(0,P.$)(e.props?.className,o)}):e}return c?B.createElement(gl.A,{className:`${t}-switcher-line-icon`}):B.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,m=(0,ne.Tn)(o)?o(n):o;return B.isValidElement(m)?(0,Ge.Ob)(m,{className:(0,P.$)(m.props?.className,r?`${t}-switcher-line-icon`:d)}):void 0!==m?m:r?l?B.createElement(Il.A,{className:`${t}-switcher-line-icon`}):B.createElement(Bl.A,{className:`${t}-switcher-line-icon`}):B.createElement(zl.A,{className:d})},Ml=B.forwardRef((e,t)=>{const{getPrefixCls:o,direction:n,className:r,style:i,classNames:a,styles:l}=(0,H.TP)("tree"),{virtual:s}=B.useContext(H.QO),{prefixCls:c,className:d,showIcon:m=!1,showLine:u,switcherIcon:p,switcherLoadingIcon:g,blockNode:h=!1,children:f,checkable:$=!1,selectable:b=!0,draggable:v,disabled:x,motion:y,style:C,rootClassName:S,rootStyle:k,classNames:w,styles:E,icon:A}=e,z=B.useContext(de.A),I=x??z,N=o("tree",c),M=o(),T=y??{...(0,be.A)(M),motionAppear:!1},R={...e,showIcon:m,blockNode:h,checkable:$,selectable:b,disabled:I,motion:T},F=(0,X.XT)(k),[D,L]=(0,X.AV)([a,w],[l,F,E],{props:R}),W={...R,showLine:Boolean(u),icon:A,dropIndicatorRender:Al},[O,_]=El(N),[,q]=(0,Jo.Ay)(),j=q.paddingXS/2+(q.Tree?.titleHeight||q.controlHeightSM),G=B.useMemo(()=>{if(!v)return!1;let e={};switch(typeof v){case"function":e.nodeDraggable=v;break;case"object":e={...v}}return!1!==e.icon&&(e.icon=e.icon||B.createElement($l.A,null)),e},[v]);return B.createElement(Ua.Ay,{itemHeight:j,ref:t,virtual:s,...W,prefixCls:N,className:(0,P.$)({[`${N}-icon-hide`]:!m,[`${N}-block-node`]:h,[`${N}-unselectable`]:!b,[`${N}-rtl`]:"rtl"===n,[`${N}-disabled`]:I},r,d,O,_),style:{...i,...C},rootClassName:(0,P.$)(D.root,S),rootStyle:L.root,classNames:D,styles:L,direction:n,checkable:$?B.createElement("span",{className:`${N}-checkbox-inner`}):$,selectable:b,switcherIcon:e=>B.createElement(Nl,{prefixCls:N,switcherIcon:p,switcherLoadingIcon:g,treeNodeProps:e,showLine:u}),draggable:G},f)}),Tl=Ml;function Pl(e,t,o){const{key:n,children:r}=o;e.forEach(function(e){const i=e[n],a=e[r];!1!==t(i,e)&&Pl(a||[],t,o)})}function Rl(e,t,o){const n=(0,$e.A)(t),r=[];return Pl(e,(e,t)=>{const o=n.indexOf(e);return-1!==o&&(r.push(t),n.splice(o,1)),!!n.length},(0,Ua.AZ)(o)),r}function Hl(e){const{isLeaf:t,expanded:o}=e;return t?B.createElement(gl.A,null):o?B.createElement(hl.A,null):B.createElement(fl.A,null)}function Fl({treeData:e,children:t}){return e||(0,Ua.vH)(t)}const Dl=B.forwardRef((e,t)=>{const{defaultExpandAll:o,defaultExpandParent:n=!0,defaultExpandedKeys:r,...i}=e,a=B.useRef(null),l=B.useRef(null),[s,c]=(0,T.PW)(i.defaultSelectedKeys||[],i.selectedKeys),[d,m]=(0,T.PW)(()=>{const{keyEntities:e}=(0,Ua.cG)(Fl(i),{fieldNames:i.fieldNames});let t;const a=i.expandedKeys||r||[];return t=o?Object.keys(e):n?(0,Ua.hr)(a,e):a,t},i.expandedKeys),{getPrefixCls:u,direction:p}=B.useContext(H.QO),{prefixCls:g,className:h,showIcon:f=!0,expandAction:$="click",...b}=i,v=u("tree",g),x=(0,P.$)(`${v}-directory`,{[`${v}-directory-rtl`]:"rtl"===p},h);return B.createElement(Tl,{icon:Hl,ref:t,blockNode:!0,...b,showIcon:f,expandAction:$,prefixCls:v,className:x,defaultExpandParent:n,expandedKeys:d,selectedKeys:s,onSelect:(e,t)=>
1{const{multiple:o,fieldNames:n}=i,{node:r,nativeEvent:s}=t,{key:m=""}=r,u=Fl(i),p={...t,selected:!0},g=s?.ctrlKey||s?.metaKey,h=s?.shiftKey;let f;o&&g?(f=e,a.current=m,l.current=f,p.selectedNodes=Rl(u,f,n)):o&&h?(f=Array.from(new Set([].concat((0,$e.A)(l.current||[]),(0,$e.A)(function({treeData:e,expandedKeys:t,startKey:o,endKey:n,fieldNames:r}){const i=[];let a=0;return(0,T.R)(o)&&(0,T.R)(n)?o===n?[o]:(Pl(e,e=>{if(2===a)return!1;if(function(e){return e===o||e===n}(e)){if(i.push(e),0===a)a=1;else if(1===a)return a=2,!1}else 1===a&&i.push(e);return t.includes(e)},(0,Ua.AZ)(r)),i):[]}({treeData:u,expandedKeys:d,startKey:m,endKey:a.current,fieldNames:n}))))),p.selectedNodes=Rl(u,f,n)):(f=[m],a.current=m,l.current=f,p.selectedNodes=Rl(u,f,n)),i.onSelect?.(f,p),c(f)},onExpand:(e,t)=>(m(e),i.onExpand?.(e,t))})}),Ll=Tl;Ll.DirectoryTree=Dl,Ll.TreeNode=Ua.nF,Ll.useTree=Ua.Wc;const Wl=Ll;var Ol=o(19042);const Xl=e=>{const{value:t,filterSearch:o,tablePrefixCls:n,locale:r,onChange:i}=e;return o?B.createElement("div",{className:`${n}-filter-dropdown-search`},B.createElement(oo.A,{prefix:B.createElement(xo.A,null),placeholder:r.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${n}-filter-dropdown-search-input`})):null},_l=e=>{const{keyCode:t}=e;t===T.DD.ENTER&&e.stopPropagation()},ql=B.forwardRef((e,t)=>B.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:_l,ref:t,role:"presentation"},e.children));function jl(e){let t=[];return(e||[]).forEach(({value:e,children:o})=>{t.push(e),o&&(t=[].concat((0,$e.A)(t),(0,$e.A)(jl(o))))}),t}const Gl=(e,t)=>!("string"!=typeof t&&!(0,ne.Et)(t))&&t.toString().toLowerCase().includes(e),Kl=e=>{const{filters:t,prefixCls:o,filteredKeys:n,filterMultiple:r,searchValue:i,normalizedSearchValue:a,filterSearch:l}=e;return t.map((e,t)=>{const s=String(e.value);if(e.children)return{key:s||t,label:e.text,popupClassName:`${o}-dropdown-submenu`,children:Kl({filters:e.children,prefixCls:o,filteredKeys:n,filterMultiple:r,searchValue:i,normalizedSearchValue:a,filterSearch:l})};const c=r?b.A:fi,d={key:void 0!==e.value?s:t,label:B.createElement(B.Fragment,null,B.createElement(c,{checked:n.includes(s)}),B.createElement("span",null,e.text))};return a?(0,ne.Tn)(l)?l(a,e)?d:null:Gl(a,e.text)?d:null:d})};function Vl(e){return e||[]}const Ql=e=>{const{tablePrefixCls:t,prefixCls:o,column:n,dropdownPrefixCls:r,columnKey:i,filterOnClose:a,filterMultiple:l,filterMode:s="menu",filterSearch:c=!1,filterState:d,triggerFilter:m,locale:u,children:p,getPopupContainer:g,rootClassName:h}=e,{filterResetToDefaultFilteredValue:f,defaultFilteredValue:$,filterDropdownProps:v={},filterDropdownOpen:x,onFilterDropdownOpenChange:y}=n,[C,S]=B.useState(!1),k=B.useContext(Ol.A),w=!(!d||!d.filteredKeys?.length&&!d.forceFiltered),E=e=>{S(e),v.onOpenChange?.(e),y?.(e)},I=v.open??x??C,N=d?.filteredKeys,[M,R]=(0,ul.M)(Vl(N)),F=({selectedKeys:e})=>{R(e)},D=(e,{node:t,checked:o})=>{F(l?{selectedKeys:e}:{selectedKeys:o?[t.key]:[]})};B.useEffect(()=>{I&&F({selectedKeys:Vl(N)})},[N,I]);const[L,W]=B.useState([]),O=e=>{W(e)},[X,q]=B.useState(""),j=B.useMemo(()=>X.trim().toLowerCase(),[X]),G=e=>{const{value:t}=e.target;q(t)};B.useEffect(()=>{I||q("")},[I]);const K=e=>{const t=e?.length?e:null;return null!==t||d&&d.filteredKeys?(0,T.n4)(t,d?.filteredKeys,!0)?null:void m({column:n,key:i,filteredKeys:t}):null},V=()=>{E(!1),K(M())},Q=({confirm:e,closeDropdown:t}={confirm:!1,closeDropdown:!1})=>{e&&K([]),t&&E(!1),q(""),R(f?($||[]).map(String):[])},Y=(0,P.$)({[`${r}-menu-without-submenu`]:(U=n.filters||[],!U.some(({children:e})=>e))});var U;const Z=e=>{if(e.target.checked){const e=jl(n?.filters).map(String);R(e)}else R([])},J=({filters:e})=>(e||[]).map((e,t)=>{const o=String(e.value),n={title:e.text,key:void 0!==e.value?o:String(t)};return e.children&&(n.children=J({filters:e.children})),n}),ee=e=>({...e,text:e.title,value:e.key,children:e.children?.map(ee)||[]});let te;const{direction:oe,renderEmpty:re}=B.useContext(H.QO);if((0,ne.Tn)(n.filterDropdown))te=n.filterDropdown({prefixCls:`${r}-custom`,setSelectedKeys:e=>F({selectedKeys:e}),selectedKeys:M(),confirm:({closeDropdown:e}={closeDropdown:!0})=>{e&&E(!1),K(M())},clearFilters:Q,filters:n.filters,visible:I,close:()=>{E(!1)}});else if(n.filterDropdown)te=n.filterDropdown;else{const e=M()||[],i=()=>{const i=re?.("Table.filter")??B.createElement(z.A,{image:z.A.PRESENTED_IMAGE_SIMPLE,description:u.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if(0===(n.filters||[]).length)return i;if("tree"===s)return B.createElement(B.Fragment,null,B.createElement(Xl,{filterSearch:c,value:X,onChange:G,tablePrefixCls:t,locale:u}),B.createElement("div",{className:`${t}-filter-dropdown-tree`},l?B.createElement(b.A,{checked:e.length===jl(n.filters).length,indeterminate:e.length>0&&e.length<jl(n.filters).length,className:`${t}-filter-dropdown-checkall`,onChange:Z},u?.filterCheckall??u?.filterCheckAll):null,B.createElement(Wl,{checkable:!0,selectable:!1,blockNode:!0,multiple:l,checkStrictly:!l,className:`${r}-menu`,onCheck:D,checkedKeys:e,selectedKeys:e,showIcon:!1,treeData:J({filters:n.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:j?e=>(0,ne.Tn)(c)?c(X,ee(e)):Gl(j,e.title):void 0})));const a=Kl({filters:n.filters||[],filterSearch:c,prefixCls:o,filteredKeys:M(),filterMultiple:l,searchValue:X,normalizedSearchValue:j}),d=a.every(e=>null===e);return B.createElement(B.Fragment,null,B.createElement(Xl,{filterSearch:c,value:X,onChange:G,tablePrefixCls:t,locale:u}),d?i:B.createElement(gr.A,{selectable:!0,multiple:l,prefixCls:`${r}-menu`,className:Y,onSelect:F,onDeselect:F,selectedKeys:e,getPopupContainer:g,o
1penKeys:L,onOpenChange:O,items:a}))},a=()=>f?(0,T.n4)(($||[]).map(String),e,!0):0===e.length;te=B.createElement(B.Fragment,null,i(),B.createElement("div",{className:`${o}-dropdown-btns`},B.createElement(_.A,{type:"link",size:"small",disabled:a(),onClick:()=>Q()},u.filterReset),B.createElement(_.A,{type:"primary",size:"small",onClick:V},u.filterConfirm)))}n.filterDropdown&&(te=B.createElement(pl.A,{selectable:void 0},te)),te=B.createElement(ql,{className:`${o}-dropdown`},te);const ie=(()=>{let e;return e=(0,ne.Tn)(n.filterIcon)?n.filterIcon(w):n.filterIcon?n.filterIcon:B.createElement(ml.A,null),B.createElement("span",{role:"button",tabIndex:-1,className:(0,P.$)(`${o}-trigger`,{active:w}),onClick:e=>{e.stopPropagation()}},e)})();if(k)return B.createElement("div",{className:`${o}-column`},B.createElement("span",{className:`${t}-column-title`},p),ie);const ae=(0,T.v6)({trigger:["click"],placement:"rtl"===oe?"bottomLeft":"bottomRight",children:ie,getPopupContainer:g},{...v,rootClassName:(0,P.$)(h,v.rootClassName),open:I,onOpenChange:(e,t)=>
1{"trigger"===t.source&&(e&&void 0!==N&&R(Vl(N)),e||n.filterDropdown||!a?E(e):V())},popupRender:()=>(0,ne.Tn)(v?.dropdownRender)?v.dropdownRender(te):te});return B.createElement("div",{className:`${o}-column`},B.createElement("span",{className:`${t}-column-title`},p),B.createElement(A.A,{...ae}))},Yl=(e,t,o)=>{let n=[];return(e||[]).forEach((e,r)=>{const i=sl(r,o),a=void 0!==e.filterDropdown;if(e.filters||a||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;a||(t=t?.map(String)??t),n.push({column:e,key:ll(e,i),filteredKeys:t,forceFiltered:e.filtered})}else n.push({column:e,key:ll(e,i),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(n=[].concat((0,$e.A)(n),(0,$e.A)(Yl(e.children,t,i))))}),n};function Ul(e,t,o,n,r,i,a,l,s){return o.map((o,c)=>{const d=sl(c,l),{filterOnClose:m=!0,filterMultiple:u=!0,filterMode:p,filterSearch:g}=o;let h=o;if(h.filters||h.filterDropdown){const l=ll(h,d),c=n.find(({key:e})=>l===e);h={...h,title:n=>B.createElement(Ql,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:l,filterState:c,filterOnClose:m,filterMultiple:u,filterMode:p,filterSearch:g,triggerFilter:i,locale:r,getPopupContainer:a,rootClassName:s},cl(o.title,n))}}return"children"in h&&(h={...h,children:Ul(e,t,h.children,n,r,i,a,d,s)}),h})}const Zl=e=>{const t={};return e.forEach(({key:e,filteredKeys:o,column:n})=>{const r=e,{filters:i,filterDropdown:a}=n;if(a)t[r]=o||null;else if(Array.isArray(o)){const e=jl(i);t[r]=e.filter(e=>o.includes(String(e)))}else t[r]=null}),t},Jl=(e,t,o)=>t.reduce((e,n)=>{const{column:{onFilter:r,filters:i},filteredKeys:a}=n;if(r&&a&&a.length){const n=jl(i),l=new Map;n.forEach(e=>{const t=String(e);l.has(t)||l.set(t,e)});const s=a.map(e=>{const t=String(e);return l.get(t)??e});return e.reduce((e,n)=>{const i={...n};return i[o]&&(i[o]=Jl(i[o],t,o)),s.some(e=>r(e,i))&&e.push(i),e},[])}return e},e),es=e=>e.flatMap(e=>"children"in e?[e].concat((0,$e.A)(es(e.children||[]))):[e]),ts=e=>{const{prefixCls:t,dropdownPrefixCls:o,mergedColumns:n,baseColumns:r,onFilterChange:i,getPopupContainer:a,locale:l,rootClassName:s}=e,c=((0,Ke.rJ)("Table"),B.useMemo(()=>es(r??n??[]),[r,n])),[d,m]=B.useState(()=>Yl(c,!0)),u=B.useMemo(()=>{const e=Yl(c,!1);if(0===e.length)return e;let t=!0,o=!0;if(e.forEach(({filteredKeys:e})=>{void 0!==e?t=!1:o=!1}),t){const e=(c||[]).map((e,t)=>ll(e,sl(t)));return d.reduce((t,o)=>{const n=e.indexOf(o.key);if(-1!==n){const e=c[n];t.push({...o,column:{...o.column,...e},forceFiltered:e.filtered})}return t},[])}return e},[c,d]),p=B.useMemo(()=>Zl(u),[u]),g=e=>{const t=u.filter(({key:t})=>t!==e.key);t.push(e),m(t),i(Zl(t),t)};return[e=>Ul(t,o,e,u,l,g,a,void 0,s),u,p]};var os=o(61476),ns=o(33521);const rs="ascend",is="descend",as=e=>!(!(0,ne.Qd)(e.sorter)||!(0,ne.Et)(e.sorter.multiple))&&e.sorter.multiple,ls=e=>(0,ne.Tn)(e)?e:!(!(0,ne.Qd)(e)||!e.compare)&&e.compare,ss=(e,t,o)=>{let n=[];const r=(e,t)=>{n.push({column:e,key:ll(e,t),multiplePriority:as(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,i)=>{const a=sl(i,o);e.children?("sortOrder"in e&&r(e,a),n=[].concat((0,$e.A)(n),(0,$e.A)(ss(e.children,t,a)))):e.sorter&&("sortOrder"in e?r(e,a):t&&e.defaultSortOrder&&n.push({column:e,key:ll(e,a),multiplePriority:as(e),sortOrder:e.defaultSortOrder}))}),n},cs=(e,t,o,n,r,i,a,l,s)=>{const c=(t||[]).map((t,c)=>{const d=sl(c,l);let m=t;if(m.sorter){const l=m.sortDirections||r,c=void 0===m.showSorterTooltip?a:m.showSorterTooltip,u=ll(m,d),p=o.find(({key:e})=>e===u),g=p?p.sortOrder:null,h=((e,t)=>t?e[e.indexOf(t)+1]:e[0])(l,g);let f;if(t.sortIcon)f=t.sortIcon({sortOrder:g});else{const t=l.includes(rs)&&B.createElement(ns.A,{className:(0,P.$)(`${e}-column-sorter-up`,{active:g===rs})}),o=l.includes(is)&&B.createElement(os.A,{className:(0,P.$)(`${e}-column-sorter-down`,{active:g===is})});f=B.createElement("span",{className:(0,P.$)(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!(!t||!o)})},B.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,o))}const{cancelSort:$,triggerAsc:b,triggerDesc:v}=i||{};let x=$;h===is?x=v:h===rs&&(x=b);const y=(0,ne.Qd)(c)?{title:x,...c}:{title:x};m={...m,className:(0,P.$)(m.className,{[`${e}-column-sort`]:g}),title:o=>{const n=`${e}-column-sorters`,r=B.createElement("span",{className:`${e}-column-title`},cl(t.title,o)),i=B.createElement("div",{className:n},r,f);return c?"boolean"!=typeof c&&"sorter-icon"===c?.target?B.createElement("div",{className:(0,P.$)(n,`${n}-tooltip-target-sorter`)},r,B.createElement(j.A,{...y},f)):B.createElement(j.A,{...y},i):i},onHeaderCell:o=>{const r=t.onHeaderCell?.(o)||{},i=r.onClick,a=r.onKeyDown;r.onClick=e=>{n({column:t,key:u,sortOrder:h,multiplePriority:as(t)}),i?.(e)},r.onKeyDown=e=>{e.keyCode===T.DD.ENTER&&n({column:t,key:u,sortOrder:h,multiplePriority:as(t)}),a?.(e)};const l=(e=>{const t=cl(e,{});return(0,ne.Qd)(t)||Array.isArray(t)?"":t})(t.title),c=l?.toString();return g&&(r["aria-sort"]="ascend"===g?"ascending":"descending"),r["aria-description"]=s?.sortable,r["aria-label"]=c||"",r.className=(0,P.$)(r.className,`${e}-column-has-sorters`),r.tabIndex=0,t.ellipsis&&(r.title=(l??"").toString()),r}}}return"children"in m&&(m={...m,children:cs(e,m.children,o,n,r,i,a,d,s)}),m});return c},ds=e=>{const{column:t,sortOrder:o}=e;return{column:t,order:o,field:t.dataIndex,columnKey:t.key}},ms=e=>{const t=e.reduce((e,t)=>
1(t.sortOrder&&e.push(ds(t)),e),[]);if(0===t.length&&e.length){const t=e.length-1;return{...ds(e[t]),column:void 0,order:void 0,field:void 0,columnKey:void 0}}return t.length<=1?t[0]||{}:t},us=(e,t,o)=>{const n=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),r=e.slice(),i=n.filter(({column:{sorter:e},sortOrder:t})=>ls(e)&&t);return i.length?r.sort((e,t)=>{for(let o=0;o<i.length;o+=1){const n=i[o],{column:{sorter:r},sortOrder:a}=n,l=ls(r);if(l&&a){const o=l(e,t,a);if(0!==o)return a===rs?o:-o}}return 0}).map(e=>{const n=e[o];return n?{...e,[o]:us(n,t,o)}:e}):r},ps=(e,t)=>e.map(e=>{const o={...e};return o.title=cl(e.title,t),"children"in o&&(o.children=ps(o.children,t)),o}),gs=(0,Ya.T)((e,t)=>{const{_renderTimes:o}=e,{_renderTimes:n}=t;return o!==n}),hs=(0,Ya.Y9)((e,t)=>{const{_renderTimes:o}=e,{_renderTimes:n}=t;return o!==n}),fs=e=>{const{antCls:t,componentCls:o,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:a,tablePaddingVertical:l,tablePaddingHorizontal:s,calc:c}=e,d=`${(0,V.zA)(n)} ${r} ${i}`,[m,u]=(0,F.PN)(t,"table"),p=(e,t,r)=>({[`&${o}-${e}`]:{[`> ${o}-container`]:{[`> ${o}-content, > ${o}-body`]:{"> table > tbody > tr > th, > table > tbody > tr > td":{[`> ${o}-expanded-row-fixed`]:{margin:`${(0,V.zA)(c(t).mul(-1).equal())}\n ${(0,V.zA)(c(c(r).add(n)).mul(-1).equal())}`}}}}}});return{[`${o}-wrapper`]:{[m("nested-border-top")]:d,[`${o}${o}-bordered`]:{[`> ${o}-title`]:{border:d,borderBottom:0},[`> ${o}-container`]:{borderInlineStart:d,borderTop:d,"&:first-child":{borderTop:u("nested-border-top",d)},[`> ${o}-header${o}-sticky-holder`]:{marginTop:c(n).mul(-1).equal(),borderTop:d},[`> ${o}-content, > ${o}-header, > ${o}-body, > ${o}-summary`]:{"> table":{"> thead > tr > th, > thead > tr > td, > tbody > tr > th, > tbody > tr > td, > tfoot > tr > th, > tfoot > tr > td":{borderInlineEnd:d},"> thead":{"> tr:not(:last-child) > th":{borderBottom:d},"> tr > th::before":{backgroundColor:"transparent !important"}},"> thead > tr, > tbody > tr, > tfoot > tr":{[`> ${o}-cell-fix-right-first:not(${o}-cell-fix-right-last)::after`]:{borderInlineEnd:d}},"> tbody > tr > th, > tbody > tr > td":{[`> ${o}-expanded-row-fixed`]:{margin:`${(0,V.zA)(c(l).mul(-1).equal())} ${(0,V.zA)(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${o}-scroll-horizontal`]:{[`> ${o}-container > ${o}-body`]:{"> table > tbody":{[`\n > tr${o}-expanded-row,\n > tr${o}-placeholder\n `]:{"> th, > td":{borderInlineEnd:0}}}}},...p("medium",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle),...p("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall),[`> ${o}-footer`]:{border:d,borderTop:0}},[`${o}-cell`]:{[`\n > ${o}-wrapper:only-child,\n > ${o}-expanded-row-fixed > ${o}-wrapper:only-child\n `]:{[m("nested-border-top")]:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,V.zA)(n)} 0 ${(0,V.zA)(n)} ${a}`}},[`${o}-bordered ${o}-cell-scrollbar`]:{borderInlineEnd:d}}}},$s=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:{...Y.L9,wordBreak:"keep-all",[`\n &${t}-cell-fix-start-shadow,\n &${t}-cell-fix-end-shadow\n `]:{overflow:"visible",[`${t}-cell-content`]:{...Y.L9,display:"block"}},[`${t}-column-title`]:{...Y.L9,wordBreak:"keep-all"}}}}},bs=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > th, &:hover > td":{background:e.colorBgContainer}}}}},vs=e=>{const{componentCls:t,antCls:o,motionDurationSlow:n,lineWidth:r,paddingXS:i,lineType:a,tableBorderColor:l,tableExpandIconBg:s,tableExpandColumnWidth:c,borderRadius:d,tablePaddingVertical:m,tablePaddingHorizontal:u,tableExpandedRowBg:p,paddingXXS:g,expandIconMarginTop:h,expandIconSize:f,expandIconHalfInner:$,expandIconScale:b,calc:v}=e,x=`${(0,V.zA)(r)} ${a} ${l}`,y=v(g).sub(r).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:c},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:{...(0,Y.Y1)(e),position:"relative",float:"left",width:f,height:f,color:"inherit",lineHeight:(0,V.zA)(f),background:s,border:x,borderRadius:d,transform:`scale(${b})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${n} ease-out`,content:'""'},"&::before":{top:$,insetInlineEnd:y,insetInlineStart:y,height:r},"&::after":{top:y,bottom:y,insetInlineStart:$,width:r,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}},[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${o}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,V.zA)(v(m).mul(-1).equal())} ${(0,V.zA)(v(u).mul(-1).equal())}`,padding:`${(0,V.zA)(m)} ${(0,V.zA)(u)}`}}}},xs=e=>{const{componentCls:t,antCls:o,iconCls:n,tableFilterDropdownWidth:r,tableFilterDropdownSearchWidth:i,paddingXXS:a,paddingXS:l,colorText:s,lineWidth:c,lineType:d,tableBorderColor:m,headerIconColor:u,fontSizeSM:p,tablePaddingHorizontal:g,borderRadius:h,motionDurationSlow:f,colorIcon:$,colorPrimary:b,tableHeaderFilterActiveBg:v,colorTextDisabled:x,tableFilterDropdownBg:y,tableFilterDropdownHeight:C,controlItemBgHover:S,controlItemBgActive:k,boxShadowSecondary:w,filterDropdownMenuBg:E,calc:A}=e,z=`${o}-dropdown`,I=`${t}-filter-dropdown`,B=`${o}-tree`,N=`${(0,V.zA)(c)} ${d} ${m}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:A(a).mul(-1).equal(),marginInline:`${(0,V.zA)(a)} ${(0,V.zA)(A(g).div(2).mul(-1).equal())}`,padding:`0 ${(0,V.zA)(a)}`,color:u,fontSize:p,borderRadius:h,cursor:"pointer",transition:`all ${f}`,"&:hover":{color:$,background:v},"&.active":{color:b}}}},{[`${o}-dropdown`]:{[I]:{...(0,Y.dF)(e),minWidth:r,backgroundColor:y,borderRadius:h,boxSh
vendor: 8,310 bytes, line 1
1adow:w,overflow:"hidden",[`${z}-menu`]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:E,"&:empty::after":{display:"block",padding:`${(0,V.zA)(l)} 0`,color:x,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${I}-tree`]:{paddingBlock:`${(0,V.zA)(l)} 0`,paddingInline:l,[B]:{padding:0},[`${B}-treenode ${B}-node-content-wrapper:hover`]:{backgroundColor:S},[`${B}-treenode-checkbox-checked ${B}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:k}}},[`${I}-search`]:{padding:l,borderBottom:N,"&-input":{input:{minWidth:i},[n]:{color:x}}},[`${I}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${I}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,V.zA)(A(l).sub(c).equal())} ${(0,V.zA)(l)}`,overflow:"hidden",borderTop:N}}}},{[`${o}-dropdown ${I}, ${I}-submenu`]:{[`${o}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]};function ys({colorSplit:e}){return[{boxShadow:`inset 10px 0 8px -8px ${e}`},{boxShadow:`inset -10px 0 8px -8px ${e}`}]}const Cs=e=>{const{componentCls:t,lineWidth:o,motionDurationSlow:n,zIndexTableFixed:r,tableBg:i,calc:a}=e,l=`${t}-cell`,s=`${l}-fix`,c={position:"absolute",top:0,bottom:a(o).mul(-1).equal(),width:30,transition:`box-shadow ${n}`,content:'""',pointerEvents:"none"},[d,m]=ys(e);return{[`${t}-wrapper`]:{[`${l}${s}`]:{position:"sticky"},[s]:{zIndex:`calc(var(--z-offset-reverse) + ${r})`,background:i,"&:after":c,"&-start:after":{insetInlineStart:"100%"},"&-end:after":{insetInlineEnd:"100%"},"&-start-shadow-show:after":d,"&-end-shadow-show:after":m},[`${t}-container`]:{position:"relative","&:before, &:after":{...c,zIndex:`calc(var(--columns-count) * 2 + ${r} + 1)`},"&:before":{insetInlineStart:0},"&:after":{insetInlineEnd:0}},[`${t}-has-fix-start ${t}-container:before`]:{display:"none"},[`${t}-has-fix-end ${t}-container:after`]:{display:"none"},[`${t}-fix-start-shadow-show ${t}-container:before`]:d,[`${t}-fix-end-shadow-show ${t}-container:after`]:m}}},Ss=e=>{const{componentCls:t,antCls:o,margin:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${o}-pagination`]:{margin:`${(0,V.zA)(n)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"}}}}},ks=e=>{const{componentCls:t,tableRadius:o}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,V.zA)(o)} ${(0,V.zA)(o)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},[`&${t}-bordered${t}-no-header`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr:first-child":{"> *:first-child":{borderStartStartRadius:o},"> *:last-child":{borderStartEndRadius:o}}}}},"&-container":{borderStartStartRadius:o,borderStartEndRadius:o,"&::before":{borderStartStartRadius:o},"&::after":{borderStartEndRadius:o},[`> ${t}-content`]:{borderStartStartRadius:o,borderStartEndRadius:o},"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:o},"> *:last-child":{borderStartEndRadius:o}}},"&-footer":{borderRadius:`0 0 ${(0,V.zA)(o)} ${(0,V.zA)(o)}`}}}}},ws=e=>{const{componentCls:t}=e,[o,n]=ys(e);return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-cell-fix`]:{"&-start-shadow-show:after":n,"&-end-shadow-show:after":o},[`${t}-container`]:{[`${t}-row-indent`]:{float:"right"}},[`${t}-fix-start-shadow-show ${t}-container:before`]:n,[`${t}-fix-end-shadow-show ${t}-container:after`]:o}}},Es=e=>{const{componentCls:t,antCls:o,iconCls:n,fontSizeIcon:r,padding:i,paddingXS:a,headerIconColor:l,headerIconHoverColor:s,tableSelectionColumnWidth:c,tableSelectedRowBg:d,tableSelectedRowHoverBg:m,tableRowHoverBg:u,tablePaddingHorizontal:p,calc:g}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:c,[`&${t}-selection-col-with-dropdown`]:{width:g(c).add(r).add(g(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:g(c).add(g(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:g(c).add(r).add(g(i).div(4)).add(g(a).mul(2)).equal()}},[`\n table tr th${t}-selection-column,\n table tr td${t}-selection-column,\n ${t}-selection-column\n `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${o}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:g(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,V.zA)(g(p).div(4).equal()),[n]:{color:l,fontSize:r,verticalAlign:"baseline","&:hover":{color:s}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:m}}},[`> ${t}-cell-row-hover`]:{background:u}}}}}},As=e=>{const{componentCls:t,tableExpandColumnWidth:o,calc:n}=e,r=(e,r,i,a)=>({[`${t}${t}-${e}`]:{fontSize:a,[`\n ${t}-title,\n ${t}-footer,\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{padding:`${(0,V.zA)(r)} ${(0,V.zA)(i)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,V.zA)(n(i).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,V.zA)(n(r).mul(-1).equal())} ${(0,V.zA)(n(i).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,V.zA)(n(r).mul(-1).equal()),marginInline:`${(0,V.zA)(n(o).sub(i).equal())} ${(0,V.zA)(n(i).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,V.zA)(n(i).div(4).equal())}}});return{[`${t}-wrapper`]:{...r("medium",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle),...r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall)}}},zs=e=>{const{componentCls:t,marginXXS:o,fontSizeIcon:n,headerIconColor:r,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`\n &${t}-cell-fix-left:hover,\n &${t}-cell-fix-right:hover\n `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:o,color:r,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:n,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},Is=e=>{const{componentCls:t,opacityLoading:o,tableScrollThumbBg:n,tableScrollThumbBgHover:r,tableScrollThumbSize:i,tableScrollBg:a,stickyScrollBarBorderRadius:l,lineWidth:s,lineType:c,tableBorderColor:d,zIndexTableFixed:m}=e,u=`${(0,V.zA)(s)} ${c} ${d}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:`calc(var(--columns-count) * 2 + ${m}
1 + 1)`,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,V.zA)(i)} !important`,zIndex:`calc(var(--columns-count) * 2 + ${m} + 1)`,display:"flex",alignItems:"center",background:a,borderTop:u,opacity:o,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:n,borderRadius:l,transition:`all ${e.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:r}}}}}}},Bs=e=>{const{componentCls:t,lineWidth:o,tableBorderColor:n,calc:r}=e,i=`${(0,V.zA)(o)} ${e.lineType} ${n}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,V.zA)(r(o).mul(-1).equal())} 0 ${n}`}}}},Ns=e=>{const{componentCls:t,motionDurationMid:o,lineWidth:n,lineType:r,tableBorderColor:i,calc:a}=e,l=`${(0,V.zA)(n)} ${r} ${i}`,s=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-scrollbar`]:{cursor:"pointer","&:hover":{backgroundColor:e.colorFillQuaternary}},[`${t}-tbody-virtual-holder-inner`]:{[`\n & > ${t}-row,\n & > div:not(${t}-row) > ${t}-row\n `]:{display:"flex",boxSizing:"border-box",width:"100%",[`> ${t}-cell`]:{alignContent:"center"}}},[`${t}-cell`]:{borderBottom:l,transition:`background-color ${o}`},[`${t}-expanded-row`]:{[`${s}${s}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,V.zA)(n)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:l,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:l,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(n).mul(-1).equal(),borderInlineStart:l}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:l,borderBottom:l}}}}}},Ms=e=>{const{componentCls:t,fontWeightStrong:o,tablePaddingVertical:n,tablePaddingHorizontal:r,tableExpandColumnWidth:i,lineWidth:a,lineType:l,tableBorderColor:s,tableFontSize:c,tableBg:d,tableRadius:m,tableHeaderTextColor:u,motionDurationMid:p,tableHeaderBg:g,tableHeaderCellSplitColor:h,tableFooterTextColor:f,tableFooterBg:$,calc:b}=e,v=`${(0,V.zA)(a)} ${l} ${s}`;return{[`${t}-wrapper`]:{clear:"both",maxWidth:"100%","--rc-virtual-list-scrollbar-bg":e.tableScrollBg,...(0,Y.t6)(),[t]:{...(0,Y.dF)(e),fontSize:c,background:d,borderRadius:`${(0,V.zA)(m)} ${(0,V.zA)(m)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`},table:{width:"100%",textAlign:"start",borderRadius:`${(0,V.zA)(m)} ${(0,V.zA)(m)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{position:"relative",padding:`${(0,V.zA)(n)} ${(0,V.zA)(r)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,V.zA)(n)} ${(0,V.zA)(r)}`},[`${t}-thead`]:{"> tr > th, > tr > td":{position:"relative",color:u,fontWeight:o,textAlign:"start",background:g,borderBottom:v,transition:`background-color ${p} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:h,transform:"translateY(-50%)",transition:`background-color ${p}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{borderBottom:v,transition:["background-color","border-color"].map(e=>`${e} ${p}`).join(", "),[`\n > ${t}-wrapper:only-child,\n > ${t}-expanded-row-fixed > ${t}-wrapper:only-child\n `]:{[t]:{marginBlock:(0,V.zA)(b(n).mul(-1).equal()),marginInline:`${(0,V.zA)(b(i).sub(r).equal())}\n ${(0,V.zA)(b(r).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:u,fontWeight:o,textAlign:"start",background:g,borderBottom:v,transition:`background-color ${p} ease`},[`& > ${t}-measure-cell`]:{paddingBlock:"0 !important",borderBlock:"0 !important",[`${t}-measure-cell-content`]:{height:0,overflow:"hidden",pointerEvents:"none"}}}},[`${t}-footer`]:{padding:`${(0,V.zA)(n)} ${(0,V.zA)(r)}`,color:f,background:$}}}},Ts=(0,F.OF)("Table",e=>{const{colorTextHeading:t,colorSplit:o,colorBgContainer:n,controlInteractiveSize:r,headerBg:i,headerColor:a,headerSortActiveBg:l,headerSortHoverBg:s,bodySortBg:c,rowHoverBg:d,rowSelectedBg:m,rowSelectedHoverBg:u,rowExpandedBg:p,cellPaddingBlock:g,cellPaddingInline:h,cellPaddingBlockMD:f,cellPaddingInlineMD:$,cellPaddingBlockSM:b,cellPaddingInlineSM:v,borderColor:x,footerBg:y,footerColor:C,headerBorderRadius:S,cellFontSize:k,cellFontSizeMD:w,cellFontSizeSM:E,headerSplitColor:A,fixedHeaderSortActiveBg:z,headerFilterHoverBg:I,filterDropdownBg:B,expandIconBg:N,selectionColumnWidth:M,stickyScrollBarBg:T,calc:P}=e,R=(0,K.oX)(e,{tableFontSize:k,tableBg:n,tableRadius:S,tablePaddingVertical:g,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:f,tablePaddingHorizontalMiddle:$,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:v,tableBorderColor:x,tableHeaderTextColor:a,tableHeaderBg:i,tableFooterTextColor:C,tableFooterBg:y,tableHeaderCellSplitColor:A,tableHeaderSortBg:l,tableHeaderSortHoverBg:s,tableBodySortBg:c,tableFixedHeaderSortActiveBg:z,tableHeaderFilterActiveBg:I,tableFilterDropdownBg:B,tableRowHoverBg:d,tableSelectedRowBg:m,tableSelectedRowHoverBg:u,zIndexTableFixed:2,tableFontSizeMiddle:w,tableFontSizeSmall:E,tableSelectionColumnWidth:M,tableExpandIconBg:N,tableExpandColumnWidth:P(r).add(P(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:T,tableScrollThumbBgHover:t,tableScrollBg:o});return[Ms(R),Ss(R),Bs(R),zs(R),xs(R),fs(R),ks(R),vs(R),Bs(R),bs(R),Es(R),Cs(R),Is(R),$s(R),As(R),ws(R),Ns(R)]},e=>
1{const{colorFillAlter:t,colorBgContainer:o,colorTextHeading:n,colorFillSecondary:r,colorFillContent:i,controlItemBgActive:a,controlItemBgActiveHover:l,padding:s,paddingSM:c,paddingXS:d,colorBorderSecondary:m,borderRadiusLG:u,controlHeight:p,colorTextPlaceholder:g,fontSize:h,fontSizeSM:f,lineHeight:$,lineWidth:b,colorIcon:v,colorIconHover:x,opacityLoading:y,controlInteractiveSize:C}=e,S=new Ft.Y(r).onBackground(o).toHexString(),k=new Ft.Y(i).onBackground(o).toHexString(),w=new Ft.Y(t).onBackground(o).toHexString(),E=new Ft.Y(v),A=new Ft.Y(x),z=C/2-b,I=2*z+3*b;return{headerBg:w,headerColor:n,headerSortActiveBg:S,headerSortHoverBg:k,bodySortBg:w,rowHoverBg:w,rowSelectedBg:a,rowSelectedHoverBg:l,rowExpandedBg:t,cellPaddingBlock:s,cellPaddingInline:s,cellPaddingBlockMD:c,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:m,headerBorderRadius:u,footerBg:w,footerColor:n,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:m,fixedHeaderSortActiveBg:S,headerFilterHoverBg:i,filterDropdownMenuBg:o,filterDropdownBg:o,expandIconBg:o,selectionColumnWidth:p,stickyScrollBarBg:g,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*$-3*b)/2-Math.ceil((1.4*f-3*b)/2),headerIconColor:E.clone().setA(E.a*y).toRgbString(),headerIconHoverColor:A.clone().setA(A.a*y).toRgbString(),expandIconHalfInner:z,expandIconSize:I,expandIconScale:C/I}},{resetFont:!1,unitless:{expandIconScale:!0}}),Ps=[],Rs=B.createContext({}),Hs=e=>{const{ariaProps:t,component:o="table"}=B.useContext(Rs);return B.createElement(o,{...t,...e})},Fs=(e,t)=>{const{prefixCls:o,className:n,rootClassName:r,style:i,classNames:a,styles:l,size:s,bordered:c,dropdownPrefixCls:d,dataSource:m,pagination:u,rowSelection:p,rowKey:g,rowClassName:h,column:f,columns:$,children:v,childrenColumnName:x,onChange:y,getPopupContainer:S,loading:k,expandIcon:w,expandable:E,expandedRowRender:z,expandIconColumnIndex:I,indentSize:N,scroll:M,sortDirections:F,locale:D,showSorterTooltip:L={target:"full-header"},virtual:W,title:O,showHeader:_}=e,j=((e,t)=>B.useMemo(()=>{if(!t)return e;const o=e=>e.map(e=>{if(e===Ja||e===Ya.kD)return e;if("children"in e&&Array.isArray(e.children))return{...(0,T.v6)(t,e),children:o(e.children)};const n=(0,T.cJ)(t,["children"]);return(0,T.v6)(n,e)});return o(e)},[e,t]))(((0,Ke.rJ)("Table"),B.useMemo(()=>$||(0,Ya.Pd)(v),[$,v])),f),G=B.useMemo(()=>j.some(e=>e.responsive),[j]),K=(0,Ze.A)(G),V=B.useMemo(()=>{const e=new Set(Object.keys(K).filter(e=>K[e]));return j.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[j,K]),Q=(0,T.cJ)(e,["className","style","column","columns"]),Y=Q.components,U=(0,T.KE)(Q,{aria:!0}),Z=Object.keys(U).length>0,J=B.useMemo(()=>({ariaProps:U,component:Y?.header?.table}),[U,Y?.header?.table]),ee=B.useMemo(()=>Z?{...Y,header:{...Y?.header,table:Hs}}:Y,[Y,Z]),{locale:te=dt.A,table:oe}=B.useContext(H.QO),{getPrefixCls:re,direction:ie,renderEmpty:ae,getPopupContainer:le,className:se,style:ce,classNames:de,styles:me}=(0,H.TP)("table"),ue=(0,We.A)(e=>"middle"===s?"medium":s??e),pe={...e,size:ue,bordered:c},ge=(0,X.XT)(ce),he=(0,X.XT)(i),[fe,be]=(0,X.AV)([de,a],[me,ge,l,he],{props:pe},{pagination:{_default:"root"},header:{_default:"wrapper"},body:{_default:"wrapper"}}),ve={...te.Table,...D},[xe]=(0,ct.A)("global",dt.A.global),ye=m||Ps,Ce=re("table",o),Se=re("dropdown",d),[,ke]=(0,Jo.Ay)(),we=B.useMemo(()=>(0,ne.Qd)(p)?{columnWidth:ke.Table?.selectionColumnWidth,...p}:p,[p,ke.Table?.selectionColumnWidth]),Ee=(0,q.A)(Ce),[Ae,ze]=Ts(Ce,Ee),Ie={childrenColumnName:x,expandIconColumnIndex:I,...E,expandIcon:E?.expandIcon??oe?.expandable?.expandIcon},{childrenColumnName:Be="children"}=Ie,Ne=B.useMemo(()=>ye.some(e=>e?.[Be])?"nest":z||E?.expandedRowRender?"row":null,[Be,ye]),Me={body:B.useRef(null)},Te=function(e){return(t,o)=>{const n=t.querySelector(`.${e}-container`);let r=o;if(n){const e=getComputedStyle(n);r=o-Number.parseInt(e.borderLeftWidth,10)-Number.parseInt(e.borderRightWidth,10)}return r}}(Ce),Pe=B.useRef(null),Re=B.useRef(null);(0,il.y)(t,()=>({...Re.current,nativeElement:Pe.current}));const He=g||oe?.rowKey||"key",Fe=M??oe?.scroll,De=B.useMemo(()=>(0,ne.Tn)(He)?He:e=>e?.[He],[He]),[Le]=((e,t,o)=>{const n=B.useRef({});return[function(r){if(!n.current||n.current.data!==e||n.current.childrenColumnName!==t||n.current.getRowKey!==o){const i=new Map;function a(e){e.forEach((e,n)=>{const r=o(e,n);i.set(r,e),(0,ne.Qd)(e)&&t in e&&a(e[t]||[])})}a(e),n.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:o}}return n.current.kvMap?.get(r)}]})(ye,Be,De),Oe={},Xe=(e,t,o=!1)=>{const n={...Oe,...e};o&&(Oe.resetPagination?.(),n.pagination?.current&&(n.pagination.current=1),u&&u.onChange?.(1,n.pagination?.pageSize)),M&&!1!==M.scrollToFirstRowOnChange&&Me.body.current&&(0,R.A)(0,{getContainer:()=>Me.body.current}),y?.(n.pagination,n.filters,n.sorter,{currentDataSource:Jl(us(ye,n.sorterStates,Be),n.filterStates,Be),action:t})},[_e,qe,je,Ge]=(e=>{const{prefixCls:t,mergedColumns:o,baseColumns:n,sortDirections:r,tableLocale:i,showSorterTooltip:a,onSorterChange:l,globalLocale:s}=e,c=n??o,[d,m]=B.useState(()=>ss(c,!0)),u=(e,t)=>
1{const o=[];return e.forEach((e,n)=>{const r=sl(n,t);if(o.push(ll(e,r)),Array.isArray(e.children)){const t=u(e.children,r);o.push.apply(o,(0,$e.A)(t))}}),o},p=B.useMemo(()=>{let e=!0;const t=ss(c,!1);if(!t.length){const e=u(c);return d.filter(({key:t})=>e.includes(t))}const o=[];function n(t){e?o.push(t):o.push({...t,sortOrder:null})}let r=null;return t.forEach(t=>{null===r?(n(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:r=!0)):(r&&!1!==t.multiplePriority||(e=!1),n(t))}),o},[c,d]),g=B.useMemo(()=>{const e=p.map(({column:e,sortOrder:t})=>({column:e,order:t}));return{sortColumns:e,sortColumn:e[0]?.column,sortOrder:e[0]?.order}},[p]),h=e=>{let t;t=!1!==e.multiplePriority&&p.length&&!1!==p[0].multiplePriority?[].concat((0,$e.A)(p.filter(({key:t})=>t!==e.key)),[e]):[e],m(t),l(ms(t),t)};return[e=>cs(t,e,p,h,r,i,a,void 0,s),p,g,()=>ms(p)]})({prefixCls:Ce,mergedColumns:V,baseColumns:j,onSorterChange:(e,t)=>{Xe({sorter:e,sorterStates:t},"sort",!1)},sortDirections:F||["ascend","descend"],tableLocale:ve,showSorterTooltip:L,globalLocale:xe}),Ve=B.useMemo(()=>us(ye,qe,Be),[Be,ye,qe]);Oe.sorter=Ge(),Oe.sorterStates=qe;const[Qe,Ye,Ue]=ts({prefixCls:Ce,locale:ve,dropdownPrefixCls:Se,mergedColumns:V,baseColumns:j,onFilterChange:(e,t)=>
1{Xe({filters:e,filterStates:t},"filter",!0)},getPopupContainer:S||le,rootClassName:(0,P.$)(r,Ee)}),Je=Jl(Ve,Ye,Be);Oe.filters=Ue,Oe.filterStates=Ye;const et=((e,t)=>B.useMemo(()=>({...e,filters:al(t)}),[e,t]))(je,Ue),[tt]=(e=>[B.useCallback(t=>ps(t,e),[e])])(et),[ot,nt]=function(e,t,o){const{total:n=0,...r}=(0,ne.Qd)(o)?o:{},[i,a]=(0,B.useState)(()=>({current:"defaultCurrent"in r?r.defaultCurrent:1,pageSize:"defaultPageSize"in r?r.defaultPageSize:10})),l=(0,T.v6)(i,r,{total:n>0?n:e}),s=Math.ceil((n||e)/l.pageSize);l.current>s&&(l.current=s||1);const c=(e,t)=>{a({current:e??1,pageSize:t||l.pageSize})};return!1===o?[{},()=>{}]:[{...l,onChange:(e,n)=>{o&&o.onChange?.(e,n),c(e,n),t(e,n||l?.pageSize)}},c]}(Je.length,(e,t)=>{Xe({pagination:{...Oe.pagination,current:e,pageSize:t}},"paginate")},u),rt=e=>(0,X.VN)({},fe.pagination,(0,X.Jb)(ot.classNames,e)),it=e=>(0,X.Zq)((0,X.Jb)(ot.styles,e),be.pagination);Oe.pagination=!1===u?{}:function(e,t){const o={current:e.current,pageSize:e.pageSize},n=(0,ne.Qd)(t)?t:{};return Object.keys(n).forEach(t=>{const n=e[t];(0,ne.Tn)(n)||(o[t]=n)}),o}(ot,u),Oe.resetPagination=nt;const at=B.useMemo(()=>{if(!1===u||!ot.pageSize)return Je;const{current:e=1,total:t,pageSize:o=10}=ot;return Je.length<t?Je.length>o?Je.slice((e-1)*o,e*o):Je:Je.slice((e-1)*o,e*o)},[!!u,Je,ot?.current,ot?.pageSize,ot?.total]),[lt,st]=((e,t)=>{const{preserveSelectedRowKeys:o,selectedRowKeys:n,defaultSelectedRowKeys:r,getCheckboxProps:i,getTitleCheckboxProps:a,onChange:l,onSelect:s,onSelectAll:c,onSelectInvert:d,onSelectNone:m,onSelectMultiple:u,columnWidth:p,type:g,selections:h,fixed:f,renderCell:$,hideSelectAll:v,checkStrictly:x=!0}=t||{},{prefixCls:y,data:C,pageData:S,getRecordByKey:k,getRowKey:w,expandType:E,childrenColumnName:z,locale:I,getPopupContainer:N}=e,M=(0,Ke.rJ)("Table"),[R,H]=(0,Za.o)(e=>e),[F,D]=(0,T.PW)(r||nl,n),L=F??nl,W=B.useRef(new Map),O=(0,B.useCallback)(e=>{if(o){const t=new Map;e.forEach(e=>{let o=k(e);!o&&W.current.has(e)&&(o=W.current.get(e)),t.set(e,o)}),W.current=t}},[k,o]);B.useEffect(()=>{O(L)},[L,O]);const X=(0,B.useMemo)(()=>rl(z,S),[z,S]),{keyEntities:_}=(0,B.useMemo)(()=>{if(x)return{keyEntities:null};let e=C;if(o){const t=new Set(X.map(w)),o=Array.from(W.current).reduce((e,[o,n])=>t.has(o)?e:e.concat(n),[]);e=[].concat((0,$e.A)(e),(0,$e.A)(o))}return(0,Ua.cG)(e,{externalGetKey:w,childrenPropName:z})},[C,w,x,z,o,X]),q=(0,B.useMemo)(()=>{const e=new Map;return X.forEach((t,o)=>{const n=w(t,o),r=(i?i(t):null)||{};e.set(n,r)}),e},[X,w,i]),j=(0,B.useCallback)(e=>{const t=w(e);let o;return o=q.has(t)?q.get(w(e)):i?i(e):void 0,!!o?.disabled},[q,w]),[G,K]=(0,B.useMemo)(()=>{if(x)return[L,[]];const{checkedKeys:e,halfCheckedKeys:t}=(0,Ua.po)(L,!0,_,j);return[e||[],t]},[L,x,_,j]),V=(0,B.useMemo)(()=>{const e="radio"===g?G.slice(0,1):G;return new Set(e)},[G,g]),Q=(0,B.useMemo)(()=>"radio"===g?new Set:new Set(K),[K,g]);B.useEffect(()=>{t||D(nl)},[!!t]);const Y=(0,B.useCallback)((e,t)=>{let n,r;O(e),o?(n=e,r=e.map(e=>W.current.get(e))):(n=[],r=[],e.forEach(e=>{const t=k(e);void 0!==t&&(n.push(e),r.push(t))})),D(n),l?.(n,r,{type:t})},[D,k,l,o]),U=(0,B.useCallback)((e,t,o,n)=>{if(s){const r=o.map(k);s(k(e),t,r,n)}Y(o,"single")},[s,k,Y]),Z=(0,B.useMemo)(()=>!h||v?null:(!0===h?[el,tl,ol]:h).map(e=>{let t;return t=e===el?{key:"all",text:I.selectionAll,onSelect(){Y(C.reduce((e,t,o)=>{const n=w(t,o);return j(t)&&!V.has(n)||e.push(n),e},[]),"all")}}:e===tl?{key:"invert",text:I.selectInvert,onSelect(){const e=new Set(V);S.forEach((t,o)=>{const n=w(t,o),r=q.get(n);r?.disabled||(e.has(n)?e.delete(n):e.add(n))});const t=Array.from(e);d&&(M.deprecated(!1,"onSelectInvert","onChange"),d(t)),Y(t,"invert")}}:e===ol?{key:"none",text:I.selectNone,onSelect(){m?.(),Y(Array.from(V).filter(e=>{const t=q.get(e);return t?.disabled}),"none")}}:e,{...t,onSelect:e=>{t.onSelect?.(e),H(null)}}}),[h,v,I.selectionAll,I.selectInvert,I.selectNone,q,j,V,C,S,w,d,Y]),J=(0,B.useCallback)(e=>{if(!t)return e.filter(e=>e!==Ja);let o=(0,$e.A)(e);const n=new Set(V),r=X.reduce((e,t,o)=>{const n=w(t,o);return q.get(n).disabled||e.push(n),e},[]),i=r.every(e=>n.has(e)),l=r.some(e=>n.has(e));let s,d,m;if("radio"!==g){let e;if(Z){const t={getPopupContainer:N,items:Z.map((e,t)=>{const{key:o,text:n,onSelect:i}=e;return{key:o??t,onClick:()=>{i?.(r)},label:n}})};e=B.createElement("div",{className:`${y}-selection-extra`},B.createElement(A.A,{menu:t,getPopupContainer:N},B.createElement("span",null,B.createElement(ji.A,null))))}const t=X.reduce((e,t,o)=>{const r=w(t,o),i=q.get(r)||{},a={checked:n.has(r),...i};return a.disabled&&e.push(a),e},[]),o=!!t.length&&t.length===X.length,m=o&&t.every(({checked:e})=>e),u=o&&t.some(({checked:e})=>e),p=a?.()||{},{onChange:g,disabled:h}=p;d=B.createElement(b.A,{"aria-label":e?"Custom selection":"Select all",...p,checked:o?m:!!X.length&&i,indeterminate:o?!m&&u:!i&&l,onChange:e=>{(()=>{const e=[];i?r.forEach(t=>{n.delete(t),e.push(t)}):r.forEach(t=>{n.has(t)||(n.add(t),e.push(t))});const t=Array.from(n);c?.(!i,t.map(k),e.map(k)),Y(t,"all"),H(null)})(),g?.(e)},disabled:h??(0===X.length||o),skipGroup:!0}),s=!v&&B.createElement("div",{className:`${y}-selection`},d,e)}if(m="radio"===g?(e,t,o)=>{const r=w(t,o),i=n.has(r),a=q.get(r),l=`Select row ${o+1}`;return{node:B.createElement(fi,{"aria-label":l,...a,checked:i,onClick:e=>{e.stopPropagation(),a?.onClick?.(e)},onChange:e=>
1{n.has(r)||U(r,!0,[r],e.nativeEvent),a?.onChange?.(e)}}),checked:i}}:(e,t,o)=>{const i=w(t,o),a=n.has(i),l=Q.has(i),s=q.get(i);let c;c="nest"===E?l:s?.indeterminate??l;const d=a?`Row ${o+1} selected`:`Select row ${o+1}`;return{node:B.createElement(b.A,{"aria-label":d,...s,indeterminate:c,checked:a,skipGroup:!0,onClick:e=>{e.stopPropagation(),s?.onClick?.(e)},onChange:e=>{const{nativeEvent:t}=e,{shiftKey:o}=t,l=r.indexOf(i),c=V.size>0&&r.some(e=>V.has(e));if(o&&x&&c){const e=R(l,r,n),t=Array.from(n);u?.(!a,t.map(k),e.map(k)),Y(t,"multiple")}else{const e=G;if(x){const o=a?(0,Ua.BA)(e,i):(0,Ua.$s)(e,i);U(i,!a,o,t)}else{const o=(0,Ua.po)([].concat((0,$e.A)(e),[i]),!0,_,j),{checkedKeys:n,halfCheckedKeys:r}=o;let l=n;if(a){const e=new Set(n);e.delete(i),l=(0,Ua.po)(Array.from(e),{checked:!1,halfCheckedKeys:r},_,j).checkedKeys}U(i,!a,l,t)}}H(a?null:l),s?.onChange?.(e)}}),checked:a}},!o.includes(Ja))if(0===o.findIndex(e=>"EXPAND_COLUMN"===e[Ya.PL]?.columnType)){const[e,...t]=o;o=[e,Ja].concat((0,$e.A)(t))}else o=[Ja].concat((0,$e.A)(o));const C=o.indexOf(Ja);o=o.filter((e,t)=>e!==Ja||t===C);const S=o[C-1],z=o[C+1];let I=f;void 0===I&&(void 0!==z?.fixed?I=z.fixed:void 0!==S?.fixed&&(I=S.fixed)),I&&S&&"EXPAND_COLUMN"===S[Ya.PL]?.columnType&&void 0===S.fixed&&(S.fixed=I);const M=(0,P.$)(`${y}-selection-col`,{[`${y}-selection-col-with-dropdown`]:h&&"checkbox"===g}),T={fixed:I,width:p,className:`${y}-selection-column`,title:t?.columnTitle?(0,ne.Tn)(t.columnTitle)?t.columnTitle(d):t.columnTitle:s,render:(e,t,o)=>{const{node:n,checked:r}=m(e,t,o);return $?$(r,t,o,n):n},onCell:t.onCell,align:t.align,[Ya.PL]:{className:M}};return o.map(e=>e===Ja?T:e)},[w,X,t,G,V,Q,p,Z,E,q,u,U,j]);return[J,V]})({prefixCls:Ce,data:Je,pageData:at,getRowKey:De,getRecordByKey:Le,expandType:Ne,childrenColumnName:Be,locale:ve,getPopupContainer:S||le},we);Ie.__PARENT_RENDER_ICON__=Ie.expandIcon,Ie.expandIcon=Ie.expandIcon||w||function(e){return t=>{const{prefixCls:o,onExpand:n,record:r,expanded:i,expandable:a}=t,l=`${o}-row-expand-icon`;return B.createElement("button",{type:"button",onClick:e=>{n(r,e),e.stopPropagation()},className:(0,P.$)(l,{[`${l}-spaced`]:!a,[`${l}-expanded`]:a&&i,[`${l}-collapsed`]:a&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}(ve),"nest"===Ne&&void 0===Ie.expandIconColumnIndex?Ie.expandIconColumnIndex=we?1:0:Ie.expandIconColumnIndex>0&&we&&(Ie.expandIconColumnIndex-=1),(0,ne.Et)(Ie.indentSize)||(Ie.indentSize=(0,ne.Et)(N)?N:15);const mt=B.useCallback(e=>tt(lt(Qe(_e(e)))),[_e,Qe,lt]);let ut,pt;if(!1!==u&&ot?.total){const e=((e,t)=>e||("small"===t||"medium"===t?"small":void 0))(ot.size,ue),t=(t="end")=>B.createElement(fn,{...ot,classNames:rt,styles:it,className:(0,P.$)(`${Ce}-pagination`,`${Ce}-pagination-${t}`,ot.className),size:e}),{placement:o,position:n}=ot,r=o??n;if(Array.isArray(r)){const[e,o]=["top","bottom"].map(e=>r.find(t=>t.includes(e))),n=r.every(e=>"none"==`${e}`);e||o||n||(pt=t()),e&&(ut=t(dl(e))),o&&(pt=t(dl(o)))}else pt=t()}const gt=(e=>B.useMemo(()=>"boolean"==typeof e?{spinning:e}:(0,ne.Qd)(e)?{spinning:!0,...e}:{},[e]))(k),ht=(0,P.$)(ze,Ee,`${Ce}-wrapper`,se,{[`${Ce}-wrapper-rtl`]:"rtl"===ie},n,r,fe.root,Ae),ft=B.useMemo(()=>gt?.spinning&&ye===Ps?null:void 0!==D?.emptyText?D.emptyText:ae?.("Table")||B.createElement(Go.A,{componentName:"Table"}),[gt?.spinning,ye,D?.emptyText,ae]),$t=W?hs:gs,bt={},vt=B.useMemo(()=>{const{fontSize:e,lineHeight:t,lineWidth:o,padding:n,paddingXS:r,paddingSM:i}=ke,a=Math.floor(e*t);switch(ue){case"medium":return 2*i+a+o;case"small":return 2*r+a+o;default:return 2*n+a+o}},[ke,ue]);return W&&(bt.listItemHeight=vt),B.createElement("div",{ref:Pe,className:ht,style:be.root},B.createElement(Mn,{spinning:!1,...gt},ut,B.createElement(Rs.Provider,{value:J},B.createElement($t,{...bt,...Q,components:ee,scroll:Fe,classNames:fe,styles:be,ref:Re,columns:V,direction:ie,expandable:Ie,prefixCls:Ce,className:(0,P.$)({[`${Ce}-medium`]:"medium"===ue,[`${Ce}-small`]:"small"===ue,[`${Ce}-bordered`]:c,[`${Ce}-empty`]:0===ye.length,[`${Ce}-no-header`]:!O&&!1===_},ze,Ee,Ae),data:at,rowKey:De,rowClassName:(e,t,o)=>(0,P.$)({[`${Ce}-row-selected`]:st.has(De(e,t))},(0,ne.Tn)(h)?h(e,t,o):h),emptyText:ft,internalHooks:Ya.Fh,internalRefs:Me,transformColumns:mt,getContainerWidth:Te,measureRowRender:e=>B.createElement(Ol.A.Provider,{value:!0},B.createElement(C.Ay,{getPopupContainer:e=>e},e))})),pt))},Ds=B.forwardRef(Fs),Ls=(e,t)=>{const o=B.useRef(0);return o.current+=1,B.createElement(Ds,{...e,ref:t,_renderTimes:o.current})},Ws=B.forwardRef(Ls);Ws.SELECTION_COLUMN=Ja,Ws.EXPAND_COLUMN=Ya.kD,Ws.SELECTION_ALL=el,Ws.SELECTION_INVERT=tl,Ws.SELECTION_NONE=ol,Ws.Column=e=>null,Ws.ColumnGroup=e=>null,Ws.Summary=Ya.BD;const Os=Ws;var Xs=o(57314),_s=o(30045),qs=o(88384),js=o(7843);const Gs=e=>{const{lineWidth:t,fontSizeIcon:o,calc:n}=e,r=e.fontSizeSM;return(0,K.oX)(e,{tagFontSize:r,tagLineHeight:(0,V.zA)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(o).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Ks=e=>{const t=(0,js.z)(new qs.kf(e.colorBgSolid),"#fff")?"#000":"#fff";
1return{defaultBg:new Ft.Y(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},Vs=(0,F.OF)("Tag",e=>(e=>{const{paddingXXS:t,lineWidth:o,tagPaddingHorizontal:n,componentCls:r,calc:i}=e,a=i(n).sub(o).equal(),l=i(t).sub(o).equal();return{[r]:{...(0,Y.dF)(e),display:"inline-block",height:"auto",paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",backgroundColor:e.defaultBg,border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-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},"&-disabled":{cursor:"not-allowed",[`&:not(${r}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${r}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${r}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:e.paddingXS}},"&-hidden":{display:"none"},"> svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},[`> ${e.iconCls} + span, > span + ${e.iconCls}, > svg + span, > span + svg`]:{marginInlineStart:a}},[`&${e.componentCls}-solid`]:{borderColor:"transparent",color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${r}-default`]:{color:e.solidTextColor}},[`${r}-filled`]:{borderColor:"transparent",backgroundColor:e.tagBorderlessBg},[`&${r}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",backgroundColor:e.colorBgContainerDisabled,a:{cursor:"not-allowed",pointerEvents:"none",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${r}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${r}-solid, &${r}-filled`]:{color:e.colorTextDisabled,[`${r}-close-icon`]:{color:e.colorTextDisabled}},[`${r}-close-icon`]:{cursor:"not-allowed",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}})(Gs(e)),Ks),Qs=B.forwardRef((e,t)=>{const{prefixCls:o,style:n,className:r,checked:i,children:a,icon:l,onChange:s,onClick:c,onKeyDown:d,disabled:m,...u}=e,{getPrefixCls:p,tag:g}=B.useContext(H.QO),h=B.useContext(de.A),f=m??h,$=p("tag",o),[b,v]=Vs($),x=(0,P.$)($,`${$}-checkable`,{[`${$}-checkable-checked`]:i,[`${$}-checkable-disabled`]:f},g?.className,r,b,v);return B.createElement("span",{...u,ref:t,role:"checkbox","aria-checked":i,"aria-disabled":f||void 0,tabIndex:f?-1:0,style:{...g?.style,...n},className:x,onClick:e=>{f||(s?.(!i),c?.(e))},onKeyDown:e=>{d?.(e),e.defaultPrevented||f||" "===e.key&&(e.preventDefault(),e.repeat||s?.(!i))}},l,B.createElement("span",null,a))}),Ys=Qs,Us=B.forwardRef((e,t)=>{const{id:o,prefixCls:n,rootClassName:r,className:i,style:a,classNames:l,styles:s,disabled:c,options:d,value:m,defaultValue:u,onChange:p,multiple:g,...h}=e,{getPrefixCls:f,direction:$,className:b,style:v,classNames:x,styles:y}=(0,H.TP)("tag"),C=f("tag",n),S=`${C}-checkable-group`,k=(0,q.A)(C),[w,E]=Vs(C,k),A=(0,X.XT)(v),z=(0,X.XT)(a),[I,N]=(0,X.AV)([x,l],[y,A,s,z],{props:e}),M=(0,B.useMemo)(()=>Array.isArray(d)?d.map(e=>(0,ne.Qd)(e)?e:{value:e,label:e}):[],[d]),[R,F]=(0,T.PW)(u,m),D=B.useRef(null);(0,B.useImperativeHandle)(t,()=>({nativeElement:D.current}));const L=(0,T.KE)(h,{aria:!0,data:!0});return B.createElement("div",{...L,className:(0,P.$)(S,b,r,{[`${S}-disabled`]:c,[`${S}-rtl`]:"rtl"===$}
1,w,E,i,I.root),style:N.root,id:o,ref:D},M.map(e=>B.createElement(Ys,{key:e.value,className:(0,P.$)(`${S}-item`,I.item,e.className),style:{...N.item,...e.style},checked:g?(R||[]).includes(e.value):R===e.value,onChange:t=>((e,t)=>{let o=null;if(g){const n=R||[];o=e?[].concat((0,$e.A)(n),[t.value]):n.filter(e=>e!==t.value)}else o=e?t.value:null;F(o),p?.(o)})(t,e),disabled:c},e.label)))}),Zs=Us;var Js=o(47838),ec=o(35977);const tc=(0,F.bf)(["Tag","preset"],e=>(e=>(0,ec.A)(e,(t,{textColor:o,lightBorderColor:n,lightColor:r,darkColor:i})=>({[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:r,borderColor:n,color:o},[`&${e.componentCls}-solid`]:{backgroundColor:i,borderColor:i,color:e.colorTextLightSolid},[`&${e.componentCls}-filled`]:{backgroundColor:r,color:o}}})))(Gs(e)),Ks);var oc=o(17308);const nc=(e,t,o)=>{const n=(0,oc.A)(o);return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${n}Bg`],borderColor:e[`color${n}Border`],color:e[`color${o}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${o}`],borderColor:e[`color${o}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${n}Bg`],color:e[`color${o}`]}}}},rc=(0,F.bf)(["Tag","status"],e=>{const t=Gs(e);return[nc(t,"success","Success"),nc(t,"processing","Info"),nc(t,"error","Error"),nc(t,"warning","Warning")]},Ks),ic=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,rootClassName:r,style:i,children:a,icon:l,color:s,variant:c,onClose:d,bordered:m,disabled:u,href:p,target:g,styles:h,classNames:f,...$}=e,{getPrefixCls:b,direction:v,className:x,variant:y,style:C,classNames:S,styles:k}=(0,H.TP)("tag"),[w,E,A,z,I]=function(e,t){const{color:o,variant:n,bordered:r}=e;return B.useMemo(()=>{const e=o?.endsWith("-inverse");let i;i=n||(e?"solid":!1===r?"filled":t||"filled");let a=e?o?.replace("-inverse",""):o;void 0===a&&"solid"===i&&(a="default");const l=(0,Js.nP)(a),s=(0,Js.ZZ)(a),c={};if(!l&&!s&&a)if("solid"===i)c.backgroundColor=o;else{const e=new Ft.Y(a).toHsl();e.l=.95,c.backgroundColor=new Ft.Y(e).toHexString(),c.color=o,"outlined"===i&&(c.borderColor=o)}return[i,a,l,s,c]},[o,n,r,t])}(e,y),N=A||z,M=B.useContext(de.A),R=u??M,{tag:F}=B.useContext(H.QO),[D,L]=B.useState(!0),W=(0,T.cJ)($,["closeIcon","closable"]),O={...e,color:E,variant:w,disabled:R},_=(0,X.XT)(C),q=(0,X.XT)(i),[j,G]=(0,X.AV)([S,f],[k,_,h,q],{props:O}),K=B.useMemo(()=>{let e=G.root;return R||(e={...I,...e}),e},[G.root,I,R]),V=b("tag",o),[Q,Y]=Vs(V),U=(0,P.$)(V,x,j.root,`${V}-${w}`,{[`${V}-${E}`]:N,[`${V}-hidden`]:!D,[`${V}-rtl`]:"rtl"===v,[`${V}-disabled`]:R},n,r,Q,Y),Z=e=>{R||(e.stopPropagation(),d?.(e),e.defaultPrevented||(p&&e.preventDefault(),L(!1)))},J=e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.repeat||e.currentTarget.click())},[,ee]=(0,_s.$Z)((0,_s.dG)(e),(0,_s.dG)(F),{closable:!1,closeIconRender:e=>{const t=B.createElement("span",{role:"button",tabIndex:R?-1:0,"aria-disabled":R||void 0,className:(0,P.$)(`${V}-close-icon`,j.close),onClick:Z,onKeyDown:J,style:G.close},e);return(0,Ge.fx)(e,t,e=>({onClick:t=>{e?.onClick?.(t),Z(t)},onKeyDown:t=>{e?.onKeyDown?.(t),t.defaultPrevented||J(t)},role:"button",tabIndex:R?-1:0,"aria-disabled":R||void 0,className:(0,P.$)(e?.className,`${V}-close-icon`,j.close),style:{...G.close,...e?.style}}))}}),te=(0,ne.Tn)($.onClick)||a&&"a"===a.type,oe=(0,Ge.Ob)(l,{className:(0,P.$)(B.isValidElement(l)?l.props?.className:void 0,j.icon),style:G.icon}),re=oe?B.createElement(B.Fragment,null,oe,(0,T.AZ)(a)&&B.createElement("span",{className:j.content,style:G.content},a)):a,ie=p?"a":"span",ae=B.createElement(ie,{...W,ref:t,className:U,style:K,href:R?void 0:p,target:g,onClick:R?void 0:W.onClick,...p&&R?{"aria-disabled":!0}:{}},re,ee,A&&B.createElement(tc,{key:"preset",prefixCls:V}),z&&B.createElement(rc,{key:"status",prefixCls:V}));return te?B.createElement(pa.A,{component:"Tag"},ae):ae}),ac=ic;ac.CheckableTag=Ys,ac.CheckableTagGroup=Zs;const lc=ac;var sc=o(48488),cc=o(79154),dc=o(21441);var mc=o(53443),uc=o(58133),pc=o(94597),gc=o(64425);function hc(e){const{sizeUnit:t,sizeStep:o}=e,n=o-2;return{sizeXXL:t*(n+10),sizeXL:t*(n+6),sizeLG:t*(n+2),sizeMD:t*(n+2),sizeMS:t*(n+1),size:t*n,sizeSM:t*n,sizeXS:t*(n-1),sizeXXS:t*(n-1)}}var fc=o(8947),$c=o(49321),bc=o(45907);const vc=(e,t)=>new Ft.Y(e).setA(t).toRgbString(),xc=(e,t)=>new Ft.Y(e).lighten(t).toHexString(),yc=e=>{const t=(0,fc.generate)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},Cc=(e,t,o)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorShadow:o||"rgba(255, 255, 255, 0.2)",colorText:vc(r,.85),colorTextSecondary:vc(r,.65),colorTextTertiary:vc(r,.45),colorTextQuaternary:vc(r,.25),colorFill:vc(r,.18),colorFillSecondary:vc(r,.12),colorFillTertiary:vc(r,.08),colorFillQuaternary:vc(r,.04),colorBgSolid:vc(r,.95),colorBgSolidHover:vc(r,1),c
1olorBgSolidActive:vc(r,.9),colorBgElevated:xc(n,12),colorBgContainer:xc(n,8),colorBgLayout:xc(n,0),colorBgSpotlight:xc(n,26),colorBgBlur:vc(r,.04),colorBorder:xc(n,26),colorBorderDisabled:xc(n,26),colorBorderSecondary:xc(n,19)}},Sc={defaultSeed:mc.sb.token,useToken:function(){const[e,t,o,n]=(0,Jo.Ay)();return{theme:e,token:t,hashId:o,cssVar:n}},defaultAlgorithm:uc.A,darkAlgorithm:(e,t)=>{const o=Object.keys(cc.r).map(t=>{const o=(0,fc.generate)(e[t],{theme:"dark"});return Array.from({length:10},()=>1).reduce((e,n,r)=>(e[`${t}-${r+1}`]=o[r],e[`${t}${r+1}`]=o[r],e),{})}).reduce((e,t)=>({...e,...t}),{}),n=t??(0,uc.A)(e),r=(0,bc.A)(e,{generateColorPalettes:yc,generateNeutralColorPalettes:Cc}),i=$c.s.reduce((t,o)=>{const n=e[o];if(n){const e=yc(n);t[`${o}Hover`]=e[7],t[`${o}Active`]=e[5]}return t},{});return{...n,...o,...r,...i,colorPrimaryBg:r.colorPrimaryBorder,colorPrimaryBgHover:r.colorPrimaryBorderHover}},compactAlgorithm:(e,t)=>{const o=t??(0,uc.A)(e),n=o.fontSizeSM,r=o.controlHeight-4;return{...o,...hc(t??e),...(0,gc.A)(n),controlHeight:r,...(0,pc.A)({...o,controlHeight:r})}},getDesignToken:e=>{const t=e?.algorithm?(0,V.an)(e.algorithm):sc.A,o={...cc.A,...e?.token};return(0,V.lO)(o,{override:e?.token},t,dc.A)},defaultConfig:mc.sb,_internalContext:mc.vG};var kc=o(65726);const{TimePicker:wc,RangePicker:Ec}=S.A,Ac=B.forwardRef((e,t)=>B.createElement(Ec,{...e,picker:"time",mode:void 0,ref:t})),zc=B.forwardRef((e,t)=>{const{addon:o,renderExtraFooter:n,variant:r,bordered:i,classNames:a,styles:l,popupClassName:s,popupStyle:c,...d}=e,[m]=(0,ro.A)("timePicker",r,i),u=B.useMemo(()=>n||o||void 0,[o,n]),p={...e,variant:m},[g,h]=(0,kc.A)("timePicker",a,l,s,c,p);return B.createElement(wc,{...d,mode:void 0,ref:t,renderExtraFooter:u,variant:m,classNames:g,styles:h})}),Ic=(0,or.A)(zc,"popupAlign",void 0,"picker");zc._InternalPanelDoNotUseOrYouWillBeFired=Ic,zc.RangePicker=Ac,zc._InternalPanelDoNotUseOrYouWillBeFired=Ic;const Bc=zc,Nc=e=>{const{componentCls:t,fontHeight:o,antCls:n,paddingXS:r}=e,[i,a]=(0,F.PN)(n,"cmp-steps"),[l,s]=(0,F.PN)(n,"timeline"),c=`${t}-item`;return{[`${t}-horizontal`]:{[i("title-vertical-row-gap")]:r,[l("content-height")]:(0,V.zA)(o),alignItems:"stretch",[`&${t}-layout-alternate`]:{[c]:{[`${c}-wrapper`]:{[l("alternate-content-offset")]:`calc(${s("content-height")} + ${a("title-vertical-row-gap")} * 2 + ${a("icon-size-max")})`,height:`calc(${s("content-height")} * 2 + ${a("title-vertical-row-gap")} * 2 + ${a("icon-size-max")})`},[`${c}-icon`]:{position:"absolute"},[`${c}-icon, ${c}-rail`]:{position:"absolute",top:"50%",transform:"translateY(-50%)",margin:0},[`${c}-title, ${c}-subtitle, ${c}-content`]:{whiteSpace:"nowrap",maxWidth:"unset"},[`${c}-title`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},[`${c}-content`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-placement-start":{[`${c}-title`]:{bottom:s("alternate-content-offset")},[`${c}-content`]:{top:s("alternate-content-offset")}},"&-placement-end":{[`${c}-title`]:{top:s("alternate-content-offset")},[`${c}-content`]:{bottom:s("alternate-content-offset")}}}},[`&:not(${t}-layout-alternate)`]:{[`${c}-placement-end`]:{display:"flex",alignItems:"flex-end",[`${c}-wrapper`]:{flex:"auto",flexDirection:"column-reverse"},[`${c}-rail`]:{top:"auto",bottom:a("horizontal-rail-margin"),transform:"translateY(50%)"}}}}}},Mc=e=>{const{componentCls:t,tailColor:o,fontHeight:n,dotSize:r,dotBg:i,dotBorderWidth:a,fontSize:l,lineHeight:s,colorText:c,tailWidth:d,colorPrimary:m,colorError:u,colorSuccess:p,colorTextDisabled:g,antCls:h}=e,f=`${t}-item`,[$,b]=(0,F.PN)(h,"cmp-steps");return{[t]:[{...(0,Y.dF)(e),[f]:{[$("title-horizontal-title-height")]:n,[$("vertical-rail-margin")]:"0px",[$("title-horizontal-rail-gap")]:"0px",[$("icon-dot-size-origin")]:b("icon-size-active"),[$("icon-dot-size-custom")]:r,[$("item-icon-dot-bg-color-origin")]:b("item-icon-dot-bg-color"),[$("item-icon-dot-bg-color-custom")]:i,[$("icon-size")]:b("icon-dot-size-custom",b("icon-dot-size-origin")),[`${f}-icon`]:{[$("dot-icon-border-width")]:a,[$("dot-icon-size")]:b("icon-size"),[$("item-icon-dot-bg-color")]:b("item-icon-dot-bg-color-custom",b("item-icon-dot-bg-color-origin"))},[`${f}-title`]:{fontSize:l,lineHeight:s},[`${f}-content`]:{color:c},[`${f}-rail`]:{[$("item-solid-line-color")]:o,[$("rail-size")]:d}}},{[f]:{[$("item-process-rail-line-style")]:"dotted"},[`${f}${f}${f}-color`]:{"&-blue":{[$("item-icon-dot-color")]:m},"&-red":{[$("item-icon-dot-color")]:u},"&-green":{[$("item-icon-dot-color")]:p},"&-gray":{[$("item-icon-dot-color")]:g}}}]}},Tc=e=>{const{calc:t,componentCls:o,itemPaddingBottom:n,margin:r,antCls:i}=e,a=`${o}-item`,[,l]=(0,F.PN)(i,"cmp-steps"),[s,c]=(0,F.PN)(i,"timeline");return{[`${o}
1:not(${o}-horizontal)`]:{[s("head-span")]:"12",[s("head-span-ptg")]:`calc(${c("head-span")} / 24 * 100%)`,[`&${o}-layout-alternate`]:{[a]:{[s("alternate-gap")]:t(r).mul(2).add(l("dot-icon-size")).equal(),minHeight:"auto",paddingBottom:n,[`${a}-icon, ${a}-rail`]:{position:"absolute",insetInlineStart:c("head-span-ptg")},[`${a}-icon`]:{marginInlineStart:`calc(${l("icon-size")} / -2)`},[`${a}-section`]:{display:"flex",flexWrap:"nowrap",gap:c("alternate-gap")},[`${a}-header`]:{textAlign:"end",flexDirection:"column",alignItems:"stretch",flex:`1 1 calc(${c("head-span-ptg")} - ${c("alternate-gap")} / 2)`},[`${a}-content`]:{textAlign:"start",flex:`1 1 calc(100% - ${c("head-span-ptg")} - ${c("alternate-gap")} / 2)`},"&-placement-end":{[`${a}-header`]:{textAlign:"start",order:1},[`${a}-content`]:{textAlign:"end"},[`${a}-icon, ${a}-rail`]:{insetInlineStart:`calc(100% - ${c("head-span-ptg")})`}}}},[`&:not(${o}-layout-alternate)`]:{[`${a}-placement-end`]:{textAlign:"end",[`${a}-icon`]:{order:1},[`${a}-rail`]:{insetInlineStart:"auto",insetInlineEnd:`calc(${l("icon-size")} / 2)`,marginInlineEnd:`calc(${l("rail-size")} / -2)`}}}}}},Pc=(0,F.OF)("Timeline",e=>{const t=(0,K.oX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[Mc(t),Tc(t),Nc(t)]},e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.lineWidthBold,dotBg:void 0,dotSize:void 0,itemPaddingBottom:1.25*e.padding})),Rc={rootComponent:"ol",itemComponent:"li"},Hc=e=>{const{getPrefixCls:t,direction:o,className:n,style:r,classNames:i,styles:a}=(0,H.TP)("timeline"),{prefixCls:l,className:s,style:c,classNames:d,styles:m,variant:u="outlined",mode:p,orientation:g="vertical",titleSpan:h,items:f,children:$,reverse:b,pending:v,pendingDot:x,...y}=e,C=t(),S=t("timeline",l),[k,w]=Pc(S),[E]=(0,F.PN)(C,"timeline"),A=B.useMemo(()=>({item:`${S}-item`,itemTitle:`${S}-item-title`,itemIcon:`${S}-item-icon`,itemContent:`${S}-item-content`,itemRail:`${S}-item-rail`,itemWrapper:`${S}-item-wrapper`,itemSection:`${S}-item-section`,itemHeader:`${S}-item-header`}),[S]),z=B.useMemo(()=>"left"===p?"start":"right"===p?"end":["alternate","start","end"].includes(p)?p:"start",[p]),I=((e,t,o,n,r,i,a)=>{const l=`${t}-item`,[s]=(0,F.PN)(e,"cmp-steps"),c=B.useMemo(()=>Array.isArray(n)?n:(0,T.$r)(r).map(e=>({...e.props})),[n,r]);return B.useMemo(()=>{const e=c.map((e,t)=>{const{label:n,children:r,title:i,content:a,color:c,className:d,style:m,icon:u,dot:p,placement:g,position:h,loading:f,...$}=e;let b=m,v=d;c&&(["blue","red","green","gray"].includes(c)?v=(0,P.$)(d,`${l}-color-${c}`):b={[s("item-icon-dot-color")]:c,...m});const x=g??h??("alternate"===o?t%2==0?"start":"end":o);v=(0,P.$)(v,`${l}-placement-${x}`);let y=u??p;return!y&&f&&(y=B.createElement(ht.A,null)),{...$,title:i??n,content:a??r,style:b,className:v,icon:y,status:f?"process":"finish"}});return i&&e.push({icon:a??B.createElement(ht.A,null),content:i,status:"process"}),e},[c,i,o,l,s,a])})(C,S,z,f,$,v,x),N=B.useMemo(()=>b?(0,$e.A)(I).reverse():I,[b,I]),M={...e,variant:u,mode:z,orientation:g,items:N},R=(0,X.XT)(r),D=(0,X.XT)(c),[L,W]=(0,X.AV)([A,i,d],[a,R,m,D],{props:M}),O=B.useMemo(()=>({railFollowPrevStatus:b}),[b]),_=B.useMemo(()=>"alternate"===z||"vertical"===g&&N.some(e=>e.title),[N,z,g]),q={};return(0,T.R)(h)&&"alternate"!==z&&((0,ne.Et)(h)?q[E("head-span")]=h:q[E("head-span-ptg")]=h),B.createElement(ha.Provider,{value:Rc},B.createElement(ua.QB.Provider,{value:O},B.createElement(La,{...y,className:(0,P.$)(S,n,s,k,w,{[`${S}-${g}`]:"horizontal"===g,[`${S}-layout-alternate`]:_,[`${S}-rtl`]:"rtl"===o}),style:q,classNames:L,styles:W,variant:u,orientation:g,type:"dot",items:N,current:N.length-1})))};Hc.Item=()=>{};const Fc=Hc;var Dc=o(1859),Lc=o(44534),Wc=o(86561);const Oc=e=>{const{stepProps:t,current:o,type:n,indicatorsRender:r,actionsRender:i}=e,{prefixCls:a,total:l=1,title:s,onClose:c,onPrev:d,onNext:m,onFinish:u,cover:p,description:g,nextButtonProps:h,prevButtonProps:f,type:$,closable:b,classNames:v={},styles:x={}}=t,y=$??n,C=(0,T.KE)(b??{},!0),[S]=(0,ct.A)("global",dt.A.global),[k]=(0,ct.A)("Tour",dt.A.Tour),w=B.createElement("button",{type:"button",onClick:c,className:(0,P.$)(`${a}-close`,v.close),style:x.close,"aria-label":S?.close,...C},b?.closeIcon||B.createElement(ce.A,{className:`${a}-close-icon`})),E=o===l-1,A=(0,T.AZ)(s)?B.createElement("div",{className:(0,P.$)(`${a}-header`,v.header),style:x.header},B.createElement("div",{className:(0,P.$)(`${a}-title`,v.title),style:x.title},s)):null,z=(0,T.AZ)(g)?B.createElement("div",{className:(0,P.$)(`${a}-description`,v.description),style:x.description},g):null,I=(0,T.AZ)(p)?B.createElement("div",{className:(0,P.$)(`${a}-cover`,v.cover),style:x.cover},p):null;let N;N=r?r(o,l):(0,$e.A)(Array.from({length:l}).keys()).map((e,t)=>B.createElement("span",{key:e,className:(0,P.$)(t===o&&`${a}-indicator-active`,`${a}-indicator`,v.indicator),style:x.indicator}));const M="primary"===y?"default":"primary",R={type:"default",ghost:"primary"===y},H=B.createElement(B.Fragment,null,0!==o?B.createElement(_.A,{size:"small",...R,...f,onClick:()=>{d?.(),f?.onClick?.()},className:(0,P.$)(`${a}-prev-btn`,f?.className)},f?.children??k?.Previous):null,B.createElement(_.A,{size:"small",type:M,...h,onClick:()=>{E?u?.():m?.(),h?.onClick?.()},className:(0,P.$)(`${a}-next-btn`,h?.className)},h?.children??(E?k?.Finish:k?.Next)));return B.createElement("div",{className:`${a}-panel`},B.createElement("div",{className:(0,P.$)(`${a}-section`,v.section),style:x.section},b&&w,I,A,z,B.createElement("div",{className:(0,P.$)(`${a}-footer`,v.footer),style:x.footer},l>1&&B.createElement("div",{className:(0,P.$)(`${a}-indicators`,v.indicators),style:x.indicators},N),B.createElement("div",{className:(0,P.$)(`${a}-actions`,v.actions),style:x.actions},i?i(H,{current:o,total:l}):H))))};var Xc=o(87658),_c=o(2748);const qc=(0,F.OF)("Tour",e=>{const{borderRadiusLG:t}=e;return(e=>{const{componentCls:t,padding:o,paddingXS:n,borderRadius:r,borderRadiusXS:i,colorPrimary:a,colorFill:l,indicatorHeight:s,indicatorWidth:c,boxShadowTertiary:d,zIndexPopup:m,colorBgElevated:u,fontWeightStrong:p,marginXS:g,colorTextLightSolid:h,tourBorderRadius:f,colorWhite:$,primaryNextBtnHoverBg:b,closeBtnSize:v,motionDurationSlow:x,antCls:y,primaryPrevBtnBg:C,motionDurationMid:S}=e,[k,w]=(0,F.PN)(y,"tooltip");return[{[t]:{...(0,Y.dF)(e),position:"absolute",zIndex:m,maxWidth:"fit-content",visibility:"visible",width:520,[k("arrow-background-color")]:u,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-panel`]:{position:"relative"},[`${t}-section`]:{textAlign:"start",textDecoration:"none",borderRadius:f,boxShadow:d,position:"relative",backgroundColor:u,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:o,insetInlineEnd:o,color:e.colorIcon,background:"none",border:"none",width:v,height:v,borderRadius:e.borderRadiusSM,transition:["color","background-color"].map(e=>`${e} ${S}`).join(", "),display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},...(0,Y.K8)(e)},[`${t}-cover`]:{textAlign:"center",padding:`${(0,V.zA)(e.calc(o).add(v).add(n).equal())} ${(0,V.zA)(o)} 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${(0,V.zA)(o)} ${(0,V.zA)(o)} ${(0,V.zA)(n)}`,width:`calc(100% - ${(0,V.zA)(v)})`,wordBreak:"break-word",[`${t}-title`]:{fontWeight:p}},[`${t}-description`]:{padding:`0 ${(0,V.zA)(o)}`,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${(0,V.zA)(n)} ${(0,V.zA)(o)} ${(0,V.zA)(o)}`,textAlign:"end",borderRadius:`0 0 ${(0,V.zA)(i)} ${(0,V.zA)(i)}`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:c,height:s,display:"inline-block",borderRadius:"50%",background:l,"&:not(:last-child)":{marginInlineEnd:s},"&-active":{background:a}}},[`${t}-actions`]:{marginInlineStart:"auto",[`${y}-btn`]:{marginInlineStart:g}}}},[`${t}-primary, &${t}-primary`]:{[k("arrow-background-color")]:a,[`${t}-section`]:{color:h,textAlign:"start",textDecoration:"none",backgroundColor:a,borderRadius:r,boxShadow:d,[`${t}-close`]:{color:h},[`${t}-indicators`]:{[`${t}-indicator`]:{background:C,"&-active":{background:h}}},[`${t}-prev-btn`]:{color:h,borderColor:C,backgroundColor:a,"&:hover":{color:h,backgroundColor:C,borderColor:"transparent"}},[`${t}-next-btn`]:{color:a,borderColor:"transparent",background:$,"&:hover":{background:b}}}}},[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${x}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-section`]:{borderRadius:e.min(f,8)}}},(0,Xc.A)(e,w("arrow-background-color"))]})((0,K.oX)(e,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t}))},e=>({zIndexPopup:e.zIndexPopupBase+70,closeBtnSize:e.fontSize*e.lineHeight,primaryPrevBtnBg:new Ft.Y(e.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new Ft.Y(e.colorBgTextHover).onBackgroun
1d(e.colorWhite).toRgbString(),...(0,Xc.K)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0}),...(0,_c.n)(e)})),jc=(0,or.U)(e=>{const{prefixCls:t,current:o=0,total:n=6,className:r,style:i,type:a,closable:l,closeIcon:s,...c}=e,{getPrefixCls:d}=B.useContext(H.QO),m=d("tour",t),[u,p]=qc(m),[g,h]=(0,_s.$Z)({closable:l,closeIcon:s},null,{closable:!0,closeIconRender:e=>B.isValidElement(e)?(0,Ge.Ob)(e,{className:(0,P.$)(e.props?.className,`${m}-close-icon`)}):e});return B.createElement(Zr.xn,{prefixCls:m,hashId:u,className:(0,P.$)(r,`${m}-pure`,a&&`${m}-${a}`,p),style:i},B.createElement(Oc,{stepProps:{...c,prefixCls:m,total:n,closable:g?{closeIcon:h}:void 0},current:o,type:a}))}),Gc=e=>{const{prefixCls:t,type:o,rootClassName:n,indicatorsRender:r,actionsRender:i,steps:a,closeIcon:l,keyboard:s=!0,classNames:c,styles:d,className:m,style:u,...p}=e,{getPrefixCls:g,direction:h,closeIcon:f,className:$,style:b,classNames:v,styles:x}=(0,H.TP)("tour"),y=g("tour",t),[C,S]=qc(y),[,k]=(0,Jo.Ay)(),w=B.useMemo(()=>a?.map(e=>({...e,className:(0,P.$)(e.className,{[`${y}-primary`]:"primary"===(e.type??o)})})),[y,a,o]),E={...e,steps:w},A=(0,X.Jb)(x,{props:E}),z=(0,X.XT)(A?.root,"mask"),I=(0,X.XT)(b,"mask"),N=(0,X.Jb)(d,{props:E}),M=(0,X.XT)(N?.root,"mask"),T=(0,X.XT)(u,"mask"),[R,F]=(0,X.AV)([v,c],[z,x,I,M,d,T],{props:E}),D=(0,P.$)({[`${y}-rtl`]:"rtl"===h},C,S,n,$,R.root,m),[L,W]=(0,O.YK)("Tour",p.zIndex);return B.createElement(Wc.A.Provider,{value:W},B.createElement(Dc.A,{...p,styles:F,classNames:R,closeIcon:l??f,keyboard:s,zIndex:L,rootClassName:D,prefixCls:y,animated:!0,renderPanel:(e,t)=>B.createElement(Oc,{styles:F,classNames:R,type:o,stepProps:e,current:t,indicatorsRender:r,actionsRender:i}),builtinPlacements:e=>(0,Lc.A)({arrowPointAtCenter:e?.arrowPointAtCenter??!0,autoAdjustOverflow:!0,offset:k.marginXXS,arrowWidth:k.sizePopupArrow,borderRadius:k.borderRadius}),steps:w}))};Gc._InternalPanelDoNotUseOrYouWillBeFired=jc;const Kc=Gc;var Vc=o(71982);const Qc=({type:e,actions:t,moveToLeft:o,moveToRight:n,leftActive:r,rightActive:i,direction:a,disabled:l})=>{const s="right"===e,c=s?t[0]:t[1],d=s?n:o,m=s?i:r,u=function(e,t){const o="right"===e;return"rtl"!==t?o?B.createElement(Nt.A,null):B.createElement(Bt.A,null):o?B.createElement(Bt.A,null):B.createElement(Nt.A,null)}(e,a);if(B.isValidElement(c)){const e=c,t=e.props.disabled||l||!m,o=o=>{t?o.preventDefault():(e?.props?.onClick?.(o),d?.(o))};return B.cloneElement(e,{disabled:t,onClick:o})}return B.createElement(_.A,{type:"primary",size:"small",disabled:l||!m,onClick:e=>d?.(e),icon:u},c)},Yc=e=>{const{className:t,style:o,oneWay:n,actions:r,...i}=e;return B.createElement("div",{className:t,style:o},B.createElement(Qc,{type:"right",actions:r,...i}),!n&&B.createElement(Qc,{type:"left",actions:r,...i}),r.slice(n?1:2))},Uc=[];function Zc(e,t){const o=e.filter(e=>t.has(e));return e.length===o.length?e:o}function Jc(e){return JSON.stringify(Array.from(e,e=>[typeof e,String(e)]))}const ed=e=>{const{placeholder:t="",value:o,prefixCls:n,disabled:r,onChange:i,handleClear:a}=e,l=B.useCallback(e=>{"click"===e.type?a?.():i?.(e)},[i,a]);return B.createElement(oo.A,{placeholder:t,className:n,value:o,onChange:l,disabled:r,allowClear:!0,prefix:B.createElement(xo.A,null)})};var td=o(14773);const od=e=>{const{prefixCls:t,classNames:o,styles:n,renderedText:r,renderedEl:i,item:a,checked:l,disabled:s,onClick:c,onRemove:d,showRemove:m,removeLabel:u}=e,p=s||a?.disabled,g=(0,P.$)(`${t}-content-item`,o.item,{[`${t}-content-item-disabled`]:p,[`${t}-content-item-checked`]:l&&!p});let h;("string"==typeof r||(0,ne.Et)(r))&&(h=String(r));const[f]=(0,ct.A)("Transfer",dt.A.Transfer),$={className:g,style:n.item,title:h},v=B.createElement("span",{className:(0,P.$)(`${t}-content-item-text`,o.itemContent),style:n.itemContent},i);return m?B.createElement("li",{...$},v,B.createElement("button",{type:"button",disabled:p,className:`${t}-content-item-remove`,"aria-label":u??f?.remove,onClick:()=>d?.(a)},B.createElement(td.A,null))):($.onClick=p?void 0:e=>c(a,e),B.createElement("li",{...$},B.createElement(b.A,{className:(0,P.$)(`${t}-checkbox`,o.itemIcon),style:n.itemIcon,checked:l,disabled:p}),v))},nd=B.memo(od),rd=["handleFilter","handleClear","checkedKeys"],id=(e,t)=>{const{prefixCls:o,classNames:n,styles:r,filteredRenderItems:i,selectedKeys:a,disabled:l,showRemove:s,pagination:c,onScroll:d,onItemSelect:m,onItemRemove:u,remove:p}=e,[g,h]=B.useState(1),f=B.useMemo(()=>c?(e=>({simple:!0,showSizeChanger:!1,showLessItems:!1,...e}))((0,ne.Qd)(c)?c:{}):null,[c]),[$,b]=(0,T.PW)(10,f?.pageSize);B.useEffect(()=>{if(f){const e=Math.ceil(i.length/$);h(Math.max(1,Math.min(g,e)))}},[i,f,$]);const v=(e,t)=>
1{m(e.key,!a.includes(e.key),t)},x=e=>{u?.([e.key])},y=B.useMemo(()=>f?i.slice((g-1)*$,g*$):i,[g,i,f,$]);B.useImperativeHandle(t,()=>({items:y}));const C=f?B.createElement(fn,{size:"small",disabled:l,simple:f.simple,pageSize:$,showLessItems:f.showLessItems,showSizeChanger:f.showSizeChanger,className:`${o}-pagination`,total:i.length,current:g,onChange:e=>{h(e)},onShowSizeChange:(e,t)=>{h(e),b(t)}}):null;return B.createElement(B.Fragment,null,B.createElement("ul",{className:(0,P.$)(`${o}-content`,n.list,{[`${o}-content-show-remove`]:s}),style:r.list,onScroll:d},(y||[]).map(({renderedEl:e,renderedText:t,item:i})=>B.createElement(nd,{key:i.key,prefixCls:o,classNames:n,styles:r,item:i,renderedText:t,renderedEl:e,showRemove:s,onClick:v,onRemove:x,removeLabel:p,checked:a.includes(i.key),disabled:l}))),C)},ad=B.forwardRef(id),ld=()=>null;function sd(e){return e.reduce((e,t)=>(t.disabled||e.push(t.key),e),[])}const cd=e=>{const{prefixCls:t,style:o,classNames:n,styles:r,dataSource:i=[],titleText:a="",checkedKeys:l,disabled:s,showSearch:c=!1,searchPlaceholder:d,notFoundContent:m,selectAll:u,deselectAll:p,selectCurrent:g,selectInvert:h,removeAll:f,removeCurrent:$,showSelectAll:v=!0,showRemove:x,pagination:y,direction:C,itemsUnit:S,itemUnit:k,selectAllLabel:w,selectionsIcon:E,footer:z,renderList:I,onItemSelectAll:N,onItemRemove:M,handleFilter:R,handleClear:H,filterOption:F,render:D=ld}=e,L=`${t}-section`,W=`${t}-list`,O=(e=>(0,ne.Qd)(e)?{...e,defaultValue:e.defaultValue||""}:{defaultValue:"",placeholder:""})(c),[X,_]=(0,B.useState)(O.defaultValue??""),q=(0,B.useRef)({}),j=e=>{_(e.target.value),R(e)},G=()=>{_(""),H()},K=(0,B.useMemo)(()=>Array.isArray(m)?m["left"===C?0:1]:m,[m,C]),[V,Q]=(0,B.useMemo)(()=>{const e=[],t=[];return i.forEach(o=>{const n=(e=>{const t=D(e),o=function(e){return(0,T.R)(e)&&(0,ne.Qd)(e)&&!B.isValidElement(e)}(t),n=o?t.label:t,r=o?t.value:function(e,t){for(const o of[e,t.title,t.key]){if((0,ne.Kg)(o))return o;if((0,ne.Et)(o))return String(o)}return""}(t,e);return{item:e,renderedEl:n,renderedText:r}})(o);X&&!((e,t)=>(0,ne.Tn)(F)?F(X,t,C):e.includes(X))(n.renderedText,o)||(e.push(o),t.push(n))}),[e,t]},[i,X,F,C]),Y=(0,B.useMemo)(()=>V.filter(e=>l.includes(e.key)&&!e.disabled),[l,V]),U=(0,B.useMemo)(()=>{if(0===Y.length)return"none";const e=(0,Vc.W)(l);return V.every(t=>e.has(t.key)||!!t.disabled)?"all":"part"},[Y.length,l,V]),Z=B.createElement(b.A,{disabled:!V.some(e=>!e.disabled)||s,checked:"all"===U,indeterminate:"part"===U,className:`${W}-checkbox`,onChange:()=>{N?.(sd(V),"all"!==U)}}),J=z&&(z.length<2?z(e):z(e,{direction:C})),ee=J?B.createElement("div",{className:(0,P.$)(`${W}-footer`,n.footer),style:r.footer},J):null,te=!x&&!y&&Z;let oe;oe=x?[y?{key:"removeCurrent",label:$,onClick(){const e=sd((q.current?.items||[]).map(e=>e.item));M?.(e)}}:null,{key:"removeAll",label:f,onClick(){M?.(sd(V))}}].filter(Boolean):[{key:"selectAll",label:"all"===U?p:u,onClick(){const e=sd(V);N?.(e,"all"!==U)}},y?{key:"selectCurrent",label:g,onClick(){const e=q.current?.items||[];N?.(sd(e.map(e=>e.item)),!0)}}:null,{key:"selectInvert",label:h,onClick(){const e=sd((q.current?.items||[]).map(e=>e.item)),t=new Set(l),o=new Set(t);e.forEach(e=>{t.has(e)?o.delete(e):o.add(e)}),N?.((0,$e.A)(o),"replace")}}];const re=B.createElement(A.A,{className:`${W}-header-dropdown`,menu:{items:oe},disabled:s},(e=>void 0!==e)(E)?E:B.createElement(ji.A,null));return B.createElement("div",{className:(0,P.$)(L,n.section,{[`${L}-with-pagination`]:!!y,[`${L}-with-footer`]:!!J}),style:{...o,...r.section}},B.createElement("div",{className:(0,P.$)(`${W}-header`,n.header),style:r.header},v?B.createElement(B.Fragment,null,te,re):null,B.createElement("span",{className:`${W}-header-selected`},((e,t)=>{if(w)return(0,ne.Tn)(w)?w({selectedCount:e,totalCount:t}):w;const o=t>1?S:k;return B.createElement(B.Fragment,null,(e>0?`${e}/`:"")+t," ",o)})(Y.length,V.length)),B.createElement("span",{className:(0,P.$)(`${W}-header-title`,n.title),style:r.title},a)),(()=>{const t=c?B.createElement("div",{className:`${W}-body-search-wrapper`},B.createElement(ed,{prefixCls:`${W}
1-search`,onChange:j,handleClear:G,placeholder:O.placeholder||d,value:X,disabled:s})):null,{customize:o,bodyContent:i}=(e=>{let t=I?I({...e,onItemSelect:(t,o)=>e.onItemSelect(t,o)}):null;const o=!!t;return o||(t=B.createElement(ad,{ref:q,...e,prefixCls:W})),{customize:o,bodyContent:t}})({...(0,T.cJ)(e,rd),filteredItems:V,filteredRenderItems:Q,selectedKeys:l,classNames:n,styles:r});let a;return a=o?B.createElement("div",{className:`${W}-body-customize-wrapper`},i):V.length?i:B.createElement("div",{className:`${W}-body-not-found`},K),B.createElement("div",{className:(0,P.$)(`${W}-body`,{[`${W}-body-with-search`]:c},n.body),style:r.body},t,a)})(),ee)},dd=e=>{const{antCls:t,componentCls:o,listHeight:n,controlHeightLG:r}=e,i=`${t}-table`,a=`${t}-input`;return{[`${o}-customize-list`]:{[`${o}-section`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:n,minWidth:0},[`${i}-wrapper`]:{[`${i}-small`]:{border:0,borderRadius:0,[`${i}-selection-column`]:{width:r,minWidth:r}},[`${i}-pagination${i}-pagination`]:{margin:0,padding:e.paddingXS}},[`${a}[disabled]`]:{backgroundColor:"transparent"}}}},md=(e,t)=>{const{componentCls:o,colorBorder:n}=e;return{[`${o}-section`]:{borderColor:t,[`${o}-list-search:not([disabled])`]:{borderColor:n}}}},ud=e=>{const{componentCls:t}=e;return{[`${t}-status-error`]:{...md(e,e.colorError)},[`${t}-status-warning`]:{...md(e,e.colorWarning)}}},pd=e=>{const{componentCls:t,colorBorder:o,colorSplit:n,lineWidth:r,itemHeight:i,headerHeight:a,transferHeaderVerticalPadding:l,itemPaddingBlock:s,controlItemBgActive:c,colorTextDisabled:d,colorTextSecondary:m,listHeight:u,listWidth:p,listWidthLG:g,fontSizeIcon:h,marginXS:f,paddingSM:$,lineType:b,antCls:v,iconCls:x,motionDurationSlow:y,controlItemBgHover:C,borderRadiusLG:S,colorBgContainer:k,colorText:w,controlItemBgActiveHover:E}=e,A=(0,V.zA)(e.calc(S).sub(r).equal());return{display:"flex",flexDirection:"column",width:p,height:u,border:`${(0,V.zA)(r)} ${b} ${o}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:g,height:"auto"},[`${t}-list`]:{"&-search":{[`${x}-search`]:{color:d}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:a,padding:`${(0,V.zA)(e.calc(l).sub(r).equal())} ${(0,V.zA)($)} ${(0,V.zA)(l)}`,color:w,background:k,borderBottom:`${(0,V.zA)(r)} ${b} ${n}`,borderRadius:`${(0,V.zA)(S)} ${(0,V.zA)(S)} 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":{...Y.L9,flex:"0 1 auto",textAlign:"end",marginInlineStart:"auto"},"&-dropdown":{...(0,Y.Nk)(),fontSize:h,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}}},"&-body":{display:"flex",flex:"auto",flexDirection:"column",fontSize:e.fontSize,minHeight:0,"&-search-wrapper":{position:"relative",flex:"none",padding:$}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none",borderRadius:`0 0 ${A} ${A}`,"&-item":{display:"flex",alignItems:"center",minHeight:i,padding:`${(0,V.zA)(s)} ${(0,V.zA)($)}`,transition:`all ${y}`,"> *:not(:last-child)":{marginInlineEnd:f},"> *":{flex:"none"},"&-text":{...Y.L9,flex:"auto"},"&-remove":{...(0,Y.Y1)(e),color:o,"&:hover, &:focus":{color:m},"&:disabled":{color:d,cursor:"not-allowed"}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:C,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:E}},"&-checked":{backgroundColor:c},"&-disabled":{color:d,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:e.paddingXS,textAlign:"end",borderTop:`${(0,V.zA)(r)} ${b} ${n}`,[`${v}-pagination-options`]:{paddingInlineEnd:e.paddingXS}},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:d,textAlign:"center"},"&-footer":{borderTop:`${(0,V.zA)(r)} ${b} ${n}`},"&-checkbox":{lineHeight:1}}}},gd=e=>{const{antCls:t,iconCls:o,componentCls:n,marginXS:r,marginXXS:i,fontSizeIcon:a,colorBgContainerDisabled:l}=e;return{[n]:{...(0,Y.dF)(e),position:"relative",display:"flex",alignItems:"stretch",[`${n}-disabled`]:{[`${n}-section`]:{background:l}},[`${n}-section`]:pd(e),[`${n}-actions`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${(0,V.zA)(r)}`,verticalAlign:"middle",gap:i,[`${t}-btn ${o}`]:{fontSize:a}}}}},hd=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},fd=(0,F.OF)("Transfer",e=>{const t=(0,K.oX)(e);return[gd(t),dd(t),ud(t),hd(t)]},e=>
1{const{fontSize:t,lineHeight:o,controlHeight:n,controlHeightLG:r,lineWidth:i}=e,a=Math.round(t*o);return{listWidth:180,listHeight:200,listWidthLG:250,headerHeight:r,itemHeight:n,itemPaddingBlock:(n-a)/2,transferHeaderVerticalPadding:Math.ceil((r-i-a)/2)}}),$d=(e,t)=>{const{prefixCls:o,className:n,rootClassName:r,classNames:i,styles:a,style:l,listStyle:s,operationStyle:c,operations:d,actions:m,dataSource:u,targetKeys:p=[],selectedKeys:g,selectAllLabels:h=[],locale:f={},titles:$,disabled:b,showSearch:v=!1,showSelectAll:x,oneWay:y,pagination:C,status:S,selectionsIcon:k,filterOption:w,render:E,footer:A,children:z,rowKey:I,onScroll:N,onChange:M,onSearch:R,onSelectChange:F,...D}=e,{getPrefixCls:L,renderEmpty:W,direction:O,className:_,style:q,classNames:j,styles:G,selectionsIcon:K}=(0,H.TP)("transfer"),V=(0,B.useContext)(de.A),Q=b??V,Y={...e,disabled:Q},U=L("transfer",o),[Z,J]=fd(U),ee=m||d||[],te="rtl"===O,[oe,re,ie]=((e,t,o)=>{const n=B.useMemo(()=>(e||[]).map(e=>t?{...e,key:t(e)}:e),[e,t]),[r,i]=B.useMemo(()=>{const e=[],t=Array.from({length:o?.length??0}),r=(0,Vc.W)(o||[]);return n.forEach(o=>{if(r.has(o.key)){const e=r.get(o.key);t[e]=o}else e.push(o)}),[e,t]},[n,o]);return[n,r.filter(Boolean),i.filter(Boolean)]})(u,I,p),[ae,le,se,ce]=function(e,t,o){const[n,r]=B.useMemo(()=>[new Set(e.map(e=>e?.key)),new Set(t.map(e=>e?.key))],[e,t]),[i,a]=(0,T.PW)(Uc,o),l=B.useMemo(()=>Zc(i,n),[i,n]),s=B.useMemo(()=>Zc(i,r),[i,r]);B.useEffect(()=>{a([].concat((0,$e.A)(Zc(i,n)),(0,$e.A)(Zc(i,r))))},[Jc(n),Jc(r)]);const c=(0,T._q)(e=>{a([].concat((0,$e.A)(e),(0,$e.A)(s)))}),d=(0,T._q)(e=>{a([].concat((0,$e.A)(l),(0,$e.A)(e)))});return[l,s,c,d]}(re,ie,g),[me,ue]=(0,Za.o)(e=>e.key),[pe,ge]=(0,Za.o)(e=>e.key),he=(0,B.useCallback)((e,t)=>{"left"===e?se((0,ne.Tn)(t)?t(ae||[]):t):ce((0,ne.Tn)(t)?t(le||[]):t)},[ae,le]),be=(e,t)=>
1{("left"===e?ue:ge)(t)},ve=(0,B.useCallback)((e,t)=>{"left"===e?F?.(t,le):F?.(ae,t)},[ae,le]),xe=e=>{const t="right"===e?ae:le,o=(0,Vc.a)(oe),n=t.filter(e=>!o.has(e)),r=(0,Vc.W)(n),i="right"===e?n.concat(p):p.filter(e=>!r.has(e)),a="right"===e?"left":"right";he(a,[]),ve(a,[]),M?.(i,e,n)},ye=(e,t,o)=>{he(e,n=>{let r=[];if("replace"===o)r=t;else if(o)r=Array.from(new Set([].concat((0,$e.A)(n),(0,$e.A)(t))));else{const e=(0,Vc.W)(t);r=n.filter(t=>!e.has(t))}return ve(e,r),r}),be(e,null)},Ce=(t,o,n,r)=>{const i="left"===t,a=i?ae:le,l=new Set(a),s=(i?re:ie).filter(e=>!e.disabled),c=s.findIndex(e=>e.key===o);r&&a.length>0?((e,t,o,n)=>{("left"===e?me:pe)(n,t,o)})(t,s,l,c):((e,t,o,n,r)=>{t.has(o)&&(t.delete(o),be(e,null)),n&&(t.add(o),be(e,r))})(t,l,o,n,c);const d=Array.from(l);ve(t,d),e.selectedKeys||he(t,d)},Se=e=>(0,ne.Tn)(s)?s({direction:e}):s||{},{hasFeedback:ke,status:we}=(0,B.useContext)(fe.$W),Ee=(0,no.v)(we,S),Ae=!z&&C,ze=ie.some(e=>(0,T.R)(e.key)&&le.includes(e.key)&&!e.disabled),Ie=re.some(e=>(0,T.R)(e.key)&&ae.includes(e.key)&&!e.disabled),Be=(0,X.XT)(q),Ne=(0,X.XT)(l),[Me,Te]=(0,X.AV)([j,i],[G,Be,a,Ne],{props:Y},{source:{},target:{}}),Pe=(0,P.$)(U,{[`${U}-disabled`]:Q,[`${U}-customize-list`]:!!z,[`${U}-rtl`]:te},(0,no.L)(U,Ee,ke),_,n,r,Z,J,Me.root),[Re]=(0,ct.A)("Transfer",dt.A.Transfer),He=(Fe=Re,{...Fe,notFoundContent:W?.("Transfer")||B.createElement(Go.A,{componentName:"Transfer"}),...f});var Fe;const[De,Le]=(e=>
1$??e.titles??[])(He),We=k??K,Oe=["section","header","title","body","list","item","itemIcon","itemContent","footer"],Xe=e=>{const t={...Me},o=Me[e];return Oe.forEach(e=>{t[e]=(0,P.$)(Me[e],o?.[e])}),t},_e=e=>{const t={...Te},o=Te[e];return Oe.forEach(e=>{t[e]={...Te[e],...o?.[e]}}),t},qe=Xe("source"),je=Xe("target"),Ge=_e("source"),Ke=_e("target"),Ve=(0,T.KE)(D,{aria:!0,data:!0}),Qe=B.useRef(null);return B.useImperativeHandle(t,()=>({nativeElement:Qe.current})),B.createElement("div",{ref:Qe,...Ve,className:Pe,style:Te.root},B.createElement(cd,{prefixCls:U,style:Se("left"),classNames:qe,styles:Ge,titleText:De,dataSource:re,filterOption:w,checkedKeys:ae,handleFilter:e=>R?.("left",e.target.value),handleClear:()=>R?.("left",""),onItemSelect:(e,t,o)=>{Ce("left",e,t,o?.shiftKey)},onItemSelectAll:(e,t)=>ye("left",e,t),render:E,showSearch:v,renderList:z,footer:A,onScroll:e=>{N?.("left",e)},disabled:Q,direction:te?"right":"left",showSelectAll:x,selectAllLabel:h[0],pagination:Ae,selectionsIcon:We,...He}),B.createElement(Yc,{className:(0,P.$)(`${U}-actions`,Me.actions),rightActive:Ie,moveToRight:()=>{xe("right"),be("right",null)},leftActive:ze,actions:ee,moveToLeft:()=>{xe("left"),be("left",null)},style:{...c,...Te.actions},disabled:Q,direction:O,oneWay:y}),B.createElement(cd,{prefixCls:U,style:Se("right"),classNames:je,styles:Ke,titleText:Le,dataSource:ie,filterOption:w,checkedKeys:le,handleFilter:e=>R?.("right",e.target.value),handleClear:()=>R?.("right",""),onItemSelect:(e,t,o)=>{Ce("right",e,t,o?.shiftKey)},onItemSelectAll:(e,t)=>ye("right",e,t),onItemRemove:e=>{he("right",[]),M?.(p.filter(t=>!e.includes(t)),"left",(0,$e.A)(e))},render:E,showSearch:v,renderList:z,footer:A,onScroll:e=>{N?.("right",e)},disabled:Q,direction:te?"left":"right",showSelectAll:x,selectAllLabel:h[1],showRemove:y,pagination:Ae,selectionsIcon:We,...He}))},bd=B.forwardRef($d);bd.List=cd,bd.Search=ed,bd.Operation=Yc;const vd=bd;var xd=o(40019),yd=o(30012),Cd=o(41437),Sd=o(65752),kd=o(67728);const wd=(e,t)=>{const{prefixCls:o,size:n,disabled:r,bordered:i=!0,style:a,className:l,rootClassName:s,treeCheckable:c,multiple:d,listHeight:m=256,listItemHeight:u,placement:p,notFoundContent:g,switcherIcon:h,treeLine:f,getPopupContainer:$,popupClassName:b,dropdownClassName:v,treeIcon:x=!1,transitionName:y,choiceTransitionName:C="",status:S,treeExpandAction:k,builtinPlacements:w,dropdownMatchSelectWidth:E,popupMatchSelectWidth:A,allowClear:z,variant:I,dropdownStyle:N,dropdownRender:M,popupRender:R,onDropdownVisibleChange:D,onOpenChange:L,tagRender:W,maxCount:_,showCheckedStrategy:j,treeCheckStrictly:G,styles:Q,classNames:Y,...U}=e,{getPrefixCls:Z,getPopupContainer:J,direction:ee,styles:te,classNames:oe,switcherIcon:ne}=(0,H.TP)("treeSelect"),{renderEmpty:re,virtual:ie,popupMatchSelectWidth:ae,popupOverflow:le}=B.useContext(H.QO),[,se]=(0,Jo.Ay)(),ce=u??se?.controlHeightSM+se?.paddingXXS,me=Z(),ue=Z("select",o),pe=Z("select-tree",o),ge=Z("tree-select",o),{compactSize:he,compactItemClassnames:$e}=(0,Co.RQ)(ue,ee),ve=(0,q.A)(ue),xe=(0,q.A)(ge),[ye,Ce]=(0,Cd.A)(ue,ve);!function(e,t,o){(0,F.OF)("TreeSelect",e=>(e=>{const{componentCls:t,treePrefixCls:o,colorBgElevated:n}=e,r=`.${o}`;return[{[`${t}-dropdown`]:[{padding:`${(0,V.zA)(e.paddingXS)} ${(0,V.zA)(e.calc(e.paddingXS).div(2).equal())}`},kl(o,(0,K.oX)(e,{colorBgContainer:n}),!1),{[r]:{borderRadius:0,[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-treenode`]:{[`${r}-node-content-wrapper`]:{flex:"auto"}}}}},(0,bl.gd)(`${o}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${r}-switcher${r}-switcher_close`]:{[`${r}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]})((0,K.oX)(e,{treePrefixCls:t})),wl,{resetFont:!1})(e,o)}(ge,pe,xe);const[Se,ke]=(0,ro.A)("treeSelect",I,i),we=(0,We.A)(e=>n??he??e),Ee=B.useContext(de.A),Ae=r??Ee,{status:ze,hasFeedback:Ie,isFormItemInput:Be,feedbackIcon:Ne}=B.useContext(fe.$W),Me=(0,no.v)(ze,S),Te={...e,size:we,disabled:Ae,status:Me,variant:Se},[Pe,Re]=(0,X.AV)([oe,Y],[te,Q],{props:Te},{popup:{_default:"root"}}),He=(0,P.$)(b||v,`${ge}-dropdown`,{[`${ge}-dropdown-rtl`]:"rtl"===ee}
1,s,Pe.root,Pe.popup?.root,Ce,ve,xe,ye),Fe=(0,rr.A)(R||M),De=L||D,Le=!(!c&&!d),Oe=B.useMemo(()=>{if(!_||("SHOW_ALL"!==j||G)&&"SHOW_PARENT"!==j)return _},[_,j,G]),Xe=(0,kd.A)(e.suffixIcon,e.showArrow),_e=A??E??ae,{suffixIcon:qe,removeIcon:je,clearIcon:Ge}=(0,Sd.A)({...U,multiple:Le,showSuffixIcon:Xe,hasFeedback:Ie,feedbackIcon:Ne,prefixCls:ue,componentName:"TreeSelect"}),Ke=!0===z?{clearIcon:Ge}:z;let Ve;Ve=void 0!==g?g:re?.("Select")||B.createElement(Go.A,{componentName:"Select"});const Qe=(0,T.cJ)(U,["suffixIcon","removeIcon","clearIcon"]),Ye=B.useMemo(()=>void 0!==p?p:"rtl"===ee?"bottomRight":"bottomLeft",[p,ee]),Ue=(0,P.$)(!o&&ge,{[`${ue}-lg`]:"large"===we,[`${ue}-sm`]:"small"===we,[`${ue}-rtl`]:"rtl"===ee,[`${ue}-${Se}`]:ke,[`${ue}-in-form-item`]:Be},(0,no.L)(ue,Me,Ie),$e,l,s,Pe?.root,Ce,ve,xe,ye),Ze=h??ne,[Je]=(0,O.YK)("SelectLike",Re.popup?.root?.zIndex);return B.createElement(xd.Ay,{classNames:Pe,styles:Re,virtual:ie,disabled:Ae,...Qe,popupMatchSelectWidth:_e,builtinPlacements:(0,yd.A)(w,le),ref:t,prefixCls:ue,className:Ue,style:{...Re?.root,...a},listHeight:m,listItemHeight:ce,treeCheckable:c?B.createElement("span",{className:`${ue}-tree-checkbox-inner`}):c,treeLine:!!f,suffixIcon:qe,multiple:Le,placement:Ye,removeIcon:je,allowClear:Ke,switcherIcon:e=>B.createElement(Nl,{prefixCls:pe,switcherIcon:Ze,treeNodeProps:e,showLine:f}),showTreeIcon:x,notFoundContent:Ve,getPopupContainer:$||J,treeMotion:null,popupClassName:He,popupStyle:{...Re.root,...Re.popup?.root,zIndex:Je},popupRender:Fe,onPopupVisibleChange:De,choiceTransitionName:(0,be.b)(me,"",C),transitionName:(0,be.b)(me,"slide-up",y),treeExpandAction:k,tagRender:Le?W:void 0,maxCount:Oe,showCheckedStrategy:j,treeCheckStrictly:G})},Ed=B.forwardRef(wd),Ad=(0,or.A)(Ed,"popupAlign",e=>(0,T.cJ)(e,["visible"]));Ed.TreeNode=xd.nF,Ed.SHOW_ALL=xd.u6,Ed.SHOW_PARENT=xd.FA,Ed.SHOW_CHILD=xd.vj,Ed._InternalPanelDoNotUseOrYouWillBeFired=Ad;const zd=Ed;var Id=o(59110),Bd=o(21454);const Nd=e=>{const t={};return[1,2,3,4,5].forEach(o=>{t[`\n h${o}&,\n div&-h${o},\n div&-h${o} > textarea,\n h${o}\n `]=((e,t,o,n)=>{const{titleMarginBottom:r,fontWeightStrong:i}=n;return{marginBottom:r,color:o,fontWeight:i,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${o}`],e[`lineHeightHeading${o}`],e.colorTextHeading,e)}),t},Md=e=>{const{componentCls:t}=e,o=`${t}-link`;return{[`&${o}`]:{...(0,Y.Y1)(e),userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none",[`${t}-actions`]:{pointerEvents:"auto"}}}}}},Td=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} rgba(100, 100, 100, 0.2)`,borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} rgba(100, 100, 100, 0.2)`,borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:fc.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:`${(0,V.zA)(e.lineWidth)} ${e.lineType} rgba(100, 100, 100, 0.2)`,borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85},table:{width:"100%",textAlign:"start",borderCollapse:"separate",borderSpacing:0,marginBlock:"1em","th, td":{padding:(0,V.zA)(e.padding),overflowWrap:"break-word",borderBottom:`${(0,V.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"thead > tr:first-child > th:first-child":{borderStartStartRadius:e.borderRadiusLG},"thead > tr:first-child > th:last-child":{borderStartEndRadius:e.borderRadiusLG},"thead > tr > th":{textAlign:"start",position:"relative",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,backgroundColor:e.colorFillAlter,transition:`background-color ${e.motionDurationMid} ease`,"&:not(:last-child)::before":{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:e.colorSplit,transform:"translateY(-50%)",content:'""'}},"tbody > tr":{"> th, > td":{transition:`background-color ${e.motionDurationMid} ease`},"&:hover > th, &:hover > td":{backgroundColor:e.colorFillAlter}}}}),Pd=e=>{const{componentCls:t,paddingSM:o}=e,n=o;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(n).div(-2).add(1).equal(),marginBottom:e.calc(n).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},[`&${t}-edit-content textarea`]:{margin:"0!important",fontSize:"inherit",lineHeight:"inherit",fontFamily:"inherit",fontWeight:"inherit",MozTransition:"none",height:"1em"}}}},Rd=e=>({[`${e.componentCls}-copy-success`]:{"&, &:hover, &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),Hd=(0,F.OF)("Typography",e=>{const{componentCls:t,titleMarginTop:o}=e;return{[t]:{color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary, &${t}-link${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success, &${t}-link${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning, &${t}-link${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger, &${t}-link${t}-danger`]:{color:e.colorErrorText,[`&${t}-link:active, &${t}-link:focus`]:{color:e.colorErrorTextActive},[`&${t}-link:hover`]:{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"div&, p":{marginBottom:"1em"}
1,...Nd(e),[`& + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t}`]:{marginTop:o},"div, ul, li, p, h1, h2, h3, h4, h5":{"+ h1, + h2, + h3, + h4, + h5":{marginTop:o}},...Td(e),...Md(e),[`${t}-actions`]:{display:"inline"},[`\n ${t}-expand,\n ${t}-collapse,\n ${t}-edit,\n ${t}-copy\n `]:{...(0,Y.Y1)(e),marginInlineStart:e.marginXXS},[`${t}-actions-start`]:{[`\n ${t}-expand,\n ${t}-collapse,\n ${t}-edit,\n ${t}-copy:not(${t}-copy-icon-only)\n `]:{marginInlineStart:0,marginInlineEnd:e.marginXXS}},...Pd(e),...Rd(e),"a&-ellipsis, span&-ellipsis":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{...Y.L9,"a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"},"&-rtl":{direction:"rtl"}}}},()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),Fd=e=>{const{prefixCls:t,"aria-label":o,className:n,style:r,classNames:i,styles:a,direction:l,maxLength:s,autoSize:c=!0,value:d,onSave:m,onCancel:u,onEnd:p,component:g,enterIcon:h=B.createElement(Bd.A,null)}=e,f=B.useRef(null),$=B.useRef(!1),b=B.useRef(null),[v,x]=B.useState(d);B.useEffect(()=>{x(d)},[d]),B.useEffect(()=>{if(f.current?.resizableTextArea){const{textArea:e}=f.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}},[]);const y=()=>{m(v.trim())},[C,S]=Hd(t),k=(0,P.$)(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===l,[`${t}-${g}`]:!!g},n,i.root,C,S);return B.createElement("div",{className:k,style:{...a.root,...r}},B.createElement(Bo,{ref:f,maxLength:s,value:v,onChange:({target:e})=>{x(e.value.replace(/[\n\r]/g,""))},onKeyDown:({keyCode:e})=>{$.current||(b.current=e)},onKeyUp:({keyCode:e,ctrlKey:t,altKey:o,metaKey:n,shiftKey:r})=>{b.current!==e||$.current||t||o||n||r||(e===T.DD.ENTER?(y(),p?.()):e===T.DD.ESC&&u())},onCompositionStart:()=>{$.current=!0},onCompositionEnd:()=>{$.current=!1},onBlur:()=>{y()},"aria-label":o,rows:1,autoSize:c,className:i.textarea,style:a.textarea}),null!==h?(0,Ge.Ob)(h,{className:`${t}-edit-content-confirm`}):null)};var Dd=o(17007);const Ld=(e,t)=>{const o=Boolean(e);return B.useMemo(()=>{const n={...t,...o&&(0,ne.Qd)(e)?e:null};return[o,n]},[o,e,t])},Wd=(e,t,o,n,r)=>{const{getPrefixCls:i,direction:a,className:l,style:s,classNames:c,styles:d}=(0,H.TP)("typography"),m=n??a,u=i("typography",e),p={...r,prefixCls:u,direction:m},g=(0,B.useMemo)(()=>({root:l}),[l]),h=(0,X.XT)(s),[f,$]=(0,X.AV)([g,c,t],[d,h,o],{props:p});return[f,$,u,m]},Od=B.forwardRef((e,t)=>{const{component:o="article",className:n,rootClassName:r,children:i,direction:a,style:l,classNames:s,styles:c,prefixCls:d,...m}=e,[u,p]=Hd(d),g=(0,P.$)(d,{[`${d}-rtl`]:"rtl"===a},n,r,u,p,s?.root),h={...c?.root,...l};return B.createElement(o,{...m,className:g,style:h,ref:t},i)}),Xd=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,rootClassName:r,direction:i,classNames:a,styles:l,...s}=e,[c,d,m,u]=Wd(o,a,l,i,e);return B.createElement(Od,{ref:t,className:(0,P.$)(n,r),direction:u,classNames:c,styles:d,prefixCls:m,...s})});var _d=o(91921);const qd=e=>!1===e?[!1,!1]:(0,nr.A)(e);function jd(e,t,o){return!0===e||void 0===e?t:e||o&&t}const Gd=e=>["string","number"].includes(typeof e),Kd=e=>{const{prefixCls:t,copied:o,locale:n,iconOnly:r,tooltips:i,icon:a,tabIndex:l,onCopy:s,loading:c,className:d,style:m}=e,u=qd(i),p=qd(a),{copied:g,copy:h}=n??{},f=o?g:h,$=jd(u[o?1:0],f),b="string"==typeof $?$:f;return B.createElement(j.A,{title:$},B.createElement("button",{type:"button",className:(0,P.$)(`${t}-copy`,d,{[`${t}-copy-success`]:o,[`${t}-copy-icon-only`]:r}),style:m,onClick:s,"aria-label":b,tabIndex:l},o?jd(p[1],B.createElement(ma.A,null),!0):jd(p[0],c?B.createElement(ht.A,null):B.createElement(_d.A,null),!0)))},Vd=B.forwardRef(({style:e,children:t},o)=>{const n=B.useRef(null);return B.useImperativeHandle(o,()=>({isExceed:()=>{const e=n.current;return e.scrollHeight>e.clientHeight},getHeight:()=>n.current.clientHeight})),B.createElement("span",{"aria-hidden":!0,ref:n,style:{position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)",...e}},t)});function Qd(e,t){let o=0;const n=[];for(let r=0;r<e.length;r+=1){if(o===t)return n;const i=e[r],a=o+(Gd(i)?String(i).length:1);if(a>t){const e=t-o;return n.push(String(i).slice(0,e)),n}n.push(i),o=a}return e}const Yd=0,Ud=4,Zd={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Jd(e){const{enableMeasure:t,width:o,text:n,children:r,rows:i,expanded:a,measureDeps:l,miscDeps:s,onEllipsis:c}=e,d=B.useMemo(()=>(0,T.$r)(n),[n]),m=B.useMemo(()=>(e=>e.reduce((e,t)=>
1e+(Gd(t)?String(t).length:1),0))(d),[n]),u=B.useMemo(()=>r(d,!1),[n].concat((0,$e.A)(l))),[p,g]=B.useState(null),h=B.useRef(null),f=B.useRef(null),$=B.useRef(null),b=B.useRef(null),v=B.useRef(null),[x,y]=B.useState(!1),[C,S]=B.useState(Yd),[k,w]=B.useState(0),[E,A]=B.useState(null);(0,T.Nf)(()=>{S(t&&o&&m?1:Yd)},[o,n,i,t,d].concat((0,$e.A)(l))),(0,T.Nf)(()=>{if(1===C){S(2);const e=f.current&&getComputedStyle(f.current).whiteSpace;A(e)}else if(2===C){const e=!!$.current?.isExceed();S(e?3:Ud),g(e?[0,m]:null),y(e);const t=$.current?.getHeight()||0,o=1===i?0:b.current?.getHeight()||0,n=v.current?.getHeight()||0,r=Math.max(t,o+n);w(r+1),c(e)}},[C]);const z=p?Math.ceil((p[0]+p[1])/2):0;(0,T.Nf)(()=>{const[e,t]=p||[0,0];if(e!==t){const o=(h.current?.getHeight()||0)>k;let n=z;t-e===1&&(n=o?e:t),g(o?[e,n]:[n,t])}},[p,z]);const I=B.useMemo(()=>{if(!t)return r(d,!1);if(3!==C||!p||p[0]!==p[1]){const e=r(d,!1);return[Ud,Yd].includes(C)?e:B.createElement("span",{style:{...Zd,WebkitLineClamp:i}},e)}return r(a?d:Qd(d,p[0]),x)},[a,C,p,d].concat((0,$e.A)(s))),N={width:o,margin:0,padding:0,whiteSpace:"nowrap"===E?"normal":"inherit"};return B.createElement(B.Fragment,null,I,2===C&&B.createElement(B.Fragment,null,B.createElement(Vd,{style:{...N,...Zd,WebkitLineClamp:i},ref:$},u),B.createElement(Vd,{style:{...N,...Zd,WebkitLineClamp:i-1},ref:b},u),B.createElement(Vd,{style:{...N,...Zd,WebkitLineClamp:1},ref:v},r([],!0))),3===C&&p&&p[0]!==p[1]&&B.createElement(Vd,{style:{...N,top:400},ref:h},r(Qd(d,z),!0)),1===C&&B.createElement("span",{style:{whiteSpace:"inherit"},ref:f}))}const em=({enableEllipsis:e,isEllipsis:t,disabled:o,children:n,tooltipProps:r})=>r?.title&&e?B.createElement(j.A,{...r,disabled:!t||o},n):n,tm=["delete","mark","code","underline","strong","keyboard","italic"],om=B.forwardRef((e,t)=>{const{prefixCls:o,className:n,style:r,classNames:i,styles:a,direction:l,type:s,disabled:c,children:d,ellipsis:m,editable:u,copyable:p,actions:g,component:h,title:f,onMouseEnter:$,onMouseLeave:b,...v}=e,[x]=(0,ct.A)("Text"),y=B.useRef(null),C=B.useRef(null),[S,k,w,E]=Wd(o,i,a,l,e),A=(0,T.cJ)(v,tm),[z,I]=Ld(u),[N,M]=(0,T.PW)(!1,I.editing),{triggerType:R=["icon"]}=I,H=e=>{e&&I.onStart?.(),M(e)},F=(e=>{const t=(0,B.useRef)(void 0);return(0,B.useEffect)(()=>{t.current=e}),t.current})(N);(0,T.Nf)(()=>{!N&&F&&C.current?.focus()},[N]);const D=e=>{e?.preventDefault(),H(!0)},[L,W]=Ld(p),{placement:O="end"}=g??{},{copied:X,copyLoading:_,onClick:q}=(({copyConfig:e,children:t})=>{const[o,n]=(0,T.Cy)(!1),[r,i]=B.useState(!1),a={};return e.format&&(a.format=e.format),{copied:o,copyLoading:r,onClick:(0,T._q)(async o=>{o?.preventDefault(),o?.stopPropagation(),i(!0);try{const r=(0,ne.Tn)(e.text)?await e.text():e.text;await(0,Dd.A)(r||(0,nr.A)(t,{skipEmpty:!0}).join("")||"",a),i(!1),n(!0,!0),n(!1,{ms:3e3}),e.onCopy?.(o)}catch(e){throw i(!1),e}})}})({copyConfig:W,children:d}),[G,K]=B.useState(!1),[V,Q]=B.useState(!1),[Y,U]=B.useState(!1),[Z,J]=B.useState(!1),[ee,te]=B.useState(!0),[oe,re]=Ld(m,{expandable:!1,symbol:e=>e?x?.collapse:x?.expand}),[ie,ae]=(0,T.PW)(re.defaultExpanded||!1,re.expanded),le=oe&&(!ie||"collapsible"===re.expandable),{rows:se=1}=re,ce=B.useMemo(()=>le&&(void 0!==re.suffix||re.onEllipsis||re.expandable||z||L),[le,re,z,L]);(0,T.Nf)(()=>{oe&&!ce&&(K((0,T.Fq)("webkitLineClamp")),Q((0,T.Fq)("textOverflow")))},[ce,oe]);const[de,me]=B.useState(le),ue=B.useMemo(()=>!ce&&(1===se?V:G),[ce,se,G,V]);(0,T.Nf)(()=>{me(ue&&le)},[ue,le]);const pe=((e,t,o)=>(0,B.useMemo)(()=>!0===e?{title:t??o}:(0,B.isValidElement)(e)?{title:e}:(0,ne.Qd)(e)?{title:t??o,...e}:{title:e},[e,t,o]))(re.tooltip,I.text,d),ge=de&&!!pe.title,he=le&&(de?ge&&Z:Y),fe=le&&1===se&&de,be=le&&se>1&&de,[ve,xe]=B.useState(0),[ye,Ce]=(0,T.Cy)(!1),Se=B.useRef(!1),ke=e=>{U(e),Y!==e&&re.onEllipsis?.(e)},we=B.useCallback(()=>{const e=y.current;if(oe&&ge&&e){const t=function(e){const t=document.createElement("em");e.appendChild(t);const o=e.getBoundingClientRect(),n=t.getBoundingClientRect();return e.removeChild(t),o.left>n.left||n.right>o.right||o.top>n.top||n.bottom>o.bottom}(e);J(e=>e===t?e:t)}},[oe,ge]);B.useEffect(()=>{Se.current&&we()},[we,d,be,ee,ve]),B.useEffect(()=>{const e=y.current;if("undefined"==typeof IntersectionObserver||!e||!ge||!le)return;const t=new IntersectionObserver(()=>{te(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[ge,le]);const Ee=B.useMemo(()=>
1{if(oe&&!de)return[I.text,d,f,pe.title].find(Gd)},[oe,de,f,pe.title,he,I.text]);if(N)return B.createElement(Fd,{value:I.text??("string"==typeof d?d:""),onSave:e=>{I.onChange?.(e),H(!1)},onCancel:()=>{I.onCancel?.(),H(!1)},onEnd:I.onEnd,prefixCls:w,className:n,style:r,direction:E,component:h,maxLength:I.maxLength,autoSize:I.autoSize,enterIcon:I.enterIcon,classNames:S,styles:k});const Ae=e=>{const t=e&&(()=>{const{expandable:e,symbol:t}=re;return e?B.createElement("button",{type:"button",key:"expand",className:(0,P.$)(`${w}-${ie?"collapse":"expand"}`,S.action),style:k.action,onClick:e=>((e,t)=>{ae(t.expanded),re.onExpand?.(e,t)})(e,{expanded:!ie}),"aria-label":ie?x.collapse:x?.expand},(0,ne.Tn)(t)?t(ie):t):null})(),o=(()=>{if(!z)return;const{icon:e,tooltip:t,tabIndex:o}=I,n=(0,T.$r)(t)[0]||x?.edit,r="string"==typeof n?n:"";return R.includes("icon")?B.createElement(j.A,{key:"edit",title:!1===t?"":n},B.createElement("button",{type:"button",ref:C,className:(0,P.$)(`${w}-edit`,S.action),style:k.action,onClick:D,"aria-label":r,tabIndex:o},e||B.createElement(Id.A,{role:"button"}))):null})(),n=L?B.createElement(Kd,{key:"copy",...W,prefixCls:w,copied:X,locale:x,onCopy:q,loading:_,iconOnly:!(0,T.AZ)(d),className:S.action,style:k.action}):null;return t||o||n?B.createElement("span",{key:"operations",className:(0,P.$)(`${w}-actions`,S.actions,{[`${w}-actions-start`]:"start"===O}),style:k.actions,onMouseEnter:()=>Ce(!0,!0),onMouseLeave:()=>Ce(!1,{ms:500})},t,o,n):null};return B.createElement(Qn.Ay,{onResize:({offsetWidth:e})=>{xe(e)},disabled:!le},o=>B.createElement(em,{tooltipProps:pe,enableEllipsis:le,isEllipsis:he,disabled:ye},B.createElement(Od,{onMouseEnter:e=>{Se.current=!0,we(),$?.(e)},onMouseLeave:e=>{Se.current=!1,b?.(e)},className:(0,P.$)({[`${w}-${s}`]:s,[`${w}-disabled`]:c,[`${w}-ellipsis`]:oe,[`${w}-ellipsis-single-line`]:fe,[`${w}-ellipsis-multiple-line`]:be,[`${w}-link`]:"a"===h},n),classNames:S,styles:k,prefixCls:w,style:{...r,WebkitLineClamp:be?se:void 0},component:h,ref:(0,T.K4)(o,y,t),direction:E,onClick:R.includes("text")?D:void 0,"aria-label":Ee?.toString(),title:f,...A},B.createElement(Jd,{enableMeasure:le&&!de,text:d,rows:se,width:ve,onEllipsis:ke,expanded:ie,measureDeps:[O],miscDeps:[X,ie,_,z,L,O,x].concat((0,$e.A)(tm.map(t=>e[t])))},(t,o)=>function({mark:e,code:t,underline:o,delete:n,strong:r,keyboard:i,italic:a},l){let s=l;function c(e,t){t&&(s=B.createElement(e,{},s))}return c("strong",r),c("u",o),c("del",n),c("code",t),c("mark",e),c("kbd",i),c("i",a),s}(e,B.createElement(B.Fragment,null,"start"===O?Ae(o):null,t.length>0&&o&&!ie&&Ee?B.createElement("span",{key:"show-content","aria-hidden":!0},t):t,(e=>[e&&!ie&&B.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),re.suffix])(o),"start"===O?null:Ae(o)))))))}),nm=om,rm=B.forwardRef((e,t)=>{const{ellipsis:o,rel:n,children:r,navigate:i,...a}=e,l={...a,rel:void 0===n&&"_blank"===a.target?"noopener noreferrer":n};return B.createElement(nm,{...l,ref:t,ellipsis:!!o,component:"a"},r)}),im=rm,am=B.forwardRef((e,t)=>{const{children:o,...n}=e;return B.createElement(nm,{ref:t,...n,component:"div"},o)}),lm=B.forwardRef((e,t)=>{const{ellipsis:o,children:n,...r}=e,i=B.useMemo(()=>(0,ne.Qd)(o)?(0,T.cJ)(o,["expandable","rows"]):o,[o]);return B.createElement(nm,{ref:t,...r,ellipsis:i,component:"span"},n)}),sm=lm,cm=[1,2,3,4,5],dm=B.forwardRef((e,t)=>{const{level:o=1,children:n,...r}=e,i=cm.includes(o)?`h${o}`:"h1";return B.createElement(nm,{ref:t,...r,component:i},n)}),mm=Xd;mm.Text=sm,mm.Link=im,mm.Title=dm,mm.Paragraph=am;const um=mm;var pm=o(83280),gm=o(71857),hm=o(53006),fm=o(21120);const $m=(e,t=1)=>Number(e.fontSize)*t,bm=(e,t=1,o)=>{const n=void 0===o?"":`/${o}px`;return`${e.fontStyle} normal ${e.fontWeight} ${$m(e,t)}px${n} ${e.fontFamily}`},vm=(e,t,o=1)=>{const n=document.createElement("canvas"),r=n.getContext("2d"),i=e*o,a=t*o;return n.setAttribute("width",`${i}px`),n.setAttribute("height",`${a}px`),r.save(),[r,n,i,a]},xm=()=>{},ym={visibility:"visible !important"};function Cm(e,t){return e.size===t.size?e:t}const Sm=100,km=100,wm={position:"relative",overflow:"hidden"},Em=B.forwardRef((e,t)=>
1{const{zIndex:o,rotate:n=-22,width:r,height:i,image:a,content:l,font:s={},style:c,className:d,rootClassName:m,gap:u=[Sm,km],offset:p,children:g,inherit:h=!0,onRemove:f}=e,{className:$,style:b}=(0,H.TP)("watermark"),v={...wm,...b,...c},[,x]=(0,Jo.Ay)(),y=o??x.zIndexPopupBase-1,{color:C=x.colorFill,fontSize:S=x.fontSizeLG,fontWeight:k="normal",fontStyle:w="normal",fontFamily:E="sans-serif",textAlign:A="center"}=s,z=B.useMemo(()=>({color:C,fontSize:S,fontWeight:k,fontStyle:w,fontFamily:E,textAlign:A}),[C,S,k,w,E,A]),I=B.useMemo(()=>((e,t)=>(0,nr.A)(e,{skipEmpty:!0}).map(e=>(e=>(0,ne.Qd)(e))(e)?{text:e.text??"",font:(0,T.v6)(t,e.font??{})}:{text:e??"",font:t}))(l,z),[l,z]),[N=Sm,M=km]=u,R=N/2,F=M/2,D=p?.[0]??R,L=p?.[1]??F,W=B.useMemo(()=>{const e={zIndex:y,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let t=D-R,o=L-F;return t>0&&(e.left=`${t}px`,e.width=`calc(100% - ${t}px)`,t=0),o>0&&(e.top=`${o}px`,e.height=`calc(100% - ${o}px)`,o=0),e.backgroundPosition=`${t}px ${o}px`,e},[y,D,R,L,F]),[O,X]=B.useState(),_=B.useRef(null);B.useImperativeHandle(t,()=>({nativeElement:_.current}));const q=(0,T.xK)(_,X),[j,G]=B.useState(()=>new Set),K=B.useMemo(()=>[].concat(O?[O]:[],(0,$e.A)(Array.from(j))),[O,j]),V=B.useCallback((e,t,o,n,r,i,a)=>{const[l,s,c,d]=vm(n,r,o);if(e instanceof HTMLImageElement)l.drawImage(e,0,0,c,d);else{l.textBaseline="top";let t=0;e.forEach(({text:e,font:n})=>{l.font=bm(n,o,r),l.fillStyle=n.color,l.textAlign=n.textAlign,l.fillText(e,c/2,t),t+=$m(n,o)+3*o})}const m=Math.PI/180*Number(t),u=Math.max(n,r),[p,g,h]=vm(u,u,o);p.translate(h/2,h/2),p.rotate(m),c>0&&d>0&&p.drawImage(s,-c/2,-d/2);let f=0,$=0,b=0,v=0;const x=c/2,y=d/2;[[0-x,0-y],[0+x,0-y],[0+x,0+y],[0-x,0+y]].forEach(([e,t])=>{const[o,n]=((e,t,o)=>[e*Math.cos(o)-t*Math.sin(o),e*Math.sin(o)+t*Math.cos(o)])(e,t,m);f=Math.min(f,o),$=Math.max($,o),b=Math.min(b,n),v=Math.max(v,n)});const C=f+h/2,S=b+h/2,k=$-f,w=v-b,E=i*o,A=a*o,z=2*(k+E),I=w+A,[B,N]=vm(z,I),M=(e=0,t=0)=>{k<=0||w<=0||B.drawImage(g,C,S,k,w,e,t,k,w)};return M(),M(k+E,-w/2-A/2),M(k+E,+w/2+A/2),[N.toDataURL(),z/o,I/o]},[]),Q=(()=>{const e=B.useRef([null,null]);return(t,o)=>{const n=t.map(e=>(0,ne.sb)(e)||Number.isNaN(e)?"":e);return(0,T.n4)(e.current[0],n)||(e.current=[n,o()]),e.current[1]}})(),[Y,U]=B.useState(null),Z=function(){const e=B.useRef(!1),t=B.useRef(null),o=(0,T._q)(()=>{const e=document.createElement("canvas").getContext("2d");if(e){const t=window.devicePixelRatio||1,[o,l]=(e=>{let t=120,o=64;if(!a&&e.measureText)if(I.length){const n=I.map(({text:t,font:o})=>{e.font=bm(o);const n=e.measureText(t);return[n.width,n.fontBoundingBoxAscent+n.fontBoundingBoxDescent]});t=Math.ceil(Math.max.apply(Math,(0,$e.A)(n.map(e=>e[0])))),o=Math.ceil(n.reduce((e,t)=>e+t[1],0))+3*(I.length-1)}else t=0,o=0;return[r??t,i??o]})(e),s=e=>{const r=[e||[],n,t,o,l,N,M],[i,a]=Q(r,()=>V.apply(void 0,r));U([i,a])};if(a){const e=new Image;e.onload=()=>{s(e)},e.onerror=()=>{s(I)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=a}else s(I)}});return()=>{e.current||(e.current=!0,o(),t.current=(0,T.er)(()=>{e.current=!1}))}}(),[J,ee,te]=((e,t)=>{const o=B.useRef(new Map),n=(0,T._q)(t??xm);return[(r,i,a)=>{if(a){const l=o.current.get(a);if(!l){const e=document.createElement("div");o.current.set(a,e)}const s=o.current.get(a);s.setAttribute("style",function(e){return Object.keys(e).map(t=>`${function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}(t)}: ${e[t]};`).join(" ")}({...e,backgroundImage:`url('${r}')`,backgroundSize:`${Math.floor(i)}px`,...ym})),s.removeAttribute("class"),s.removeAttribute("hidden"),s.parentElement!==a&&(l&&t&&n(),a.append(s))}return o.current.get(a)},e=>{const t=o.current.get(e);t&&e&&e.removeChild(t),o.current.delete(e)},e=>Array.from(o.current.values()).includes(e)]})(W,f);(0,B.useEffect)(()=>{Y&&K.forEach(e=>{J(Y[0],Y[1],e)})},[Y,K]);const oe=(0,T._q)(e=>{e.forEach(e=>{if(((e,t)=>{let o=!1;return e.removedNodes.length&&(o=Array.from(e.removedNodes).some(t)),"attributes"===e.type&&t(e.target)&&(o=!0),o})(e,te))Z();else if(e.target===O&&"style"===e.attributeName){const e=Object.keys(wm);for(let t=0;t<e.length;t+=1){const o=e[t],n=v[o],r=O.style[o];n&&n!==r&&(O.style[o]=n)}}})});(0,hm.Q)(K,oe),(0,B.useEffect)(Z,[n,y,r,i,a,I,N,M,D,L]);const re=B.useMemo(()=>({add:e=>{G(t=>{const o=new Set(t);return o.add(e),Cm(t,o)})},remove:e=>{ee(e),G(t=>{const o=new Set(t);return o.delete(e),Cm(t,o)})}}),[]),ie=h?B.createElement(fm.A.Provider,{value:re},g):g;return B.createElement("div",{ref:q,className:(0,P.$)(d,$,m),style:v},ie)}),Am=Em,zm=()=>{}},70663:(e,t,o)=>{o.d(t,{A:()=>D});var n=o(14041),r=o(56664),i=o(44328),a=o(56222),l=o(13666),s=o(89049),c=o(24838),d=o(1696),m=o(35753),u=o(35018),p=o(43307),g=o(40569),h=o(9642),f=o(19106),$=o(50509),b=o(17392),v=o(6
15754),x=o(64719),y=o(83284),C=o(5537),S=o(86285),k=o(83111),w=o(91674),E=o(38069),A=o(48408),z=o(1741),I=o(32257),B=o(18764),N=o(81316);const M=e=>{const{componentCls:t,lineWidth:o,lineType:n,borderRadius:r,inputFontSizeSM:i,inputFontSizeLG:a,colorError:l,paddingInlineSM:s,paddingBlockSM:c,paddingBlockLG:d,paddingInlineLG:m,colorIcon:u,colorTextDisabled:p,motionDurationMid:g,handleHoverColor:h,handleOpacity:f,paddingInline:$,paddingBlock:b,handleBg:v,handleActiveBg:x,inputAffixPadding:y,borderRadiusSM:C,controlWidth:w,handleBorderColor:z,filledHandleBg:B,lineHeightLG:N,antCls:M}=e,T=`${(0,S.zA)(o)} ${n} ${z}`,[P,R]=(0,I.PN)(M,"input-number");return[{[t]:{...(0,A.dF)(e),...(0,k.wj)(e),[P("input-padding-block")]:(0,S.zA)(b),[P("input-padding-inline")]:(0,S.zA)($),display:"inline-flex",width:w,margin:0,paddingBlock:0,borderRadius:r,...(0,E.Eb)(e,{[`${t}-actions`]:{background:v,[`${t}-action-down`]:{borderBlockStart:T}}}),...(0,E.sA)(e,{[`${t}-actions`]:{background:B,[`${t}-action-down`]:{borderBlockStart:T}},"&:focus-within":{[`${t}-actions`]:{background:v}}}),...(0,E.aP)(e,{[`${t}-actions`]:{background:v,[`${t}-action-down`]:{borderBlockStart:T}}}),...(0,E.lB)(e),[`&${t}-borderless`]:{paddingBlock:0,[P("input-padding-block")]:(0,S.zA)(e.calc(b).add(o).equal())},[`&${t}-borderless${t}-sm`]:{paddingBlock:0,[P("input-padding-block")]:(0,S.zA)(e.calc(c).add(o).equal())},[`&${t}-borderless${t}-lg`]:{paddingBlock:0,[P("input-padding-block")]:(0,S.zA)(e.calc(d).add(o).equal())},"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},[`&${t}-out-of-range`]:{[`${t}-input`]:{color:l}},[`${t}-input`]:{...(0,A.dF)(e),width:"100%",paddingBlock:R("input-padding-block"),textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:0,outline:0,transition:`all ${g} linear`,appearance:"textfield",fontSize:"inherit",lineHeight:"inherit",...(0,k.j_)(e.colorTextPlaceholder),'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&-disabled ${t}-input`]:{cursor:"not-allowed",color:e.colorTextDisabled}}},{[t]:{[`${t}-action`]:{...(0,A.Nk)(),userSelect:"none",overflow:"hidden",fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",transition:`all ${g} linear`,[`&:active:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{background:x},[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{color:h},[`&${t}-action-up-disabled, &${t}-action-down-disabled`]:{cursor:"not-allowed",color:p}},"&-mode-input":{overflow:"hidden",[`${t}-actions`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:f,height:"100%",borderRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${g}`,overflow:"hidden",[`${t}-action`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",marginInlineEnd:0,fontSize:e.handleFontSize}},[`&:hover ${t}-actions, &-focused ${t}-actions`]:{width:e.handleWidth,opacity:1},[`${t}-action`]:{color:u,height:"50%",borderInlineStart:T,[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{height:"60%"}},[`&${t}-disabled, &${t}-readonly`]:{[`${t}-actions`]:{display:"none"}}},[`&${t}-mode-spinner`]:{padding:0,width:"auto",[`${t}-action`]:{flex:"none",paddingInline:R("input-padding-inline"),"&-up":{borderInlineStart:T},"&-down":{borderInlineEnd:T}},[`${t}-input`]:{textAlign:"center",paddingInline:R("input-padding-inline")}}}},{[t]:{"&-lg":{[P("input-padding-block")]:(0,S.zA)(d),[P("input-padding-inline")]:(0,S.zA)(m),paddingBlock:0,fontSize:a,lineHeight:N},"&-sm":{[P("input-padding-block")]:(0,S.zA)(c),[P("input-padding-inline")]:(0,S.zA)(s),paddingBlock:0,fontSize:i,borderRadius:C}}},{[t]:{[`${t}-prefix, ${t}-suffix`]:{display:"flex",flex:"none",alignItems:"center",alignSelf:"center",pointerEvents:"none"},[`${t}-prefix`]:{marginInlineEnd:y},[`${t}-suffix`]:{height:"100%",marginInlineStart:y,transition:`margin ${g}`},[`&:hover:not(${t}
1-without-controls)`]:{[`${t}-suffix`]:{marginInlineEnd:e.handleWidth}}}}]},T=e=>{const{componentCls:t,antCls:o}=e;return{[`${t}-addon`]:{[`&:has(${o}-select)`]:{border:0,padding:0}}}},P=(0,I.OF)("InputNumber",e=>{const t=(0,B.oX)(e,(0,w.C)(e));return[M(t),T(t),(0,z.G)(t)]},e=>{const t=e.handleVisible??"auto",o=e.controlHeightSM-2*e.lineWidth;return{...(0,w.b)(e),controlWidth:90,handleWidth:o,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new N.Y(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:!0===t?1:0,handleVisibleWidth:!0===t?o:0}},{unitless:{handleOpacity:!0},resetFont:!1}),R=n.forwardRef((e,t)=>{const o=n.useRef(null);n.useImperativeHandle(t,()=>o.current);const{rootClassName:d,size:g,disabled:$,prefixCls:y,addonBefore:S,addonAfter:k,prefix:w,suffix:E,bordered:A,readOnly:z,status:I,controls:B=!0,variant:N,className:M,style:T,classNames:P,styles:R,mode:H,...F}=e,{direction:D,className:L,style:W,styles:O,classNames:X}=(0,h.TP)("inputNumber"),_=n.useContext(f.A),q=$??_,j=n.useMemo(()=>!(!B||q||z)&&B,[B,q,z]),{compactSize:G,compactItemClassnames:K}=(0,C.RQ)(y,D);let V="spinner"===H?n.createElement(a.A,null):n.createElement(l.A,null),Q="spinner"===H?n.createElement(i.A,null):n.createElement(r.A,null);const Y="boolean"==typeof j?j:void 0;(0,u.Qd)(j)&&(V=j.upIcon||V,Q=j.downIcon||Q);const{hasFeedback:U,isFormItemInput:Z,feedbackIcon:J}=n.useContext(v.$W),ee=(0,b.A)(e=>g??G??e),[te,oe]=(0,x.A)("inputNumber",N,A),ne=(U||E)&&n.createElement(n.Fragment,null,E,U&&J),re={...e,size:ee,disabled:q,controls:j},ie=(0,m.XT)(W),ae=(0,m.XT)(T),[le,se]=(0,m.AV)([X,P],[O,ie,R,ae],{props:re});return n.createElement(s.A,{ref:o,mode:H,disabled:q,className:(0,c.$)(M,d,le.root,L,K,(0,p.L)(y,I,U),{[`${y}-${te}`]:oe,[`${y}-lg`]:"large"===ee,[`${y}-sm`]:"small"===ee,[`${y}-rtl`]:"rtl"===D,[`${y}-in-form-item`]:Z,[`${y}
1-without-controls`]:!j}),style:se.root,upHandler:V,downHandler:Q,prefixCls:y,readOnly:z,controls:Y,prefix:w,suffix:ne,classNames:le,styles:se,...F})}),H=n.forwardRef((e,t)=>{const{addonBefore:o,addonAfter:r,prefixCls:i,className:a,status:l,rootClassName:s,...m}=e,{getPrefixCls:u}=(0,h.TP)("inputNumber"),g=u("input-number",i),{status:f}=n.useContext(v.$W),b=(0,p.v)(f,l),x=(0,$.A)(g),[S,k]=P(g,x),w=o||r,E=n.createElement(R,{ref:t,...m,prefixCls:g,status:b,className:(0,c.$)(k,x,S,a),rootClassName:w?void 0:s});if(w){const t=t=>t?n.createElement(y.A,{className:(0,c.$)(`${g}-addon`,k,S),variant:e.variant,disabled:e.disabled,status:b},n.createElement(d.A,{form:!0},t)):null,i=t(o),a=t(r);return n.createElement(C.Ay,{rootClassName:s},i,E,a)}return E}),F=H;F._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(g.Ay,{theme:{components:{InputNumber:{handleVisible:!0}}}},n.createElement(H,{...e}));const D=F},36822:(e,t,o)=>{o.d(t,{A:()=>x});var n=o(14041),r=o(50078),i=o(35342),a=o(24838),l=o(1696),s=o(45346),c=o(35753),d=o(43307),m=o(9642),u=o(19106),p=o(50509),g=o(17392),h=o(65754),f=o(64719),$=o(5537),b=
1o(44353),v=o(83111);const x=(0,n.forwardRef)((e,t)=>{const{prefixCls:o,bordered:x=!0,status:y,size:C,disabled:S,onBlur:k,onFocus:w,suffix:E,allowClear:A,addonAfter:z,addonBefore:I,className:B,style:N,styles:M,rootClassName:T,onChange:P,classNames:R,variant:H,...F}=e,{getPrefixCls:D,direction:L,allowClear:W,autoComplete:O,className:X,style:_,classNames:q,styles:j}=(0,m.TP)("input"),G=D("input",o),K=(0,n.useRef)(null),V=(0,p.A)(G),[Q,Y]=(0,v.MG)(G,T);(0,v.Ay)(G,V);const{compactSize:U,compactItemClassnames:Z}=(0,$.RQ)(G,L),J=(0,g.A)(e=>C??U??e),ee=n.useContext(u.A),te=S??ee,oe={...e,size:J,disabled:te},ne=(0,c.XT)(_),re=(0,c.XT)(N),[ie,ae]=(0,c.AV)([q,R],[j,ne,M,re],{props:oe}),{status:le,hasFeedback:se,feedbackIcon:ce}=(0,n.useContext)(h.$W),de=(0,d.v)(le,y),me=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!se;(0,n.useRef)(me);const ue=(0,b.A)(K,!0),pe=(se||E)&&n.createElement(n.Fragment,null,E,se&&ce),ge=(0,s.O)({allowClear:A,contextAllowClear:W,componentName:"Input"}),[he,fe]=(0,f.A)("input",H,x);return n.createElement(r.Ay,{ref:(0,i.K4)(t,K),prefixCls:G,autoComplete:O,...F,disabled:te,onBlur:e=>{ue(),k?.(e)},onFocus:e=>{ue(),w?.(e)},style:ae.root,styles:ae,suffix:pe,allowClear:ge,className:(0,a.$)(B,T,Y,V,Z,X,ie.root),onChange:e=>{ue(),P?.(e)},addonBefore:I&&n.createElement(l.A,{form:!0,space:!0},I),addonAfter:z&&n.createElement(l.A,{form:!0,space:!0},z),classNames:{...ie,input:(0,a.$)({[`${G}-sm`]:"small"===J,[`${G}-lg`]:"large"===J,[`${G}-rtl`]:"rtl"===L},ie.input,Q),variant:(0,a.$)({[`${G}-${he}`]:fe},(0,d.L)(G,de)),affixWrapper:(0,a.$)({[`${G}-affix-wrapper-sm`]:"small"===J,[`${G}-affix-wrapper-lg`]:"large"===J,[`${G}-affix-wrapper-rtl`]:"rtl"===L},Q),wrapper:(0,a.$)({[`${G}-group-rtl`]:"rtl"===L},Q),groupWrapper:(0,a.$)({[`${G}-group-wrapper-sm`]:"small"===J,[`${G}-group-wrapper-lg`]:"large"===J,[`${G}-group-wrapper-rtl`]:"rtl"===L,[`${G}-group-wrapper-${he}`]:fe},(0,d.L)(`${G}-group-wrapper`,de,se),Q)}})})},44353:(e,t,o)=>{o.d(t,{A:()=>r});var n=o(14041);function r(e,t){const o=(0,n.useRef)([]),r=()=>{o.current.push(setTimeout(()=>{e.current?.input&&"password"===e.current?.input.getAttribute("type")&&e.current?.input.hasAttribute("value")&&e.current?.input.removeAttribute("value")}))};return(0,n.useEffect)(()=>(t&&r(),()=>o.current.forEach(e=>{e&&clearTimeout(e)})),[t]),r}},83111:(e,t,o)=>{var n=o(86285),r=o(48408),i=o(1741),a=o(18764),l=o(32257),s=o(91674),c=o(38069);const d=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),m=e=>{const{paddingBlockLG:t,lineHeightLG:o,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${(0,n.zA)(t)} ${(0,n.zA)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:o,borderRadius:r}},u=e=>({padding:`${(0,n.zA)(e.paddingBlockSM)} ${(0,n.zA)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),p=(e,t={})=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.zA)(e.paddingBlock)} ${(0,n.zA)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...d(e.colorTextPlaceholder),"&-lg":{...m(e),...t.largeStyle},"&-sm":{...u(e),...t.smallStyle},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),g=e=>{const{componentCls:t,antCls:o}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...m(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{...u(e)},[`&-lg ${o}-select-single`]:{height:e.controlHeightLG},[`&-sm ${o}-select-single`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.zA)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${o}-select`]:{margin:`${(0,n.zA)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.zA)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${o}-select-single:not(${o}-select-customize-input):not(${o}-pagination-size-changer)`]:{backgroundColor:"inherit",border:`${(0,n.zA)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},[`${o}-cascader-picker`]:{margin:`-9px ${(0,n.zA)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${o}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${o}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:"block",...(0,r.t6)(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${o}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${o}-select,\n & > ${o}-select-auto-complete ${t},\n & > ${o}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${o}-select-focused`]:{zIndex:1},[`& > ${o}-select > ${o}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${o}-select:first-child,\n & > ${o}-select-auto-complete:first-child ${t},\n & > ${o}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${o}-select:last-child,\n & > ${o}-cascader-picker:last-child ${t},\n & > ${o}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${o}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{}}}}}
1,h=e=>{const{componentCls:t,controlHeightSM:o,lineWidth:n,calc:i}=e,a=i(o).sub(i(n).mul(2)).sub(16).div(2).equal();return{[t]:{...(0,r.dF)(e),...p(e),...(0,c.Eb)(e),...(0,c.sA)(e),...(0,c.lB)(e),...(0,c.aP)(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:o,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}}}},f=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:focus-visible":{color:e.colorIcon,borderRadius:e.borderRadiusSM,...(0,r.jk)(e)},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,n.zA)(e.inputAffixPadding)}`}}}},$=e=>{const{componentCls:t,inputAffixPadding:o,colorTextDescription:n,motionDurationSlow:r,colorIcon:i,colorIconHover:a}=e,l=`${t}-affix-wrapper`,s=`${t}-affix-wrapper-disabled`;return{[l]:{...p(e),display:"inline-flex","&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o},"&-password-icon":{display:"inline-flex",color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:a}}},...f(e)},[`${t}-underlined`]:{borderRadius:0},[s]:{[`${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},b=e=>{const{componentCls:t,borderRadiusLG:o,borderRadiusSM:n}=e;return{[`${t}-group`]:{...(0,r.dF)(e),...g(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}},...(0,c.nm)(e),...(0,c.Vy)(e),[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}}},v=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},x=(0,l.OF)(["Input","Shared"],e=>{const t=(0,a.oX)(e,(0,s.C)(e));return[h(t),$(t)]},s.b,{resetFont:!1}),y=(0,l.OF)(["Input","Component"],e=>{const t=(0,a.oX)(e,(0,s.C)(e));return[b(t),v(t),(0,i.G)(t,{focus:!0,focusElCls:`${t.componentCls}-affix-wrapper-focused`})]},s.b,{resetFont:!1});o.d(t,["Ay",0,y,"BZ",0,u,"MG",0,x,"j_",0,d,"wj",0,p,"xp",0,m])},91674:(e,t,o)=>{o.d(t,{C:()=>r});var n=o(18764);function r(e){return(0,n.oX)(e,{inputAffixPadding:e.paddingXXS})}o.d(t,["b",0,e=>{const{controlHeight:t,fontSize:o,lineHeight:n,lineWidth:r,lineWidthFocus:i,controlHeightSM:a,controlHeightLG:l,fontSizeLG:s,lineHeightLG:c,paddingSM:d,controlPaddingHorizontalSM:m,controlPaddingHorizontal:u,colorFillAlter:p,colorPrimaryHover:g,colorPrimary:h,controlOutlineWidth:f,controlOutline:$,colorErrorOutline:b,colorWarningOutline:v,colorBg
1Container:x,inputFontSize:y,inputFontSizeLG:C,inputFontSizeSM:S}=e,k=y||o,w=S||k,E=C||s,A=Math.round((t-k*n)/2*10)/10-r,z=Math.round((a-w*n)/2*10)/10-r,I=Math.ceil((l-E*c)/2*10)/10-r;return{lineWidthFocus:0===i?0:r,paddingBlock:Math.max(A,0),paddingBlockSM:Math.max(z,0),paddingBlockLG:Math.max(I,0),paddingInline:d-r,paddingInlineSM:m-r,paddingInlineLG:u-r,addonBg:p,activeBorderColor:h,hoverBorderColor:g,activeShadow:`0 0 0 ${f}px ${$}`,errorActiveShadow:`0 0 0 ${f}px ${b}`,warningActiveShadow:`0 0 0 ${f}px ${v}`,hoverBg:x,activeBg:x,inputFontSize:k,inputFontSizeLG:E,inputFontSizeSM:w}}])},38069:(e,t,o)=>{var n=o(86285),r=o(18764);const i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorderDisabled,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...i((0,r.oX)(e,{hoverBorderColor:e.colorBorderDisabled,hoverBg:e.colorBgContainerDisabled}))}}),l=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),s=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...l(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),c=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),d="&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)",m=(e,t)=>({outline:`${(0,n.zA)(e.lineWidthFocus)} ${e.lineType} ${t}`,outlineOffset:(0,n.zA)(e.calc(e.lineWidth).mul(-1).equal()),transition:["outline-offset","outline"].map(e=>`${e} 0s`).join(", ")}),u=(e,t)=>({"&, & input, & textarea":{color:t.color},[d]:m(e,t.color),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),p=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t?.inputColor??"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),g=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...p(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),h=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),f=(e,t)=>({background:e.colorBgContainer,borderWidth:`${(0,n.zA)(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),$=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...f(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}});o.d(t,["Eb",0,(e,t)=>({"&-outlined":{...l(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...a(e)},...s(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorErrorAffix}),...s(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarningAff
1ix}),...t}}),"Vy",0,e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:"static"}},...h(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...h(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),"aP",0,(e,t)=>({"&-underlined":{...f(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"},...$(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorErrorAffix}),...$(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarningAffix}),...t}}),"eT",0,a,"lB",0,(e,t)=>{const{componentCls:o}=e;return{"&-borderless":{background:"transparent",border:"none",paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${o}-sm, &${o}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${o}-lg, &${o}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:"none"},[d]:m(e,e.activeBorderColor),[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${o}-status-error`]:u(e,{color:e.colorError,affixColor:e.colorErrorAffix}),[`&${o}-status-warning`]:u(e,{color:e.colorWarning,affixColor:e.colorWarningAffix}),...t}}},"nI",0,l,"nm",0,e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...c(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...c(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...a(e)}}}}),"sA",0,(e,t)=>({"&-filled":{...p(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...a(e)},...g(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorErrorAffix}),...g(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarningAffix}),...t}})])},42348:(e,t,o)=>{o.d(t,{P:()=>$,A:()=>x});var n=o(14041),r=o(72109),i=o(23246),a=o(72245),l=o(35342),s=o(24838),c=o(35753),d=o(35018),m=o(9642),u=o(10882),p=o(86285),g=o(38879);const h=(0,o(32257).OF)(["Layout","Sider"],e=>{const{componentCls:t,siderBg:o,motionDurationMid:n,motionDurationSlow:r,antCls:i,triggerHeight:a,triggerColor:l,triggerBg:s,headerHeight:c,zeroTriggerWidth:d,zeroTriggerHeight:m,borderRadiusLG:u,lightSiderBg:g,lightTriggerColor:h,lightTriggerBg:f,bodyBg:$}=e;return{[t]:{position:"relative",minWidth:0,background:o,transition:`all ${n}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${i}-menu${i}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${t}-children`]:{overflow:"hidden"},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:l,lineHeight:(0,p.zA)(a),textAlign:"center",background:s,cursor:"pointer",transition:`all ${n}`},[`${t}-zero-width-trigger`]:{position:"absolute",top:c,insetInlineEnd:e.calc(d).mul(-1).equal(),zIndex:1,width:d,height:m,color:l,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:o,borderRadius:`0 ${(0,p.zA)(u)} ${(0,p.zA)(u)} 0`,cursor:"pointer",transition:`background-color ${r} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${r}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(d).mul(-1).equal(),borderRadius:`${(0,p.zA)(u)} 0 0 ${(0,p.zA)(u)}`}},"&-light":{background:g,[`${t}-trigger`]:{color:h,background:f},[`${t}-zero-width-trigger`]:{color:h,background:f,border:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${$}`,borderInlineStart:0}}}}},g.cH,{deprecatedTokens:g.lB}),f={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px",xxxl:"1839.98px"},$=n.createContext({}),b=(()=>{let e=0;return(t="")=>(e+=1,`${t}${e}`)})(),v=n.forwardRef((e,t)=>
1{const{prefixCls:o,className:p,trigger:g,children:v,defaultCollapsed:x=!1,theme:y="dark",style:C={},collapsible:S=!1,reverseArrow:k=!1,width:w=200,collapsedWidth:E=80,zeroWidthTriggerStyle:A,breakpoint:z,onCollapse:I,onBreakpoint:B,classNames:N,styles:M,...T}=e,{siderHook:P}=(0,n.useContext)(u.M),[R,H]=(0,l.PW)(x,e.collapsed),[F,D]=(0,n.useState)(!1),L=(e,t)=>{H(e),I?.(e,t)},W={...e,collapsed:R,defaultCollapsed:x,theme:y,style:C,collapsible:S,reverseArrow:k,width:w,collapsedWidth:E,zeroWidthTriggerStyle:A,breakpoint:z,onCollapse:I,onBreakpoint:B},[O,X]=(0,c.AV)([N],[M],{props:W}),{getPrefixCls:_,direction:q}=(0,n.useContext)(m.QO),j=_("layout-sider",o),[G,K]=h(j),V=(0,n.useRef)(null);V.current=e=>{D(e.matches),B?.(e.matches),R!==e.matches&&L(e.matches,"responsive")},(0,n.useEffect)(()=>{function e(e){return V.current?.(e)}let t;return void 0!==window?.matchMedia&&z&&z in f&&(t=window.matchMedia(`screen and (max-width: ${f[z]})`),(0,d.Tn)(t?.addEventListener)&&t.addEventListener("change",e),e(t)),()=>{(0,d.Tn)(t?.removeEventListener)&&t.removeEventListener("change",e)}},[z]),(0,n.useEffect)(()=>{const e=b("ant-sider-");return P.addSider(e),()=>P.removeSider(e)},[]);const Q=()=>{L(!R,"clickTrigger")},Y=(0,l.cJ)(T,["collapsed"]),U=R?E:w,Z=(J=U,!Number.isNaN(Number.parseFloat(J))&&Number.isFinite(Number(J))?`${U}px`:String(U));var J;const ee=0===Number.parseFloat(String(E||0))?n.createElement("span",{onClick:Q,className:(0,s.$)(`${j}-zero-width-trigger`,`${j}-zero-width-trigger-${k?"right":"left"}`),style:A},g||n.createElement(r.A,null)):null,te="rtl"===q==!k,oe={expanded:te?n.createElement(a.A,null):n.createElement(i.A,null),collapsed:te?n.createElement(i.A,null):n.createElement(a.A,null)}[R?"collapsed":"expanded"],ne=null!==g?ee||n.createElement("div",{className:`${j}-trigger`,onClick:Q,style:{width:Z}},g||oe):null,re={...C,flex:`0 0 ${Z}`,maxWidth:Z,minWidth:Z,width:Z},ie=(0,s.$)(j,`${j}-${y}`,{[`${j}-collapsed`]:!!R,[`${j}-has-trigger`]:S&&null!==g&&!ee,[`${j}-below`]:!!F,[`${j}-zero-width`]:0===Number.parseFloat(Z)},p,O.root,G,K),ae=n.useMemo(()=>({siderCollapsed:R}),[R]);return n.createElement($.Provider,{value:ae},n.createElement("aside",{className:ie,...Y,style:{...X.root,...re},ref:t},n.createElement("div",{className:(0,s.$)(`${j}-children`,O.body),style:X.body},v),S||F&&ee?ne:null))}),x=v},10882:(e,t,o)=>{const n=o(14041).createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});o.d(t,["M",0,n])},38879:(e,t,o)=>{var n=o(86285);const r=e=>
1{const{colorBgLayout:t,controlHeight:o,controlHeightLG:n,colorText:r,controlHeightSM:i,marginXXS:a,colorTextLightSolid:l,colorBgContainer:s}=e,c=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*o,headerPadding:`0 ${c}px`,headerColor:r,footerPadding:`${i}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*a,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:s,lightTriggerBg:s,lightTriggerColor:r}},i=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],a=(0,o(32257).OF)("Layout",e=>{const{antCls:t,componentCls:o,colorText:r,footerBg:i,headerHeight:a,headerPadding:l,headerColor:s,footerPadding:c,fontSize:d,bodyBg:m,headerBg:u}=e;return{[o]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:m,"&, *":{boxSizing:"border-box"},[`&${o}-has-sider`]:{flexDirection:"row",[`> ${o}, > ${o}-content`]:{width:0}},[`${o}-header, &${o}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${o}-header`]:{height:a,padding:l,color:s,lineHeight:(0,n.zA)(a),background:u,[`${t}-menu`]:{lineHeight:"inherit"}},[`${o}-footer`]:{padding:c,color:r,fontSize:d,background:i},[`${o}-content`]:{flex:"auto",color:r,minHeight:0}}},r,{deprecatedTokens:i});o.d(t,["Ay",0,a,"cH",0,r,"lB",0,i])},83958:(e,t,o)=>{const n=(0,o(14041).createContext)(void 0);o.d(t,["A",0,n])},25917:(e,t,o)=>{var n=o(62876),r=o(32524),i=o(21223),a=o(97838);const l="${label} is not a valid ${type}",s={locale:"en",Pagination:n.A,DatePicker:i.A,TimePicker:a.A,Calendar:r.A,global:{placeholder:"Please select",close:"Close",sortable:"sortable",show:"Show",hide:"Hide"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Carousel:{prevSlide:"Previous slide",nextSlide:"Next slide"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}
1,ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};o.d(t,["A",0,s])},66137:(e,t,o)=>{var n=o(14041),r=o(68780),i=o(83958);o.d(t,["Ay",0,e=>{const{locale:t={},children:o,_ANT_MARK__:a}=e;n.useEffect(()=>(0,r.L)(t?.Modal),[t]);const l=n.useMemo(()=>({...t,exist:!0}),[t]);return n.createElement(i.A.Provider,{value:l},o)},"M2",0,"internalMark"])},52468:(e,t,o)=>{var n=o(14041),r=o(35018),i=o(83958),a=o(25917);o.d(t,["A",0,(e,t)=>{const o=n.useContext(i.A);return[n.useMemo(()=>{const n=t||a.A[e],i=o?.[e]??{};return{...(0,r.Tn)(n)?n():n,...i||{}}},[e,t,o]),n.useMemo(()=>{const e=o?.locale;return o?.exist&&!e?a.A.locale:e},[o])]}])},82715:(e,t,o)=>{var n=o(14041),r=o(35342),i=o(1696);const a=n.createContext(null),l=n.forwardRef((e,t)=>{const{children:o,...l}=e,s=n.useContext(a),c=n.useMemo(()=>({...s,...l}),[s,l.prefixCls,l.mode,l.selectable,l.rootClassName]),d=(0,r.H3)(o),m=(0,r.xK)(t,d?(0,r.A9)(o):null);return n.createElement(a.Provider,{value:c},n.createElement(i.A,{space:!0},d?n.cloneElement(o,{ref:m}):o))}),s=a;o.d(t,["A",0,l,"h",0,s])},57667:(e,t,o)=>{o.d(t,{A:()=>G});var n=o(14041),r=o(37848),i=o(42348),a=o(83049),l=o(35342),s=o(24838),c=o(35753),d=o(35018),m=o(85528),u=o(27291),p=o(9642),g=o(50509);const h=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1,styles:null,classNames:null}),f=e=>{const{prefixCls:t,className:o,dashed:i,...a}=e,{getPrefixCls:l}=n.useContext(p.QO),c=l("menu",t),d=(0,s.$)({[`${c}-item-divider-dashed`]:!!i},o);return n.createElement(r.cG,{className:d,...a})};var $=o(38010);const b=e=>{const{className:t,children:o,icon:a,title:c,danger:m,extra:p}=e,{prefixCls:g,firstLevel:f,direction:b,disableMenuItemTitleTooltip:v,tooltip:x,inlineCollapsed:y,styles:C,classNames:S}=n.useContext(h),{siderCollapsed:k}=n.useContext(i.P),w=!(!k&&!y),[E,A]=n.useState(!1);n.useEffect(()=>{A(!1)},[w]);let z=c;void 0===c?z=f?o:"":!1===c&&(z="");const I=!1===x?void 0:x,B=I&&void 0!==I.title?I.title:z,N={...I??null,title:B};w?(N.open=I?.open??E,N.onOpenChange=e=>{A(e),I?.onOpenChange?.(e)}):(N.title=null,N.open=!1);const M=(0,l.$r)(o).length;let T=n.createElement(r.q7,{...(0,l.cJ)(e,["title","icon","danger"]),className:(0,s.$)(f?S?.item:S?.subMenu?.item,{[`${g}-item-danger`]:m,[`${g}-item-only-child`]:1===(a?M+1:M)},t),style:{...f?C?.item:C?.subMenu?.item,...e.style},title:"string"==typeof c?c:void 0,itemData:e?.itemData??{...e,key:e.eventKey}},(0,u.Ob)(a,e=>({className:(0,s.$)(`${g}-item-icon`,f?S?.itemIcon:S?.subMenu?.itemIcon,e.className),style:{...f?C?.itemIcon:C?.subMenu?.itemIcon,...e.style}})),(e=>{const t=o?.[0],r=n.createElement("span",{className:(0,s.$)(`${g}-title-content`,f?S?.itemContent:S?.subMenu?.itemContent,{[`${g}-title-content-with-extra`]:!!p||0===p}),style:f?C?.itemContent:C?.subMenu?.itemContent},o);return(!a||n.isValidElement(o)&&"span"===o.type)&&o&&e&&f&&"string"==typeof t?n.createElement("div",{className:`${g}-inline-collapsed-noicon`},t.charAt(0)):r})(y));if(!v&&!1!==x){const e=I&&I.placement?I.placement:"rtl"===b?"left":"right",t=`${g}-inline-collapsed-tooltip`,o=e=>({...e,root:(0,s.$)(t,e?.root)}),r=(0,d.Tn)(I?.classNames)?e=>{const t=I.classNames(e);return o(t)}:o(I?.classNames);T=n.createElement($.A,{...N,placement:e,classNames:r},T)}return T};var v=o(82715),x=o(86285),y=o(81316),C=o(48408),S=o(99820),k=o(93230),w=o(71584),E=o(32257),A=o(18764);const z=e=>{const{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:r,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,x.zA)(i)} ${a} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:["border-color","background-color"].map(e=>`${e} ${o}`).join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},I=({componentCls:e,menuArrowOffset:t,calc:o})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,\n ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,x.zA)(o(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,x.zA)(t)})`}}}}),B=e=>(0,C.jk)(e),N=(e,t)=>{const{componentCls:o,itemColor:n,itemSelectedColor:r,subMenuItemSelectedColor:i,groupTitleColor:a,itemBg:l,subMenuItemBg:s,itemSelectedBg:c,activeBarHeight:d,activeBarWidth:m,activeBarBorderWidth:u,motionDurationSlow:p,motionEaseInOut:g,motionEaseOut:h,itemPaddingInline:f,motionDurationMid:$,itemHoverColor:b,lineType:v,colorSplit:y,itemDisabledColor:C,dangerItemColor:S,dangerItemHoverColor:k,dangerItemSelectedColor:w,dangerItemActiveBg:E,dangerItemSelectedBg:A,popupBg:z,itemHoverBg:I,itemActiveBg:N,menuSubMenuBg:M,horizontalItemSelectedColor:T,horizontalItemSelectedBg:P,horizontalItemBorderRadius:R,horizontalItemHoverBg:H}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:n,background:l,[`&${o}-root:focus-visible`]:{...B(e)},[`${o}-item`]:{"&-group-title, &-extra":{color:a}},[`${o}-submenu-selected > ${o}-submenu-title`]:{color:i},[`${o}-item, ${o}-submenu-title`]:{color:n,[`&:not(${o}-item-disabled):focus-visible`]:{...B(e)}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${C} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:b}},[`${o}-submenu:not(${o}-submenu-selected)`]:{[`> ${o}-submenu-title:hover`]:{color:b}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:N}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:N}}},[`${o}-item-danger`]:{color:S,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:k}},[`&${o}-item:active`]:{background:E}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:r,[`&${o}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:c,[`&${o}-item-danger`]:{backgroundColor:A}},[`&${o}-submenu > ${o}`]:{backgroundColor:M},[`&${o}-popup > ${o}`]:{backgroundColor:z},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:z},[`&${o}-horizontal`]:{..."dark"===t?{borderBottom:0}:{},[`> ${o}-item, > ${o}-submenu`]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:R,"&::after":{position:"absolute",insetInline:f,bottom:0,pointerEvents:"none",borderBottom:`${(0,x.zA)(d)} solid transparent`,transition:`border-color ${p} ${g}`,content:'""'},"&:hover, &-active, &-open":{background:H,"&::after":{borderBottomWidth:d,borderBottomColor:T}},"&-selected":{color:T,backgroundColor:P,"&:hover":{backgroundColor:P},"&::after":{borderBottomWidth:d,borderBottomColor:T}}}},[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,x.zA)(u)} ${v} ${y}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:s},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,x.zA)(m)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:["transform","opacity"].map(e=>`${e} ${$} ${h}`).join(","),content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform","opacity"].map(e=>`${e} ${$} ${g}`).join(",")}}}}}},M=e=>{const{componentCls:t,itemHeight:o,itemMarginInline:n,padding:r,menuArrowSize:i,marginXS:a,itemMarginBlock:l,itemWidth:s,itemPaddingInline:c}=e,d=e.calc(i).add(r).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,x.zA)(o),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:l,width:s},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:(0,x.zA)(o)},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:d}}},T=e=>
1{const{componentCls:t,iconCls:o,itemHeight:n,colorTextLightSolid:r,dropdownWidth:i,controlHeightLG:a,padding:l,paddingXL:s,itemMarginInline:c,fontSizeLG:d,motionDurationSlow:m,paddingXS:u,boxShadowSecondary:p,collapsedWidth:g,collapsedIconSize:h}=e,f={height:n,lineHeight:(0,x.zA)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":{[`&${t}-root`]:{boxShadow:"none"},...M(e)}},[`${t}-submenu-popup`]:{[`${t}-vertical`]:{...M(e),boxShadow:p}}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${(0,x.zA)(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${m}`,`background-color ${m}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:f,[`& ${t}-item-group-title`]:{paddingInlineStart:s}},[`${t}-item`]:f}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{transition:["border-color","background-color"].map(e=>`${e} ${m}`).join(","),[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center",width:"100%"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{display:"flex",alignItems:"center",justifyContent:"flex-start",insetInlineStart:0,paddingInline:`calc(50% - ${(0,x.zA)(e.calc(h).div(2).equal())} - ${(0,x.zA)(c)})`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`> ${t}-title-content`]:{width:0,opacity:0,overflow:"hidden"},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:h,lineHeight:(0,x.zA)(n),"+ span":{display:"inline-block",width:0,opacity:0,overflow:"hidden",marginInlineStart:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},[`${t}-item-extra`]:{paddingInlineStart:l},"a, a:hover":{color:r}},[`${t}-item-group-title`]:{...C.L9,paddingInline:u}}}]},P=e=>{const{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:r,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${o}`,`background-color ${o}`,`padding calc(${o} + 0.1s) ${r}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:[`font-size ${n} ${i}`,`margin ${o} ${r}`,`color ${o}`].join(","),"+ span":{marginInlineStart:s,opacity:1,transition:[`opacity ${o} ${r}`,`margin ${o}`,`color ${o}`].join(",")}},[`${t}-item-icon`]:{...(0,C.Nk)()},[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},R=e=>{const{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:r,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:["transform","opacity"].map(e=>`${e} ${o}`).join(",")},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:["background-color","transform","top","color"].map(e=>`${e} ${o} ${n}`).join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,x.zA)(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,x.zA)(a)})`}}}}},H=e=>
1{const{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:s,colorSplit:c,lineWidth:d,zIndexPopup:m,borderRadiusLG:u,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:h,lineType:f,groupTitleLineHeight:$,groupTitleFontSize:b,iconSize:v,iconMarginInlineEnd:y}=e,S=[`> ${t}-typography-ellipsis-single-line`,`> ${o}-item-label > ${t}-typography-ellipsis-single-line`].join(",");return[{"":{[o]:{...(0,C.t6)(),"&-hidden":{display:"none"}}},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:{...(0,C.dF)(e),...(0,C.t6)(),marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,x.zA)(l)} ${(0,x.zA)(s)}`,fontSize:b,lineHeight:$,transition:`all ${r}`},[`&-horizontal ${o}-submenu`]:{transition:["border-color","background-color"].map(e=>`${e} ${r} ${a}`).join(",")},[`${o}-submenu, ${o}-submenu-inline`]:{transition:[`border-color ${r}`,`background-color ${r}`,`padding ${i}`].map(e=>`${e} ${a}`).join(",")},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:["background-color","padding"].map(e=>`${e} ${r} ${a}`).join(",")},[`${o}-title-content`]:{transition:`color ${r}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%",minWidth:0},[`${o}-item-label`]:{flex:"auto",minWidth:0,...C.L9},[S]:{display:"inline",verticalAlign:"unset"},[`${o}-item-extra`]:{flex:"none",marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${o}-item-icon + ${o}-title-content-with-extra`]:{width:`calc(100% - ${(0,x.zA)(e.calc(v).add(y??0).equal())})`},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:f,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}},...P(e),[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,x.zA)(e.calc(n).mul(2).equal())} ${(0,x.zA)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,borderRadius:u,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:{borderRadius:u,...P(e),...R(e),[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:p},[`${o}-submenu-title::after`]:{transition:`transform ${r} ${a}`}}},"&-placement-leftTop, &-placement-bottomRight":{transformOrigin:"100% 0"},"&-placement-leftBottom, &-placement-topRight":{transformOrigin:"100% 100%"},"&-placement-rightBottom, &-placement-topLeft":{transformOrigin:"0 100%"},"&-placement-bottomLeft, &-placement-rightTop":{transformOrigin:"0 0"},"&-placement-leftTop, &-placement-leftBottom":{paddingInlineEnd:e.paddingXS},"&-placement-rightTop, &-placement-rightBottom":{paddingInlineStart:e.paddingXS},"&-placement-topRight, &-placement-topLeft":{paddingBottom:e.paddingXS},"&-placement-bottomRight, &-placement-bottomLeft":{paddingTop:e.paddingXS}},...R(e),[`&-inline-collapsed ${o}-submenu-arrow,\n &-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,x.zA)(h)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,x.zA)(e.calc(h).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,x.zA)(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,x.zA)(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,x.zA)(h)})`}}}},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},F=e=>{const{colorPrimary:t,colorError:o,colorTextDisabled:n,colorErrorBg:r,colorText:i,colorTextDescription:a,colorBgContainer:l,colorFillAlter:s,colorFillContent:c,lineWidth:d,lineWidthBold:m,controlItemBgActive:u,colorBgTextHover:p,controlHeightLG:g,lineHeight:h,colorBgElevated:f,marginXXS:$,padding:b,fontSize:v,controlHeightSM:x,fontSizeLG:C,colorTextLightSolid:S,colorErrorHover:k}=e,w=e.activeBarWidth??0,E=e.activeBarBorderWidth??d,A=e.itemMarginInline??e.marginXXS,z=new y.Y(S).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:i,itemColor:i,colorItemTextHover:i,itemHoverColor:i,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:t,itemSelectedColor:t,subMenuItemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:l,itemBg:l,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:c,itemActiveBg:u,colorSubItemBg:s,subMenuItemBg:s,
1colorItemBgSelected:u,itemSelectedBg:u,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:w,colorActiveBarHeight:m,activeBarHeight:m,colorActiveBarBorderSize:d,activeBarBorderWidth:E,colorItemTextDisabled:n,itemDisabledColor:n,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:r,dangerItemActiveBg:r,colorDangerItemBgSelected:r,dangerItemSelectedBg:r,itemMarginInline:A,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:g,groupTitleLineHeight:h,collapsedWidth:2*g,popupBg:f,itemMarginBlock:$,itemPaddingInline:b,horizontalLineHeight:1.15*g+"px",iconSize:v,iconMarginInlineEnd:x-v,collapsedIconSize:C,groupTitleFontSize:v,darkItemDisabledColor:new y.Y(S).setA(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:S,darkItemSelectedBg:t,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:S,darkDangerItemHoverColor:k,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:o,itemWidth:w?`calc(100% + ${E}px)`:`calc(100% - ${2*A}px)`}},D=(e,t=e,o=!0)=>(0,E.OF)("Menu",e=>{const{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:r,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:l,darkItemSelectedColor:s,darkItemSelectedBg:c,darkDangerItemSelectedBg:d,darkItemHoverBg:m,darkGroupTitleColor:u,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:h,darkDangerItemSelectedColor:f,darkDangerItemActiveBg:$,popupBg:b,darkPopupBg:v}=e,x=e.calc(n).div(7).mul(5).equal(),y=(0,A.oX)(e,{menuArrowSize:x,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(x).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:b}),C=(0,A.oX)(y,{itemColor:r,itemHoverColor:p,groupTitleColor:u,itemSelectedColor:s,subMenuItemSelectedColor:s,itemBg:a,popupBg:v,subMenuItemBg:l,itemActiveBg:"transparent",itemSelectedBg:c,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:g,dangerItemColor:i,dangerItemHoverColor:h,dangerItemSelectedColor:f,dangerItemActiveBg:$,dangerItemSelectedBg:d,menuSubMenuBg:l,horizontalItemSelectedColor:s,horizontalItemSelectedBg:c});return[H(y),z(y),T(y),N(y,"light"),N(C,"dark"),I(y),(0,S.A)(y),(0,k._j)(y,"slide-up"),(0,k._j)(y,"slide-down"),(0,w.aB)(y,"zoom-big")]},F,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}})(e,t);o.dn(D);var L=o(7010);const W=e=>{const{popupClassName:t,icon:o,title:i,theme:a}=e,c=n.useContext(h),{prefixCls:d,inlineCollapsed:m,theme:p,classNames:g,styles:f}=c,$=(0,r.Wj)();let b;if(o){const e=n.isValidElement(i)&&"span"===i.type;b=n.createElement(n.Fragment,null,(0,u.Ob)(o,e=>({className:(0,s.$)(e.className,`${d}-item-icon`,g?.itemIcon),style:{...e.style,...f?.itemIcon}})),e?i:n.createElement("span",{className:`${d}-title-content`},i))}else b=m&&!$.length&&i&&"string"==typeof i?n.createElement("div",{className:`${d}-inline-collapsed-noicon`},i.charAt(0)):n.createElement("span",{className:`${d}-title-content`},i);const v=n.useMemo(()=>({...c,firstLevel:!1}),[c]),[x]=(0,L.YK)("Menu");return n.createElement(h.Provider,{value:v},n.createElement(r.g8,{...(0,l.cJ)(e,["icon"]),title:b,classNames:{list:g?.subMenu?.list,listTitle:g?.subMenu?.itemTitle},styles:{list:f?.subMenu?.list,listTitle:f?.subMenu?.itemTitle},popupClassName:(0,s.$)(d,t,g?.popup?.root,`${d}-${a||p}`),popupStyle:{zIndex:x,...e.popupStyle,...f?.popup?.root}}))};function O(e){return null===e||!1===e}const X={item:b,submenu:W,divider:f},_=(0,n.forwardRef)((e,t)=>{const o=n.useContext(v.h),i=o||{},{prefixCls:f,className:$,style:b,theme:x="light",expandIcon:y,_internalDisableMenuItemTitleTooltip:C,tooltip:S,inlineCollapsed:k,siderCollapsed:w,rootClassName:E,mode:A,selectable:z,onClick:I,overflowedIndicatorPopupClassName:B,classNames:N,styles:M,...T}=e,{menu:P}=n.useContext(p.QO),{getPrefixCls:R,getPopupContainer:H,direction:F,className:L,style:W,classNames:_,styles:q}=(0,p.TP)("menu"),j=R(),G=(0,l.cJ)(T,["collapsedWidth"]);i.validator?.({mode:A});const K=(0,l._q)((...e)=>{I?.(...e),i.onClick?.()}),V=i.mode||A,Q=z??i.selectable,Y=k??w,U={...e,mode:V,inlineCollapsed:Y,selectable:Q,theme:x},Z=(0,c.XT)(W),J=(0,c.XT)(b),[ee,te]=(0,c.AV)([_,N],[q,Z,M,J],{props:U},{popup:{_default:"root"},subMenu:{_default:"item"}}),oe={horizontal:{motionName:`${j}-slide-up`},inline:(0,m.A)(j),other:{motionName:`${j}-zoom-big`}}
1,ne=R("menu",f||i.prefixCls),re=(0,g.A)(ne),[ie,ae]=D(ne,re,!o),le=(0,s.$)(`${ne}-${x}`,L,$),se=n.useMemo(()=>{if((0,d.Tn)(y)||O(y))return y||null;if((0,d.Tn)(i.expandIcon)||O(i.expandIcon))return i.expandIcon||null;if((0,d.Tn)(P?.expandIcon)||O(P?.expandIcon))return P?.expandIcon||null;const e=y??i?.expandIcon??P?.expandIcon;return(0,u.Ob)(e,{className:(0,s.$)(`${ne}-submenu-expand-icon`,n.isValidElement(e)?e.props?.className:void 0)})},[y,i?.expandIcon,P?.expandIcon,ne]),ce=n.useMemo(()=>({prefixCls:ne,inlineCollapsed:Y||!1,direction:F,firstLevel:!0,theme:x,mode:V,disableMenuItemTitleTooltip:C,tooltip:S,classNames:ee,styles:te}),[ne,Y,F,C,x,V,ee,te,S]);return n.createElement(v.h.Provider,{value:null},n.createElement(h.Provider,{value:ce},n.createElement(r.Ay,{getPopupContainer:H,overflowedIndicator:n.createElement(a.A,null),overflowedIndicatorPopupClassName:(0,s.$)(ne,`${ne}-${x}`,B),classNames:{list:ee.list,listTitle:ee.itemTitle},styles:{list:te.list,listTitle:te.itemTitle},mode:V,selectable:Q,onClick:K,...G,inlineCollapsed:Y,style:te.root,className:le,prefixCls:ne,direction:F,defaultMotions:oe,expandIcon:se,ref:t,rootClassName:(0,s.$)(E,ie,i.rootClassName,ae,re,ee.root),_internalComponents:X})))}),q=_,j=(0,n.forwardRef)((e,t)=>{const o=(0,n.useRef)(null),r=n.useContext(i.P);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{o.current?.focus(e)}})),n.createElement(q,{ref:o,...e,...r})});j.Item=b,j.SubMenu=W,j.Divider=f,j.ItemGroup=r.te;const G=j},21262:(e,t,o)=>{var n=o(14041),r=o(238),i=o(13744),a=o(6948),l=o(52197),s=o(77870),c=o(18974),d=o(24838),m=o(35753),u=o(9642),p=o(50509),g=o(37148);const h={info:n.createElement(l.A,null),success:n.createElement(r.A,null),error:n.createElement(i.A,null),warning:n.createElement(a.A,null),loading:n.createElement(s.A,null)},f=(e,t)=>t||e&&h[e]||null;o.d(t,["Ay",0,e=>{const{prefixCls:t,className:o,style:r,type:i,icon:a,content:l,classNames:s,styles:h,...$}=e,{getPrefixCls:b,className:v,style:x,classNames:y,styles:C}=(0,u.TP)("message"),S=t||b("message"),k=`${S}-notice`,w=(0,p.A)(S),[E,A]=(0,g.A)(S,w),[z,I]=(0,m.AV)([y,s],[C,h],{props:e}),B=f(i,a),N=i?`${k}-icon-${i}`:void 0,M={wrapper:(0,d.$)(i&&`${S}-${i}`,z.wrapper),icon:(0,d.$)(N,z.icon),title:z.title},T={wrapper:I.wrapper,icon:I.icon,title:I.title};return n.createElement("div",{className:(0,d.$)(`${k}-pure-panel`,E,o,A,w,z.root),style:I.root},n.createElement(g.a,{prefixCls:S}),n.createElement(c.Eg,{...$,prefixCls:S,className:v,style:{...x,...r},duration:null,icon:B,title:l,classNames:M,styles:T}))},"HC",0,f])},37148:(e,t,o)=>{var n=o(86285),r=o(54482),i=o(54755),a=o(18764),l=o(32257);const s=e=>{const t=e.calc(e.controlHeightLG).sub(e.calc(e.fontSize).mul(e.lineHeight)).div(2).equal(),o=e.paddingSM;return(0,a.oX)((0,r.G4)(e),{notificationBg:e.contentBg,notificationPadding:e.contentPadding,notificationPaddingVertical:t,notificationPaddingHorizontal:o})},c=e=>({zIndexPopup:e.zIndexPopupBase+1e3+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),d=e=>{const{fontSize:t,fontSizeLG:o,lineHeight:n}=e;return(0,i.MV)(e,{width:"max-content",iconFontSize:o,titleFontSize:t,titleLineHeight:n,contentStyle:{alignItems:"center",gap:e.marginXS},noticeStyle:{zIndex:1}})},m=e=>{const{componentCls:t}=e,o=`${t}-notice`,r=`${t}-list-content`,i=d(e),{"&::after":a,...l}=i[o],s={...l,position:"absolute",zIndex:-1,left:"50%",height:e.calc(e.marginXS).mul(2).equal(),padding:0,boxShadow:e.boxShadowTertiary,opacity:0,pointerEvents:"none",transform:"translateX(-50%) translateY(100%)",transition:[`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,`transform ${e.motionDurationFast} ${e.motionEaseInOut}`,`width ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(", "),content:'""'};return{[t]:{[`&${t}-stack`]:{[r]:{isolation:"isolate","&::before":{...s,top:`calc(var(--top-notificiation-height) - ${(0,n.zA)(e.marginXS)})`,width:`calc(var(--top-notificiation-width) - ${(0,n.zA)(e.margin)})`},"&::after":{...s,zIndex:-2,top:"var(--top-notificiation-height)",width:`calc(var(--top-notificiation-width) - ${(0,n.zA)(e.calc(e.margin).mul(2).equal())})`}},[`&:not(${t}-stack-expanded)`]:{[r]:{"&::before, &::after":{opacity:1,transform:"translateX(-50%) translateY(0)"}}}}}}},u=(0,l.bf)(["Message","PurePanel"],e=>(e=>{const{componentCls:t}=e,o=`${t}-notice`,n=d(e);return{[`${o}-pure-panel`]:{width:"max-content",maxWidth:"100%",...n,[o]:{...n[o],position:"relative",width:"max-content",maxWidth:"100%"}}}})(s(e)),c),p=e=>({[e.componentCls]:d(e)}),g=(0,l.OF)("Message",e=>{const t=s(e);return[(0,r.ch)(t,{stackVisibleCount:1,itemStyle:p}),m(t)]},c);o.d(t,["A",0,g,"a",0,u])},98874:(e,t,o)=>{o.d(t,{A:()=>S,y:()=>C});var n=o(14041),r=o(18974),i=o(35342),a=o(24838),l=o(35753),s=o(35018),c=o(81136),d=o(9642),m=o(50509),u=o(52752),p=o(62410),g=
1o(21262),h=o(37148),f=o(22820);const $=3,b=({children:e,prefixCls:t})=>{const o=(0,m.A)(t),[i,l]=(0,h.A)(t,o);return n.createElement(r.ph,{classNames:{list:(0,a.$)(i,l,o)}},e)},v=(e,{prefixCls:t,key:o})=>n.createElement(b,{prefixCls:t,key:o},e),x=n.forwardRef((e,t)=>{const{top:o,prefixCls:i,getContainer:s,maxCount:c,duration:m=$,rtl:g,classNames:h,styles:b,transitionName:x,pauseOnHover:y=!0,stack:C,onAllRemoved:S}=e,{getPrefixCls:k,direction:w,getPopupContainer:E}=(0,d.TP)("message"),{message:A}=n.useContext(d.QO),z=i||k("message"),I=(0,l.XT)(A?.style),[B,N]=(0,l.AV)([A?.classNames,h],[A?.styles,I,b],{props:e}),M=(0,u.A)(C,!1),[T,P]=(0,r.hN)({prefixCls:z,style:()=>(0,p.M4)(o??8),className:()=>(0,a.$)({[`${z}-rtl`]:g??"rtl"===w}),motion:()=>(0,f.V)(z,x),closable:!1,duration:m,getContainer:()=>s?.()||E?.()||document.body,maxCount:c,onAllRemoved:S,classNames:B,styles:N,renderNotifications:v,pauseOnHover:y,stack:M});return n.useImperativeHandle(t,()=>({...T,prefixCls:z,message:A})),P});let y=0;function C(e){const t=n.useRef(null);return(0,c.rJ)("Message"),[n.useMemo(()=>{const o=e=>{t.current?.close(e)},n=n=>{if(!t.current){const e=()=>{};return e.then=()=>{},e}const{open:r,prefixCls:s,message:c}=t.current,d=c?.className||{},m=`${s}-notice`,{content:u,icon:p,type:h,key:$,className:b,style:v,onClose:x,classNames:C={},styles:S={},...k}=n;let w=$;(0,i.R)(w)||(y+=1,w=`antd-message-${y}`);const E={...e,...n},A=(0,l.Jb)(C,{props:E}),z=(0,l.Jb)(S,{props:E}),I=(0,g.HC)(h,p),B=h?`${m}-icon-${h}`:void 0;return(0,f.E)(e=>(r({...k,key:w,icon:I,title:u,classNames:{...A,wrapper:(0,a.$)(h&&`${s}-${h}`,A?.wrapper),icon:(0,a.$)(B,A?.icon)},styles:z,placement:"top",className:(0,a.$)({[`${m}-${h}`]:h},b,d),style:v,onClose:()=>{x?.(),e()}}),()=>{o(w)}))},r={open:n,destroy:e=>{void 0!==e?o(e):t.current?.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{r[e]=(t,o,r)=>{let i,a,l;i=(0,s.Qd)(t)&&"content"in t?t:{content:t},(0,s.Tn)(o)?l=o:(a=o,l=r);const c={onClose:l,duration:a,...i,type:e};return n(c)}}),r},[]),n.createElement(x,{key:"message-holder",...e,ref:t})]}function S(e){return C(e)}},22820:(e,t,o)=>{function n(e,t){return{motionName:t??`${e}-fade`}}function r(e){let t;const o=new Promise(o=>{t=e(()=>{o(!0)})}),n=()=>{t?.()};return n.then=(e,t)=>o.then(e,t),n.promise=o,n}o.d(t,{E:()=>r,V:()=>n})},55185:(e,t,o)=>{o.d(t,{k:()=>z,A:()=>B});var n=o(14041),r=o(238),i=o(13744),a=o(6948),l=o(52197),s=o(35342),c=o(24838),d=o(54117),m=o(10384),u=o(35018),p=o(85528),g=o(40569),h=o(9642),f=o(52468),$=o(4842),b=o(74208),v=o(75419);const x=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:o,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:l,onCancel:s,onConfirm:c,onClose:d}=(0,n.useContext)(v.V);return i?n.createElement(b.A,{isSilent:r,actionFn:s,close:(...e)=>{l?.(...e),c?.(!1),d?.()},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},o):null},y=()=>{const{autoFocusButton:e,close:t,isSilent:o,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:l,onConfirm:s,onOk:c,onClose:d}=(0,n.useContext)(v.V);return n.createElement(b.A,{isSilent:o,type:l||"primary",actionFn:c,close:(...e)=>{t?.(...e),s?.(!0),d?.()},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${i}-btn`},a)};var C=o(87705),S=o(86285),k=o(69426),w=o(48408);const E=(0,o(32257).bf)(["Modal","confirm"],e=>(e=>{const{componentCls:t,titleFontSize:o,titleLineHeight:n,modalConfirmIconSize:r,fontSize:i,lineHeight:a,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:c}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:{...(0,w.t6)()},[`&${t} ${t}-body`]:{padding:c},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:r,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(r).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(r).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${(0,S.zA)(e.marginSM)})`},[`${d}-body-no-icon ${d}-paragraph`]:{maxWidth:"100%"},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${(0,S.zA)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:o,lineHeight:n},[`${d}-container`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls},\n ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}})((0,k.FY)(e)),k.cH,{order:-1e3}),A=["body"],z=e=>{const{prefixCls:t,icon:o,okText:m,cancelText:p,confirmPrefixCls:g,type:$,okCancel:b,footer
1:C,locale:S,autoFocusButton:k,focusable:w,contentClassName:A,contentStyle:z,...I}=e,{infoIcon:B,successIcon:N,errorIcon:M,warningIcon:T}=(0,h.TP)("modal");let P=o;if(void 0===o)switch($){case"info":P=(0,d.A)(B,n.createElement(l.A,null));break;case"success":P=(0,d.A)(N,n.createElement(r.A,null));break;case"error":P=(0,d.A)(M,n.createElement(i.A,null));break;default:P=(0,d.A)(T,n.createElement(a.A,null))}const R=b??"confirm"===$,H=n.useMemo(()=>{const e=w?.autoFocusButton||k;return e||null===e?e:"ok"},[k,w?.autoFocusButton]),[F]=(0,f.A)("Modal"),D=S||F,L=(0,d.A)(m,R?D?.okText:D?.justOkText),W=(0,d.A)(p,D?.cancelText),{closable:O}=I,{onClose:X}=(0,u.Qd)(O)?O:{},_=n.useMemo(()=>({autoFocusButton:H,cancelTextLocale:W,okTextLocale:L,mergedOkCancel:R,onClose:X,...I}),[H,W,L,R,X,I]),q=n.createElement(n.Fragment,null,n.createElement(x,null),n.createElement(y,null)),j=(0,s.AZ)(e.title),G=(0,s.AZ)(P),K=`${g}-body`;return n.createElement("div",{className:`${g}-body-wrapper`},n.createElement("div",{className:(0,c.$)(K,{[`${K}-has-title`]:j,[`${K}-no-icon`]:!G})},P,n.createElement("div",{className:`${g}-paragraph`},j&&n.createElement("span",{className:`${g}-title`},e.title),n.createElement("div",{className:(0,c.$)(`${g}-content`,A),style:z},e.content))),void 0===C||(0,u.Tn)(C)?n.createElement(v.i,{value:_},n.createElement("div",{className:`${g}-btns`},(0,u.Tn)(C)?C(q,{OkBtn:y,CancelBtn:x}):q)):C,n.createElement(E,{prefixCls:t}))},I=e=>{const{close:t,zIndex:o,maskStyle:r,direction:i,prefixCls:a,wrapClassName:l,rootPrefixCls:d,bodyStyle:g,closable:f=!1,onConfirm:b,styles:v,title:x,mask:y,maskClosable:S,okButtonProps:k,cancelButtonProps:w}=e,{cancelButtonProps:E,okButtonProps:I}=(0,h.TP)("modal"),B=`${a}-confirm`,N=e.width||416,M=e.style||{},T=(0,u.Tn)(v)?e=>({body:g,mask:r,...v(e)}):{body:g,mask:r,...v},P=(0,s.cJ)(e,["bodyStyle","maskStyle"]),R=(0,c.$)(B,`${B}-${e.type}`,{[`${B}-rtl`]:"rtl"===i},e.className),H=n.useMemo(()=>{const e=(0,m.A)(y,S);return e.closable??(e.closable=!1),e},[y,S]),[,F]=(0,$.Ay)(),D=n.useMemo(()=>void 0!==o?o:F.zIndexPopupBase+1e3,[o,F]);return n.createElement(C.A,{...P,className:R,wrapClassName:(0,c.$)({[`${B}-centered`]:!!e.centered},l),onCancel:()=>{t?.({triggerCancel:!0}),b?.(!1)},title:x,footer:null,transitionName:(0,p.b)(d||"","zoom",e.transitionName),maskTransitionName:(0,p.b)(d||"","fade",e.maskTransitionName),mask:H,style:M,styles:T,width:N,zIndex:D,closable:f,_semanticOmit:A,_renderSemanticContent:({classNames:t,styles:o})=>n.createElement(z,{...e,confirmPrefixCls:B,okButtonProps:{...I,...k},cancelButtonProps:{...E,...w},contentClassName:t.body,contentStyle:o.body})})},B=e=>{const{rootPrefixCls:t,iconPrefixCls:o,direction:r,theme:i}=e;return n.createElement(g.Ay,{prefixCls:t,iconPrefixCls:o,direction:r,theme:i},n.createElement(I,{...e}))}},87705:(e,t,o)=>{var n=o(14041),r=o(48657),i=o(58063),a=o(35342),l=o(24838),s=o(1696),c=o(30045),d=o(10384),m=o(7010),u=o(35753),p=o(35018),g=o(85528),h=o(52574),f=o(86561),$=o(9642),b=o(50509),v=o(72317),x=o(24705),y=o(21120),C=o(70230),S=o(69426);let k;(0,h.q)()&&document.documentElement.addEventListener("click",e=>{k={x:e.pageX,y:e.pageY},setTimeout(()=>{k=null},100)},!0);o.d(t,["A",0,e=>{const{prefixCls:t,className:o,rootClassName:h,open:w,wrapClassName:E,centered:A,getContainer:z,style:I,width:B=520,footer:N,classNames:M,styles:T,children:P,loading:R,confirmLoading:H,zIndex:F,mousePosition:D,onOk:L,onCancel:W,okButtonProps:O,cancelButtonProps:X,destroyOnHidden:_,destroyOnClose:q,panelRef:j=null,closable:G,mask:K,modalRender:V,maskClosable:Q,_semanticOmit:Y,scrollLock:U,focusTriggerAfterClose:Z,focusable:J,_renderSemanticContent:ee,...te}=e,{getPopupContainer:oe,getPrefixCls:ne,direction:re,className:ie,style:ae,classNames:le,styles:se,centered:ce,cancelButtonProps:de,okButtonProps:me,mask:ue,focusable:pe}=(0,$.TP)("modal"),{modal:ge}=n.useContext($.QO),[he,fe]=n.useMemo(()=>"boolean"==typeof G?[void 0,void 0]:[G?.afterClose,G?.onClose],[G]),$e=ne("modal",t),be=ne(),[ve,xe,ye]=(0,d.u)(K,ue,$e,Q),Ce=(0,v.A)({...pe,...J},ve,Z),Se=e=>{H||(W?.(e),fe?.())},ke=(0,b.A)($e),[we,Ee]=(0,S.Ay)($e,ke),Ae=(0,l.$)(E,{[`${$e}-centered`]:A??ce,[`${$e}-wrap-rtl`]:"rtl"===re}),ze=null===N||R?null:n.createElement(C.w,{...e,okButtonProps:{...me,...O},onOk:e=>{L?.(e),fe?.()},cancelButtonProps:{...de,...X},onCancel:Se}),[Ie,Be,Ne,Me]=(0,c.$Z)((0,c.dG)(e),(0,c.dG)(ge),{closable:!0,closeIcon:n.createElement(r.A,{className:`${$e}-close-icon`}),closeIconRender:e=>(0,C.O)($e,e)}),Te=!!Ie&&{disabled:Ne,closeIcon:Be,afterClose:he,...Me},Pe=V?e=>n.createElement("div",{className:`${$e}-render`},V(e)):void 0,Re=`.${$e}-${V?"render":"container"}`,He=(0,y.f)(Re),Fe=(0,a.K4)(j,He),[De,Le]=(0,m.YK)("Modal",F),We={...e,width:B,panelRef:j,focusTriggerAfterClose:Ce.focusTriggerAfterClose,focu
1sable:Ce,mask:ve,maskClosable:ye,zIndex:De},[Oe,Xe]=(0,u.AV)([le,M,xe],[se,T],{props:We}),_e=Y?(0,a.cJ)(Oe,Y):Oe,qe=Y?(0,a.cJ)(Xe,Y):Xe,je=ee?ee({classNames:Oe,styles:Xe}):P,[Ge,Ke]=n.useMemo(()=>(0,p.Qd)(B)?[void 0,B]:[B,void 0],[B]),Ve=n.useMemo(()=>{const e={};return Ke&&Object.keys(Ke).forEach(t=>{const o=Ke[t];(0,a.R)(o)&&(e[`--${$e}-${t}-width`]=(0,p.Et)(o)?`${o}px`:o)}),e},[$e,Ke]);return n.createElement(s.A,{form:!0,space:!0},n.createElement(f.A.Provider,{value:Le},n.createElement(i.A,{width:Ge,...te,zIndex:De,getContainer:void 0===z?oe:z,prefixCls:$e,rootClassName:(0,l.$)(we,h,Ee,ke,_e.root),rootStyle:qe.root,footer:ze,visible:w,mousePosition:D??k,onClose:Se,closable:Te,closeIcon:Be,transitionName:(0,g.b)(be,"zoom",e.transitionName),maskTransitionName:(0,g.b)(be,"fade",e.maskTransitionName),mask:ve,maskClosable:ye,scrollLock:U,className:(0,l.$)(we,o,ie),style:{...ae,...I,...Ve},classNames:{..._e,wrapper:(0,l.$)(_e.wrapper,Ae)},styles:qe,panelRef:Fe,destroyOnHidden:_??q,modalRender:Pe,focusTriggerAfterClose:Ce.focusTriggerAfterClose,focusTrap:Ce.trap},R?n.createElement(x.A,{active:!0,title:!1,paragraph:{rows:4},className:`${$e}-body-skeleton`}):je)))}])},7580:(e,t,o)=>{o.d(t,{$D:()=>f,Ay:()=>g,Ej:()=>$,FB:()=>x,fp:()=>h,jT:()=>b,lr:()=>v});var n=o(14041),r=o(35342),i=o(35018),a=o(40569),l=o(9642),s=o(55185),c=o(85357),d=o(68780);let m="";function u(){return m}const p=e=>{const{prefixCls:t,getContainer:o,direction:r}=e,i=(0,d.l)(),a=(0,n.useContext)(l.QO),c=u()||a.getPrefixCls(),m=t||`${c}-modal`;let p=o;return!1===p&&(p=void 0),n.createElement(s.A,{...e,rootPrefixCls:c,prefixCls:m,iconPrefixCls:a.iconPrefixCls,theme:a.theme,direction:r??a.direction,locale:a.locale?.Modal??i,getContainer:p})};function g(e){const t=(0,a.cr)(),o=document.createDocumentFragment();let l,s={...e,close:g,open:!0};function d(...t){t.some(e=>e?.triggerCancel)&&e.onCancel?.(()=>{},...t.slice(1));for(let e=0;e<c.A.length;e++)if(c.A[e]===g){c.A.splice(e,1);break}(0,r.vs)(o).then(()=>{})}const m=e=>{clearTimeout(l),l=setTimeout(()=>{const l=t.getPrefixCls(void 0,u()),s=t.getIconPrefixCls(),c=t.getTheme(),d=n.createElement(p,{...e});(0,r.XX)(n.createElement(a.Ay,{prefixCls:l,iconPrefixCls:s,theme:c},(0,i.Tn)(t.holderRender)?t.holderRender(d):d),o)})};function g(...t){s={...s,open:!1,afterClose:()=>{(0,i.Tn)(e.afterClose)&&e.afterClose(),d.apply(this,t)}},m(s)}return m(s),c.A.push(g),{destroy:g,update:function(e){s=(0,i.Tn)(e)?e(s):{...s,...e},m(s)}}}function h(e){return{...e,type:"warning"}}function f(e){return{...e,type:"info"}}function $(e){return{...e,type:"success"}}function b(e){return{...e,type:"error"}}function v(e){return{...e,type:"confirm"}}function x({rootPrefixCls:e}){m=e}},75419:(e,t,o)=>{const n=o(14041).createContext({}),{Provider:r}=n;o.d(t,["V",0,n,"i",0,r])},85357:(e,t,o)=>{o.d(t,["A",0,[]])},43065:(e,t,o)=>{o.d(t,{A:()=>x});var n=o(7580),r=o(85357),i=o(87705),a=o(14041),l=o(58063),s=o(24838),c=o(35753),d=o(74132),m=o(9642),u=o(50509),p=o(55185),g=o(70230),h=o(69426);const f=(0,d.U)(e=>{const{prefixCls:t,className:o,closeIcon:n,closable:r,type:i,title:d,children:f,footer:$,style:b,classNames:v,styles:x,...y}=e,{getPrefixCls:C}=a.useContext(m.QO),{className:S,style:k,classNames:w,styles:E}=(0,m.TP)("modal"),A=C(),z=t||C("modal"),I=(0,u.A)(A),[B,N]=(0,h.Ay)(z,I),M=(0,c.XT)(k),T=(0,c.XT)(b),[P,R]=(0,c.AV)([w,v],[E,M,x,T],{props:e}),H=`${z}-confirm`;let F={};return F=i?{closable:r??!1,title:"",footer:"",children:a.createElement(p.k,{...e,prefixCls:z,confirmPrefixCls:H,rootPrefixCls:A,content:f})}:{closable:r??!0,title:d,footer:null!==$&&a.createElement(g.w,{...e}),children:f},a.createElement(l.Z,{prefixCls:z,className:(0,s.$)(B,`${z}-pure-panel`,i&&H,i&&`${H}-${i}`,o,S,N,I,P.root),style:R.root,...y,closeIcon:(0,g.O)(z,n),closable:r,classNames:P,styles:R,...F})});var $=o(71348);function b(e){return(0,n.Ay)((0,n.fp)(e))}const v=i.A;v.useModal=$.A,v.info=function(e){return(0,n.Ay)((0,n.$D)(e))},v.success=function(e){return(0,n.Ay)((0,n.Ej)(e))},v.error=function(e){return(0,n.Ay)((0,n.jT)(e))},v.warning=b,v.warn=b,v.confirm=function(e){return(0,n.Ay)((0,n.lr)(e))},v.destroyAll=function(){for(;r.A.length;){const e=r.A.pop();e&&e()}},v.config=n.FB,v._InternalPanelDoNotUseOrYouWillBeFired=f;const x=v},68780:(e,t,o)=>{o.d(t,{L:()=>l,l:()=>s});var n=o(25917);let r={...n.A.Modal},i=[];const a=()=>i.reduce((e,t)=>
1({...e,...t}),n.A.Modal);function l(e){if(e){const t={...e};return i.push(t),r=a(),()=>{i=i.filter(e=>e!==t),r=a()}}r={...n.A.Modal}}function s(){return r}},70230:(e,t,o)=>{o.d(t,{w:()=>f,O:()=>h});var n=o(14041),r=o(48657),i=o(54117),a=o(35018),l=o(19106),s=o(52468),c=o(6493),d=o(75419);const m=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:o}=(0,n.useContext)(d.V);return n.createElement(c.A,{...e,onClick:t=>{o?.(t),e?.onClick?.(t)}},t)};var u=o(28718);const p=()=>{const{confirmLoading:e,okButtonProps:t,okType:o,okTextLocale:r,onOk:i}=(0,n.useContext)(d.V);return n.createElement(c.A,{...(0,u.DU)(o),loading:e,onClick:i,...t},r)};var g=o(68780);function h(e,t){return n.createElement("span",{className:`${e}-close-x`},t||n.createElement(r.A,{className:`${e}-close-icon`}))}const f=e=>{const{okText:t,okType:o="primary",cancelText:r,confirmLoading:c,onOk:u,onCancel:h,okButtonProps:f,cancelButtonProps:$,footer:b}=e,[v]=(0,s.A)("Modal",(0,g.l)()),x=(0,i.A)(t,v?.okText),y=(0,i.A)(r,v?.cancelText),C=n.useMemo(()=>({confirmLoading:c,okButtonProps:f,cancelButtonProps:$,okTextLocale:x,cancelTextLocale:y,okType:o,onOk:u,onCancel:h}),[c,f,$,x,y,o,u,h]);let S;return(0,a.Tn)(b)||void 0===b?(S=n.createElement(n.Fragment,null,n.createElement(m,null),n.createElement(p,null)),(0,a.Tn)(b)&&(S=b(S,{OkBtn:p,CancelBtn:m})),S=n.createElement(d.i,{value:C},S)):S=b,n.createElement(l.X,{disabled:!1},S)}},69426:(e,t,o)=>{var n=o(64619),r=o(86285),i=o(23281),a=o(48408),l=o(21137),s=o(71584),c=o(18764),d=o(32257);function m(e){return{position:e,inset:0}}const u=e=>{const{componentCls:t,antCls:o}=e;return[{[`${t}-root`]:{[`${t}${o}-zoom-enter, ${t}${o}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${o}-zoom-leave ${t}-container`]:{pointerEvents:"none"},[`${t}-mask`]:{...m("fixed"),zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`&${t}-mask-blur`]:{backdropFilter:"blur(4px)"},[`${t}-hidden`]:{display:"none"}},[`${t}-wrap`]:{...m("fixed"),zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"}}},{[`${t}-root`]:(0,l.p9)(e)}]},p=e=>{const{componentCls:t,motionDurationMid:o}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,r.zA)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:{...(0,a.dF)(e),pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,r.zA)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto","&:focus-visible":{borderRadius:e.borderRadiusLG,...(0,a.jk)(e)},[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-container`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:{position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:["color","background-color"].map(e=>`${e} ${o}`).join(", "),"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:(0,r.zA)(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive},...(0,a.K8)(e)},[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,r.zA)(e.borderRadiusLG)} ${(0,r.zA)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,r.zA)(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}}},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-container,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},g=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}}
1,h=e=>{const{componentCls:t}=e,o=(0,i.i4)(e),a={...o};delete a.xs;const l=`--${t.replace(".","")}-`,s=Object.keys(a).map(e=>({[`@media (min-width: ${(0,r.zA)(a[e])})`]:{width:`var(${l}${e}-width)`}}));return{[`${t}-root`]:{[t]:[].concat((0,n.A)(Object.keys(o).map((e,t)=>{const n=Object.keys(o)[t-1];return n?{[`${l}${e}-width`]:`var(${l}${n}-width)`}:null})),[{width:`var(${l}xs-width)`}],(0,n.A)(s))}}},f=e=>{const t=e.padding,o=e.fontSizeHeading5,n=e.lineHeightHeading5;return(0,c.oX)(e,{modalHeaderHeight:e.calc(e.calc(n).mul(o).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},$=e=>({footerBg:"transparent",headerBg:"transparent",titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,r.zA)(e.paddingMD)} ${(0,r.zA)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,r.zA)(e.padding)} ${(0,r.zA)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,r.zA)(e.paddingXS)} ${(0,r.zA)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,r.zA)(e.borderRadiusLG)} ${(0,r.zA)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,r.zA)(2*e.padding)} ${(0,r.zA)(2*e.padding)} ${(0,r.zA)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM,mask:!0}),b=(0,d.OF)("Modal",e=>{const t=f(e);return[p(t),g(t),u(t),(0,s.aB)(t,"zoom"),h(t)]},$,{unitless:{titleLineHeight:!0}});o.d(t,["Ay",0,b,"FY",0,f,"cH",0,$])},71348:(e,t,o)=>{o.d(t,{A:()=>$});var n=o(64619),r=o(14041),i=o(65106),a=o(7580),l=o(85357),s=o(54117),c=o(35018),d=o(9642),m=o(25917),u=o(52468),p=o(55185);const g=r.forwardRef((e,t)=>{const{afterClose:o,config:n,...i}=e,[a,l]=r.useState(!0),[g,h]=r.useState(n),{direction:f,getPrefixCls:$}=r.useContext(d.QO),b=$("modal"),v=$(),x=(...e)=>{l(!1),e.some(e=>e?.triggerCancel)&&g.onCancel?.(()=>{},...e.slice(1))};r.useImperativeHandle(t,()=>({destroy:x,update:e=>{h(t=>{const o=(0,c.Tn)(e)?e(t):e;return{...t,...o}})}}));const y=g.okCancel??"confirm"===g.type,[C]=(0,u.A)("Modal",m.A.Modal);return r.createElement(p.A,{prefixCls:b,rootPrefixCls:v,...g,close:x,open:a,afterClose:()=>{o(),g.afterClose?.()},okText:(0,s.A)(g.okText,y?C?.okText:C?.justOkText),direction:g.direction||f,cancelText:(0,s.A)(g.cancelText,C?.cancelText),...i})});let h=0;const f=r.memo(r.forwardRef((e,t)=>{const[o,n]=(0,i.w)();return r.useImperativeHandle(t,()=>({patchElement:n}),[n]),r.createElement(r.Fragment,null,o)})),$=function(){const e=r.useRef(null),[t,o]=r.useState([]);r.useEffect(()=>{t.length&&((0,n.A)(t).forEach(e=>{e()}),o([]))},[t]);const i=r.useCallback(t=>function(i){h+=1;const a=r.createRef();let s;const c=new Promise(e=>{s=e});let d,m=!1;const u=r.createElement(g,{key:`modal-${h}`,config:t(i),ref:a,afterClose:()=>{d?.()},isSilent:()=>m,onConfirm:e=>{s(e)}});return d=e.current?.patchElement(u),d&&l.A.push(d),{destroy:()=>{function e(){a.current?.destroy()}a.current?e():o(t=>[].concat((0,n.A)(t),[e]))},update:e=>{function t(){a.current?.update(e)}a.current?t():o(e=>[].concat((0,n.A)(e),[t]))},then:e=>(m=!0,c.then(e))}},[]);return[r.useMemo(()=>({info:i(a.$D),success:i(a.Ej),error:i(a.jT),warning:i(a.fp),confirm:i(a.lr)}),[i]),r.createElement(f,{key:"modal-holder",ref:e})]}},88192:(e,t,o)=>{o.d(t,{aC:()=>x});var n=o(14041),r=o(238),i=o(13744),a=o(48657),l=o(6948),s=o(52197),c=o(77870),d=o(18974),m=o(35342),u=o(24838),p=o(30045),g=o(35753),h=o(35018),f=o(9642),$=o(50509),b=o(54482);const v={info:n.createElement(s.A,null),success:n.createElement(r.A,null),error:n.createElement(i.A,null),warning:n.createElement(l.A,null),loading:n.createElement(c.A,null)};function x(e,t){return null===t||!1===t?null:t||n.createElement(a.A,{className:`${e}-close-icon`})}o.d(t,["Ay",0,e=>{const{prefixCls:t,icon:o,type:r,message:i,title:l,description:s,btn:c,actions:y,closeIcon:C,className:S,style:k,styles:w,classNames:E,closable:A,role:z,...I}=e,{getPrefixCls:B,className:N,style:M,classNames:T,styles:P}=(0,f.TP)("notification"),[R,H]=(0,g.AV)([T,E],[P,w],{props:e}),{notification:F}=n.useContext(f.QO),D=y??c,L=l??i,W=(0,m.AZ)(L),O=t||B("notification"),X=`${O}-notice`,_=o||(r?v[r]:null),q=!o&&r?`${X}-icon-${r}`:void 0,{root:j,...G}=R,{root:K,...V}=H,Q=(0,$.A)(O),[Y,U]=(0,b.Ay)(O,Q),[Z,J,,ee]=(0,p.$Z)((0,p.dG)(e),(0,p.dG)(F),{closable:!0,closeIcon:n.createElement(a.A,{className:`${O}-close-icon`}),closeIconRender:e=>x(O,e)}),te=!!Z&&{onClose:(0,h.Qd)(A)?A?.onClose:void 0,closeIcon:J,...ee};return n.createElement("div",{className:(0,u.$)(`${X}-pure-panel`,Y,S,U,Q,j),style:K},n.createElement(b.aU,{prefixCls:O}),n.createElement(d.Eg,{style:{...M,...k},...I,prefixCls:O,duration:null,closable:te,className:N,title:W?L:null,description:s,icon:_,actions:D,role:z,classNames:{...G,icon:(0,u.$)(q,G.icon)},styles:V}))},"sr",0,v])},52752:(e,t,o)=>{var n=o(14041),r=o(35018);o.d(t,["A",0,(e,t)=>n.useMemo(()=>{const o=e??t;return!!o&&{...(0,r.Qd)(t)?t:{},...(0,r.Qd)(o)?o:{}}},[e,t])])},54482:(e,t,o)=>{o.d(t,{aU:()=>S,Ay:()=>w,G4:()=>x,ch:()=>k}
1);var n=o(86285),r=o(48408),i=o(18764),a=o(32257),l=o(54755);const s=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],c=e=>`translate3d(${e?.x??"0"}, ${e?.y??"0"}, 0) scale(var(--notification-scale, 1))`,d=(e,t)=>{const o=e.startsWith("bottom")?"bottom":"top",n=e.endsWith("Right")?"right":"left",{blockEnd:r,inlineEnd:i}=((e,t)=>({blockEnd:"top"===e?"bottom":"top",inlineEnd:"left"===t?"right":"left"}))(o,n),a="top"===e||"bottom"===e,l="top"===e||e.endsWith("Left")?`-${t}`:t;return{placement:e,vertical:o,blockEnd:r,horizontal:n,inlineEnd:i,motionOffset:a?{x:"-50%",y:l}:{x:l},baseMotionOffset:a?{x:"-50%"}:void 0,isCenterPlacement:a}},m=e=>"bottom"===e?"column-reverse":"column",u=e=>{const t="var(--notification-margin-edge, 0px)";return`calc(var(--notification-${e}, ${t}) - ${t})`},p=e=>(0,n.zA)(e.calc(e.marginXXL).mul(-1).equal()),g=e=>{const t=p(e);return`inset(${t} ${t} ${t} ${t})`},h=(e,t)=>{const o=p(e);return"bottom"===t?`inset(${o} ${o} 50% ${o})`:`inset(50% ${o} ${o} ${o})`},f=(e,t)=>{const{componentCls:o}=e,{placement:n,vertical:r,blockEnd:i,horizontal:a,inlineEnd:l,isCenterPlacement:s}=t,d=`${o}-notice`,p=`${d}${o}-fade`,f=c(t.motionOffset),$=c(t.baseMotionOffset),b=(e=>"bottom"===e?"center top":"center bottom")(r);return{[`&${o}-${n}`]:{[r]:u(r),[i]:"auto",display:"flex",flexDirection:m(r),...s?{marginInline:0,left:"50%",right:"auto",transform:"translateX(-50%)"}:{[a]:0,[l]:"auto"},[d]:{[r]:"var(--notification-y, 0)",...s?{left:"50%",transform:$}:{[a]:"var(--notification-x, 0)"},transformOrigin:b},[`${p}-appear-prepare, ${p}-enter-prepare`]:{opacity:0,transform:f,transition:"none"},[`${p}-appear-start, ${p}-enter-start`]:{opacity:0,transform:f},[`${p}-appear-active, ${p}-enter-active`]:{opacity:1,transform:$},[`${p}-leave-start`]:{opacity:1,transform:$},[`${p}-leave-active`]:{opacity:0,transform:f},[`&${o}-stack:not(${o}-stack-expanded)`]:{[d]:{clipPath:h(e,r)},[`${d}[data-notification-index='0']`]:{clipPath:g(e)}}}}},$=(e,t=s)=>{const{notificationMotionOffset:o}=e,r=(0,n.zA)(o);return{...t.reduce((t,o)=>({...t,...f(e,d(o,r))}),{})}},b=e=>{const{componentCls:t}=e;return{[t]:$(e)}},v=e=>({zIndexPopup:e.zIndexPopupBase+1e3+50,width:384,progressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}),x=e=>{const t=e.paddingMD,o=e.paddingLG;return(0,i.oX)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:o,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${(0,n.zA)(e.paddingMD)} ${(0,n.zA)(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,notificationProgressHeight:2,notificationMotionOffset:64})},y=e=>{const{componentCls:t,motionDurationMid:o,motionDurationSlow:n,motionEaseInOut:r}=e,i=`${t}-list-content`;return{[i]:{position:"relative",display:"flex",flexShrink:0,flexDirection:"column",gap:e.notificationMarginBottom,width:"100%",willChange:"height, transform",transition:"none",[`&${i}-decrease`]:{transition:`height calc(${n} * 2) ${r} ${o}`}},[`${t}-fade`]:{backfaceVisibility:"hidden",willChange:"transform, opacity"}}},C=(e,t)=>{const{componentCls:o,notificationMarginEdge:i}=e,a="--notification-margin-edge",l=`${o}-notice`,s=`${o}-list`,c=t.listWidthKey?e.calc(e[t.listWidthKey]).add(e.calc(i).mul(2)).equal():"100%",d=`${l}:nth-last-child(n + ${(t.stackVisibleCount??3)+1})`,m=`inset(${u=(0,n.zA)(e.calc(e.marginXXL).mul(-1).equal())} ${u} ${u} ${u})`;var u;return{[o]:{...(0,r.dF)(e),[a]:(0,n.zA)(i),position:"fixed",zIndex:e.zIndexPopup,width:c,maxWidth:"100vw",height:"100vh",overflow:"hidden",overscrollBehavior:"contain",[`${o}-hook-holder`]:{position:"relative"},[`&${s}`]:{maxHeight:"100vh",padding:`var(${a})`,overflowX:"hidden",overflowY:"auto",overscrollBehavior:"contain",scrollbarWidth:"none",msOverflowStyle:"none",pointerEvents:"none","&::-webkit-scrollbar":{display:"none",width:0,height:0}},...y(e),[`&${o}-stack`]:{[l]:{clipPath:m},[`&:not(${o}-stack-expanded)`]:{[l]:{"--notification-scale":"calc(1 - min(var(--notification-index, 0), 2) * 0.06)"},[`${l}:not(${l}-stack-in-threshold)`]:{opacity:0,pointerEvents:"none"},[d]:{opacity:0,pointerEvents:"none"}}},"&-rtl":{direction:"rtl",[`${l}-actions`]:{float:"left"}}}}},S=(0,a.bf)(["Notification","PurePanel"],e=>(0,l.uy)(x(e)),v),k=(e,t)=>{const o=t.itemStyle??l.Ay;return[C(e,t),o(e),b(e)]},w=(0,a.OF)("Notification",e=>{const t=x(e);return k(t,{listWidthKey:"width"})},v)},54755:(e,t,o)=>{var n=o(86285),r=o(48408),i=o(32257);const a=e=>{const{motionDurationMid:t,motionEaseInOut:o}=e,n=`${t} ${o}`;return{transform:"scale(var(--notification-scale, 1))",transition:["transform","inset","clip-path","opacity"].map(e=>`${e} ${n}`).join(", ")}},l=(e,t)=>
1{const{componentCls:o,antCls:r,colorSuccess:l,colorInfo:s,colorWarning:c,colorError:d,colorTextHeading:m,colorText:u,boxShadow:p,borderRadiusLG:g,fontSize:h,lineHeight:f,notificationBg:$,notificationPadding:b,notificationMarginEdge:v,margin:x,calc:y}=e,C=`${o}-notice`,[S,k]=(0,i.PN)(r,"notification");return{[C]:{position:"absolute",width:t.width,maxWidth:`calc(100vw - ${(0,n.zA)(y(v).mul(2).equal())})`,padding:b,pointerEvents:"auto",[S("icon-font-size")]:t.iconFontSize,[S("title-font-size")]:t.titleFontSize,[S("title-line-height")]:t.titleLineHeight,boxSizing:"border-box",color:u,background:$,borderRadius:g,boxShadow:p,fontSize:h,lineHeight:f,wordWrap:"break-word",overflow:"visible",...a(e),...t.noticeStyle,"&::after":{position:"absolute",insetInline:0,top:y(x).mul(-1).equal(),height:x,content:'""'},...t.typeStyle&&{"&-success":{background:k("color-success-bg",$)},"&-error":{background:k("color-error-bg",$)},"&-info":{background:k("color-info-bg",$)},"&-warning":{background:k("color-warning-bg",$)}}},[`${C}-wrapper`]:{display:"flex",...t.contentStyle},[`${C}-title`]:{color:m,fontSize:k("title-font-size"),lineHeight:k("title-line-height")},[`${C}-icon`]:{flex:"none",fontSize:k("icon-font-size"),lineHeight:1,[`&${C}-icon-success`]:{color:l},[`&${C}-icon-info, &${C}-icon-loading`]:{color:s},[`&${C}-icon-warning`]:{color:c},[`&${C}-icon-error`]:{color:d}}}},s=e=>{const{componentCls:t,progressBg:o,notificationProgressHeight:i,fontSize:a,borderRadiusLG:s,width:c,notificationIconSize:d,colorText:m,motionDurationMid:u,fontSizeLG:p,lineHeightLG:g,marginSM:h,marginXS:f,paddingLG:$,notificationPaddingVertical:b,notificationPaddingHorizontal:v,n
1otificationCloseButtonSize:x,colorIcon:y,borderRadiusSM:C,colorIconHover:S,colorBgTextHover:k,colorBgTextActive:w}=e,E=`${t}-notice`;return{...l(e,{width:c,iconFontSize:d,titleFontSize:p,titleLineHeight:g,contentStyle:{alignItems:"flex-start",gap:h},typeStyle:!0}),[`${E}-section`]:{display:"flex",flexDirection:"column",flex:"auto",gap:f,minWidth:0},[`${E}-description`]:{color:m,fontSize:a},[`${E}-closable`]:{[`${E}-title, ${E}-description`]:{paddingInlineEnd:$},[`${E}-title + ${E}-description`]:{paddingInlineEnd:0}},[`${E}-close`]:{position:"absolute",top:b,insetInlineEnd:v,display:"flex",alignItems:"center",justifyContent:"center",width:x,height:x,color:y,background:"none",border:"none",borderRadius:C,outline:"none",transition:["color","background-color"].map(e=>`${e} ${u}`).join(", "),"&:hover":{color:S,backgroundColor:k},"&:active":{backgroundColor:w},...(0,r.K8)(e)},[`${E}-progress`]:{position:"absolute",bottom:0,display:"block",appearance:"none",inlineSize:`calc(100% - ${(0,n.zA)(s)} * 2)`,blockSize:i,border:0,left:{_skip_check_:!0,value:s},right:{_skip_check_:!0,value:s},"&, &::-webkit-progress-bar":{borderRadius:s,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:o},"&::-webkit-progress-value":{borderRadius:s,background:o}},[`${E}-actions`]:{float:"right",marginTop:h}}};o.d(t,["Ay",0,e=>{const{componentCls:t}=e;return{[t]:s(e)}},"MV",0,l,"uy",0,e=>{const{componentCls:t,width:o}=e,n=`${t}-notice`,r=`${n}-actions`,i=s(e);return{[`${n}-pure-panel`]:{width:o,maxWidth:"100%",...i,[n]:{...i[n],position:"relative",width:"100%",maxWidth:"100%"},[r]:{...i[r],float:"none",textAlign:"end"}}}}])},68224:(e,t,o)=>{o.d(t,{A:()=>E,G:()=>w});var n=o(14041),r=o(18974),i=o(35342),a=o(24838),l=o(30045),s=o(35753),c=o(35018),d=o(81136),m=o(9642),u=o(50509),p=o(52468),g=o(25917),h=o(52752),f=o(88192),$=o(54482),b=o(62410);const v=4.5,x="topRight",y={offset:8},C=({children:e,prefixCls:t})=>{const o=(0,u.A)(t),[i,l]=(0,$.Ay)(t,o);return n.createElement(r.ph,{classNames:{list:(0,a.$)(i,l,o)}},e)},S=(e,{prefixCls:t,key:o})=>n.createElement(C,{prefixCls:t,key:o},e),k=n.forwardRef((e,t)=>{const{top:o,bottom:i,prefixCls:l,getContainer:d,maxCount:u,rtl:$,onAllRemoved:x,stack:C,duration:k=v,pauseOnHover:w=!0,showProgress:E}=e,{getPrefixCls:A,getPopupContainer:z,direction:I}=(0,m.TP)("notification"),{notification:B}=(0,n.useContext)(m.QO),[N]=(0,p.A)("global",g.A.global),M=l||A("notification"),T=(0,n.useMemo)(()=>!!((0,c.Et)(k)&&k>0)&&k,[k]),P=(0,s.XT)(B?.style),[R,H]=(0,s.AV)([B?.classNames,e?.classNames],[B?.styles,P,e?.styles],{props:e}),F=(0,h.A)(C,y),[D,L]=(0,r.hN)({prefixCls:M,style:()=>(0,b.M4)(o,i),className:()=>(0,a.$)({[`${M}-rtl`]:$??"rtl"===I}),motion:()=>(0,b.Vu)(M),closable:{closeIcon:(0,f.aC)(M)},duration:T,getContainer:()=>d?.()||z?.()||document.body,maxCount:u,pauseOnHover:w,showProgress:E,classNames:R,styles:H,onAllRemoved:x,renderNotifications:S,stack:F});return n.useImperativeHandle(t,()=>({...D,prefixCls:M,notification:B,closeLabel:N.close??g.A.global?.close??"Close"})),L});function w(e){const t=n.useRef(null),{notification:o}=((0,d.rJ)("Notification"),n.useContext(m.QO));return[n.useMemo(()=>{const n=n=>{if(!t.current)return;const{open:r,prefixCls:d,notification:m,closeLabel:u}=t.current,p=m?.className||{},g=`${d}-notice`,{title:h,message:$,description:v,icon:y,type:C,btn:S,actions:k,className:w,style:E,role:A="alert",closeIcon:z,closable:I,classNames:B={},styles:N={},...M}=n,T=h??$,P=(0,i.AZ)(T),R=k??S,H=(0,f.aC)(g,(0,b.ql)(z,e,m)),[F,D,,L]=(0,l.b8)((0,l.dG)({...e||{},...n}),(0,l.dG)(o),{closable:!0,closeIcon:H},u),W=!!F&&{onClose:(0,c.Qd)(I)?I.onClose:void 0,closeIcon:D,...L},O=(0,s.Jb)(B,{props:n}),X=(0,s.Jb)(N,{props:n}),_=y||(C?f.sr[C]:null),q=!y&&C?`${g}-icon-${C}`:void 0;return r({placement:e?.placement??x,...M,title:P?T:null,description:v,icon:_,actions:R,role:A,classNames:{...O,icon:(0,a.$)(q,O?.icon)},styles:X,className:(0,a.$)({[`${g}-${C}`]:C},w,p),style:E,closable:W})},r={open:n,destroy:e=>{void 0!==e?t.current?.close(e):t.current?.destroy()}};
1return["success","info","warning","error"].forEach(e=>{r[e]=t=>n({...t,type:e})}),r},[e,o]),n.createElement(k,{key:"notification-holder",...e,ref:t})]}function E(e){return w(e)}},62410:(e,t,o)=>{o.d(t,{M4:()=>i,Vu:()=>a,ql:()=>l});var n=o(86285),r=o(35342);function i(e,t){return{...(0,r.R)(e)&&{"--notification-top":(0,n.zA)(e)},...(0,r.R)(t)&&{"--notification-bottom":(0,n.zA)(t)}}}function a(e){return{motionName:`${e}-fade`}}function l(e,t,o){return void 0!==e?e:void 0!==t?.closeIcon?t.closeIcon:o?.closeIcon}},26496:(e,t,o)=>{var n=o(14041),r=o(67092),i=o(35342),a=o(24838),l=o(97064),s=o(35753),c=o(9642),d=o(714);const m=e=>{const{title:t,content:o,prefixCls:r,classNames:l,styles:s}=e;return(0,i.AZ)(t)||(0,i.AZ)(o)?n.createElement(n.Fragment,null,(0,i.AZ)(t)&&n.createElement("div",{className:(0,a.$)(`${r}-title`,l?.title),style:s?.title},t),(0,i.AZ)(o)&&n.createElement("div",{className:(0,a.$)(`${r}-content`,l?.content),style:s?.content},o)):null},u=e=>{const{hashId:t,prefixCls:o,className:i,style:c,placement:d="top",title:u,content:p,children:g,classNames:h,styles:f}=e,$=(0,l.b)(u),b=(0,l.b)(p),v={...e,placement:d},[x,y]=(0,s.AV)([h],[f],{props:v}),C=(0,a.$)(t,o,`${o}-pure`,`${o}-placement-${d}`,i);return n.createElement("div",{className:C,style:c},n.createElement("div",{className:`${o}-arrow`}),n.createElement(r.z,{...e,className:t,prefixCls:o,classNames:x,styles:y},g||n.createElement(m,{prefixCls:o,title:$,content:b,classNames:x,styles:y})))};o.d(t,["Ay",0,e=>{const{prefixCls:t,className:o,...r}=e,{getPrefixCls:i}=n.useContext(c.QO),l=i("popover",t),[s,m]=(0,d.A)(l);return n.createElement(u,{...r,prefixCls:l,hashId:s,className:(0,a.$)(o,m)})},"hJ",0,m,"xn",0,u])},51840:(e,t,o)=>{var n=o(14041),r=o(35342),i=o(24838),a=o(97064),l=o(35753),s=o(85528),c=o(9642),d=o(38010),m=o(68130),u=o(26496),p=o(714);const g=n.forwardRef((e,t)=>{const{prefixCls:o,title:g,content:h,overlayClassName:f,placement:$="top",trigger:b,children:v,mouseEnterDelay:x,mouseLeaveDelay:y,onOpenChange:C,overlayStyle:S={},styles:k,classNames:w,motion:E,arrow:A,...z}=e,{getPrefixCls:I,className:B,style:N,classNames:M,styles:T,arrow:P,trigger:R,mouseEnterDelay:H,mouseLeaveDelay:F}=(0,c.TP)("popover"),D=x??H??.1,L=y??F??.1,W=I("popover",o),[O,X]=(0,p.A)(W),_=I(),q=(0,m.A)(A,P),j=b||R||"hover",G={...e,placement:$,trigger:j,mouseEnterDelay:D,mouseLeaveDelay:L,overlayStyle:S,styles:k,classNames:w},K=(0,l.XT)(N),V=(0,l.XT)(S),[Q,Y]=(0,l.AV)([M,w],[T,K,k,V],{props:G}),U=(0,i.$)(f,O,X,B,Q.root),[Z,J]=(0,r.PW)(e.defaultOpen??!1,e.open),ee=(0,a.b)(g),te=(0,a.b)(h);return n.createElement(d.A,{unique:!1,arrow:q,placement:$,trigger:j,mouseEnterDelay:D,mouseLeaveDelay:L,...z,prefixCls:W,classNames:{root:U,container:Q.container,arrow:Q.arrow},styles:{root:Y.root,container:Y.container,arrow:Y.arrow},ref:t,open:Z,onOpenChange:e=>{J(e),C?.(e)},overlay:(0,r.AZ)(ee)||(0,r.AZ)(te)?n.createElement(u.hJ,{prefixCls:W,title:ee,content:te,classNames:Q,styles:Y}):null,motion:{motionName:(0,s.b)(_,"zoom-big","string"==typeof E?.motionName?E?.motionName:void 0)},"data-popover-inject":!0},v)});g._InternalPanelDoNotUseOrYouWillBeFired=u.Ay;const h=g;o.d(t,["A",0,h])},714:(e,t,o)=>{var n=o(48408),r=o(71584),i=o(87658),a=o(2748),l=o(49321),s=o(18764),c=o(32257);const d=e=>{const{componentCls:t,popoverColor:o,titleMinWidth:r,fontWeightStrong:a,innerPadding:l,dropShadowPopover:s,colorTextHeading:d,borderRadiusLG:m,zIndexPopup:u,titleMarginBottom:p,colorBgElevated:g,popoverBg:h,titleBorderBottom:f,innerContentPadding:$,titlePadding:b,antCls:v}=e,[x,y]=(0,c.PN)(v,"tooltip");return[{[t]:{...(0,n.dF)(e),position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",filter:s,[x("valid-offset-x")]:y("arrow-offset-x","var(--arrow-x)"),transformOrigin:[y("valid-offset-x","50%"),"var(--arrow-y, 50%)"].join(" "),[x("arrow-background-color")]:g,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-container`]:{backgroundColor:h,backgroundClip:"padding-box",borderRadius:m,padding:l},[`${t}-title`]:{minWidth:r,marginBottom:p,color:d,fontWeight:a,borderBottom:f,padding:b},[`${t}-content`]:{color:o,padding:$}}},(0,i.A)(e,y("arrow-background-color"),{arrowShadow:!1}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block"}}]},m=e=>{const{componentCls:t,antCls:o}=e,[n]=(0,c.PN)(o,"tooltip");return{[t]:l.s.map(o=>{const r=e[`${o}6`];return{[`&${t}-${o}`]:{[n("arrow-background-color")]:r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},u=(0,c.OF)("Popover",e=>{const{colorBgElevated:t,colorText:o}=e,n=(0,s.oX)(e,{popoverBg:t,popoverColor:o});return[d(n),m(n),(0,r.aB)(n,"zoom-big")]},e=>{const{lineWidth:t,controlHeight:o,fontHeight:n,padding:r,wireframe:l,zIndexPopupBase:s,borderRadiusLG:c,marginXS:d,lineType:m,colorSplit:u,paddingSM:p}=e,g=o-n,h=g/2,f=g/2-t,$=r;return{titleMinWidth:177,zIndexPopup:s+30,...(0,a.n)(e),...(0,i.K)({contentRadius:c,limitVerticalRadius:!0}),innerPadding:l?0:12,titleMarginBottom:l?0:d,titlePadding:l?`${h}px ${$}px ${f}px`:0,titleBorderBottom:l?`${t}px ${m} ${u}`:"none",innerContentPadding:l?`${p}px ${$}px`:0}},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});o.d(t,["A",0,u])},55615:(e,t,o)=>{o.d(t,{A:()=>D});var n=o(14041),r=o(81316),i=o(238),a=o(98278),l=o(13744),s=o(48657),c=o(35342),d=o(24838),m=o(35753),u=o(35018),p=o(9642),g=o(14399),h=o(38010),f=o(8947);function $(e){return!e||e<0?0:e>100?100:e}function b({success:e}){let t;return e&&"percent"in e&&(t=e.percent),t}const v=(e,t,o)=>{let n=-1,r=-1;if("step"===t){const t=o.steps,i=o.strokeWidth;"string"==typeof e||void 0===e?(n="small"===e?2:14,r=i??8):(0,u.Et)(e)?[n,r]=[e,e]:[n=14,r=8]=Array.isArray(e)?e:[e.width,e.height],n*=t}else if("line"===t){const t=o?.strokeWidth;"string"==typeof e||void 0===e?r=t||("small"===e?6:8):(0,u.Et)(e)?[n,r]=[e,e]:[n=-1,r=8]=Array.isArray(e)?e:[e.width,e.height]}else"circle"!==t&&"dashboard"!==t||("string"==typeof e||void 0===e?[n,r]="small"===e?[60,60]:[120,120]:(0,u.Et)(e)?[n,r]=[e,e]:Array.isArray(e)&&(n=e[0]??e[1]??120,r=e[0]??e[1]??120));return[n,r]},x=["root","body","indicator"],y=e=>{const{prefixCls:t,classNames:o,styles:r,railColor:i,trailColor:a,strokeLinecap:l="round",gapPosition:s,gapPlacement:m,gapDegree:y,width:C=120,type:S,children:k,success:w,size:E=C,steps:A}=e,{direction:z}=(0,p.TP)("progress"),I=i??a,[B,N]=v(E,"circle");let{strokeWidth:M}=e;void 0===M&&(M=Math.max((e=>3/e*100)(B),6));const T={width:B,height:N,fontSize:.15*B+6},P=n.useMemo(()=>y||0===y?y:"dashboard"===S?75:void 0,[y,S]),R=(({percent:e,success:t})=>{const o=$(b({success:t}));return[o,$($(e)-o)]})(e),H=n.useMemo(()=>{const e=(m??s)||"dashboard"===S&&"bottom"||void 0,t="rtl"===z;switch(e){case"start":return t?"right":"left";
1case"end":return t?"left":"right";default:return e}},[z,m,s,S]),F=(0,u.Qd)(e.strokeColor),D=(({success:e={},strokeColor:t})=>{const{strokeColor:o}=e;return[o||f.presetPrimaryColors.green,t||null]})({success:w,strokeColor:e.strokeColor}),L=(0,d.$)(`${t}-body`,{[`${t}-circle-gradient`]:F},o.body),W=n.createElement(g.j,{steps:A,percent:A?R[1]:R,strokeWidth:M,railWidth:M,strokeColor:A?D[1]:D,strokeLinecap:l,railColor:I,prefixCls:t,gapDegree:P,gapPosition:H,classNames:(0,c.cJ)(o,x),styles:(0,c.cJ)(r,x)}),O=B<=20,X=n.createElement("div",{className:L,style:{...T,...r.body}},W,!O&&k);return O?n.createElement(h.A,{title:k},X):X};var C=o(86285),S=o(48408),k=o(32257),w=o(18764);const E="--progress-line-stroke-color",A=e=>{const t=e?"100%":"-100%";return new C.Mo(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},z=e=>{const{componentCls:t,iconCls:o}=e;return{[t]:{...(0,S.dF)(e),display:"inline-flex","&-rtl":{direction:"rtl"},[`${t}-indicator`]:{color:e.colorText,lineHeight:1,whiteSpace:"nowrap",verticalAlign:"middle",wordBreak:"normal",[o]:{fontSize:e.fontSize}},[`&${t}-status-exception`]:{[`${t}-indicator`]:{color:e.colorError}},[`&${t}-status-success`]:{[`${t}-indicator`]:{color:e.colorSuccess}}}}},I=e=>{const{componentCls:t}=e;return{[`${t}-line`]:{position:"relative",width:"100%",fontSize:e.fontSize,[`${t}-body`]:{display:"inline-flex",alignItems:"center",width:"100%",gap:e.marginXS},[`${t}-rail`]:{flex:"auto",background:e.remainingColor,borderRadius:e.lineBorderRadius,position:"relative",width:"100%",overflow:"hidden"},[`&${t}-status-active`]:{[`${t}-track:after`]:{content:'""',position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:"inherit",opacity:0,animationName:A(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite"}},[`${t}-track`]:{position:"absolute",insetInlineStart:0,insetBlock:0,borderRadius:"inherit",background:e.defaultColor,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,minWidth:"max-content",display:"flex",alignItems:"center","&-success":{background:e.colorSuccess}},[`&${t}-status-exception`]:{[`${t}-track`]:{background:e.colorError}},[`&${t}-status-success`]:{[`${t}-track`]:{background:e.colorSuccess}},[`${t}-indicator-outer`]:{[`&${t}-indicator-start`]:{order:-1}},[`${t}-body-layout-bottom`]:{flexDirection:"column",alignItems:"center",gap:e.marginXXS},[`${t}-indicator${t}-indicator-inner`]:{color:e.colorWhite,paddingInline:e.paddingXXS,width:"100%",display:"flex",justifyContent:"center",[`&${t}-indicator-end`]:{justifyContent:"end"},[`&${t}-indicator-start`]:{justifyContent:"start"},[`&${t}-indicator-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}}},B=e=>{const{componentCls:t,iconCls:o}=e;return{[`${t}-circle`]:{[`${t}-circle-rail`]:{stroke:e.remainingColor},[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-body`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`${t}-indicator`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[o]:{fontSize:e.circleIconFontSize}},[`&${t}-status-exception`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}}},[`&${t}-status-success`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},N=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-body":{display:"flex",flexDirection:"row",alignItems:"center",gap:e.progressStepMarginInlineEnd,[`${t}-indicator`]:{marginInlineStart:e.marginXS}},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},M=e=>{const{componentCls:t,iconCls:o}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-indicator ${o}`]:{fontSize:e.fontSizeSM}}}},T=(0,k.OF)("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),o=(0,w.oX)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[z(o),I(o),B(o),N(o),M(o)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:e.fontSize/e.fontSizeSM+"em"})),P=e=>{const{prefixCls:t,classNames:o,styles:r,direction:i,percent:a,size:l,strokeWidth:s,strokeColor:c,strokeLinecap:m="round",children:u,railColor:p,trailColor:g,percentPosition:h,success:x}=e,{align:y,type:C}
1=h,S=p??g,k="square"===m||"butt"===m?0:void 0,w=l??[-1,s||("small"===l?6:8)],[A,z]=v(w,"line",{strokeWidth:s}),I={backgroundColor:S||void 0,borderRadius:k,height:z},B=`${t}-track`,N=c&&"string"!=typeof c?((e,t)=>{const{from:o=f.presetPrimaryColors.blue,to:n=f.presetPrimaryColors.blue,direction:r=("rtl"===t?"to left":"to right"),...i}=e;if(0!==Object.keys(i).length){const e=`linear-gradient(${r}, ${(e=>{let t=[];return Object.keys(e).forEach(o=>{const n=Number.parseFloat(o.replace(/%/g,""));Number.isNaN(n)||t.push({key:n,value:e[o]})}),t=t.sort((e,t)=>e.key-t.key),t.map(({key:e,value:t})=>`${t} ${e}%`).join(", ")})(i)})`;return{background:e,[E]:e}}const a=`linear-gradient(${r}, ${o}, ${n})`;return{background:a,[E]:a}})(c,i):{[E]:c,background:c},M={width:`${$(a)}%`,height:z,borderRadius:k,...N},T=b(e),P={width:`${$(T)}%`,height:z,borderRadius:k,backgroundColor:x?.strokeColor};return n.createElement("div",{className:(0,d.$)(`${t}-body`,o.body,{[`${t}-body-layout-bottom`]:"center"===y&&"outer"===C}),style:{width:A>0?A:"100%",...r.body}},n.createElement("div",{className:(0,d.$)(`${t}-rail`,o.rail),style:{...I,...r.rail}},n.createElement("div",{className:(0,d.$)(B,o.track),style:{...M,...r.track}},"inner"===C&&u),void 0!==T&&n.createElement("div",{className:(0,d.$)(B,`${B}-success`,o.track),style:{...P,...r.track}})),"outer"===C&&u)},R=e=>{const{classNames:t,styles:o,size:r,steps:i,rounding:a=Math.round,percent:l=0,strokeWidth:s=8,strokeColor:c,railColor:m,trailColor:u,prefixCls:p,children:g}=e,h=a(i*(l/100)),f=r??["small"===r?2:14,s],[$,b]=v(f,"step",{steps:i,strokeWidth:s}),x=$/i,y=Array.from({length:i}),C=m??u;for(let e=0;e<i;e++){const r=Array.isArray(c)?c[e]:c;y[e]=n.createElement("div",{key:e,className:(0,d.$)(`${p}-steps-item`,{[`${p}-steps-item-active`]:e<=h-1},t.track),style:{backgroundColor:e<=h-1?r:C,width:x,height:b,...o.track}})}return n.createElement("div",{className:(0,d.$)(`${p}-steps-body`,t.body),style:o.body},y,g)},H=["normal","exception","active","success"],F=n.forwardRef((e,t)=>{const{prefixCls:o,className:g,rootClassName:h,classNames:f,styles:x,steps:C,strokeColor:S,percent:k=0,size:w="medium",showInfo:E=!0,type:A="line",status:z,format:I,style:B,percentPosition:N={},...M}=e,{align:F="end",type:D="outer"}=N,L=Array.isArray(S)?S[0]:S,W="string"==typeof S||Array.isArray(S)?S:void 0,O=n.useMemo(()=>{if(L){const e="string"==typeof L?L:Object.values(L)[0];return new r.Y(e).isLight()}return!1},[S]),X=n.useMemo(()=>{const t=b(e);return Number.parseInt(void 0!==t?(t??0)?.toString():(k??0)?.toString(),10)},[k,e.success]),_=n.useMemo(()=>!H.includes(z)&&X>=100?"success":z||"normal",[z,X]),{getPrefixCls:q,direction:j,className:G,style:K,classNames:V,styles:Q}=(0,p.TP)("progress"),Y=q("progress",o),[U,Z]=T(Y),J={...e,percent:k,type:A,size:w,showInfo:E,percentPosition:N},ee=(0,m.XT)(K),te=(0,m.XT)(B),[oe,ne]=(0,m.AV)([V,f],[Q,ee,x,te],{props:J}),re="line"===A,ie=re&&!C,ae=n.useMemo(()=>{if(!E)return null;const t=b(e);let o;const r=re&&O&&"inner"===D;return"inner"===D||I||"exception"!==_&&"success"!==_?o=(I||(e=>`${e}%`))($(k),$(t)):"exception"===_?o=re?n.createElement(l.A,null):n.createElement(s.A,null):"success"===_&&(o=re?n.createElement(i.A,null):n.createElement(a.A,null)),n.createElement("span",{className:(0,d.$)(`${Y}-indicator`,{[`${Y}-indicator-bright`]:r,[`${Y}-indicator-${F}`]:ie,[`${Y}-indicator-${D}`]:ie},oe.indicator),style:ne.indicator,title:"string"==typeof o?o:void 0},o)},[E,k,X,_,A,Y,I,re,O,D,F,ie,oe.indicator,ne.indicator]),le={...e,classNames:oe,styles:ne};let se;"line"===A?se=C?n.createElement(R,{...le,strokeColor:W,prefixCls:Y,steps:(0,u.Qd)(C)?C.count:C},ae):n.createElement(P,{...le,strokeColor:L,prefixCls:Y,direction:j,percentPosition:{align:F,type:D}},ae):"circle"!==A&&"dashboard"!==A||(se=n.createElement(y,{...le,strokeColor:L,prefixCls:Y,progressStatus:_},ae));const ce=(0,d.$)(Y,`${Y}-status-${_}`,{[`${Y}-${"dashboard"===A?"circle":A}`]:"line"!==A,[`${Y}-inline-circle`]:"circle"===A&&v(w,"circle")[0]<=20,[`${Y}-line`]:ie,[`${Y}-line-align-${F}`]:ie,[`${Y}-line-position-${D}`]:ie,[`${Y}-steps`]:C,[`${Y}-show-info`]:E,[`${Y}-small`]:"small"===w,[`${Y}-rtl`]:"rtl"===j},G,g,h,oe.root,U,Z);return n.createElement("div",{ref:t,style:ne.root,className:ce,role:"progressbar","aria-valuenow":X,"aria-valuemin":0,"aria-valuemax":100,...(0,c.cJ)(M,["railColor","trailColor","strokeWidth","width","gapDegree","gapPosition","gapPlacement","strokeLinecap","success"])},se)}),D=F},63369:(e,t,o)=>{var n=o(14041);const r=n.createContext(void 0),i=r.Provider,a=r,l=n.createContext(void 0),s=l.Provider;o.d(t,["Ay",0,a,"Eb",0,l,"Ng",0,s,"XO",0,i])},37817:(e,t,o)=>{var n=o(14041),r=o(35342),i=o(24838),a=o(56244),l=o(35018),s=o(9642),c=o(50509),d=o(17392),m=o(65754),u=o(28475),p=o(63369),g=o(86877),h=o(83792);const f=n.forwardRef((e,t)=>
1{const{getPrefixCls:o,direction:f}=n.useContext(s.QO),{name:$}=n.useContext(m.$W),b=(0,r.Bi)((0,u.H)($)),{prefixCls:v,className:x,rootClassName:y,options:C,buttonStyle:S="outline",disabled:k,children:w,size:E,style:A,id:z,optionType:I,name:B=b,defaultValue:N,value:M,block:T=!1,onChange:P,onMouseEnter:R,onMouseLeave:H,onFocus:F,onBlur:D,orientation:L,vertical:W,role:O="radiogroup"}=e,[X,_]=(0,r.PW)(N,M),q=n.useCallback(e=>{const t=X,o=e.target.value;_(o),o!==t&&P?.(e)},[X,_,P]),j=o("radio",v),G=`${j}-group`,K=(0,c.A)(j),[V,Q]=(0,h.A)(j,K);let Y=w;C&&C.length>0&&(Y=C.map(e=>"string"==typeof e||(0,l.Et)(e)?n.createElement(g.A,{key:e.toString(),prefixCls:j,disabled:k,value:e,checked:X===e},e):n.createElement(g.A,{key:`radio-group-value-options-${e.value}`,prefixCls:j,disabled:e.disabled||k,value:e.value,checked:X===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required,onChange:e.onChange},e.label)));const U=(0,d.A)(E),[,Z]=(0,a.M)(L,W),J=(0,i.$)(G,`${G}-${S}`,{[`${G}-large`]:"large"===U,[`${G}-small`]:"small"===U,[`${G}-rtl`]:"rtl"===f,[`${G}-block`]:T},x,y,V,Q,K),ee=n.useMemo(()=>({onChange:q,value:X,disabled:k,name:B,optionType:I,block:T}),[q,X,k,B,I,T]);return n.createElement("div",{...(0,r.KE)(e,{aria:!0,data:!0}),role:O,className:(0,i.$)(J,{[`${j}-group-vertical`]:Z}),style:A,onMouseEnter:R,onMouseLeave:H,onFocus:F,onBlur:D,id:z,ref:t},n.createElement(p.XO,{value:ee},Y))}),$=n.memo(f);o.d(t,["A",0,$])},86877:(e,t,o)=>{var n=o(14041),r=o(10402),i=o(35342),a=o(24838),l=o(35753),s=o(43672),c=o(57383),d=o(63520),m=o(9642),u=o(19106),p=o(50509),g=o(65754),h=o(63369),f=o(83792);const $=(e,t)=>{const o=n.useContext(h.Ay),$=n.useContext(h.Eb),{getPrefixCls:b,direction:v,className:x,style:y,classNames:C,styles:S}=(0,m.TP)("radio"),k=n.useRef(null),w=(0,i.K4)(t,k),{isFormItemInput:E}=n.useContext(g.$W),{prefixCls:A,className:z,rootClassName:I,children:B,style:N,title:M,classNames:T,styles:P,checked:R,...H}=e,F=b("radio",A),D="button"===(o?.optionType||$),L=D?`${F}-button`:F,W=(0,p.A)(F),[O,X]=(0,f.A)(F,W),_={...H},q=n.useContext(u.A),j="checked"in e;let G=R;o&&(_.name=o.name,_.onChange=t=>{e.onChange?.(t),o?.onChange?.(t)},G=e.value===o.value,_.disabled=_.disabled??o.disabled),(j||o)&&(_.checked=G),_.disabled=_.disabled??q;const K={...e,..._,checked:G},V=(0,l.XT)(y),Q=(0,l.XT)(N),[Y,U]=(0,l.AV)([C,T],[S,V,P,Q],{props:K}),Z=(0,a.$)(`${L}-wrapper`,{[`${L}-wrapper-checked`]:G,[`${L}-wrapper-disabled`]:_.disabled,[`${L}-wrapper-rtl`]:"rtl"===v,[`${L}-wrapper-in-form-item`]:E,[`${L}-wrapper-block`]:!!o?.block},x,z,I,Y.root,O,X,W),[J,ee]=(0,d.A)(_.onClick);return n.createElement(s.A,{component:"Radio",disabled:_.disabled},n.createElement("label",{className:Z,style:U.root,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:M,onClick:J},n.createElement(r.A,{..._,className:(0,a.$)(Y.icon,{[c.D]:!D}),style:U.icon,type:"radio",prefixCls:L,ref:w,onClick:ee}),(0,i.AZ)(B)?n.createElement("span",{className:(0,a.$)(`${L}-label`,Y.label),style:U.label},B):null))},b=n.forwardRef($);o.d(t,["A",0,b])},18685:(e,t,o)=>{var n=o(14041),r=o(9642),i=o(63369),a=o(86877);const l=(e,t)=>{const{getPrefixCls:o}=n.useContext(r.QO),{prefixCls:l,...s}=e,c=o("radio",l);return n.createElement(i.Ng,{value:"button"},n.createElement(a.A,{prefixCls:c,...s,type:"radio",ref:t}))},s=n.forwardRef(l);o.d(t,["A",0,s])},83792:(e,t,o)=>{var n=o(86285),r=o(48408),i=o(18764),a=o(32257);const l=e=>{const{componentCls:t,antCls:o,lineWidth:n,borderRadius:i,borderRadiusLG:a,borderRadiusSM:l,calc:s}=e,c=`${t}-group`,d=`${t}-button-wrapper`,m=`${o}-badge`,u=e=>({[`> ${m}`]:{width:"auto"},[`> ${m} > ${d}`]:{width:"100%"},[`> ${m}:not(:last-child)`]:{marginBlockEnd:s(n).mul(-1).equal()},[`> ${m} > ${d}:not(:last-child)`]:{marginBlockEnd:0},[`> ${m}:first-child > ${d}`]:{borderStartStartRadius:e,borderStartEndRadius:e,borderEndStartRadius:0,borderEndEndRadius:0},[`> ${m}:last-child > ${d}`]:{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:e,borderEndEndRadius:e},[`> ${m}:not(:first-child):not(:last-child) > ${d}`]:{borderRadius:0},[`> ${m}:first-child:last-child > ${d}`]:{borderRadius:e}});return{[c]:{...(0,r.dF)(e),display:"inline-block",fontSize:0,[`&${c}-rtl`]:{direction:"rtl"},[`&${c}-block`]:{display:"flex"},[`${o}-badge ${o}-badge-count`]:{zIndex:1},[`> ${o}-badge:not(:first-child) > ${o}-button-wrapper`]:{borderInlineStart:"none"},"&-vertical":{display:"flex",flexDirection:"column",rowGap:e.marginXS,[`&:has(> ${d}, > ${m} > ${d})`]:{rowGap:0},[`${t}-wrapper`]:{marginInlineEnd:0},...u(i),[`&${c}-large`]:{...u(a)},[`&${c}-small`]:{...u(l)}}}}},s=e=>{const{componentCls:t,wrapperMarginInlineEnd:o,colorPrimary:i,colorPrimaryHover:a,radioSize:l,motionDurationSlow:s,motionDurationMid:c,motionEaseInOutCirc:d,colorBgContainer:m,colorBorder:u,lineWidth:p,colorBgContainerDisabled:g,colorTextDisabled:h,paddingXS:f,dotColorDisabled:$,dotSize:b,lineType:v,radioColor:x,radioBgColor:y}=e;return{[`${t}-wrapper`]:{...(0,r.dF)(e),display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:o,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]:{...(0,r.dF)(e),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",boxSizing:"border-box",display:"block",width:`calc(${l} * 1px)`,height:`calc(${l} * 1px)`,backgroundColor:m,border:`${(0,n.zA)(p)} ${v} ${u}`,borderRadius:"50%",transition:`all ${c}`,flex:"none","&:after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%) scale(0)",width:`calc(${b} * 1px)`,height:`calc(${b} * 1px)`,backgroundColor:x,borderRadius:"50%",transformOrigin:"50% 50%",opacity:0,transition:`all ${s} ${d}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:(0,r.jk)(e)},[`&:hover:not(${t}-wrapper-disabled) ${t}`]:{borderColor:i},[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:a,borderColor:"transparent"},[`${t}-checked`]:{backgroundColor:y,borderColor:i,"&::after":{transform:"translate(-50%, -50%)",opacity:1}},[`${t}-disabled`]:{[`&, ${t}
1-input`]:{cursor:"not-allowed",pointerEvents:"none"},background:g,borderColor:u,"&::after":{backgroundColor:$}},[`${t}-disabled + span`]:{color:h,cursor:"not-allowed"},[`span${t} + *`]:{paddingInlineStart:f,paddingInlineEnd:f}}}},c=e=>{const{buttonColor:t,controlHeight:o,componentCls:i,lineWidth:a,lineType:l,colorBorder:s,motionDurationMid:c,buttonPaddingInline:d,fontSize:m,buttonBg:u,fontSizeLG:p,controlHeightLG:g,controlHeightSM:h,paddingXS:f,borderRadius:$,borderRadiusSM:b,borderRadiusLG:v,buttonCheckedBg:x,buttonSolidCheckedColor:y,colorTextDisabled:C,colorBgContainerDisabled:S,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:w,colorPrimary:E,colorPrimaryHover:A,colorPrimaryActive:z,buttonSolidCheckedBg:I,buttonSolidCheckedHoverBg:B,buttonSolidCheckedActiveBg:N,calc:M}=e;return{[`${i}-button-wrapper`]:{position:"relative",display:"inline-block",height:o,margin:0,paddingInline:d,paddingBlock:0,color:t,fontSize:m,lineHeight:(0,n.zA)(M(o).sub(M(a).mul(2)).equal()),background:u,border:`${(0,n.zA)(a)} ${l} ${s}`,borderBlockStartWidth:M(a).add(.02).equal(),borderInlineEndWidth:a,cursor:"pointer",transition:["color","background-color","box-shadow"].map(e=>`${e} ${c}`).join(","),a:{color:t},[`> ${i}-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:`${(0,n.zA)(a)} ${l} ${s}`,borderStartStartRadius:$,borderEndStartRadius:$},"&:last-child":{borderStartEndRadius:$,borderEndEndRadius:$},"&:first-child:last-child":{borderRadius:$},[`${i}-group-large &`]:{height:g,fontSize:p,lineHeight:(0,n.zA)(M(g).sub(M(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${i}-group-small &`]:{height:h,paddingInline:M(f).sub(a).equal(),paddingBlock:0,lineHeight:(0,n.zA)(M(h).sub(M(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${i}-group-vertical > &`]:{marginInlineEnd:0,borderRadius:0,"&:not(:last-child)":{marginBlockEnd:M(a).mul(-1).equal()},"&:first-child":{borderStartStartRadius:$,borderStartEndRadius:$,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:$,borderEndEndRadius:$},"&:first-child:last-child":{borderRadius:$}},[`${i}-group-vertical${i}-group-large > &`]:{"&:first-child":{borderStartStartRadius:v,borderStartEndRadius:v},"&:last-child":{borderEndStartRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v}},[`${i}-group-vertical${i}-group-small > &`]:{"&:first-child":{borderStartStartRadius:b,borderStartEndRadius:b},"&:last-child":{borderEndStartRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b}},"&:hover":{position:"relative",color:E},"&:has(:focus-visible)":(0,r.jk)(e),[`${i}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${i}-button-wrapper-disabled)`]:{zIndex:1,color:E,background:x,borderColor:E,"&::before":{backgroundColor:E},"&:first-child":{borderColor:E},"&:hover":{color:A,borderColor:A,"&::before":{backgroundColor:A}},"&:active":{color:z,borderColor:z,"&::before":{backgroundColor:z}}},[`${i}-group-solid &-checked:not(${i}-button-wrapper-disabled)`]:{color:y,background:I,borderColor:I,"&:hover":{color:y,background:B,borderColor:B},"&:active":{color:y,background:N,borderColor:N}},"&-disabled":{color:C,backgroundColor:S,borderColor:s,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:S,borderColor:s}},[`&-disabled${i}-button-wrapper-checked`]:{color:w,backgroundColor:k,borderColor:s,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},d=(0,a.OF)("Radio",e=>{const{controlOutline:t,controlOutlineWidth:o}=e,r=`0 0 0 ${(0,n.zA)(o)} ${t}`,a=r,d=(0,i.oX)(e,{radioFocusShadow:r,radioButtonFocusShadow:a});return[l(d),s(d),c(d)]},e=>{const{wireframe:t,padding:o,marginXS:n,lineWidth:r,fontSizeLG:i,
1colorText:a,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:c,colorTextLightSolid:d,colorPrimary:m,colorPrimaryHover:u,colorPrimaryActive:p,colorWhite:g}=e;return{radioSize:i,dotSize:t?i-8:i-2*(4+r),dotColorDisabled:s,buttonSolidCheckedColor:d,buttonSolidCheckedBg:m,buttonSolidCheckedHoverBg:u,buttonSolidCheckedActiveBg:p,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:s,buttonPaddingInline:o-r,wrapperMarginInlineEnd:n,radioColor:t?m:g,radioBgColor:t?l:m}},{unitless:{radioSize:!0,dotSize:!0}});o.d(t,["A",0,d])},76012:(e,t,o)=>{o.d(t,{A:()=>C});var n=o(14041),r=o(67594),i=o(35342),a=o(24838),l=o(56244),s=o(35753),c=o(35018),d=o(9642),m=o(17392),u=o(38010),p=o(86285),g=o(48408),h=o(32257),f=o(18764);function $(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}const b=e=>({background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}),v={overflow:"hidden",...g.L9},x=(0,h.OF)("Segmented",e=>{const{lineWidth:t,calc:o}=e;return(e=>{const{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,motionDurationMid:r}=e,i=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),a=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),l=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:{...(0,g.dF)(e),display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${r}`,...(0,g.K8)(e),[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${(0,p.zA)(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${r}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":{...b(e),color:e.itemSelectedColor},"&-selected-text":{color:e.itemSelectedColor,transition:`color ${r}`},"&-focused":(0,g.jk)(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,pointerEvents:"none",transition:["opacity","background-color"].map(e=>`${e} ${r}`).join(", ")},[`&:not(${t}-item-selected):not(${t}-item-selected-text):not(${t}-item-disabled)`]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":{minHeight:i,lineHeight:(0,p.zA)(i),padding:`0 ${(0,p.zA)(e.segmentedPaddingHorizontal)}`,...v},"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-icon > svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"}
1,"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:{...b(e),position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,p.zA)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}},[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:a,lineHeight:(0,p.zA)(a),padding:`0 ${(0,p.zA)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:l,lineHeight:(0,p.zA)(l),padding:`0 ${(0,p.zA)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}},...$(`&-disabled ${t}-item`,e),...$(`${t}-item-disabled`,e),[`${t}-thumb-motion-appear-active`]:{willChange:"transform, width",transition:["transform","width"].map(e=>`${e} ${o} ${n}`).join(", ")},[`&${t}-shape-round`]:{borderRadius:9999,[`${t}-item, ${t}-thumb`]:{borderRadius:9999}}}}})((0,f.oX)(e,{segmentedPaddingHorizontal:o(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:o(e.controlPaddingHorizontalSM).sub(t).equal()}))},e=>{const{colorTextLabel:t,colorText:o,colorFillSecondary:n,colorBgElevated:r,colorFill:i,lineWidthBold:a,colorBgLayout:l}=e;return{trackPadding:a,trackBg:l,itemColor:t,itemHoverColor:o,itemHoverBg:n,itemSelectedBg:r,itemActiveBg:i,itemSelectedColor:o}}),y=n.forwardRef((e,t)=>{const o=(0,i.Bi)(),{prefixCls:p,className:g,rootClassName:h,block:f,options:$=[],size:b,style:v,vertical:y,orientation:C,shape:S="default",name:k=o,styles:w,classNames:E,...A}=e,{getPrefixCls:z,direction:I,className:B,style:N,classNames:M,styles:T}=(0,d.TP)("segmented"),P={...e,options:$,size:b,shape:S},R=(0,s.XT)(N),H=(0,s.XT)(v),[F,D]=(0,s.AV)([M,E],[T,R,w,H],{props:P}),L=z("segmented",p),[W,O]=x(L),X=(0,m.A)(b),_=n.useMemo(()=>$.map(e=>{if(function(e){return(0,c.Qd)(e)&&!!e?.icon}(e)){const{icon:t,label:o,...r}=e;return{...r,label:n.createElement(n.Fragment,null,n.createElement("span",{className:(0,a.$)(`${L}-item-icon`,F.icon),style:D.icon},t),(0,i.AZ)(o)&&n.createElement("span",null,o))}}return e}),[$,L,F.icon,D.icon]),[,q]=(0,l.M)(C,y),j=(0,a.$)(g,h,B,F.root,{[`${L}-block`]:f,[`${L}-sm`]:"small"===X,[`${L}-lg`]:"large"===X,[`${L}-vertical`]:q,[`${L}-shape-${S}`]:"round"===S},W,O);return n.createElement(r.A,{...A,name:k,className:j,style:D.root,classNames:F,styles:D,itemRender:(e,{item:t})=>{if(!t.tooltip)return e;const o=(0,c.Qd)(t.tooltip)?t.tooltip:{title:t.tooltip};return n.createElement(u.A,{...o},e)},options:_,ref:t,prefixCls:L,direction:I,vertical:q})}),C=y},34595:(e,t,o)=>{var n=o(14041),r=o(61112),i=o(35342),a=o(24838),l=o(7010),s=o(35753),c=o(85528),d=o(6850),m=o(74132),u=o(43307),p=o(9642),g=o(34203),h=o(19106),f=o(50509),$=o(17392),b=o(65754),v=o(64719),x=o(5537),y=o(4842),C=o(30012),S=o(41437),
1k=o(65752),w=o(49308),E=o(67728);const A="SECRET_COMBOBOX_MODE_DO_NOT_USE",z=(e,t)=>{const{prefixCls:o,bordered:m,className:z,rootClassName:I,getPopupContainer:B,popupClassName:N,dropdownClassName:M,listHeight:T=256,placement:P,listItemHeight:R,size:H,disabled:F,notFoundContent:D,status:L,builtinPlacements:W,dropdownMatchSelectWidth:O,popupMatchSelectWidth:X,direction:_,style:q,allowClear:j,variant:G,popupStyle:K,dropdownStyle:V,transitionName:Q,tagRender:Y,maxCount:U,prefix:Z,dropdownRender:J,popupRender:ee,onDropdownVisibleChange:te,onOpenChange:oe,styles:ne,classNames:re,clearIcon:ie,showSearch:ae,...le}=e,{getPopupContainer:se,getPrefixCls:ce,renderEmpty:de,direction:me,virtual:ue,popupMatchSelectWidth:pe,popupOverflow:ge}=n.useContext(p.QO),{showSearch:he,allowClear:fe,style:$e,styles:be,className:ve,classNames:xe,clearIcon:ye,loadingIcon:Ce,menuItemSelectedIcon:Se,removeIcon:ke,suffixIcon:we}=(0,p.TP)("select"),[,Ee]=(0,y.Ay)(),Ae=R??Ee?.controlHeight,ze=ce("select",o),Ie=ce(),Be=_??me,{compactSize:Ne,compactItemClassnames:Me}=(0,x.RQ)(ze,Be),[Te,Pe]=(0,v.A)("select",G,m),Re=(0,f.A)(ze),[He,Fe]=(0,S.A)(ze,Re),De=n.useMemo(()=>{const{mode:t}=e;if("combobox"!==t)return t===A?"combobox":t},[e.mode]),Le="multiple"===De||"tags"===De,We=(0,E.A)(e.suffixIcon,e.showArrow),Oe=X??O??pe,Xe=(0,w.A)(ee||J),_e=oe||te,{status:qe,hasFeedback:je,isFormItemInput:Ge,feedbackIcon:Ke}=n.useContext(b.$W),Ve=(0,u.v)(qe,L);let Qe;Qe=void 0!==D?D:"combobox"===De?null:de?.("Select")||n.createElement(g.A,{componentName:"Select"});const{suffixIcon:Ye,itemIcon:Ue,removeIcon:Ze,clearIcon:Je}=(0,k.A)({...le,multiple:Le,hasFeedback:je,feedbackIcon:Ke,showSuffixIcon:We,prefixCls:ze,componentName:"Select",clearIcon:ie,searchIcon:(0,d.A)(ae,"searchIcon"),contextClearIcon:ye,contextLoadingIcon:Ce,contextMenuItemSelectedIcon:Se,contextRemoveIcon:ke,contextSearchIcon:(0,d.A)(he,"searchIcon"),contextSuffixIcon:we}),et=j??fe,tt=!0===et?{clearIcon:Je}:et,ot=ae??he,nt=(0,i.cJ)(le,["suffixIcon","itemIcon"]),rt=(0,$.A)(e=>H??Ne??e),it=n.useContext(h.A),at=F??it,lt={...e,variant:Te,status:Ve,disabled:at,size:rt},st=(0,s.XT)($e),ct=(0,s.XT)(q),[dt,mt]=(0,s.AV)([xe,re],[be,st,ne,ct],{props:lt},{popup:{_default:"root"}}),ut=(0,a.$)(dt.popup.root,N,M,{[`${ze}-dropdown-${Be}`]:"rtl"===Be},I,Fe,Re,He),pt={...mt.popup?.root,...K??V},gt=(0,a.$)({[`${ze}-lg`]:"large"===rt,[`${ze}-sm`]:"small"===rt,[`${ze}-rtl`]:"rtl"===Be,[`${ze}-${Te}`]:Pe,[`${ze}-in-form-item`]:Ge},(0,u.L)(ze,Ve,je),Me,ve,z,dt.root,I,Fe,Re,He),ht=n.useMemo(()=>void 0!==P?P:"rtl"===Be?"bottomRight":"bottomLeft",[P,Be]),[ft]=(0,l.YK)("SelectLike",mt.popup.root?.zIndex??pt.zIndex);return n.createElement(r.Ay,{ref:t,virtual:ue,classNames:dt,styles:mt,showSearch:ot,...nt,style:mt.root,popupMatchSelectWidth:Oe,transitionName:(0,c.b)(Ie,"slide-up",Q),builtinPlacements:(0,C.A)(W,ge),listHeight:T,listItemHeight:Ae,mode:De,prefixCls:ze,placement:ht,direction:Be,prefix:Z,suffixIcon:Ye,menuItemSelectedIcon:Ue,removeIcon:Ze,allowClear:tt,notFoundContent:Qe,className:gt,getPopupContainer:B||se,popupClassName:ut,disabled:at,popupStyle:{...mt.popup.root,...pt,zIndex:ft},maxCount:Le?U:void 0,tagRender:Le?Y:void 0,popupRender:Xe,onPopupVisibleChange:_e})},I=n.forwardRef(z),B=(0,m.A)(I,"popupAlign");I.SECRET_COMBOBOX_MODE_DO_NOT_USE=A,I.Option=r.c$,I.OptGroup=r.JM,I._InternalPanelDoNotUseOrYouWillBeFired=B;const N=I;o.d(t,["A",0,N])},30012:(e,t,o)=>{o.d(t,["A",0,function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:{...t,points:["tl","bl"],offset:[0,4]},bottomRight:{...t,points:["tr","br"],offset:[0,4]},topLeft:{...t,points:["bl","tl"],offset:[0,-4]},topRight:{...t,points:["br","tr"],offset:[0,-4]}}})(t)}])},41437:(e,t,o)=>{o.d(t,{A:()=>x});var n=o(48408),r=o(1741),i=o(32257),a=o(18764),l=o(93230),s=o(49014);const c=e=>{const{optionHeight:t,optionFontSize:o,optionLineHeight:n,optionPadding:r}=e;return{position:"relative",display:"block",minHeight:t,padding:r,color:e.colorText,fontWeight:"normal",fontSize:o,lineHeight:n,boxSizing:"border-box"}},d=e=>
1{const{antCls:t,componentCls:o}=e,r=`${o}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,d=`&${t}-slide-up-leave${t}-slide-up-leave-active`,m=`${o}-dropdown-placement-`,u=`${r}-option-selected`;return[{[`${o}-dropdown`]:{...(0,n.dF)(e),position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${i}${m}bottomLeft,\n ${a}${m}bottomLeft\n `]:{animationName:l.ox},[`\n ${i}${m}topLeft,\n ${a}${m}topLeft,\n ${i}${m}topRight,\n ${a}${m}topRight\n `]:{animationName:l.nP},[`${d}${m}bottomLeft`]:{animationName:l.vR},[`\n ${d}${m}topLeft,\n ${d}${m}topRight\n `]:{animationName:l.YU},"&-hidden":{display:"none"},[`${o}-dropdown-list-scrollbar`]:{cursor:"pointer","&:hover":{backgroundColor:e.colorFillQuaternary}},[r]:{...c(e),cursor:"pointer",transition:`background-color ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":{flex:"auto",...n.L9},"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected${r}-option-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgActiveHover},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...c(e),color:e.colorTextDisabled}},[`${u}:has(+ ${u})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${u}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}}},(0,l._j)(e,"slide-up"),(0,l._j)(e,"slide-down"),(0,s.Mh)(e,"move-up"),(0,s.Mh)(e,"move-down")]};var m=o(86285);const u=e=>{const{antCls:t,componentCls:o}=e,n={background:"transparent"},r=["> input[disabled]","> textarea[disabled]",`> ${o}-input`,`> ${t}-input-affix-wrapper-disabled`,`> ${t}-input-search`].join(", ");return{[`&${o}-customize`]:{border:0,padding:0,fontSize:"inherit",lineHeight:"inherit",[`${o}-placeholder`]:{display:"none"},[`${o}-content`]:{margin:0,padding:0,"&-value":{display:"none"}},[`&${o}-filled ${o}-content`]:{[`${t}-input-filled`]:n},[`&${o}-disabled ${o}-content`]:{[r]:n,"input[disabled], textarea[disabled]":n}}}},p=e=>{const{componentCls:t,calc:o,iconCls:r,paddingXS:a,paddingXXS:l,INTERNAL_FIXED_ITEM_MARGIN:s,lineWidth:c,lineType:d,colorIcon:m,colorIconHover:u,inputPaddingHorizontalBase:p,antCls:g}=e,[h,f]=(0,i.PN)(g,"select");return{"&-multiple":{[h("multi-item-background")]:e.multipleItemBg,[h("multi-item-border-color")]:"transparent",[h("multi-item-border-radius")]:e.borderRadiusSM,[h("multi-item-height")]:e.multipleItemHeight,[h("multi-padding-base")]:`calc((${f("height")} - ${f("multi-item-height")}) / 2)`,[h("multi-padding-vertical")]:`calc(${f("multi-padding-base")} - ${s} - ${c})`,[h("multi-item-padding-horizontal")]:`calc(${p} - ${f("multi-padding-vertical")} - ${c} * 2)`,paddingBlock:f("multi-padding-vertical"),paddingInlineStart:`calc(${f("multi-padding-base")} - ${c})`,[`${t}-prefix`]:{marginInlineStart:f("multi-item-padding-horizontal")},[`${t}-prefix + ${t}-content`]:{[`${t}-placeholder`]:{insetInlineStart:0},[`${t}-content-item${t}-content-item-suffix`]:{marginInlineStart:0}},[`${t}-placeholder`]:{position:"absolute",lineHeight:f("line-height"),insetInlineStart:f("multi-item-padding-horizontal"),width:`calc(100% - ${f("multi-item-padding-horizontal")})`,top:"50%",transform:"translateY(-50%)"},[`${t}-content`]:{flexWrap:"wrap",alignItems:"center",lineHeight:1,"&-item-prefix":{height:f("font-size")},"&-item":{lineHeight:1,maxWidth:"calc(100% - 4px)"},[`${t}-content-item-prefix + ${t}-content-item-suffix,\n ${t}-content-item-suffix:first-child`]:{marginInlineStart:f("multi-item-padding-horizontal")},[`${t}-selection-item`]:{lineHeight:`calc(${f("multi-item-height")} - ${c} * 2)`,border:`${c} ${d} ${f("multi-item-border-color")}`,display:"flex",marginBlock:s,marginInlineEnd:o(s).mul(2).equal(),background:f("multi-item-background"),borderRadius:f("multi-item-border-radius"),paddingInlineStart:a,paddingInlineEnd:l,transition:["height","line-height","padding"].map(t=>`${t} ${e.motionDurationSlow}`).join(","),"&-content":{...n.L9,marginInlineEnd:l},"&-remove":{...(0,n.Nk)(),display:"inline-flex",alignItems:"center",color:m,fontWeight:"bold",fontSize:10,lineHeight:"inherit",curs
1or:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}}},[`${t}-input`]:{lineHeight:o(s).mul(2).add(f("multi-item-height")).equal(),width:"calc(var(--select-input-width, 0) * 1px)",minWidth:4,maxWidth:"100%",transition:`line-height ${e.motionDurationSlow}`}},[`&${t}-sm`]:{[h("multi-item-height")]:e.multipleItemHeightSM,[h("multi-item-border-radius")]:e.borderRadiusXS},[`&${t}-lg`]:{[h("multi-item-height")]:e.multipleItemHeightLG,[h("multi-item-border-radius")]:e.borderRadius},[`&${t}-filled`]:{[h("multi-item-border-color")]:e.colorSplit,[h("multi-item-background")]:e.colorBgContainer,[`&${t}-disabled`]:{[h("multi-item-border-color")]:"transparent"}}}}},g=(e,t)=>{const{componentCls:o,antCls:n}=e,[r]=(0,i.PN)(n,"select"),{border:a,borderHover:l,borderActive:s,borderOutline:c}=t,d=t.background||e.selectorBg||e.colorBgContainer;return{[r("border-color")]:a,[r("background-color")]:d,[r("affix-color")]:t.affixColor,[`&:not(${o}-disabled)`]:{"&:hover":{[r("border-color")]:l,[r("background-color")]:t.backgroundHover||d},[`&${o}-focused`]:{[r("border-color")]:s,[r("background-color")]:t.backgroundActive||d,boxShadow:`0 0 0 ${(0,m.zA)(e.controlOutlineWidth)} ${c}`}},[`&${o}-disabled`]:{[r("border-color")]:t.borderDisabled||t.border,[r("background-color")]:t.backgroundDisabled||t.background}}},h=(e,t,o,n,r,i)=>{const{componentCls:a}=e;return{[`&${a}-${t}`]:[g(e,o),{[`&${a}-status-error`]:g(e,{...o,...n}),[`&${a}-status-warning`]:g(e,{...o,...r})},i]}},f=(e,t)=>({outline:`${(0,m.zA)(e.lineWidthFocus)} ${e.lineType} ${t}`,outlineOffset:(0,m.zA)(e.calc(e.lineWidth).mul(-1).equal()),transition:["outline-offset","outline"].map(e=>`${e} 0s`).join(", ")}),$=e=>{const{componentCls:t,fontHeight:o,controlHeight:r,fontSizeIcon:a,showArrowPaddingInlineEnd:l,iconCls:s,antCls:c,max:d,calc:m}=e,[g,$]=(0,i.PN)(c,"select"),b=d(m(l).sub(a).equal(),0);return{[t]:[{[g("border-radius")]:e.borderRadius,[g("border-color")]:"#000",[g("border-size")]:e.lineWidth,[g("background-color")]:e.colorBgContainer,[g("font-size")]:e.fontSize,[g("line-height")]:e.lineHeight,[g("font-height")]:o,[g("color")]:e.colorText,[g("affix-color")]:e.colorText,[g("height")]:r,[g("padding-horizontal")]:m(e.paddingSM).sub(e.lineWidth).equal(),[g("padding-vertical")]:`calc((${$("height")} - ${$("font-height")}) / 2 - ${$("border-size")})`,...(0,n.dF)(e),display:"inline-flex",flexWrap:"nowrap",position:"relative",transition:`all ${e.motionDurationSlow}`,alignItems:"flex-start",outline:0,cursor:"pointer",borderRadius:$("border-radius"),borderWidth:$("border-size"),borderStyle:e.lineType,borderColor:$("border-color"),background:$("background-color"),fontSize:$("font-size"),lineHeight:$("line-height"),color:$("color"),paddingInline:$("padding-horizontal"),paddingBlock:$("padding-vertical"),[`${t}-prefix`]:{color:$("affix-color"),flex:"none",lineHeight:1},[`${t}-placeholder`]:{...n.L9,color:e.colorTextPlaceholder,pointerEvents:"none",zIndex:1},[`${t}-content`]:{flex:"auto",minWidth:0,position:"relative",display:"flex",marginInlineEnd:b,"&:before":{content:'"\\a0"',width:0,overflow:"hidden"},"&-value":{visibility:"inherit"},"input[readonly]":{cursor:"inherit",caretColor:"transparent"}},[`${t}-suffix`]:{flex:"none",color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,transition:["opacity","color"].map(t=>`${t} ${e.motionDurationMid} ease`).join(", "),"> :not(:last-child)":{marginInlineEnd:e.marginXS}},[`${t}-prefix, ${t}-suffix`]:{alignSelf:"center",[s]:{verticalAlign:"top"}},"&-disabled":{background:e.colorBgContainerDisabled,[g("color")]:e.colorTextDisabled,cursor:"not-allowed",input:{cursor:"not-allowed"}},"&-sm":{[g("height")]:e.controlHeightSM,[g("padding-horizontal")]:m(e.paddingXS).sub(e.lineWidth).equal(),[g("border-radius")]:e.borderRadiusSM,[`${t}-clear`]:{insetInlineEnd:$("padding-horizontal")}},"&-lg":{[g("height")]:e.controlHeightLG,[g("font-size")]:e.fontSizeLG,[g("line-height")]:e.lineHeightLG,[g("font-height")]:e.fontHeightLG,[g("border-radius")]:e.borderRadiusLG}},{[`&:not(${t}-customize)`]:{[`${t}-input`]:{outline:"none",background:"transparent",appearance:"none",border:0,margin:0,padding:0,color:$("color"),fontFamily:"inherit",fontSize:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},{[`&-single:not(${t}-customize)`]:{[`${t}-input`]:{position:"absolute",inset:0,lineHeight:"inherit"},[`${t}-content`]:{...n.L9,alignSelf:"center","&-has-value":{display:"block","&:before":{display:"none"}},"&-has-search-value":{color:"transparent",[`> *:not(${t}-input)`]:{opacity:0}
1},"&-value":{transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,zIndex:1,opacity:1}},[`&${t}-open ${t}-content`]:{"&-has-value":{opacity:.25},"&-has-search-value":{opacity:1,transition:`opacity ${e.motionDurationMid} ${e.motionEaseInOut}`,color:"transparent",[`> *:not(${t}-input)`]:{opacity:0}}}}},{[`&-show-search:not(${t}-customize-input):not(${t}-disabled)`]:{cursor:"text"}},p(e),h(e,"outlined",{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:e.activeOutlineColor,borderDisabled:e.colorBorderDisabled},{border:e.colorError,borderHover:e.colorErrorBorderHover,borderActive:e.colorError,borderOutline:e.colorErrorOutline,affixColor:e.colorErrorAffix},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning,borderOutline:e.colorWarningOutline,affixColor:e.colorWarningAffix}),h(e,"filled",{border:"transparent",borderHover:"transparent",borderActive:e.activeBorderColor,borderOutline:"transparent",borderDisabled:e.colorBorderDisabled,background:e.colorFillTertiary,backgroundHover:e.colorFillSecondary,backgroundActive:e.colorBgContainer},{color:e.colorErrorText,background:e.colorErrorBg,backgroundHover:e.colorErrorBgHover,borderActive:e.colorError},{background:e.colorWarningBg,backgroundHover:e.colorWarningBgHover,borderActive:e.colorWarning}),h(e,"borderless",{border:"transparent",borderHover:"transparent",borderActive:"transparent",borderOutline:"transparent",background:"transparent"},{},{},{[`&:not(${t}-disabled):has(input:focus-visible), &:not(${t}-disabled):has(textarea:focus-visible)`]:f(e,e.activeBorderColor),[`&${t}-status-error:not(${t}-disabled):has(input:focus-visible), &${t}-status-error:not(${t}-disabled):has(textarea:focus-visible)`]:f(e,e.colorError),[`&${t}-status-warning:not(${t}-disabled):has(input:focus-visible), &${t}-status-warning:not(${t}-disabled):has(textarea:focus-visible)`]:f(e,e.colorWarning)}),h(e,"underlined",{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:"transparent"},{border:e.colorError,borderHover:e.colorErrorBorderHover,borderActive:e.colorError},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning},{borderRadius:0,borderTopColor:"transparent",borderInlineColor:"transparent"}),u(e)]}},b=e=>{const{antCls:t,componentCls:o,motionDurationMid:r,inputPaddingHorizontalBase:i}=e,a={[`${o}-clear`]:{opacity:1},[`${o}-suffix:not(:last-child)`]:{opacity:0,pointerEvents:"none"},[`&${o}-allow-clear:not(${o}-show-arrow):not(${o}-customize) ${o}-content`]:{marginInlineEnd:e.showArrowPaddingInlineEnd}};return{[o]:{...(0,n.dF)(e),[`${o}-selection-item`]:{flex:1,fontWeight:"normal",position:"relative",userSelect:"none",...n.L9,[`> ${t}-typography`]:{display:"inline"}},[`${o}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${o}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:i,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),padding:0,background:"transparent",color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontFamily:"inherit",fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",appearance:"none",border:0,cursor:"pointer",opacity:0,transition:["color","opacity"].map(e=>`${e} ${r} ease`).join(", "),textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a},[`${o}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${o}-has-feedback`]:{[`${o}-clear`]:{insetInlineEnd:e.calc(i).add(e.fontSize).add(e.paddingXS).equal()}}}}}},v=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},b(e),d(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,r.G)(e,{focusElCls:`${t}-focused`})]},x=(0,i.OF)("Select",(e,{rootPrefixCls:t})=>{const o=(0,a.oX)(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(e.lineWidth).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[v(o),$(o)]},e=>{const{fontSize:t,lineHeight:o,lineWidth:n,lineWidthFocus:r,controlHeight:i,controlHeightSM:a,controlHeightLG:l,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:
1d,colorText:m,fontWeightStrong:u,controlItemBgActive:p,controlItemBgHover:g,colorBgContainer:h,colorFillSecondary:f,colorBgContainerDisabled:$,colorTextDisabled:b,colorPrimaryHover:v,colorPrimary:x,controlOutline:y}=e,C=2*s,S=2*n,k=Math.min(i-C,i-S),w=Math.min(a-C,a-S),E=Math.min(l-C,l-S);return{lineWidthFocus:0===r?0:n,INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:d+50,optionSelectedColor:m,optionSelectedFontWeight:u,optionSelectedBg:p,optionActiveBg:g,optionPadding:`${(i-t*o)/2}px ${c}px`,optionFontSize:t,optionLineHeight:o,optionHeight:i,selectorBg:h,clearBg:h,singleItemHeightLG:l,multipleItemBg:f,multipleItemBorderColor:"transparent",multipleItemHeight:k,multipleItemHeightSM:w,multipleItemHeightLG:E,multipleSelectorBgDisabled:$,multipleItemColorDisabled:b,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:v,activeBorderColor:x,activeOutlineColor:y,selectAffixPadding:s}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},65752:(e,t,o)=>{o.d(t,{A:()=>m});var n=o(14041),r=o(98278),i=o(13744),a=o(48657),l=o(56664),s=o(77870),c=o(39718),d=o(54117);function m({suffixIcon:e,contextSuffixIcon:t,clearIcon:o,contextClearIcon:m,menuItemSelectedIcon:u,contextMenuItemSelectedIcon:p,removeIcon:g,contextRemoveIcon:h,loading:f,loadingIcon:$,contextLoadingIcon:b,searchIcon:v,contextSearchIcon:x,multiple:y,hasFeedback:C,showSuffixIcon:S,feedbackIcon:k,showArrow:w,componentName:E}){return n.useMemo(()=>{const E=(0,d.A)(o,m,n.createElement(i.A,null)),A=t=>null!==e||C||w?n.createElement(n.Fragment,null,!1!==S&&t,C&&k):null;let z=null;return z=void 0!==e?A(e):f?A((0,d.A)($,b,n.createElement(s.A,{spin:!0}))):({open:e,showSearch:o})=>A(e&&o?(0,d.A)(v,x,n.createElement(c.A,null)):(0,d.A)(t,n.createElement(l.A,null))),{clearIcon:E,suffixIcon:z,itemIcon:(0,d.A)(u,p,y?n.createElement(r.A,null):null),removeIcon:(0,d.A)(g,h,n.createElement(a.A,null))}},[e,t,o,m,u,p,g,h,f,$,b,v,x,y,C,S,k,w])}},49308:(e,t,o)=>{var n=o(14041),r=o(1696);o.d(t,["A",0,function(e){return n.useMemo(()=>{if(e)return(...t)=>n.createElement(r.A,{space:!0},e.apply(void 0,t))},[e])}])},67728:(e,t,o)=>{function n(e,t){return void 0!==t?t:null!==e}o.d(t,{A:()=>n})},24705:(e,t,o)=>{o.d(t,{A:()=>H});var n=o(14041),r=o(24838),i=o(35753),a=o(35018),l=o(9642),s=o(17392);const c=e=>{const{prefixCls:t,className:o,style:i,size:l,shape:s}=e,c=(0,r.$)({[`${t}-lg`]:"large"===l,[`${t}-sm`]:"small"===l}),d=(0,r.$)({[`${t}-circle`]:"circle"===s,[`${t}-square`]:"square"===s,[`${t}-round`]:"round"===s}),m=n.useMemo(()=>(0,a.Et)(l)?{width:l,height:l,lineHeight:`${l}px`}:{},[l]);return n.createElement("span",{className:(0,r.$)(t,c,d,o),style:{...m,...i}})};var d=o(86285),m=o(32257),u=o(18764);const p=new d.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),g=e=>({height:e,lineHeight:(0,d.zA)(e)}),h=e=>({width:e,...g(e)}),f=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),$=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...g(e)}),b=e=>{const{skeletonAvatarCls:t,gradientFromColor:o,controlHeight:n,controlHeightLG:r,controlHeightSM:i}=e;return{[t]:{display:"inline-block",verticalAlign:"top",background:o,...h(n)},[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:{...h(r)},[`${t}${t}-sm`]:{...h(i)}}},v=e=>{const{controlHeight:t,borderRadiusSM:o,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,...$(t,l)},[`${n}-lg`]:{...$(r,l)},[`${n}-sm`]:{...$(i,l)}}},x=e=>{const{gradientFromColor:t,borderRadiusSM:o,imageSizeBase:n,calc:r}=e;return{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:t,borderRadius:o,...h(r(n).mul(2).equal())}},y=e=>({[e.skeletonNodeCls]:{...x(e)}}),C=e=>{const{skeletonImageCls:t,imageSizeBase:o,calc:n}=e;return{[t]:{...x(e),[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:{...h(o),maxWidth:n(o).mul(4).equal(),maxHeight:n(o).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}},[`${t}${t}-circle`]:{borderRadius:"50%"}}},S=(e,t,o)=>{const{skeletonButtonCls:n}=e;return{[`${o}${n}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${o}${n}-round`]:{borderRadius:t}}},k=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...g(e)}),w=e=>
1{const{borderRadiusSM:t,skeletonButtonCls:o,controlHeight:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return{[o]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(n).mul(2).equal(),minWidth:l(n).mul(2).equal(),...k(n,l)},...S(e,n,o),[`${o}-lg`]:{...k(r,l)},...S(e,r,`${o}-lg`),[`${o}-sm`]:{...k(i,l)},...S(e,i,`${o}-sm`)}},E=(0,m.OF)("Skeleton",e=>{const{componentCls:t,calc:o}=e;return(e=>{const{componentCls:t,skeletonAvatarCls:o,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:i,skeletonInputCls:a,skeletonNodeCls:l,skeletonImageCls:s,controlHeight:c,controlHeightLG:d,controlHeightSM:m,gradientFromColor:u,padding:p,marginSM:g,borderRadius:$,titleHeight:x,blockRadius:S,paragraphLiHeight:k,controlHeightXS:E,paragraphMarginTop:A}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[o]:{display:"inline-block",verticalAlign:"top",background:u,...h(c)},[`${o}-circle`]:{borderRadius:"50%"},[`${o}-lg`]:{...h(d)},[`${o}-sm`]:{...h(m)}},[`${t}-section`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:x,background:u,borderRadius:S,[`+ ${r}`]:{marginBlockStart:m}},[r]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:u,borderRadius:S,"+ li":{marginBlockStart:E}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-section`]:{[`${n}, ${r} > li`]:{borderRadius:$}}},[`${t}-with-avatar ${t}-section`]:{[n]:{marginBlockStart:g,[`+ ${r}`]:{marginBlockStart:A}}},[`${t}${t}-element`]:{display:"inline-block",width:"auto",...w(e),...b(e),...v(e),...y(e),...C(e)},[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${n},\n ${r} > li,\n ${o},\n ${i},\n ${a},\n ${l},\n ${s}\n `]:{...f(e)}}}})((0,u.oX)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:o(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"}))},e=>{const{colorFillContent:t,colorFill:o}=e;return{color:t,colorGradientEnd:o,gradientFromColor:t,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),A=e=>{const{prefixCls:t,className:o,classNames:i,rootClassName:a,internalClassName:s,style:c,styles:d,active:m,children:u}=e,{getPrefixCls:p}=n.useContext(l.QO),g=p("skeleton",t),[h,f]=E(g),$=(0,r.$)(g,`${g}-element`,{[`${g}-active`]:m},h,i?.root,o,a,f);return n.createElement("div",{className:$,style:d?.root},n.createElement("div",{className:(0,r.$)(i?.content,s||`${g}-node`),style:{...d?.content,...c}},u))},z=(e,t)=>{const{width:o,rows:n=2}=t;return Array.isArray(o)?o[e]:n-1===e?o:void 0},I=e=>{const{prefixCls:t,className:o,style:i,rows:a=0}=e,l=Array.from({length:a}).map((t,o)=>n.createElement("li",{key:o,style:{width:z(o,e)}}));return n.createElement("ul",{className:(0,r.$)(t,o),style:i},l)},B=({prefixCls:e,className:t,width:o,style:i})=>n.createElement("h3",{className:(0,r.$)(e,t),style:{width:o,...i}});function N(e){return(0,a.Qd)(e)?e:{}}function M(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function T(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function P(e,t){const o={};return e&&t||(o.width="61%"),o.rows=!e&&t?3:2,o}const R=n.forwardRef((e,t)=>{const{prefixCls:o,loading:a,className:s,rootClassName:d,classNames:m,style:u,styles:p,children:g,avatar:h=!1,title:f=!0,paragraph:$=!0,active:b,round:v}=e,{getPrefixCls:x,direction:y,className:C,style:S,classNames:k,styles:w}=(0,l.TP)("skeleton"),A=x("skeleton",o),[z,R]=E(A),H={...e,avatar:h,title:f,paragraph:$},F=(0,i.XT)(S),D=(0,i.XT)(u),[L,W]=(0,i.AV)([k,m],[w,F,p,D],{props:H}),O=n.useRef(null);if(n.useImperativeHandle(t,()=>({nativeElement:O.current})),a||!("loading"in e)){const e=!!h,t=!!f,o=!!$;let i,a;if(e){const e={className:L.avatar,prefixCls:`${A}-avatar`,...M(t,o),...N(h),style:W.avatar};i=n.createElement("div",{className:(0,r.$)(L.header,`${A}-header`),style:W.header},n.createElement(c,{...e}))}if(t||o){let i,l;if(t){const t={className:L.title,prefixCls:`${A}-title`,...T(e,o),...N(f),style:W.title};
1i=n.createElement(B,{...t})}if(o){const o={className:L.paragraph,prefixCls:`${A}-paragraph`,...P(e,t),...N($),style:W.paragraph};l=n.createElement(I,{...o})}a=n.createElement("div",{className:(0,r.$)(L.section,`${A}-section`),style:W.section},i,l)}const l=(0,r.$)(A,{[`${A}-with-avatar`]:e,[`${A}-active`]:b,[`${A}-rtl`]:"rtl"===y,[`${A}-round`]:v},L.root,C,s,d,z,R);return n.createElement("div",{ref:O,className:l,style:W.root},i,a)}return g??null});R.Button=e=>{const{prefixCls:t,className:o,rootClassName:i,classNames:a,active:d,style:m,styles:u,block:p=!1,size:g,...h}=e,{getPrefixCls:f}=n.useContext(l.QO),$=f("skeleton",t),[b,v]=E($),x=(0,s.A)(e=>g??e),y=(0,r.$)($,`${$}-element`,{[`${$}-active`]:d,[`${$}-block`]:p},a?.root,o,i,b,v);return n.createElement("div",{className:y,style:u?.root},n.createElement(c,{prefixCls:`${$}-button`,className:a?.content,style:{...u?.content,...m},size:x,...h}))},R.Avatar=e=>{const{prefixCls:t,className:o,classNames:i,rootClassName:a,active:d,style:m,styles:u,shape:p="circle",size:g,...h}=e,{getPrefixCls:f}=n.useContext(l.QO),$=f("skeleton",t),[b,v]=E($),x=(0,s.A)(e=>g??e),y=(0,r.$)($,`${$}-element`,{[`${$}-active`]:d},i?.root,o,a,b,v);return n.createElement("div",{className:y,style:u?.root},n.createElement(c,{prefixCls:`${$}-avatar`,className:i?.content,style:{...u?.content,...m},shape:p,size:x,...h}))},R.Input=e=>{const{prefixCls:t,className:o,classNames:i,rootClassName:a,active:d,block:m,style:u,styles:p,size:g,...h}=e,{getPrefixCls:f}=n.useContext(l.QO),$=f("skeleton",t),[b,v]=E($),x=(0,s.A)(e=>g??e),y=(0,r.$)($,`${$}-element`,{[`${$}-active`]:d,[`${$}-block`]:m},i?.root,o,a,b,v);return n.createElement("div",{className:y,style:p?.root},n.createElement(c,{prefixCls:`${$}-input`,className:i?.content,style:{...p?.content,...u},size:x,...h}))},R.Image=e=>{const{getPrefixCls:t}=n.useContext(l.QO),o=t("skeleton",e.prefixCls);return n.createElement(A,{...e,internalClassName:`${o}-image`},n.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${o}-image-svg`,"aria-hidden":"true",focusable:"false"},n.createElement("title",null,"Image placeholder"),n.createElement("path",{d:"M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6",className:`${o}-image-path`})))},R.Node=A;const H=R},98925:(e,t,o)=>{const n=(0,o(14041).createContext)({});o.d(t,["A",0,n])},3511:(e,t,o)=>{o.d(t,{A:()=>E});var n=o(14041),r=o(93274),i=o(35342),a=o(24838),l=o(56244),s=o(35753),c=o(35018),d=o(9642),m=o(19106),u=o(98925),p=o(38010);const g=n.forwardRef((e,t)=>{const{open:o,draggingDelete:r,value:a}=e,l=(0,n.useRef)(null),s=o&&!r,c=(0,n.useRef)(null);function d(){i.er.cancel(c.current),c.current=null}return n.useEffect(()=>(s?c.current=(0,i.er)(()=>{l.current?.forceAlign(),c.current=null}):d(),d),[s,e.title,a]),n.createElement(p.A,{ref:(0,i.K4)(l,t),...e,open:s})});var h=o(86285),f=o(81316),$=o(48408),b=o(32257),v=o(18764);const x=e=>{const{componentCls:t,antCls:o,controlSize:n,dotSize:r,marginFull:i,marginPart:a,colorFillContentHover:l,handleColorDisabled:s,calc:c,handleSize:d,handleSizeHover:m,handleActiveColor:u,handleActiveOutlineColor:p,handleLineWidth:g,handleLineWidthHover:f,motionDurationMid:b}=e,v={backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${(0,h.zA)(g)} ${s}`,insetInlineStart:0,insetBlockStart:0};return{[t]:{...(0,$.dF)(e),position:"relative",height:n,margin:`${(0,h.zA)(a)} ${(0,h.zA)(i)}`,padding:0,cursor:"pointer",touchAction:"none",userSelect:"none","&-vertical":{margin:`${(0,h.zA)(i)} ${(0,h.zA)(a)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${b}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${b}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:l},[`${t}-handle:not(${t}-handle-disabled)::after`]:{boxShadow:`0 0 0 ${(0,h.zA)(g)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:d,height:d,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0}
1,"&::before":{content:'""',position:"absolute",insetInlineStart:c(g).mul(-1).equal(),insetBlockStart:c(g).mul(-1).equal(),width:c(d).add(c(g).mul(2)).equal(),height:c(d).add(c(g).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${(0,h.zA)(g)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:["inset-inline-start","inset-block-start","width","height","box-shadow","outline"].map(e=>`${e} ${b}`).join(", ")},"&:hover, &:active, &:focus":{[`&:not(${t}-handle-disabled)::before`]:{insetInlineStart:c(m).sub(d).div(2).add(f).mul(-1).equal(),insetBlockStart:c(m).sub(d).div(2).add(f).mul(-1).equal(),width:c(m).add(c(f).mul(2)).equal(),height:c(m).add(c(f).mul(2)).equal()},[`&:not(${t}-handle-disabled)::after`]:{boxShadow:`0 0 0 ${(0,h.zA)(f)} ${u}`,outline:`6px solid ${p}`,width:m,height:m,insetInlineStart:e.calc(d).sub(m).div(2).equal(),insetBlockStart:e.calc(d).sub(m).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:r,height:r,backgroundColor:e.colorBgElevated,border:`${(0,h.zA)(g)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[`\n ${t}-dot\n `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{...v},[`\n ${t}-mark-text,\n ${t}-dot\n `]:{cursor:"not-allowed !important"}},[`${t}-handle-disabled::after`]:{...v},[`&-tooltip ${o}-tooltip-container`]:{minWidth:"unset"}}}},y=(e,t)=>{const{componentCls:o,railSize:n,handleSize:r,dotSize:i,marginFull:a,calc:l}=e,s=t?"paddingBlock":"paddingInline",c=t?"width":"height",d=t?"height":"width",m=t?"insetBlockStart":"insetInlineStart",u=t?"top":"insetInlineStart",p=l(n).mul(3).sub(r).div(2).equal(),g=l(r).sub(n).div(2).equal(),f=t?{borderWidth:`${(0,h.zA)(g)} 0`,transform:`translateY(${(0,h.zA)(l(g).mul(-1).equal())})`}:{borderWidth:`0 ${(0,h.zA)(g)}`,transform:`translateX(${(0,h.zA)(e.calc(g).mul(-1).equal())})`};return{[s]:n,[d]:l(n).mul(3).equal(),[`${o}-rail`]:{[c]:"100%",[d]:n},[`${o}-track,${o}-tracks`]:{[d]:n},[`${o}-track-draggable`]:{...f},[`${o}-handle`]:{[m]:p},[`${o}-mark`]:{insetInlineStart:0,top:0,[u]:l(n).mul(3).add(t?0:a).equal(),[c]:"100%"},[`${o}-step`]:{insetInlineStart:0,top:0,[u]:n,[c]:"100%",[d]:n},[`${o}-dot`]:{position:"absolute",[m]:l(n).sub(i).div(2).equal()}}},C=e=>{const{componentCls:t,marginPartWithMark:o}=e;return{[`${t}-horizontal`]:{...y(e,!0),[`&${t}-with-marks`]:{marginBottom:o}}}},S=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:{...y(e,!1),height:"100%"}}},k=(0,b.OF)("Slider",e=>{const t=(0,v.oX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[x(t),C(t),S(t)]},e=>{const t=e.controlHeightLG/4,o=e.controlHeightSM/2,n=e.lineWidth+1,r=e.lineWidth+1.5,i=e.colorPrimary,a=new f.Y(i).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:o,dotSize:8,handleLineWidth:n,handleLineWidthHover:r,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:i,handleActiveOutlineColor:a,handleColorDisabled:new f.Y(e.colorTextDisabled).onBackgroun
1d(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}}),w=n.forwardRef((e,t)=>{const{prefixCls:o,range:p,className:h,rootClassName:f,style:$,disabled:b,tooltip:v={},onChangeComplete:x,classNames:y,styles:C,vertical:S,orientation:w,...E}=e,[,A]=(0,l.M)(w,S),{getPrefixCls:z,direction:I,className:B,style:N,classNames:M,styles:T,getPopupContainer:P}=(0,d.TP)("slider"),R=n.useContext(m.A),H=b??R,F={...e,disabled:H,vertical:A},D=(0,s.XT)(N),L=(0,s.XT)($),[W,O]=(0,s.AV)([M,y],[T,D,C,L],{props:F}),{handleRender:X,direction:_}=n.useContext(u.A),q="rtl"===(_||I),[j,G]=(0,i.Cy)(!1),[K,V]=(0,i.Cy)(!1),Q={...v},{open:Y,placement:U,getPopupContainer:Z,prefixCls:J,formatter:ee}=Q,te=Y,oe=(j||K)&&!1!==te,ne=function(e){return e||null===e?e:e=>(0,c.Et)(e)?e.toString():""}(ee),[re,ie]=(0,i.Cy)(!1),ae=(e,t)=>e||(t?q?"left":"right":"top"),le=z("slider",o),[se,ce]=k(le),de=(0,a.$)(h,B,W.root,f,{[`${le}-rtl`]:q,[`${le}-lock`]:re},se,ce);q&&!A&&(E.reverse=!E.reverse),n.useEffect(()=>{const e=()=>{(0,i.er)(()=>{V(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);const me=p&&!te,ue=X||((e,t)=>{const{index:o}=t,r=e.props;function i(e,t){r[e]?.(t)}const a={...r,onMouseEnter:e=>{G(!0,!0),i("onMouseEnter",e)},onMouseLeave:e=>{G(!1),i("onMouseLeave",e)},onMouseDown:e=>{V(!0,!0),ie(!0,!0),i("onMouseDown",e)},onFocus:e=>{V(!0,!0),i("onFocus",e)},onBlur:e=>{V(!1),i("onBlur",e)}},l=n.cloneElement(e,a),s=(!!te||oe)&&null!==ne;return me?l:n.createElement(g,{...Q,prefixCls:z("tooltip",J),title:ne?ne(t.value):void 0,value:t.value,open:s,placement:ae(U,A),key:o,classNames:{root:`${le}-tooltip`},getPopupContainer:Z||P},l)}),pe=me?(e,t)=>{const o=n.cloneElement(e,{style:{...e.props.style,visibility:"hidden"}});return n.createElement(g,{...Q,prefixCls:z("tooltip",J),title:ne?ne(t.value):void 0,open:null!==ne&&oe,placement:ae(U,A),key:"tooltip",classNames:{root:`${le}-tooltip`},getPopupContainer:Z||P,draggingDelete:t.draggingDelete},o)}:void 0,ge={...O.root};return n.createElement(r.A,{...E,classNames:W,styles:O,step:E.step,range:p,className:de,style:ge,disabled:H,vertical:A,ref:t,prefixCls:le,handleRender:ue,activeHandleRender:pe,onCh
1angeComplete:e=>{x?.(e),ie(!1)}})}),E=w},83284:(e,t,o)=>{o.d(t,{A:()=>g});var n=o(14041),r=o(24838),i=o(43307),a=o(9642),l=o(5537),s=o(48408),c=o(1741),d=o(32257);const m=e=>{const{componentCls:t,borderRadius:o,paddingSM:n,colorBorder:r,paddingXS:i,fontSizeLG:a,fontSizeSM:l,borderRadiusLG:c,borderRadiusSM:m,colorBgContainerDisabled:u,lineWidth:p,lineType:g,antCls:h}=e,[f,$]=(0,d.PN)(h,"space-addon");return{[t]:[{...(0,s.dF)(e),display:"inline-flex",alignItems:"center",gap:0,whiteSpace:"nowrap",paddingInline:n,margin:0,borderWidth:p,borderStyle:g,borderRadius:o,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:a,borderRadius:c},"&-small":{paddingInline:i,borderRadius:m,fontSize:l},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[f("addon-border-color")]:r,[f("addon-background")]:u,[f("addon-border-color-outlined")]:r,[f("addon-background-filled")]:u,borderColor:$("addon-border-color"),background:$("addon-background"),"&-variant-outlined":{[f("addon-border-color")]:$("addon-border-color-outlined")},"&-variant-filled":{[f("addon-border-color")]:"transparent",[f("addon-background")]:$("addon-background-filled"),[`&${t}-disabled`]:{[f("addon-border-color")]:r,[f("addon-background")]:u}},"&-variant-borderless":{border:"none",background:"transparent"},"&-variant-underlined":{border:"none",background:"transparent"}},{"&-status-error":{[f("addon-border-color-outlined")]:e.colorError,[f("addon-background-filled")]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[f("addon-border-color-outlined")]:e.colorWarning,[f("addon-background-filled")]:e.colorWarningBg,color:e.colorWarning}}]}},u=(0,d.OF)("Addon",e=>[m(e),(0,c.G)(e,{focus:!1})]),p=n.forwardRef((e,t)=>{const{className:o,children:s,style:c,prefixCls:d,variant:m="outlined",disabled:p,status:g,...h}=e,{getPrefixCls:f,direction:$}=n.useContext(a.QO),b=f("space-addon",d),[v,x]=u(b),{compactItemClassnames:y,compactSize:C}=(0,l.RQ)(b,$),S=(0,i.L)(b,g),k=(0,r.$)(b,v,y,x,`${b}-variant-${m}`,S,{[`${b}-${C}`]:C,[`${b}-disabled`]:p},o);return n.createElement("div",{ref:t,className:k,style:c,...h},s)}),g=p},5537:(e,t,o)=>{o.d(t,{K6:()=>u,Ay:()=>g,RQ:()=>m});var n=o(14041),r=o(35342),i=o(24838),a=o(56244),l=o(9642),s=o(17392);const c=(0,o(32257).OF)(["Space","Compact"],e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"}}}},()=>({}),{resetStyle:!1}),d=n.createContext(null),m=(e,t)=>{const o=n.useContext(d),r=n.useMemo(()=>{if(!o)return"";const{compactDirection:n,isFirstItem:r,isLastItem:a}=o,l="vertical"===n?"-vertical-":"-";return(0,i.$)(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:r,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:"rtl"===t})},[e,t,o]);return{compactSize:o?.compactSize,compactDirection:o?.compactDirection,compactItemClassnames:r}},u=e=>{const{children:t}=e;return n.createElement(d.Provider,{value:null},t)},p=e=>{const{children:t,...o}=e;return n.createElement(d.Provider,{value:n.useMemo(()=>o,[o])},t)},g=n.forwardRef((e,t)=>{const{getPrefixCls:o,direction:m}=n.useContext(l.QO),{size:u,direction:g,orientation:h,block:f,prefixCls:$,className:b,rootClassName:v,children:x,vertical:y,...C}=e,[S,k]=(0,a.M)(h,y,g),w=(0,s.A)(e=>u??e),E=o("space-compact",$),[A]=c(E),z=(0,i.$)(E,A,{[`${E}-rtl`]:"rtl"===m,[`${E}-block`]:f,[`${E}-vertical`]:k},b,v),I=n.useContext(d),B=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:B.current}));const N=(0,r.$r)(x),M=n.useMemo(()=>N.map((e,t)=>{const o=e?.key||`${E}-item-${t}`;return n.createElement(p,{key:o,compactSize:w,compactDirection:S,isFirstItem:0===t&&(!I||I?.isFirstItem),isLastItem:t===N.length-1&&(!I||I?.isLastItem)},e)}),[N,I,S,w,E]);return 0===N.length?null:n.createElement("div",{ref:B,className:z,...C},M)})},79873:(e,t,o)=>{o.d(t,{A:()=>y});var n=o(14041),r=o(35342),i=o(24838),a=o(70629),l=o(56244),s=o(35753),c=o(9642),d=o(83284),m=o(5537);const u=n.createContext({latestIndex:0}),p=u.Provider,g=e=>{const{className:t,prefix:o,index:a,children:l,separator:s,style:c,classNames:d,styles:m}=e,{latestIndex:p}=n.useContext(u);
1return(0,r.AZ)(l)?n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:c},l),a<p&&s&&n.createElement("span",{className:(0,i.$)(`${o}-item-separator`,d?.separator),style:m?.separator},s)):null};var h=o(32257),f=o(18764);const $=e=>{const{componentCls:t,antCls:o}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${o}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},b=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},v=(0,h.OF)("Space",e=>{const t=(0,f.oX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[$(t),b(t)]},()=>({}),{resetStyle:!1}),x=n.forwardRef((e,t)=>{const{getPrefixCls:o,direction:d,size:m,className:u,style:h,classNames:f,styles:$}=(0,c.TP)("space"),{size:b=m??"small",align:x,className:y,rootClassName:C,children:S,direction:k,orientation:w,prefixCls:E,split:A,separator:z,style:I,vertical:B,wrap:N=!1,classNames:M,styles:T,...P}=e,[R,H]=Array.isArray(b)?b:[b,b],F=(0,a.X)(H),D=(0,a.X)(R),L=(0,a.m)(H),W=(0,a.m)(R),O=(0,r.$r)(S,{keepEmpty:!0}),[X,_]=(0,l.M)(w,B,k),q=void 0!==x||_?x:"center",j=z??A,G=o("space",E),[K,V]=v(G),Q={...e,size:b,orientation:X,align:q},Y=(0,s.XT)(h),U=(0,s.XT)(I),[Z,J]=(0,s.AV)([f,M],[$,Y,T,U],{props:Q}),ee=(0,i.$)(G,u,K,`${G}-${X}`,{[`${G}-rtl`]:"rtl"===d,[`${G}-align-${q}`]:q,[`${G}-gap-row-${H}`]:F,[`${G}-gap-col-${R}`]:D},y,C,V,Z.root),te=(0,i.$)(`${G}-item`,Z.item),oe=O.map((e,t)=>{const o=e?.key||`${te}-${t}`;return n.createElement(g,{prefix:G,classNames:Z,styles:J,className:te,key:o,index:t,separator:j,style:J.item},e)}),ne=n.useMemo(()=>({latestIndex:O.reduce((e,t,o)=>(0,r.AZ)(t)?o:e,0)}),[O]);if(0===O.length)return null;const re={};return N&&(re.flexWrap="wrap"),!D&&W&&(re.columnGap=R),!F&&L&&(re.rowGap=H),n.createElement("div",{ref:t,className:ee,style:{...re,...J.root},...P},n.createElement(p,{value:ne},oe))});x.Compact=m.Ay,x.Addon=d.A;const y=x},13296:(e,t,o)=>{function n(e,t,o){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${o}-status-success)`]:{zIndex:2},"&-item":{"&:focus,&:active":{zIndex:3},"&:hover":{zIndex:4},"&[disabled]":{zIndex:0}}}}function r(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:{...n(e,t,e.componentCls),...(o=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}})}};var o,r}o.d(t,{q:()=>r})},1741:(e,t,o)=>{function n(e,t,o,n){const{focusElCls:r,focus:i,borderElCls:a}=o,l=a?"> *":"",s=l?` ${l}`:"",c=e=>e.filter(Boolean).map(e=>`&:${e}${s}`).join(","),d=c(["hover",r?`hover${r}`:null]),m=c([i?"focus":null,"active"]);return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{[m]:{zIndex:3},[d]:{zIndex:4},...r?{[`&${r}`]:{zIndex:3}}:{},[`&[disabled] ${l}`]:{zIndex:0}}}}function r(e,t,o){const{borderElCls:n}=o,r=n?`> ${n}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e,t={focus:!0}){const{componentCls:o}=e,{componentCls:i}=t,a=i||o,l=`${a}-compact`;return{[l]:{...n(e,l,t,a),...r(a,l,t)}}}o.d(t,{G:()=>i})},48408:(e,t,o)=>{var n=o(86285);const r=new n.Mo("loadingCircle",{"100%":{transform:"rotate(360deg)"}}),i=(e,t)=>({outline:`${(0,n.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:["outline-offset","outline"].map(e=>`${e} 0s`).join(", ")}),a=(e,t)=>({"&:focus-visible":i(e,t)});
1o.d(t,["K8",0,a,"L9",0,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"Nk",0,()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block",verticalAlign:"inherit"}}),"Y1",0,e=>({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none",...a(e),"&:hover":{color:e.colorLinkHover,textDecoration:e.linkHoverDecoration},"&:focus":{color:e.colorLinkHover,textDecoration:e.linkFocusDecoration},"&:active":{color:e.colorLinkActive,textDecoration:e.linkHoverDecoration}}),"av",0,e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},...a(e),"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),"dF",0,(e,t=!1)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),"jk",0,i,"jz",0,e=>({[`.${e}`]:{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block",verticalAlign:"inherit"},"&::before":{display:"none"},"&[tabindex]":{cursor:"pointer"}},[`.${e} .${e}-icon`]:{display:"block"},[`.${e}-spin`]:{animationName:r,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}}),"t6",0,()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),"vj",0,(e,t,o,n)=>{const r=`[class^="${t}"], [class*=" ${t}"]`,i=o?`.${o}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let l={};return!1!==n&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...l,...a,[r]:a}}}])},99820:(e,t,o)=>{o.d(t,["A",0,e=>{const{componentCls:t,antCls:o,motionDurationMid:n,motionEaseInOut:r}=e;return{[t]:{[`${o}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${n} ${r}`).join(", ")} !important`}},[`${o}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${n} ${r}`).join(", ")} !important`}}}}])},21137:(e,t,o)=>{var n=o(86285),r=o(14821);const i=new n.Mo("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new n.Mo("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});o.d(t,["p9",0,(e,t=!1)=>{const{antCls:o}=e,n=`${o}-fade`,l=t?"&":"";return[(0,r.b)(n,i,a,e.motionDurationMid,t),{[`\n ${l}${n}-enter,\n ${l}${n}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${l}${n}-leave`]:{animationTimingFunction:"linear"}}]}])},14821:(e,t,o)=>{const n=e=>({animationDuration:e,animationFillMode:"both"});o.d(t,["b",0,(e,t,o,r,i=!1)=>{const a=i?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:{...n(r),animationPlayState:"paused"},[`${a}${e}-leave`]:{...n(r),animationPlayState:"paused"},[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}}])},49014:(e,t,o)=>{var n=o(86285),r=o(14821);const i=new n.Mo("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.Mo("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}
1}),l=new n.Mo("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new n.Mo("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.Mo("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.Mo("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),m={"move-up":{inKeyframes:new n.Mo("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new n.Mo("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:l,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:d}};o.d(t,["Mh",0,(e,t)=>{const{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:i,outKeyframes:a}=m[t];return[(0,r.b)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}])},93230:(e,t,o)=>{var n=o(86285),r=o(14821);const i=new n.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}
1,"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new n.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s=new n.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new n.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),d=new n.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),m=new n.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u=new n.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}
1}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:l,outKeyframes:s},"slide-left":{inKeyframes:c,outKeyframes:d},"slide-right":{inKeyframes:m,outKeyframes:u}};o.d(t,["EZ",0,u,"J6",0,d,"L2",0,m,"YU",0,s,"_j",0,(e,t)=>{const{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,r.b)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},"gx",0,c,"nP",0,l,"ox",0,i,"vR",0,a])},96899:(e,t,o)=>{o.d(t,["V",0,()=>({"@media (prefers-reduced-motion: reduce)":{"&, &::before, &::after":{transition:"none",animation:"none"}}}),"X",0,()=>({"@media (prefers-reduced-motion: reduce)":{transition:"none",animation:"none"}})])},71584:(e,t,o)=>{var n=o(86285),r=o(14821);const i=new n.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new n.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}
1}),l=new n.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new n.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new n.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),d=new n.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),m={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:l,outKeyframes:s},"zoom-big-fast":{inKeyframes:l,outKeyframes:s},"zoom-left":{inKeyframes:new n.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new n.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new n.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}
1,"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new n.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:c,outKeyframes:d},"zoom-down":{inKeyframes:new n.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new n.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}};o.d(t,["aB",0,(e,t)=>{const{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:i,outKeyframes:a}=m[t];return[(0,r.b)(n,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},"nF",0,i])},87658:(e,t,o)=>{o.d(t,{K:()=>l});var n=o(86285),r=o(32257),i=o(2748);const a=8;function l(e){const{contentRadius:t,limitVerticalRadius:o}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:o?a:n}}o.d(t,["A",0,(e,t,o)=>{const{componentCls:a,boxShadowPopoverArrow:l,arrowOffsetVertical:s,arrowOffsetHorizontal:c,antCls:d}=e,[m]=(0,r.PN)(d,"tooltip"),{arrowDistance:u=0,arrowShadow:p=!0}=o||{};return{[a]:{[`${a}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...(0,i.j)(e,t,!!p&&l),"&:before":{background:t}}],[[`&-placement-top > ${a}-arrow`,`&-placement-topLeft > ${a}-arrow`,`&-placement-topRight > ${a}-arrow`].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${a}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{[m("arrow-offset-x")]:c,[`> ${a}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-topRight":{[m("arrow-offset-x")]:`calc(100% - ${(0,n.zA)(c)})`,[`> ${a}-arrow`]:{right:{_skip_check_:!0,value:c}}},[[`&-placement-bottom > ${a}-arrow`,`&-placement-bottomLeft > ${a}-arrow`,`&-placement-bottomRight > ${a}-arrow`].join(",")]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom > ${a}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{[m("arrow-offset-x")]:c,[`> ${a}-arrow`]:{left:{_skip_check_:!0,value:c}}},"&-placement-bottomRight":{[m("arrow-offset-x")]:`calc(100% - ${(0,n.zA)(c)})`,[`> ${a}-arrow`]:{right:{_skip_check_:!0,value:c}}},[[`&-placement-left > ${a}-arrow`,`&-placement-leftTop > ${a}-arrow`,`&-placement-leftBottom > ${a}-arrow`].join(",")]:{right:{_skip_check_:!0,value:u},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${a}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${a}-arrow`]:{top:s},[`&-placement-leftBottom > ${a}-arrow`]:{bottom:s},[[`&-placement-right > ${a}-arrow`,`&-placement-rightTop > ${a}-arrow`,`&-placement-rightBottom > ${a}-arrow`].join(",")]:{left:{_skip_check_:!0,value:u},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${a}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${a}-arrow`]:{top:s},[`&-placement-rightBottom > ${a}-arrow`]:{bottom:s}}}}])},2748:(e,t,o)=>{o.d(t,{n:()=>r});var n=o(86285);function r(e){const{sizePopupArrow:t,borderRadiusXS:o,borderRadiusOuter:n}=e,r=t/2,i=r,a=1*n/Math.sqrt(2),l=r-n*(1-1/Math.sqrt(2)),s=r-o*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),d=2*r-s,m=c,u=2*r-a,p=l,g=2*r-0,h=i,f=r*Math.sqrt(2)+n*(Math.sqrt(2)-2),$=n*(Math.sqrt(2)-1);return{arrowShadowWidth:f,arrowPath:`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${l} L ${s} ${c} A ${o} ${o} 0 0 1 ${d} ${m} L ${u} ${p} A ${n} ${n} 0 0 0 ${g} ${h} Z')`,arrowPolygon:`polygon(${$}px 100%, 50% ${$}px, ${2*r-$}
1px 100%, ${$}px 100%)`}}o.d(t,["j",0,(e,t,o)=>{const{sizePopupArrow:r,arrowPolygon:i,arrowPath:a,arrowShadowWidth:l,borderRadiusXS:s,calc:c}=e,d={content:'""',position:"absolute",width:l,height:l,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,n.zA)(s)} 0`},transform:"translateY(50%) rotate(-135deg)",zIndex:0,background:"transparent"};return o&&(d.boxShadow=o),{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":d}}])},19042:(e,t,o)=>{const n=o(14041).createContext(!1);o.d(t,["A",0,n])},57314:(e,t,o)=>{o.d(t,{A:()=>T});var n=o(14041),r=o(48657),i=o(83049),a=o(56222),l=o(1380),s=o(24838),c=o(35753),d=o(9642),m=o(50509),u=o(17392),p=o(35018),g=o(85528);const h={motionAppear:!1,motionEnter:!0,motionLeave:!0};var f=o(35342);var $=o(86285),b=o(48408),v=o(93230),x=o(32257),y=o(18764);const C=e=>{const{componentCls:t,motionDurationSlow:o}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0}
1,"&-active":{opacity:1,transition:`opacity ${o}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${o}`}}}}},[(0,v._j)(e,"slide-up"),(0,v._j)(e,"slide-down")]]},S=e=>{const{componentCls:t,tabsCardPadding:o,cardBg:n,cardGutter:r,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:o,background:n,border:`${(0,$.zA)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:(0,b.jk)(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:"none"},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,$.zA)(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,$.zA)(e.borderRadiusLG)} ${(0,$.zA)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,$.zA)(e.borderRadiusLG)} ${(0,$.zA)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,$.zA)(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,$.zA)(e.borderRadiusLG)} 0 0 ${(0,$.zA)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,$.zA)(e.borderRadiusLG)} ${(0,$.zA)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},k=e=>{const{antCls:t,componentCls:o,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${o}-dropdown`]:{...(0,b.dF)(e),position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`&${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottomRight,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottomRight`]:{animationName:v.ox},[`&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-top,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-top,\n &${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topRight,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topRight`]:{animationName:v.nP},[`&${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottomRight`]:{animationName:v.vR},[`&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-top,\n &${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topRight`]:{animationName:v.YU},[`${o}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,$.zA)(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"}
vendor: 7,203 bytes, line 1
1,listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":{...b.L9,display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,$.zA)(e.paddingXXS)} ${(0,$.zA)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}}}}}},w=e=>{const{componentCls:t,margin:o,colorBorderSecondary:n,horizontalMargin:r,verticalItemPadding:i,verticalItemMargin:a,motionDurationSlow:l,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,$.zA)(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:["width","left","right"].map(e=>`${e} ${l}`).join(", ")}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:o,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:["height","top"].map(e=>`${e} ${l}`).join(", ")}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{marginLeft:{_skip_check_:!0,value:(0,$.zA)(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,$.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,$.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},E=e=>{const{componentCls:t,cardPaddingSM:o,cardPaddingLG:n,cardHeightSM:r,cardHeightLG:i,horizontalItemPaddingSM:a,horizontalItemPaddingLG:l}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:l,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o},[`${t}-nav-add`]:{minWidth:r,minHeight:r}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,$.zA)(e.borderRadius)} ${(0,$.zA)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,$.zA)(e.borderRadius)} ${(0,$.zA)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,$.zA)(e.borderRadius)} ${(0,$.zA)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,$.zA)(e.borderRadius)} 0 0 ${(0,$.zA)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:i,minHeight:i}}}}}},A=e=>{const{componentCls:t,itemActiveColor:o,itemHoverColor:n,iconCls:r,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:l,itemColor:s}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:o}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM},[`${c}-icon > svg`]:{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"}},"&-remove":{flex:"none",lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...(0,b.K8)(e)},"&:hover":{color:n},[`&${c}-active ${c}-btn`]:{color:l},[`&${c}-focus ${c}-btn:focus-visible`]:(0,b.jk)(e),[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${r}`]:{margin:0,verticalAlign:"middle"},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},z=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:o,iconCls:n,cardGutter:r,calc:i}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:o},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:i(e.marginXXS).mul(-1).equal()},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-body-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-body-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},I=e=>
1{const{componentCls:t,tabsCardPadding:o,cardHeight:n,cardGutter:r,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:{...(0,b.dF)(e),display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:o,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:{minWidth:n,minHeight:n,marginLeft:{_skip_check_:!0,value:r},background:"transparent",border:`${(0,$.zA)(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${(0,$.zA)(e.borderRadiusLG)} ${(0,$.zA)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a},...(0,b.K8)(e,-3)}},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"},...A(e),[`${t}-body`]:{position:"relative",width:"100%"},[`${t}-body-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-content`]:{...(0,b.K8)(e),"&-hidden":{display:"none"}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},B=(0,x.OF)("Tabs",e=>{const t=(0,y.oX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,$.zA)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,$.zA)(e.horizontalItemGutter)}`});return[E(t),z(t),w(t),k(t),S(t),I(t),C(t)]},e=>{const{cardHeight:t,cardHeightSM:o,cardHeightLG:n,controlHeight:r,controlHeightLG:i}=e,a=t||i,l=o||r,s=n||i+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:a,cardHeightSM:l,cardHeightLG:s,cardPadding:`${(a-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(l-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(s-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),N=n.forwardRef((e,t)=>{const{type:o,className:$,rootClassName:b,size:v,onEdit:x,hideAdd:y,centered:C,addIcon:S,removeIcon:k,moreIcon:w,more:E,popupClassName:A,children:z,items:I,animated:N,style:M,indicatorSize:T,indicator:P,classNames:R,styles:H,destroyInactiveTabPane:F,destroyOnHidden:D,tabPlacement:L,tabPosition:W,...O}=e,{prefixCls:X}=O,{getPrefixCls:_,direction:q,getPopupContainer:j,className:G,style:K,classNames:V,styles:Q}=(0,d.TP)("tabs"),{tabs:Y}=n.useContext(d.QO),U=_("tabs",X),Z=(0,m.A)(U),[J,ee]=B(U,Z),te=n.useRef(null);let oe;n.useImperativeHandle(t,()=>({nativeElement:te.current})),"editable-card"===o&&(oe={onEdit:(e,{key:t,event:o})=>{x?.("add"===e?o:t,e)},removeIcon:k??Y?.removeIcon??n.createElement(r.A,null),addIcon:(S??Y?.addIcon)||n.createElement(a.A,null),showAdd:!0!==y});const ne=_(),re=(0,u.A)(v),ie=function(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):function(e){return e.filter(e=>e)}((0,f.$r)(t).map(e=>{if(n.isValidElement(e)){const{key:t,props:o}=e,{tab:n,...r}=o||{};return{key:String(t),...r,label:n}}return null}))}(I,z),ae=function(e,t={inkBar:!0,tabPane:!1}){let o;return o=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:{inkBar:!0,...(0,p.Qd)(t)?t:{}},o.tabPane&&(o.tabPaneMotion={...h,motionName:(0,g.b)(e,"switch")}),o}(U,N),le={align:P?.align??Y?.indicator?.align,size:P?.size??T??Y?.indicator?.size??Y?.indicatorSize},se=n.useMemo(()=>{const e=L??W??void 0,t="rtl"===q;switch(e){case"start":return t?"right":"left";
1case"end":return t?"left":"right";default:return e}},[L,W,q]),ce={...e,size:re,tabPlacement:se,items:ie},de=(0,c.XT)(K),me=(0,c.XT)(M),[ue,pe]=(0,c.AV)([V,R],[Q,de,H,me],{props:ce},{popup:{_default:"root"}});return n.createElement(l.A,{ref:te,direction:q,getPopupContainer:j,...O,items:ie,className:(0,s.$)({[`${U}-large`]:"large"===re,[`${U}-small`]:"small"===re,[`${U}-card`]:["card","editable-card"].includes(o),[`${U}-editable-card`]:"editable-card"===o,[`${U}-centered`]:C},G,$,b,ue.root,J,ee,Z),classNames:{...ue,popup:(0,s.$)(A,J,ee,Z,ue.popup?.root)},styles:{...pe,popup:pe.popup?.root},style:pe.root,editable:oe,more:{icon:Y?.more?.icon??Y?.moreIcon??w??n.createElement(i.A,null),transitionName:`${ne}-slide-up`,...E},prefixCls:U,animated:ae,indicator:le,destroyOnHidden:D??F,tabPosition:se})}),M=N;M.TabPane=()=>null;const T=M},53443:(e,t,o)=>{var n=o(14041),r=o(79154);const i={token:r.A,override:{override:r.A},hashed:!0},a=n.createContext(i);o.d(t,["sb",0,i,"vG",0,a])},49321:(e,t,o)=>{o.d(t,["s",0,["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]])},58133:(e,t,o)=>{o.d(t,{A:()=>f});var n=o(8947),r=o(79154),i=o(45907);const a=e=>{let t=e,o=e,n=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?o=4:e<8&&e>=7?o=5:e<14&&e>=8?o=6:e<16&&e>=14?o=7:e>=16&&(o=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:o,borderRadiusLG:t,borderRadiusOuter:r}};function l(e){const{motionUnit:t,motionBase:o,borderRadius:n,lineWidth:r}=e;return{motionDurationFast:`${(o+t).toFixed(1)}s`,motionDurationMid:`${(o+2*t).toFixed(1)}s`,motionDurationSlow:`${(o+3*t).toFixed(1)}s`,lineWidthBold:r+1,...a(n)}}var s=o(94597),c=o(64425);function d(e){const{sizeUnit:t,sizeStep:o}=e;return{sizeXXL:t*(o+8),sizeXL:t*(o+4),sizeLG:t*(o+2),sizeMD:t*(o+1),sizeMS:t*o,size:t*o,sizeSM:t*(o-1),sizeXS:t*(o-2),sizeXXS:t*(o-3)}}var m=o(81316);const u=(e,t)=>new m.Y(e).setA(t).toRgbString(),p=(e,t)=>new m.Y(e).darken(t).toHexString(),g=e=>{const t=(0,n.generate)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},h=(e,t,o)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorShadow:o||"#000",colorText:u(r,.88),colorTextSecondary:u(r,.65),colorTextTertiary:u(r,.45),colorTextQuaternary:u(r,.25),colorFill:u(r,.15),colorFillSecondary:u(r,.06),colorFillTertiary:u(r,.04),colorFillQuaternary:u(r,.02),colorBgSolid:u(r,1),colorBgSolidHover:u(r,.75),colorBgSolidActive:u(r,.95),colorBgLayout:p(n,4),colorBgContainer:p(n,0),colorBgElevated:p(n,0),colorBgSpotlight:u(r,.85),colorBgBlur:"transparent",colorBorder:p(n,15),colorBorderDisabled:p(n,15),colorBorderSecondary:p(n,6)}};function f(e){n.presetPrimaryColors.pink=n.presetPrimaryColors.magenta,n.presetPalettes.pink=n.presetPalettes.magenta;const t=Object.keys(r.r).map(t=>{const o=e[t]===n.presetPrimaryColors[t]?n.presetPalettes[t]:(0,n.generate)(e[t]);return Array.from({length:10},()=>1).reduce((e,n,r)=>(e[`${t}-${r+1}`]=o[r],e[`${t}${r+1}`]=o[r],e),{})}).reduce((e,t)=>({...e,...t}),{});return{...e,...t,...(0,i.A)(e,{generateColorPalettes:g,generateNeutralColorPalettes:h}),...(0,c.A)(e.fontSize),...d(e),...(0,s.A)(e),...l(e)}}},48488:(e,t,o)=>{var n=o(86285),r=o(58133);const i=(0,n.an)(r.A);o.d(t,["A",0,i])},79154:(e,t,o)=>{const n={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},r={...n,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cub
1ic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,focusOutline:!0,motion:!0};o.d(t,["A",0,r,"r",0,n])},45907:(e,t,o)=>{o.d(t,{A:()=>i});var n=o(81316),r=o(49321);function i(e,{generateColorPalettes:t,generateNeutralColorPalettes:o}){const{colorSuccess:i,colorWarning:a,colorError:l,colorInfo:s,colorPrimary:c,colorBgBase:d,colorTextBase:m}=e,u=t(c),p=t(i),g=t(a),h=t(l),f=t(s),$=o(d,m),b=e.colorLink||e.colorInfo,v=t(b),x=new n.Y(h[1]).mix(new n.Y(h[3]),50).toHexString(),y={};return r.s.forEach(o=>{const n=e[o];if(n){const e=t(n);y[`${o}Hover`]=e[5],y[`${o}Active`]=e[7]}}),{...$,colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBgFilledHover:x,colorErrorBgActive:h[3],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:f[1],colorInfoBgHover:f[2],colorInfoBorder:f[3],colorInfoBorderHover:f[4],colorInfoHover:f[4],colorInfo:f[6],colorInfoActive:f[7],colorInfoTextHover:f[8],colorInfoText:f[9],colorInfoTextActive:f[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],...y,colorBgMask:new n.Y("#000").setA(.45).toRgbString(),colorWhite:"#fff"}}},94597:(e,t,o)=>{o.d(t,["A",0,e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}])},64425:(e,t,o)=>{var n=o(72654);o.d(t,["A",0,e=>{const t=(0,n.A)(e),o=t.map(e=>e.size),r=t.map(e=>e.lineHeight),i=o[1],a=o[0],l=o[2],s=r[1],c=r[0],d=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:l,fontSizeXL:o[3],fontSizeHeading1:o[6],fontSizeHeading2:o[5],fontSizeHeading3:o[4],fontSizeHeading4:o[3],fontSizeHeading5:o[2],lineHeight:s,lineHeightLG:d,lineHeightSM:c,fontHeight:Math.round(s*i),fontHeightLG:Math.round(d*l),fontHeightSM:Math.round(c*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}}])},72654:(e,t,o)=>{function n(e){return(e+8)/e}function r(e){const t=Array.from({length:10}).map((t,o)=>{const n=o-1,r=e*Math.E**(n/5),i=o>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(i/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:n(e)}))}o.d(t,{A:()=>r,k:()=>n})},4842:(e,t,o)=>{o.d(t,{Ay:()=>h});var n=o(14041),r=o(86285),i=o(9642),a=o(71857),l=o(53443),s=o(48488),c=o(79154),d=o(21441);const m={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},u={motionBase:!0,motionUnit:!0},p={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0,screenXXLMax:!0,screenXXXL:!0,screenXXXLMin:!0},g=(e,t,o)=>{const n=o.getDerivativeToken(e),{override:r,...i}=t;let a={...n,override:r};return a=(0,d.A)(a),i&&Object.entries(i).forEach(([e,t])=>{const{theme:o,...n}=t;let r=n;o&&(r=g({...a,...n},{override:n},o)),a[e]=r}),a};function h(){const{token:e,hashed:t,theme:o,override:d,cssVar:h,zeroRuntime:f}=n.useContext(l.vG),{csp:$,getPrefixCls:b}=n.useContext(i.QO),v={prefix:h?.prefix??b(),key:h?.key??"css-var-root"},x=`${a.A}-${t||""}`,y=o||s.A,[C,S,k]=(0,r.hV)(y,[c.A,e],{salt:x,override:d,getComputedToken:g,cssVar:{...v,unitless:m,ignore:u,preserve:p},nonce:$?.nonce});return[y,k,t?S:"",C,v,!!f]}o.d(t,["Is",0,m])},21441:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(81316),r=o(79154),i=o(30442);function a(e){const{override:t,...o}=e,a={...t};
1Object.keys(r.A).forEach(e=>{delete a[e]});const l={...o,...a},s=new n.Y(l.colorShadow),c=s.a,d=e=>s.clone().setA(c*e).toRgbString();if(!1===l.motion){const e="0s";l.motionDurationFast=e,l.motionDurationMid=e,l.motionDurationSlow=e}return{...l,colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:(0,i.A)(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:(0,i.A)(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:(0,i.A)(l.colorWarningBg,l.colorBgContainer),colorErrorAffix:l.colorError,colorWarningAffix:l.colorWarning,fontSizeIcon:l.fontSizeSM,lineWidthFocus:!1===l.focusOutline?0:3*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:(0,i.A)(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:`\n 0 6px 16px 0 ${d(.08)},\n 0 3px 6px -4px ${d(.12)},\n 0 9px 28px 8px ${d(.05)}\n `,boxShadowSecondary:`\n 0 6px 16px 0 ${d(.08)},\n 0 3px 6px -4px ${d(.12)},\n 0 9px 28px 8px ${d(.05)}\n `,boxShadowTertiary:`\n 0 1px 2px 0 ${d(.05)},\n 0 1px 6px -1px ${d(.03)},\n 0 2px 4px 0 ${d(.03)}\n `,screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,screenXXLMax:1919,screenXXXL:1920,screenXXXLMin:1920,boxShadowPopoverArrow:`2px 2px 5px ${d(.05)}`,dropShadowPopover:`drop-shadow(0 6px 16px ${d(.08)}) drop-shadow(0 3px 6px ${d(.12)}) drop-shadow(0 9px 28px ${d(.05)})`,boxShadowCard:`\n 0 1px 2px -2px ${d(.16)},\n 0 3px 6px 0 ${d(.12)},\n 0 5px 12px 4px ${d(.09)}\n `,boxShadowDrawerRight:`\n -6px 0 16px 0 ${d(.08)},\n -3px 0 6px -4px ${d(.12)},\n -9px 0 28px 8px ${d(.05)}\n `,boxShadowDrawerLeft:`\n 6px 0 16px 0 ${d(.08)},\n 3px 0 6px -4px ${d(.12)},\n 9px 0 28px 8px ${d(.05)}\n `,boxShadowDrawerUp:`\n 0 6px 16px 0 ${d(.08)},\n 0 3px 6px -4px ${d(.12)},\n 0 9px 28px 8px ${d(.05)}\n `,boxShadowDrawerDown:`\n 0 -6px 16px 0 ${d(.08)},\n 0 -3px 6px -4px ${d(.12)},\n 0 -9px 28px 8px ${d(.05)}\n `,boxShadowTabsOverflowLeft:`inset 10px 0 8px -8px ${d(.08)}`,boxShadowTabsOverflowRight:`inset -10px 0 8px -8px ${d(.08)}
1`,boxShadowTabsOverflowTop:`inset 0 10px 8px -8px ${d(.08)}`,boxShadowTabsOverflowBottom:`inset 0 -10px 8px -8px ${d(.08)}`,...a}}},35977:(e,t,o)=>{o.d(t,{A:()=>r});var n=o(49321);function r(e,t){return n.s.reduce((o,n)=>{const r=e[`${n}1`],i=e[`${n}3`],a=e[`${n}6`],l=e[`${n}7`];return{...o,...t(n,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:l})}},{})}},32257:(e,t,o)=>{var n=o(14041),r=o(18764),i=o(9642),a=o(48408),l=o(4842);const{genStyleHooks:s,genComponentStyleHook:c,genSubStyleComponent:d}=(0,r.L_)({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=(0,n.useContext)(i.QO);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,o,n,r,i]=(0,l.Ay)();return{theme:e,realToken:t,hashId:o,token:n,cssVar:r,zeroRuntime:i}},useCSP:()=>{const{csp:e}=(0,n.useContext)(i.QO);return e??{}},getResetStyles:(e,t)=>{const o=(0,a.av)(e);return[o,{"&":o},(0,a.jz)(t?.prefix.iconPrefixCls??i.pM)]},getCommonStyle:a.vj,getCompUnitless:()=>l.Is});o.d(t,["OF",0,s,"Or",0,c,"PN",0,(e,t)=>{const o=`--${e.replace(/\./g,"")}-${t}-`;return[e=>`${o}${e}`,(e,t)=>t?`var(${o}${e}, ${t})`:`var(${o}${e})`]},"bf",0,d])},30442:(e,t,o)=>{var n=o(81316);function r(e){return e>=0&&e<=255}o.d(t,["A",0,function(e,t){const{r:o,g:i,b:a,a:l}=new n.Y(e).toRgb();if(l<1)return e;const{r:s,g:c,b:d}=new n.Y(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((o-s*(1-e))/e),l=Math.round((i-c*(1-e))/e),m=Math.round((a-d*(1-e))/e);if(r(t)&&r(l)&&r(m))return new n.Y({r:t,g:l,b:m,a:Math.round(100*e)/100}).toRgbString()}return new n.Y({r:o,g:i,b:a,a:1}).toRgbString()}])},73333:(e,t,o)=>{var n=o(86285),r=o(48408),i=o(4842);o.d(t,["A",0,(e,t)=>{const[o,a]=(0,i.Ay)();return(0,n.IV)({theme:o,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>t?.nonce,layer:{name:"antd"}},()=>(0,r.jz)(e))}])},97838:(e,t,o)=>{o.d(t,["A",0,{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}])},65497:(e,t,o)=>{o.d(t,{A:()=>u});var n=o(14041),r=o(26794),i=o(35018),a=o(96898),l=o(24838),s=o(27291),c=o(9642);const d=({children:e})=>{const{getPrefixCls:t}=n.useContext(c.QO),o=t();return n.isValidElement(e)?n.createElement(a.Ay,{visible:!0,motionName:`${o}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:t,className:o})=>(0,s.Ob)(e,e=>({className:(0,l.$)(e.className,o),style:{...e.style,...t}}))):e},m=[null,null],u=({children:e})=>n.createElement(r.xR,{postTriggerProps:e=>{const{id:t,builtinPlacements:o,popup:r}=e,a=(0,i.Tn)(r)?r():r,l=function(e){if(m[0]!==e){const t={};Object.keys(e).forEach(o=>{t[o]={...e[o],dynamicInset:!1}}),m[0]=e,m[1]=t}return m[1]}(o);return{...e,getPopupContainer:null,arrow:!1,popup:n.createElement(d,{key:t},a),builtinPlacements:l}}},e)},68130:(e,t,o)=>{var n=o(14041);o.d(t,["A",0,(e,t)=>{const o=e=>"boolean"==typeof e?{show:e}:e||{};return n.useMemo(()=>{const n=o(e),r=o(t);return{...r,...n,show:n.show??r.show??!0}},[e,t])}])},38010:(e,t,o)=>{o.d(t,{A:()=>D});var n=o(14041),r=o(67092),i=o(35342),a=o(24838),l=o(1696),s=o(7010),c=o(35753),d=o(35018),m=o(85528),u=o(44534),p=o(27291),g=o(81136),h=o(86561),f=o(9642),$=o(50509),b=o(19042),v=o(4842),x=o(68130),y=o(86285),C=o(48408),S=o(21137),k=o(71584),w=o(87658),E=o(2748),A=o(35977),z=o(18764),I=o(32257);const B=e=>{const{calc:t,componentCls:o,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:s,dropShadowPopover:c,paddingSM:d,paddingXS:m,arrowOffsetHorizontal:u,sizePopupArrow:p,antCls:g}=e,[h,f]=(0,I.PN)(g,"tooltip"),$=t(a).add(p).add(u).equal(),b={minWidth:t(a).mul(2).add(p).equal(),minHeight:s,padding:`${(0,y.zA)(e.calc(d).div(2).equal())} ${(0,y.zA)(m)}`,color:f("overlay-color",r),textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxSizing:"border-box"},v={[h("valid-offset-x")]:f("arrow-offset-x","var(--arrow-x)"),transformOrigin:[f("valid-offset-x","50%"),"var(--arrow-y, 50%)"].join(" ")};return[{[o]:{...(0,C.dF)(e),position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:n,visibility:"visible",filter:c,...v,"&-hidden":{display:"none"},[h("arrow-background-color")]:i,[`${o}-container`]:[b,(0,S.p9)(e,!0)],[`&:has(~ ${o}-unique-container)`]:{[`${o}-container`]:{border:"none",background:"transparent"}},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:$},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${o}-inner`]:{borderRadius:e.min(a,8)}},[`${o}-content`]:{position:"relative"},...(0,A.A)(e,(e,{darkColor:t})=>({[`&${o}-${e}`]:{[`${o}-container`]:{backgroundColor:t},[`${o}-arrow`]:{[h("arrow-background-color")]:t}}})),"&-rtl":{direction:"rtl"}}},(0,w.A)(e,f("arrow-background-color"),{arrowShadow:!1}),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}},{[`${o}-unique-container`]:{...b,...v,position:"absolute",zIndex:t(l).sub(1).equal(),filter:c,"&-hidden":{display:"none"},"&-visible":{transition:`all ${e.motionDurationSlow}`}}}]},N=e=>({zIndexPopup:e.zIndexPopupBase+70,maxWidth:250,...(0,w.K)({contentRadius:e.borderRadius,limitVerticalRadius:!0}),...(0,E.n)((0,z.oX)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}
1))}),M=(e,t,o=!0)=>(0,I.OF)("Tooltip",e=>{const{borderRadius:t,colorTextLightSolid:o,colorBgSpotlight:n,maxWidth:r}=e,i=(0,z.oX)(e,{tooltipMaxWidth:r,tooltipColor:o,tooltipBorderRadius:t,tooltipBg:n});return[B(i),(0,k.aB)(e,"zoom-big-fast")]},N,{resetStyle:!1,injectStyle:o})(e,t);o.dn(M);var T=o(47838),P=o(64911);const R=(e,t,o)=>{const n=(0,T.nP)(o),[r]=(0,I.PN)(e,"tooltip"),i=(0,a.$)({[`${t}-${o}`]:o&&n}),l={},s={},c=(0,P.Z6)(o).toRgb(),d=(.299*c.r+.587*c.g+.114*c.b)/255<.5?"#FFF":"#000";return o&&!n&&(l.background=o,l[r("overlay-color")]=d,s[r("arrow-background-color")]=o),{className:i,overlayStyle:l,arrowStyle:s}};var H=o(65497);const F=n.forwardRef((e,t)=>{const{prefixCls:o,openClassName:y,getTooltipContainer:C,color:S,children:k,afterOpenChange:w,arrow:E,destroyTooltipOnHide:A,destroyOnHidden:z,title:I,overlay:B,trigger:N,builtinPlacements:T,autoAdjustOverflow:P=!0,motion:H,getPopupContainer:F,placement:D="top",mouseEnterDelay:L,mouseLeaveDelay:W,rootClassName:O,styles:X,classNames:_,onOpenChange:q,overlayInnerStyle:j,overlayStyle:G,overlayClassName:K,...V}=e,[,Q]=(0,v.Ay)(),Y=e["data-popover-inject"],{getPopupContainer:U,getPrefixCls:Z,direction:J,...ee}=(0,f.TP)("tooltip"),{className:te,style:oe,classNames:ne,styles:re,arrow:ie,trigger:ae,mouseEnterDelay:le,mouseLeaveDelay:se}=Y?{}:ee,ce=L??le??.1,de=W??se??.1,me=(0,x.A)(E,ie),ue=me.show,pe=N||ae||"hover",ge=F||U,he=z??!!A,fe=n.useContext(b.A),$e=((0,g.rJ)("Tooltip"),n.useRef(null)),be=()=>{$e.current?.forceAlign()};n.useImperativeHandle(t,()=>({forceAlign:be,nativeElement:$e.current?.nativeElement,popupElement:$e.current?.popupElement}));const[ve,xe]=(0,i.PW)(e.defaultOpen??!1,e.open),ye=!I&&!B&&0!==I,Ce=n.useMemo(()=>T||(0,u.A)({arrowPointAtCenter:me?.pointAtCenter??!1,autoAdjustOverflow:P,arrowWidth:ue?Q.sizePopupArrow:0,borderRadius:Q.borderRadius,offset:Q.marginXXS,visibleFirst:!0}),[me,T,Q,ue,P]),Se=n.useMemo(()=>0===I?I:B||I||"",[B,I]),ke=n.createElement(l.A,{space:!0,form:!0},(0,d.Tn)(Se)?Se():Se),we={...e,trigger:pe,builtinPlacements:Ce,getPopupContainer:ge,destroyOnHidden:he,mouseEnterDelay:ce,mouseLeaveDelay:de},Ee=(0,c.XT)(oe),Ae=(0,c.XT)(G),[ze,Ie]=(0,c.AV)([ne,_],[re,Ee,X,Ae],{props:we}),Be=Z("tooltip",o),Ne=Z();let Me=ve;(!("open"in e)&&ye||fe)&&(Me=!1);const Te=n.isValidElement(k)&&!(0,p.zv)(k)?k:n.createElement("span",null,k),Pe=Te.props,Re=Pe.className&&"string"!=typeof Pe.className?Pe.className:(0,a.$)(Pe.className,y||`${Be}-open`),He=(0,$.A)(Be),[Fe,De]=M(Be,He,!Y),Le=R(Ne,Be,S),We=Le.arrowStyle,Oe=(0,a.$)(He,Fe,De),Xe=(0,a.$)(K,{[`${Be}-rtl`]:"rtl"===J},Le.className,O,Oe,te,ze.root),[_e,qe]=(0,s.YK)("Tooltip",V.zIndex),je={...Ie.container,...j,...Le.overlayStyle},Ge=n.createElement(r.A,{unique:!0,...V,zIndex:_e,showArrow:ue,placement:D,mouseEnterDelay:ce,mouseLeaveDelay:de,prefixCls:Be,classNames:{root:Xe,container:ze.container,arrow:ze.arrow,uniqueContainer:(0,a.$)(Oe,ze.container)},styles:{root:{...We,...Ie.root},container:je,uniqueContainer:je,arrow:Ie.arrow},ref:$e,overlay:ke,visible:Me,onVisibleChange:e=>{xe(!ye&&e),!ye&&q&&q(e)},afterVisibleChange:w,arrowContent:n.createElement("span",{className:`${Be}-arrow-content`}),motion:{motionName:(0,m.b)(Ne,"zoom-big-fast","string"==typeof H?.motionName?H?.motionName:void 0),motionDeadline:1e3},trigger:pe,builtinPlacements:Ce,getTooltipContainer:ge,destroyOnHidden:he},Me&&!V.disabled?(0,p.Ob)(Te,{className:Re}):Te);return n.createElement(h.A.Provider,{value:qe},Ge)});F._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:o,placement:i="top",title:l,color:s,overlayInnerStyle:d,classNames:m,styles:u}=e,{getPrefixCls:p}=n.useContext(f.QO),g=p("tooltip",t),h=p(),b=(0,$.A)(g),[v,x]=M(g,b),y=R(h,g,s),C=y.arrowStyle,S=n.useMemo(()=>({container:{...d,...y.overlayStyle}}),[d,y.overlayStyle]),k={...e,placement:i},[w,E]=(0,c.AV)([m],[S,u],{props:k}),A=(0,a.$)(b,v,x,g,`${g}-pure`,`${g}-placement-${i}`,o,y.className);return n.createElement("div",{className:A,style:C},n.createElement("div",{className:`${g}-arrow`}),n.createElement(r.z,{...e,className:v,prefixCls:g,classNames:w,styles:E},l))},F.UniqueProvider=H.A;const D=F},83280:(e,t,o)=>{o.d(t,{A:()=>se});var n=o(14041),r=o(64619),i=o(43144),a=o(74111),l=o(35342),s=o(24838),c=o(54117),d=o(35753),m=o(35018),u=o(9642),p=o(19106),g=o(52468),h=o(25917),f=o(48408),$=o(99820),b=o(32257),v=o(18764),x=o(86285);const y=e=>{const{componentCls:t,iconCls:o}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,x.zA)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${(0,x.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`\n &:not(${t}-disabled):hover,\n &-hover:not(${t}-disabled)\n `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[o]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,x.zA)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${o},\n p${t}-text,\n p${t}-hint\n `]:{color:e.colorTextDisabled}}}}}},C=e=>{const{componentCls:t,iconCls:o,fontSize:n,lineHeight:r,motionDurationSlow:i,calc:a}=e,l=`${t}-list-item`,s=`${l}-actions`,c=`${l}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:{...(0,f.t6)(),lineHeight:e.lineHeight,[l]:{position:"relative",height:a(e.lineHeight).mul(n).equal(),marginTop:e.marginXS,fontSize:n,display:"flex",alignItems:"center",transition:`background-color ${i}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:{...f.L9,padding:`0 ${(0,x.zA)(e.paddingXS)}`,lineHeight:r,flex:"auto",transition:`all ${i}`},[s]:{whiteSpace:"nowrap",[c]:{opacity:0}
1,"@media (hover: none), (pointer: coarse)":{[c]:{opacity:1}},[o]:{color:e.actionsColor,transition:`all ${i}`},[`\n ${c}:focus-visible,\n &.picture ${c}\n `]:{opacity:1}},[`${t}-icon ${o}`]:{color:e.colorIcon,fontSize:n},[`${l}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:a(n).add(e.paddingXS).equal(),fontSize:n,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${c}`]:{opacity:1},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${o}`]:{color:e.colorError},[s]:{[`${o}, ${o}:hover`]:{color:e.colorError},[c]:{opacity:1}}},[`${t}-list-item-container`]:{transition:["opacity","height"].map(e=>`${e} ${i}`).join(", "),"&::before":{display:"table",width:0,height:0,content:'""'}}}}}};var S=o(21137);const k=e=>{const{componentCls:t}=e,o=new x.Mo("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),n=new x.Mo("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${r}-appear, ${r}-enter, ${r}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${r}-appear, ${r}-enter`]:{animationName:o},[`${r}-leave`]:{animationName:n}}},{[`${t}-wrapper`]:(0,S.p9)(e)},o,n]},w=e=>{const{componentCls:t,iconCls:o,uploadThumbnailSize:n,uploadProgressOffset:r,calc:i}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[`\n ${a}${a}-picture,\n ${a}${a}-picture-card,\n ${a}${a}-picture-circle\n `]:{[l]:{position:"relative",height:i(n).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,x.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:{...f.L9,width:n,height:n,lineHeight:(0,x.zA)(i(n).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[o]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}},[`${l}-progress`]:{bottom:i(e.fontSize).mul(e.lineHeight).div(2).add(r).equal(),width:`calc(100% - ${(0,x.zA)(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(n).add(e.paddingXS).equal()}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail${l}-file ${o}`]:{color:e.colorError}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:r}}},[`${a}${a}-picture-circle ${l}`]:{[`&, &::before, ${l}-thumbnail`]:{borderRadius:"50%"}}}}},E=e=>{const{componentCls:t,iconCls:o,fontSizeLG:n,colorTextLightSolid:r,calc:i}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[`\n ${t}-wrapper${t}-picture-card-wrapper,\n ${t}-wrapper${t}-picture-circle-wrapper\n `]:{...(0,f.t6)(),display:"block",[`${t}${t}-select`]:{width:s,height:s,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,x.zA)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{display:"flex",flexWrap:"wrap","&:not(:empty)":{minHeight:s},"@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${a}-item-container`]:{display:"inline-block",width:s,height:s,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,x.zA)(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,x.zA)(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`\n ${o}-eye,\n ${o}-download,\n ${o}-delete\n `]:{zIndex:10,width:n,margin:`0 ${(0,x.zA)(e.marginXXS)}`,fontSize:n,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:r,"&:hover":{color:r},svg:{verticalAlign:"baseline"}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,x.zA)(i(e.paddingXS).mul(2).equal())})`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${o}-eye, ${o}-download, ${o}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,x.zA)(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}},[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},A=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},z=e=>{const{componentCls:t,colorTextDisabled:o}=e;return{[`${t}-wrapper`]:{...(0,f.dF)(e),[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-hidden`]:{display:"none"},[`${t}-disabled`]:{color:o,cursor:"not-allowed"}}}},I=(0,b.OF)("Upload",e=>{const{fontSizeHeading3:t,marginXS:o,lineWidth:n,pictureCardSize:r,calc:i}=e,a=(0,v.oX)(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(o).div(2)).add(n).equal(),uploadPicCardSize:r});return[z(a),y(a),w(a),E(a),C(a),k(a),A(a),(0,$.A)(a)]},e=>({actionsColor:e.colorIcon,pictureCardSize:2.55*e.controlHeightLG}));var B=o(65612),N=o(77870),M=o(53275),T=o(55873),P=o(96898),R=o(83732),H=o(85528),F=o(27291),D=o(6493);function L(e){return{...e,lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e}}function W(e,t){const o=(0,r.A)(t),n=o.findIndex(({uid:t})=>t===e.uid);return-1===n?o.push(e):o[n]=e,o}function O(e,t){const o=void 0!==e.uid?"uid":"name";return t.filter(t=>t[o]===e[o])[0]}const X=e=>0===e.indexOf("image/"),_=[".avif",".bmp",".dpg",".gif",".heic",".heif",".ico",".jfif",".jpg",".jpeg",".png",".svg",".tif",".tiff",".webp"],q=e=>{if(e.type&&!e.thumbUrl)return X(e.type);const t=e.thumbUrl||e.url||"",o=((e="")=>{const t=e.split("/"),o=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(o)||[""])[0]})(t||e.name);return!(!/^data:image\//.test(t)&&!_.includes(o?.toLowerCase()||""))||!/^data:/.test(t)&&!o},j=200;function G(e){return new Promise(t=>{if(!e.type||!X(e.type))return void t("");if(e.type.startsWith("image/gif")){const o=new FileReader;return o.onload=()=>{o.result&&t(o.result)},void o.readAsDataURL(e)}const o=document.createElement("canvas");o.width=j,o.height=j,o.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(o);const n=o.getContext("2d"),r=new Image;if(r.onload=()=>{const{width:e,height:i}=r;let a=j,l=j,s=0,c=0;e>i?(l=i*(j/e),c=-(l-a)/2):(a=e*(j/i),s=-(a-l)/2),n.drawImage(r,s,c,a,l);const d=o.toDataURL();document.body.removeChild(o),window.URL.revokeObjectURL(r.src),t(d)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(r.src=t.result)}
1,t.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var K=o(14773),V=o(34191),Q=o(64951),Y=o(55615),U=o(38010);const Z=n.forwardRef(({prefixCls:e,className:t,style:o,classNames:r,styles:i,locale:a,listType:c,file:d,items:p,progress:g,iconRender:h,actionIconRender:f,itemRender:$,isImgUrl:b,showPreviewIcon:v,showRemoveIcon:x,showDownloadIcon:y,previewIcon:C,removeIcon:S,downloadIcon:k,extra:w,onPreview:E,onDownload:A,onClose:z},I)=>{const{status:B}=d,[N,M]=n.useState(B);n.useEffect(()=>{"removed"!==B&&M(B)},[B]);const[T,R]=(0,l.Cy)(!1);n.useEffect(()=>{R(!0,{ms:300})},[]);const H=h(d);let F=n.createElement("div",{className:`${e}-icon`},H);if("picture"===c||"picture-card"===c||"picture-circle"===c)if("uploading"===N||!d.thumbUrl&&!d.url){const t=(0,s.$)(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:"uploading"!==N});F=n.createElement("div",{className:t},H)}else{const t=b?.(d)?n.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:`${e}-list-item-image`,crossOrigin:d.crossOrigin}):H,o=(0,s.$)(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:b&&!b(d)});F=n.createElement("a",{className:o,onClick:e=>E(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},t)}const D=(0,s.$)(`${e}-list-item`,`${e}-list-item-${N}`,r?.item),L="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,W=((0,m.Tn)(x)?x(d):x)?f(((0,m.Tn)(S)?S(d):S)||n.createElement(K.A,null),()=>z(d),e,a.removeFile,!0):null,O=((0,m.Tn)(y)?y(d):y)&&"done"===N?f(((0,m.Tn)(k)?k(d):k)||n.createElement(V.A,null),()=>A(d),e,a.downloadFile):null,X="picture-card"!==c&&"picture-circle"!==c&&n.createElement("span",{key:"download-delete",className:(0,s.$)(`${e}-list-item-actions`,{picture:"picture"===c})},O,W),_=(0,m.Tn)(w)?w(d):w,q=_&&n.createElement("span",{className:`${e}-list-item-extra`},_),j=(0,s.$)(`${e}-list-item-name`),G=d.url?n.createElement("a",{key:"view",target:"_blank",rel:"noopener noreferrer",className:j,title:d.name,...L,href:d.url,onClick:e=>E(d,e)},d.name,q):n.createElement("span",{key:"view",role:"button",tabIndex:0,className:j,onClick:e=>E(d,e),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),E(d,e))},title:d.name},d.name,q),Z=((0,m.Tn)(v)?v(d):v)&&(d.url||d.thumbUrl)?n.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>E(d,e),title:a.previewFile,"aria-label":a.previewFile||void 0},(0,m.Tn)(C)?C(d):C||n.createElement(Q.A,null)):null,J=("picture-card"===c||"picture-circle"===c)&&"uploading"!==N&&n.createElement("span",{className:`${e}-list-item-actions`},Z,"done"===N&&O,W),{getPrefixCls:ee}=n.useContext(u.QO),te=ee(),oe=n.createElement("div",{className:D,style:i?.item},F,G,X,J,T&&n.createElement(P.Ay,{motionName:`${te}-fade`,visible:"uploading"===N,motionDeadline:2e3},({className:t})=>{const o="percent"in d?n.createElement(Y.A,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"],...g}):null;return n.createElement("div",{className:(0,s.$)(`${e}-list-item-progress`,t)},o)})),ne=d.response&&"string"==typeof d.response?d.response:d.error?.statusText||d.error?.message||a.uploadError,re="error"===N?n.createElement(U.A,{title:ne,getPopupContainer:e=>e.parentNode},oe):oe;return n.createElement("div",{className:(0,s.$)(`${e}-list-item-container`,t),style:o,ref:I},$?$(re,d,p,{download:A.bind(null,d),preview:E.bind(null,d),remove:z.bind(null,d)}):re)}),J=Z,ee=(e,t)=>{const{listType:o="text",previewFile:i=G,onPreview:a,onDownload:c,onRemove:d,locale:p,iconRender:g,isImageUrl:h=q,prefixCls:f,items:$=[],showPreviewIcon:b=!0,showRemoveIcon:v=!0,showDownloadIcon:x=!1,removeIcon:y,previewIcon:C,downloadIcon:S,extra:k,progress:w={size:[-1,2],showInfo:!1},appendAction:E,appendActionVisible:A=!0,itemRender:z,disabled:I,classNames:L,styles:W}=e,[,O]=(0,R.C)(),[X,_]=n.useState(!1),j=["picture-card","picture-circle"].includes(o);n.useEffect(()=>{o.startsWith("picture")&&($||[]).forEach(e=>{(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i?.(e.originFileObj).then(t=>{e.thumbUrl=t||"",O()}))})},[o,$,i]),n.useEffect(()=>{_(!0)},[]);const K=(e,t)=>{if(a)return t?.preventDefault(),a(e)},V=e=>{(0,m.Tn)(c)?c(e):e.url&&window.open(e.url,"_blank","noopener")},Q=e=>{d?.(e)},Y=e=>{if(g)return g(e,o);const t="uploading"===e.status;if(o.startsWith("picture")){const r="picture"===o?n.createElement(N.A,null):p.uploading,i=h?.(e)?n.createElement(T.A,null):n.createElement(B.A,null);return t?r:i}return t?n.createElement(N.A,null):n.createElement(M.A,null)},U=(e,t,o,r,i)=>{const a={type:"text",size:"small",title:r,"aria-label":r||void 0,onClick:o=>{t(),n.isValidElement(e)&&e.props.onClick?.(o)},className:`${o}-list-item-action`,disabled:!!i&&I};return n.isValidElement(e)?n.createElement(D.A,{...a,icon:(0,F.Ob)(e,{...e.props,onClick:()=>{}})}):n.createElement(D.A,{...a},n.createElement("span",null,e))};n.useImperativeHandle(t,()=>({handlePreview:K,handleDownload:V}));const{getPrefixCls:Z}=n.useContext(u.QO),ee=Z("upload",f),te=Z(),oe=(0,s.$)(`${ee}-list`,`${ee}-list-${o}`,L?.list),ne=n.useMemo(()=>(0,l.cJ)((0,H.A)(te),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[te]),re={...j?{}:ne,motionDeadline:2e3,motionName:`${ee}-${j?"animate-inline":"animate"}`,keys:(0,r.A)($.map(e=>({key:e.uid,file:e}))),motionAppear:X};return n.createElement("div",{className:oe,style:W?.list},n.createElement(P.aF,{...re,component:!1},({key:e,file:t,className:r,style:i})=>n.createElement(J,{key:e,locale:p,prefixCls:ee,className:r,style:i,classNames:L,styles:W,file:t,items:$,progress:w,listType:o,isImgUrl:h,showPreviewIcon:b,showRemoveIcon:v,showDownloadIcon:x,removeIcon:y,previewIcon:C,downloadIcon:S,extra:k,iconRender:Y,actionIconRender:U,itemRender:z,onPreview:K,onDownload:V,onClose:Q})),E&&n.createElement(P.Ay,{...re,visible:A,forceRender:!0},({className:e,style:t})=>(0,F.Ob)(E,o=>({className:(0,s.$)(o.className,e),style:{...t,pointerEvents:e?"none":void 0,...o.style}}))))},te=n.forwardRef(ee),oe=`__LIST_IGNORE_${Date.now()}__`,ne=(e,t)=>{const o=(0,u.TP)("upload"),{fileList:f,defaultFileList:$,onRemove:b,showUploadList:v=!0,listType:x="text",onPreview:y,onDownload:C,onChange:S,onDrop:k,previewFile:w,disabled:E,locale:A,iconRender:z,isImageUrl:B,progress:N,prefixCls:M,className:T,type:P="select",children:R,style:H,itemRender:F,maxCount:D,data:X={},multiple:_=!1,hasControlInside:q=!0,action:j="",accept:G,supportServerRender:K=!0,rootClassName:V,styles:Q,classNames:Y}=e,U=n.useContext(p.A),Z=E??U,J=e.customRequest||o.customRequest,ee=o.progress||N?{...o.progress,...N}:void 0,ne=(0,c.A)(G,o.accept,""),[re,ie]=(0,l.PW)($,f),ae=re||[],le=(0,l._q)(()=>ae),[se,ce]=n.useState("drop"),de=n.useRef(null),me=n.useRef(null);n.useMemo(()=>{const e=Date.now();
1(f||[]).forEach((t,o)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${o}__`)})},[f]);const ue=(e,t,o)=>{let n=(0,r.A)(t),a=!1;1===D?n=n.slice(-1):D&&(a=n.length>D,n=n.slice(0,D)),(0,i.flushSync)(()=>{ie(n)});const l={file:e,fileList:n};o&&(l.event=o),a&&"removed"!==e.status&&!n.some(t=>t.uid===e.uid)||(0,i.flushSync)(()=>{S?.(l)})},pe=e=>{const t=e.filter(e=>!e.file[oe]);if(!t.length)return;const o=t.map(e=>L(e.file));let n=(0,r.A)(ae);o.forEach(e=>{n=W(e,n)}),o.forEach((e,o)=>{let r=e;if(t[o].parsedFile)e.status="uploading";else{const{originFileObj:t}=e;let o;try{o=new File([t],t.name,{type:t.type})}catch{o=new Blob([t],{type:t.type}),o.name=t.name,o.lastModifiedDate=new Date,o.lastModified=(new Date).getTime()}o.uid=e.uid,r=o}ue(r,n)})},ge=(e,t,o)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch{}if(!O(t,ae))return;const n=L(t);n.status="done",n.percent=100,n.response=e,n.xhr=o;const r=W(n,ae);ue(n,r)},he=(e,t)=>{if(!O(t,ae))return;const o=L(t);o.status="uploading",o.percent=e.percent;const n=W(o,ae);ue(o,n,e)},fe=(e,t,o)=>{if(!O(o,ae))return;const n=L(o);n.error=e,n.response=t,n.status="error";const r=W(n,ae);ue(n,r)},$e=e=>{let t;Promise.resolve((0,m.Tn)(b)?b(e):b).then(o=>{if(!1===o)return;const n=le(),r=function(e,t){const o=void 0!==e.uid?"uid":"name",n=t.filter(t=>t[o]!==e[o]);return n.length===t.length?null:n}(e,n);r&&(t={...e,status:"removed"},n.forEach(e=>{const o=void 0!==t.uid?"uid":"name";e[o]!==t[o]||Object.isFrozen(e)||(e.status="removed")}),de.current?.abort(t),ue(t,r))})},be=e=>{ce(e.type),"drop"===e.type&&k?.(e)};n.useImperativeHandle(t,()=>({onBatchStart:pe,onSuccess:ge,onProgress:he,onError:fe,fileList:ae,upload:de.current,nativeElement:me.current}));const{getPrefixCls:ve,direction:xe,className:ye,style:Ce,classNames:Se,styles:ke}=(0,u.TP)("upload"),we=ve("upload",M),Ee={...e,listType:x,showUploadList:v,type:P,multiple:_,hasControlInside:q,supportServerRender:K,disabled:Z},Ae=(0,d.XT)(Ce,"trigger"),ze=(0,d.XT)(H,"trigger"),[Ie,Be]=(0,d.AV)([Se,Y],[ke,Ae,Q,ze],{props:Ee}),Ne={onBatchStart:pe,onError:fe,onProgress:he,onSuccess:ge,...e,customRequest:J,data:X,multiple:_,action:j,accept:ne,supportServerRender:K,prefixCls:we,disabled:Z,beforeUpload:async(t,o)=>{const{beforeUpload:n}=e;let r=t;if(n){const e=await n(t,o);if(!1===e)return!1;if(delete t[oe],e===oe)return Object.defineProperty(t,oe,{value:!0,configurable:!0}),!1;(0,m.Qd)(e)&&(r=e)}return r},onChange:void 0,hasControlInside:q};delete Ne.className,delete Ne.style,R&&!Z||delete Ne.id;const Me=`${we}-wrapper`,[Te,Pe]=I(we,Me),[Re]=(0,g.A)("Upload",h.A.Upload),{showRemoveIcon:He,showPreviewIcon:Fe,showDownloadIcon:De,removeIcon:Le,previewIcon:We,downloadIcon:Oe,extra:Xe}="boolean"==typeof v?{}:v,_e=void 0===He?!Z:He,qe=(e,t)=>v?n.createElement(te,{classNames:Ie,styles:Be,prefixCls:we,listType:x,items:ae,previewFile:w,onPreview:y,onDownload:C,onRemove:$e,showRemoveIcon:_e,showPreviewIcon:Fe,showDownloadIcon:De,removeIcon:Le,previewIcon:We,downloadIcon:Oe,iconRender:z,extra:Xe,locale:{...Re,...A},isImageUrl:B,progress:ee,appendAction:e,appendActionVisible:t,itemRender:F,disabled:Z}):e,je=(0,s.$)(Me,T,V,Te,Pe,ye,Ie.root,{[`${we}-rtl`]:"rtl"===xe,[`${we}-picture-card-wrapper`]:"picture-card"===x,[`${we}-picture-circle-wrapper`]:"picture-circle"===x}),Ge={...Be.root};if("drag"===P){const e=(0,s.$)(Te,we,`${we}-drag`,{[`${we}-drag-uploading`]:ae.some(e=>"uploading"===e.status),[`${we}-drag-hover`]:"dragover"===se,[`${we}-disabled`]:Z,[`${we}-rtl`]:"rtl"===xe},Ie.trigger);return n.createElement("span",{className:je,ref:me,style:Ge},n.createElement("div",{className:e,style:Be.trigger,onDrop:be,onDragOver:be,onDragLeave:be},n.createElement(a.A,{...Ne,ref:de,className:`${we}-btn`},n.createElement("div",{className:`${we}-drag-container`},R))),qe())}const Ke=(0,s.$)(we,`${we}-select`,{[`${we}-disabled`]:Z,[`${we}-hidden`]:!R},Ie.trigger),Ve=n.createElement("div",{className:Ke,style:Be.trigger},n.createElement(a.A,{...Ne,ref:de}));return"picture-card"===x||"picture-circle"===x?n.createElement("span",{className:je,ref:me,style:Ge},qe(Ve,!!R)):n.createElement("span",{className:je,ref:me,style:Ge},Ve,qe())},re=n.forwardRef(ne),ie=n.forwardRef((e,t)=>
1{const{style:o,height:r,hasControlInside:i=!1,children:a,...l}=e,s={...o,height:r};return n.createElement(re,{ref:t,hasControlInside:i,...l,style:s,type:"drag"},a)}),ae=ie,le=re;le.Dragger=ae,le.LIST_IGNORE=oe;const se=le},71857:(e,t,o)=>{o.d(t,["A",0,"6.6.4"])},21120:(e,t,o)=>{o.d(t,{f:()=>l});var n=o(14041),r=o(35342);function i(){}const a=n.createContext({add:i,remove:i});function l(e){const t=n.useContext(a),o=n.useRef(null);return(0,r._q)(n=>{if(n){const r=e?n.querySelector(e):n;r&&(t.add(r),o.current=r)}else t.remove(o.current)})}const s=a;o.d(t,["A",0,s])}}]); 2//# sourceMappingURL=3705.1d187a9f3a530d7f6fc2.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.