You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Polls...

53 lines
174 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5148],{40001:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},18785:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},73331:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},15277:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},33853:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},15075:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},43531:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},38819:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},47472:function(_e,ge,e){e.d(ge,{Z:function(){return A}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},_=p,n=e(7657),d=function(N,J){return m.createElement(n.Z,(0,a.Z)({},N,{ref:J,icon:_}))},h=m.forwardRef(d),A=h},94453:function(_e,ge,e){e.r(ge),e.d(ge,{checkedOtherName:function(){return z},default:function(){return V}});var a=e(59301),m=e(89070),p=e(20834),_=e(44e3),n=e(43418),d=e(8591),h=e(95237),A=e(43604),D=e(93948),N=e(79817),J=e(6848),q={flex_box_center:"flex_box_center___iNvBA",flex_space_between:"flex_space_between___btrNY",flex_box_vertical_center:"flex_box_vertical_center___jNwqd",flex_box_center_end:"flex_box_center_end___yhhzS",flex_box_column:"flex_box_column___XCG9Z",bg:"bg___pkT5R",title:"title___txwwg",questionIcons:"questionIcons___bUmrp",green:"green___pU_n6",orange:"orange___WqPTj",greenTip:"greenTip___xA46L",redTip:"redTip___cLZrd",orangeTip:"orangeTip___IYw_9",pollDesc:"pollDesc___k8j8U",answered:"answered___Wv6LV",unanswer:"unanswer___HFr5V",anchor:"anchor___wiaGO",answerFlag:"answerFlag___Son3q",answerActive:"answerActive___vadIk",redactivie:"redactivie___lv5Yx",questionItem:"questionItem___eheF5",answerWrap:"answerWrap___q0vMa",answerSubjective:"answerSubjective___g0GxR",otherInput:"otherInput___lNi1t",submitButton:"submitButton___Kwl_S",flexRow:"flexRow___CzS9_",header_style:"header_style___IO875",header_content:"header_content___rvYNy",header_title:"header_title___vaUUE",header_button:"header_button___pO_DR",answerInfo:"answerInfo___pUCTt",answerProgress:"answerProgress___u6eCf",dottedLineWrapper:"dottedLineWrapper___OntUi",leftHalfCircle:"leftHalfCircle___W0Nay",dottedLine:"dottedLine___KvX72",rightHalfCircle:"rightHalfCircle___NshfJ",answerSheetWrap:"answerSheetWrap___slZzY",answerSheetQuestionTitle:"answerSheetQuestionTitle___VK50d",user_info:"user_info___nyGwf",user_label:"user_label___bAPw8",user_value:"user_value___pZ4rK",tag:"tag___yWlIO"},l=e(955),xe=e(92365),Ce=e(24065),Ee=e(5112),Ne=e(92832),De=({itemData:f,answerData:K,onSave:X=()=>{}})=>{var ne,ye,be,oe;const[pe,Ie]=(0,a.useState)([]),[v,t]=(0,a.useState)(),[r,y]=(0,a.useState)();(0,a.useEffect)(()=>{var b;Ie(((b=f==null?void 0:f.question)==null?void 0:b.answers)||[])},[(ne=f==null?void 0:f.question)==null?void 0:ne.answers]),(0,a.useEffect)(()=>{var b,M;t((M=(b=f==null?void 0:f.question)==null?void 0:b.poll_answer_ids)==null?void 0:M[0])},[(ye=f==null?void 0:f.question)==null?void 0:ye.poll_answer_ids]),(0,a.useEffect)(()=>{var b;y((b=f==null?void 0:f.question)==null?void 0:b.poll_vote_texts)},[(be=f==null?void 0:f.question)==null?void 0:be.poll_vote_texts]);const R=(b,M)=>{var ae;t(b);const ee=(ae=pe.find(me=>z(me.answer_text)))==null?void 0:ae.answer_id;b===ee?X(M,b,r):X(M,b,"")},W=b=>{var M;if(!v)return;const ae=(M=pe.find(ee=>z(ee.answer_text)))==null?void 0:M.answer_id;v===ae?X(b,v,r):X(b,v,"")};return a.createElement(Ee.ZP.Group,{disabled:(0,Ce.GJ)()||(0,Ce.dE)()&&((oe=K==null?void 0:K.poll)==null?void 0:oe.user_poll_status)===1,value:v,onChange:b=>{var M;R(b.target.value,(M=f==null?void 0:f.question)==null?void 0:M.id)}},pe.map((b,M)=>{var ae;return a.createElement("div",{className:`${q.answerWrap} ${q.flexRow}`,key:M},a.createElement(Ee.ZP,{value:b==null?void 0:b.answer_id},b==null?void 0:b.answer_text),z(b==null?void 0:b.answer_text)&&(b==null?void 0:b.answer_id)==v&&a.createElement("div",{style:{marginTop:"10px"}},a.createElement(Ne.default.TextArea,{disabled:(0,Ce.GJ)()||(0,Ce.dE)()&&((ae=K==null?void 0:K.poll)==null?void 0:ae.user_poll_status)===1,className:q.otherInput,value:r,onChange:ee=>y(ee.target.value),onBlur:ee=>{var me;return W((me=f==null?void 0:f.question)==null?void 0:me.id)}})))}))},Y=e(24905),o=({itemData:f,answerData:K,onSave:X=()=>{}})=>{var ne,ye,be,oe;const[pe,Ie]=(0,a.useState)([]),[v,t]=(0,a.useState)(),[r,y]=(0,a.useState)();(0,a.useEffect)(()=>{var b;Ie(((b=f==null?void 0:f.question)==null?void 0:b.answers)||[])},[(ne=f==null?void 0:f.question)==null?void 0:ne.answers]),(0,a.useEffect)(()=>{var b;t((b=f==null?void 0:f.question)==null?void 0:b.poll_answer_ids)},[(ye=f==null?void 0:f.question)==null?void 0:ye.poll_answer_ids]),(0,a.useEffect)(()=>{var b;y((b=f==null?void 0:f.question)==null?void 0:b.poll_vote_texts)},[(be=f==null?void 0:f.question)==null?void 0:be.poll_vote_texts]);const R=(b,M)=>{var ae;t(b);const ee=(ae=pe.find(me=>z(me.answer_text)))==null?void 0:ae.answer_id;b.includes(ee)?X(M,b,r):X(M,b,"")},W=b=>{var M;if(!(v!=null&&v.length))return;const ae=(M=pe.find(ee=>z(ee.answer_text)))==null?void 0:M.answer_id;v.includes(ae)?X(b,v,r):X(b,v,"")};return a.createElement(Y.default.Group,{style:{display:"block"},disabled:(0,Ce.GJ)()||(0,Ce.dE)()&&((oe=K==null?void 0:K.poll)==null?void 0:oe.user_poll_status)===1,value:v,onChange:b=>{var M;R(b,(M=f==null?void 0:f.question)==null?void 0:M.id)}},pe==null?void 0:pe.map((b,M)=>{var ae;return a.createElement("div",{className:`${q.answerWrap} ${q.flexRow}`},a.createElement(Y.default,{value:b==null?void 0:b.answer_id},b==null?void 0:b.answer_text),z(b==null?void 0:b.answer_text)&&(v==null?void 0:v.includes(b==null?void 0:b.answer_id))&&a.createElement("div",{style:{marginTop:"10px"}},a.createElement(Ne.default.TextArea,{disabled:(0,Ce.GJ)()||(0,Ce.dE)()&&((ae=K==null?void 0:K.poll)==null?void 0:ae.user_poll_status)===1,className:q.otherInput,value:r,onChange:ee=>y(ee.target.value),onBlur:ee=>{var me;return W((me=f==null?void 0:f.question)==null?void 0:me.id)}})))}))},C=({itemData:f,answerData:K,onSave:X=()=>{}})=>{var ne,ye;const[be,oe]=(0,a.useState)();return(0,a.useEffect)(()=>{var pe;oe((pe=f==null?void 0:f.question)==null?void 0:pe.poll_vote_texts)},[(ne=f==null?void 0:f.question)==null?void 0:ne.poll_vote_texts]),a.createElement("div",null,a.createElement("textarea",{className:q.answerSubjective,placeholder:"\u5728\u6B64\u586B\u5165\u7B54\u6848",disabled:(0,Ce.GJ)()||(0,Ce.dE)()&&((ye=K==null?void 0:K.poll)==null?void 0:ye.user_poll_status)===1,value:be,onChange:pe=>oe(pe.target.value),onBlur:pe=>{var Ie;return X((Ie=f==null?void 0:f.question)==null?void 0:Ie.id,null,be)}}))},E=e(85149),G=e(15075),U=e(43531),i=e(59301),w=Object.defineProperty,B=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,te=(f,K,X)=>K in f?w(f,K,{enumerable:!0,configurable:!0,writable:!0,value:X}):f[K]=X,ue=(f,K)=>{for(var X in K||(K={}))T.call(K,X)&&te(f,X,K[X]);if(B)for(var X of B(K))se.call(K,X)&&te(f,X,K[X]);return f},Z=(f,K)=>{var X={};for(var ne in f)T.call(f,ne)&&K.indexOf(ne)<0&&(X[ne]=f[ne]);if(f!=null&&B)for(var ne of B(f))K.indexOf(ne)<0&&se.call(f,ne)&&(X[ne]=f[ne]);return X},S=(f,K,X)=>new Promise((ne,ye)=>{var be=Ie=>{try{pe(X.next(Ie))}catch(v){ye(v)}},oe=Ie=>{try{pe(X.throw(Ie))}catch(v){ye(v)}},pe=Ie=>Ie.done?ne(Ie.value):Promise.resolve(Ie.value).then(be,oe);pe((X=X.apply(f,K)).next())});const{SubMenu:F}=p.default,{Content:g,Sider:O}=_.default,z=f=>f==="\u5176\u4ED6"||f==="\u5176\u5B83",P={1:"\u5355\u9009",2:"\u591A\u9009",3:"\u95EE\u7B54"},u=f=>{var K=f,{globalSetting:X,loading:ne,user:ye,dispatch:be}=K,oe=Z(K,["globalSetting","loading","user","dispatch"]),pe,Ie,v,t,r,y,R,W,b,M,ae,ee,me,Re,Me,Pe;const Oe=(0,m.useParams)(),[Q,Fe]=(0,a.useState)({}),[c,I]=(0,a.useState)(!1),[L,ce]=(0,a.useState)([{id:1,name:"\u5355\u9009\u9898",open:!0},{id:2,name:"\u591A\u9009\u9898",open:!0},{id:3,name:"\u95EE\u7B54\u9898",open:!0}]);(0,a.useEffect)(()=>{he()},[Oe.categoryId]),(0,a.useEffect)(()=>(be({type:"globalSetting/headerToggle",payload:!1}),be({type:"globalSetting/footerToggle",payload:!1}),()=>{be({type:"globalSetting/headerToggle",payload:!0}),be({type:"globalSetting/footerToggle",payload:!0})}),[]);const he=()=>S(void 0,null,function*(){var H,Be,$e;const we=yield(0,xe.i7)(ue({},Oe));we&&(Fe(we),ce([{id:1,name:"\u5355\u9009\u9898",open:!0,countSize:(H=we==null?void 0:we.question_types)==null?void 0:H.q_singles},{id:2,name:"\u591A\u9009\u9898",open:!0,countSize:(Be=we==null?void 0:we.question_types)==null?void 0:Be.q_doubles},{id:3,name:"\u95EE\u7B54\u9898",open:!0,countSize:($e=we==null?void 0:we.question_types)==null?void 0:$e.q_mains}]))}),le=(H,Be,$e)=>S(void 0,null,function*(){if(!H){console.error("handleSave no questionId params");return}const we=yield(0,xe.ID)({questionId:H,poll_answer_id:Be,vote_text:$e});we!=null&&we.poll_vote&&(Q.question_answered.find(ze=>ze.ques_id===H).ques_status=we.poll_vote.question_status,Fe(ue({},Q)))}),ie=()=>{var H;let Be=0,$e=0,we=[],ze=[];if((H=Q==null?void 0:Q.question_answered)==null||H.map((Le,He)=>{var Ke,je,Ue;(Le==null?void 0:Le.ques_status)===0&&(((Ue=(je=(Ke=Q==null?void 0:Q.questions)==null?void 0:Ke.find(nt=>{var We;return((We=nt==null?void 0:nt.question)==null?void 0:We.id)===Le.ques_id}))==null?void 0:je.question)==null?void 0:Ue.is_necessary)===1?(we.push(He),Be++):(ze.push(He),$e++))}),Be>0){n.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",onOk:()=>{I(!0);const Le=`Anchor_${we[0]}`,je=document.getElementById(Le).getBoundingClientRect().top+window.pageYOffset+-100;window.scrollTo({top:je,behavior:"smooth"})},content:i.createElement("div",{className:"tc font16 c-black-333"},"\u6709 ",Be," \u9898\u5FC5\u7B54\u9898\u672A\u7B54\uFF0C\u65E0\u6CD5\u63D0\u4EA4 ",i.createElement("br",null),"\u8BF7\u5B8C\u6210\u5168\u90E8\u5FC5\u7B54\u9898\u540E\u518D\u63D0\u4EA4")});return}n.default.confirm({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:i.createElement("div",{className:"tc font16 c-black-333"},$e>0&&i.createElement(i.Fragment,null,"\u6709 ",$e," \u9898\u672A\u7B54 ",i.createElement("br",null)),"\u63D0\u4EA4\u540E\u65E0\u6CD5\u518D\u4FEE\u6539\u7B54\u9898\uFF0C\u662F\u5426\u786E\u8BA4\u63D0\u4EA4\uFF1F"),onOk:()=>{de();const Le=`Anchor_${ze[0]}`,je=document.getElementById(Le).getBoundingClientRect().top+window.pageYOffset+-100;window.scrollTo({top:je,behavior:"smooth"})}})},de=()=>S(void 0,null,function*(){const H=yield(0,xe.Ns)({categoryId:Oe.categoryId});(H==null?void 0:H.status)===0&&(d.ZP.success(H==null?void 0:H.message),m.history.push(`/classrooms/${Oe.coursesId}/poll/${Oe.categoryId}/detail?tabs=0`))});return i.createElement("div",null,i.createElement("section",{className:"edu-container"},i.createElement("div",{style:{height:"64px"}}),((pe=Q==null?void 0:Q.poll)==null?void 0:pe.un_anonymous)===!1&&i.createElement("div",{className:q.tag},i.createElement("i",{className:"iconfont icon-weixiada"}),"\u5F53\u524D\u95EE\u5377\u4E3A\u533F\u540D\u95EE\u5377\uFF0C\u95EE\u5377\u63D0\u4EA4\u65F6\u5C06\u5BF9\u6BCF\u4E2A\u5B66\u751F\u7684\u59D3\u540D\u548C\u5B66\u53F7\u8FDB\u884C\u533F\u540D\u5904\u7406\uFF0C\u6559\u5E08\u65E0\u6CD5\u67E5\u770B\u5B66\u751F\u59D3\u540D\u548C\u5B66\u53F7\u3002"),i.createElement("section",{className:"animated fadeIn"},((Ie=Q==null?void 0:Q.poll)==null?void 0:Ie.polls_description)&&i.createElement(E.Z,{className:q.pollDesc,value:(v=Q==null?void 0:Q.poll)==null?void 0:v.polls_description})),i.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},i.createElement("div",{style:{margin:"20px 20px 20px 0",width:280,maxHeight:"60%"}},i.createElement("div",{className:q.user_info},i.createElement("div",{className:q.user_label,style:{lineHeight:"60px"}},"\u59D3\u540D",i.createElement("span",{className:q.user_value},(t=Q==null?void 0:Q.poll)==null?void 0:t.real_name)),i.createElement("div",{className:q.user_label,style:{lineHeight:"40px"}},"\u5B66\u53F7",i.createElement("span",{className:q.user_value},(r=Q==null?void 0:Q.poll)==null?void 0:r.student_id))),i.createElement("div",{style:{background:"#fff"}},i.createElement("aside",{className:q.answerInfo},i.createElement(h.Z,{justify:"space-between"},i.createElement(A.Z,null,"\u7B54\u9898\u8FDB\u5EA6"),i.createElement(A.Z,{className:q.answerProgress},i.createElement("span",{style:{color:"#165DFF"}},(R=(y=Q==null?void 0:Q.question_answered)==null?void 0:y.filter(H=>(H==null?void 0:H.ques_status)===1))==null?void 0:R.length),i.createElement("span",{style:{color:"#999999"}},"/",(W=Q==null?void 0:Q.question_types)==null?void 0:W.q_counts))),i.createElement(h.Z,null,i.createElement(D.Z,{strokeColor:"#165dffa6",trailColor:"#0000000d",percent:((M=(b=Q==null?void 0:Q.question_answered)==null?void 0:b.filter(H=>(H==null?void 0:H.ques_status)==1))==null?void 0:M.length)/((ae=Q==null?void 0:Q.question_types)==null?void 0:ae.q_counts)*100,showInfo:!1}))),i.createElement(h.Z,{className:q.dottedLineWrapper,align:"middle"},i.createElement(A.Z,{className:q.leftHalfCircle}),i.createElement(A.Z,{flex:1,className:q.dottedLine}),i.createElement(A.Z,{className:q.rightHalfCircle})),i.createElement("div",{className:q.answerSheetWrap},L==null?void 0:L.map((H,Be)=>{var $e;let we=0;return i.createElement("div",{key:Be},(H==null?void 0:H.countSize)>0&&i.createElement("div",{className:q.answerSheetQuestionTitle,onClick:()=>{L[Be].open=!(H!=null&&H.open),ce([...L])}},H!=null&&H.open?i.createElement(G.Z,null):i.createElement(U.Z,null),i.createElement("span",{className:"ml5 c-grey-666"},H==null?void 0:H.name)),(H==null?void 0:H.open)&&i.createElement("div",null,($e=Q==null?void 0:Q.questions)==null?void 0:$e.map((ze,Le)=>{var He,Ke,je;if(((He=ze==null?void 0:ze.question)==null?void 0:He.question_type)==(H==null?void 0:H.id))return i.createElement(N.default.Link,{className:`${q.answerFlag} ${((je=(Ke=Q==null?void 0:Q.question_answered)==null?void 0:Ke[Le])==null?void 0:je.ques_status)==1?q.answerActive:c&&ze.question.is_necessary===1?q.redactivie:""}`,href:`#Anchor_${Le}`,title:++we})})),i.createElement("div",{style:{clear:"both"}}))})))),i.createElement("section",{style:{width:900},className:[q.bg,"pt10","pl30","pr30","pb30","mt20","mb50"].join(" ")},i.createElement("div",null,(ee=Q==null?void 0:Q.questions)==null?void 0:ee.map((H,Be)=>{var $e,we,ze,Le,He;return i.createElement("div",{className:q.questionItem,id:`Anchor_${Be}`},i.createElement("div",{className:"mt20"},i.createElement("span",{className:"font16",style:{display:"flex",alignItems:"center",marginBottom:"20px"}},(($e=H==null?void 0:H.question)==null?void 0:$e.is_necessary)!==0&&i.createElement("span",{style:{color:"red",fontSize:"14px"}},"*"),i.createElement("span",{className:"c-blue font16"},"\u3010",P[H.question.question_type],"\u3011"),i.createElement(J.Z,{title:H.question.question_title},i.createElement("div",{className:q.title},(we=H==null?void 0:H.question)==null?void 0:we.question_number,"\u3001",H.question.question_title)),H.question.question_type===2&&((ze=H==null?void 0:H.question)==null?void 0:ze.min_choices)&&i.createElement("div",{className:"ml10",style:{fontWeight:400,color:"#666666"}},"(\u53EF\u9009",(Le=H==null?void 0:H.question)==null?void 0:Le.min_choices,"-",(He=H==null?void 0:H.question)==null?void 0:He.max_choices,"\u9879)"))),H.question.question_type==1&&i.createElement(De,{answerData:Q,itemData:H,onSave:le}),H.question.question_type==2&&i.createElement(o,{answerData:Q,itemData:H,onSave:le}),H.question.question_type==3&&i.createElement(C,{answerData:Q,itemData:H,onSave:le}))}))))),i.createElement("div",{className:q.header_style},i.createElement("div",{className:q.header_content},i.createElement(l.VV,{status:[l.L4[(me=Q==null?void 0:Q.poll)==null?void 0:me.poll_status]]}),i.createElement(J.Z,{title:(Re=Q==null?void 0:Q.poll)==null?void 0:Re.polls_name},i.createElement("div",{className:q.header_title},(Me=Q==null?void 0:Q.poll)==null?void 0:Me.polls_name)),(0,Ce.dE)()&&((Pe=Q==null?void 0:Q.poll)==null?void 0:Pe.user_poll_status)===0&&i.createElement("div",{className:q.header_button,onClick:ie},"\u63D0\u4EA4\u95EE\u5377"))))};var V=(0,m.connect)(({loading:f,user:K,globalSetting:X})=>({globalSetting:X,user:K,loading:f.effects}))(u)},13845:function(_e,ge,e){e.d(ge,{F:function(){return a},Z:function(){return m}});function a(p){return p!=null&&p===p.window}function m(p,_){var n,d;if(typeof window=="undefined")return 0;const h=_?"scrollTop":"scrollLeft";let A=0;return a(p)?A=p[_?"pageYOffset":"pageXOffset"]:p instanceof Document?A=p.documentElement[h]:(p instanceof HTMLElement||p)&&(A=p[h]),p&&!a(p)&&typeof A!="number"&&(A=(d=((n=p.ownerDocument)!==null&&n!==void 0?n:p).documentElement)===null||d===void 0?void 0:d[h]),A}},68031:function(_e,ge,e){e.d(ge,{Z:function(){return _}});var a=e(16089);function m(n,d,h,A){const D=h-d;return n/=A/2,n<1?D/2*n*n*n+d:D/2*((n-=2)*n*n+2)+d}var p=e(13845);function _(n){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:h=()=>window,callback:A,duration:D=450}=d,N=h(),J=(0,p.Z)(N,!0),q=Date.now(),l=()=>{const Ce=Date.now()-q,Ee=m(Ce>D?D:Ce,J,n,D);(0,p.F)(N)?N.scrollTo(window.pageXOffset,Ee):N instanceof Document||N.constructor.name==="HTMLDocument"?N.documentElement.scrollTop=Ee:N.scrollTop=Ee,Ce<D?(0,a.Z)(l):typeof A=="function"&&A()};(0,a.Z)(l)}},19080:function(_e,ge,e){e.d(ge,{F:function(){return n},Z:function(){return _}});var a=e(92310),m=e.n(a);const p=null;function _(d,h,A){return m()({[`${d}-status-success`]:h==="success",[`${d}-status-warning`]:h==="warning",[`${d}-status-error`]:h==="error",[`${d}-status-validating`]:h==="validating",[`${d}-has-feedback`]:A})}const n=(d,h)=>h||d},27666:function(_e,ge,e){var a=e(26407),m=e(16089);function p(_){let n;const d=A=>()=>{n=null,_.apply(void 0,(0,a.Z)(A))},h=function(){if(n==null){for(var A=arguments.length,D=new Array(A),N=0;N<A;N++)D[N]=arguments[N];n=(0,m.Z)(d(D))}};return h.cancel=()=>{m.Z.cancel(n),n=null},h}ge.Z=p},81228:function(_e,ge,e){e.d(ge,{Z:function(){return C}});var a=e(6909),m=e(4771),p=e(9427),_=e(25440),n=e(59301),d=e(92310),h=e.n(d),A=e(29301),D=e(2738),N=e(27666),J=e(36355),q=e(83116),l=e(37613);const xe=E=>{const{componentCls:G}=E;return{[G]:{position:"fixed",zIndex:E.zIndexPopup}}};var Ce=(0,q.Z)("Affix",E=>{const G=(0,l.TS)(E,{zIndexPopup:E.zIndexBase+10});return[xe(G)]});function Ee(E){return E!==window?E.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Ne(E,G,U){if(U!==void 0&&G.top>E.top-U)return U+G.top}function Te(E,G,U){if(U!==void 0&&G.bottom<E.bottom+U){const i=window.innerHeight-G.bottom;return U+i}}const De=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function Y(){return typeof window!="undefined"?window:null}var ve;(function(E){E[E.None=0]="None",E[E.Prepare=1]="Prepare"})(ve||(ve={}));let o=function(E){(0,p.Z)(U,E);var G=(0,_.Z)(U);function U(){var i;return(0,a.Z)(this,U),i=G.apply(this,arguments),i.state={status:ve.None,lastAffix:!1,prevTarget:null},i.placeholderNodeRef=(0,n.createRef)(),i.fixedNodeRef=(0,n.createRef)(),i.addListeners=()=>{const w=i.getTargetFunc(),B=w==null?void 0:w(),{prevTarget:T}=i.state;T!==B&&(De.forEach(se=>{T==null||T.removeEventListener(se,i.lazyUpdatePosition),B==null||B.addEventListener(se,i.lazyUpdatePosition)}),i.updatePosition(),i.setState({prevTarget:B}))},i.removeListeners=()=>{i.timer&&(clearTimeout(i.timer),i.timer=null);const{prevTarget:w}=i.state,B=i.getTargetFunc(),T=B==null?void 0:B();De.forEach(se=>{T==null||T.removeEventListener(se,i.lazyUpdatePosition),w==null||w.removeEventListener(se,i.lazyUpdatePosition)}),i.updatePosition.cancel(),i.lazyUpdatePosition.cancel()},i.getOffsetTop=()=>{const{offsetBottom:w,offsetTop:B}=i.props;return w===void 0&&B===void 0?0:B},i.getOffsetBottom=()=>i.props.offsetBottom,i.measure=()=>{const{status:w,lastAffix:B}=i.state,{onChange:T}=i.props,se=i.getTargetFunc();if(w!==ve.Prepare||!i.fixedNodeRef.current||!i.placeholderNodeRef.current||!se)return;const te=i.getOffsetTop(),ue=i.getOffsetBottom(),Z=se();if(Z){const S={status:ve.None},F=Ee(i.placeholderNodeRef.current);if(F.top===0&&F.left===0&&F.width===0&&F.height===0)return;const g=Ee(Z),O=Ne(F,g,te),z=Te(F,g,ue);O!==void 0?(S.affixStyle={position:"fixed",top:O,width:F.width,height:F.height},S.placeholderStyle={width:F.width,height:F.height}):z!==void 0&&(S.affixStyle={position:"fixed",bottom:z,width:F.width,height:F.height},S.placeholderStyle={width:F.width,height:F.height}),S.lastAffix=!!S.affixStyle,T&&B!==S.lastAffix&&T(S.lastAffix),i.setState(S)}},i.prepareMeasure=()=>{i.setState({status:ve.Prepare,affixStyle:void 0,placeholderStyle:void 0})},i.updatePosition=(0,N.Z)(()=>{i.prepareMeasure()}),i.lazyUpdatePosition=(0,N.Z)(()=>{const w=i.getTargetFunc(),{affixStyle:B}=i.state;if(w&&B){const T=i.getOffsetTop(),se=i.getOffsetBottom(),te=w();if(te&&i.placeholderNodeRef.current){const ue=Ee(te),Z=Ee(i.placeholderNodeRef.current),S=Ne(Z,ue,T),F=Te(Z,ue,se);if(S!==void 0&&B.top===S||F!==void 0&&B.bottom===F)return}}i.prepareMeasure()}),i}return(0,m.Z)(U,[{key:"getTargetFunc",value:function(){const{getTargetContainer:w}=this.context,{target:B}=this.props;return B!==void 0?B:w!=null?w:Y}},{key:"componentDidMount",value:function(){this.timer=setTimeout(this.addListeners)}},{key:"componentDidUpdate",value:function(w){this.addListeners(),(w.offsetTop!==this.props.offsetTop||w.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"render",value:function(){const{affixStyle:w,placeholderStyle:B}=this.state,{affixPrefixCls:T,rootClassName:se,children:te}=this.props,ue=h()(w&&se,{[T]:!!w});let Z=(0,D.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return n.createElement(A.Z,{onResize:this.updatePosition},n.createElement("div",Object.assign({},Z,{ref:this.placeholderNodeRef}),w&&n.createElement("div",{style:B,"aria-hidden":"true"}),n.createElement("div",{className:ue,ref:this.fixedNodeRef,style:w},n.createElement(A.Z,{onResize:this.updatePosition},te))))}}]),U}(n.Component);o.contextType=J.E_;var C=(0,n.forwardRef)((E,G)=>{const{prefixCls:U,rootClassName:i}=E,{getPrefixCls:w}=(0,n.useContext)(J.E_),B=w("affix",U),[T,se]=Ce(B),te=Object.assign(Object.assign({},E),{affixPrefixCls:B,rootClassName:h()(i,se)});return T(n.createElement(o,Object.assign({},te,{ref:G})))})},79817:function(_e,ge,e){e.d(ge,{default:function(){return i}});var a=e(26407),m=e(92310),p=e.n(m),_=e(70425),n=e(59301),d=e(16722),h=e(13845),A=e(68031),D=e(81228),N=e(36355),q=n.createContext(void 0),xe=w=>{const{href:B,title:T,prefixCls:se,children:te,className:ue,target:Z,replace:S}=w,F=n.useContext(q),{registerLink:g,unregisterLink:O,scrollTo:z,onClick:P,activeLink:u,direction:V}=F||{};n.useEffect(()=>(g==null||g(B),()=>{O==null||O(B)}),[B]);const f=oe=>{S&&(oe.preventDefault(),window.location.replace(B)),P==null||P(oe,{title:T,href:B}),z==null||z(B)},{getPrefixCls:K}=n.useContext(N.E_),X=K("anchor",se),ne=u===B,ye=p()(`${X}-link`,ue,{[`${X}-link-active`]:ne}),be=p()(`${X}-link-title`,{[`${X}-link-title-active`]:ne});return n.createElement("div",{className:ye},n.createElement("a",{className:be,href:B,title:typeof T=="string"?T:"",target:Z,onClick:f},T),V!=="horizontal"?te:null)},Ce=e(17313),Ee=e(83116),Ne=e(37613);const Te=w=>{const{componentCls:B,holderOffsetBlock:T,motionDurationSlow:se,lineWidthBold:te,colorPrimary:ue,lineType:Z,colorSplit:S}=w;return{[`${B}-wrapper`]:{marginBlockStart:-T,paddingBlockStart:T,[B]:Object.assign(Object.assign({},(0,Ce.Wf)(w)),{position:"relative",paddingInlineStart:te,[`${B}-link`]:{paddingBlock:w.linkPaddingBlock,paddingInline:`${w.linkPaddingInlineStart}px 0`,"&-title":Object.assign(Object.assign({},Ce.vS),{position:"relative",display:"block",marginBlockEnd:w.anchorTitleBlock,color:w.colorText,transition:`all ${w.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${B}-link-title`]:{color:w.colorPrimary},[`${B}-link`]:{paddingBlock:w.anchorPaddingBlockSecondary}}}),[`&:not(${B}-wrapper-horizontal)`]:{[B]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${te}px ${Z} ${S}`,content:'" "'},[`${B}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${se} ease-in-out`,width:te,backgroundColor:ue,[`&${B}-ink-visible`]:{display:"inline-block"}}}},[`${B}-fixed ${B}-ink ${B}-ink`]:{display:"none"}}}},De=w=>{const{componentCls:B,motionDurationSlow:T,lineWidthBold:se,colorPrimary:te}=w;return{[`${B}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${w.lineType} ${w.colorSplit}`,content:'" "'},[B]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${B}-link:first-of-type`]:{paddingInline:0},[`${B}-ink`]:{position:"absolute",bottom:0,transition:`left ${T} ease-in-out, width ${T} ease-in-out`,height:se,backgroundColor:te}}}}};var Y=(0,Ee.Z)("Anchor",w=>{const{fontSize:B,fontSizeLG:T,paddingXXS:se}=w,te=(0,Ne.TS)(w,{holderOffsetBlock:se,anchorPaddingBlockSecondary:se/2,anchorTitleBlock:B/14*3,anchorBallSize:T/2});return[Te(te),De(te)]},w=>({linkPaddingBlock:w.paddingXXS,linkPaddingInlineStart:w.padding}));function ve(){return window}function o(w,B){if(!w.getClientRects().length)return 0;const T=w.getBoundingClientRect();return T.width||T.height?B===window?(B=w.ownerDocument.documentElement,T.top-B.clientTop):T.top-B.getBoundingClientRect().top:T.top}const s=/#([\S ]+)$/,C=w=>{var B;const{rootClassName:T,anchorPrefixCls:se,className:te,style:ue,offsetTop:Z,affix:S=!0,showInkInFixed:F=!1,children:g,items:O,direction:z="vertical",bounds:P,targetOffset:u,onClick:V,onChange:f,getContainer:K,getCurrentAnchor:X,replace:ne}=w,[ye,be]=n.useState([]),[oe,pe]=n.useState(null),Ie=n.useRef(oe),v=n.useRef(null),t=n.useRef(null),r=n.useRef(!1),{direction:y,getTargetContainer:R,anchor:W}=n.useContext(N.E_),b=(B=K!=null?K:R)!==null&&B!==void 0?B:ve,M=JSON.stringify(ye),ae=(0,_.useEvent)(le=>{ye.includes(le)||be(ie=>[].concat((0,a.Z)(ie),[le]))}),ee=(0,_.useEvent)(le=>{ye.includes(le)&&be(ie=>ie.filter(de=>de!==le))}),me=()=>{var le;const ie=(le=v.current)===null||le===void 0?void 0:le.querySelector(`.${se}-link-title-active`);if(ie&&t.current){const{style:de}=t.current,H=z==="horizontal";de.top=H?"":`${ie.offsetTop+ie.clientHeight/2}px`,de.height=H?"":`${ie.clientHeight}px`,de.left=H?`${ie.offsetLeft}px`:"",de.width=H?`${ie.clientWidth}px`:"",H&&(0,d.Z)(ie,{scrollMode:"if-needed",block:"nearest"})}},Re=function(le){let ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5;const H=[],Be=b();return le.forEach($e=>{const we=s.exec($e==null?void 0:$e.toString());if(!we)return;const ze=document.getElementById(we[1]);if(ze){const Le=o(ze,Be);Le<ie+de&&H.push({link:$e,top:Le})}}),H.length?H.reduce((we,ze)=>ze.top>we.top?ze:we).link:""},Me=(0,_.useEvent)(le=>{if(Ie.current===le)return;const ie=typeof X=="function"?X(le):le;pe(ie),Ie.current=ie,f==null||f(le)}),Pe=n.useCallback(()=>{if(r.current)return;const le=Re(ye,u!==void 0?u:Z||0,P);Me(le)},[M,u,Z]),Oe=n.useCallback(le=>{Me(le);const ie=s.exec(le);if(!ie)return;const de=document.getElementById(ie[1]);if(!de)return;const H=b(),Be=(0,h.Z)(H,!0),$e=o(de,H);let we=Be+$e;we-=u!==void 0?u:Z||0,r.current=!0,(0,A.Z)(we,{getContainer:b,callback(){r.current=!1}})},[u,Z]),Q=p()(T,`${se}-wrapper`,{[`${se}-wrapper-horizontal`]:z==="horizontal",[`${se}-rtl`]:y==="rtl"},te,W==null?void 0:W.className),Fe=p()(se,{[`${se}-fixed`]:!S&&!F}),c=p()(`${se}-ink`,{[`${se}-ink-visible`]:oe}),I=Object.assign(Object.assign({maxHeight:Z?`calc(100vh - ${Z}px)`:"100vh"},W==null?void 0:W.style),ue),L=le=>Array.isArray(le)?le.map(ie=>n.createElement(xe,Object.assign({replace:ne},ie,{key:ie.key}),z==="vertical"&&L(ie.children))):null,ce=n.createElement("div",{ref:v,className:Q,style:I},n.createElement("div",{className:Fe},n.createElement("span",{className:c,ref:t}),"items"in w?L(O):g));n.useEffect(()=>{const le=b();return Pe(),le==null||le.addEventListener("scroll",Pe),()=>{le==null||le.removeEventListener("scroll",Pe)}},[M]),n.useEffect(()=>{typeof X=="function"&&Me(X(Ie.current||""))},[X]),n.useEffect(()=>{me()},[z,X,M,oe]);const he=n.useMemo(()=>({registerLink:ae,unregisterLink:ee,scrollTo:Oe,activeLink:oe,onClick:V,direction:z}),[oe,V,Oe,z]);return n.createElement(q.Provider,{value:he},S?n.createElement(D.Z,{offsetTop:Z,target:b},ce):ce)};var G=w=>{const{prefixCls:B,rootClassName:T}=w,{getPrefixCls:se}=n.useContext(N.E_),te=se("anchor",B),[ue,Z]=Y(te);return ue(n.createElement(C,Object.assign({},w,{rootClassName:p()(Z,T),anchorPrefixCls:te})))};const U=G;U.Link=xe;var i=U},24905:function(_e,ge,e){e.d(ge,{default:function(){return C}});var a=e(92310),m=e.n(a),p=e(5630),_=e(59301),n=e(36355),d=e(1684),h=e(32441),D=_.createContext(null),N=e(98447),J=e(14088),q=e(4572),l=function(E,G){var U={};for(var i in E)Object.prototype.hasOwnProperty.call(E,i)&&G.indexOf(i)<0&&(U[i]=E[i]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,i=Object.getOwnPropertySymbols(E);w<i.length;w++)G.indexOf(i[w])<0&&Object.prototype.propertyIsEnumerable.call(E,i[w])&&(U[i[w]]=E[i[w]]);return U};const xe=(E,G)=>{var U;const{prefixCls:i,className:w,rootClassName:B,children:T,indeterminate:se=!1,style:te,onMouseEnter:ue,onMouseLeave:Z,skipGroup:S=!1,disabled:F}=E,g=l(E,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:O,direction:z,checkbox:P}=_.useContext(n.E_),u=_.useContext(D),{isFormItemInput:V}=_.useContext(h.aM),f=_.useContext(d.Z),K=(U=(u==null?void 0:u.disabled)||F)!==null&&U!==void 0?U:f,X=_.useRef(g.value);_.useEffect(()=>{u==null||u.registerValue(g.value)},[]),_.useEffect(()=>{if(!S)return g.value!==X.current&&(u==null||u.cancelValue(X.current),u==null||u.registerValue(g.value),X.current=g.value),()=>u==null?void 0:u.cancelValue(g.value)},[g.value]);const ne=O("checkbox",i),[ye,be]=(0,N.ZP)(ne),oe=Object.assign({},g);u&&!S&&(oe.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),u.toggleOption&&u.toggleOption({label:T,value:g.value})},oe.name=u.name,oe.checked=u.value.includes(g.value));const pe=m()(`${ne}-wrapper`,{[`${ne}-rtl`]:z==="rtl",[`${ne}-wrapper-checked`]:oe.checked,[`${ne}-wrapper-disabled`]:K,[`${ne}-wrapper-in-form-item`]:V},P==null?void 0:P.className,w,B,be),Ie=m()({[`${ne}-indeterminate`]:se},q.A,be),v=se?"mixed":void 0;return ye(_.createElement(J.Z,{component:"Checkbox",disabled:K},_.createElement("label",{className:pe,style:Object.assign(Object.assign({},P==null?void 0:P.style),te),onMouseEnter:ue,onMouseLeave:Z},_.createElement(p.Z,Object.assign({"aria-checked":v},oe,{prefixCls:ne,className:Ie,disabled:K,ref:G})),T!==void 0&&_.createElement("span",null,T))))};var Ee=_.forwardRef(xe),Ne=e(26407),Te=e(2738),De=function(E,G){var U={};for(var i in E)Object.prototype.hasOwnProperty.call(E,i)&&G.indexOf(i)<0&&(U[i]=E[i]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,i=Object.getOwnPropertySymbols(E);w<i.length;w++)G.indexOf(i[w])<0&&Object.prototype.propertyIsEnumerable.call(E,i[w])&&(U[i[w]]=E[i[w]]);return U};const Y=(E,G)=>{const{defaultValue:U,children:i,options:w=[],prefixCls:B,className:T,rootClassName:se,style:te,onChange:ue}=E,Z=De(E,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:S,direction:F}=_.useContext(n.E_),[g,O]=_.useState(Z.value||U||[]),[z,P]=_.useState([]);_.useEffect(()=>{"value"in Z&&O(Z.value||[])},[Z.value]);const u=_.useMemo(()=>w.map(t=>typeof t=="string"||typeof t=="number"?{label:t,value:t}:t),[w]),V=t=>{P(r=>r.filter(y=>y!==t))},f=t=>{P(r=>[].concat((0,Ne.Z)(r),[t]))},K=t=>{const r=g.indexOf(t.value),y=(0,Ne.Z)(g);r===-1?y.push(t.value):y.splice(r,1),"value"in Z||O(y),ue==null||ue(y.filter(R=>z.includes(R)).sort((R,W)=>{const b=u.findIndex(ae=>ae.value===R),M=u.findIndex(ae=>ae.value===W);return b-M}))},X=S("checkbox",B),ne=`${X}-group`,[ye,be]=(0,N.ZP)(X),oe=(0,Te.Z)(Z,["value","disabled"]),pe=w.length?u.map(t=>_.createElement(Ee,{prefixCls:X,key:t.value.toString(),disabled:"disabled"in t?t.disabled:Z.disabled,value:t.value,checked:g.includes(t.value),onChange:t.onChange,className:`${ne}-item`,style:t.style,title:t.title},t.label)):i,Ie={toggleOption:K,value:g,disabled:Z.disabled,name:Z.name,registerValue:f,cancelValue:V},v=m()(ne,{[`${ne}-rtl`]:F==="rtl"},T,se,be);return ye(_.createElement("div",Object.assign({className:v,style:te},oe,{ref:G}),_.createElement(D.Provider,{value:Ie},pe)))},ve=_.forwardRef(Y);var o=_.memo(ve);const s=Ee;s.Group=o,s.__ANT_CHECKBOX=!0;var C=s},98447:function(_e,ge,e){e.d(ge,{C2:function(){return n}});var a=e(17313),m=e(37613),p=e(83116);const _=d=>{const{checkboxCls:h}=d,A=`${h}-wrapper`;return[{[`${h}-group`]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",flexWrap:"wrap",columnGap:d.marginXS,[`> ${d.antCls}-row`]:{flex:1}}),[A]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${A}`]:{marginInlineStart:0},[`&${A}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[h]:Object.assign(Object.assign({},(0,a.Wf)(d)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:d.borderRadiusSM,alignSelf:"center",[`${h}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${h}-inner`]:Object.assign({},(0,a.oN)(d))},[`${h}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:d.checkboxSize,height:d.checkboxSize,direction:"ltr",backgroundColor:d.colorBgContainer,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,borderRadius:d.borderRadiusSM,borderCollapse:"separate",transition:`all ${d.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:d.checkboxSize/14*5,height:d.checkboxSize/14*8,border:`${d.lineWidthBold}px solid ${d.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${d.motionDurationFast} ${d.motionEaseInBack}, opacity ${d.motionDurationFast}`}},"& + span":{paddingInlineStart:d.paddingXS,paddingInlineEnd:d.paddingXS}})},{[`
${A}:not(${A}-disabled),
${h}:not(${h}-disabled)
`]:{[`&:hover ${h}-inner`]:{borderColor:d.colorPrimary}},[`${A}:not(${A}-disabled)`]:{[`&:hover ${h}-checked:not(${h}-disabled) ${h}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${h}-checked:not(${h}-disabled):after`]:{borderColor:d.colorPrimaryHover}}},{[`${h}-checked`]:{[`${h}-inner`]:{backgroundColor:d.colorPrimary,borderColor:d.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${d.motionDurationMid} ${d.motionEaseOutBack} ${d.motionDurationFast}`}}},[`
${A}-checked:not(${A}-disabled),
${h}-checked:not(${h}-disabled)
`]:{[`&:hover ${h}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"}}},{[h]:{"&-indeterminate":{[`${h}-inner`]:{backgroundColor:d.colorBgContainer,borderColor:d.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:d.fontSizeLG/2,height:d.fontSizeLG/2,backgroundColor:d.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${A}-disabled`]:{cursor:"not-allowed"},[`${h}-disabled`]:{[`&, ${h}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${h}-inner`]:{background:d.colorBgContainerDisabled,borderColor:d.colorBorder,"&:after":{borderColor:d.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:d.colorTextDisabled},[`&${h}-indeterminate ${h}-inner::after`]:{background:d.colorTextDisabled}}}]};function n(d,h){const A=(0,m.TS)(h,{checkboxCls:`.${d}`,checkboxSize:h.controlInteractiveSize});return[_(A)]}ge.ZP=(0,p.Z)("Checkbox",(d,h)=>{let{prefixCls:A}=h;return[n(A,d)]})},9432:function(_e,ge,e){e.d(ge,{Z:function(){return De},n:function(){return Ne}});var a=e(19248),m=e(92310),p=e.n(m),_=e(93681),n=e(8654),d=e(59301),h=e(19080),A=e(36355),D=e(1684),N=e(19716),J=e(32441),q=e(33234),l=e(59412),xe=e(9937);function Ce(Y){return!!(Y.prefix||Y.suffix||Y.allowClear)}var Ee=function(Y,ve){var o={};for(var s in Y)Object.prototype.hasOwnProperty.call(Y,s)&&ve.indexOf(s)<0&&(o[s]=Y[s]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,s=Object.getOwnPropertySymbols(Y);C<s.length;C++)ve.indexOf(s[C])<0&&Object.prototype.propertyIsEnumerable.call(Y,s[C])&&(o[s[C]]=Y[s[C]]);return o};function Ne(Y,ve){if(!Y)return;Y.focus(ve);const{cursor:o}=ve||{};if(o){const s=Y.value.length;switch(o){case"start":Y.setSelectionRange(0,0);break;case"end":Y.setSelectionRange(s,s);break;default:Y.setSelectionRange(0,s);break}}}var De=(0,d.forwardRef)((Y,ve)=>{var o;const{prefixCls:s,bordered:C=!0,status:E,size:G,disabled:U,onBlur:i,onFocus:w,suffix:B,allowClear:T,addonAfter:se,addonBefore:te,className:ue,style:Z,styles:S,rootClassName:F,onChange:g,classNames:O}=Y,z=Ee(Y,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:P,direction:u,input:V}=d.useContext(A.E_),f=P("input",s),K=(0,d.useRef)(null),[X,ne]=(0,xe.ZP)(f),{compactSize:ye,compactItemClassnames:be}=(0,q.ri)(f,u),oe=(0,N.Z)(Me=>{var Pe;return(Pe=G!=null?G:ye)!==null&&Pe!==void 0?Pe:Me}),pe=d.useContext(D.Z),Ie=U!=null?U:pe,{status:v,hasFeedback:t,feedbackIcon:r}=(0,d.useContext)(J.aM),y=(0,h.F)(v,E),R=Ce(Y)||!!t,W=(0,d.useRef)(R);(0,d.useEffect)(()=>{var Me;R&&W.current,W.current=R},[R]);const b=(0,l.Z)(K,!0),M=Me=>{b(),i==null||i(Me)},ae=Me=>{b(),w==null||w(Me)},ee=Me=>{b(),g==null||g(Me)},me=(t||B)&&d.createElement(d.Fragment,null,B,t&&r);let Re;return typeof T=="object"&&(T!=null&&T.clearIcon)?Re=T:T&&(Re={clearIcon:d.createElement(a.Z,null)}),X(d.createElement(_.default,Object.assign({ref:(0,n.sQ)(ve,K),prefixCls:f,autoComplete:V==null?void 0:V.autoComplete},z,{disabled:Ie,onBlur:M,onFocus:ae,style:Object.assign(Object.assign({},V==null?void 0:V.style),Z),styles:Object.assign(Object.assign({},V==null?void 0:V.styles),S),suffix:me,allowClear:Re,className:p()(ue,F,be,V==null?void 0:V.className),onChange:ee,addonAfter:se&&d.createElement(q.BR,null,d.createElement(J.Ux,{override:!0,status:!0},se)),addonBefore:te&&d.createElement(q.BR,null,d.createElement(J.Ux,{override:!0,status:!0},te)),classNames:Object.assign(Object.assign(Object.assign({},O),V==null?void 0:V.classNames),{input:p()({[`${f}-sm`]:oe==="small",[`${f}-lg`]:oe==="large",[`${f}-rtl`]:u==="rtl",[`${f}-borderless`]:!C},!R&&(0,h.Z)(f,y),O==null?void 0:O.input,(o=V==null?void 0:V.classNames)===null||o===void 0?void 0:o.input,ne)}),classes:{affixWrapper:p()({[`${f}-affix-wrapper-sm`]:oe==="small",[`${f}-affix-wrapper-lg`]:oe==="large",[`${f}-affix-wrapper-rtl`]:u==="rtl",[`${f}-affix-wrapper-borderless`]:!C},(0,h.Z)(`${f}-affix-wrapper`,y,t),ne),wrapper:p()({[`${f}-group-rtl`]:u==="rtl"},ne),group:p()({[`${f}-group-wrapper-sm`]:oe==="small",[`${f}-group-wrapper-lg`]:oe==="large",[`${f}-group-wrapper-rtl`]:u==="rtl",[`${f}-group-wrapper-disabled`]:Ie},(0,h.Z)(`${f}-group-wrapper`,y,t),ne)}})))})},1643:function(_e,ge,e){var a=e(19248),m=e(92310),p=e.n(m),_=e(9296),n=e(59301),d=e(19080),h=e(36355),A=e(1684),D=e(19716),N=e(32441),J=e(9432),q=e(9937),l=function(Ce,Ee){var Ne={};for(var Te in Ce)Object.prototype.hasOwnProperty.call(Ce,Te)&&Ee.indexOf(Te)<0&&(Ne[Te]=Ce[Te]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Te=Object.getOwnPropertySymbols(Ce);De<Te.length;De++)Ee.indexOf(Te[De])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Te[De])&&(Ne[Te[De]]=Ce[Te[De]]);return Ne};const xe=(0,n.forwardRef)((Ce,Ee)=>{const{prefixCls:Ne,bordered:Te=!0,size:De,disabled:Y,status:ve,allowClear:o,showCount:s,classNames:C,rootClassName:E,className:G}=Ce,U=l(Ce,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:i,direction:w}=n.useContext(h.E_),B=(0,D.Z)(De),T=n.useContext(A.Z),se=Y!=null?Y:T,{status:te,hasFeedback:ue,feedbackIcon:Z}=n.useContext(N.aM),S=(0,d.F)(te,ve),F=n.useRef(null);n.useImperativeHandle(Ee,()=>{var u;return{resizableTextArea:(u=F.current)===null||u===void 0?void 0:u.resizableTextArea,focus:V=>{var f,K;(0,J.n)((K=(f=F.current)===null||f===void 0?void 0:f.resizableTextArea)===null||K===void 0?void 0:K.textArea,V)},blur:()=>{var V;return(V=F.current)===null||V===void 0?void 0:V.blur()}}});const g=i("input",Ne);let O;typeof o=="object"&&(o!=null&&o.clearIcon)?O=o:o&&(O={clearIcon:n.createElement(a.Z,null)});const[z,P]=(0,q.ZP)(g);return z(n.createElement(_.default,Object.assign({},U,{disabled:se,allowClear:O,className:p()(G,E),classes:{affixWrapper:p()(`${g}-textarea-affix-wrapper`,{[`${g}-affix-wrapper-rtl`]:w==="rtl",[`${g}-affix-wrapper-borderless`]:!Te,[`${g}-affix-wrapper-sm`]:B==="small",[`${g}-affix-wrapper-lg`]:B==="large",[`${g}-textarea-show-count`]:s},(0,d.Z)(`${g}-affix-wrapper`,S),P)},classNames:Object.assign(Object.assign({},C),{textarea:p()({[`${g}-borderless`]:!Te,[`${g}-sm`]:B==="small",[`${g}-lg`]:B==="large"},(0,d.Z)(g,S),P,C==null?void 0:C.textarea)}),prefixCls:g,suffix:ue&&n.createElement("span",{className:`${g}-textarea-suffix`},Z),showCount:s,ref:F})))});ge.Z=xe},59412:function(_e,ge,e){e.d(ge,{Z:function(){return m}});var a=e(59301);function m(p,_){const n=(0,a.useRef)([]),d=()=>{n.current.push(setTimeout(()=>{var h,A,D,N;!((h=p.current)===null||h===void 0)&&h.input&&((A=p.current)===null||A===void 0?void 0:A.input.getAttribute("type"))==="password"&&(!((D=p.current)===null||D===void 0)&&D.input.hasAttribute("value"))&&((N=p.current)===null||N===void 0||N.input.removeAttribute("value"))}))};return(0,a.useEffect)(()=>(_&&d(),()=>n.current.forEach(h=>{h&&clearTimeout(h)})),[]),d}},92832:function(_e,ge,e){e.d(ge,{default:function(){return B}});var a=e(92310),m=e.n(a),p=e(59301),_=e(36355),n=e(32441),d=e(9937),A=T=>{const{getPrefixCls:se,direction:te}=(0,p.useContext)(_.E_),{prefixCls:ue,className:Z}=T,S=se("input-group",ue),F=se("input"),[g,O]=(0,d.ZP)(F),z=m()(S,{[`${S}-lg`]:T.size==="large",[`${S}-sm`]:T.size==="small",[`${S}-compact`]:T.compact,[`${S}-rtl`]:te==="rtl"},O,Z),P=(0,p.useContext)(n.aM),u=(0,p.useMemo)(()=>Object.assign(Object.assign({},P),{isFormItemInput:!1}),[P]);return g(p.createElement("span",{className:z,style:T.style,onMouseEnter:T.onMouseEnter,onMouseLeave:T.onMouseLeave,onFocus:T.onFocus,onBlur:T.onBlur},p.createElement(n.aM.Provider,{value:u},T.children)))},D=e(9432),N=e(73331),J=e(15277),q=e(2738),l=e(8654),xe=e(59412),Ce=function(T,se){var te={};for(var ue in T)Object.prototype.hasOwnProperty.call(T,ue)&&se.indexOf(ue)<0&&(te[ue]=T[ue]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,ue=Object.getOwnPropertySymbols(T);Z<ue.length;Z++)se.indexOf(ue[Z])<0&&Object.prototype.propertyIsEnumerable.call(T,ue[Z])&&(te[ue[Z]]=T[ue[Z]]);return te};const Ee=T=>T?p.createElement(J.Z,null):p.createElement(N.Z,null),Ne={click:"onClick",hover:"onMouseOver"};var De=p.forwardRef((T,se)=>{const{visibilityToggle:te=!0}=T,ue=typeof te=="object"&&te.visible!==void 0,[Z,S]=(0,p.useState)(()=>ue?te.visible:!1),F=(0,p.useRef)(null);p.useEffect(()=>{ue&&S(te.visible)},[ue,te]);const g=(0,xe.Z)(F),O=()=>{const{disabled:Ie}=T;Ie||(Z&&g(),S(v=>{var t;const r=!v;return typeof te=="object"&&((t=te.onVisibleChange)===null||t===void 0||t.call(te,r)),r}))},z=Ie=>{const{action:v="click",iconRender:t=Ee}=T,r=Ne[v]||"",y=t(Z),R={[r]:O,className:`${Ie}-icon`,key:"passwordIcon",onMouseDown:W=>{W.preventDefault()},onMouseUp:W=>{W.preventDefault()}};return p.cloneElement(p.isValidElement(y)?y:p.createElement("span",null,y),R)},{className:P,prefixCls:u,inputPrefixCls:V,size:f}=T,K=Ce(T,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:X}=p.useContext(_.E_),ne=X("input",V),ye=X("input-password",u),be=te&&z(ye),oe=m()(ye,P,{[`${ye}-${f}`]:!!f}),pe=Object.assign(Object.assign({},(0,q.Z)(K,["suffix","iconRender","visibilityToggle"])),{type:Z?"text":"password",className:oe,prefixCls:ne,suffix:be});return f&&(pe.size=f),p.createElement(D.Z,Object.assign({ref:(0,l.sQ)(se,F)},pe))}),Y=e(47472),ve=e(92343),o=e(3113),s=e(19716),C=e(33234),E=function(T,se){var te={};for(var ue in T)Object.prototype.hasOwnProperty.call(T,ue)&&se.indexOf(ue)<0&&(te[ue]=T[ue]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,ue=Object.getOwnPropertySymbols(T);Z<ue.length;Z++)se.indexOf(ue[Z])<0&&Object.prototype.propertyIsEnumerable.call(T,ue[Z])&&(te[ue[Z]]=T[ue[Z]]);return te},U=p.forwardRef((T,se)=>{const{prefixCls:te,inputPrefixCls:ue,className:Z,size:S,suffix:F,enterButton:g=!1,addonAfter:O,loading:z,disabled:P,onSearch:u,onChange:V,onCompositionStart:f,onCompositionEnd:K}=T,X=E(T,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ne,direction:ye}=p.useContext(_.E_),be=p.useRef(!1),oe=ne("input-search",te),pe=ne("input",ue),{compactSize:Ie}=(0,C.ri)(oe,ye),v=(0,s.Z)(Oe=>{var Q;return(Q=S!=null?S:Ie)!==null&&Q!==void 0?Q:Oe}),t=p.useRef(null),r=Oe=>{Oe&&Oe.target&&Oe.type==="click"&&u&&u(Oe.target.value,Oe,{source:"clear"}),V&&V(Oe)},y=Oe=>{var Q;document.activeElement===((Q=t.current)===null||Q===void 0?void 0:Q.input)&&Oe.preventDefault()},R=Oe=>{var Q,Fe;u&&u((Fe=(Q=t.current)===null||Q===void 0?void 0:Q.input)===null||Fe===void 0?void 0:Fe.value,Oe,{source:"input"})},W=Oe=>{be.current||z||R(Oe)},b=typeof g=="boolean"?p.createElement(Y.Z,null):null,M=`${oe}-button`;let ae;const ee=g||{},me=ee.type&&ee.type.__ANT_BUTTON===!0;me||ee.type==="button"?ae=(0,ve.Tm)(ee,Object.assign({onMouseDown:y,onClick:Oe=>{var Q,Fe;(Fe=(Q=ee==null?void 0:ee.props)===null||Q===void 0?void 0:Q.onClick)===null||Fe===void 0||Fe.call(Q,Oe),R(Oe)},key:"enterButton"},me?{className:M,size:v}:{})):ae=p.createElement(o.ZP,{className:M,type:g?"primary":void 0,size:v,disabled:P,key:"enterButton",onMouseDown:y,onClick:R,loading:z,icon:b},g),O&&(ae=[ae,(0,ve.Tm)(O,{key:"addonAfter"})]);const Re=m()(oe,{[`${oe}-rtl`]:ye==="rtl",[`${oe}-${v}`]:!!v,[`${oe}-with-button`]:!!g},Z),Me=Oe=>{be.current=!0,f==null||f(Oe)},Pe=Oe=>{be.current=!1,K==null||K(Oe)};return p.createElement(D.Z,Object.assign({ref:(0,l.sQ)(t,se),onPressEnter:W},X,{size:v,onCompositionStart:Me,onCompositionEnd:Pe,prefixCls:pe,addonAfter:ae,suffix:F,onChange:r,className:Re,disabled:P}))}),i=e(1643);const w=D.Z;w.Group=A,w.Search=U,w.TextArea=i.Z,w.Password=De;var B=w},9937:function(_e,ge,e){e.d(ge,{M1:function(){return h},TM:function(){return ve},Xy:function(){return A},bi:function(){return J},e5:function(){return Y},ik:function(){return q},nz:function(){return n},pU:function(){return d},s7:function(){return l},x0:function(){return N}});var a=e(17313),m=e(74207),p=e(37613),_=e(83116);const n=o=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:o,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=o=>({borderColor:o.hoverBorderColor}),h=o=>({borderColor:o.activeBorderColor,boxShadow:o.activeShadow,outline:0}),A=o=>({color:o.colorTextDisabled,backgroundColor:o.colorBgContainerDisabled,borderColor:o.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},d((0,p.TS)(o,{hoverBorderColor:o.colorBorder})))}),D=o=>{const{paddingBlockLG:s,fontSizeLG:C,lineHeightLG:E,borderRadiusLG:G,paddingInlineLG:U}=o;return{padding:`${s}px ${U}px`,fontSize:C,lineHeight:E,borderRadius:G}},N=o=>({padding:`${o.paddingBlockSM}px ${o.paddingInlineSM}px`,borderRadius:o.borderRadiusSM}),J=(o,s)=>{const{componentCls:C,colorError:E,colorWarning:G,errorActiveShadow:U,warningActiveShadow:i,colorErrorBorderHover:w,colorWarningBorderHover:B}=o;return{[`&-status-error:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:E,"&:hover":{borderColor:w},"&:focus, &-focused":Object.assign({},h((0,p.TS)(o,{activeBorderColor:E,activeShadow:U}))),[`${C}-prefix, ${C}-suffix`]:{color:E}},[`&-status-warning:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:G,"&:hover":{borderColor:B},"&:focus, &-focused":Object.assign({},h((0,p.TS)(o,{activeBorderColor:G,activeShadow:i}))),[`${C}-prefix, ${C}-suffix`]:{color:G}}}},q=o=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${o.paddingBlock}px ${o.paddingInline}px`,color:o.colorText,fontSize:o.fontSize,lineHeight:o.lineHeight,backgroundColor:o.colorBgContainer,backgroundImage:"none",borderWidth:o.lineWidth,borderStyle:o.lineType,borderColor:o.colorBorder,borderRadius:o.borderRadius,transition:`all ${o.motionDurationMid}`},n(o.colorTextPlaceholder)),{"&:hover":Object.assign({},d(o)),"&:focus, &-focused":Object.assign({},h(o)),"&-disabled, &[disabled]":Object.assign({},A(o)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:o.controlHeight,lineHeight:o.lineHeight,verticalAlign:"bottom",transition:`all ${o.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},D(o)),"&-sm":Object.assign({},N(o)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),l=o=>{const{componentCls:s,antCls:C}=o;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:o.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${s}, &-lg > ${s}-group-addon`]:Object.assign({},D(o)),[`&-sm ${s}, &-sm > ${s}-group-addon`]:Object.assign({},N(o)),[`&-lg ${C}-select-single ${C}-select-selector`]:{height:o.controlHeightLG},[`&-sm ${C}-select-single ${C}-select-selector`]:{height:o.controlHeightSM},[`> ${s}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${s}-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 ${o.paddingInline}px`,color:o.colorText,fontWeight:"normal",fontSize:o.fontSize,textAlign:"center",backgroundColor:o.colorFillAlter,border:`${o.lineWidth}px ${o.lineType} ${o.colorBorder}`,borderRadius:o.borderRadius,transition:`all ${o.motionDurationSlow}`,lineHeight:1,[`${C}-select`]:{margin:`-${o.paddingBlock+1}px -${o.paddingInline}px`,[`&${C}-select-single:not(${C}-select-customize-input)`]:{[`${C}-select-selector`]:{backgroundColor:"inherit",border:`${o.lineWidth}px ${o.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${C}-select-selector`]:{color:o.colorPrimary}}},[`${C}-cascader-picker`]:{margin:`-9px -${o.paddingInline}px`,backgroundColor:"transparent",[`${C}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${s}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${s}-search-with-button &`]:{zIndex:0}}},[`> ${s}:first-child, ${s}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${C}-select ${C}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${s}-affix-wrapper`]:{[`&:not(:first-child) ${s}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${s}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${s}:last-child, ${s}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${C}-select ${C}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${s}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${s}-search &`]:{borderStartStartRadius:o.borderRadius,borderEndStartRadius:o.borderRadius}},[`&:not(:first-child), ${s}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${s}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,a.dF)()),{[`${s}-group-addon, ${s}-group-wrap, > ${s}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:o.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${s}-affix-wrapper,
& > ${s}-number-affix-wrapper,
& > ${C}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-o.lineWidth,borderInlineEndWidth:o.lineWidth},[`${s}`]:{float:"none"},[`& > ${C}-select > ${C}-select-selector,
& > ${C}-select-auto-complete ${s},
& > ${C}-cascader-picker ${s},
& > ${s}-group-wrapper ${s}`]:{borderInlineEndWidth:o.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${C}-select-focused`]:{zIndex:1},[`& > ${C}-select > ${C}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${C}-select:first-child > ${C}-select-selector,
& > ${C}-select-auto-complete:first-child ${s},
& > ${C}-cascader-picker:first-child ${s}`]:{borderStartStartRadius:o.borderRadius,borderEndStartRadius:o.borderRadius},[`& > *:last-child,
& > ${C}-select:last-child > ${C}-select-selector,
& > ${C}-cascader-picker:last-child ${s},
& > ${C}-cascader-picker-focused:last-child ${s}`]:{borderInlineEndWidth:o.lineWidth,borderStartEndRadius:o.borderRadius,borderEndEndRadius:o.borderRadius},[`& > ${C}-select-auto-complete ${s}`]:{verticalAlign:"top"},[`${s}-group-wrapper + ${s}-group-wrapper`]:{marginInlineStart:-o.lineWidth,[`${s}-affix-wrapper`]:{borderRadius:0}},[`${s}-group-wrapper:not(:last-child)`]:{[`&${s}-search > ${s}-group`]:{[`& > ${s}-group-addon > ${s}-search-button`]:{borderRadius:0},[`& > ${s}`]:{borderStartStartRadius:o.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:o.borderRadius}}}})}},xe=o=>{const{componentCls:s,controlHeightSM:C,lineWidth:E}=o,U=(C-E*2-16)/2;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,a.Wf)(o)),q(o)),J(o,s)),{'&[type="color"]':{height:o.controlHeight,[`&${s}-lg`]:{height:o.controlHeightLG},[`&${s}-sm`]:{height:C,paddingTop:U,paddingBottom:U}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Ce=o=>{const{componentCls:s}=o;return{[`${s}-clear-icon`]:{margin:0,color:o.colorTextQuaternary,fontSize:o.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${o.motionDurationSlow}`,"&:hover":{color:o.colorTextTertiary},"&:active":{color:o.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${o.inputAffixPadding}px`}}}},Ee=o=>{const{componentCls:s,inputAffixPadding:C,colorTextDescription:E,motionDurationSlow:G,colorIcon:U,colorIconHover:i,iconCls:w}=o;return{[`${s}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},q(o)),{display:"inline-flex",[`&:not(${s}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},d(o)),{zIndex:1,[`${s}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${s}[disabled]`]:{background:"transparent"}},[`> input${s}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${s}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:o.paddingXS}},"&-show-count-suffix":{color:E},"&-show-count-has-suffix":{marginInlineEnd:o.paddingXXS},"&-prefix":{marginInlineEnd:C},"&-suffix":{marginInlineStart:C}}}),Ce(o)),{[`${w}${s}-password-icon`]:{color:U,cursor:"pointer",transition:`all ${G}`,"&:hover":{color:i}}}),J(o,`${s}-affix-wrapper`))}},Ne=o=>{const{componentCls:s,colorError:C,colorWarning:E,borderRadiusLG:G,borderRadiusSM:U}=o;return{[`${s}-group`]:Object.assign(Object.assign(Object.assign({},(0,a.Wf)(o)),l(o)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${s}-group-addon`]:{borderRadius:G,fontSize:o.fontSizeLG}},"&-sm":{[`${s}-group-addon`]:{borderRadius:U}},"&-status-error":{[`${s}-group-addon`]:{color:C,borderColor:C}},"&-status-warning":{[`${s}-group-addon`]:{color:E,borderColor:E}},"&-disabled":{[`${s}-group-addon`]:Object.assign({},A(o))},[`&:not(${s}-compact-first-item):not(${s}-compact-last-item)${s}-compact-item`]:{[`${s}, ${s}-group-addon`]:{borderRadius:0}},[`&:not(${s}-compact-last-item)${s}-compact-first-item`]:{[`${s}, ${s}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${s}-compact-first-item)${s}-compact-last-item`]:{[`${s}, ${s}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Te=o=>{const{componentCls:s,antCls:C}=o,E=`${s}-search`;return{[E]:{[`${s}`]:{"&:hover, &:focus":{borderColor:o.colorPrimaryHover,[`+ ${s}-group-addon ${E}-button:not(${C}-btn-primary)`]:{borderInlineStartColor:o.colorPrimaryHover}}},[`${s}-affix-wrapper`]:{borderRadius:0},[`${s}-lg`]:{lineHeight:o.lineHeightLG-2e-4},[`> ${s}-group`]:{[`> ${s}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${E}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:o.borderRadius,borderEndEndRadius:o.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${E}-button:not(${C}-btn-primary)`]:{color:o.colorTextDescription,"&:hover":{color:o.colorPrimaryHover},"&:active":{color:o.colorPrimaryActive},[`&${C}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${E}-button`]:{height:o.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${E}-button`]:{height:o.controlHeightLG},[`&-small ${E}-button`]:{height:o.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${s}-compact-item`]:{[`&:not(${s}-compact-last-item)`]:{[`${s}-group-addon`]:{[`${s}-search-button`]:{marginInlineEnd:-o.lineWidth,borderRadius:0}}},[`&:not(${s}-compact-first-item)`]:{[`${s},${s}-affix-wrapper`]:{borderRadius:0}},[`> ${s}-group-addon ${s}-search-button,
> ${s},
${s}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${s}-affix-wrapper-focused`]:{zIndex:2}}}}},De=o=>{const{componentCls:s,paddingLG:C}=o,E=`${s}-textarea`;return{[E]:{position:"relative","&-show-count":{[`> ${s}`]:{height:"100%"},[`${s}-data-count`]:{position:"absolute",bottom:-o.fontSize*o.lineHeight,insetInlineEnd:0,color:o.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${s}`]:{paddingInlineEnd:C}},[`&-affix-wrapper${E}-has-feedback`]:{[`${s}`]:{paddingInlineEnd:C}},[`&-affix-wrapper${s}-affix-wrapper`]:{padding:0,[`> textarea${s}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${s}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${s}-clear-icon`]:{position:"absolute",insetInlineEnd:o.paddingXS,insetBlockStart:o.paddingXS},[`${E}-suffix`]:{position:"absolute",top:0,insetInlineEnd:o.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function Y(o){return(0,p.TS)(o,{inputAffixPadding:o.paddingXXS})}const ve=o=>{const{controlHeight:s,fontSize:C,lineHeight:E,lineWidth:G,controlHeightSM:U,controlHeightLG:i,fontSizeLG:w,lineHeightLG:B,paddingSM:T,controlPaddingHorizontalSM:se,controlPaddingHorizontal:te,colorFillAlter:ue,colorPrimaryHover:Z,controlOutlineWidth:S,controlOutline:F,colorErrorOutline:g,colorWarningOutline:O}=o;return{paddingBlock:Math.max(Math.round((s-C*E)/2*10)/10-G,3),paddingBlockSM:Math.max(Math.round((U-C*E)/2*10)/10-G,0),paddingBlockLG:Math.ceil((i-w*B)/2*10)/10-G,paddingInline:T-G,paddingInlineSM:se-G,paddingInlineLG:te-G,addonBg:ue,activeBorderColor:Z,hoverBorderColor:Z,activeShadow:`0 0 0 ${S}px ${F}`,errorActiveShadow:`0 0 0 ${S}px ${g}`,warningActiveShadow:`0 0 0 ${S}px ${O}`}};ge.ZP=(0,_.Z)("Input",o=>{const s=(0,p.TS)(o,Y(o));return[xe(s),De(s),Ee(s),Ne(s),Te(s),(0,m.c)(s)]},ve)},45818:function(_e,ge,e){e.d(ge,{D:function(){return Y},Z:function(){return s}});var a=e(92413),m=e(59301),p={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},_=p,n=e(7657),d=function(E,G){return m.createElement(n.Z,(0,a.Z)({},E,{ref:G,icon:_}))},h=m.forwardRef(d),A=h,D=e(33853),N=e(38819),J=e(92310),q=e.n(J),l=e(2738),Ce=C=>!isNaN(parseFloat(C))&&isFinite(C),Ee=e(36355),Ne=e(84966),Te=function(C,E){var G={};for(var U in C)Object.prototype.hasOwnProperty.call(C,U)&&E.indexOf(U)<0&&(G[U]=C[U]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,U=Object.getOwnPropertySymbols(C);i<U.length;i++)E.indexOf(U[i])<0&&Object.prototype.propertyIsEnumerable.call(C,U[i])&&(G[U[i]]=C[U[i]]);return G};const De={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Y=m.createContext({}),ve=(()=>{let C=0;return function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return C+=1,`${E}${C}`}})();var s=m.forwardRef((C,E)=>{const{prefixCls:G,className:U,trigger:i,children:w,defaultCollapsed:B=!1,theme:T="dark",style:se={},collapsible:te=!1,reverseArrow:ue=!1,width:Z=200,collapsedWidth:S=80,zeroWidthTriggerStyle:F,breakpoint:g,onCollapse:O,onBreakpoint:z}=C,P=Te(C,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:u}=(0,m.useContext)(Ne.Gs),[V,f]=(0,m.useState)("collapsed"in C?C.collapsed:B),[K,X]=(0,m.useState)(!1);(0,m.useEffect)(()=>{"collapsed"in C&&f(C.collapsed)},[C.collapsed]);const ne=(v,t)=>{"collapsed"in C||f(v),O==null||O(v,t)},ye=(0,m.useRef)();ye.current=v=>{X(v.matches),z==null||z(v.matches),V!==v.matches&&ne(v.matches,"responsive")},(0,m.useEffect)(()=>{function v(r){return ye.current(r)}let t;if(typeof window!="undefined"){const{matchMedia:r}=window;if(r&&g&&g in De){t=r(`(max-width: ${De[g]})`);try{t.addEventListener("change",v)}catch(y){t.addListener(v)}v(t)}}return()=>{try{t==null||t.removeEventListener("change",v)}catch(r){t==null||t.removeListener(v)}}},[g]),(0,m.useEffect)(()=>{const v=ve("ant-sider-");return u.addSider(v),()=>u.removeSider(v)},[]);const be=()=>{ne(!V,"clickTrigger")},{getPrefixCls:oe}=(0,m.useContext)(Ee.E_),pe=()=>{const v=oe("layout-sider",G),t=(0,l.Z)(P,["collapsed"]),r=V?S:Z,y=Ce(r)?`${r}px`:String(r),R=parseFloat(String(S||0))===0?m.createElement("span",{onClick:be,className:q()(`${v}-zero-width-trigger`,`${v}-zero-width-trigger-${ue?"right":"left"}`),style:F},i||m.createElement(A,null)):null,M={expanded:ue?m.createElement(N.Z,null):m.createElement(D.Z,null),collapsed:ue?m.createElement(D.Z,null):m.createElement(N.Z,null)}[V?"collapsed":"expanded"],ae=i!==null?R||m.createElement("div",{className:`${v}-trigger`,onClick:be,style:{width:y}},i||M):null,ee=Object.assign(Object.assign({},se),{flex:`0 0 ${y}`,maxWidth:y,minWidth:y,width:y}),me=q()(v,`${v}-${T}`,{[`${v}-collapsed`]:!!V,[`${v}-has-trigger`]:te&&i!==null&&!R,[`${v}-below`]:!!K,[`${v}-zero-width`]:parseFloat(y)===0},U);return m.createElement("aside",Object.assign({className:me},t,{style:ee,ref:E}),m.createElement("div",{className:`${v}-children`},w),te||K&&R?ae:null)},Ie=m.useMemo(()=>({siderCollapsed:V}),[V]);return m.createElement(Y.Provider,{value:Ie},pe())})},44e3:function(_e,ge,e){var a=e(84966),m=e(45818);const p=a.ZP;p.Header=a.h4,p.Footer=a.$_,p.Content=a.VY,p.Sider=m.Z,ge.default=p},84966:function(_e,ge,e){e.d(ge,{VY:function(){return Y},$_:function(){return De},h4:function(){return Te},Gs:function(){return l},ZP:function(){return ve}});var a=e(26407),m=e(92310),p=e.n(m),_=e(2738),n=e(59301),d=e(36355),h=e(83116),D=o=>{const{componentCls:s,bodyBg:C,lightSiderBg:E,lightTriggerBg:G,lightTriggerColor:U}=o;return{[`${s}-sider-light`]:{background:E,[`${s}-sider-trigger`]:{color:U,background:G},[`${s}-sider-zero-width-trigger`]:{color:U,background:G,border:`1px solid ${C}`,borderInlineStart:0}}}};const N=o=>{const{antCls:s,componentCls:C,colorText:E,triggerColor:G,footerBg:U,triggerBg:i,headerHeight:w,headerPadding:B,headerColor:T,footerPadding:se,triggerHeight:te,zeroTriggerHeight:ue,zeroTriggerWidth:Z,motionDurationMid:S,motionDurationSlow:F,fontSize:g,borderRadius:O,bodyBg:z,headerBg:P,siderBg:u}=o;return{[C]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:z,"&, *":{boxSizing:"border-box"},[`&${C}-has-sider`]:{flexDirection:"row",[`> ${C}, > ${C}-content`]:{width:0}},[`${C}-header, &${C}-footer`]:{flex:"0 0 auto"},[`${C}-sider`]:{position:"relative",minWidth:0,background:u,transition:`all ${S}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${s}-menu${s}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:te},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:te,color:G,lineHeight:`${te}px`,textAlign:"center",background:i,cursor:"pointer",transition:`all ${S}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:w,insetInlineEnd:-Z,zIndex:1,width:Z,height:ue,color:G,fontSize:o.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:u,borderStartStartRadius:0,borderStartEndRadius:O,borderEndEndRadius:O,borderEndStartRadius:0,cursor:"pointer",transition:`background ${F} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${F}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Z,borderStartStartRadius:O,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:O}}}}},D(o)),{"&-rtl":{direction:"rtl"}}),[`${C}-header`]:{height:w,padding:B,color:T,lineHeight:`${w}px`,background:P,[`${s}-menu`]:{lineHeight:"inherit"}},[`${C}-footer`]:{padding:se,color:E,fontSize:g,background:U},[`${C}-content`]:{flex:"auto",minHeight:0}}};var J=(0,h.Z)("Layout",o=>[N(o)],o=>{const{colorBgLayout:s,controlHeight:C,controlHeightLG:E,colorText:G,controlHeightSM:U,marginXXS:i,colorTextLightSolid:w,colorBgContainer:B}=o,T=E*1.25;return{colorBgHeader:"#001529",colorBgBody:s,colorBgTrigger:"#002140",bodyBg:s,headerBg:"#001529",headerHeight:C*2,headerPadding:`0 ${T}px`,headerColor:G,footerPadding:`${U}px ${T}px`,footerBg:s,siderBg:"#001529",triggerHeight:E+i*2,triggerBg:"#002140",triggerColor:w,zeroTriggerWidth:E,zeroTriggerHeight:E,lightSiderBg:B,lightTriggerBg:B,lightTriggerColor:G}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),q=function(o,s){var C={};for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&s.indexOf(E)<0&&(C[E]=o[E]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,E=Object.getOwnPropertySymbols(o);G<E.length;G++)s.indexOf(E[G])<0&&Object.prototype.propertyIsEnumerable.call(o,E[G])&&(C[E[G]]=o[E[G]]);return C};const l=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function xe(o){let{suffixCls:s,tagName:C,displayName:E}=o;return G=>n.forwardRef((i,w)=>n.createElement(G,Object.assign({ref:w,suffixCls:s,tagName:C},i)))}const Ce=n.forwardRef((o,s)=>{const{prefixCls:C,suffixCls:E,className:G,tagName:U}=o,i=q(o,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:w}=n.useContext(d.E_),B=w("layout",C),[T,se]=J(B),te=E?`${B}-${E}`:B;return T(n.createElement(U,Object.assign({className:p()(C||te,G,se),ref:s},i)))}),Ee=n.forwardRef((o,s)=>{const{direction:C}=n.useContext(d.E_),[E,G]=n.useState([]),{prefixCls:U,className:i,rootClassName:w,children:B,hasSider:T,tagName:se,style:te}=o,ue=q(o,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Z=(0,_.Z)(ue,["suffixCls"]),{getPrefixCls:S,layout:F}=n.useContext(d.E_),g=S("layout",U),[O,z]=J(g),P=p()(g,{[`${g}-has-sider`]:typeof T=="boolean"?T:E.length>0,[`${g}-rtl`]:C==="rtl"},F==null?void 0:F.className,i,w,z),u=n.useMemo(()=>({siderHook:{addSider:V=>{G(f=>[].concat((0,a.Z)(f),[V]))},removeSider:V=>{G(f=>f.filter(K=>K!==V))}}}),[]);return O(n.createElement(l.Provider,{value:u},n.createElement(se,Object.assign({ref:s,className:P,style:Object.assign(Object.assign({},F==null?void 0:F.style),te)},Z),B)))}),Ne=xe({tagName:"div",displayName:"Layout"})(Ee),Te=xe({suffixCls:"header",tagName:"header",displayName:"Header"})(Ce),De=xe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Ce),Y=xe({suffixCls:"content",tagName:"main",displayName:"Content"})(Ce);var ve=Ne},40875:function(_e,ge,e){e.d(ge,{J:function(){return d}});var a=e(59301),m=e(33234),p=e(70425),_=function(h,A){var D={};for(var N in h)Object.prototype.hasOwnProperty.call(h,N)&&A.indexOf(N)<0&&(D[N]=h[N]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,N=Object.getOwnPropertySymbols(h);J<N.length;J++)A.indexOf(N[J])<0&&Object.prototype.propertyIsEnumerable.call(h,N[J])&&(D[N[J]]=h[N[J]]);return D};const n=a.createContext(null),d=a.forwardRef((h,A)=>{const{children:D}=h,N=_(h,["children"]),J=a.useContext(n),q=a.useMemo(()=>Object.assign(Object.assign({},J),N),[J,N.prefixCls,N.mode,N.selectable]);return a.createElement(n.Provider,{value:q},a.createElement(m.BR,null,(0,p.supportNodeRef)(D)?a.cloneElement(D,{ref:A}):D))});ge.Z=n},20834:function(_e,ge,e){e.d(ge,{default:function(){return Ie}});var a=e(15285),m=e(59301),p=e(45818),_=e(92310),n=e.n(_),d=e(36355),h=function(v,t){var r={};for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&t.indexOf(y)<0&&(r[y]=v[y]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,y=Object.getOwnPropertySymbols(v);R<y.length;R++)t.indexOf(y[R])<0&&Object.prototype.propertyIsEnumerable.call(v,y[R])&&(r[y[R]]=v[y[R]]);return r},D=v=>{const{prefixCls:t,className:r,dashed:y}=v,R=h(v,["prefixCls","className","dashed"]),{getPrefixCls:W}=m.useContext(d.E_),b=W("menu",t),M=n()({[`${b}-item-divider-dashed`]:!!y},r);return m.createElement(a.iz,Object.assign({className:M},R))},N=e(11592),J=e(2738),q=e(6848),l=e(92343),Ce=(0,m.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ne=v=>{var t;const{className:r,children:y,icon:R,title:W,danger:b}=v,{prefixCls:M,firstLevel:ae,direction:ee,disableMenuItemTitleTooltip:me,inlineCollapsed:Re}=m.useContext(Ce),Me=I=>{const L=m.createElement("span",{className:`${M}-title-content`},y);return(!R||(0,l.l$)(y)&&y.type==="span")&&y&&I&&ae&&typeof y=="string"?m.createElement("div",{className:`${M}-inline-collapsed-noicon`},y.charAt(0)):L},{siderCollapsed:Pe}=m.useContext(p.D);let Oe=W;typeof W=="undefined"?Oe=ae?y:"":W===!1&&(Oe="");const Q={title:Oe};!Pe&&!Re&&(Q.title=null,Q.open=!1);const Fe=(0,N.Z)(y).length;let c=m.createElement(a.ck,Object.assign({},(0,J.Z)(v,["title","icon","danger"]),{className:n()({[`${M}-item-danger`]:b,[`${M}-item-only-child`]:(R?Fe+1:Fe)===1},r),title:typeof W=="string"?W:void 0}),(0,l.Tm)(R,{className:n()((0,l.l$)(R)?(t=R.props)===null||t===void 0?void 0:t.className:"",`${M}-item-icon`)}),Me(Re));return me||(c=m.createElement(q.Z,Object.assign({},Q,{placement:ee==="rtl"?"left":"right",overlayClassName:`${M}-inline-collapsed-tooltip`}),c)),c},De=v=>{var t;const{popupClassName:r,icon:y,title:R,theme:W}=v,b=m.useContext(Ce),{prefixCls:M,inlineCollapsed:ae,theme:ee}=b,me=(0,a.Xl)();let Re;if(!y)Re=ae&&!me.length&&R&&typeof R=="string"?m.createElement("div",{className:`${M}-inline-collapsed-noicon`},R.charAt(0)):m.createElement("span",{className:`${M}-title-content`},R);else{const Pe=(0,l.l$)(R)&&R.type==="span";Re=m.createElement(m.Fragment,null,(0,l.Tm)(y,{className:n()((0,l.l$)(y)?(t=y.props)===null||t===void 0?void 0:t.className:"",`${M}-item-icon`)}),Pe?R:m.createElement("span",{className:`${M}-title-content`},R))}const Me=m.useMemo(()=>Object.assign(Object.assign({},b),{firstLevel:!1}),[b]);return m.createElement(Ce.Provider,{value:Me},m.createElement(a.Wd,Object.assign({},(0,J.Z)(v,["icon"]),{title:Re,popupClassName:n()(M,r,`${M}-${W||ee}`)})))},Y=e(18785),ve=e(70425),o=e(62892),s=e(40875),C=function(v,t){var r={};for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&t.indexOf(y)<0&&(r[y]=v[y]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,y=Object.getOwnPropertySymbols(v);R<y.length;R++)t.indexOf(y[R])<0&&Object.prototype.propertyIsEnumerable.call(v,y[R])&&(r[y[R]]=v[y[R]]);return r};function E(v){return(v||[]).map((t,r)=>{if(t&&typeof t=="object"){const y=t,{label:R,children:W,key:b,type:M}=y,ae=C(y,["label","children","key","type"]),ee=b!=null?b:`tmp-${r}`;return W||M==="group"?M==="group"?m.createElement(a.BW,Object.assign({key:ee},ae,{title:R}),E(W)):m.createElement(De,Object.assign({key:ee},ae,{title:R}),E(W)):M==="divider"?m.createElement(D,Object.assign({key:ee},ae)):m.createElement(Ne,Object.assign({key:ee},ae),R)}return null}).filter(t=>t)}function G(v){return m.useMemo(()=>v&&E(v),[v])}var U=e(64993),i=e(17313),w=e(8378),B=e(13826),T=e(29878),se=e(83116),te=e(37613),Z=v=>{const{componentCls:t,motionDurationSlow:r,horizontalLineHeight:y,colorSplit:R,lineWidth:W,lineType:b,itemPaddingInline:M}=v;return{[`${t}-horizontal`]:{lineHeight:y,border:0,borderBottom:`${W}px ${b} ${R}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:M},[`> ${t}-item:hover,
> ${t}-item-active,
> ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${r}`,`background ${r}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},F=v=>{let{componentCls:t,menuArrowOffset:r}=v;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,
${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${r})`},"&::after":{transform:`rotate(45deg) translateY(${r})`}}}}};const g=v=>Object.assign({},(0,i.oN)(v));var z=(v,t)=>{const{componentCls:r,itemColor:y,itemSelectedColor:R,groupTitleColor:W,itemBg:b,subMenuItemBg:M,itemSelectedBg:ae,activeBarHeight:ee,activeBarWidth:me,activeBarBorderWidth:Re,motionDurationSlow:Me,motionEaseInOut:Pe,motionEaseOut:Oe,itemPaddingInline:Q,motionDurationMid:Fe,itemHoverColor:c,lineType:I,colorSplit:L,itemDisabledColor:ce,dangerItemColor:he,dangerItemHoverColor:le,dangerItemSelectedColor:ie,dangerItemActiveBg:de,dangerItemSelectedBg:H,itemHoverBg:Be,itemActiveBg:$e,menuSubMenuBg:we,horizontalItemSelectedColor:ze,horizontalItemSelectedBg:Le,horizontalItemBorderRadius:He,horizontalItemHoverBg:Ke,popupBg:je}=v;return{[`${r}-${t}, ${r}-${t} > ${r}`]:{color:y,background:b,[`&${r}-root:focus-visible`]:Object.assign({},g(v)),[`${r}-item-group-title`]:{color:W},[`${r}-submenu-selected`]:{[`> ${r}-submenu-title`]:{color:R}},[`${r}-item-disabled, ${r}-submenu-disabled`]:{color:`${ce} !important`},[`${r}-item:not(${r}-item-selected):not(${r}-submenu-selected)`]:{[`&:hover, > ${r}-submenu-title:hover`]:{color:c}},[`&:not(${r}-horizontal)`]:{[`${r}-item:not(${r}-item-selected)`]:{"&:hover":{backgroundColor:Be},"&:active":{backgroundColor:$e}},[`${r}-submenu-title`]:{"&:hover":{backgroundColor:Be},"&:active":{backgroundColor:$e}}},[`${r}-item-danger`]:{color:he,[`&${r}-item:hover`]:{[`&:not(${r}-item-selected):not(${r}-submenu-selected)`]:{color:le}},[`&${r}-item:active`]:{background:de}},[`${r}-item a`]:{"&, &:hover":{color:"inherit"}},[`${r}-item-selected`]:{color:R,[`&${r}-item-danger`]:{color:ie},"a, a:hover":{color:"inherit"}},[`& ${r}-item-selected`]:{backgroundColor:ae,[`&${r}-item-danger`]:{backgroundColor:H}},[`${r}-item, ${r}-submenu-title`]:{[`&:not(${r}-item-disabled):focus-visible`]:Object.assign({},g(v))},[`&${r}-submenu > ${r}`]:{backgroundColor:we},[`&${r}-popup > ${r}`]:{backgroundColor:je},[`&${r}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${r}-item, > ${r}-submenu`]:{top:Re,marginTop:-Re,marginBottom:0,borderRadius:He,"&::after":{position:"absolute",insetInline:Q,bottom:0,borderBottom:`${ee}px solid transparent`,transition:`border-color ${Me} ${Pe}`,content:'""'},"&:hover, &-active, &-open":{background:Ke,"&::after":{borderBottomWidth:ee,borderBottomColor:ze}},"&-selected":{color:ze,backgroundColor:Le,"&:hover":{backgroundColor:Le},"&::after":{borderBottomWidth:ee,borderBottomColor:ze}}}}),[`&${r}-root`]:{[`&${r}-inline, &${r}-vertical`]:{borderInlineEnd:`${Re}px ${I} ${L}`}},[`&${r}-inline`]:{[`${r}-sub${r}-inline`]:{background:M},[`${r}-item, ${r}-submenu-title`]:Re&&me?{width:`calc(100% + ${Re}px)`}:{},[`${r}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${me}px solid ${R}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Fe} ${Oe}`,`opacity ${Fe} ${Oe}`].join(","),content:'""'},[`&${r}-item-danger`]:{"&::after":{borderInlineEndColor:ie}}},[`${r}-selected, ${r}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Fe} ${Pe}`,`opacity ${Fe} ${Pe}`].join(",")}}}}}};const P=v=>{const{componentCls:t,itemHeight:r,itemMarginInline:y,padding:R,menuArrowSize:W,marginXS:b,itemMarginBlock:M}=v,ae=R+W+b;return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:r,lineHeight:`${r}px`,paddingInline:R,overflow:"hidden",textOverflow:"ellipsis",marginInline:y,marginBlock:M,width:`calc(100% - ${y*2}px)`},[`> ${t}-item,
> ${t}-submenu > ${t}-submenu-title`]:{height:r,lineHeight:`${r}px`},[`${t}-item-group-list ${t}-submenu-title,
${t}-submenu-title`]:{paddingInlineEnd:ae}}};var V=v=>{const{componentCls:t,iconCls:r,itemHeight:y,colorTextLightSolid:R,dropdownWidth:W,controlHeightLG:b,motionDurationMid:M,motionEaseOut:ae,paddingXL:ee,itemMarginInline:me,fontSizeLG:Re,motionDurationSlow:Me,paddingXS:Pe,boxShadowSecondary:Oe,collapsedWidth:Q,collapsedIconSize:Fe}=v,c={height:y,lineHeight:`${y}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},P(v))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},P(v)),{boxShadow:Oe})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:W,maxHeight:`calc(100vh - ${b*2.5}px)`,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 ${Me}`,`background ${Me}`,`padding ${M} ${ae}`].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`]:c,[`& ${t}-item-group-title`]:{paddingInlineStart:ee}},[`${t}-item`]:c}},{[`${t}-inline-collapsed`]:{width:Q,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:Re,textAlign:"center"}}},[`> ${t}-item,
> ${t}-item-group > ${t}-item-group-list > ${t}-item,
> ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
> ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Re/2}px - ${me}px)`,textOverflow:"clip",[`
${t}-submenu-arrow,
${t}-submenu-expand-icon
`]:{opacity:0},[`${t}-item-icon, ${r}`]:{margin:0,fontSize:Fe,lineHeight:`${y}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${r}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${r}`]:{display:"none"},"a, a:hover":{color:R}},[`${t}-item-group-title`]:Object.assign(Object.assign({},i.vS),{paddingInline:Pe})}}]};const f=v=>{const{componentCls:t,motionDurationSlow:r,motionDurationMid:y,motionEaseInOut:R,motionEaseOut:W,iconCls:b,iconSize:M,iconMarginInlineEnd:ae}=v;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${R}`].join(","),[`${t}-item-icon, ${b}`]:{minWidth:M,fontSize:M,transition:[`font-size ${y} ${W}`,`margin ${r} ${R}`,`color ${r}`].join(","),"+ span":{marginInlineStart:ae,opacity:1,transition:[`opacity ${r} ${R}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:Object.assign({},(0,i.Ro)()),[`&${t}-item-only-child`]:{[`> ${b}, > ${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"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},K=v=>{const{componentCls:t,motionDurationSlow:r,motionEaseInOut:y,borderRadius:R,menuArrowSize:W,menuArrowOffset:b}=v;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:v.margin,width:W,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${r} ${y}, opacity ${r}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:W*.6,height:W*.15,backgroundColor:"currentcolor",borderRadius:R,transition:[`background ${r} ${y}`,`transform ${r} ${y}`,`top ${r} ${y}`,`color ${r} ${y}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${b})`},"&::after":{transform:`rotate(-45deg) translateY(${b})`}}}}},X=v=>{const{antCls:t,componentCls:r,fontSize:y,motionDurationSlow:R,motionDurationMid:W,motionEaseInOut:b,paddingXS:M,padding:ae,colorSplit:ee,lineWidth:me,zIndexPopup:Re,borderRadiusLG:Me,subMenuItemBorderRadius:Pe,menuArrowSize:Oe,menuArrowOffset:Q,lineType:Fe,menuPanelMaskInset:c,groupTitleLineHeight:I,groupTitleFontSize:L}=v;return[{"":{[`${r}`]:Object.assign(Object.assign({},(0,i.dF)()),{"&-hidden":{display:"none"}})},[`${r}-submenu-hidden`]:{display:"none"}},{[r]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,i.Wf)(v)),(0,i.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:y,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",[`${r}-item`]:{flex:"none"}},[`${r}-item, ${r}-submenu, ${r}-submenu-title`]:{borderRadius:v.itemBorderRadius},[`${r}-item-group-title`]:{padding:`${M}px ${ae}px`,fontSize:L,lineHeight:I,transition:`all ${R}`},[`&-horizontal ${r}-submenu`]:{transition:[`border-color ${R} ${b}`,`background ${R} ${b}`].join(",")},[`${r}-submenu, ${r}-submenu-inline`]:{transition:[`border-color ${R} ${b}`,`background ${R} ${b}`,`padding ${W} ${b}`].join(",")},[`${r}-submenu ${r}-sub`]:{cursor:"initial",transition:[`background ${R} ${b}`,`padding ${R} ${b}`].join(",")},[`${r}-title-content`]:{transition:`color ${R}`},[`${r}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${r}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ee,borderStyle:Fe,borderWidth:0,borderTopWidth:me,marginBlock:me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),f(v)),{[`${r}-item-group`]:{[`${r}-item-group-list`]:{margin:0,padding:0,[`${r}-item, ${r}-submenu-title`]:{paddingInline:`${y*2}px ${ae}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Re,borderRadius:Me,boxShadow:"none",transformOrigin:"0 0",[`&${r}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${c}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:c},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:v.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:v.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:v.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:v.paddingXS},[`> ${r}`]:Object.assign(Object.assign(Object.assign({borderRadius:Me},f(v)),K(v)),{[`${r}-item, ${r}-submenu > ${r}-submenu-title`]:{borderRadius:Pe},[`${r}-submenu-title::after`]:{transition:`transform ${R} ${b}`}})}}),K(v)),{[`&-inline-collapsed ${r}-submenu-arrow,
&-inline ${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Q})`},"&::after":{transform:`rotate(45deg) translateX(-${Q})`}},[`${r}-submenu-open${r}-submenu-inline > ${r}-submenu-title > ${r}-submenu-arrow`]:{transform:`translateY(-${Oe*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Q})`},"&::before":{transform:`rotate(45deg) translateX(${Q})`}}})},{[`${t}-layout-header`]:{[r]:{lineHeight:"inherit"}}}]};var ne=(v,t)=>(0,se.Z)("Menu",y=>{if(t===!1)return[];const{colorBgElevated:R,colorPrimary:W,colorTextLightSolid:b,controlHeightLG:M,fontSize:ae,darkItemColor:ee,darkDangerItemColor:me,darkItemBg:Re,darkSubMenuItemBg:Me,darkItemSelectedColor:Pe,darkItemSelectedBg:Oe,darkDangerItemSelectedBg:Q,darkItemHoverBg:Fe,darkGroupTitleColor:c,darkItemHoverColor:I,darkItemDisabledColor:L,darkDangerItemHoverColor:ce,darkDangerItemSelectedColor:he,darkDangerItemActiveBg:le}=y,ie=ae/7*5,de=(0,te.TS)(y,{menuArrowSize:ie,menuHorizontalHeight:M*1.15,menuArrowOffset:`${ie*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:R}),H=(0,te.TS)(de,{itemColor:ee,itemHoverColor:I,groupTitleColor:c,itemSelectedColor:Pe,itemBg:Re,popupBg:Re,subMenuItemBg:Me,itemActiveBg:"transparent",itemSelectedBg:Oe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Fe,itemDisabledColor:L,dangerItemColor:me,dangerItemHoverColor:ce,dangerItemSelectedColor:he,dangerItemActiveBg:le,dangerItemSelectedBg:Q,menuSubMenuBg:Me,horizontalItemSelectedColor:b,horizontalItemSelectedBg:W});return[X(de),Z(de),V(de),z(de,"light"),z(H,"dark"),F(de),(0,w.Z)(de),(0,B.oN)(de,"slide-up"),(0,B.oN)(de,"slide-down"),(0,T._y)(de,"zoom-big")]},y=>{const{colorPrimary:R,colorError:W,colorTextDisabled:b,colorErrorBg:M,colorText:ae,colorTextDescription:ee,colorBgContainer:me,colorFillAlter:Re,colorFillContent:Me,lineWidth:Pe,lineWidthBold:Oe,controlItemBgActive:Q,colorBgTextHover:Fe,controlHeightLG:c,lineHeight:I,colorBgElevated:L,marginXXS:ce,padding:he,fontSize:le,controlHeightSM:ie,fontSizeLG:de,colorTextLightSolid:H,colorErrorHover:Be}=y,$e=new U.C(H).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:y.zIndexPopupBase+50,radiusItem:y.borderRadiusLG,itemBorderRadius:y.borderRadiusLG,radiusSubMenuItem:y.borderRadiusSM,subMenuItemBorderRadius:y.borderRadiusSM,colorItemText:ae,itemColor:ae,colorItemTextHover:ae,itemHoverColor:ae,colorItemTextHoverHorizontal:R,horizontalItemHoverColor:R,colorGroupTitle:ee,groupTitleColor:ee,colorItemTextSelected:R,itemSelectedColor:R,colorItemTextSelectedHorizontal:R,horizontalItemSelectedColor:R,colorItemBg:me,itemBg:me,colorItemBgHover:Fe,itemHoverBg:Fe,colorItemBgActive:Me,itemActiveBg:Q,colorSubItemBg:Re,subMenuItemBg:Re,colorItemBgSelected:Q,itemSelectedBg:Q,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Oe,activeBarHeight:Oe,colorActiveBarBorderSize:Pe,activeBarBorderWidth:Pe,colorItemTextDisabled:b,itemDisabledColor:b,colorDangerItemText:W,dangerItemColor:W,colorDangerItemTextHover:W,dangerItemHoverColor:W,colorDangerItemTextSelected:W,dangerItemSelectedColor:W,colorDangerItemBgActive:M,dangerItemActiveBg:M,colorDangerItemBgSelected:M,dangerItemSelectedBg:M,itemMarginInline:y.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:c,groupTitleLineHeight:I,collapsedWidth:c*2,popupBg:L,itemMarginBlock:ce,itemPaddingInline:he,horizontalLineHeight:`${c*1.15}px`,iconSize:le,iconMarginInlineEnd:ie-le,collapsedIconSize:de,groupTitleFontSize:le,darkItemDisabledColor:new U.C(H).setAlpha(.25).toRgbString(),darkItemColor:$e,darkDangerItemColor:W,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:H,darkItemSelectedBg:R,darkDangerItemSelectedBg:W,darkItemHoverBg:"transparent",darkGroupTitleColor:$e,darkItemHoverColor:H,darkDangerItemHoverColor:Be,darkDangerItemSelectedColor:H,darkDangerItemActiveBg:W}},{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"]]})(v),ye=function(v,t){var r={};for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&t.indexOf(y)<0&&(r[y]=v[y]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,y=Object.getOwnPropertySymbols(v);R<y.length;R++)t.indexOf(y[R])<0&&Object.prototype.propertyIsEnumerable.call(v,y[R])&&(r[y[R]]=v[y[R]]);return r},oe=(0,m.forwardRef)((v,t)=>{var r,y;const R=m.useContext(s.Z),W=R||{},{getPrefixCls:b,getPopupContainer:M,direction:ae,menu:ee}=m.useContext(d.E_),me=b(),{prefixCls:Re,className:Me,style:Pe,theme:Oe="light",expandIcon:Q,_internalDisableMenuItemTitleTooltip:Fe,inlineCollapsed:c,siderCollapsed:I,items:L,children:ce,rootClassName:he,mode:le,selectable:ie,onClick:de,overflowedIndicatorPopupClassName:H}=v,Be=ye(v,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),$e=(0,J.Z)(Be,["collapsedWidth"]),we=G(L)||ce;(r=W.validator)===null||r===void 0||r.call(W,{mode:le});const ze=(0,ve.useEvent)(function(){var ct;de==null||de.apply(void 0,arguments),(ct=W.onClick)===null||ct===void 0||ct.call(W)}),Le=W.mode||le,He=ie!=null?ie:W.selectable,Ke=m.useMemo(()=>I!==void 0?I:c,[c,I]),je={horizontal:{motionName:`${me}-slide-up`},inline:(0,o.Z)(me),other:{motionName:`${me}-zoom-big`}},Ue=b("menu",Re||W.prefixCls),[Xe,nt]=ne(Ue,!R),We=n()(`${Ue}-${Oe}`,ee==null?void 0:ee.className,Me);let ft;if(typeof Q=="function")ft=Q;else if(Q===null||Q===!1)ft=null;else if(W.expandIcon===null||W.expandIcon===!1)ft=null;else{const ct=Q!=null?Q:W.expandIcon;ft=(0,l.Tm)(ct,{className:n()(`${Ue}-submenu-expand-icon`,(0,l.l$)(ct)?(y=ct.props)===null||y===void 0?void 0:y.className:"")})}const Je=m.useMemo(()=>({prefixCls:Ue,inlineCollapsed:Ke||!1,direction:ae,firstLevel:!0,theme:Oe,mode:Le,disableMenuItemTitleTooltip:Fe}),[Ue,Ke,ae,Fe,Oe]);return Xe(m.createElement(s.Z.Provider,{value:null},m.createElement(Ce.Provider,{value:Je},m.createElement(a.ZP,Object.assign({getPopupContainer:M,overflowedIndicator:m.createElement(Y.Z,null),overflowedIndicatorPopupClassName:n()(Ue,`${Ue}-${Oe}`,H),mode:Le,selectable:He,onClick:ze},$e,{inlineCollapsed:Ke,style:Object.assign(Object.assign({},ee==null?void 0:ee.style),Pe),className:We,prefixCls:Ue,direction:ae,defaultMotions:je,expandIcon:ft,ref:t,rootClassName:n()(he,nt)}),we))))});const pe=(0,m.forwardRef)((v,t)=>{const r=(0,m.useRef)(null),y=m.useContext(p.D);return(0,m.useImperativeHandle)(t,()=>({menu:r.current,focus:R=>{var W;(W=r.current)===null||W===void 0||W.focus(R)}})),m.createElement(oe,Object.assign({ref:r},v,y))});pe.Item=Ne,pe.SubMenu=De,pe.Divider=D,pe.ItemGroup=a.BW;var Ie=pe},93948:function(_e,ge,e){e.d(ge,{Z:function(){return Fe}});var a=e(59301),m=e(29679),p=e(40001),_=e(19248),n=e(99267),d=e(92310),h=e.n(d),A=e(2738),D=e(36355),N=e(92413),J=e(33708),q=e(37061),l={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},xe=function(){var I=(0,a.useRef)([]),L=(0,a.useRef)(null);return(0,a.useEffect)(function(){var ce=Date.now(),he=!1;I.current.forEach(function(le){if(le){he=!0;var ie=le.style;ie.transitionDuration=".3s, .3s, .3s, .06s",L.current&&ce-L.current<100&&(ie.transitionDuration="0s, 0s")}}),he&&(L.current=Date.now())}),I.current},Ce=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ee=function(I){var L=(0,J.Z)((0,J.Z)({},l),I),ce=L.className,he=L.percent,le=L.prefixCls,ie=L.strokeColor,de=L.strokeLinecap,H=L.strokeWidth,Be=L.style,$e=L.trailColor,we=L.trailWidth,ze=L.transition,Le=(0,q.Z)(L,Ce);delete Le.gapPosition;var He=Array.isArray(he)?he:[he],Ke=Array.isArray(ie)?ie:[ie],je=xe(),Ue=H/2,Xe=100-H/2,nt="M ".concat(de==="round"?Ue:0,",").concat(Ue,`
L `).concat(de==="round"?Xe:100,",").concat(Ue),We="0 0 100 ".concat(H),ft=0;return a.createElement("svg",(0,N.Z)({className:h()("".concat(le,"-line"),ce),viewBox:We,preserveAspectRatio:"none",style:Be},Le),a.createElement("path",{className:"".concat(le,"-line-trail"),d:nt,strokeLinecap:de,stroke:$e,strokeWidth:we||H,fillOpacity:"0"}),He.map(function(Je,ct){var St=1;switch(de){case"round":St=1-H/100;break;case"square":St=1-H/2/100;break;default:St=1;break}var gt={strokeDasharray:"".concat(Je*St,"px, 100px"),strokeDashoffset:"-".concat(ft,"px"),transition:ze||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ae=Ke[ct]||Ke[Ke.length-1];return ft+=Je,a.createElement("path",{key:ct,className:"".concat(le,"-line-path"),d:nt,strokeLinecap:de,stroke:Ae,strokeWidth:H,fillOpacity:"0",ref:function(qe){je[ct]=qe},style:gt})}))},Ne=Ee,Te=e(39559),De=e(33606),Y=e(47273),ve=0,o=(0,Y.Z)();function s(){var c;return o?(c=ve,ve+=1):c="TEST_OR_SSR",c}var C=function(c){var I=a.useState(),L=(0,De.Z)(I,2),ce=L[0],he=L[1];return a.useEffect(function(){he("rc_progress_".concat(s()))},[]),c||ce},E=function(I){var L=I.bg,ce=I.children;return a.createElement("div",{style:{width:"100%",height:"100%",background:L}},ce)};function G(c,I){return Object.keys(c).map(function(L){var ce=parseFloat(L),he="".concat(Math.floor(ce*I),"%");return"".concat(c[L]," ").concat(he)})}var U=a.forwardRef(function(c,I){var L=c.prefixCls,ce=c.color,he=c.gradientId,le=c.radius,ie=c.style,de=c.ptg,H=c.strokeLinecap,Be=c.strokeWidth,$e=c.size,we=c.gapDegree,ze=ce&&(0,Te.Z)(ce)==="object",Le=ze?"#FFF":void 0,He=$e/2,Ke=a.createElement("circle",{className:"".concat(L,"-circle-path"),r:le,cx:He,cy:He,stroke:Le,strokeLinecap:H,strokeWidth:Be,opacity:de===0?0:1,style:ie,ref:I});if(!ze)return Ke;var je="".concat(he,"-conic"),Ue=we?"".concat(180+we/2,"deg"):"0deg",Xe=G(ce,(360-we)/360),nt=G(ce,1),We="conic-gradient(from ".concat(Ue,", ").concat(Xe.join(", "),")"),ft="linear-gradient(to ".concat(we?"bottom":"top",", ").concat(nt.join(", "),")");return a.createElement(a.Fragment,null,a.createElement("mask",{id:je},Ke),a.createElement("foreignObject",{x:0,y:0,width:$e,height:$e,mask:"url(#".concat(je,")")},a.createElement(E,{bg:ft},a.createElement(E,{bg:We}))))}),i=U,w=100,B=function(I,L,ce,he,le,ie,de,H,Be,$e){var we=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ze=ce/100*360*((360-ie)/360),Le=ie===0?0:{bottom:0,top:180,left:90,right:-90}[de],He=(100-he)/100*L;Be==="round"&&he!==100&&(He+=$e/2,He>=L&&(He=L-.01));var Ke=w/2;return{stroke:typeof H=="string"?H:void 0,strokeDasharray:"".concat(L,"px ").concat(I),strokeDashoffset:He+we,transform:"rotate(".concat(le+ze+Le,"deg)"),transformOrigin:"".concat(Ke,"px ").concat(Ke,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},T=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function se(c){var I=c!=null?c:[];return Array.isArray(I)?I:[I]}var te=function(I){var L=(0,J.Z)((0,J.Z)({},l),I),ce=L.id,he=L.prefixCls,le=L.steps,ie=L.strokeWidth,de=L.trailWidth,H=L.gapDegree,Be=H===void 0?0:H,$e=L.gapPosition,we=L.trailColor,ze=L.strokeLinecap,Le=L.style,He=L.className,Ke=L.strokeColor,je=L.percent,Ue=(0,q.Z)(L,T),Xe=w/2,nt=C(ce),We="".concat(nt,"-gradient"),ft=Xe-ie/2,Je=Math.PI*2*ft,ct=Be>0?90+Be/2:-90,St=Je*((360-Be)/360),gt=(0,Te.Z)(le)==="object"?le:{count:le,space:2},Ae=gt.count,Ye=gt.space,qe=se(je),pt=se(Ke),Bt=pt.find(function(qt){return qt&&(0,Te.Z)(qt)==="object"}),Rt=Bt&&(0,Te.Z)(Bt)==="object",At=Rt?"butt":ze,tn=B(Je,St,0,100,ct,Be,$e,we,At,ie),Qt=xe(),nn=function(){var rn=0;return qe.map(function(kt,Pt){var on=pt[Pt]||pt[pt.length-1],zt=B(Je,St,rn,kt,ct,Be,$e,on,At,ie);return rn+=kt,a.createElement(i,{key:Pt,color:on,ptg:kt,radius:ft,prefixCls:he,gradientId:We,style:zt,strokeLinecap:At,strokeWidth:ie,gapDegree:Be,ref:function(dn){Qt[Pt]=dn},size:w})}).reverse()},On=function(){var rn=Math.round(Ae*(qe[0]/100)),kt=100/Ae,Pt=0;return new Array(Ae).fill(null).map(function(on,zt){var Dt=zt<=rn-1?pt[0]:we,dn=Dt&&(0,Te.Z)(Dt)==="object"?"url(#".concat(We,")"):void 0,Lt=B(Je,St,Pt,kt,ct,Be,$e,Dt,"butt",ie,Ye);return Pt+=(St-Lt.strokeDashoffset+Ye)*100/St,a.createElement("circle",{key:zt,className:"".concat(he,"-circle-path"),r:ft,cx:Xe,cy:Xe,stroke:dn,strokeWidth:ie,opacity:1,style:Lt,ref:function(Rn){Qt[zt]=Rn}})})};return a.createElement("svg",(0,N.Z)({className:h()("".concat(he,"-circle"),He),viewBox:"0 0 ".concat(w," ").concat(w),style:Le,id:ce,role:"presentation"},Ue),!Ae&&a.createElement("circle",{className:"".concat(he,"-circle-trail"),r:ft,cx:Xe,cy:Xe,stroke:we,strokeLinecap:At,strokeWidth:de||ie,style:tn}),Ae?On():nn())},ue=te,Z={Line:Ne,Circle:ue},S=e(6848),F=e(93398);function g(c){return!c||c<0?0:c>100?100:c}function O(c){let{success:I,successPercent:L}=c,ce=L;return I&&"progress"in I&&(ce=I.progress),I&&"percent"in I&&(ce=I.percent),ce}const z=c=>{let{percent:I,success:L,successPercent:ce}=c;const he=g(O({success:L,successPercent:ce}));return[he,g(g(I)-he)]},P=c=>{let{success:I={},strokeColor:L}=c;const{strokeColor:ce}=I;return[ce||F.presetPrimaryColors.green,L||null]},u=(c,I,L)=>{var ce,he,le,ie;let de=-1,H=-1;if(I==="step"){const Be=L.steps,$e=L.strokeWidth;typeof c=="string"||typeof c=="undefined"?(de=c==="small"?2:14,H=$e!=null?$e:8):typeof c=="number"?[de,H]=[c,c]:[de=14,H=8]=c,de*=Be}else if(I==="line"){const Be=L==null?void 0:L.strokeWidth;typeof c=="string"||typeof c=="undefined"?H=Be||(c==="small"?6:8):typeof c=="number"?[de,H]=[c,c]:[de=-1,H=8]=c}else(I==="circle"||I==="dashboard")&&(typeof c=="string"||typeof c=="undefined"?[de,H]=c==="small"?[60,60]:[120,120]:typeof c=="number"?[de,H]=[c,c]:(de=(he=(ce=c[0])!==null&&ce!==void 0?ce:c[1])!==null&&he!==void 0?he:120,H=(ie=(le=c[0])!==null&&le!==void 0?le:c[1])!==null&&ie!==void 0?ie:120));return[de,H]},V=3,f=c=>V/c*100;var X=c=>{const{prefixCls:I,trailColor:L=null,strokeLinecap:ce="round",gapPosition:he,gapDegree:le,width:ie=120,type:de,children:H,success:Be,size:$e=ie}=c,[we,ze]=u($e,"circle");let{strokeWidth:Le}=c;Le===void 0&&(Le=Math.max(f(we),6));const He={width:we,height:ze,fontSize:we*.15+6},Ke=a.useMemo(()=>{if(le||le===0)return le;if(de==="dashboard")return 75},[le,de]),je=he||de==="dashboard"&&"bottom"||void 0,Ue=Object.prototype.toString.call(c.strokeColor)==="[object Object]",Xe=P({success:Be,strokeColor:c.strokeColor}),nt=h()(`${I}-inner`,{[`${I}-circle-gradient`]:Ue}),We=a.createElement(ue,{percent:z(c),strokeWidth:Le,trailWidth:Le,strokeColor:Xe,strokeLinecap:ce,trailColor:L,prefixCls:I,gapDegree:Ke,gapPosition:je});return a.createElement("div",{className:nt,style:He},we<=20?a.createElement(S.Z,{title:H},a.createElement("span",null,We)):a.createElement(a.Fragment,null,We,H))},ne=function(c,I){var L={};for(var ce in c)Object.prototype.hasOwnProperty.call(c,ce)&&I.indexOf(ce)<0&&(L[ce]=c[ce]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ce=Object.getOwnPropertySymbols(c);he<ce.length;he++)I.indexOf(ce[he])<0&&Object.prototype.propertyIsEnumerable.call(c,ce[he])&&(L[ce[he]]=c[ce[he]]);return L};const ye=c=>{let I=[];return Object.keys(c).forEach(L=>{const ce=parseFloat(L.replace(/%/g,""));isNaN(ce)||I.push({key:ce,value:c[L]})}),I=I.sort((L,ce)=>L.key-ce.key),I.map(L=>{let{key:ce,value:he}=L;return`${he} ${ce}%`}).join(", ")},be=(c,I)=>{const{from:L=F.presetPrimaryColors.blue,to:ce=F.presetPrimaryColors.blue,direction:he=I==="rtl"?"to left":"to right"}=c,le=ne(c,["from","to","direction"]);if(Object.keys(le).length!==0){const ie=ye(le);return{backgroundImage:`linear-gradient(${he}, ${ie})`}}return{backgroundImage:`linear-gradient(${he}, ${L}, ${ce})`}};var pe=c=>{const{prefixCls:I,direction:L,percent:ce,size:he,strokeWidth:le,strokeColor:ie,strokeLinecap:de="round",children:H,trailColor:Be=null,success:$e}=c,we=ie&&typeof ie!="string"?be(ie,L):{backgroundColor:ie},ze=de==="square"||de==="butt"?0:void 0,Le={backgroundColor:Be||void 0,borderRadius:ze},He=he!=null?he:[-1,le||(he==="small"?6:8)],[Ke,je]=u(He,"line",{strokeWidth:le}),Ue=Object.assign({width:`${g(ce)}%`,height:je,borderRadius:ze},we),Xe=O(c),nt={width:`${g(Xe)}%`,height:je,borderRadius:ze,backgroundColor:$e==null?void 0:$e.strokeColor},We={width:Ke<0?"100%":Ke,height:je};return a.createElement(a.Fragment,null,a.createElement("div",{className:`${I}-outer`,style:We},a.createElement("div",{className:`${I}-inner`,style:Le},a.createElement("div",{className:`${I}-bg`,style:Ue}),Xe!==void 0?a.createElement("div",{className:`${I}-success-bg`,style:nt}):null)),H)},v=c=>{const{size:I,steps:L,percent:ce=0,strokeWidth:he=8,strokeColor:le,trailColor:ie=null,prefixCls:de,children:H}=c,Be=Math.round(L*(ce/100)),$e=I==="small"?2:14,we=I!=null?I:[$e,he],[ze,Le]=u(we,"step",{steps:L,strokeWidth:he}),He=ze/L,Ke=new Array(L);for(let je=0;je<L;je++){const Ue=Array.isArray(le)?le[je]:le;Ke[je]=a.createElement("div",{key:je,className:h()(`${de}-steps-item`,{[`${de}-steps-item-active`]:je<=Be-1}),style:{backgroundColor:je<=Be-1?Ue:ie,width:He,height:Le}})}return a.createElement("div",{className:`${de}-steps-outer`},Ke,H)},t=e(93083),r=e(17313),y=e(83116),R=e(37613);const W=c=>{const I=c?"100%":"-100%";return new t.Keyframes(`antProgress${c?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${I}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${I}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},b=c=>{const{componentCls:I,iconCls:L}=c;return{[I]:Object.assign(Object.assign({},(0,r.Wf)(c)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:c.fontSize,marginInlineEnd:c.marginXS,marginBottom:c.marginXS},[`${I}-outer`]:{display:"inline-block",width:"100%"},[`&${I}-show-info`]:{[`${I}-outer`]:{marginInlineEnd:`calc(-2em - ${c.marginXS}px)`,paddingInlineEnd:`calc(2em + ${c.paddingXS}px)`}},[`${I}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:c.remainingColor,borderRadius:c.lineBorderRadius},[`${I}-inner:not(${I}-circle-gradient)`]:{[`${I}-circle-path`]:{stroke:c.defaultColor}},[`${I}-success-bg, ${I}-bg`]:{position:"relative",backgroundColor:c.defaultColor,borderRadius:c.lineBorderRadius,transition:`all ${c.motionDurationSlow} ${c.motionEaseInOutCirc}`},[`${I}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:c.colorSuccess},[`${I}-text`]:{display:"inline-block",width:"2em",marginInlineStart:c.marginXS,color:c.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[L]:{fontSize:c.fontSize}},[`&${I}-status-active`]:{[`${I}-bg::before`]:{position:"absolute",inset:0,backgroundColor:c.colorBgContainer,borderRadius:c.lineBorderRadius,opacity:0,animationName:W(),animationDuration:c.progressActiveMotionDuration,animationTimingFunction:c.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${I}-rtl${I}-status-active`]:{[`${I}-bg::before`]:{animationName:W(!0)}},[`&${I}-status-exception`]:{[`${I}-bg`]:{backgroundColor:c.colorError},[`${I}-text`]:{color:c.colorError}},[`&${I}-status-exception ${I}-inner:not(${I}-circle-gradient)`]:{[`${I}-circle-path`]:{stroke:c.colorError}},[`&${I}-status-success`]:{[`${I}-bg`]:{backgroundColor:c.colorSuccess},[`${I}-text`]:{color:c.colorSuccess}},[`&${I}-status-success ${I}-inner:not(${I}-circle-gradient)`]:{[`${I}-circle-path`]:{stroke:c.colorSuccess}}})}},M=c=>{const{componentCls:I,iconCls:L}=c;return{[I]:{[`${I}-circle-trail`]:{stroke:c.remainingColor},[`&${I}-circle ${I}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${I}-circle ${I}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:c.circleTextColor,fontSize:c.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[L]:{fontSize:`${c.fontSize/c.fontSizeSM}em`}},[`${I}-circle&-status-exception`]:{[`${I}-text`]:{color:c.colorError}},[`${I}-circle&-status-success`]:{[`${I}-text`]:{color:c.colorSuccess}}},[`${I}-inline-circle`]:{lineHeight:1,[`${I}-inner`]:{verticalAlign:"bottom"}}}},ae=c=>{const{componentCls:I}=c;return{[I]:{[`${I}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:c.progressStepMinWidth,marginInlineEnd:c.progressStepMarginInlineEnd,backgroundColor:c.remainingColor,transition:`all ${c.motionDurationSlow}`,"&-active":{backgroundColor:c.defaultColor}}}}}},ee=c=>{const{componentCls:I,iconCls:L}=c;return{[I]:{[`${I}-small&-line, ${I}-small&-line ${I}-text ${L}`]:{fontSize:c.fontSizeSM}}}};var me=(0,y.Z)("Progress",c=>{const I=c.marginXXS/2,L=(0,R.TS)(c,{progressStepMarginInlineEnd:I,progressStepMinWidth:I,progressActiveMotionDuration:"2.4s"});return[b(L),M(L),ae(L),ee(L)]},c=>({circleTextColor:c.colorText,defaultColor:c.colorInfo,remainingColor:c.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Re=function(c,I){var L={};for(var ce in c)Object.prototype.hasOwnProperty.call(c,ce)&&I.indexOf(ce)<0&&(L[ce]=c[ce]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ce=Object.getOwnPropertySymbols(c);he<ce.length;he++)I.indexOf(ce[he])<0&&Object.prototype.propertyIsEnumerable.call(c,ce[he])&&(L[ce[he]]=c[ce[he]]);return L};const Me=null,Pe=["normal","exception","active","success"];var Q=a.forwardRef((c,I)=>{const{prefixCls:L,className:ce,rootClassName:he,steps:le,strokeColor:ie,percent:de=0,size:H="default",showInfo:Be=!0,type:$e="line",status:we,format:ze,style:Le}=c,He=Re(c,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ke=a.useMemo(()=>{var qe,pt;const Bt=O(c);return parseInt(Bt!==void 0?(qe=Bt!=null?Bt:0)===null||qe===void 0?void 0:qe.toString():(pt=de!=null?de:0)===null||pt===void 0?void 0:pt.toString(),10)},[de,c.success,c.successPercent]),je=a.useMemo(()=>!Pe.includes(we)&&Ke>=100?"success":we||"normal",[we,Ke]),{getPrefixCls:Ue,direction:Xe,progress:nt}=a.useContext(D.E_),We=Ue("progress",L),[ft,Je]=me(We),ct=a.useMemo(()=>{if(!Be)return null;const qe=O(c);let pt;const Bt=ze||(At=>`${At}%`),Rt=$e==="line";return ze||je!=="exception"&&je!=="success"?pt=Bt(g(de),g(qe)):je==="exception"?pt=Rt?a.createElement(_.Z,null):a.createElement(n.Z,null):je==="success"&&(pt=Rt?a.createElement(m.Z,null):a.createElement(p.Z,null)),a.createElement("span",{className:`${We}-text`,title:typeof pt=="string"?pt:void 0},pt)},[Be,de,Ke,je,$e,We,ze]),St=Array.isArray(ie)?ie[0]:ie,gt=typeof ie=="string"||Array.isArray(ie)?ie:void 0;let Ae;$e==="line"?Ae=le?a.createElement(v,Object.assign({},c,{strokeColor:gt,prefixCls:We,steps:le}),ct):a.createElement(pe,Object.assign({},c,{strokeColor:St,prefixCls:We,direction:Xe}),ct):($e==="circle"||$e==="dashboard")&&(Ae=a.createElement(X,Object.assign({},c,{strokeColor:St,prefixCls:We,progressStatus:je}),ct));const Ye=h()(We,`${We}-status-${je}`,`${We}-${$e==="dashboard"&&"circle"||le&&"steps"||$e}`,{[`${We}-inline-circle`]:$e==="circle"&&u(H,"circle")[0]<=20,[`${We}-show-info`]:Be,[`${We}-${H}`]:typeof H=="string",[`${We}-rtl`]:Xe==="rtl"},nt==null?void 0:nt.className,ce,he,Je);return ft(a.createElement("div",Object.assign({ref:I,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),Le),className:Ye,role:"progressbar","aria-valuenow":Ke},(0,A.Z)(He,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ae))}),Fe=Q},5112:function(_e,ge,e){e.d(ge,{ZP:function(){return F}});var a=e(92310),m=e.n(a),p=e(18929),_=e(26112),n=e(59301),d=e(36355),h=e(19716);const A=n.createContext(null),D=A.Provider;var N=A;const J=n.createContext(null),q=J.Provider;var l=e(5630),xe=e(8654),Ce=e(1684),Ee=e(32441),Ne=e(17313),Te=e(83116),De=e(37613);const Y=g=>{const{componentCls:O,antCls:z}=g,P=`${O}-group`;return{[P]:Object.assign(Object.assign({},(0,Ne.Wf)(g)),{display:"inline-block",fontSize:0,[`&${P}-rtl`]:{direction:"rtl"},[`${z}-badge ${z}-badge-count`]:{zIndex:1},[`> ${z}-badge:not(:first-child) > ${z}-button-wrapper`]:{borderInlineStart:"none"}})}},ve=g=>{const{componentCls:O,wrapperMarginInlineEnd:z,colorPrimary:P,radioSize:u,motionDurationSlow:V,motionDurationMid:f,motionEaseInOutCirc:K,colorBgContainer:X,colorBorder:ne,lineWidth:ye,dotSize:be,colorBgContainerDisabled:oe,colorTextDisabled:pe,paddingXS:Ie,dotColorDisabled:v,lineType:t,radioDotDisabledSize:r,wireframe:y,colorWhite:R}=g,W=`${O}-inner`;return{[`${O}-wrapper`]:Object.assign(Object.assign({},(0,Ne.Wf)(g)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:z,cursor:"pointer",[`&${O}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:g.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${O}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${ye}px ${t} ${P}`,borderRadius:"50%",visibility:"hidden",content:'""'},[O]:Object.assign(Object.assign({},(0,Ne.Wf)(g)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${O}-wrapper:hover &,
&:hover ${W}`]:{borderColor:P},[`${O}-input:focus-visible + ${W}`]:Object.assign({},(0,Ne.oN)(g)),[`${O}:hover::after, ${O}-wrapper:hover &::after`]:{visibility:"visible"},[`${O}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:u,height:u,marginBlockStart:u/-2,marginInlineStart:u/-2,backgroundColor:y?P:R,borderBlockStart:0,borderInlineStart:0,borderRadius:u,transform:"scale(0)",opacity:0,transition:`all ${V} ${K}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:u,height:u,backgroundColor:X,borderColor:ne,borderStyle:"solid",borderWidth:ye,borderRadius:"50%",transition:`all ${f}`},[`${O}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${O}-checked`]:{[W]:{borderColor:P,backgroundColor:y?X:P,"&::after":{transform:`scale(${be/u})`,opacity:1,transition:`all ${V} ${K}`}}},[`${O}-disabled`]:{cursor:"not-allowed",[W]:{backgroundColor:oe,borderColor:ne,cursor:"not-allowed","&::after":{backgroundColor:v}},[`${O}-input`]:{cursor:"not-allowed"},[`${O}-disabled + span`]:{color:pe,cursor:"not-allowed"},[`&${O}-checked`]:{[W]:{"&::after":{transform:`scale(${r/u})`}}}},[`span${O} + *`]:{paddingInlineStart:Ie,paddingInlineEnd:Ie}})}},o=g=>{const{buttonColor:O,controlHeight:z,componentCls:P,lineWidth:u,lineType:V,colorBorder:f,motionDurationSlow:K,motionDurationMid:X,buttonPaddingInline:ne,fontSize:ye,buttonBg:be,fontSizeLG:oe,controlHeightLG:pe,controlHeightSM:Ie,paddingXS:v,borderRadius:t,borderRadiusSM:r,borderRadiusLG:y,buttonCheckedBg:R,buttonSolidCheckedColor:W,colorTextDisabled:b,colorBgContainerDisabled:M,buttonCheckedBgDisabled:ae,buttonCheckedColorDisabled:ee,colorPrimary:me,colorPrimaryHover:Re,colorPrimaryActive:Me,buttonSolidCheckedBg:Pe,buttonSolidCheckedHoverBg:Oe,buttonSolidCheckedActiveBg:Q}=g;return{[`${P}-button-wrapper`]:{position:"relative",display:"inline-block",height:z,margin:0,paddingInline:ne,paddingBlock:0,color:O,fontSize:ye,lineHeight:`${z-u*2}px`,background:be,border:`${u}px ${V} ${f}`,borderBlockStartWidth:u+.02,borderInlineStartWidth:0,borderInlineEndWidth:u,cursor:"pointer",transition:[`color ${X}`,`background ${X}`,`box-shadow ${X}`].join(","),a:{color:O},[`> ${P}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-u,insetInlineStart:-u,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:u,paddingInline:0,backgroundColor:f,transition:`background-color ${K}`,content:'""'}},"&:first-child":{borderInlineStart:`${u}px ${V} ${f}`,borderStartStartRadius:t,borderEndStartRadius:t},"&:last-child":{borderStartEndRadius:t,borderEndEndRadius:t},"&:first-child:last-child":{borderRadius:t},[`${P}-group-large &`]:{height:pe,fontSize:oe,lineHeight:`${pe-u*2}px`,"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},[`${P}-group-small &`]:{height:Ie,paddingInline:v-u,paddingBlock:0,lineHeight:`${Ie-u*2}px`,"&:first-child":{borderStartStartRadius:r,borderEndStartRadius:r},"&:last-child":{borderStartEndRadius:r,borderEndEndRadius:r}},"&:hover":{position:"relative",color:me},"&:has(:focus-visible)":Object.assign({},(0,Ne.oN)(g)),[`${P}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${P}-button-wrapper-disabled)`]:{zIndex:1,color:me,background:R,borderColor:me,"&::before":{backgroundColor:me},"&:first-child":{borderColor:me},"&:hover":{color:Re,borderColor:Re,"&::before":{backgroundColor:Re}},"&:active":{color:Me,borderColor:Me,"&::before":{backgroundColor:Me}}},[`${P}-group-solid &-checked:not(${P}-button-wrapper-disabled)`]:{color:W,background:Pe,borderColor:Pe,"&:hover":{color:W,background:Oe,borderColor:Oe},"&:active":{color:W,background:Q,borderColor:Q}},"&-disabled":{color:b,backgroundColor:M,borderColor:f,cursor:"not-allowed","&:first-child, &:hover":{color:b,backgroundColor:M,borderColor:f}},[`&-disabled${P}-button-wrapper-checked`]:{color:ee,backgroundColor:ae,borderColor:f,boxShadow:"none"}}}},s=g=>g-4*2;var C=(0,Te.Z)("Radio",g=>{const{controlOutline:O,controlOutlineWidth:z,radioSize:P}=g,u=`0 0 0 ${z}px ${O}`,V=u,f=s(P),K=(0,De.TS)(g,{radioDotDisabledSize:f,radioFocusShadow:u,radioButtonFocusShadow:V});return[Y(K),ve(K),o(K)]},g=>{const{wireframe:O,padding:z,marginXS:P,lineWidth:u,fontSizeLG:V,colorText:f,colorBgContainer:K,colorTextDisabled:X,controlItemBgActiveDisabled:ne,colorTextLightSolid:ye,colorPrimary:be,colorPrimaryHover:oe,colorPrimaryActive:pe}=g,Ie=4,v=V,t=O?s(v):v-(Ie+u)*2;return{radioSize:v,dotSize:t,dotColorDisabled:X,buttonSolidCheckedColor:ye,buttonSolidCheckedBg:be,buttonSolidCheckedHoverBg:oe,buttonSolidCheckedActiveBg:pe,buttonBg:K,buttonCheckedBg:K,buttonColor:f,buttonCheckedBgDisabled:ne,buttonCheckedColorDisabled:X,buttonPaddingInline:z-u,wrapperMarginInlineEnd:P}}),E=e(14088),G=e(4572),U=function(g,O){var z={};for(var P in g)Object.prototype.hasOwnProperty.call(g,P)&&O.indexOf(P)<0&&(z[P]=g[P]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,P=Object.getOwnPropertySymbols(g);u<P.length;u++)O.indexOf(P[u])<0&&Object.prototype.propertyIsEnumerable.call(g,P[u])&&(z[P[u]]=g[P[u]]);return z};const i=(g,O)=>{var z,P;const u=n.useContext(N),V=n.useContext(J),{getPrefixCls:f,direction:K,radio:X}=n.useContext(d.E_),ne=n.useRef(null),ye=(0,xe.sQ)(O,ne),{isFormItemInput:be}=n.useContext(Ee.aM),oe=Me=>{var Pe,Oe;(Pe=g.onChange)===null||Pe===void 0||Pe.call(g,Me),(Oe=u==null?void 0:u.onChange)===null||Oe===void 0||Oe.call(u,Me)},{prefixCls:pe,className:Ie,rootClassName:v,children:t,style:r}=g,y=U(g,["prefixCls","className","rootClassName","children","style"]),R=f("radio",pe),W=((u==null?void 0:u.optionType)||V)==="button",b=W?`${R}-button`:R,[M,ae]=C(R),ee=Object.assign({},y),me=n.useContext(Ce.Z);u&&(ee.name=u.name,ee.onChange=oe,ee.checked=g.value===u.value,ee.disabled=(z=ee.disabled)!==null&&z!==void 0?z:u.disabled),ee.disabled=(P=ee.disabled)!==null&&P!==void 0?P:me;const Re=m()(`${b}-wrapper`,{[`${b}-wrapper-checked`]:ee.checked,[`${b}-wrapper-disabled`]:ee.disabled,[`${b}-wrapper-rtl`]:K==="rtl",[`${b}-wrapper-in-form-item`]:be},X==null?void 0:X.className,Ie,v,ae);return M(n.createElement(E.Z,{component:"Radio",disabled:ee.disabled},n.createElement("label",{className:Re,style:Object.assign(Object.assign({},X==null?void 0:X.style),r),onMouseEnter:g.onMouseEnter,onMouseLeave:g.onMouseLeave},n.createElement(l.Z,Object.assign({},ee,{className:m()(ee.className,!W&&G.A),type:"radio",prefixCls:b,ref:ye})),t!==void 0?n.createElement("span",null,t):null)))};var B=n.forwardRef(i);const T=n.forwardRef((g,O)=>{const{getPrefixCls:z,direction:P}=n.useContext(d.E_),[u,V]=(0,p.Z)(g.defaultValue,{value:g.value}),f=Pe=>{const Oe=u,Q=Pe.target.value;"value"in g||V(Q);const{onChange:Fe}=g;Fe&&Q!==Oe&&Fe(Pe)},{prefixCls:K,className:X,rootClassName:ne,options:ye,buttonStyle:be="outline",disabled:oe,children:pe,size:Ie,style:v,id:t,onMouseEnter:r,onMouseLeave:y,onFocus:R,onBlur:W}=g,b=z("radio",K),M=`${b}-group`,[ae,ee]=C(b);let me=pe;ye&&ye.length>0&&(me=ye.map(Pe=>typeof Pe=="string"||typeof Pe=="number"?n.createElement(B,{key:Pe.toString(),prefixCls:b,disabled:oe,value:Pe,checked:u===Pe},Pe):n.createElement(B,{key:`radio-group-value-options-${Pe.value}`,prefixCls:b,disabled:Pe.disabled||oe,value:Pe.value,checked:u===Pe.value,title:Pe.title,style:Pe.style},Pe.label)));const Re=(0,h.Z)(Ie),Me=m()(M,`${M}-${be}`,{[`${M}-${Re}`]:Re,[`${M}-rtl`]:P==="rtl"},X,ne,ee);return ae(n.createElement("div",Object.assign({},(0,_.Z)(g,{aria:!0,data:!0}),{className:Me,style:v,onMouseEnter:r,onMouseLeave:y,onFocus:R,onBlur:W,id:t,ref:O}),n.createElement(D,{value:{onChange:f,value:u,disabled:g.disabled,name:g.name,optionType:g.optionType}},me)))});var se=n.memo(T),te=function(g,O){var z={};for(var P in g)Object.prototype.hasOwnProperty.call(g,P)&&O.indexOf(P)<0&&(z[P]=g[P]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,P=Object.getOwnPropertySymbols(g);u<P.length;u++)O.indexOf(P[u])<0&&Object.prototype.propertyIsEnumerable.call(g,P[u])&&(z[P[u]]=g[P[u]]);return z};const ue=(g,O)=>{const{getPrefixCls:z}=n.useContext(d.E_),{prefixCls:P}=g,u=te(g,["prefixCls"]),V=z("radio",P);return n.createElement(q,{value:"button"},n.createElement(B,Object.assign({prefixCls:V},u,{type:"radio",ref:O})))};var Z=n.forwardRef(ue);const S=B;S.Button=Z,S.Group=se,S.__ANT_RADIO=!0;var F=S},8378:function(_e,ge){const e=a=>({[a.componentCls]:{[`${a.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${a.motionDurationMid} ${a.motionEaseInOut},
opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}},[`${a.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${a.motionDurationMid} ${a.motionEaseInOut},
opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}}});ge.Z=e},13826:function(_e,ge,e){e.d(ge,{Qt:function(){return n},Uw:function(){return _},fJ:function(){return p},ly:function(){return d},oN:function(){return q}});var a=e(93083),m=e(95406);const p=new a.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),_=new a.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),n=new a.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),d=new a.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),h=new a.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),A=new a.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),D=new a.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),N=new a.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),J={"slide-up":{inKeyframes:p,outKeyframes:_},"slide-down":{inKeyframes:n,outKeyframes:d},"slide-left":{inKeyframes:h,outKeyframes:A},"slide-right":{inKeyframes:D,outKeyframes:N}},q=(l,xe)=>{const{antCls:Ce}=l,Ee=`${Ce}-${xe}`,{inKeyframes:Ne,outKeyframes:Te}=J[xe];return[(0,m.R)(Ee,Ne,Te,l.motionDurationMid),{[`
${Ee}-enter,
${Ee}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:l.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Ee}-leave`]:{animationTimingFunction:l.motionEaseInQuint}}]}},5630:function(_e,ge,e){var a=e(92413),m=e(33708),p=e(400),_=e(33606),n=e(37061),d=e(92310),h=e.n(d),A=e(18929),D=e(59301),N=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],J=(0,D.forwardRef)(function(q,l){var xe,Ce=q.prefixCls,Ee=Ce===void 0?"rc-checkbox":Ce,Ne=q.className,Te=q.style,De=q.checked,Y=q.disabled,ve=q.defaultChecked,o=ve===void 0?!1:ve,s=q.type,C=s===void 0?"checkbox":s,E=q.title,G=q.onChange,U=(0,n.Z)(q,N),i=(0,D.useRef)(null),w=(0,A.Z)(o,{value:De}),B=(0,_.Z)(w,2),T=B[0],se=B[1];(0,D.useImperativeHandle)(l,function(){return{focus:function(){var S;(S=i.current)===null||S===void 0||S.focus()},blur:function(){var S;(S=i.current)===null||S===void 0||S.blur()},input:i.current}});var te=h()(Ee,Ne,(xe={},(0,p.Z)(xe,"".concat(Ee,"-checked"),T),(0,p.Z)(xe,"".concat(Ee,"-disabled"),Y),xe)),ue=function(S){Y||("checked"in q||se(S.target.checked),G==null||G({target:(0,m.Z)((0,m.Z)({},q),{},{type:C,checked:S.target.checked}),stopPropagation:function(){S.stopPropagation()},preventDefault:function(){S.preventDefault()},nativeEvent:S.nativeEvent}))};return D.createElement("span",{className:te,title:E,style:Te},D.createElement("input",(0,a.Z)({},U,{className:"".concat(Ee,"-input"),ref:i,onChange:ue,disabled:Y,checked:!!T,type:C})),D.createElement("span",{className:"".concat(Ee,"-inner")}))});ge.Z=J},93681:function(_e,ge,e){e.r(ge),e.d(ge,{BaseInput:function(){return N},default:function(){return De}});var a=e(92413),m=e(33708),p=e(400),_=e(39559),n=e(92310),d=e.n(n),h=e(59301),A=e(5643),D=function(ve){var o,s,C=ve.inputElement,E=ve.prefixCls,G=ve.prefix,U=ve.suffix,i=ve.addonBefore,w=ve.addonAfter,B=ve.className,T=ve.style,se=ve.disabled,te=ve.readOnly,ue=ve.focused,Z=ve.triggerFocus,S=ve.allowClear,F=ve.value,g=ve.handleReset,O=ve.hidden,z=ve.classes,P=ve.classNames,u=ve.dataAttrs,V=ve.styles,f=ve.components,K=(f==null?void 0:f.affixWrapper)||"span",X=(f==null?void 0:f.groupWrapper)||"span",ne=(f==null?void 0:f.wrapper)||"span",ye=(f==null?void 0:f.groupAddon)||"span",be=(0,h.useRef)(null),oe=function(ee){var me;(me=be.current)!==null&&me!==void 0&&me.contains(ee.target)&&(Z==null||Z())},pe=function(){var ee;if(!S)return null;var me=!se&&!te&&F,Re="".concat(E,"-clear-icon"),Me=(0,_.Z)(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"\u2716";return h.createElement("span",{onClick:g,onMouseDown:function(Oe){return Oe.preventDefault()},className:d()(Re,(ee={},(0,p.Z)(ee,"".concat(Re,"-hidden"),!me),(0,p.Z)(ee,"".concat(Re,"-has-suffix"),!!U),ee)),role:"button",tabIndex:-1},Me)},Ie=(0,h.cloneElement)(C,{value:F,hidden:O,className:d()((o=C.props)===null||o===void 0?void 0:o.className,!(0,A.X3)(ve)&&!(0,A.He)(ve)&&B)||null,style:(0,m.Z)((0,m.Z)({},(s=C.props)===null||s===void 0?void 0:s.style),!(0,A.X3)(ve)&&!(0,A.He)(ve)?T:{})});if((0,A.X3)(ve)){var v,t="".concat(E,"-affix-wrapper"),r=d()(t,(v={},(0,p.Z)(v,"".concat(t,"-disabled"),se),(0,p.Z)(v,"".concat(t,"-focused"),ue),(0,p.Z)(v,"".concat(t,"-readonly"),te),(0,p.Z)(v,"".concat(t,"-input-with-clear-btn"),U&&S&&F),v),!(0,A.He)(ve)&&B,z==null?void 0:z.affixWrapper,P==null?void 0:P.affixWrapper),y=(U||S)&&h.createElement("span",{className:d()("".concat(E,"-suffix"),P==null?void 0:P.suffix),style:V==null?void 0:V.suffix},pe(),U);Ie=h.createElement(K,(0,a.Z)({className:r,style:(0,m.Z)((0,m.Z)({},(0,A.He)(ve)?void 0:T),V==null?void 0:V.affixWrapper),hidden:!(0,A.He)(ve)&&O,onClick:oe},u==null?void 0:u.affixWrapper,{ref:be}),G&&h.createElement("span",{className:d()("".concat(E,"-prefix"),P==null?void 0:P.prefix),style:V==null?void 0:V.prefix},G),(0,h.cloneElement)(C,{value:F,hidden:null}),y)}if((0,A.He)(ve)){var R="".concat(E,"-group"),W="".concat(R,"-addon"),b=d()("".concat(E,"-wrapper"),R,z==null?void 0:z.wrapper),M=d()("".concat(E,"-group-wrapper"),B,z==null?void 0:z.group);return h.createElement(X,{className:M,style:T,hidden:O},h.createElement(ne,{className:b},i&&h.createElement(ye,{className:W},i),(0,h.cloneElement)(Ie,{hidden:null}),w&&h.createElement(ye,{className:W},w)))}return Ie},N=D,J=e(26407),q=e(33606),l=e(37061),xe=e(18929),Ce=e(2738),Ee=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],Ne=(0,h.forwardRef)(function(Y,ve){var o=Y.autoComplete,s=Y.onChange,C=Y.onFocus,E=Y.onBlur,G=Y.onPressEnter,U=Y.onKeyDown,i=Y.prefixCls,w=i===void 0?"rc-input":i,B=Y.disabled,T=Y.htmlSize,se=Y.className,te=Y.maxLength,ue=Y.suffix,Z=Y.showCount,S=Y.type,F=S===void 0?"text":S,g=Y.classes,O=Y.classNames,z=Y.styles,P=(0,l.Z)(Y,Ee),u=(0,xe.Z)(Y.defaultValue,{value:Y.value}),V=(0,q.Z)(u,2),f=V[0],K=V[1],X=(0,h.useState)(!1),ne=(0,q.Z)(X,2),ye=ne[0],be=ne[1],oe=(0,h.useRef)(null),pe=function(M){oe.current&&(0,A.nH)(oe.current,M)};(0,h.useImperativeHandle)(ve,function(){return{focus:pe,blur:function(){var M;(M=oe.current)===null||M===void 0||M.blur()},setSelectionRange:function(M,ae,ee){var me;(me=oe.current)===null||me===void 0||me.setSelectionRange(M,ae,ee)},select:function(){var M;(M=oe.current)===null||M===void 0||M.select()},input:oe.current}}),(0,h.useEffect)(function(){be(function(b){return b&&B?!1:b})},[B]);var Ie=function(M){Y.value===void 0&&K(M.target.value),oe.current&&(0,A.rJ)(oe.current,M,s)},v=function(M){G&&M.key==="Enter"&&G(M),U==null||U(M)},t=function(M){be(!0),C==null||C(M)},r=function(M){be(!1),E==null||E(M)},y=function(M){K(""),pe(),oe.current&&(0,A.rJ)(oe.current,M,s)},R=function(){var M=(0,Ce.Z)(Y,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return h.createElement("input",(0,a.Z)({autoComplete:o},M,{onChange:Ie,onFocus:t,onBlur:r,onKeyDown:v,className:d()(w,(0,p.Z)({},"".concat(w,"-disabled"),B),O==null?void 0:O.input),style:z==null?void 0:z.input,ref:oe,size:T,type:F}))},W=function(){var M=Number(te)>0;if(ue||Z){var ae=(0,A.D7)(f),ee=(0,J.Z)(ae).length,me=(0,_.Z)(Z)==="object"?Z.formatter({value:ae,count:ee,maxLength:te}):"".concat(ee).concat(M?" / ".concat(te):"");return h.createElement(h.Fragment,null,!!Z&&h.createElement("span",{className:d()("".concat(w,"-show-count-suffix"),(0,p.Z)({},"".concat(w,"-show-count-has-suffix"),!!ue),O==null?void 0:O.count),style:(0,m.Z)({},z==null?void 0:z.count)},me),ue)}return null};return h.createElement(N,(0,a.Z)({},P,{prefixCls:w,className:se,inputElement:R(),handleReset:y,value:(0,A.D7)(f),focused:ye,triggerFocus:pe,suffix:W(),disabled:B,classes:g,classNames:O,styles:z}))}),Te=Ne,De=Te},5643:function(_e,ge,e){e.d(ge,{D7:function(){return n},He:function(){return a},X3:function(){return m},nH:function(){return _},rJ:function(){return p}});function a(d){return!!(d.addonBefore||d.addonAfter)}function m(d){return!!(d.prefix||d.suffix||d.allowClear)}function p(d,h,A,D){if(A){var N=h;if(h.type==="click"){var J=d.cloneNode(!0);N=Object.create(h,{target:{value:J},currentTarget:{value:J}}),J.value="",A(N);return}if(D!==void 0){N=Object.create(h,{target:{value:d},currentTarget:{value:d}}),d.value=D,A(N);return}A(N)}}function _(d,h){if(d){d.focus(h);var A=h||{},D=A.cursor;if(D){var N=d.value.length;switch(D){case"start":d.setSelectionRange(0,0);break;case"end":d.setSelectionRange(N,N);break;default:d.setSelectionRange(0,N)}}}}function n(d){return typeof d=="undefined"||d===null?"":String(d)}},15285:function(_e,ge,e){e.d(ge,{iz:function(){return Pt},ck:function(){return He},BW:function(){return kt},sN:function(){return He},Wd:function(){return Qt},ZP:function(){return Ve},Xl:function(){return U}});var a=e(92413),m=e(400),p=e(33708),_=e(26407),n=e(33606),d=e(37061),h=e(92310),A=e.n(h),D=e(11780),N=e(18929),J=e(13697),q=e(48736),l=e(59301),xe=e(4676),Ce=l.createContext(null);function Ee(x,$){return x===void 0?null:"".concat(x,"-").concat($)}function Ne(x){var $=l.useContext(Ce);return Ee($,x)}var Te=e(80547),De=["children","locked"],Y=l.createContext(null);function ve(x,$){var k=(0,p.Z)({},x);return Object.keys($).forEach(function(re){var j=$[re];j!==void 0&&(k[re]=j)}),k}function o(x){var $=x.children,k=x.locked,re=(0,d.Z)(x,De),j=l.useContext(Y),Se=(0,Te.Z)(function(){return ve(j,re)},[j,re],function(fe,Ze){return!k&&(fe[0]!==Ze[0]||!(0,J.Z)(fe[1],Ze[1],!0))});return l.createElement(Y.Provider,{value:Se},$)}var s=[],C=l.createContext(null);function E(){return l.useContext(C)}var G=l.createContext(s);function U(x){var $=l.useContext(G);return l.useMemo(function(){return x!==void 0?[].concat((0,_.Z)($),[x]):$},[$,x])}var i=l.createContext(null),w=l.createContext({}),B=w,T=e(29194);function se(x){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,T.Z)(x)){var k=x.nodeName.toLowerCase(),re=["input","select","textarea","button"].includes(k)||x.isContentEditable||k==="a"&&!!x.getAttribute("href"),j=x.getAttribute("tabindex"),Se=Number(j),fe=null;return j&&!Number.isNaN(Se)?fe=Se:re&&fe===null&&(fe=0),re&&x.disabled&&(fe=null),fe!==null&&(fe>=0||$&&fe<0)}return!1}function te(x){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=(0,_.Z)(x.querySelectorAll("*")).filter(function(re){return se(re,$)});return se(x,$)&&k.unshift(x),k}var ue=null;function Z(){ue=document.activeElement}function S(){ue=null}function F(){if(ue)try{ue.focus()}catch(x){}}function g(x,$){if($.keyCode===9){var k=te(x),re=k[$.shiftKey?0:k.length-1],j=re===document.activeElement||x===document.activeElement;if(j){var Se=k[$.shiftKey?k.length-1:0];Se.focus(),$.preventDefault()}}}var O=e(10228),z=e(16089),P=O.Z.LEFT,u=O.Z.RIGHT,V=O.Z.UP,f=O.Z.DOWN,K=O.Z.ENTER,X=O.Z.ESC,ne=O.Z.HOME,ye=O.Z.END,be=[V,f,P,u];function oe(x,$,k,re){var j,Se,fe,Ze,Ge="prev",ke="next",it="children",Qe="parent";if(x==="inline"&&re===K)return{inlineTrigger:!0};var st=(j={},(0,m.Z)(j,V,Ge),(0,m.Z)(j,f,ke),j),dt=(Se={},(0,m.Z)(Se,P,k?ke:Ge),(0,m.Z)(Se,u,k?Ge:ke),(0,m.Z)(Se,f,it),(0,m.Z)(Se,K,it),Se),rt=(fe={},(0,m.Z)(fe,V,Ge),(0,m.Z)(fe,f,ke),(0,m.Z)(fe,K,it),(0,m.Z)(fe,X,Qe),(0,m.Z)(fe,P,k?it:Qe),(0,m.Z)(fe,u,k?Qe:it),fe),yt={inline:st,horizontal:dt,vertical:rt,inlineSub:st,horizontalSub:rt,verticalSub:rt},bt=(Ze=yt["".concat(x).concat($?"":"Sub")])===null||Ze===void 0?void 0:Ze[re];switch(bt){case Ge:return{offset:-1,sibling:!0};case ke:return{offset:1,sibling:!0};case Qe:return{offset:-1,sibling:!1};case it:return{offset:1,sibling:!1};default:return null}}function pe(x){for(var $=x;$;){if($.getAttribute("data-menu-list"))return $;$=$.parentElement}return null}function Ie(x,$){for(var k=x||document.activeElement;k;){if($.has(k))return k;k=k.parentElement}return null}function v(x,$){var k=te(x,!0);return k.filter(function(re){return $.has(re)})}function t(x,$,k){var re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!x)return null;var j=v(x,$),Se=j.length,fe=j.findIndex(function(Ze){return k===Ze});return re<0?fe===-1?fe=Se-1:fe-=1:re>0&&(fe+=1),fe=(fe+Se)%Se,j[fe]}var r=function($,k){var re=new Set,j=new Map,Se=new Map;return $.forEach(function(fe){var Ze=document.querySelector("[data-menu-id='".concat(Ee(k,fe),"']"));Ze&&(re.add(Ze),Se.set(Ze,fe),j.set(fe,Ze))}),{elements:re,key2element:j,element2key:Se}};function y(x,$,k,re,j,Se,fe,Ze,Ge,ke){var it=l.useRef(),Qe=l.useRef();Qe.current=$;var st=function(){z.Z.cancel(it.current)};return l.useEffect(function(){return function(){st()}},[]),function(dt){var rt=dt.which;if([].concat(be,[K,X,ne,ye]).includes(rt)){var yt=Se(),bt=r(yt,re),xt=bt,ot=xt.elements,tt=xt.key2element,et=xt.element2key,vt=tt.get($),lt=Ie(vt,ot),$t=et.get(lt),ut=oe(x,fe($t,!0).length===1,k,rt);if(!ut&&rt!==ne&&rt!==ye)return;(be.includes(rt)||[ne,ye].includes(rt))&&dt.preventDefault();var Vt=function(wt){if(wt){var _t=wt,Gt=wt.querySelector("a");Gt!=null&&Gt.getAttribute("href")&&(_t=Gt);var Ut=et.get(wt);Ze(Ut),st(),it.current=(0,z.Z)(function(){Qe.current===Ut&&_t.focus()})}};if([ne,ye].includes(rt)||ut.sibling||!lt){var ht;!lt||x==="inline"?ht=j.current:ht=pe(lt);var Nt,Et=v(ht,ot);rt===ne?Nt=Et[0]:rt===ye?Nt=Et[Et.length-1]:Nt=t(ht,ot,lt,ut.offset),Vt(Nt)}else if(ut.inlineTrigger)Ge($t);else if(ut.offset>0)Ge($t,!0),st(),it.current=(0,z.Z)(function(){bt=r(yt,re);var en=lt.getAttribute("aria-controls"),wt=document.getElementById(en),_t=t(wt,bt.elements);Vt(_t)},5);else if(ut.offset<0){var It=fe($t,!0),jt=It[It.length-2],Wt=tt.get(jt);Ge(jt,!1),Vt(Wt)}}ke==null||ke(dt)}}function R(x){Promise.resolve().then(x)}var W="__RC_UTIL_PATH_SPLIT__",b=function($){return $.join(W)},M=function($){return $.split(W)},ae="rc-menu-more";function ee(){var x=l.useState({}),$=(0,n.Z)(x,2),k=$[1],re=(0,l.useRef)(new Map),j=(0,l.useRef)(new Map),Se=l.useState([]),fe=(0,n.Z)(Se,2),Ze=fe[0],Ge=fe[1],ke=(0,l.useRef)(0),it=(0,l.useRef)(!1),Qe=function(){it.current||k({})},st=(0,l.useCallback)(function(tt,et){var vt=b(et);j.current.set(vt,tt),re.current.set(tt,vt),ke.current+=1;var lt=ke.current;R(function(){lt===ke.current&&Qe()})},[]),dt=(0,l.useCallback)(function(tt,et){var vt=b(et);j.current.delete(vt),re.current.delete(tt)},[]),rt=(0,l.useCallback)(function(tt){Ge(tt)},[]),yt=(0,l.useCallback)(function(tt,et){var vt=re.current.get(tt)||"",lt=M(vt);return et&&Ze.includes(lt[0])&&lt.unshift(ae),lt},[Ze]),bt=(0,l.useCallback)(function(tt,et){return tt.some(function(vt){var lt=yt(vt,!0);return lt.includes(et)})},[yt]),xt=function(){var et=(0,_.Z)(re.current.keys());return Ze.length&&et.push(ae),et},ot=(0,l.useCallback)(function(tt){var et="".concat(re.current.get(tt)).concat(W),vt=new Set;return(0,_.Z)(j.current.keys()).forEach(function(lt){lt.startsWith(et)&&vt.add(j.current.get(lt))}),vt},[]);return l.useEffect(function(){return function(){it.current=!0}},[]),{registerPath:st,unregisterPath:dt,refreshOverflowKeys:rt,isSubPathKey:bt,getKeyPath:yt,getKeys:xt,getSubPathKeys:ot}}function me(x){var $=l.useRef(x);$.current=x;var k=l.useCallback(function(){for(var re,j=arguments.length,Se=new Array(j),fe=0;fe<j;fe++)Se[fe]=arguments[fe];return(re=$.current)===null||re===void 0?void 0:re.call.apply(re,[$].concat(Se))},[]);return x?k:void 0}var Re=Math.random().toFixed(5).toString().slice(2),Me=0;function Pe(x){var $=(0,N.Z)(x,{value:x}),k=(0,n.Z)($,2),re=k[0],j=k[1];return l.useEffect(function(){Me+=1;var Se="".concat(Re,"-").concat(Me);j("rc-menu-uuid-".concat(Se))},[]),re}var Oe=e(6909),Q=e(4771),Fe=e(9427),c=e(25440),I=e(2738),L=e(8654);function ce(x,$,k,re){var j=l.useContext(Y),Se=j.activeKey,fe=j.onActive,Ze=j.onInactive,Ge={active:Se===x};return $||(Ge.onMouseEnter=function(ke){k==null||k({key:x,domEvent:ke}),fe(x)},Ge.onMouseLeave=function(ke){re==null||re({key:x,domEvent:ke}),Ze(x)}),Ge}function he(x){var $=l.useContext(Y),k=$.mode,re=$.rtl,j=$.inlineIndent;if(k!=="inline")return null;var Se=x;return re?{paddingRight:Se*j}:{paddingLeft:Se*j}}function le(x){var $=x.icon,k=x.props,re=x.children,j;return $===null||$===!1?null:(typeof $=="function"?j=l.createElement($,(0,p.Z)({},k)):typeof $!="boolean"&&(j=$),j||re||null)}var ie=["item"];function de(x){var $=x.item,k=(0,d.Z)(x,ie);return Object.defineProperty(k,"item",{get:function(){return(0,q.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),$}}),k}var H=["title","attribute","elementRef"],Be=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],$e=["active"],we=function(x){(0,Fe.Z)(k,x);var $=(0,c.Z)(k);function k(){return(0,Oe.Z)(this,k),$.apply(this,arguments)}return(0,Q.Z)(k,[{key:"render",value:function(){var j=this.props,Se=j.title,fe=j.attribute,Ze=j.elementRef,Ge=(0,d.Z)(j,H),ke=(0,I.Z)(Ge,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,q.ZP)(!fe,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),l.createElement(D.Z.Item,(0,a.Z)({},fe,{title:typeof Se=="string"?Se:void 0},ke,{ref:Ze}))}}]),k}(l.Component),ze=l.forwardRef(function(x,$){var k,re=x.style,j=x.className,Se=x.eventKey,fe=x.warnKey,Ze=x.disabled,Ge=x.itemIcon,ke=x.children,it=x.role,Qe=x.onMouseEnter,st=x.onMouseLeave,dt=x.onClick,rt=x.onKeyDown,yt=x.onFocus,bt=(0,d.Z)(x,Be),xt=Ne(Se),ot=l.useContext(Y),tt=ot.prefixCls,et=ot.onItemClick,vt=ot.disabled,lt=ot.overflowDisabled,$t=ot.itemIcon,ut=ot.selectedKeys,Vt=ot.onActive,ht=l.useContext(B),Nt=ht._internalRenderMenuItem,Et="".concat(tt,"-item"),It=l.useRef(),jt=l.useRef(),Wt=vt||Ze,en=(0,L.x1)($,jt),wt=U(Se),_t=function(Ot){return{key:Se,keyPath:(0,_.Z)(wt).reverse(),item:It.current,domEvent:Ot}},Gt=Ge||$t,Ut=ce(Se,Wt,Qe,st),un=Ut.active,fn=(0,d.Z)(Ut,$e),ln=ut.includes(Se),vn=he(wt.length),mn=function(Ot){if(!Wt){var Xt=_t(Ot);dt==null||dt(de(Xt)),et(Xt)}},Mt=function(Ot){if(rt==null||rt(Ot),Ot.which===O.Z.ENTER){var Xt=_t(Ot);dt==null||dt(de(Xt)),et(Xt)}},Ht=function(Ot){Vt(Se),yt==null||yt(Ot)},xn={};x.role==="option"&&(xn["aria-selected"]=ln);var gn=l.createElement(we,(0,a.Z)({ref:It,elementRef:en,role:it===null?"none":it||"menuitem",tabIndex:Ze?null:-1,"data-menu-id":lt&&xt?null:xt},bt,fn,xn,{component:"li","aria-disabled":Ze,style:(0,p.Z)((0,p.Z)({},vn),re),className:A()(Et,(k={},(0,m.Z)(k,"".concat(Et,"-active"),un),(0,m.Z)(k,"".concat(Et,"-selected"),ln),(0,m.Z)(k,"".concat(Et,"-disabled"),Wt),k),j),onClick:mn,onKeyDown:Mt,onFocus:Ht}),ke,l.createElement(le,{props:(0,p.Z)((0,p.Z)({},x),{},{isSelected:ln}),icon:Gt}));return Nt&&(gn=Nt(gn,x,{selected:ln})),gn});function Le(x,$){var k=x.eventKey,re=E(),j=U(k);return l.useEffect(function(){if(re)return re.registerPath(k,j),function(){re.unregisterPath(k,j)}},[j]),re?null:l.createElement(ze,(0,a.Z)({},x,{ref:$}))}var He=l.forwardRef(Le),Ke=["className","children"],je=function($,k){var re=$.className,j=$.children,Se=(0,d.Z)($,Ke),fe=l.useContext(Y),Ze=fe.prefixCls,Ge=fe.mode,ke=fe.rtl;return l.createElement("ul",(0,a.Z)({className:A()(Ze,ke&&"".concat(Ze,"-rtl"),"".concat(Ze,"-sub"),"".concat(Ze,"-").concat(Ge==="inline"?"inline":"vertical"),re),role:"menu"},Se,{"data-menu-list":!0,ref:k}),j)},Ue=l.forwardRef(je);Ue.displayName="SubMenuList";var Xe=Ue,nt=e(11592);function We(x,$){return(0,nt.Z)(x).map(function(k,re){if(l.isValidElement(k)){var j,Se,fe=k.key,Ze=(j=(Se=k.props)===null||Se===void 0?void 0:Se.eventKey)!==null&&j!==void 0?j:fe,Ge=Ze==null;Ge&&(Ze="tmp_key-".concat([].concat((0,_.Z)($),[re]).join("-")));var ke={key:Ze,eventKey:Ze};return l.cloneElement(k,ke)}return k})}var ft=e(35593),Je={adjustX:1,adjustY:1},ct={topLeft:{points:["bl","tl"],overflow:Je},topRight:{points:["br","tr"],overflow:Je},bottomLeft:{points:["tl","bl"],overflow:Je},bottomRight:{points:["tr","br"],overflow:Je},leftTop:{points:["tr","tl"],overflow:Je},leftBottom:{points:["br","bl"],overflow:Je},rightTop:{points:["tl","tr"],overflow:Je},rightBottom:{points:["bl","br"],overflow:Je}},St={topLeft:{points:["bl","tl"],overflow:Je},topRight:{points:["br","tr"],overflow:Je},bottomLeft:{points:["tl","bl"],overflow:Je},bottomRight:{points:["tr","br"],overflow:Je},rightTop:{points:["tr","tl"],overflow:Je},rightBottom:{points:["br","bl"],overflow:Je},leftTop:{points:["tl","tr"],overflow:Je},leftBottom:{points:["bl","br"],overflow:Je}},gt=null;function Ae(x,$,k){if($)return $;if(k)return k[x]||k.other}var Ye={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function qe(x){var $=x.prefixCls,k=x.visible,re=x.children,j=x.popup,Se=x.popupStyle,fe=x.popupClassName,Ze=x.popupOffset,Ge=x.disabled,ke=x.mode,it=x.onVisibleChange,Qe=l.useContext(Y),st=Qe.getPopupContainer,dt=Qe.rtl,rt=Qe.subMenuOpenDelay,yt=Qe.subMenuCloseDelay,bt=Qe.builtinPlacements,xt=Qe.triggerSubMenuAction,ot=Qe.forceSubMenuRender,tt=Qe.rootClassName,et=Qe.motion,vt=Qe.defaultMotions,lt=l.useState(!1),$t=(0,n.Z)(lt,2),ut=$t[0],Vt=$t[1],ht=dt?(0,p.Z)((0,p.Z)({},St),bt):(0,p.Z)((0,p.Z)({},ct),bt),Nt=Ye[ke],Et=Ae(ke,et,vt),It=l.useRef(Et);ke!=="inline"&&(It.current=Et);var jt=(0,p.Z)((0,p.Z)({},It.current),{},{leavedClassName:"".concat($,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Wt=l.useRef();return l.useEffect(function(){return Wt.current=(0,z.Z)(function(){Vt(k)}),function(){z.Z.cancel(Wt.current)}},[k]),l.createElement(ft.Z,{prefixCls:$,popupClassName:A()("".concat($,"-popup"),(0,m.Z)({},"".concat($,"-rtl"),dt),fe,tt),stretch:ke==="horizontal"?"minWidth":null,getPopupContainer:st,builtinPlacements:ht,popupPlacement:Nt,popupVisible:ut,popup:j,popupStyle:Se,popupAlign:Ze&&{offset:Ze},action:Ge?[]:[xt],mouseEnterDelay:rt,mouseLeaveDelay:yt,onPopupVisibleChange:it,forceRender:ot,popupMotion:jt,fresh:!0},re)}var pt=e(77900);function Bt(x){var $=x.id,k=x.open,re=x.keyPath,j=x.children,Se="inline",fe=l.useContext(Y),Ze=fe.prefixCls,Ge=fe.forceSubMenuRender,ke=fe.motion,it=fe.defaultMotions,Qe=fe.mode,st=l.useRef(!1);st.current=Qe===Se;var dt=l.useState(!st.current),rt=(0,n.Z)(dt,2),yt=rt[0],bt=rt[1],xt=st.current?k:!1;l.useEffect(function(){st.current&&bt(!1)},[Qe]);var ot=(0,p.Z)({},Ae(Se,ke,it));re.length>1&&(ot.motionAppear=!1);var tt=ot.onVisibleChanged;return ot.onVisibleChanged=function(et){return!st.current&&!et&&bt(!0),tt==null?void 0:tt(et)},yt?null:l.createElement(o,{mode:Se,locked:!st.current},l.createElement(pt.default,(0,a.Z)({visible:xt},ot,{forceRender:Ge,removeOnLeave:!1,leavedClassName:"".concat(Ze,"-hidden")}),function(et){var vt=et.className,lt=et.style;return l.createElement(Xe,{id:$,className:vt,style:lt},j)}))}var Rt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],At=["active"],tn=function($){var k,re=$.style,j=$.className,Se=$.title,fe=$.eventKey,Ze=$.warnKey,Ge=$.disabled,ke=$.internalPopupClose,it=$.children,Qe=$.itemIcon,st=$.expandIcon,dt=$.popupClassName,rt=$.popupOffset,yt=$.popupStyle,bt=$.onClick,xt=$.onMouseEnter,ot=$.onMouseLeave,tt=$.onTitleClick,et=$.onTitleMouseEnter,vt=$.onTitleMouseLeave,lt=(0,d.Z)($,Rt),$t=Ne(fe),ut=l.useContext(Y),Vt=ut.prefixCls,ht=ut.mode,Nt=ut.openKeys,Et=ut.disabled,It=ut.overflowDisabled,jt=ut.activeKey,Wt=ut.selectedKeys,en=ut.itemIcon,wt=ut.expandIcon,_t=ut.onItemClick,Gt=ut.onOpenChange,Ut=ut.onActive,un=l.useContext(B),fn=un._internalRenderSubMenuItem,ln=l.useContext(i),vn=ln.isSubPathKey,mn=U(),Mt="".concat(Vt,"-submenu"),Ht=Et||Ge,xn=l.useRef(),gn=l.useRef(),pn=Qe!=null?Qe:en,Ot=st!=null?st:wt,Xt=Nt.includes(fe),sn=!It&&Xt,An=vn(Wt,fe),Sn=ce(fe,Ht,et,vt),hn=Sn.active,Kn=(0,d.Z)(Sn,At),qn=l.useState(!1),kn=(0,n.Z)(qn,2),Pn=kn[0],zn=kn[1],Dn=function(Kt){Ht||zn(Kt)},Yt=function(Kt){Dn(!0),xt==null||xt({key:fe,domEvent:Kt})},Vn=function(Kt){Dn(!1),ot==null||ot({key:fe,domEvent:Kt})},wn=l.useMemo(function(){return hn||(ht!=="inline"?Pn||vn([jt],fe):!1)},[ht,hn,jt,Pn,fe,vn]),Ln=he(mn.length),_n=function(Kt){Ht||(tt==null||tt({key:fe,domEvent:Kt}),ht==="inline"&&Gt(fe,!Xt))},$n=me(function(Jt){bt==null||bt(de(Jt)),_t(Jt)}),Mn=function(Kt){ht!=="inline"&&Gt(fe,Kt)},Bn=function(){Ut(fe)},Nn=$t&&"".concat($t,"-popup"),En=l.createElement("div",(0,a.Z)({role:"menuitem",style:Ln,className:"".concat(Mt,"-title"),tabIndex:Ht?null:-1,ref:xn,title:typeof Se=="string"?Se:null,"data-menu-id":It&&$t?null:$t,"aria-expanded":sn,"aria-haspopup":!0,"aria-controls":Nn,"aria-disabled":Ht,onClick:_n,onFocus:Bn},Kn),Se,l.createElement(le,{icon:ht!=="horizontal"?Ot:void 0,props:(0,p.Z)((0,p.Z)({},$),{},{isOpen:sn,isSubMenu:!0})},l.createElement("i",{className:"".concat(Mt,"-arrow")}))),Ft=l.useRef(ht);if(ht!=="inline"&&mn.length>1?Ft.current="vertical":Ft.current=ht,!It){var In=Ft.current;En=l.createElement(qe,{mode:In,prefixCls:Mt,visible:!ke&&sn&&ht!=="inline",popupClassName:dt,popupOffset:rt,popupStyle:yt,popup:l.createElement(o,{mode:In==="horizontal"?"vertical":In},l.createElement(Xe,{id:Nn,ref:gn},it)),disabled:Ht,onVisibleChange:Mn},En)}var bn=l.createElement(D.Z.Item,(0,a.Z)({role:"none"},lt,{component:"li",style:re,className:A()(Mt,"".concat(Mt,"-").concat(ht),j,(k={},(0,m.Z)(k,"".concat(Mt,"-open"),sn),(0,m.Z)(k,"".concat(Mt,"-active"),wn),(0,m.Z)(k,"".concat(Mt,"-selected"),An),(0,m.Z)(k,"".concat(Mt,"-disabled"),Ht),k)),onMouseEnter:Yt,onMouseLeave:Vn}),En,!It&&l.createElement(Bt,{id:Nn,open:sn,keyPath:mn},it));return fn&&(bn=fn(bn,$,{selected:An,active:wn,open:sn,disabled:Ht})),l.createElement(o,{onItemClick:$n,mode:ht==="horizontal"?"vertical":ht,itemIcon:pn,expandIcon:Ot},bn)};function Qt(x){var $=x.eventKey,k=x.children,re=U($),j=We(k,re),Se=E();l.useEffect(function(){if(Se)return Se.registerPath($,re),function(){Se.unregisterPath($,re)}},[re]);var fe;return Se?fe=j:fe=l.createElement(tn,x,j),l.createElement(G.Provider,{value:re},fe)}var nn=e(39559),On=["className","title","eventKey","children"],qt=["children"],rn=function($){var k=$.className,re=$.title,j=$.eventKey,Se=$.children,fe=(0,d.Z)($,On),Ze=l.useContext(Y),Ge=Ze.prefixCls,ke="".concat(Ge,"-item-group");return l.createElement("li",(0,a.Z)({role:"presentation"},fe,{onClick:function(Qe){return Qe.stopPropagation()},className:A()(ke,k)}),l.createElement("div",{role:"presentation",className:"".concat(ke,"-title"),title:typeof re=="string"?re:void 0},re),l.createElement("ul",{role:"group",className:"".concat(ke,"-list")},Se))};function kt(x){var $=x.children,k=(0,d.Z)(x,qt),re=U(k.eventKey),j=We($,re),Se=E();return Se?j:l.createElement(rn,(0,I.Z)(k,["warnKey"]),j)}function Pt(x){var $=x.className,k=x.style,re=l.useContext(Y),j=re.prefixCls,Se=E();return Se?null:l.createElement("li",{role:"separator",className:A()("".concat(j,"-item-divider"),$),style:k})}var on=["label","children","key","type"];function zt(x){return(x||[]).map(function($,k){if($&&(0,nn.Z)($)==="object"){var re=$,j=re.label,Se=re.children,fe=re.key,Ze=re.type,Ge=(0,d.Z)(re,on),ke=fe!=null?fe:"tmp-".concat(k);return Se||Ze==="group"?Ze==="group"?l.createElement(kt,(0,a.Z)({key:ke},Ge,{title:j}),zt(Se)):l.createElement(Qt,(0,a.Z)({key:ke},Ge,{title:j}),zt(Se)):Ze==="divider"?l.createElement(Pt,(0,a.Z)({key:ke},Ge)):l.createElement(He,(0,a.Z)({key:ke},Ge),j)}return null}).filter(function($){return $})}function Dt(x,$,k){var re=x;return $&&(re=zt($)),We(re,k)}var dn=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Lt=[],yn=l.forwardRef(function(x,$){var k,re,j=x,Se=j.prefixCls,fe=Se===void 0?"rc-menu":Se,Ze=j.rootClassName,Ge=j.style,ke=j.className,it=j.tabIndex,Qe=it===void 0?0:it,st=j.items,dt=j.children,rt=j.direction,yt=j.id,bt=j.mode,xt=bt===void 0?"vertical":bt,ot=j.inlineCollapsed,tt=j.disabled,et=j.disabledOverflow,vt=j.subMenuOpenDelay,lt=vt===void 0?.1:vt,$t=j.subMenuCloseDelay,ut=$t===void 0?.1:$t,Vt=j.forceSubMenuRender,ht=j.defaultOpenKeys,Nt=j.openKeys,Et=j.activeKey,It=j.defaultActiveFirst,jt=j.selectable,Wt=jt===void 0?!0:jt,en=j.multiple,wt=en===void 0?!1:en,_t=j.defaultSelectedKeys,Gt=j.selectedKeys,Ut=j.onSelect,un=j.onDeselect,fn=j.inlineIndent,ln=fn===void 0?24:fn,vn=j.motion,mn=j.defaultMotions,Mt=j.triggerSubMenuAction,Ht=Mt===void 0?"hover":Mt,xn=j.builtinPlacements,gn=j.itemIcon,pn=j.expandIcon,Ot=j.overflowedIndicator,Xt=Ot===void 0?"...":Ot,sn=j.overflowedIndicatorPopupClassName,An=j.getPopupContainer,Sn=j.onClick,hn=j.onOpenChange,Kn=j.onKeyDown,qn=j.openAnimation,kn=j.openTransitionName,Pn=j._internalRenderMenuItem,zn=j._internalRenderSubMenuItem,Dn=(0,d.Z)(j,dn),Yt=l.useMemo(function(){return Dt(dt,st,Lt)},[dt,st]),Vn=l.useState(!1),wn=(0,n.Z)(Vn,2),Ln=wn[0],_n=wn[1],$n=l.useRef(),Mn=Pe(yt),Bn=rt==="rtl",Nn=(0,N.Z)(ht,{value:Nt,postState:function(at){return at||Lt}}),En=(0,n.Z)(Nn,2),Ft=En[0],In=En[1],bn=function(at){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Tt(){In(at),hn==null||hn(at)}mt?(0,xe.flushSync)(Tt):Tt()},Jt=l.useState(Ft),Kt=(0,n.Z)(Jt,2),mr=Kt[0],gr=Kt[1],Gn=l.useRef(!1),pr=l.useMemo(function(){return(xt==="inline"||xt==="vertical")&&ot?["vertical",ot]:[xt,!1]},[xt,ot]),er=(0,n.Z)(pr,2),jn=er[0],Un=er[1],tr=jn==="inline",hr=l.useState(jn),nr=(0,n.Z)(hr,2),cn=nr[0],br=nr[1],Cr=l.useState(Un),rr=(0,n.Z)(Cr,2),yr=rr[0],xr=rr[1];l.useEffect(function(){br(jn),xr(Un),Gn.current&&(tr?In(mr):bn(Lt))},[jn,Un]);var Sr=l.useState(0),or=(0,n.Z)(Sr,2),Wn=or[0],$r=or[1],Xn=Wn>=Yt.length-1||cn!=="horizontal"||et;l.useEffect(function(){tr&&gr(Ft)},[Ft]),l.useEffect(function(){return Gn.current=!0,function(){Gn.current=!1}},[]);var Cn=ee(),ar=Cn.registerPath,ir=Cn.unregisterPath,Er=Cn.refreshOverflowKeys,lr=Cn.isSubPathKey,Ir=Cn.getKeyPath,sr=Cn.getKeys,Or=Cn.getSubPathKeys,Rr=l.useMemo(function(){return{registerPath:ar,unregisterPath:ir}},[ar,ir]),Pr=l.useMemo(function(){return{isSubPathKey:lr}},[lr]);l.useEffect(function(){Er(Xn?Lt:Yt.slice(Wn+1).map(function(Ct){return Ct.key}))},[Wn,Xn]);var wr=(0,N.Z)(Et||It&&((k=Yt[0])===null||k===void 0?void 0:k.key),{value:Et}),cr=(0,n.Z)(wr,2),Tn=cr[0],Yn=cr[1],Mr=me(function(Ct){Yn(Ct)}),Br=me(function(){Yn(void 0)});(0,l.useImperativeHandle)($,function(){return{list:$n.current,focus:function(at){var mt,Tt=sr(),Zt=r(Tt,Mn),Fn=Zt.elements,Jn=Zt.key2element,Hr=Zt.element2key,fr=v($n.current,Fn),vr=Tn!=null?Tn:fr[0]?Hr.get(fr[0]):(mt=Yt.find(function(Fr){return!Fr.props.disabled}))===null||mt===void 0?void 0:mt.key,Zn=Jn.get(vr);if(vr&&Zn){var Qn;Zn==null||(Qn=Zn.focus)===null||Qn===void 0||Qn.call(Zn,at)}}}});var Nr=(0,N.Z)(_t||[],{value:Gt,postState:function(at){return Array.isArray(at)?at:at==null?Lt:[at]}}),dr=(0,n.Z)(Nr,2),Hn=dr[0],Tr=dr[1],Zr=function(at){if(Wt){var mt=at.key,Tt=Hn.includes(mt),Zt;wt?Tt?Zt=Hn.filter(function(Jn){return Jn!==mt}):Zt=[].concat((0,_.Z)(Hn),[mt]):Zt=[mt],Tr(Zt);var Fn=(0,p.Z)((0,p.Z)({},at),{},{selectedKeys:Zt});Tt?un==null||un(Fn):Ut==null||Ut(Fn)}!wt&&Ft.length&&cn!=="inline"&&bn(Lt)},Ar=me(function(Ct){Sn==null||Sn(de(Ct)),Zr(Ct)}),ur=me(function(Ct,at){var mt=Ft.filter(function(Zt){return Zt!==Ct});if(at)mt.push(Ct);else if(cn!=="inline"){var Tt=Or(Ct);mt=mt.filter(function(Zt){return!Tt.has(Zt)})}(0,J.Z)(Ft,mt,!0)||bn(mt,!0)}),zr=function(at,mt){var Tt=mt!=null?mt:!Ft.includes(at);ur(at,Tt)},Dr=y(cn,Tn,Bn,Mn,$n,sr,Ir,Yn,zr,Kn);l.useEffect(function(){_n(!0)},[]);var Lr=l.useMemo(function(){return{_internalRenderMenuItem:Pn,_internalRenderSubMenuItem:zn}},[Pn,zn]),jr=cn!=="horizontal"||et?Yt:Yt.map(function(Ct,at){return l.createElement(o,{key:Ct.key,overflowDisabled:at>Wn},Ct)}),Wr=l.createElement(D.Z,(0,a.Z)({id:yt,ref:$n,prefixCls:"".concat(fe,"-overflow"),component:"ul",itemComponent:He,className:A()(fe,"".concat(fe,"-root"),"".concat(fe,"-").concat(cn),ke,(re={},(0,m.Z)(re,"".concat(fe,"-inline-collapsed"),yr),(0,m.Z)(re,"".concat(fe,"-rtl"),Bn),re),Ze),dir:rt,style:Ge,role:"menu",tabIndex:Qe,data:jr,renderRawItem:function(at){return at},renderRawRest:function(at){var mt=at.length,Tt=mt?Yt.slice(-mt):null;return l.createElement(Qt,{eventKey:ae,title:Xt,disabled:Xn,internalPopupClose:mt===0,popupClassName:sn},Tt)},maxCount:cn!=="horizontal"||et?D.Z.INVALIDATE:D.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(at){$r(at)},onKeyDown:Dr},Dn));return l.createElement(B.Provider,{value:Lr},l.createElement(Ce.Provider,{value:Mn},l.createElement(o,{prefixCls:fe,rootClassName:Ze,mode:cn,openKeys:Ft,rtl:Bn,disabled:tt,motion:Ln?vn:null,defaultMotions:Ln?mn:null,activeKey:Tn,onActive:Mr,onInactive:Br,selectedKeys:Hn,inlineIndent:ln,subMenuOpenDelay:lt,subMenuCloseDelay:ut,forceSubMenuRender:Vt,builtinPlacements:xn,triggerSubMenuAction:Ht,getPopupContainer:An,itemIcon:gn,expandIcon:pn,onItemClick:Ar,onOpenChange:ur},l.createElement(i.Provider,{value:Pr},Wr),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(C.Provider,{value:Rr},Yt)))))}),Rn=yn,an=Rn;an.Item=He,an.SubMenu=Qt,an.ItemGroup=kt,an.Divider=Pt;var Ve=an},11780:function(_e,ge,e){e.d(ge,{Z:function(){return Z}});var a=e(92413),m=e(33708),p=e(33606),_=e(37061),n=e(59301),d=e(92310),h=e.n(d),A=e(29301),D=e(34280),N=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],J=void 0;function q(S,F){var g=S.prefixCls,O=S.invalidate,z=S.item,P=S.renderItem,u=S.responsive,V=S.responsiveDisabled,f=S.registerSize,K=S.itemKey,X=S.className,ne=S.style,ye=S.children,be=S.display,oe=S.order,pe=S.component,Ie=pe===void 0?"div":pe,v=(0,_.Z)(S,N),t=u&&!be;function r(M){f(K,M)}n.useEffect(function(){return function(){r(null)}},[]);var y=P&&z!==J?P(z,{index:oe}):ye,R;O||(R={opacity:t?0:1,height:t?0:J,overflowY:t?"hidden":J,order:u?oe:J,pointerEvents:t?"none":J,position:t?"absolute":J});var W={};t&&(W["aria-hidden"]=!0);var b=n.createElement(Ie,(0,a.Z)({className:h()(!O&&g,X),style:(0,m.Z)((0,m.Z)({},R),ne)},W,v,{ref:F}),y);return u&&(b=n.createElement(A.Z,{onResize:function(ae){var ee=ae.offsetWidth;r(ee)},disabled:V},b)),b}var l=n.forwardRef(q);l.displayName="Item";var xe=l,Ce=e(6089),Ee=e(4676),Ne=e(16089);function Te(S){if(typeof MessageChannel=="undefined")(0,Ne.Z)(S);else{var F=new MessageChannel;F.port1.onmessage=function(){return S()},F.port2.postMessage(void 0)}}function De(){var S=n.useRef(null),F=function(O){S.current||(S.current=[],Te(function(){(0,Ee.unstable_batchedUpdates)(function(){S.current.forEach(function(z){z()}),S.current=null})})),S.current.push(O)};return F}function Y(S,F){var g=n.useState(F),O=(0,p.Z)(g,2),z=O[0],P=O[1],u=(0,Ce.Z)(function(V){S(function(){P(V)})});return[z,u]}var ve=n.createContext(null),o=["component"],s=["className"],C=["className"],E=function(F,g){var O=n.useContext(ve);if(!O){var z=F.component,P=z===void 0?"div":z,u=(0,_.Z)(F,o);return n.createElement(P,(0,a.Z)({},u,{ref:g}))}var V=O.className,f=(0,_.Z)(O,s),K=F.className,X=(0,_.Z)(F,C);return n.createElement(ve.Provider,{value:null},n.createElement(xe,(0,a.Z)({ref:g,className:h()(V,K)},f,X)))},G=n.forwardRef(E);G.displayName="RawItem";var U=G,i=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],w="responsive",B="invalidate";function T(S){return"+ ".concat(S.length," ...")}function se(S,F){var g=S.prefixCls,O=g===void 0?"rc-overflow":g,z=S.data,P=z===void 0?[]:z,u=S.renderItem,V=S.renderRawItem,f=S.itemKey,K=S.itemWidth,X=K===void 0?10:K,ne=S.ssr,ye=S.style,be=S.className,oe=S.maxCount,pe=S.renderRest,Ie=S.renderRawRest,v=S.suffix,t=S.component,r=t===void 0?"div":t,y=S.itemComponent,R=S.onVisibleChange,W=(0,_.Z)(S,i),b=ne==="full",M=De(),ae=Y(M,null),ee=(0,p.Z)(ae,2),me=ee[0],Re=ee[1],Me=me||0,Pe=Y(M,new Map),Oe=(0,p.Z)(Pe,2),Q=Oe[0],Fe=Oe[1],c=Y(M,0),I=(0,p.Z)(c,2),L=I[0],ce=I[1],he=Y(M,0),le=(0,p.Z)(he,2),ie=le[0],de=le[1],H=Y(M,0),Be=(0,p.Z)(H,2),$e=Be[0],we=Be[1],ze=(0,n.useState)(null),Le=(0,p.Z)(ze,2),He=Le[0],Ke=Le[1],je=(0,n.useState)(null),Ue=(0,p.Z)(je,2),Xe=Ue[0],nt=Ue[1],We=n.useMemo(function(){return Xe===null&&b?Number.MAX_SAFE_INTEGER:Xe||0},[Xe,me]),ft=(0,n.useState)(!1),Je=(0,p.Z)(ft,2),ct=Je[0],St=Je[1],gt="".concat(O,"-item"),Ae=Math.max(L,ie),Ye=oe===w,qe=P.length&&Ye,pt=oe===B,Bt=qe||typeof oe=="number"&&P.length>oe,Rt=(0,n.useMemo)(function(){var Ve=P;return qe?me===null&&b?Ve=P:Ve=P.slice(0,Math.min(P.length,Me/X)):typeof oe=="number"&&(Ve=P.slice(0,oe)),Ve},[P,X,me,oe,qe]),At=(0,n.useMemo)(function(){return qe?P.slice(We+1):P.slice(Rt.length)},[P,Rt,qe,We]),tn=(0,n.useCallback)(function(Ve,x){var $;return typeof f=="function"?f(Ve):($=f&&(Ve==null?void 0:Ve[f]))!==null&&$!==void 0?$:x},[f]),Qt=(0,n.useCallback)(u||function(Ve){return Ve},[u]);function nn(Ve,x,$){Xe===Ve&&(x===void 0||x===He)||(nt(Ve),$||(St(Ve<P.length-1),R==null||R(Ve)),x!==void 0&&Ke(x))}function On(Ve,x){Re(x.clientWidth)}function qt(Ve,x){Fe(function($){var k=new Map($);return x===null?k.delete(Ve):k.set(Ve,x),k})}function rn(Ve,x){de(x),ce(ie)}function kt(Ve,x){we(x)}function Pt(Ve){return Q.get(tn(Rt[Ve],Ve))}(0,D.Z)(function(){if(Me&&typeof Ae=="number"&&Rt){var Ve=$e,x=Rt.length,$=x-1;if(!x){nn(0,null);return}for(var k=0;k<x;k+=1){var re=Pt(k);if(b&&(re=re||0),re===void 0){nn(k-1,void 0,!0);break}if(Ve+=re,$===0&&Ve<=Me||k===$-1&&Ve+Pt($)<=Me){nn($,null);break}else if(Ve+Ae>Me){nn(k-1,Ve-re-$e+ie);break}}v&&Pt(0)+$e>Me&&Ke(null)}},[Me,Q,ie,$e,tn,Rt]);var on=ct&&!!At.length,zt={};He!==null&&qe&&(zt={position:"absolute",left:He,top:0});var Dt={prefixCls:gt,responsive:qe,component:y,invalidate:pt},dn=V?function(Ve,x){var $=tn(Ve,x);return n.createElement(ve.Provider,{key:$,value:(0,m.Z)((0,m.Z)({},Dt),{},{order:x,item:Ve,itemKey:$,registerSize:qt,display:x<=We})},V(Ve,x))}:function(Ve,x){var $=tn(Ve,x);return n.createElement(xe,(0,a.Z)({},Dt,{order:x,key:$,item:Ve,renderItem:Qt,itemKey:$,registerSize:qt,display:x<=We}))},Lt={order:on?We:Number.MAX_SAFE_INTEGER,className:"".concat(gt,"-rest"),registerSize:rn,display:on},yn=pe||T,Rn=Ie?n.createElement(ve.Provider,{value:(0,m.Z)((0,m.Z)({},Dt),Lt)},Ie(At)):n.createElement(xe,(0,a.Z)({},Dt,Lt),typeof yn=="function"?yn(At):yn),an=n.createElement(r,(0,a.Z)({className:h()(!pt&&O,be),style:ye,ref:F},W),Rt.map(dn),Bt?Rn:null,v&&n.createElement(xe,(0,a.Z)({},Dt,{responsive:Ye,responsiveDisabled:!qe,order:We,className:"".concat(gt,"-suffix"),registerSize:kt,display:!0,style:zt}),v));return Ye?n.createElement(A.Z,{onResize:On,disabled:!qe},an):an}var te=n.forwardRef(se);te.displayName="Overflow",te.Item=U,te.RESPONSIVE=w,te.INVALIDATE=B;var ue=te,Z=ue},9296:function(_e,ge,e){e.r(ge),e.d(ge,{ResizableTextArea:function(){return i},default:function(){return ue}});var a=e(92413),m=e(33708),p=e(400),_=e(39559),n=e(33606),d=e(37061),h=e(26407),A=e(92310),D=e.n(A),N=e(93681),J=e(5643),q=e(18929),l=e(59301),xe=e(29301),Ce=e(34280),Ee=e(16089),Ne=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Te=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],De={},Y;function ve(Z){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=Z.getAttribute("id")||Z.getAttribute("data-reactid")||Z.getAttribute("name");if(S&&De[F])return De[F];var g=window.getComputedStyle(Z),O=g.getPropertyValue("box-sizing")||g.getPropertyValue("-moz-box-sizing")||g.getPropertyValue("-webkit-box-sizing"),z=parseFloat(g.getPropertyValue("padding-bottom"))+parseFloat(g.getPropertyValue("padding-top")),P=parseFloat(g.getPropertyValue("border-bottom-width"))+parseFloat(g.getPropertyValue("border-top-width")),u=Te.map(function(f){return"".concat(f,":").concat(g.getPropertyValue(f))}).join(";"),V={sizingStyle:u,paddingSize:z,borderSize:P,boxSizing:O};return S&&F&&(De[F]=V),V}function o(Z){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Y||(Y=document.createElement("textarea"),Y.setAttribute("tab-index","-1"),Y.setAttribute("aria-hidden","true"),document.body.appendChild(Y)),Z.getAttribute("wrap")?Y.setAttribute("wrap",Z.getAttribute("wrap")):Y.removeAttribute("wrap");var O=ve(Z,S),z=O.paddingSize,P=O.borderSize,u=O.boxSizing,V=O.sizingStyle;Y.setAttribute("style","".concat(V,";").concat(Ne)),Y.value=Z.value||Z.placeholder||"";var f=void 0,K=void 0,X,ne=Y.scrollHeight;if(u==="border-box"?ne+=P:u==="content-box"&&(ne-=z),F!==null||g!==null){Y.value=" ";var ye=Y.scrollHeight-z;F!==null&&(f=ye*F,u==="border-box"&&(f=f+z+P),ne=Math.max(f,ne)),g!==null&&(K=ye*g,u==="border-box"&&(K=K+z+P),X=ne>K?"":"hidden",ne=Math.min(K,ne))}var be={height:ne,overflowY:X,resize:"none"};return f&&(be.minHeight=f),K&&(be.maxHeight=K),be}var s=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],C=0,E=1,G=2,U=l.forwardRef(function(Z,S){var F=Z,g=F.prefixCls,O=F.onPressEnter,z=F.defaultValue,P=F.value,u=F.autoSize,V=F.onResize,f=F.className,K=F.style,X=F.disabled,ne=F.onChange,ye=F.onInternalAutoSize,be=(0,d.Z)(F,s),oe=(0,q.Z)(z,{value:P,postState:function(de){return de!=null?de:""}}),pe=(0,n.Z)(oe,2),Ie=pe[0],v=pe[1],t=function(de){v(de.target.value),ne==null||ne(de)},r=l.useRef();l.useImperativeHandle(S,function(){return{textArea:r.current}});var y=l.useMemo(function(){return u&&(0,_.Z)(u)==="object"?[u.minRows,u.maxRows]:[]},[u]),R=(0,n.Z)(y,2),W=R[0],b=R[1],M=!!u,ae=function(){try{if(document.activeElement===r.current){var de=r.current,H=de.selectionStart,Be=de.selectionEnd,$e=de.scrollTop;r.current.setSelectionRange(H,Be),r.current.scrollTop=$e}}catch(we){}},ee=l.useState(G),me=(0,n.Z)(ee,2),Re=me[0],Me=me[1],Pe=l.useState(),Oe=(0,n.Z)(Pe,2),Q=Oe[0],Fe=Oe[1],c=function(){Me(C)};(0,Ce.Z)(function(){M&&c()},[P,W,b,M]),(0,Ce.Z)(function(){if(Re===C)Me(E);else if(Re===E){var ie=o(r.current,!1,W,b);Me(G),Fe(ie)}else ae()},[Re]);var I=l.useRef(),L=function(){Ee.Z.cancel(I.current)},ce=function(de){Re===G&&(V==null||V(de),u&&(L(),I.current=(0,Ee.Z)(function(){c()})))};l.useEffect(function(){return L},[]);var he=M?Q:null,le=(0,m.Z)((0,m.Z)({},K),he);return(Re===C||Re===E)&&(le.overflowY="hidden",le.overflowX="hidden"),l.createElement(xe.Z,{onResize:ce,disabled:!(u||V)},l.createElement("textarea",(0,a.Z)({},be,{ref:r,style:le,className:D()(g,f,(0,p.Z)({},"".concat(g,"-disabled"),X)),disabled:X,value:Ie,onChange:t})))}),i=U,w=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function B(Z,S){return(0,h.Z)(Z||"").slice(0,S).join("")}function T(Z,S,F,g){var O=F;return Z?O=B(F,g):(0,h.Z)(S||"").length<F.length&&(0,h.Z)(F||"").length>g&&(O=S),O}var se=l.forwardRef(function(Z,S){var F,g=Z.defaultValue,O=Z.value,z=Z.onFocus,P=Z.onBlur,u=Z.onChange,V=Z.allowClear,f=Z.maxLength,K=Z.onCompositionStart,X=Z.onCompositionEnd,ne=Z.suffix,ye=Z.prefixCls,be=ye===void 0?"rc-textarea":ye,oe=Z.classes,pe=Z.showCount,Ie=Z.className,v=Z.style,t=Z.disabled,r=Z.hidden,y=Z.classNames,R=Z.styles,W=Z.onResize,b=(0,d.Z)(Z,w),M=(0,q.Z)(g,{value:O,defaultValue:g}),ae=(0,n.Z)(M,2),ee=ae[0],me=ae[1],Re=(0,l.useRef)(null),Me=l.useState(!1),Pe=(0,n.Z)(Me,2),Oe=Pe[0],Q=Pe[1],Fe=l.useState(!1),c=(0,n.Z)(Fe,2),I=c[0],L=c[1],ce=l.useRef(),he=l.useRef(0),le=l.useState(null),ie=(0,n.Z)(le,2),de=ie[0],H=ie[1],Be=function(){var Ae;(Ae=Re.current)===null||Ae===void 0||Ae.textArea.focus()};(0,l.useImperativeHandle)(S,function(){return{resizableTextArea:Re.current,focus:Be,blur:function(){var Ae;(Ae=Re.current)===null||Ae===void 0||Ae.textArea.blur()}}}),(0,l.useEffect)(function(){Q(function(gt){return!t&&gt})},[t]);var $e=Number(f)>0,we=function(Ae){L(!0),ce.current=ee,he.current=Ae.currentTarget.selectionStart,K==null||K(Ae)},ze=function(Ae){L(!1);var Ye=Ae.currentTarget.value;if($e){var qe,pt=he.current>=f+1||he.current===((qe=ce.current)===null||qe===void 0?void 0:qe.length);Ye=T(pt,ce.current,Ye,f)}Ye!==ee&&(me(Ye),(0,J.rJ)(Ae.currentTarget,Ae,u,Ye)),X==null||X(Ae)},Le=function(Ae){var Ye=Ae.target.value;if(!I&&$e){var qe=Ae.target.selectionStart>=f+1||Ae.target.selectionStart===Ye.length||!Ae.target.selectionStart;Ye=T(qe,ee,Ye,f)}me(Ye),(0,J.rJ)(Ae.currentTarget,Ae,u,Ye)},He=function(Ae){var Ye=b.onPressEnter,qe=b.onKeyDown;Ae.key==="Enter"&&Ye&&Ye(Ae),qe==null||qe(Ae)},Ke=function(Ae){Q(!0),z==null||z(Ae)},je=function(Ae){Q(!1),P==null||P(Ae)},Ue=function(Ae){var Ye;me(""),Be(),(0,J.rJ)((Ye=Re.current)===null||Ye===void 0?void 0:Ye.textArea,Ae,u)},Xe=(0,J.D7)(ee);!I&&$e&&O==null&&(Xe=B(Xe,f));var nt=ne,We;if(pe){var ft=(0,h.Z)(Xe).length;(0,_.Z)(pe)==="object"?We=pe.formatter({value:Xe,count:ft,maxLength:f}):We="".concat(ft).concat($e?" / ".concat(f):""),nt=l.createElement(l.Fragment,null,nt,l.createElement("span",{className:D()("".concat(be,"-data-count"),y==null?void 0:y.count),style:R==null?void 0:R.count},We))}var Je=function(Ae){var Ye;W==null||W(Ae),(Ye=Re.current)!==null&&Ye!==void 0&&Ye.textArea.style.height&&H(!0)},ct=!b.autoSize&&!pe&&!V,St=l.createElement(N.BaseInput,{value:Xe,allowClear:V,handleReset:Ue,suffix:nt,prefixCls:be,classes:{affixWrapper:D()(oe==null?void 0:oe.affixWrapper,(F={},(0,p.Z)(F,"".concat(be,"-show-count"),pe),(0,p.Z)(F,"".concat(be,"-textarea-allow-clear"),V),F))},disabled:t,focused:Oe,className:Ie,style:(0,m.Z)((0,m.Z)({},v),de&&!ct?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof We=="string"?We:void 0}},hidden:r,inputElement:l.createElement(i,(0,a.Z)({},b,{onKeyDown:He,onChange:Le,onFocus:Ke,onBlur:je,onCompositionStart:we,onCompositionEnd:ze,className:y==null?void 0:y.textarea,style:(0,m.Z)((0,m.Z)({},R==null?void 0:R.textarea),{},{resize:v==null?void 0:v.resize}),disabled:t,prefixCls:be,onResize:Je,ref:Re}))});return St}),te=se,ue=te},16722:function(_e,ge,e){e.d(ge,{Z:function(){return A}});const a=D=>typeof D=="object"&&D!=null&&D.nodeType===1,m=(D,N)=>(!N||D!=="hidden")&&D!=="visible"&&D!=="clip",p=(D,N)=>{if(D.clientHeight<D.scrollHeight||D.clientWidth<D.scrollWidth){const J=getComputedStyle(D,null);return m(J.overflowY,N)||m(J.overflowX,N)||(q=>{const l=(xe=>{if(!xe.ownerDocument||!xe.ownerDocument.defaultView)return null;try{return xe.ownerDocument.defaultView.frameElement}catch(Ce){return null}})(q);return!!l&&(l.clientHeight<q.scrollHeight||l.clientWidth<q.scrollWidth)})(D)}return!1},_=(D,N,J,q,l,xe,Ce,Ee)=>xe<D&&Ce>N||xe>D&&Ce<N?0:xe<=D&&Ee<=J||Ce>=N&&Ee>=J?xe-D-q:Ce>N&&Ee<J||xe<D&&Ee>J?Ce-N+l:0,n=D=>{const N=D.parentElement;return N==null?D.getRootNode().host||null:N},d=(D,N)=>{var J,q,l,xe;if(typeof document=="undefined")return[];const{scrollMode:Ce,block:Ee,inline:Ne,boundary:Te,skipOverflowHiddenElements:De}=N,Y=typeof Te=="function"?Te:P=>P!==Te;if(!a(D))throw new TypeError("Invalid target");const ve=document.scrollingElement||document.documentElement,o=[];let s=D;for(;a(s)&&Y(s);){if(s=n(s),s===ve){o.push(s);break}s!=null&&s===document.body&&p(s)&&!p(document.documentElement)||s!=null&&p(s,De)&&o.push(s)}const C=(q=(J=window.visualViewport)==null?void 0:J.width)!=null?q:innerWidth,E=(xe=(l=window.visualViewport)==null?void 0:l.height)!=null?xe:innerHeight,{scrollX:G,scrollY:U}=window,{height:i,width:w,top:B,right:T,bottom:se,left:te}=D.getBoundingClientRect(),{top:ue,right:Z,bottom:S,left:F}=(P=>{const u=window.getComputedStyle(P);return{top:parseFloat(u.scrollMarginTop)||0,right:parseFloat(u.scrollMarginRight)||0,bottom:parseFloat(u.scrollMarginBottom)||0,left:parseFloat(u.scrollMarginLeft)||0}})(D);let g=Ee==="start"||Ee==="nearest"?B-ue:Ee==="end"?se+S:B+i/2-ue+S,O=Ne==="center"?te+w/2-F+Z:Ne==="end"?T+Z:te-F;const z=[];for(let P=0;P<o.length;P++){const u=o[P],{height:V,width:f,top:K,right:X,bottom:ne,left:ye}=u.getBoundingClientRect();if(Ce==="if-needed"&&B>=0&&te>=0&&se<=E&&T<=C&&(u===ve&&!p(u)||B>=K&&se<=ne&&te>=ye&&T<=X))return z;const be=getComputedStyle(u),oe=parseInt(be.borderLeftWidth,10),pe=parseInt(be.borderTopWidth,10),Ie=parseInt(be.borderRightWidth,10),v=parseInt(be.borderBottomWidth,10);let t=0,r=0;const y="offsetWidth"in u?u.offsetWidth-u.clientWidth-oe-Ie:0,R="offsetHeight"in u?u.offsetHeight-u.clientHeight-pe-v:0,W="offsetWidth"in u?u.offsetWidth===0?0:f/u.offsetWidth:0,b="offsetHeight"in u?u.offsetHeight===0?0:V/u.offsetHeight:0;if(ve===u)t=Ee==="start"?g:Ee==="end"?g-E:Ee==="nearest"?_(U,U+E,E,pe,v,U+g,U+g+i,i):g-E/2,r=Ne==="start"?O:Ne==="center"?O-C/2:Ne==="end"?O-C:_(G,G+C,C,oe,Ie,G+O,G+O+w,w),t=Math.max(0,t+U),r=Math.max(0,r+G);else{t=Ee==="start"?g-K-pe:Ee==="end"?g-ne+v+R:Ee==="nearest"?_(K,ne,V,pe,v+R,g,g+i,i):g-(K+V/2)+R/2,r=Ne==="start"?O-ye-oe:Ne==="center"?O-(ye+f/2)+y/2:Ne==="end"?O-X+Ie+y:_(ye,X,f,oe,Ie+y,O,O+w,w);const{scrollLeft:M,scrollTop:ae}=u;t=b===0?0:Math.max(0,Math.min(ae+t/b,u.scrollHeight-V/b+R)),r=W===0?0:Math.max(0,Math.min(M+r/W,u.scrollWidth-f/W+y)),g+=ae-t,O+=M-r}z.push({el:u,top:t,left:r})}return z},h=D=>D===!1?{block:"end",inline:"nearest"}:(N=>N===Object(N)&&Object.keys(N).length!==0)(D)?D:{block:"start",inline:"nearest"};function A(D,N){if(!D.isConnected||!(l=>{let xe=l;for(;xe&&xe.parentNode;){if(xe.parentNode===document)return!0;xe=xe.parentNode instanceof ShadowRoot?xe.parentNode.host:xe.parentNode}return!1})(D))return;const J=(l=>{const xe=window.getComputedStyle(l);return{top:parseFloat(xe.scrollMarginTop)||0,right:parseFloat(xe.scrollMarginRight)||0,bottom:parseFloat(xe.scrollMarginBottom)||0,left:parseFloat(xe.scrollMarginLeft)||0}})(D);if((l=>typeof l=="object"&&typeof l.behavior=="function")(N))return N.behavior(d(D,N));const q=typeof N=="boolean"||N==null?void 0:N.behavior;for(const{el:l,top:xe,left:Ce}of d(D,h(N))){const Ee=xe-J.top+J.bottom,Ne=Ce-J.left+J.right;l.scroll({top:Ee,left:Ne,behavior:q})}}}}]);