(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,949680,e=>{"use strict";e.s(["f",0,{status:"暂无状态数据",tasks:"暂无任务",conversations:"暂无会话",agentSessions:"暂无 Agent 会话",selectSession:"请选择会话或新建会话",llm:"暂无 LLM 配置",profile:"暂无个人信息",messages:"暂无消息",analysis:"当前会话暂无分析结果",table:"暂无数据"}])},540716,e=>{"use strict";var t=e.i(714304);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"};var n=e.i(707929);function o(){return(o=Object.assign.bind()).apply(this,arguments)}let a=t.forwardRef((e,a)=>t.createElement(n.f,o({},e,{ref:a,icon:r})));e.s(["f",0,a],540716)},588954,e=>{"use strict";var t=e.i(714304),r=e.i(20193),n=e.i(771775),o=e.i(196441),a=e.i(70912),l=e.i(421192),i=e.i(251843);e.i(333400);var s=e.i(825616),c=e.i(160764),d=e.i(945731),m=e.i(7284),p=e.i(408051),u=e.i(495739),f=e.i(366269),g=e.i(857609);e.i(96743);var h=e.i(559143),$=e.i(30832),b=e.i(299761);let v=(e,t,r)=>({background:e,[`${r}-icon`]:{color:t}}),y=(0,b.A)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:r,marginXS:n,marginSM:o,fontSize:a,fontSizeLG:l,lineHeight:i,motionEaseInOutCirc:s,containerBorderRadius:c,withDescriptionIconSize:d,colorText:m,colorTextHeading:p,withDescriptionPadding:u,defaultPadding:f,lineWidth:g,lineType:b,colorSuccessBorder:v,colorWarningBorder:y,colorErrorBorder:x,colorInfoBorder:w}=e;return{[t]:{...(0,$.n)(e),position:"relative",display:"flex",alignItems:"center",padding:f,wordWrap:"break-word",borderRadius:c,borderWidth:(0,h.S)(g),borderStyle:b,[`&${t}-success`]:{borderColor:v},[`&${t}-info`]:{borderColor:w},[`&${t}-warning`]:{borderColor:y},[`&${t}-error`]:{borderColor:x},[`&${t}-filled`]:{borderColor:"transparent"},[`&${t}-rtl`]:{direction:"rtl"},[`${t}-section`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:n,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:i},"&-title":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:["max-height","opacity","padding-top","padding-bottom","margin-bottom"].map(e=>`${e} ${r} ${s}`).join(", ")},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0},[`&${t}-with-description`]:{alignItems:"flex-start",padding:u,[`${t}-icon`]:{marginInlineEnd:o,fontSize:d,lineHeight:0},[`${t}-title`]:{display:"block",marginBottom:n,color:p,fontSize:l},[`${t}-description`]:{display:"block",color:m}},[`&${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:t,colorSuccess:r,colorSuccessBg:n,colorWarning:o,colorWarningBg:a,colorError:l,colorErrorBg:i,colorInfo:s,colorInfoBg:c}=e;return{[t]:{"&-success":v(n,r,t),"&-info":v(c,s,t),"&-warning":v(a,o,t),"&-error":{...v(i,l,t),[`${t}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:t,iconCls:r,motionDurationMid:n,marginXS:o,fontSizeIcon:a,colorIcon:l,colorIconHover:i,colorTextDisabled:s}=e;return{[t]:{[`${t}-actions`]:{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:a,lineHeight:(0,h.S)(a),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,$.I)(e),[`${r}-close`]:{color:l,transition:`color ${n}`,"&:hover":{color:i}},"&:disabled":{cursor:"not-allowed",color:s,[`${r}-close`]:{color:"inherit",pointerEvents:"none"}}}}}})(e)],e=>({containerBorderRadius:e.borderRadiusLG,withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),x=e=>{let{icon:o,type:i,className:s,style:c,successIcon:d,infoIcon:m,warningIcon:p,errorIcon:u}=e,f={success:d??t.createElement(r.f,null),info:m??t.createElement(l.f,null),error:u??t.createElement(n.f,null),warning:p??t.createElement(a.f,null)};return t.createElement("span",{className:s,style:c},o??f[i])},w=e=>{let{isClosable:r,disabled:n,prefixCls:a,closeIcon:l,handleClose:i,ariaProps:s,className:c,style:d}=e,p=!0===l||void 0===l?t.createElement(o.f,null):l;return r?t.createElement("button",{type:"button",disabled:n,onClick:i,className:(0,m.q)(`${a}-close-icon`,c),style:d,...s},p):null},S=t.forwardRef((e,r)=>{let{description:n,prefixCls:o,message:a,title:l,banner:h,className:$,rootClassName:b,style:v,onMouseEnter:S,onMouseLeave:E,onClick:C,afterClose:k,showIcon:N,closable:z,closeText:q,closeIcon:I,action:R,id:M,styles:B,classNames:D,...L}=e,H=l??a,[P,W]=t.useState(!1),G=t.useRef(null);t.useImperativeHandle(r,()=>({nativeElement:G.current}));let{getPrefixCls:A,direction:T,closable:O,closeIcon:_,className:F,style:j,classNames:Y,styles:U,successIcon:X,infoIcon:V,warningIcon:K,errorIcon:J}=(0,f.Y)("alert"),Q=A("alert",o),[Z,ee]=y(Q),{onClose:et,afterClose:er,disabled:en}=(0,u.d)(z)?z:{},eo=t=>{W(!0),(et??e.onClose)?.(t)},ea=t.useMemo(()=>void 0!==e.type?e.type:h?"warning":"info",[e.type,h]),[el]=(0,g.f)("alert",e.variant,{variants:["outlined","filled"],defaultVariant:"outlined"}),ei=t.useMemo(()=>!!(0,u.d)(z)||!!q||("boolean"==typeof z?z:!!(!1!==I&&(0,c.b)(I))||!!O),[q,I,z,O]),es=!!h&&void 0===N||N,ec={...e,prefixCls:Q,variant:el,type:ea,showIcon:es,closable:ei},ed=(0,p.G)(j),em=(0,p.G)(v),[ep,eu]=(0,p.o)([Y,D],[U,ed,B,em],{props:ec}),ef=(0,m.q)(Q,`${Q}-${ea}`,`${Q}-${el}`,{[`${Q}-with-description`]:(0,c.q)(n),[`${Q}-no-icon`]:!es,[`${Q}-banner`]:!!h,[`${Q}-rtl`]:"rtl"===T},F,$,b,ep.root,ee,Z),eg=(0,d.f)(L,{aria:!0,data:!0}),eh=t.useMemo(()=>(0,u.d)(z)&&z.closeIcon?z.closeIcon:q||(void 0!==I?I:(0,u.d)(O)&&O.closeIcon?O.closeIcon:_),[I,z,O,q,_]),e$=t.useMemo(()=>{let e=z??O;return(0,u.d)(e)?(0,d.f)(e,{data:!0,aria:!0}):{}},[z,O]);return t.createElement(i.f,{visible:!P,motionName:`${Q}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:er??k},({className:r,style:o},a)=>t.createElement("div",{id:M,ref:(0,s.U)(G,a),"data-show":!P,className:(0,m.q)(ef,r),style:{...eu.root,...o},onMouseEnter:S,onMouseLeave:E,onClick:C,role:"alert",...eg},es?t.createElement(x,{className:(0,m.q)(`${Q}-icon`,ep.icon),style:eu.icon,icon:e.icon,type:ea,successIcon:X,infoIcon:V,warningIcon:K,errorIcon:J}):null,t.createElement("div",{className:(0,m.q)(`${Q}-section`,ep.section),style:eu.section},(0,c.q)(H)?t.createElement("div",{className:(0,m.q)(`${Q}-title`,ep.title),style:eu.title},H):null,(0,c.q)(n)?t.createElement("div",{className:(0,m.q)(`${Q}-description`,ep.description),style:eu.description},n):null),(0,c.q)(R)?t.createElement("div",{className:(0,m.q)(`${Q}-actions`,ep.actions),style:eu.actions},R):null,t.createElement(w,{className:ep.close,style:eu.close,isClosable:ei,disabled:en,prefixCls:Q,closeIcon:eh,handleClose:eo,ariaProps:e$})))});var E=e.i(983147),C=e.i(792833),k=e.i(621428),N=e.i(786257),z=e.i(498073),q=e.i(403911);let I=function(e){function r(){var e,t,n;return(0,E.f)(this,r),t=r,n=arguments,t=(0,k.f)(t),(e=(0,z.f)(this,(0,N.f)()?Reflect.construct(t,n||[],(0,k.f)(this).constructor):t.apply(this,n))).state={error:void 0,info:{}},e}return(0,q.f)(r,e),(0,C.f)(r,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,title:r,description:n,id:o,children:a}=this.props,{error:l,info:i}=this.state,s=r??e,d=i?.componentStack||null,m=(0,c.b)(s)?s:l?.toString(),p=(0,c.b)(n)?n:d;return l?t.createElement(S,{id:o,type:"error",title:m,description:t.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},p)}):a}}])}(t.PureComponent);S.ErrorBoundary=I,e.s(["f",0,S],588954)},225427,e=>{"use strict";var t=e.i(714304),r=e.i(124265);e.i(333400);var n=e.i(825616),o=e.i(160764),a=e.i(7284),l=e.i(495739),i=e.i(816597),s=e.i(366269),c=e.i(741308),d=e.i(478420),m=e.i(786442);let p=t.createContext({});e.i(96743);var u=e.i(559143),f=e.i(30832),g=e.i(299761),h=e.i(644439);let $=(0,g.A)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:r}=e,n=(0,h.f)(e,{avatarBg:r,avatarColor:t});return[(e=>{let{antCls:t,componentCls:r,iconCls:n,avatarBg:o,avatarColor:a,containerSize:l,containerSizeLG:i,containerSizeSM:s,textFontSize:c,textFontSizeLG:d,textFontSizeSM:m,iconFontSize:p,iconFontSizeLG:g,iconFontSizeSM:h,borderRadius:$,borderRadiusLG:b,borderRadiusSM:v,lineWidth:y,lineType:x}=e,w=(e,t,o,a)=>({width:e,height:e,borderRadius:"50%",fontSize:t,[`&${r}-square`]:{borderRadius:a},[`&${r}-icon`]:{fontSize:o,[`> ${n}`]:{margin:0}}});return{[r]:{...(0,f.n)(e),position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${(0,u.S)(y)} ${x} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"},...w(l,c,p,$),"&-lg":{...w(i,d,g,b)},"&-sm":{...w(s,m,h,v)},"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}}}})(n),(e=>{let{componentCls:t,groupBorderColor:r,groupOverlapping:n,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:r},"> *:not(:first-child)":{marginInlineStart:n}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}})(n)]},e=>{let{controlHeight:t,controlHeightLG:r,controlHeightSM:n,fontSize:o,fontSizeLG:a,fontSizeXL:l,fontSizeHeading3:i,marginXS:s,marginXXS:c,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:r,containerSizeSM:n,textFontSize:o,textFontSizeLG:o,textFontSizeSM:o,iconFontSize:Math.round((a+l)/2),iconFontSizeLG:i,iconFontSizeSM:o,groupSpace:c,groupOverlapping:-s,groupBorderColor:d}}),b=t.forwardRef((e,u)=>{let f,{prefixCls:g,shape:h,size:b,src:v,srcSet:y,icon:x,className:w,rootClassName:S,style:E,alt:C,draggable:k,children:N,crossOrigin:z,gap:q=4,onError:I,...R}=e,[M,B]=t.useState(1),[D,L]=t.useState(!1),[H,P]=t.useState(!0),W=t.useRef(null),G=t.useRef(null),A=(0,n.U)(u,W),{getPrefixCls:T,className:O,style:_}=(0,s.Y)("avatar"),F=t.useContext(p),j=()=>{if(!G.current||!W.current)return;let e=G.current.offsetWidth,t=W.current.offsetWidth;0!==e&&0!==t&&2*q{L(!0)},[]),t.useEffect(()=>{P(!0),B(1)},[v,y]),t.useEffect(j,[q]);let Y=(0,d.f)(e=>b??F?.size??e??"medium"),U=Object.keys((0,l.d)(Y)?Y:{}).some(e=>i.x.includes(e)),X=(0,o.q)(x),V=(0,m.f)(U),K=t.useMemo(()=>{if(!(0,l.d)(Y))return{};let e=(0,i.g)(V,Y);return e?{width:e,height:e,fontSize:X||(0,o.q)(N)?e/2:18}:{}},[V,Y,X,N]),J=T("avatar",g),Q=(0,c.f)(J),[Z,ee]=$(J,Q),et=(0,a.q)({[`${J}-lg`]:"large"===Y,[`${J}-sm`]:"small"===Y}),er=t.isValidElement(v),en=h||F?.shape||"circle",eo=(0,a.q)(J,et,O,`${J}-${en}`,{[`${J}-image`]:er||v&&H,[`${J}-icon`]:X},ee,Q,w,S,Z),ea=(0,l.H)(Y)?{width:Y,height:Y,fontSize:X?Y/2:18}:{};if("string"==typeof v&&H)f=t.createElement("img",{src:v,draggable:k,srcSet:y,onError:()=>{!1!==I?.()&&P(!1)},alt:C,crossOrigin:z});else if(er)f=v;else if(X)f=x;else if(D||1!==M){let e=`scale(${M})`;f=t.createElement(r.f,{onResize:j},t.createElement("span",{className:`${J}-string`,ref:G,style:{WebkitTransform:e,transform:e}},N))}else f=t.createElement("span",{className:`${J}-string`,style:{opacity:0},ref:G},N);return t.createElement("span",{...R,style:{...ea,...K,..._,...E},className:eo,ref:A},f)});var v=e.i(78680),y=e.i(267253),x=e.i(877874);let w=e=>{let{size:r,shape:n}=t.useContext(p),o=t.useMemo(()=>({size:e.size||r,shape:e.shape||n}),[e.size,e.shape,r,n]);return t.createElement(p.Provider,{value:o},e.children)},S=t.forwardRef((e,r)=>{let{getPrefixCls:n,direction:o}=t.useContext(s.V),{prefixCls:l,className:i,rootClassName:d,style:m,maxCount:p,maxStyle:u,size:f,shape:g,maxPopoverPlacement:h,maxPopoverTrigger:S,children:E,max:C}=e,k=n("avatar",l),N=`${k}-group`,z=(0,c.f)(k),[q,I]=$(k,z),R=(0,a.q)(N,{[`${N}-rtl`]:"rtl"===o},I,z,i,d,q),M=(0,v.f)(E).map((e,t)=>(0,y.o)(e,{key:`avatar-key-${t}`})),B=t.useRef(null);t.useImperativeHandle(r,()=>({nativeElement:B.current}));let D=C?.count||p,L=M.length,H=M;if(D&&D{"use strict";let t=e.i(452139).f;e.s(["f",0,t])},415596,e=>{"use strict";var t=e.i(437111);e.s(["f",()=>t.f])},863343,e=>{"use strict";var t=e.i(714304);e.i(333400);var r=e.i(160764),n=e.i(7284),o=e.i(408051),a=e.i(495739),l=e.i(816597),i=e.i(366269),s=e.i(478420),c=e.i(786442);let d={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},m=t.default.createContext(null);var p=e.i(78680);let u=e=>{let{itemPrefixCls:a,component:l,span:i,className:s,style:c,labelStyle:d,contentStyle:p,bordered:u,label:f,content:g,colon:h,type:$,styles:b,classNames:v}=e,{classNames:y,styles:x}=t.default.useContext(m),[w,S]=(0,o.o)([y,v],[x,b],{props:e}),E={...d,...S.label},C={...p,...S.content};if(u){let e;"label"===$&&(e=E),"content"===$&&(e=C);let o=e?{...c,...e}:c;return t.default.createElement(l,{colSpan:i,style:o,className:(0,n.q)(s,{[`${a}-item-${$}`]:"label"===$||"content"===$,[w.label]:w.label&&"label"===$,[w.content]:w.content&&"content"===$})},(0,r.q)(f)&&t.default.createElement("span",null,f),(0,r.q)(g)&&t.default.createElement("span",null,g))}return t.default.createElement(l,{className:(0,n.q)(`${a}-item`,s),style:c,colSpan:i},t.default.createElement("div",{className:`${a}-item-container`},(0,r.q)(f)&&t.default.createElement("span",{style:E,className:(0,n.q)(`${a}-item-label`,w.label,{[`${a}-item-no-colon`]:!h})},f),(0,r.q)(g)&&t.default.createElement("span",{style:C,className:(0,n.q)(`${a}-item-content`,w.content)},g)))};function f(e,{colon:r,prefixCls:n,bordered:o},{component:a,type:l,showLabel:i,showContent:s,labelStyle:c,contentStyle:d,styles:m}){return e.map(({label:e,children:p,prefixCls:f=n,className:g,style:h,labelStyle:$,contentStyle:b,span:v=1,key:y,styles:x,classNames:w},S)=>{let E=y??S;if("string"==typeof a)return t.createElement(u,{key:`${l}-${E}`,className:g,style:h,classNames:w,styles:{label:{...c,...m?.label,...$,...x?.label},content:{...d,...m?.content,...b,...x?.content}},span:v,colon:r,component:a,itemPrefixCls:f,bordered:o,label:i?e:null,content:s?p:null,type:l});let C={label:{...c,...m?.label,...$,...x?.label},content:{...d,...m?.content,...b,...x?.content}};return[t.createElement(u,{key:`label-${E}`,className:g,style:h,classNames:w,styles:C,span:1,colon:r,component:a[0],itemPrefixCls:f,bordered:o,label:e,type:"label"}),t.createElement(u,{key:`content-${E}`,className:g,style:h,classNames:w,styles:C,span:2*v-1,component:a[1],itemPrefixCls:f,bordered:o,content:p,type:"content"})]})}let g=e=>{let r=t.useContext(m),{prefixCls:n,vertical:o,row:a,index:l,bordered:i}=e;return o?t.createElement(t.Fragment,null,t.createElement("tr",{key:`label-${l}`,className:`${n}-row`},f(a,e,{component:"th",type:"label",showLabel:!0,...r})),t.createElement("tr",{key:`content-${l}`,className:`${n}-row`},f(a,e,{component:"td",type:"content",showContent:!0,...r}))):t.createElement("tr",{key:l,className:`${n}-row`},f(a,e,{component:i?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,...r}))};e.i(96743);var h=e.i(559143),$=e.i(30832),b=e.i(299761),v=e.i(644439);let y=(0,b.A)("Descriptions",e=>(e=>{let{componentCls:t,extraColor:r,itemPaddingBottom:n,itemPaddingEnd:o,colonMarginRight:a,colonMarginLeft:l,titleMarginBottom:i}=e,s=`> ${t}-view > table > tbody > ${t}-row`;return{[t]:{...(0,$.n)(e),...(e=>{let{componentCls:t,labelBg:r}=e,n=`> ${t}-view > table > tbody > ${t}-row`;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${(0,h.S)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`> table > tbody > ${t}-row`]:{borderBottom:`${(0,h.S)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:"none","> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,h.S)(e.padding)} ${(0,h.S)(e.paddingLG)}`,borderInlineEnd:`${(0,h.S)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:r,"&::after":{display:"none"}}}},[`&${t}-medium`]:{[n]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,h.S)(e.paddingSM)} ${(0,h.S)(e.paddingLG)}`}}},[`&${t}-small`]:{[n]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,h.S)(e.paddingXS)} ${(0,h.S)(e.padding)}`}}}}}})(e),"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:i},[`${t}-title`]:{...$.j,flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:"auto",color:r,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{minWidth:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[s]:{"> th, > td":{paddingBottom:n,paddingInlineEnd:o},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:400,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,h.S)(l)} ${(0,h.S)(a)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`> ${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`> ${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-medium":{[s]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[s]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}})((0,v.f)(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),x=t.forwardRef((e,u)=>{let f,{prefixCls:h,title:$,extra:b,column:v,colon:x=!0,bordered:w,layout:S,children:E,className:C,rootClassName:k,style:N,size:z,labelStyle:q,contentStyle:I,styles:R,items:M,classNames:B,...D}=e,{getPrefixCls:L,direction:H,className:P,style:W,classNames:G,styles:A}=(0,i.Y)("descriptions"),T=L("descriptions",h),O=(0,c.f)(),_=t.useMemo(()=>(0,a.H)(v)?v:(0,l.g)(O,v)??(0,l.g)(O,d)??3,[O,v]),F=(f=t.useMemo(()=>M||(0,p.f)(E).map(e=>({...e?.props,key:e.key})),[M,E]),t.useMemo(()=>f.map(({span:e,...t})=>"filled"===e?{...t,filled:!0}:{...t,span:(0,a.H)(e)?e:(0,l.g)(O,e)}),[f,O])),j=(0,s.f)(z),Y=((e,r)=>{let[n,o]=(0,t.useMemo)(()=>{let t,n,o,a;return t=[],n=[],o=!1,a=0,r.filter(e=>e).forEach(r=>{let{filled:l,...i}=r;if(l){n.push(i),t.push(n),n=[],a=0;return}let s=e-a;(a+=r.span||1)>=e?(a>e?(o=!0,n.push({...i,span:s})):n.push(i),t.push(n),n=[],a=0):n.push(i)}),n.length>0&&t.push(n),[t=t.map(t=>{let r=t.reduce((e,t)=>e+(t.span||1),0);if(r({labelStyle:q,contentStyle:I,styles:{label:Z.label,content:Z.content},classNames:{label:Q.label,content:Q.content}}),[q,I,Z.label,Z.content,Q.label,Q.content]),et=t.useRef(null);t.useImperativeHandle(u,()=>({nativeElement:et.current}));let er=(0,r.q)($),en=(0,r.q)(b);return t.createElement(m.Provider,{value:ee},t.createElement("div",{ref:et,className:(0,n.q)(T,P,Q.root,{[`${T}-medium`]:"medium"===j||"middle"===j,[`${T}-small`]:"small"===j,[`${T}-bordered`]:!!w,[`${T}-rtl`]:"rtl"===H},C,k,U,X),style:Z.root,...D},(er||en)&&t.createElement("div",{className:(0,n.q)(`${T}-header`,Q.header),style:Z.header},er&&t.createElement("div",{className:(0,n.q)(`${T}-title`,Q.title),style:Z.title},$),en&&t.createElement("div",{className:(0,n.q)(`${T}-extra`,Q.extra),style:Z.extra},b)),t.createElement("div",{className:`${T}-view`},t.createElement("table",null,t.createElement("tbody",null,Y.map((e,r)=>t.createElement(g,{key:r,index:r,colon:x,prefixCls:T,vertical:"vertical"===S,bordered:w,row:e})))))))});x.Item=e=>e.children,e.s(["f",0,x],863343)},98738,e=>{"use strict";var t=e.i(714304),r=e.i(692394),n=e.i(633494);let o=t.createContext(null),a=t.createContext({});var l=e.i(7284),i=e.i(251843),s=e.i(262622),c=e.i(300976);function d(){return(d=Object.assign.bind()).apply(this,arguments)}let m=e=>{let{prefixCls:r,className:n,containerRef:o,...i}=e,{panel:m}=t.useContext(a),p=(0,c.Y)(m,o);return t.createElement("div",d({className:(0,l.q)(`${r}-section`,n),role:"dialog",ref:p},(0,s.f)(e,{aria:!0}),{"aria-modal":"true"},i))};e.i(48813);var p=e.i(456761),u=e.i(796469);function f(e){if("string"==typeof e){let t=Number(e.replace(/px$/i,""));if(parseFloat(e)===t&&(0,u.f)(!1,"Invalid value type of `width` or `height` which should be number type instead."),!Number.isNaN(t))return t}return e}var g=e.i(215285);function h(){return(h=Object.assign.bind()).apply(this,arguments)}let $=t.forwardRef((e,r)=>{let{prefixCls:n,open:a,placement:c,inline:d,push:u,forceRender:$,autoFocus:b,focusTrap:v,classNames:y,rootClassName:x,rootStyle:w,zIndex:S,className:E,id:C,style:k,motion:N,width:z,height:q,size:I,maxSize:R,children:M,mask:B,maskClosable:D,maskMotion:L,maskClassName:H,maskStyle:P,afterOpenChange:W,onClose:G,onMouseEnter:A,onMouseOver:T,onMouseLeave:O,onClick:_,onKeyDown:F,onKeyUp:j,styles:Y,drawerRender:U,resizable:X,defaultSize:V}=e,K=t.useRef(null);t.useImperativeHandle(r,()=>K.current);let J=function(e,r,n,o,a){let[l]=(0,g.h)(r&&(o??!1!==a),e);return t.default.useEffect(()=>{r&&!0===n&&e()?.focus({preventScroll:!0})},[r]),l}(()=>K.current,a,b,v,B),[Q,Z]=t.useState(!1),ee=t.useContext(o),et=("boolean"==typeof u?u?{}:{distance:0}:u||{})?.distance??ee?.pushDistance??180,er=t.useMemo(()=>({pushDistance:et,push:()=>{Z(!0)},pull:()=>{Z(!1)}}),[et]);t.useEffect(()=>{a?ee?.push?.():ee?.pull?.()},[a]),t.useEffect(()=>()=>{ee?.pull?.()},[]);let en=t.createElement(i.f,h({key:"mask"},L,{visible:B&&a}),({className:e,style:r},o)=>t.createElement("div",{className:(0,l.q)(`${n}-mask`,e,y?.mask,H),style:{...r,...P,...Y?.mask},onClick:D&&a?G:void 0,ref:o})),eo="function"==typeof N?N(c):N,[ea,el]=t.useState(),ei="left"===c||"right"===c,es=t.useMemo(()=>{let e=ei?z:q;return f(I??e??ea??V??(ei?378:void 0))},[I,z,q,V,ei,ea]),ec=t.useMemo(()=>{let e={};if(Q&&et)switch(c){case"top":e.transform=`translateY(${et}px)`;break;case"bottom":e.transform=`translateY(${-et}px)`;break;case"left":e.transform=`translateX(${et}px)`;break;default:e.transform=`translateX(${-et}px)`}return ei?e.width=f(es):e.height=f(es),e},[Q,et,c,ei,es]),ed=t.useRef(null),em=!!X,ep="object"==typeof X&&X||{},eu=(0,p.f)(e=>{el(e),ep.onResize?.(e)}),{dragElementProps:ef,isDragging:eg}=function(e){let{prefixCls:r,direction:n,className:o,style:a,maxSize:i,containerRef:s,currentSize:c,onResize:d,onResizeEnd:m,onResizeStart:u}=e,[f,g]=t.useState(!1),[h,$]=t.useState(0),[b,v]=t.useState(0),y="left"===n||"right"===n,x=(0,p.f)(e=>{let t;if(e.preventDefault(),e.stopPropagation(),g(!0),y?$(e.clientX):$(e.clientY),"number"==typeof c)t=c;else if(s?.current){let e=s.current.getBoundingClientRect();t=y?e.width:e.height}v(t),u?.(t)}),w=(0,p.f)(e=>{if(!f)return;let t=(y?e.clientX:e.clientY)-h;("right"===n||"bottom"===n)&&(t=-t);let r=b+t;r<0&&(r=0),i&&r>i&&(r=i),d?.(r)}),S=t.useCallback(()=>{if(f&&(g(!1),s?.current)){let e=s.current.getBoundingClientRect(),t=y?e.width:e.height;m?.(t)}},[f,s,m,y]);return t.useEffect(()=>{if(f)return document.addEventListener("mousemove",w),document.addEventListener("mouseup",S),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S)}},[f,w,S]),{dragElementProps:{className:(0,l.q)(`${r}-dragger`,`${r}-dragger-${n}`,{[`${r}-dragger-dragging`]:f,[`${r}-dragger-horizontal`]:y,[`${r}-dragger-vertical`]:!y},o),style:a,onMouseDown:x},isDragging:f}}({prefixCls:`${n}-resizable`,direction:c,className:y?.dragger,style:Y?.dragger,maxSize:R,containerRef:ed,currentSize:es,onResize:eu,onResizeStart:ep.onResizeStart,onResizeEnd:ep.onResizeEnd}),eh={onMouseEnter:A,onMouseOver:T,onMouseLeave:O,onClick:_,onKeyDown:F,onKeyUp:j,onFocus:e=>{J(e.target)}},e$=t.createElement(i.f,h({key:"panel"},eo,{visible:a,forceRender:$,onVisibleChanged:W,removeOnLeave:!1,leavedClassName:`${n}-content-wrapper-hidden`}),({className:r,style:o},a)=>{let i=t.createElement(m,h({id:C,containerRef:a,prefixCls:n,className:(0,l.q)(E,y?.section),style:{...k,...Y?.section}},(0,s.f)(e,{aria:!0}),eh),M);return t.createElement("div",h({ref:ed,className:(0,l.q)(`${n}-content-wrapper`,eg&&`${n}-content-wrapper-dragging`,y?.wrapper,!eg&&r),style:{...o,...ec,...Y?.wrapper}},(0,s.f)(e,{data:!0})),em&&t.createElement("div",ef),U?U(i):i)}),eb={...w};return S&&(eb.zIndex=S),t.createElement(o.Provider,{value:er},t.createElement("div",{className:(0,l.q)(n,`${n}-${c}`,x,{[`${n}-open`]:a,[`${n}-inline`]:d}),style:eb,tabIndex:-1,ref:K},en,e$))}),b=e=>{let{open:o=!1,prefixCls:l="rc-drawer",placement:i="right",autoFocus:s=!0,keyboard:c=!0,width:d,height:m,size:p,maxSize:u,mask:f=!0,maskClosable:g=!0,getContainer:h,forceRender:b,afterOpenChange:v,destroyOnHidden:y,onMouseEnter:x,onMouseOver:w,onMouseLeave:S,onClick:E,onKeyDown:C,onKeyUp:k,onClose:N,resizable:z,defaultSize:q,focusTriggerAfterClose:I,panelRef:R}=e,[M,B]=t.useState(!1),[D,L]=t.useState(!1);(0,n.U)(()=>{L(!0)},[]);let H=!!D&&o,P=t.useRef(null),W=t.useRef(null);(0,n.U)(()=>{H&&(W.current=document.activeElement)},[H]);let G=t.useMemo(()=>({panel:R}),[R]);if(!b&&!M&&!H&&y)return null;let A={...e,open:H,prefixCls:l,placement:i,autoFocus:s,keyboard:c,width:d,height:m,size:p,maxSize:u,defaultSize:q,mask:f,maskClosable:g,inline:!1===h,afterOpenChange:e=>{B(e),v?.(e),e||!1===I||!W.current||P.current?.contains(W.current)||W.current?.focus({preventScroll:!0})},ref:P,resizable:z,onMouseEnter:x,onMouseOver:w,onMouseLeave:S,onClick:E,onKeyDown:C,onKeyUp:k};return t.createElement(a.Provider,{value:G},t.createElement(r.f,{open:H||b||M,autoDestroy:!1,getContainer:h,autoLock:f&&(H||M),onEsc:({top:e,event:t})=>{e&&c&&(t.stopPropagation(),N?.(t))}},t.createElement($,A)))};e.i(333400);var v=e.i(825616),y=e.i(160764),x=e.i(796363),w=e.i(783018),S=e.i(421096),E=e.i(352034),C=e.i(408051),k=e.i(495739),N=e.i(876110),z=e.i(869042),q=e.i(366269),I=e.i(390817),R=e.i(699475),M=e.i(267253),B=e.i(771646);let D=e=>{let{prefixCls:r,ariaId:n,title:o,footer:a,extra:i,closable:s,loading:c,onClose:d,headerStyle:m,bodyStyle:p,footerStyle:u,children:f,classNames:g,styles:h}=e,$=(0,q.Y)("drawer"),{classNames:b,styles:v,closable:x}=$,[w,S]=(0,C.o)([b,g],[v,h],{props:{...e,closable:s??x}}),E=t.useMemo(()=>{let e=s??x;if(!1!==e)return(0,k.d)(e)&&e?.placement==="end"?"end":"start"},[s,x]),N=t.useCallback(e=>t.createElement("button",{type:"button",onClick:d,className:(0,l.q)(`${r}-close`,{[`${r}-close-${E}`]:"end"===E},w.close),style:S.close},e),[d,r,E,w.close,S.close]),[z,I,D]=(0,R.L)((0,R.s)(e),(0,R.s)($),{closable:!0,closeIconRender:N}),L=(0,M.o)(I,{disabled:D}),H=(0,y.q)(o),P=(0,y.q)(i);return t.createElement(t.Fragment,null,H||z||P?t.createElement("div",{style:{...S.header,...m},className:(0,l.q)(`${r}-header`,w.header,{[`${r}-header-close-only`]:z&&!H&&!P})},t.createElement("div",{className:`${r}-header-title`},"start"===E&&L,H&&t.createElement("div",{className:(0,l.q)(`${r}-title`,w.title),style:S.title,id:n},o)),P&&t.createElement("div",{className:(0,l.q)(`${r}-extra`,w.extra),style:S.extra},i),"end"===E&&L):null,t.createElement("div",{className:(0,l.q)(`${r}-body`,w.body),style:{...S.body,...p}},c?t.createElement(B.f,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),(0,y.q)(a)?t.createElement("div",{className:(0,l.q)(`${r}-footer`,w.footer),style:{...S.footer,...u}},a):null)};e.i(96743);var L=e.i(559143),H=e.i(30832),P=e.i(299761),W=e.i(644439);let G=(e,t)=>({"&-enter, &-appear":{...e,"&-active":t},"&-leave":{...t,"&-active":e}}),A=(e,t)=>({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}},...G({opacity:e},{opacity:1})}),T=(0,P.A)("Drawer",e=>{let t=(0,W.f)(e,{});return[(e=>{let{borderRadiusSM:t,componentCls:r,zIndexPopup:n,colorBgMask:o,colorBgElevated:a,motionDurationSlow:l,motionDurationMid:i,paddingXS:s,padding:c,paddingLG:d,fontSizeLG:m,lineHeightLG:p,lineWidth:u,lineType:f,colorSplit:g,marginXS:h,colorIcon:$,colorIconHover:b,colorBgTextHover:v,colorBgTextActive:y,colorText:x,fontWeightStrong:w,footerPaddingBlock:S,footerPaddingInline:E,draggerSize:C,calc:k}=e,N=`${r}-content-wrapper`,z=`${r}-resizable-dragger`;return{[r]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",pointerEvents:"auto",[`&${r}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${r}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${r}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${r}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${r}-mask`]:{position:"absolute",inset:0,zIndex:n,background:o,pointerEvents:"auto",[`&${r}-mask-blur`]:{backdropFilter:"blur(4px)"}},[N]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${l}`,"&-hidden":{display:"none"}},[`&-left > ${N}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${N}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${N}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${N}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${r}-section`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${r}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,L.S)(c)} ${(0,L.S)(d)}`,fontSize:m,lineHeight:p,borderBottom:`${(0,L.S)(u)} ${f} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${r}-extra`]:{flex:"none"},[`${r}-close`]:{display:"inline-flex",width:k(m).add(s).equal(),height:k(m).add(s).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",color:$,fontWeight:w,fontSize:m,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${i}`,textRendering:"auto",[`&${r}-close-end`]:{marginInlineStart:h},[`&:not(${r}-close-end)`]:{marginInlineEnd:h},"&:disabled":{pointerEvents:"none"},"&:hover":{color:b,backgroundColor:v,textDecoration:"none"},"&:active":{backgroundColor:y},...(0,H.I)(e)},[`${r}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:m,lineHeight:p},[`${r}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${r}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${r}-footer`]:{flexShrink:0,padding:`${(0,L.S)(S)} ${(0,L.S)(E)}`,borderTop:`${(0,L.S)(u)} ${f} ${g}`},[z]:{position:"absolute",zIndex:1,backgroundColor:"transparent",userSelect:"none",pointerEvents:"auto","&:hover":{backgroundColor:e.colorPrimary,opacity:.2},"&-dragging":{backgroundColor:e.colorPrimary,opacity:.3}},[`${z}-left`]:{top:0,bottom:0,right:{_skip_check_:!0,value:0},width:C,cursor:"col-resize"},[`${z}-right`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},width:C,cursor:"col-resize"},[`${z}-top`]:{insetInline:0,bottom:0,height:C,cursor:"row-resize"},[`${z}-bottom`]:{insetInline:0,top:0,height:C,cursor:"row-resize"},[`${N}-dragging`]:{userSelect:"none",transition:"none",willChange:"width, height",[`${r}-content`]:{pointerEvents:"none"},[`${r}-section`]:{pointerEvents:"none"}},"&-rtl":{direction:"rtl"}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:r}=e;return{[t]:{[`${t}-mask-motion`]:A(0,r),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>{let n;return{...e,[`&-${t}`]:[A(.7,r),G({transform:(n="100%",({left:`translateX(-${n})`,right:`translateX(${n})`,top:`translateY(-${n})`,bottom:`translateY(${n})`})[t])},{transform:"none"})]}},{})}}})(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding,draggerSize:4}));var O=e.i(372216);let _={distance:180},F={motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},j=e=>{let{rootClassName:r,size:n,defaultSize:o=378,height:a,width:i,mask:s,push:c=_,open:d,afterOpenChange:m,onClose:p,prefixCls:u,getContainer:f,panelRef:g=null,style:h,className:$,resizable:R,"aria-labelledby":M,focusable:B,maskClosable:L,maskStyle:H,drawerStyle:P,contentWrapperStyle:W,destroyOnClose:G,destroyOnHidden:A,...j}=e,{placement:Y}=j,U=(0,x.f)(),X=(0,y.q)(j.title)?U:void 0,{getPopupContainer:V,getPrefixCls:K,direction:J,className:Q,style:Z,classNames:ee,styles:et,mask:er,focusable:en}=(0,q.Y)("drawer"),eo=K("drawer",u),[ea,el]=T(eo),ei=void 0===f&&V?()=>V(document.body):f,es=t.useMemo(()=>(0,k.H)(n)?n:"large"===n?736:"default"===n?378:"string"==typeof n?/^\d+(\.\d+)?$/.test(n)?Number(n):n:Y&&"left"!==Y&&"right"!==Y?a:i,[n,Y,i,a]),ec={motionName:(0,N.r)(eo,"mask-motion"),...F},ed=(0,I.f)(),em=(0,v.U)(g,ed),[ep,eu]=(0,E.j)("Drawer",j.zIndex),[ef,eg,eh]=(0,S.S)(s,er,eo,L),e$=(0,O.f)({...en,...B},!1!==ei&&ef),{classNames:eb,styles:ev,rootStyle:ey}=j,ex={...e,zIndex:ep,panelRef:g,mask:ef,maskClosable:eh,defaultSize:o,push:c,focusable:e$},ew=(0,C.G)(Z,"section"),eS=(0,C.G)(P,"section"),eE=(0,C.G)(h,"section"),[eC,ek]=(0,C.o)([ee,eb],[et,ew,ev,eS,eE],{props:ex}),eN=(0,l.q)({"no-mask":!ef,[`${eo}-rtl`]:"rtl"===J},r,ea,el,eC.root);return t.createElement(w.f,{form:!0,space:!0},t.createElement(z.f.Provider,{value:eu},t.createElement(b,{prefixCls:eo,onClose:p,maskMotion:ec,motion:e=>({motionName:(0,N.r)(eo,`panel-motion-${e}`),...F}),...j,classNames:{mask:(0,l.q)(eC.mask,eg.mask),section:eC.section,wrapper:eC.wrapper,dragger:eC.dragger},styles:{mask:{...ek.mask,...H},section:ek.section,wrapper:{...ek.wrapper,...W},dragger:ek.dragger},open:d,mask:ef,maskClosable:eh,push:c,size:es,defaultSize:o,rootStyle:{...ek.root,...ey},className:(0,l.q)(Q,$),rootClassName:eN,getContainer:ei,afterOpenChange:m,panelRef:em,zIndex:ep,...R?{resizable:R}:{},"aria-labelledby":M??X,destroyOnHidden:A??G,focusTriggerAfterClose:e$.focusTriggerAfterClose,focusTrap:e$.trap},t.createElement(D,{prefixCls:eo,size:n,...j,ariaId:X,onClose:p}))))};j._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:r,style:n,className:o,placement:a="right",...i}=e,{getPrefixCls:s}=t.useContext(q.V),c=s("drawer",r),[d,m]=T(c),p=(0,l.q)(c,`${c}-pure`,`${c}-${a}`,d,m,o);return t.createElement("div",{className:p,style:n},t.createElement(D,{prefixCls:c,...i}))},e.s(["f",0,j],98738)},160864,e=>{"use strict";var t=e.i(884887);e.s(["f",()=>t.f])},879174,e=>{"use strict";e.i(530305);var t=e.i(786442);e.i(531004),e.s(["f",0,{useBreakpoint:function(){return(0,t.f)()}}],879174)},877874,33029,563428,e=>{"use strict";var t=e.i(714304);e.i(333400);var r=e.i(160764),n=e.i(14632),o=e.i(7284),a=e.i(495739);let l=e=>(0,r.q)(e)?(0,a.U)(e)?e():e:null;e.s(["f",0,l],33029);var i=e.i(408051),s=e.i(876110),c=e.i(366269),d=e.i(945292),m=e.i(399635);e.i(573702);var p=e.i(232195),u=e.i(30832),f=e.i(512344),g=e.i(815345),h=e.i(666486),$=e.i(299761),b=e.i(644439),v=e.i(402846);let y=(0,$.A)("Popover",e=>{let{colorBgElevated:t,colorText:r}=e,n=(0,b.f)(e,{popoverBg:t,popoverColor:r});return[(e=>{let{componentCls:t,popoverColor:r,titleMinWidth:n,fontWeightStrong:o,innerPadding:a,dropShadowPopover:l,colorTextHeading:i,borderRadiusLG:s,zIndexPopup:c,titleMarginBottom:d,colorBgElevated:m,popoverBg:p,titleBorderBottom:f,innerContentPadding:h,titlePadding:b,antCls:v}=e,[y,x]=(0,$.G)(v,"tooltip");return[{[t]:{...(0,u.n)(e),position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:400,whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",filter:l,willChange:"transform",[y("valid-offset-x")]:x("arrow-offset-x","var(--arrow-x)"),transformOrigin:[x("valid-offset-x","50%"),"var(--arrow-y, 50%)"].join(" "),[y("arrow-background-color")]:m,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-container`]:{backgroundColor:p,backgroundClip:"padding-box",borderRadius:s,padding:a},[`${t}-title`]:{minWidth:n,marginBottom:d,color:i,fontWeight:o,borderBottom:f,padding:b},[`${t}-content`]:{color:r,padding:h}}},(0,g.U)(e,x("arrow-background-color"),{arrowShadow:!1}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block"}}]})(n),(e=>{let{componentCls:t,antCls:r}=e,[n]=(0,$.G)(r,"tooltip");return{[t]:v.f.map(r=>{let o=e[`${r}6`];return{[`&${t}-${r}`]:{[n("arrow-background-color")]:o,[`${t}-container`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}})}})(n),(0,f.q)(n,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:r,fontHeight:n,padding:o,wireframe:a,zIndexPopupBase:l,borderRadiusLG:i,marginXS:s,lineType:c,colorSplit:d,paddingSM:m}=e,p=r-n;return{titleMinWidth:177,zIndexPopup:l+30,...(0,h.T)(e),...(0,g.f)({contentRadius:i,limitVerticalRadius:!0}),innerPadding:12*!a,titleMarginBottom:a?0:s,titlePadding:a?`${p/2}px ${o}px ${p/2-t}px`:0,titleBorderBottom:a?`${t}px ${c} ${d}`:"none",innerContentPadding:a?`${m}px ${o}px`:0}},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]}),x=e=>{let{title:n,content:a,prefixCls:l,classNames:i,styles:s}=e;return(0,r.q)(n)||(0,r.q)(a)?t.createElement(t.Fragment,null,(0,r.q)(n)&&t.createElement("div",{className:(0,o.q)(`${l}-title`,i?.title),style:s?.title},n),(0,r.q)(a)&&t.createElement("div",{className:(0,o.q)(`${l}-content`,i?.content),style:s?.content},a)):null},w=e=>{let{hashId:r,prefixCls:n,className:a,style:s,placement:c="top",title:d,content:m,children:u,classNames:f,styles:g}=e,h=l(d),$=l(m),b={...e,placement:c},[v,y]=(0,i.o)([f],[g],{props:b}),w=(0,o.q)(r,n,`${n}-pure`,`${n}-placement-${c}`,a);return t.createElement("div",{className:w,style:s},t.createElement("div",{className:`${n}-arrow`}),t.createElement(p.f,{...e,className:r,prefixCls:n,classNames:v,styles:y},u||t.createElement(x,{prefixCls:n,title:h,content:$,classNames:v,styles:y})))},S=e=>{let{prefixCls:r,className:n,...a}=e,{getPrefixCls:l}=t.useContext(c.V),i=l("popover",r),[s,d]=y(i);return t.createElement(w,{...a,prefixCls:i,hashId:s,className:(0,o.q)(n,d)})};e.s(["k",0,x,"U",0,S],563428);let E=t.forwardRef((e,a)=>{let{prefixCls:p,title:u,content:f,overlayClassName:g,placement:h="top",trigger:$,children:b,mouseEnterDelay:v,mouseLeaveDelay:w,onOpenChange:S,overlayStyle:E={},styles:C,classNames:k,motion:N,arrow:z,...q}=e,{getPrefixCls:I,className:R,style:M,classNames:B,styles:D,arrow:L,trigger:H,mouseEnterDelay:P,mouseLeaveDelay:W}=(0,c.Y)("popover"),G=v??P??.1,A=w??W??.1,T=I("popover",p),[O,_]=y(T),F=I(),j=(0,m.f)(z,L),Y=$||H||"hover",U={...e,placement:h,trigger:Y,mouseEnterDelay:G,mouseLeaveDelay:A,overlayStyle:E,styles:C,classNames:k},X=(0,i.G)(M),V=(0,i.G)(E),[K,J]=(0,i.o)([B,k],[D,X,C,V],{props:U}),Q=(0,o.q)(g,O,_,R,K.root),[Z,ee]=(0,n.f)(e.defaultOpen??!1,e.open),et=l(u),er=l(f);return t.createElement(d.f,{unique:!1,arrow:j,placement:h,trigger:Y,mouseEnterDelay:G,mouseLeaveDelay:A,...q,prefixCls:T,classNames:{root:Q,container:K.container,arrow:K.arrow},styles:{root:J.root,container:J.container,arrow:J.arrow},ref:a,open:Z,onOpenChange:e=>{ee(e),S?.(e)},overlay:(0,r.q)(et)||(0,r.q)(er)?t.createElement(x,{prefixCls:T,title:et,content:er,classNames:K,styles:J}):null,motion:{motionName:(0,s.r)(F,"zoom-big","string"==typeof N?.motionName?N?.motionName:void 0)},"data-popover-inject":!0},b)});E._InternalPanelDoNotUseOrYouWillBeFired=S,e.s(["f",0,E],877874)},814016,e=>{"use strict";var t=e.i(945292);e.s(["f",()=>t.f])},466791,(e,t,r)=>{t.exports=e.r(636482)}]);