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/998.async.js

1 line
56 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[998],{9516:function(e,t,o){o.d(t,{Z:function(){return s}});var r=o(81978),n=o(59301),i={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"},a=o(1393),l=function(e,t){return n.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var s=n.forwardRef(l)},35593:function(e,t,o){o.d(t,{Z:function(){return q}});var r=o(11625),n=o(43941),i=o(62579),a=o(43403),l=o(92310),s=o.n(l),c=o(10933),u=o(10748),d=o(78962),p=o(30609),f=o(15173),b=o(19171),m=o(70041),h=o(59301),g=o(81978),v=o(16934),y=o(25629);function w(e){var t=e.prefixCls,o=e.align,r=e.arrow,n=e.arrowPos,i=r||{},a=i.className,l=i.content,c=n.x,u=void 0===c?0:c,d=n.y,p=void 0===d?0:d,f=h.useRef();if(!o||!o.points)return null;var b={position:"absolute"};if(!1!==o.autoArrow){var m=o.points[0],g=o.points[1],v=m[0],y=m[1],w=g[0],C=g[1];v!==w&&["t","b"].includes(v)?"t"===v?b.top=0:b.bottom=0:b.top=p,y!==C&&["l","r"].includes(y)?"l"===y?b.left=0:b.right=0:b.left=u}return h.createElement("div",{ref:f,className:s()("".concat(t,"-arrow"),a),style:b},l)}function C(e){var t=e.prefixCls,o=e.open,r=e.zIndex,n=e.mask,i=e.motion;return n?h.createElement(v.ZP,(0,g.Z)({},i,{motionAppear:!0,visible:o,removeOnLeave:!0}),(function(e){var o=e.className;return h.createElement("div",{style:{zIndex:r},className:s()("".concat(t,"-mask"),o)})})):null}var x=h.memo((function(e){return e.children}),(function(e,t){return t.cache}));var k=h.forwardRef((function(e,t){var o=e.popup,i=e.className,a=e.prefixCls,l=e.style,u=e.target,d=e.onVisibleChanged,p=e.open,f=e.keepDom,m=e.fresh,k=e.onClick,$=e.mask,S=e.arrow,O=e.arrowPos,E=e.align,P=e.motion,R=e.maskMotion,Z=e.forceRender,M=e.getPopupContainer,j=e.autoDestroy,N=e.portal,B=e.zIndex,I=e.onMouseEnter,A=e.onMouseLeave,L=e.onPointerEnter,D=e.ready,T=e.offsetX,z=e.offsetY,_=e.offsetR,V=e.offsetB,H=e.onAlign,W=e.onPrepare,X=e.stretch,Y=e.targetWidth,F=e.targetHeight,q="function"==typeof o?o():o,G=p||f,U=(null==M?void 0:M.length)>0,Q=h.useState(!M||!U),J=(0,n.Z)(Q,2),K=J[0],ee=J[1];if((0,b.Z)((function(){!K&&U&&u&&ee(!0)}),[K,U,u]),!K)return null;var te="auto",oe={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if(D||!p){var re,ne=E.points,ie=E.dynamicInset||(null===(re=E._experimental)||void 0===re?void 0:re.dynamicInset),ae=ie&&"r"===ne[0][1],le=ie&&"b"===ne[0][0];ae?(oe.right=_,oe.left=te):(oe.left=T,oe.right=te),le?(oe.bottom=V,oe.top=te):(oe.top=z,oe.bottom=te)}var se={};return X&&(X.includes("height")&&F?se.height=F:X.includes("minHeight")&&F&&(se.minHeight=F),X.includes("width")&&Y?se.width=Y:X.includes("minWidth")&&Y&&(se.minWidth=Y)),p||(se.pointerEvents="none"),h.createElement(N,{open:Z||G,getContainer:M&&function(){return M(u)},autoDestroy:j},h.createElement(C,{prefixCls:a,open:p,zIndex:B,mask:$,motion:R}),h.createElement(c.Z,{onResize:H,disabled:!p},(function(e){return h.createElement(v.ZP,(0,g.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Z,leavedClassName:"".concat(a,"-hidden")},P,{onAppearPrepare:W,onEnterPrepare:W,visible:p,onVisibleChanged:function(e){var t;null==P||null===(t=P.onVisibleChanged)||void 0===t||t.call(P,e),d(e)}}),(function(o,n){var c=o.className,u=o.style,d=s()(a,c,i);return h.createElement("div",{ref:(0,y.sQ)(e,t,n),className:d,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(O.x||0,"px"),"--arrow-y":"".concat(O.y||0,"px")},oe),se),u),{},{boxSizing:"border-box",zIndex:B},l),onMouseEnter:I,onMouseLeave:A,onPointerEnter:L,onClick:k},S&&h.createElement(w,{prefixCls:a,arrow:S,arrowPos:O,align:E}),h.createElement(x,{cache:!p&&!m},q))}))})))}));var $=h.forwardRef((function(e,t){var o=e.children,r=e.getTriggerDOMNode,n=(0,y.Yr)(o),i=h.useCallback((function(e){(0,y.mH)(t,r?r(e):e)}),[r]),a=(0,y.x1)(i,o.ref);return n?h.cloneElement(o,{ref:a}):o})),S=h.createContext(null);function O(e){return e?Array.isArray(e)?e:[e]:[]}function E(e,t,o,r){return h.useMemo((function(){var n=O(null!=o?o:t),i=O(null!=r?r:t),a=new Set(n),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]}),[e,t,o,r])}var P=o(57840);function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;return o?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Z(e,t,o,r){for(var n=o.points,i=Object.keys(e),a=0;a<i.length;a+=1){var l,s=i[a];if(R(null===(l=e[s])||void 0===l?void 0:l.points,n,r))return"".concat(t,"-placement-").concat(s)}return""}function M(e,t,o,r){return t||(o?{motionName:"".concat(e,"-").concat(o)}:r?{motionName:r}:null)}function j(e){return e.ownerDocument.defaultView}function N(e){for(var t=[],o=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];o;){var n=j(o).getComputedStyle(o);[n.overflowX,n.overflowY,n.overflow].some((function(e){return r.includes(e)}))&&t.push(o),o=o.parentElement}return t}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function I(e){return B(parseFloat(e),0)}function A(e,t){var o=(0,r.Z)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=j(e).getComputedStyle(e),r=t.overflow,n=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,l=t.borderLeftWidth,s=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,p=e.offsetWidth,f=e.clientWidth,b=I(i),m=I(a),h=I(l),g=I(s),v=B(Math.round(c.width/p*1e3)/1e3),y=B(Math.round(c.height/u*1e3)/1e3),w=(p-f-h-g)*v,C=(u-d-b-m)*y,x=b*y,k=m*y,$=h*v,S=g*v,O=0,E=0;if("clip"===r){var P=I(n);O=P*v,E=P*y}var R=c.x+$-O,Z=c.y+x-E,M=R+c.width+2*O-$-S-w,N=Z+c.height+2*E-x-k-C;o.left=Math.max(o.left,R),o.top=Math.max(o.top,Z),o.right=Math.min(o.right,M),o.bottom=Math.min(o.bottom,N)}})),o}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o="".concat(t),r=o.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(o)}function D(e,t){var o=t||[],r=(0,n.Z)(o,2),i=r[0],a=r[1];return[L(e.width,i),L(e.height,a)]}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function z(e,t){var o,r=t[0],n=t[1];return o="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===n?e.x:"r"===n?e.x+e.width:e.x+e.width/2,y:o}}function _(e,t){var o={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?o[e]||"c":e})).join("")}function V(e,t,o,i,a,l,s){var c=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[i]||{}}),d=(0,n.Z)(c,2),f=d[0],m=d[1],g=h.useRef(0),v=h.useMemo((function(){return t?N(t):[]}),[t]),y=h.useRef({});e||(y.current={});var w=(0,p.Z)((function(){if(t&&o&&e){var c,d,p,f=t,b=f.ownerDocument,h=j(f).getComputedStyle(f),g=h.width,w=h.height,C=h.position,x=f.style.left,k=f.style.top,$=f.style.right,S=f.style.bottom,O=f.style.overflow,E=(0,r.Z)((0,r.Z)({},a[i]),l),R=b.createElement("div");if(null===(c=f.parentElement)||void 0===c||c.appendChild(R),R.style.left="".concat(f.offsetLeft,"px"),R.style.top="".concat(f.offsetTop,"px"),R.style.position=C,R.style.height="".concat(f.offsetHeight,"px"),R.style.width="".concat(f.offsetWidth,"px"),f.style.left="0",f.style.top="0",f.style.right="auto",f.style.bottom="auto",f.style.overflow="hidden",Array.isArray(o))p={x:o[0],y:o[1],width:0,height:0};else{var Z=o.getBoundingClientRect();p={x:Z.x,y:Z.y,width:Z.width,height:Z.height}}var M=f.getBoundingClientRect(),N=b.documentElement,I=N.clientWidth,L=N.clientHeight,V=N.scrollWidth,H=N.scrollHeight,W=N.scrollTop,X=N.scrollLeft,Y=M.height,F=M.width,q=p.height,G=p.width,U={left:0,top:0,right:I,bottom:L},Q={left:-X,top:-W,right:V-X,bottom:H-W},J=E.htmlRegion,K="visible",ee="visibleFirst";"scroll"!==J&&J!==ee&&(J=K);var te=J===ee,oe=A(Q,v),re=A(U,v),ne=J===K?re:oe,ie=te?re:ne;f.style.left="auto",f.style.top="auto",f.style.right="0",f.style.bottom="0";var ae=f.getBoundingClientRect();f.style.left=x,f.style.top=k,f.style.right=$,f.style.bottom=S,f.style.overflow=O,null===(d=f.parentElement)||void 0===d||d.removeChild(R);var le=B(Math.round(F/parseFloat(g)*1e3)/1e3),se=B(Math.round(Y/parseFloat(w)*1e3)/1e3);if(0===le||0===se||(0,u.Sh)(o)&&!(0,P.Z)(o))return;var ce=E.offset,ue=E.targetOffset,de=D(M,ce),pe=(0,n.Z)(de,2),fe=pe[0],be=pe[1],me=D(p,ue),he=(0,n.Z)(me,2),ge=he[0],ve=he[1];p.x-=ge,p.y-=ve;var ye=E.points||[],we=(0,n.Z)(ye,2),Ce=we[0],xe=T(we[1]),ke=T(Ce),$e=z(p,xe),Se=z(M,ke),Oe=(0,r.Z)({},E),Ee=$e.x-Se.x+fe,Pe=$e.y-Se.y+be;function Ct(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ne,r=M.x+e,n=M.y+t,i=r+F,a=n+Y,l=Math.max(r,o.left),s=Math.max(n,o.top),c=Math.min(i,o.right),u=Math.min(a,o.bottom);return Math.max(0,(c-l)*(u-s))}var Re,Ze,Me,je,Ne=Ct(Ee,Pe),Be=Ct(Ee,Pe,re),Ie=z(p,["t","l"]),Ae=z(M,["t","l"]),Le=z(p,["b","r"]),De=z(M,["b","r"]),Te=E.overflow||{},ze=Te.adjustX,_e=Te.adjustY,Ve=Te.shiftX,He=Te.shiftY,We=function(e){return"boolean"==typeof e?e:e>=0};function xt(){Re=M.y+Pe,Ze=Re+Y,Me=M.x+Ee,je=Me+F}xt();var Xe=We(_e),Ye=ke[0]===xe[0];if(Xe&&"t"===ke[0]&&(Ze>ie.bottom||y.current.bt)){var Fe=Pe;Ye?Fe-=Y-q:Fe=Ie.y-De.y-be;var qe=Ct(Ee,Fe),Ge=Ct(Ee,Fe,re);qe>Ne||qe===Ne&&(!te||Ge>=Be)?(y.current.bt=!0,Pe=Fe,be=-be,Oe.points=[_(ke,0),_(xe,0)]):y.current.bt=!1}if(Xe&&"b"===ke[0]&&(Re<ie.top||y.current.tb)){var Ue=Pe;Ye?Ue+=Y-q:Ue=Le.y-Ae.y-be;var Qe=Ct(Ee,Ue),Je=Ct(Ee,Ue,re);Qe>Ne||Qe===Ne&&(!te||Je>=Be)?(y.current.tb=!0,Pe=Ue,be=-be,Oe.points=[_(ke,0),_(xe,0)]):y.current.tb=!1}var Ke=We(ze),et=ke[1]===xe[1];if(Ke&&"l"===ke[1]&&(je>ie.right||y.current.rl)){var tt=Ee;et?tt-=F-G:tt=Ie.x-De.x-fe;var ot=Ct(tt,Pe),rt=Ct(tt,Pe,re);ot>Ne||ot===Ne&&(!te||rt>=Be)?(y.current.rl=!0,Ee=tt,fe=-fe,Oe.points=[_(ke,1),_(xe,1)]):y.current.rl=!1}if(Ke&&"r"===ke[1]&&(Me<ie.left||y.current.lr)){var nt=Ee;et?nt+=F-G:nt=Le.x-Ae.x-fe;var it=Ct(nt,Pe),at=Ct(nt,Pe,re);it>Ne||it===Ne&&(!te||at>=Be)?(y.current.lr=!0,Ee=nt,fe=-fe,Oe.points=[_(ke,1),_(xe,1)]):y.current.lr=!1}xt();var lt=!0===Ve?0:Ve;"number"==typeof lt&&(Me<re.left&&(Ee-=Me-re.left-fe,p.x+G<re.left+lt&&(Ee+=p.x-re.left+G-lt)),je>re.right&&(Ee-=je-re.right-fe,p.x>re.right-lt&&(Ee+=p.x-re.right+lt)));var st=!0===He?0:He;"number"==typeof st&&(Re<re.top&&(Pe-=Re-re.top-be,p.y+q<re.top+st&&(Pe+=p.y-re.top+q-st)),Ze>re.bottom&&(Pe-=Ze-re.bottom-be,p.y>re.bottom-st&&(Pe+=p.y-re.bottom+st)));var ct=M.x+Ee,ut=ct+F,dt=M.y+Pe,pt=dt+Y,ft=p.x,bt=ft+G,mt=p.y,ht=mt+q,gt=(Math.max(ct,ft)+Math.min(ut,bt))/2-ct,vt=(Math.max(dt,mt)+Math.min(pt,ht))/2-dt;null==s||s(t,Oe);var yt=ae.right-M.x-(Ee+M.width),wt=ae.bottom-M.y-(Pe+M.height);m({ready:!0,offsetX:Ee/le,offsetY:Pe/se,offsetR:yt/le,offsetB:wt/se,arrowX:gt/le,arrowY:vt/se,scaleX:le,scaleY:se,align:Oe})}})),C=function(){m((function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})}))};return(0,b.Z)(C,[i]),(0,b.Z)((function(){e||C()}),[e]),[f.ready,f.offsetX,f.offsetY,f.offsetR,f.offsetB,f.arrowX,f.arrowY,f.scaleX,f.scaleY,f.align,function(){g.current+=1;var e=g.current;Promise.resolve().then((function(){g.current===e&&w()}))}]}var H=o(34706);function W(e,t,o,r,n){(0,b.Z)((function(){if(e&&t&&o){var i=o,a=N(t),l=N(i),s=j(i),c=new Set([s].concat((0,H.Z)(a),(0,H.Z)(l)));function u(){r(),n()}return c.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),s.addEventListener("resize",u,{passive:!0}),r(),function(){c.forEach((function(e){e.removeEventListener("scroll",u),s.removeEventListener("resize",u)}))}}}),[e,t,o])}o(85870);var X=o(71783);function Y(e,t,o,r,i,a,l,s){var c=h.useRef(e),u=h.useRef(!1);c.current!==e&&(u.current=!0,c.current=e),h.useEffect((function(){var e=(0,X.Z)((function(){u.current=!1}));return function(){X.Z.cancel(e)}}),[e]),h.useEffect((function(){if(t&&r&&(!i||a)){var e=function(){var e=!1;return[function(t){var o=t.target;e=l(o)},function(t){var o=t.target;u.current||!c.current||e||l(o)||s(!1)}]},p=e(),f=(0,n.Z)(p,2),b=f[0],m=f[1],h=e(),g=(0,n.Z)(h,2),v=g[0],y=g[1],w=j(r);w.addEventListener("mousedown",b,!0),w.addEventListener("click",m,!0),w.addEventListener("contextmenu",m,!0);var C=(0,d.A)(o);return C&&(C.addEventListener("mousedown",v,!0),C.addEventListener("click",y,!0),C.addEventListener("contextmenu",y,!0)),function(){w.removeEventListener("mousedown",b,!0),w.removeEventListener("click",m,!0),w.removeEventListener("contextmenu",m,!0),C&&(C.removeEventListener("mousedown",v,!0),C.removeEventListener("click",y,!0),C.removeEventListener("contextmenu",y,!0))}}}),[t,o,r,i,a])}var F=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z,t=h.forwardRef((function(t,o){var a=t.prefixCls,l=void 0===a?"rc-trigger-popup":a,g=t.children,v=t.action,y=void 0===v?"hover":v,w=t.showAction,C=t.hideAction,x=t.popupVisible,O=t.defaultPopupVisible,P=t.onPopupVisibleChange,R=t.afterPopupVisibleChange,j=t.mouseEnterDelay,N=t.mouseLeaveDelay,B=void 0===N?.1:N,I=t.focusDelay,A=t.blurDelay,L=t.mask,D=t.maskClosable,T=void 0===D||D,z=t.getPopupContainer,_=t.forceRender,H=t.autoDestroy,X=t.destroyPopupOnHide,q=t.popup,G=t.popupClassName,U=t.popupStyle,Q=t.popupPlacement,J=t.builtinPlacements,K=void 0===J?{}:J,ee=t.popupAlign,te=t.zIndex,oe=t.stretch,re=t.getPopupClassNameFromAlign,ne=t.fresh,ie=t.alignPoint,ae=t.onPopupClick,le=t.onPopupAlign,se=t.arrow,ce=t.popupMotion,ue=t.maskMotion,de=t.popupTransitionName,pe=t.popupAnimation,fe=t.maskTransitionName,be=t.maskAnimation,me=t.className,he=t.getTriggerDOMNode,ge=(0,i.Z)(t,F),ve=H||X||!1,ye=h.useState(!1),we=(0,n.Z)(ye,2),Ce=we[0],xe=we[1];(0,b.Z)((function(){xe((0,m.Z)())}),[]);var ke=h.useRef({}),$e=h.useContext(S),Se=h.useMemo((function(){return{registerSubPopup:function(e,t){ke.current[e]=t,null==$e||$e.registerSubPopup(e,t)}}}),[$e]),Oe=(0,f.Z)(),Ee=h.useState(null),Pe=(0,n.Z)(Ee,2),Re=Pe[0],Ze=Pe[1],Me=(0,p.Z)((function(e){(0,u.Sh)(e)&&Re!==e&&Ze(e),null==$e||$e.registerSubPopup(Oe,e)})),je=h.useState(null),Ne=(0,n.Z)(je,2),Be=Ne[0],Ie=Ne[1],Ae=h.useRef(null),Le=(0,p.Z)((function(e){(0,u.Sh)(e)&&Be!==e&&(Ie(e),Ae.current=e)})),De=h.Children.only(g),Te=(null==De?void 0:De.props)||{},ze={},_e=(0,p.Z)((function(e){var t,o,r=Be;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.A)(r))||void 0===t?void 0:t.host)===e||e===r||(null==Re?void 0:Re.contains(e))||(null===(o=(0,d.A)(Re))||void 0===o?void 0:o.host)===e||e===Re||Object.values(ke.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Ve=M(l,ce,pe,de),He=M(l,ue,be,fe),We=h.useState(O||!1),Xe=(0,n.Z)(We,2),Ye=Xe[0],Fe=Xe[1],qe=null!=x?x:Ye,Ge=(0,p.Z)((function(e){void 0===x&&Fe(e)}));(0,b.Z)((function(){Fe(x||!1)}),[x]);var Ue=h.useRef(qe);Ue.current=qe;var Qe=h.useRef([]);Qe.current=[];var Je=(0,p.Z)((function(e){var t;Ge(e),(null!==(t=Qe.current[Qe.current.length-1])&&void 0!==t?t:qe)!==e&&(Qe.current.push(e),null==P||P(e))})),Ke=h.useRef(),et=function(){clearTimeout(Ke.current)},tt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;et(),0===t?Je(e):Ke.current=setTimeout((function(){Je(e)}),1e3*t)};h.useEffect((function(){return et}),[]);var ot=h.useState(!1),rt=(0,n.Z)(ot,2),nt=rt[0],it=rt[1];(0,b.Z)((function(e){e&&!qe||it(!0)}),[qe]);var at=h.useState(null),lt=(0,n.Z)(at,2),st=lt[0],ct=lt[1],ut=h.useState([0,0]),dt=(0,n.Z)(ut,2),pt=dt[0],ft=dt[1],bt=function(e){ft([e.clientX,e.clientY])},mt=V(qe,Re,ie?pt:Be,Q,K,ee,le),ht=(0,n.Z)(mt,11),gt=ht[0],vt=ht[1],yt=ht[2],wt=ht[3],Ct=ht[4],xt=ht[5],kt=ht[6],$t=ht[7],St=ht[8],Ot=ht[9],Et=ht[10],Pt=E(Ce,y,w,C),Rt=(0,n.Z)(Pt,2),Zt=Rt[0],Mt=Rt[1],jt=Zt.has("click"),Nt=Mt.has("click")||Mt.has("contextMenu"),Bt=(0,p.Z)((function(){nt||Et()}));W(qe,Be,Re,Bt,(function(){Ue.current&&ie&&Nt&&tt(!1)})),(0,b.Z)((function(){Bt()}),[pt,Q]),(0,b.Z)((function(){!qe||null!=K&&K[Q]||Bt()}),[JSON.stringify(ee)]);var It=h.useMemo((function(){var e=Z(K,l,Ot,ie);return s()(e,null==re?void 0:re(Ot))}),[Ot,re,K,l,ie]);h.useImperativeHandle(o,(function(){return{nativeElement:Ae.current,forceAlign:Bt}}));var At=h.useState(0),Lt=(0,n.Z)(At,2),Dt=Lt[0],Tt=Lt[1],zt=h.useState(0),_t=(0,n.Z)(zt,2),Vt=_t[0],Ht=_t[1],Wt=function(){if(oe&&Be){var e=Be.getBoundingClientRect();Tt(e.width),Ht(e.height)}};function Xt(e,t,o,r){ze[e]=function(n){var i;null==r||r(n),tt(t,o);for(var a=arguments.length,l=new Array(a>1?a-1:0),s=1;s<a;s++)l[s-1]=arguments[s];null===(i=Te[e])||void 0===i||i.call.apply(i,[Te,n].concat(l))}}(0,b.Z)((function(){st&&(Et(),st(),ct(null))}),[st]),(jt||Nt)&&(ze.onClick=function(e){var t;Ue.current&&Nt?tt(!1):!Ue.current&&jt&&(bt(e),tt(!0));for(var o=arguments.length,r=new Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];null===(t=Te.onClick)||void 0===t||t.call.apply(t,[Te,e].concat(r))}),Y(qe,Nt,Be,Re,L,T,_e,tt);var Yt,Ft,qt=Zt.has("hover"),Gt=Mt.has("hover");qt&&(Xt("onMouseEnter",!0,j,(function(e){bt(e)})),Xt("onPointerEnter",!0,j,(function(e){bt(e)})),Yt=function(e){(qe||nt)&&null!=Re&&Re.contains(e.target)&&tt(!0,j)},ie&&(ze.onMouseMove=function(e){var t;null===(t=Te.onMouseMove)||void 0===t||t.call(Te,e)})),Gt&&(Xt("onMouseLeave",!1,B),Xt("onPointerLeave",!1,B),Ft=function(){tt(!1,B)}),Zt.has("focus")&&Xt("onFocus",!0,I),Mt.has("focus")&&Xt("onBlur",!1,A),Zt.has("contextMenu")&&(ze.onContextMenu=function(e){var t;Ue.current&&Mt.has("contextMenu")?tt(!1):(bt(e),tt(!0)),e.preventDefault();for(var o=arguments.length,r=new Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];null===(t=Te.onContextMenu)||void 0===t||t.call.apply(t,[Te,e].concat(r))}),me&&(ze.className=s()(Te.className,me));var Ut=(0,r.Z)((0,r.Z)({},Te),ze),Qt={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach((function(e){ge[e]&&(Qt[e]=function(){for(var t,o=arguments.length,r=new Array(o),n=0;n<o;n++)r[n]=arguments[n];null===(t=Ut[e])||void 0===t||t.call.apply(t,[Ut].concat(r)),ge[e].apply(ge,r)})}));var Jt=h.cloneElement(De,(0,r.Z)((0,r.Z)({},Ut),Qt)),Kt={x:xt,y:kt},eo=se?(0,r.Z)({},!0!==se?se:{}):null;return h.createElement(h.Fragment,null,h.createElement(c.Z,{disabled:!qe,ref:Le,onResize:function(){Wt(),Bt()}},h.createElement($,{getTriggerDOMNode:he},Jt)),h.createElement(S.Provider,{value:Se},h.createElement(k,{portal:e,ref:Me,prefixCls:l,popup:q,className:s()(G,It),style:U,target:Be,onMouseEnter:Yt,onMouseLeave:Ft,onPointerEnter:Yt,zIndex:te,open:qe,keepDom:nt,fresh:ne,onClick:ae,mask:L,motion:Ve,maskMotion:He,onVisibleChanged:function(e){it(!1),Et(),null==R||R(e)},onPrepare:function(){return new Promise((function(e){Wt(),ct((function(){return e}))}))},forceRender:_,autoDestroy:ve,getPopupContainer:z,align:Ot,arrow:eo,arrowPos:Kt,ready:gt,offsetX:vt,offsetY:yt,offsetR:wt,offsetB:Ct,onAlign:Bt,stretch:oe,targetWidth:Dt/$t,targetHeight:Vt/St})))}));return t}(a.Z)},79676:function(e,t,o){o.d(t,{Z:function(){return l}});var r=o(60293);const n={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},i={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},a=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function l(e){const{arrowWidth:t,autoAdjustOverflow:o,arrowPointAtCenter:l,offset:s,borderRadius:c,visibleFirst:u}=e,d=t/2,p={};return Object.keys(n).forEach((e=>{const f=l&&i[e]||n[e],b=Object.assign(Object.assign({},f),{offset:[0,0]});switch(p[e]=b,a.has(e)&&(b.autoArrow=!1),e){case"top":case"topLeft":case"topRight":b.offset[1]=-d-s;break;case"bottom":case"bottomLeft":case"bottomRight":b.offset[1]=d+s;break;case"left":case"leftTop":case"leftBottom":b.offset[0]=-d-s;break;case"right":case"rightTop":case"rightBottom":b.offset[0]=d+s}const m=(0,r.fS)({contentRadius:c,limitVerticalRadius:!0});if(l)switch(e){case"topLeft":case"bottomLeft":b.offset[0]=-m.dropdownArrowOffset-d;break;case"topRight":case"bottomRight":b.offset[0]=m.dropdownArrowOffset+d;break;case"leftTop":case"rightTop":b.offset[1]=-m.dropdownArrowOffset-d;break;case"leftBottom":case"rightBottom":b.offset[1]=m.dropdownArrowOffset+d}b.overflow=function(e,t,o,r){if(!1===r)return{adjustX:!1,adjustY:!1};const n=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.dropdownArrowOffset+o;break;case"left":case"right":i.shiftY=2*t.dropdownArrowOffsetVertical+o}const a=Object.assign(Object.assign({},i),n);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,m,t,o),u&&(b.htmlRegion="visibleFirst")})),p}},69507:function(e,t,o){o.d(t,{ZP:function(){return a},c4:function(){return i}});var r=o(59301),n=o(88088);const i=["xxl","xl","lg","md","sm","xs"];function a(){const[,e]=(0,n.Z)(),t=(e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}))((e=>{const t=e,o=[].concat(i).reverse();return o.forEach(((e,r)=>{const n=e.toUpperCase(),i=`screen${n}Min`,a=`screen${n}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(r<o.length-1){const e=`screen${n}Max`;if(!(t[a]<=t[e]))throw new Error(`${a}<=${e} fails : !(${t[a]}<=${t[e]})`);const i=`screen${o[r+1].toUpperCase()}Min`;if(!(t[e]<=t[i]))throw new Error(`${e}<=${i} fails : !(${t[e]}<=${t[i]})`)}})),e})(e));return r.useMemo((()=>{const e=new Map;let o=-1,r={};return{matchHandlers:{},dispatch(t){return r=t,e.forEach((e=>e(r))),e.size>=1},subscribe(t){return e.size||this.register(),o+=1,e.set(o,t),t(r),o},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const o=t[e],r=this.matchHandlers[o];null==r||r.mql.removeListener(null==r?void 0:r.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const o=t[e],n=t=>{let{matches:o}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:o}))},i=window.matchMedia(o);i.addListener(n),this.matchHandlers[o]={mql:i,listener:n},n(i)}))},responsiveMap:t}}),[e])}},24905:function(e,t,o){o.d(t,{Z:function(){return $}});var r=o(92310),n=o.n(r),i=o(5630),a=o(59301),l=o(36355),s=o(1684),c=o(32441);var u=a.createContext(null),d=o(98447),p=o(14088),f=o(4572),b=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o};const m=(e,t)=>{var o;const{prefixCls:r,className:m,rootClassName:h,children:g,indeterminate:v=!1,style:y,onMouseEnter:w,onMouseLeave:C,skipGroup:x=!1,disabled:k}=e,$=b(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:S,direction:O,checkbox:E}=a.useContext(l.E_),P=a.useContext(u),{isFormItemInput:R}=a.useContext(c.aM),Z=a.useContext(s.Z),M=null!==(o=(null==P?void 0:P.disabled)||k)&&void 0!==o?o:Z,j=a.useRef($.value);a.useEffect((()=>{null==P||P.registerValue($.value)}),[]),a.useEffect((()=>{if(!x)return $.value!==j.current&&(null==P||P.cancelValue(j.current),null==P||P.registerValue($.value),j.current=$.value),()=>null==P?void 0:P.cancelValue($.value)}),[$.value]);const N=S("checkbox",r),[B,I]=(0,d.ZP)(N),A=Object.assign({},$);P&&!x&&(A.onChange=function(){$.onChange&&$.onChange.apply($,arguments),P.toggleOption&&P.toggleOption({label:g,value:$.value})},A.name=P.name,A.checked=P.value.includes($.value));const L=n()(`${N}-wrapper`,{[`${N}-rtl`]:"rtl"===O,[`${N}-wrapper-checked`]:A.checked,[`${N}-wrapper-disabled`]:M,[`${N}-wrapper-in-form-item`]:R},null==E?void 0:E.className,m,h,I),D=n()({[`${N}-indeterminate`]:v},f.A,I),T=v?"mixed":void 0;return B(a.createElement(p.Z,{component:"Checkbox",disabled:M},a.createElement("label",{className:L,style:Object.assign(Object.assign({},null==E?void 0:E.style),y),onMouseEnter:w,onMouseLeave:C},a.createElement(i.Z,Object.assign({"aria-checked":T},A,{prefixCls:N,className:D,disabled:M,ref:t})),void 0!==g&&a.createElement("span",null,g))))};var h=a.forwardRef(m),g=o(34706),v=o(55405),y=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o};const w=(e,t)=>{const{defaultValue:o,children:r,options:i=[],prefixCls:s,className:c,rootClassName:p,style:f,onChange:b}=e,m=y(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:w,direction:C}=a.useContext(l.E_),[x,k]=a.useState(m.value||o||[]),[$,S]=a.useState([]);a.useEffect((()=>{"value"in m&&k(m.value||[])}),[m.value]);const O=a.useMemo((()=>i.map((e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e))),[i]),E=w("checkbox",s),P=`${E}-group`,[R,Z]=(0,d.ZP)(E),M=(0,v.Z)(m,["value","disabled"]),j=i.length?O.map((e=>a.createElement(h,{prefixCls:E,key:e.value.toString(),disabled:"disabled"in e?e.disabled:m.disabled,value:e.value,checked:x.includes(e.value),onChange:e.onChange,className:`${P}-item`,style:e.style,title:e.title},e.label))):r,N={toggleOption:e=>{const t=x.indexOf(e.value),o=(0,g.Z)(x);-1===t?o.push(e.value):o.splice(t,1),"value"in m||k(o),null==b||b(o.filter((e=>$.includes(e))).sort(((e,t)=>O.findIndex((t=>t.value===e))-O.findIndex((e=>e.value===t)))))},value:x,disabled:m.disabled,name:m.name,registerValue:e=>{S((t=>[].concat((0,g.Z)(t),[e])))},cancelValue:e=>{S((t=>t.filter((t=>t!==e))))}},B=n()(P,{[`${P}-rtl`]:"rtl"===C},c,p,Z);return R(a.createElement("div",Object.assign({className:B,style:f},M,{ref:t}),a.createElement(u.Provider,{value:N},j)))},C=a.forwardRef(w);var x=a.memo(C);const k=h;k.Group=x,k.__ANT_CHECKBOX=!0;var $=k},98447:function(e,t,o){o.d(t,{C2:function(){return l}});var r=o(17313),n=o(37613),i=o(83116);const a=e=>{const{checkboxCls:t}=e,o=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,r.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[o]:Object.assign(Object.assign({},(0,r.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${o}`]:{marginInlineStart:0},[`&${o}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,r.oN)(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`\n ${o}:not(${o}-disabled),\n ${t}:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${o}:not(${o}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`\n ${o}-checked:not(${o}-disabled),\n ${t}-checked:not(${t}-disabled)\n `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${o}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function l(e,t){const o=(0,n.TS)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[a(o)]}t.ZP=(0,i.Z)("Checkbox",((e,t)=>{let{prefixCls:o}=t;return[l(o,e)]}))},5112:function(e,t,o){o.d(t,{ZP:function(){return D}});var r=o(92310),n=o.n(r),i=o(71366),a=o(47413),l=o(59301),s=o(36355),c=o(19716);const u=l.createContext(null),d=u.Provider;var p=u;const f=l.createContext(null),b=f.Provider;var m=o(5630),h=o(25629),g=o(1684),v=o(32441),y=o(17313),w=o(83116),C=o(37613);const x=e=>{const{componentCls:t,antCls:o}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},(0,y.Wf)(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${o}-badge ${o}-badge-count`]:{zIndex:1},[`> ${o}-badge:not(:first-child) > ${o}-button-wrapper`]:{borderInlineStart:"none"}})}},k=e=>{const{componentCls:t,wrapperMarginInlineEnd:o,colorPrimary:r,radioSize:n,motionDurationSlow:i,motionDurationMid:a,motionEaseInOutCirc:l,colorBgContainer:s,colorBorder:c,lineWidth:u,dotSize:d,colorBgContainerDisabled:p,colorTextDisabled:f,paddingXS:b,dotColorDisabled:m,lineType:h,radioDotDisabledSize:g,wireframe:v,colorWhite:w}=e,C=`${t}-inner`;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,y.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:o,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${u}px ${h} ${r}`,borderRadius:"50%",visibility:"hidden",content:'""'},[t]:Object.assign(Object.assign({},(0,y.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &,\n &:hover ${C}`]:{borderColor:r},[`${t}-input:focus-visible + ${C}`]:Object.assign({},(0,y.oN)(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:n,height:n,marginBlockStart:n/-2,marginInlineStart:n/-2,backgroundColor:v?r:w,borderBlockStart:0,borderInlineStart:0,borderRadius:n,transform:"scale(0)",opacity:0,transition:`all ${i} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:n,height:n,backgroundColor:s,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[C]:{borderColor:r,backgroundColor:v?s:r,"&::after":{transform:`scale(${d/n})`,opacity:1,transition:`all ${i} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[C]:{backgroundColor:p,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:m}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[C]:{"&::after":{transform:`scale(${g/n})`}}}},[`span${t} + *`]:{paddingInlineStart:b,paddingInlineEnd:b}})}},$=e=>{const{buttonColor:t,controlHeight:o,componentCls:r,lineWidth:n,lineType:i,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:p,controlHeightLG:f,controlHeightSM:b,paddingXS:m,borderRadius:h,borderRadiusSM:g,borderRadiusLG:v,buttonCheckedBg:w,buttonSolidCheckedColor:C,colorTextDisabled:x,colorBgContainerDisabled:k,buttonCheckedBgDisabled:$,buttonCheckedColorDisabled:S,colorPrimary:O,colorPrimaryHover:E,colorPrimaryActive:P,buttonSolidCheckedBg:R,buttonSolidCheckedHoverBg:Z,buttonSolidCheckedActiveBg:M}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:o,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:o-2*n+"px",background:d,border:`${n}px ${i} ${a}`,borderBlockStartWidth:n+.02,borderInlineStartWidth:0,borderInlineEndWidth:n,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-n,insetInlineStart:-n,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:n,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${n}px ${i} ${a}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:f,fontSize:p,lineHeight:f-2*n+"px","&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${r}-group-small &`]:{height:b,paddingInline:m-n,paddingBlock:0,lineHeight:b-2*n+"px","&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},(0,y.oN)(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:w,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:E,borderColor:E,"&::before":{backgroundColor:E}},"&:active":{color:P,borderColor:P,"&::before":{backgroundColor:P}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:R,borderColor:R,"&:hover":{color:C,background:Z,borderColor:Z},"&:active":{color:C,background:M,borderColor:M}},"&-disabled":{color:x,backgroundColor:k,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:k,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:S,backgroundColor:$,borderColor:a,boxShadow:"none"}}}},S=e=>e-8;var O=(0,w.Z)("Radio",(e=>{const{controlOutline:t,controlOutlineWidth:o,radioSize:r}=e,n=`0 0 0 ${o}px ${t}`,i=n,a=S(r),l=(0,C.TS)(e,{radioDotDisabledSize:a,radioFocusShadow:n,radioButtonFocusShadow:i});return[x(l),k(l),$(l)]}),(e=>{const{wireframe:t,padding:o,marginXS:r,lineWidth:n,fontSizeLG:i,colorText:a,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:p,colorPrimaryActive:f}=e,b=i;return{radioSize:b,dotSize:t?S(b):b-2*(4+n),dotColorDisabled:s,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:f,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:s,buttonPaddingInline:o-n,wrapperMarginInlineEnd:r}})),E=o(14088),P=o(4572),R=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o};const Z=(e,t)=>{var o,r;const i=l.useContext(p),a=l.useContext(f),{getPrefixCls:c,direction:u,radio:d}=l.useContext(s.E_),b=l.useRef(null),y=(0,h.sQ)(t,b),{isFormItemInput:w}=l.useContext(v.aM),C=t=>{var o,r;null===(o=e.onChange)||void 0===o||o.call(e,t),null===(r=null==i?void 0:i.onChange)||void 0===r||r.call(i,t)},{prefixCls:x,className:k,rootClassName:$,children:S,style:Z}=e,M=R(e,["prefixCls","className","rootClassName","children","style"]),j=c("radio",x),N="button"===((null==i?void 0:i.optionType)||a),B=N?`${j}-button`:j,[I,A]=O(j),L=Object.assign({},M),D=l.useContext(g.Z);i&&(L.name=i.name,L.onChange=C,L.checked=e.value===i.value,L.disabled=null!==(o=L.disabled)&&void 0!==o?o:i.disabled),L.disabled=null!==(r=L.disabled)&&void 0!==r?r:D;const T=n()(`${B}-wrapper`,{[`${B}-wrapper-checked`]:L.checked,[`${B}-wrapper-disabled`]:L.disabled,[`${B}-wrapper-rtl`]:"rtl"===u,[`${B}-wrapper-in-form-item`]:w},null==d?void 0:d.className,k,$,A);return I(l.createElement(E.Z,{component:"Radio",disabled:L.disabled},l.createElement("label",{className:T,style:Object.assign(Object.assign({},null==d?void 0:d.style),Z),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},l.createElement(m.Z,Object.assign({},L,{className:n()(L.className,!N&&P.A),type:"radio",prefixCls:B,ref:y})),void 0!==S?l.createElement("span",null,S):null)))};var M=l.forwardRef(Z);const j=l.forwardRef(((e,t)=>{const{getPrefixCls:o,direction:r}=l.useContext(s.E_),[u,p]=(0,i.Z)(e.defaultValue,{value:e.value}),{prefixCls:f,className:b,rootClassName:m,options:h,buttonStyle:g="outline",disabled:v,children:y,size:w,style:C,id:x,onMouseEnter:k,onMouseLeave:$,onFocus:S,onBlur:E}=e,P=o("radio",f),R=`${P}-group`,[Z,j]=O(P);let N=y;h&&h.length>0&&(N=h.map((e=>"string"==typeof e||"number"==typeof e?l.createElement(M,{key:e.toString(),prefixCls:P,disabled:v,value:e,checked:u===e},e):l.createElement(M,{key:`radio-group-value-options-${e.value}`,prefixCls:P,disabled:e.disabled||v,value:e.value,checked:u===e.value,title:e.title,style:e.style},e.label))));const B=(0,c.Z)(w),I=n()(R,`${R}-${g}`,{[`${R}-${B}`]:B,[`${R}-rtl`]:"rtl"===r},b,m,j);return Z(l.createElement("div",Object.assign({},(0,a.Z)(e,{aria:!0,data:!0}),{className:I,style:C,onMouseEnter:k,onMouseLeave:$,onFocus:S,onBlur:E,id:x,ref:t}),l.createElement(d,{value:{onChange:t=>{const o=u,r=t.target.value;"value"in e||p(r);const{onChange:n}=e;n&&r!==o&&n(t)},value:u,disabled:e.disabled,name:e.name,optionType:e.optionType}},N)))}));var N=l.memo(j),B=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o};const I=(e,t)=>{const{getPrefixCls:o}=l.useContext(s.E_),{prefixCls:r}=e,n=B(e,["prefixCls"]),i=o("radio",r);return l.createElement(b,{value:"button"},l.createElement(M,Object.assign({prefixCls:i},n,{type:"radio",ref:t})))};var A=l.forwardRef(I);const L=M;L.Button=A,L.Group=N,L.__ANT_RADIO=!0;var D=L},60293:function(e,t,o){o.d(t,{qN:function(){return n},ZP:function(){return l},fS:function(){return i}});const r=(e,t,o,r,n)=>{const i=e/2,a=i,l=1*o/Math.sqrt(2),s=i-o*(1-1/Math.sqrt(2)),c=i-t*(1/Math.sqrt(2)),u=o*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),d=2*i-c,p=u,f=2*i-l,b=s,m=2*i-0,h=a,g=i*Math.sqrt(2)+o*(Math.sqrt(2)-2),v=o*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${v}px 100%, 50% ${v}px, ${2*i-v}px 100%, ${v}px 100%)`,`path('M 0 ${a} A ${o} ${o} 0 0 0 ${l} ${s} L ${c} ${u} A ${t} ${t} 0 0 1 ${d} ${p} L ${f} ${b} A ${o} ${o} 0 0 0 ${m} ${h} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:g,height:g,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},n=8;function i(e){const t=n,{contentRadius:o,limitVerticalRadius:r}=e,i=o>12?o+2:12;return{dropdownArrowOffset:i,dropdownArrowOffsetVertical:r?t:i}}function a(e,t){return e?t:{}}function l(e,t){const{componentCls:o,sizePopupArrow:n,borderRadiusXS:l,borderRadiusOuter:s,boxShadowPopoverArrow:c}=e,{colorBg:u,contentRadius:d=e.borderRadiusLG,limitVerticalRadius:p,arrowDistance:f=0,arrowPlacement:b={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:m,dropdownArrowOffset:h}=i({contentRadius:d,limitVerticalRadius:p});return{[o]:Object.assign(Object.assign(Object.assign(Object.assign({[`${o}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},r(n,l,s,u,c)),{"&:before":{background:u}})]},a(!!b.top,{[[`&-placement-top ${o}-arrow`,`&-placement-topLeft ${o}-arrow`,`&-placement-topRight ${o}-arrow`].join(",")]:{bottom:f,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${o}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-topRight ${o}-arrow`]:{right:{_skip_check_:!0,value:h}}})),a(!!b.bottom,{[[`&-placement-bottom ${o}-arrow`,`&-placement-bottomLeft ${o}-arrow`,`&-placement-bottomRight ${o}-arrow`].join(",")]:{top:f,transform:"translateY(-100%)"},[`&-placement-bottom ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${o}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-bottomRight ${o}-arrow`]:{right:{_skip_check_:!0,value:h}}})),a(!!b.left,{[[`&-placement-left ${o}-arrow`,`&-placement-leftTop ${o}-arrow`,`&-placement-leftBottom ${o}-arrow`].join(",")]:{right:{_skip_check_:!0,value:f},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${o}-arrow`]:{top:m},[`&-placement-leftBottom ${o}-arrow`]:{bottom:m}})),a(!!b.right,{[[`&-placement-right ${o}-arrow`,`&-placement-rightTop ${o}-arrow`,`&-placement-rightBottom ${o}-arrow`].join(",")]:{left:{_skip_check_:!0,value:f},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${o}-arrow`]:{top:m},[`&-placement-rightBottom ${o}-arrow`]:{bottom:m}}))}}},71736:function(e,t,o){o.d(t,{Z:function(){return _}});var r=o(59301),n=o(92310),i=o.n(n),a=o(81978),l=o(11625),s=o(62579),c=o(35593),u={shiftX:64,adjustY:1},d={adjustX:1,shiftY:!0},p=[0,0],f={left:{points:["cr","cl"],overflow:d,offset:[-4,0],targetOffset:p},right:{points:["cl","cr"],overflow:d,offset:[4,0],targetOffset:p},top:{points:["bc","tc"],overflow:u,offset:[0,-4],targetOffset:p},bottom:{points:["tc","bc"],overflow:u,offset:[0,4],targetOffset:p},topLeft:{points:["bl","tl"],overflow:u,offset:[0,-4],targetOffset:p},leftTop:{points:["tr","tl"],overflow:d,offset:[-4,0],targetOffset:p},topRight:{points:["br","tr"],overflow:u,offset:[0,-4],targetOffset:p},rightTop:{points:["tl","tr"],overflow:d,offset:[4,0],targetOffset:p},bottomRight:{points:["tr","br"],overflow:u,offset:[0,4],targetOffset:p},rightBottom:{points:["bl","br"],overflow:d,offset:[4,0],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,4],targetOffset:p},leftBottom:{points:["br","bl"],overflow:d,offset:[-4,0],targetOffset:p}};function b(e){var t=e.children,o=e.prefixCls,n=e.id,a=e.overlayInnerStyle,l=e.className,s=e.style;return r.createElement("div",{className:i()("".concat(o,"-content"),l),style:s},r.createElement("div",{className:"".concat(o,"-inner"),id:n,role:"tooltip",style:a},"function"==typeof t?t():t))}var m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],h=function(e,t){var o=e.overlayClassName,n=e.trigger,i=void 0===n?["hover"]:n,u=e.mouseEnterDelay,d=void 0===u?0:u,p=e.mouseLeaveDelay,h=void 0===p?.1:p,g=e.overlayStyle,v=e.prefixCls,y=void 0===v?"rc-tooltip":v,w=e.children,C=e.onVisibleChange,x=e.afterVisibleChange,k=e.transitionName,$=e.animation,S=e.motion,O=e.placement,E=void 0===O?"right":O,P=e.align,R=void 0===P?{}:P,Z=e.destroyTooltipOnHide,M=void 0!==Z&&Z,j=e.defaultVisible,N=e.getTooltipContainer,B=e.overlayInnerStyle,I=(e.arrowContent,e.overlay),A=e.id,L=e.showArrow,D=void 0===L||L,T=(0,s.Z)(e,m),z=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(function(){return z.current}));var _=(0,l.Z)({},T);"visible"in e&&(_.popupVisible=e.visible);return r.createElement(c.Z,(0,a.Z)({popupClassName:o,prefixCls:y,popup:function(){return r.createElement(b,{key:"content",prefixCls:y,id:A,overlayInnerStyle:B},I)},action:i,builtinPlacements:f,popupPlacement:E,ref:z,popupAlign:R,getPopupContainer:N,onPopupVisibleChange:C,afterPopupVisibleChange:x,popupTransitionName:k,popupAnimation:$,popupMotion:S,defaultPopupVisible:j,autoDestroy:M,mouseLeaveDelay:h,popupStyle:g,mouseEnterDelay:d,arrow:D},_),w)},g=(0,r.forwardRef)(h),v=o(71366),y=o(62892),w=o(79676),C=o(92343),x=o(36355),k=o(33234),$=o(88088),S=o(17313),O=o(29878),E=o(60293);const P=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function R(e,t){return P.reduce(((o,r)=>{const n=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},o),t(r,{lightColor:n,lightBorderColor:i,darkColor:a,textColor:l}))}),{})}var Z=o(37613),M=o(83116);const j=e=>{const{componentCls:t,tooltipMaxWidth:o,tooltipColor:r,tooltipBg:n,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:c,paddingXS:u,tooltipRadiusOuter:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:o,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":n,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${c/2}px ${u}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:n,borderRadius:i,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,E.qN)}},[`${t}-content`]:{position:"relative"}}),R(e,((e,o)=>{let{darkColor:r}=o;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},(0,E.ZP)((0,Z.TS)(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]};var N=(e,t)=>(0,M.Z)("Tooltip",(e=>{if(!1===t)return[];const{borderRadius:o,colorTextLightSolid:r,colorBgDefault:n,borderRadiusOuter:i}=e,a=(0,Z.TS)(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:o,tooltipBg:n,tooltipRadiusOuter:i>4?4:i});return[j(a),(0,O._y)(e,"zoom-big-fast")]}),(e=>{let{zIndexPopupBase:t,colorBgSpotlight:o}=e;return{zIndexPopup:t+70,colorBgDefault:o}}),{resetStyle:!1})(e),B=o(34706);const I=P.map((e=>`${e}-inverse`));function A(e,t){const o=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?[].concat((0,B.Z)(I),(0,B.Z)(P)).includes(e):P.includes(e)}(t),r=i()({[`${e}-${t}`]:t&&o}),n={},a={};return t&&!o&&(n.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:n,arrowStyle:a}}var L=e=>{const{prefixCls:t,className:o,placement:n="top",title:a,color:l,overlayInnerStyle:s}=e,{getPrefixCls:c}=r.useContext(x.E_),u=c("tooltip",t),[d,p]=N(u,!0),f=A(u,l),m=f.arrowStyle,h=Object.assign(Object.assign({},s),f.overlayStyle),g=i()(p,u,`${u}-pure`,`${u}-placement-${n}`,o,f.className);return d(r.createElement("div",{className:g,style:m},r.createElement("div",{className:`${u}-arrow`}),r.createElement(b,Object.assign({},e,{className:p,prefixCls:u,overlayInnerStyle:h}),a)))},D=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o};function T(e,t){const o=e.type;if((!0===o.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===o.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===o.__ANT_RADIO&&e.props.disabled){const{picked:o,omitted:n}=((e,t)=>{const o={},r=Object.assign({},e);return t.forEach((t=>{e&&t in e&&(o[t]=e[t],delete r[t])})),{picked:o,omitted:r}})(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),a=Object.assign(Object.assign({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),l=Object.assign(Object.assign({},n),{pointerEvents:"none"}),s=(0,C.Tm)(e,{style:l,className:null});return r.createElement("span",{style:a,className:i()(e.props.className,`${t}-disabled-compatible-wrapper`)},s)}return e}const z=r.forwardRef(((e,t)=>{var o,n;const{prefixCls:a,openClassName:l,getTooltipContainer:s,overlayClassName:c,color:u,overlayInnerStyle:d,children:p,afterOpenChange:f,afterVisibleChange:b,destroyTooltipOnHide:m,arrow:h=!0,title:S,overlay:O,builtinPlacements:E,arrowPointAtCenter:P=!1,autoAdjustOverflow:R=!0}=e,Z=!!h,[,M]=(0,$.Z)(),{getPopupContainer:j,getPrefixCls:B,direction:I}=r.useContext(x.E_),L=r.useRef(null),z=()=>{var e;null===(e=L.current)||void 0===e||e.forceAlign()};r.useImperativeHandle(t,(()=>({forceAlign:z,forcePopupAlign:()=>{z()}})));const[_,V]=(0,v.Z)(!1,{value:null!==(o=e.open)&&void 0!==o?o:e.visible,defaultValue:null!==(n=e.defaultOpen)&&void 0!==n?n:e.defaultVisible}),H=!S&&!O&&0!==S,W=r.useMemo((()=>{var e,t;let o=P;return"object"==typeof h&&(o=null!==(t=null!==(e=h.pointAtCenter)&&void 0!==e?e:h.arrowPointAtCenter)&&void 0!==t?t:P),E||(0,w.Z)({arrowPointAtCenter:o,autoAdjustOverflow:R,arrowWidth:Z?M.sizePopupArrow:0,borderRadius:M.borderRadius,offset:M.marginXXS,visibleFirst:!0})}),[P,h,E,M]),X=r.useMemo((()=>0===S?S:O||S||""),[O,S]),Y=r.createElement(k.BR,null,"function"==typeof X?X():X),{getPopupContainer:F,placement:q="top",mouseEnterDelay:G=.1,mouseLeaveDelay:U=.1,overlayStyle:Q,rootClassName:J}=e,K=D(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ee=B("tooltip",a),te=B(),oe=e["data-popover-inject"];let re=_;"open"in e||"visible"in e||!H||(re=!1);const ne=T((0,C.l$)(p)&&!(0,C.M2)(p)?p:r.createElement("span",null,p),ee),ie=ne.props,ae=ie.className&&"string"!=typeof ie.className?ie.className:i()(ie.className,l||`${ee}-open`),[le,se]=N(ee,!oe),ce=A(ee,u),ue=ce.arrowStyle,de=Object.assign(Object.assign({},d),ce.overlayStyle),pe=i()(c,{[`${ee}-rtl`]:"rtl"===I},ce.className,J,se);return le(r.createElement(g,Object.assign({},K,{showArrow:Z,placement:q,mouseEnterDelay:G,mouseLeaveDelay:U,prefixCls:ee,overlayClassName:pe,overlayStyle:Object.assign(Object.assign({},ue),Q),getTooltipContainer:F||s||j,ref:L,builtinPlacements:W,overlay:Y,visible:re,onVisibleChange:t=>{var o,r;V(!H&&t),H||(null===(o=e.onOpenChange)||void 0===o||o.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=f?f:b,overlayInnerStyle:de,arrowContent:r.createElement("span",{className:`${ee}-arrow-content`}),motion:{motionName:(0,y.m)(te,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),re?(0,C.Tm)(ne,{className:ae}):ne))}));z._InternalPanelDoNotUseOrYouWillBeFired=L;var _=z},5630:function(e,t,o){var r=o(81978),n=o(11625),i=o(25124),a=o(43941),l=o(62579),s=o(92310),c=o.n(s),u=o(71366),d=o(59301),p=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],f=(0,d.forwardRef)((function(e,t){var o,s=e.prefixCls,f=void 0===s?"rc-checkbox":s,b=e.className,m=e.style,h=e.checked,g=e.disabled,v=e.defaultChecked,y=void 0!==v&&v,w=e.type,C=void 0===w?"checkbox":w,x=e.title,k=e.onChange,$=(0,l.Z)(e,p),S=(0,d.useRef)(null),O=(0,u.Z)(y,{value:h}),E=(0,a.Z)(O,2),P=E[0],R=E[1];(0,d.useImperativeHandle)(t,(function(){return{focus:function(){var e;null===(e=S.current)||void 0===e||e.focus()},blur:function(){var e;null===(e=S.current)||void 0===e||e.blur()},input:S.current}}));var Z=c()(f,b,(o={},(0,i.Z)(o,"".concat(f,"-checked"),P),(0,i.Z)(o,"".concat(f,"-disabled"),g),o));return d.createElement("span",{className:Z,title:x,style:m},d.createElement("input",(0,r.Z)({},$,{className:"".concat(f,"-input"),ref:S,onChange:function(t){g||("checked"in e||R(t.target.checked),null==k||k({target:(0,n.Z)((0,n.Z)({},e),{},{type:C,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:g,checked:!!P,type:C})),d.createElement("span",{className:"".concat(f,"-inner")}))}));t.Z=f},70041:function(e,t){t.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}}}]);